Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 8,939 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21242432 | 27 hrs ago | IN | 0 ETH | 0.00045873 | ||||
Set Approval For... | 21106350 | 20 days ago | IN | 0 ETH | 0.00009961 | ||||
Set Approval For... | 20981852 | 37 days ago | IN | 0 ETH | 0.0002819 | ||||
Safe Transfer Fr... | 20927166 | 45 days ago | IN | 0 ETH | 0.00083158 | ||||
Safe Transfer Fr... | 20914669 | 46 days ago | IN | 0 ETH | 0.00226288 | ||||
Set Approval For... | 20896477 | 49 days ago | IN | 0 ETH | 0.00017511 | ||||
Set Approval For... | 20644474 | 84 days ago | IN | 0 ETH | 0.0000629 | ||||
Set Approval For... | 20615043 | 88 days ago | IN | 0 ETH | 0.00008366 | ||||
Set Approval For... | 20614968 | 88 days ago | IN | 0 ETH | 0.00007757 | ||||
Set Approval For... | 20604707 | 90 days ago | IN | 0 ETH | 0.00002377 | ||||
Set Approval For... | 20599407 | 90 days ago | IN | 0 ETH | 0.00018015 | ||||
Set Approval For... | 20574175 | 94 days ago | IN | 0 ETH | 0.00005058 | ||||
Set Approval For... | 20572003 | 94 days ago | IN | 0 ETH | 0.00004838 | ||||
Set Approval For... | 20510090 | 103 days ago | IN | 0 ETH | 0.00005415 | ||||
Set Approval For... | 20497453 | 105 days ago | IN | 0 ETH | 0.00010689 | ||||
Set Approval For... | 20248392 | 139 days ago | IN | 0 ETH | 0.00012093 | ||||
Set Approval For... | 20208340 | 145 days ago | IN | 0 ETH | 0.0001124 | ||||
Set Approval For... | 20196315 | 147 days ago | IN | 0 ETH | 0.00011093 | ||||
Safe Transfer Fr... | 20182933 | 149 days ago | IN | 0 ETH | 0.00029955 | ||||
Set Approval For... | 20173612 | 150 days ago | IN | 0 ETH | 0.00008354 | ||||
Set Approval For... | 20171176 | 150 days ago | IN | 0 ETH | 0.00020629 | ||||
Set Approval For... | 20167379 | 151 days ago | IN | 0 ETH | 0.00027459 | ||||
Set Approval For... | 20163618 | 151 days ago | IN | 0 ETH | 0.00030024 | ||||
Safe Transfer Fr... | 20155615 | 152 days ago | IN | 0 ETH | 0.00040589 | ||||
Set Approval For... | 20154638 | 153 days ago | IN | 0 ETH | 0.00006094 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15312508 | 836 days ago | 0.3 ETH | ||||
15312508 | 836 days ago | 0.06 ETH | ||||
15312504 | 836 days ago | 0.15 ETH | ||||
15312499 | 836 days ago | 0.06 ETH | ||||
15312496 | 836 days ago | 0.03 ETH | ||||
15312495 | 836 days ago | 0.3 ETH | ||||
15312493 | 836 days ago | 0.3 ETH | ||||
15312491 | 836 days ago | 0.03 ETH | ||||
15312491 | 836 days ago | 0.03 ETH | ||||
15312490 | 836 days ago | 0.9 ETH | ||||
15312490 | 836 days ago | 0.3 ETH | ||||
15312490 | 836 days ago | 0.09 ETH | ||||
15312487 | 836 days ago | 0.9 ETH | ||||
15312486 | 836 days ago | 0.06 ETH | ||||
15312486 | 836 days ago | 0.15 ETH | ||||
15312486 | 836 days ago | 0.03 ETH | ||||
15312486 | 836 days ago | 0.03 ETH | ||||
15312486 | 836 days ago | 0.21 ETH | ||||
15312486 | 836 days ago | 0.03 ETH | ||||
15312486 | 836 days ago | 0.03 ETH | ||||
15312485 | 836 days ago | 0.03 ETH | ||||
15312484 | 836 days ago | 0.15 ETH | ||||
15312484 | 836 days ago | 0.03 ETH | ||||
15312481 | 836 days ago | 0.3 ETH | ||||
15312481 | 836 days ago | 0.06 ETH |
Loading...
Loading
Contract Name:
PepeNoShiro
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.10; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; import {Owned} from "@rari-capital/solmate/src/auth/Owned.sol"; import {SafeTransferLib} from "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; import {ERC20} from "@rari-capital/solmate/src/tokens/ERC20.sol"; import {ERC721A} from "@erc721a/contracts/ERC721A.sol"; /// @title PepeNoShiro /// @notice ERC721A implementation for Onigiri Pepes collection contract PepeNoShiro is Owned, ERC721A { /*/////////////////////////////////////////////////////////////// LIBRARIES //////////////////////////////////////////////////////////////*/ using Strings for uint256; using SafeTransferLib for ERC20; /*/////////////////////////////////////////////////////////////// ERRORS //////////////////////////////////////////////////////////////*/ error MintIsNotEnabled(); error MaxMintsReached(); error InsufficientMintValue(); /*/////////////////////////////////////////////////////////////// STORAGE //////////////////////////////////////////////////////////////*/ /// @dev Max number of mints allowed. uint256 private constant MAX_SUPPLY = 10000; /// @notice Signals if mint is enabled. bool public mintEnabled; /// @notice Base URI for token metadata. string public baseURI; /// @notice Recipient address of the mint costs. address payable public recipient; /// @notice Mint price per token. uint256 public mintPrice; /// @notice Mint start after this timestamp. uint256 public mintStartTime; /*/////////////////////////////////////////////////////////////// VIEWS //////////////////////////////////////////////////////////////*/ /// @notice Get the token metadata URI by id. /// @param tokenId The id of the token to return URI from. function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( uint256 mintStartTime_, uint256 mintPrice_, address payable recipient_ ) Owned(msg.sender) ERC721A("Onigiri Pepes", "OPEPE") { mintStartTime = mintStartTime_; mintPrice = mintPrice_; recipient = recipient_; mintEnabled = true; } /*/////////////////////////////////////////////////////////////// USER ACTIONS //////////////////////////////////////////////////////////////*/ /// @notice Mints an amount of tokens to a given account. /// @dev Sends ETH directly to recipient address. /// @param to Recipient account of the token. /// @param quantity Amount of tokens to mint. function mint(address to, uint256 quantity) external payable { if (!mintEnabled || block.timestamp < mintStartTime) revert MintIsNotEnabled(); if (_totalMinted() + quantity > MAX_SUPPLY) revert MaxMintsReached(); if (msg.value < mintPrice * quantity) revert InsufficientMintValue(); _safeMint(to, quantity); SafeTransferLib.safeTransferETH(recipient, msg.value); } /*/////////////////////////////////////////////////////////////// ADMIN ACTIONS //////////////////////////////////////////////////////////////*/ /// @notice Allows the owner to enable / disable the mint (disabled by default). /// @param status New status of the mint. function setMintEnabled(bool status) external onlyOwner { mintEnabled = status; } /// @notice Allows the owner to change the recipient address of the mint costs. /// @param account New recipient address. function setRecipient(address payable account) external onlyOwner { recipient = account; } /// @notice Allows the owner to set a new timestamp for the start of the mint. /// @param timestamp The new mint start timestamp. function setMintStartTime(uint256 timestamp) external onlyOwner { mintStartTime = timestamp; } /// @notice Allows the owner to set a new mint price. /// @param price New mint price per token. function setMintPrice(uint256 price) external onlyOwner { mintPrice = price; } /// @notice Allows the owner to set a new base for token URIs. /// @param baseURI_ New base URI. function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } /// @notice Allows the owner to withdraw ETH sent to the contract. /// @dev Returns the withdrawn amount. /// @param to Recipient address of the ETH. function recoverETH(address payable to) external onlyOwner returns (uint256 amount) { amount = address(this).balance; SafeTransferLib.safeTransferETH(to, amount); } /// @notice Allows the owner to withdraw any ERC20 sent to the contract. /// @dev Returns the withdrawn amount. /// @param token Token to withdraw. /// @param to Recipient address of the tokens. function recoverTokens(ERC20 token, address to) external onlyOwner returns (uint256 amount) { amount = token.balanceOf(address(this)); token.safeTransfer(to, amount); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), from) // Append the "from" argument. mstore(add(freeMemoryPointer, 36), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool success; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool success; assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnerUpdated(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnerUpdated(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function setOwner(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnerUpdated(msg.sender, newOwner); } }
// 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 v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"mintStartTime_","type":"uint256"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"address payable","name":"recipient_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InsufficientMintValue","type":"error"},{"inputs":[],"name":"MaxMintsReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintIsNotEnabled","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"recoverETH","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"recoverTokens","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setMintStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"setRecipient","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002068380380620020688339810160408190526200003491620001d2565b604080518082018252600d81526c4f6e696769726920506570657360981b6020808301919091528251808401845260058152644f5045504560d81b91810191909152600080546001600160a01b0319163390811782559351929391928291907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76908290a3508151620000ce9060039060208501906200012c565b508051620000e49060049060208401906200012c565b5060006001908155600d959095555050600c91909155600b80546001600160a01b0319166001600160a01b039092169190911790556009805460ff1916909117905562000256565b8280546200013a906200021a565b90600052602060002090601f0160209004810192826200015e5760008555620001a9565b82601f106200017957805160ff1916838001178555620001a9565b82800160010185558215620001a9579182015b82811115620001a95782518255916020019190600101906200018c565b50620001b7929150620001bb565b5090565b5b80821115620001b75760008155600101620001bc565b600080600060608486031215620001e857600080fd5b83516020850151604086015191945092506001600160a01b03811681146200020f57600080fd5b809150509250925092565b600181811c908216806200022f57607f821691505b6020821081036200025057634e487b7160e01b600052602260045260246000fd5b50919050565b611e0280620002666000396000f3fe6080604052600436106101c25760003560e01c806366d003ac116100f7578063a22cb46511610095578063d5b3621b11610064578063d5b3621b146104e2578063e985e9c514610502578063f46a04eb1461054b578063f4a0a5281461056b57600080fd5b8063a22cb46514610468578063b88d4fde14610488578063c87b56dd146104a8578063d1239730146104c857600080fd5b806370a08231116100d157806370a08231146103fd5780638da5cb5b1461041d578063931e2e491461043d57806395d89b411461045357600080fd5b806366d003ac146103b25780636817c76c146103d25780636c0360eb146103e857600080fd5b806318160ddd1161016457806340c10f191161013e57806340c10f191461033f57806342842e0e1461035257806355f804b3146103725780636352211e1461039257600080fd5b806318160ddd146102e657806323b872dd146102ff5780633bbed4a01461031f57600080fd5b8063081812fc116101a0578063081812fc1461024c578063095ea7b314610284578063134dfcd8146102a657806313af4035146102c657600080fd5b806301ffc9a7146101c7578063056097ac146101fc57806306fdde031461022a575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611832565b61058b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611864565b610670565b6040519081526020016101f3565b34801561023657600080fd5b5061023f610756565b6040516101f391906118f5565b34801561025857600080fd5b5061026c610267366004611908565b6107e8565b6040516001600160a01b0390911681526020016101f3565b34801561029057600080fd5b506102a461029f366004611921565b610845565b005b3480156102b257600080fd5b5061021c6102c136600461194d565b61090b565b3480156102d257600080fd5b506102a46102e136600461194d565b610966565b3480156102f257600080fd5b506002546001540361021c565b34801561030b57600080fd5b506102a461031a36600461196a565b610a07565b34801561032b57600080fd5b506102a461033a36600461194d565b610c1d565b6102a461034d366004611921565b610c95565b34801561035e57600080fd5b506102a461036d36600461196a565b610d99565b34801561037e57600080fd5b506102a461038d366004611a37565b610db9565b34801561039e57600080fd5b5061026c6103ad366004611908565b610e15565b3480156103be57600080fd5b50600b5461026c906001600160a01b031681565b3480156103de57600080fd5b5061021c600c5481565b3480156103f457600080fd5b5061023f610e20565b34801561040957600080fd5b5061021c61041836600461194d565b610eae565b34801561042957600080fd5b5060005461026c906001600160a01b031681565b34801561044957600080fd5b5061021c600d5481565b34801561045f57600080fd5b5061023f610f16565b34801561047457600080fd5b506102a4610483366004611a90565b610f25565b34801561049457600080fd5b506102a46104a3366004611ac5565b610fd3565b3480156104b457600080fd5b5061023f6104c3366004611908565b61101d565b3480156104d457600080fd5b506009546101e79060ff1681565b3480156104ee57600080fd5b506102a46104fd366004611908565b611090565b34801561050e57600080fd5b506101e761051d366004611864565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561055757600080fd5b506102a4610566366004611b45565b6110de565b34801561057757600080fd5b506102a4610586366004611908565b61113a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316148061061e57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061066a57507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600080546001600160a01b031633146106bf5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611b60565b905061066a6001600160a01b0384168383611188565b60606003805461076590611b79565b80601f016020809104026020016040519081016040528092919081815260200182805461079190611b79565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b5050505050905090565b60006107f382611227565b610829576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061085082610e15565b9050336001600160a01b038216146108a25761086c813361051d565b6108a2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600080546001600160a01b031633146109555760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b50476109618282611268565b919050565b6000546001600160a01b031633146109af5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081178255604051909133917f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d769190a350565b6000610a12826112c3565b9050836001600160a01b0316816001600160a01b031614610a5f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610ac557610a8f863361051d565b610ac5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610b05576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610b1057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600560205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610bd457600184016000818152600560205260408120549003610bd2576001548114610bd25760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b03163314610c665760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60095460ff161580610ca85750600d5442105b15610cdf576040517f6d38534300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271081610cec60015490565b610cf69190611bc9565b1115610d2e576040517f635a2d9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c54610d3c9190611be1565b341015610d75576040517f568f28a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7f8282611363565b600b54610d95906001600160a01b031634611268565b5050565b610db483838360405180602001604052806000815250610fd3565b505050565b6000546001600160a01b03163314610e025760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b8051610d9590600a906020840190611768565b600061066a826112c3565b600a8054610e2d90611b79565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5990611b79565b8015610ea65780601f10610e7b57610100808354040283529160200191610ea6565b820191906000526020600020905b815481529060010190602001808311610e8957829003601f168201915b505050505081565b60006001600160a01b038216610ef0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b60606004805461076590611b79565b336001600160a01b03831603610f67576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fde848484610a07565b6001600160a01b0383163b1561101757610ffa8484848461137d565b611017576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061102882611227565b61105e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a611069836114b3565b60405160200161107a929190611c1c565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146110d95760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600d55565b6000546001600160a01b031633146111275760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146111835760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600c55565b60006040517fa9059cbb000000000000000000000000000000000000000000000000000000008152836004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806110175760405162461bcd60e51b815260206004820152600f60248201527f5452414e534645525f4641494c4544000000000000000000000000000000000060448201526064016106b6565b60006001548210801561066a5750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600080600080600085875af1905080610db45760405162461bcd60e51b815260206004820152601360248201527f4554485f5452414e534645525f4641494c45440000000000000000000000000060448201526064016106b6565b60008160015481101561133157600081815260056020526040812054907c01000000000000000000000000000000000000000000000000000000008216900361132f575b80600003611328575060001901600081815260056020526040902054611307565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d958282604051806020016040528060008152506115e8565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906113cb903390899088908890600401611cee565b6020604051808303816000875af1925050508015611406575060408051601f3d908101601f1916820190925261140391810190611d2a565b60015b611464573d808015611434576040519150601f19603f3d011682016040523d82523d6000602084013e611439565b606091505b50805160000361145c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060816000036114f657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611520578061150a81611d47565b91506115199050600a83611d77565b91506114fa565b60008167ffffffffffffffff81111561153b5761153b6119ab565b6040519080825280601f01601f191660200182016040528015611565576020820181803683370190505b5090505b84156114ab5761157a600183611d8b565b9150611587600a86611da2565b611592906030611bc9565b60f81b8183815181106115a7576115a7611db6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506115e1600a86611d77565b9450611569565b6115f28383611655565b6001600160a01b0383163b15610db4576001548281035b61161c600086838060010194508661137d565b611639576040516368d2bf6b60e11b815260040160405180910390fd5b81811061160957816001541461164e57600080fd5b5050505050565b6001546001600160a01b038316611698576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000036116d2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061171c5760015550505050565b82805461177490611b79565b90600052602060002090601f01602090048101928261179657600085556117dc565b82601f106117af57805160ff19168380011785556117dc565b828001600101855582156117dc579182015b828111156117dc5782518255916020019190600101906117c1565b506117e89291506117ec565b5090565b5b808211156117e857600081556001016117ed565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461182f57600080fd5b50565b60006020828403121561184457600080fd5b813561132881611801565b6001600160a01b038116811461182f57600080fd5b6000806040838503121561187757600080fd5b82356118828161184f565b915060208301356118928161184f565b809150509250929050565b60005b838110156118b85781810151838201526020016118a0565b838111156110175750506000910152565b600081518084526118e181602086016020860161189d565b601f01601f19169290920160200192915050565b60208152600061132860208301846118c9565b60006020828403121561191a57600080fd5b5035919050565b6000806040838503121561193457600080fd5b823561193f8161184f565b946020939093013593505050565b60006020828403121561195f57600080fd5b81356113288161184f565b60008060006060848603121561197f57600080fd5b833561198a8161184f565b9250602084013561199a8161184f565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119dc576119dc6119ab565b604051601f8501601f19908116603f01168101908282118183101715611a0457611a046119ab565b81604052809350858152868686011115611a1d57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611a4957600080fd5b813567ffffffffffffffff811115611a6057600080fd5b8201601f81018413611a7157600080fd5b6114ab848235602084016119c1565b8035801515811461096157600080fd5b60008060408385031215611aa357600080fd5b8235611aae8161184f565b9150611abc60208401611a80565b90509250929050565b60008060008060808587031215611adb57600080fd5b8435611ae68161184f565b93506020850135611af68161184f565b925060408501359150606085013567ffffffffffffffff811115611b1957600080fd5b8501601f81018713611b2a57600080fd5b611b39878235602084016119c1565b91505092959194509250565b600060208284031215611b5757600080fd5b61132882611a80565b600060208284031215611b7257600080fd5b5051919050565b600181811c90821680611b8d57607f821691505b602082108103611bad57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bdc57611bdc611bb3565b500190565b6000816000190483118215151615611bfb57611bfb611bb3565b500290565b60008151611c1281856020860161189d565b9290920192915050565b600080845481600182811c915080831680611c3857607f831692505b60208084108203611c5757634e487b7160e01b86526022600452602486fd5b818015611c6b5760018114611c7c57611ca9565b60ff19861689528489019650611ca9565b60008b81526020902060005b86811015611ca15781548b820152908501908301611c88565b505084890196505b505050505050611ce5611cbc8286611c00565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611d2060808301846118c9565b9695505050505050565b600060208284031215611d3c57600080fd5b815161132881611801565b60006000198203611d5a57611d5a611bb3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611d8657611d86611d61565b500490565b600082821015611d9d57611d9d611bb3565b500390565b600082611db157611db1611d61565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202607d4af5a0391f92653b83f2666819615d5458c17962023606a0b6bcfe6306464736f6c634300080e00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a94d74f430000000000000000000000000000082e8a9da4397bc24ac22fad57cd7063dc1cd58b
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806366d003ac116100f7578063a22cb46511610095578063d5b3621b11610064578063d5b3621b146104e2578063e985e9c514610502578063f46a04eb1461054b578063f4a0a5281461056b57600080fd5b8063a22cb46514610468578063b88d4fde14610488578063c87b56dd146104a8578063d1239730146104c857600080fd5b806370a08231116100d157806370a08231146103fd5780638da5cb5b1461041d578063931e2e491461043d57806395d89b411461045357600080fd5b806366d003ac146103b25780636817c76c146103d25780636c0360eb146103e857600080fd5b806318160ddd1161016457806340c10f191161013e57806340c10f191461033f57806342842e0e1461035257806355f804b3146103725780636352211e1461039257600080fd5b806318160ddd146102e657806323b872dd146102ff5780633bbed4a01461031f57600080fd5b8063081812fc116101a0578063081812fc1461024c578063095ea7b314610284578063134dfcd8146102a657806313af4035146102c657600080fd5b806301ffc9a7146101c7578063056097ac146101fc57806306fdde031461022a575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611832565b61058b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611864565b610670565b6040519081526020016101f3565b34801561023657600080fd5b5061023f610756565b6040516101f391906118f5565b34801561025857600080fd5b5061026c610267366004611908565b6107e8565b6040516001600160a01b0390911681526020016101f3565b34801561029057600080fd5b506102a461029f366004611921565b610845565b005b3480156102b257600080fd5b5061021c6102c136600461194d565b61090b565b3480156102d257600080fd5b506102a46102e136600461194d565b610966565b3480156102f257600080fd5b506002546001540361021c565b34801561030b57600080fd5b506102a461031a36600461196a565b610a07565b34801561032b57600080fd5b506102a461033a36600461194d565b610c1d565b6102a461034d366004611921565b610c95565b34801561035e57600080fd5b506102a461036d36600461196a565b610d99565b34801561037e57600080fd5b506102a461038d366004611a37565b610db9565b34801561039e57600080fd5b5061026c6103ad366004611908565b610e15565b3480156103be57600080fd5b50600b5461026c906001600160a01b031681565b3480156103de57600080fd5b5061021c600c5481565b3480156103f457600080fd5b5061023f610e20565b34801561040957600080fd5b5061021c61041836600461194d565b610eae565b34801561042957600080fd5b5060005461026c906001600160a01b031681565b34801561044957600080fd5b5061021c600d5481565b34801561045f57600080fd5b5061023f610f16565b34801561047457600080fd5b506102a4610483366004611a90565b610f25565b34801561049457600080fd5b506102a46104a3366004611ac5565b610fd3565b3480156104b457600080fd5b5061023f6104c3366004611908565b61101d565b3480156104d457600080fd5b506009546101e79060ff1681565b3480156104ee57600080fd5b506102a46104fd366004611908565b611090565b34801561050e57600080fd5b506101e761051d366004611864565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561055757600080fd5b506102a4610566366004611b45565b6110de565b34801561057757600080fd5b506102a4610586366004611908565b61113a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316148061061e57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061066a57507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600080546001600160a01b031633146106bf5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa15801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190611b60565b905061066a6001600160a01b0384168383611188565b60606003805461076590611b79565b80601f016020809104026020016040519081016040528092919081815260200182805461079190611b79565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b5050505050905090565b60006107f382611227565b610829576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061085082610e15565b9050336001600160a01b038216146108a25761086c813361051d565b6108a2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600080546001600160a01b031633146109555760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b50476109618282611268565b919050565b6000546001600160a01b031633146109af5760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b6000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0383169081178255604051909133917f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d769190a350565b6000610a12826112c3565b9050836001600160a01b0316816001600160a01b031614610a5f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610ac557610a8f863361051d565b610ac5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610b05576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610b1057600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600560205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610bd457600184016000818152600560205260408120549003610bd2576001548114610bd25760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b03163314610c665760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60095460ff161580610ca85750600d5442105b15610cdf576040517f6d38534300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271081610cec60015490565b610cf69190611bc9565b1115610d2e576040517f635a2d9b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c54610d3c9190611be1565b341015610d75576040517f568f28a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d7f8282611363565b600b54610d95906001600160a01b031634611268565b5050565b610db483838360405180602001604052806000815250610fd3565b505050565b6000546001600160a01b03163314610e025760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b8051610d9590600a906020840190611768565b600061066a826112c3565b600a8054610e2d90611b79565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5990611b79565b8015610ea65780601f10610e7b57610100808354040283529160200191610ea6565b820191906000526020600020905b815481529060010190602001808311610e8957829003601f168201915b505050505081565b60006001600160a01b038216610ef0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b60606004805461076590611b79565b336001600160a01b03831603610f67576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fde848484610a07565b6001600160a01b0383163b1561101757610ffa8484848461137d565b611017576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061102882611227565b61105e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a611069836114b3565b60405160200161107a929190611c1c565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146110d95760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600d55565b6000546001600160a01b031633146111275760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146111835760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016106b6565b600c55565b60006040517fa9059cbb000000000000000000000000000000000000000000000000000000008152836004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806110175760405162461bcd60e51b815260206004820152600f60248201527f5452414e534645525f4641494c4544000000000000000000000000000000000060448201526064016106b6565b60006001548210801561066a5750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600080600080600085875af1905080610db45760405162461bcd60e51b815260206004820152601360248201527f4554485f5452414e534645525f4641494c45440000000000000000000000000060448201526064016106b6565b60008160015481101561133157600081815260056020526040812054907c01000000000000000000000000000000000000000000000000000000008216900361132f575b80600003611328575060001901600081815260056020526040902054611307565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d958282604051806020016040528060008152506115e8565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906113cb903390899088908890600401611cee565b6020604051808303816000875af1925050508015611406575060408051601f3d908101601f1916820190925261140391810190611d2a565b60015b611464573d808015611434576040519150601f19603f3d011682016040523d82523d6000602084013e611439565b606091505b50805160000361145c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060816000036114f657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611520578061150a81611d47565b91506115199050600a83611d77565b91506114fa565b60008167ffffffffffffffff81111561153b5761153b6119ab565b6040519080825280601f01601f191660200182016040528015611565576020820181803683370190505b5090505b84156114ab5761157a600183611d8b565b9150611587600a86611da2565b611592906030611bc9565b60f81b8183815181106115a7576115a7611db6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506115e1600a86611d77565b9450611569565b6115f28383611655565b6001600160a01b0383163b15610db4576001548281035b61161c600086838060010194508661137d565b611639576040516368d2bf6b60e11b815260040160405180910390fd5b81811061160957816001541461164e57600080fd5b5050505050565b6001546001600160a01b038316611698576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000036116d2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061171c5760015550505050565b82805461177490611b79565b90600052602060002090601f01602090048101928261179657600085556117dc565b82601f106117af57805160ff19168380011785556117dc565b828001600101855582156117dc579182015b828111156117dc5782518255916020019190600101906117c1565b506117e89291506117ec565b5090565b5b808211156117e857600081556001016117ed565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461182f57600080fd5b50565b60006020828403121561184457600080fd5b813561132881611801565b6001600160a01b038116811461182f57600080fd5b6000806040838503121561187757600080fd5b82356118828161184f565b915060208301356118928161184f565b809150509250929050565b60005b838110156118b85781810151838201526020016118a0565b838111156110175750506000910152565b600081518084526118e181602086016020860161189d565b601f01601f19169290920160200192915050565b60208152600061132860208301846118c9565b60006020828403121561191a57600080fd5b5035919050565b6000806040838503121561193457600080fd5b823561193f8161184f565b946020939093013593505050565b60006020828403121561195f57600080fd5b81356113288161184f565b60008060006060848603121561197f57600080fd5b833561198a8161184f565b9250602084013561199a8161184f565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119dc576119dc6119ab565b604051601f8501601f19908116603f01168101908282118183101715611a0457611a046119ab565b81604052809350858152868686011115611a1d57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611a4957600080fd5b813567ffffffffffffffff811115611a6057600080fd5b8201601f81018413611a7157600080fd5b6114ab848235602084016119c1565b8035801515811461096157600080fd5b60008060408385031215611aa357600080fd5b8235611aae8161184f565b9150611abc60208401611a80565b90509250929050565b60008060008060808587031215611adb57600080fd5b8435611ae68161184f565b93506020850135611af68161184f565b925060408501359150606085013567ffffffffffffffff811115611b1957600080fd5b8501601f81018713611b2a57600080fd5b611b39878235602084016119c1565b91505092959194509250565b600060208284031215611b5757600080fd5b61132882611a80565b600060208284031215611b7257600080fd5b5051919050565b600181811c90821680611b8d57607f821691505b602082108103611bad57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bdc57611bdc611bb3565b500190565b6000816000190483118215151615611bfb57611bfb611bb3565b500290565b60008151611c1281856020860161189d565b9290920192915050565b600080845481600182811c915080831680611c3857607f831692505b60208084108203611c5757634e487b7160e01b86526022600452602486fd5b818015611c6b5760018114611c7c57611ca9565b60ff19861689528489019650611ca9565b60008b81526020902060005b86811015611ca15781548b820152908501908301611c88565b505084890196505b505050505050611ce5611cbc8286611c00565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611d2060808301846118c9565b9695505050505050565b600060208284031215611d3c57600080fd5b815161132881611801565b60006000198203611d5a57611d5a611bb3565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611d8657611d86611d61565b500490565b600082821015611d9d57611d9d611bb3565b500390565b600082611db157611db1611d61565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202607d4af5a0391f92653b83f2666819615d5458c17962023606a0b6bcfe6306464736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006a94d74f430000000000000000000000000000082e8a9da4397bc24ac22fad57cd7063dc1cd58b
-----Decoded View---------------
Arg [0] : mintStartTime_ (uint256): 0
Arg [1] : mintPrice_ (uint256): 30000000000000000
Arg [2] : recipient_ (address): 0x082e8a9dA4397bc24ac22FAD57CD7063DC1cd58B
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000000000000000000000000000006a94d74f430000
Arg [2] : 000000000000000000000000082e8a9da4397bc24ac22fad57cd7063dc1cd58b
Deployed Bytecode Sourcemap
452:5254:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5653:607:0;;;;;;;;;;-1:-1:-1;5653:607:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:7;;604:22;586:41;;574:2;559:18;5653:607:0;;;;;;;;5488:216:6;;;;;;;;;;-1:-1:-1;5488:216:6;;;;;:::i;:::-;;:::i;:::-;;;1371:25:7;;;1359:2;1344:18;5488:216:6;1225:177:7;11161:98:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;13048:200::-;;;;;;;;;;-1:-1:-1;13048:200:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2588:55:7;;;2570:74;;2558:2;2543:18;13048:200:0;2424:226:7;12611:376:0;;;;;;;;;;-1:-1:-1;12611:376:0;;;;;:::i;:::-;;:::i;:::-;;5059:212:6;;;;;;;;;;-1:-1:-1;5059:212:6;;;;;:::i;:::-;;:::i;1293:144:3:-;;;;;;;;;;-1:-1:-1;1293:144:3;;;;;:::i;:::-;;:::i;4736:309:0:-;;;;;;;;;;-1:-1:-1;4998:12:0;;4982:13;;:28;4736:309;;22055:2739;;;;;;;;;;-1:-1:-1;22055:2739:0;;;;;:::i;:::-;;:::i;4129:102:6:-;;;;;;;;;;-1:-1:-1;4129:102:6;;;;;:::i;:::-;;:::i;3160:421::-;;;;;;:::i;:::-;;:::i;13912:179:0:-;;;;;;;;;;-1:-1:-1;13912:179:0;;;;;:::i;:::-;;:::i;4793:98:6:-;;;;;;;;;;-1:-1:-1;4793:98:6;;;;;:::i;:::-;;:::i;10957:142:0:-;;;;;;;;;;-1:-1:-1;10957:142:0;;;;;:::i;:::-;;:::i;1493:32:6:-;;;;;;;;;;-1:-1:-1;1493:32:6;;;;-1:-1:-1;;;;;1493:32:6;;;1569:24;;;;;;;;;;;;;;;;1413:21;;;;;;;;;;;;;:::i;6319:221:0:-;;;;;;;;;;-1:-1:-1;6319:221:0;;;;;:::i;:::-;;:::i;679:20:3:-;;;;;;;;;;-1:-1:-1;679:20:3;;;;-1:-1:-1;;;;;679:20:3;;;1648:28:6;;;;;;;;;;;;;;;;11323:102:0;;;;;;;;;;;;;:::i;13315:303::-;;;;;;;;;;-1:-1:-1;13315:303:0;;;;;:::i;:::-;;:::i;14157:388::-;;;;;;;;;;-1:-1:-1;14157:388:0;;;;;:::i;:::-;;:::i;1975:288:6:-;;;;;;;;;;-1:-1:-1;1975:288:6;;;;;:::i;:::-;;:::i;1339:23::-;;;;;;;;;;-1:-1:-1;1339:23:6;;;;;;;;4375:106;;;;;;;;;;-1:-1:-1;4375:106:6;;;;;:::i;:::-;;:::i;13684:162:0:-;;;;;;;;;;-1:-1:-1;13684:162:0;;;;;:::i;:::-;-1:-1:-1;;;;;13804:25:0;;;13781:4;13804:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;13684:162;3900:93:6;;;;;;;;;;-1:-1:-1;3900:93:6;;;;;:::i;:::-;;:::i;4592:90::-;;;;;;;;;;-1:-1:-1;4592:90:6;;;;;:::i;:::-;;:::i;5653:607:0:-;5738:4;6033:25;;;;;;:101;;-1:-1:-1;6109:25:0;;;;;6033:101;:177;;;-1:-1:-1;6185:25:0;;;;;6033:177;6014:196;5653:607;-1:-1:-1;;5653:607:0:o;5488:216:6:-;5588:14;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;;;;;;;;;5627:30:6::1;::::0;;;;5651:4:::1;5627:30;::::0;::::1;2570:74:7::0;-1:-1:-1;;;;;5627:15:6;::::1;::::0;::::1;::::0;2543:18:7;;5627:30:6::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5618:39:::0;-1:-1:-1;5667:30:6::1;-1:-1:-1::0;;;;;5667:18:6;::::1;5686:2:::0;5618:39;5667:18:::1;:30::i;11161:98:0:-:0;11215:13;11247:5;11240:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11161:98;:::o;13048:200::-;13116:7;13140:16;13148:7;13140;:16::i;:::-;13135:64;;13165:34;;;;;;;;;;;;;;13135:64;-1:-1:-1;13217:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;13217:24:0;;13048:200::o;12611:376::-;12683:13;12699:16;12707:7;12699;:16::i;:::-;12683:32;-1:-1:-1;32960:10:0;-1:-1:-1;;;;;12730:28:0;;;12726:172;;12777:44;12794:5;32960:10;13684:162;:::i;12777:44::-;12772:126;;12848:35;;;;;;;;;;;;;;12772:126;12908:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;12908:29:0;-1:-1:-1;;;;;12908:29:0;;;;;;;;;12952:28;;12908:24;;12952:28;;;;;;;12673:314;12611:376;;:::o;5059:212:6:-;5151:14;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;-1:-1:-1;5190:21:6::1;5221:43;5253:2:::0;5190:21;5221:31:::1;:43::i;:::-;5059:212:::0;;;:::o;1293:144:3:-;767:5;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;1364:5:::1;:16:::0;;-1:-1:-1;;1364:16:3::1;-1:-1:-1::0;;;;;1364:16:3;::::1;::::0;;::::1;::::0;;1396:34:::1;::::0;1364:16;;1409:10:::1;::::0;1396:34:::1;::::0;1364:5;1396:34:::1;1293:144:::0;:::o;22055:2739:0:-;22184:27;22214;22233:7;22214:18;:27::i;:::-;22184:57;;22297:4;-1:-1:-1;;;;;22256:45:0;22272:19;-1:-1:-1;;;;;22256:45:0;;22252:86;;22310:28;;;;;;;;;;;;;;22252:86;22350:27;20821:21;;;20652:15;20862:4;20855:36;20943:4;20927:21;;21031:26;;32960:10;21766:30;;;-1:-1:-1;;;;;21468:26:0;;21745:19;;;21742:55;22526:173;;22612:43;22629:4;32960:10;13684:162;:::i;22612:43::-;22607:92;;22664:35;;;;;;;;;;;;;;22607:92;-1:-1:-1;;;;;22714:16:0;;22710:52;;22739:23;;;;;;;;;;;;;;22710:52;22905:15;22902:157;;;23043:1;23022:19;23015:30;22902:157;-1:-1:-1;;;;;23429:24:0;;;;;;;:18;:24;;;;;;23427:26;;-1:-1:-1;;23427:26:0;;;23497:22;;;;;;;;;23495:24;;-1:-1:-1;23495:24:0;;;10863:11;10839:22;10835:40;10822:62;2046:8;10822:62;23783:26;;;;:17;:26;;;;;:171;;;;2046:8;24071:46;;:51;;24067:616;;24174:1;24164:11;;24142:19;24295:30;;;:17;:30;;;;;;:35;;24291:378;;24431:13;;24416:11;:28;24412:239;;24576:30;;;;:17;:30;;;;;:52;;;24412:239;24124:559;24067:616;24727:7;24723:2;-1:-1:-1;;;;;24708:27:0;24717:4;-1:-1:-1;;;;;24708:27:0;;;;;;;;;;;22174:2620;;;22055:2739;;;:::o;4129:102:6:-;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;4205:9:6::1;:19:::0;;-1:-1:-1;;4205:19:6::1;-1:-1:-1::0;;;;;4205:19:6;;;::::1;::::0;;;::::1;::::0;;4129:102::o;3160:421::-;3236:11;;;;3235:12;;:47;;;3269:13;;3251:15;:31;3235:47;3231:90;;;3303:18;;;;;;;;;;;;;;3231:90;1283:5;3352:8;3335:14;5369:13:0;;;5138:279;3335:14:6;:25;;;;:::i;:::-;:38;3331:68;;;3382:17;;;;;;;;;;;;;;3331:68;3437:8;3425:9;;:20;;;;:::i;:::-;3413:9;:32;3409:68;;;3454:23;;;;;;;;;;;;;;3409:68;3488:23;3498:2;3502:8;3488:9;:23::i;:::-;3553:9;;3521:53;;-1:-1:-1;;;;;3553:9:6;3564;3521:31;:53::i;:::-;3160:421;;:::o;13912:179:0:-;14045:39;14062:4;14068:2;14072:7;14045:39;;;;;;;;;;;;:16;:39::i;:::-;13912:179;;;:::o;4793:98:6:-;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;4866:18:6;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;10957:142:0:-:0;11021:7;11063:27;11082:7;11063:18;:27::i;1413:21:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6319:221:0:-;6383:7;-1:-1:-1;;;;;6406:19:0;;6402:60;;6434:28;;;;;;;;;;;;;;6402:60;-1:-1:-1;;;;;;6479:25:0;;;;;:18;:25;;;;;;1022:13;6479:54;;6319:221::o;11323:102::-;11379:13;11411:7;11404:14;;;;;:::i;13315:303::-;32960:10;-1:-1:-1;;;;;13413:31:0;;;13409:61;;13453:17;;;;;;;;;;;;;;13409:61;32960:10;13481:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;13481:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;13481:60:0;;;;;;;;;;13556:55;;586:41:7;;;13481:49:0;;32960:10;13556:55;;559:18:7;13556:55:0;;;;;;;13315:303;;:::o;14157:388::-;14318:31;14331:4;14337:2;14341:7;14318:12;:31::i;:::-;-1:-1:-1;;;;;14363:14:0;;;:19;14359:180;;14401:56;14432:4;14438:2;14442:7;14451:5;14401:30;:56::i;:::-;14396:143;;14484:40;;-1:-1:-1;;;14484:40:0;;;;;;;;;;;14396:143;14157:388;;;;:::o;1975:288:6:-;2088:13;2122:16;2130:7;2122;:16::i;:::-;2117:59;;2147:29;;;;;;;;;;;;;;2117:59;2218:7;2227:18;:7;:16;:18::i;:::-;2201:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2187:69;;1975:288;;;:::o;4375:106::-;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;4449:13:6::1;:25:::0;4375:106::o;3900:93::-;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;3966:11:6::1;:20:::0;;-1:-1:-1;;3966:20:6::1;::::0;::::1;;::::0;;;::::1;::::0;;3900:93::o;4592:90::-;767:5:3;;-1:-1:-1;;;;;767:5:3;753:10;:19;745:44;;;;-1:-1:-1;;;745:44:3;;7671:2:7;745:44:3;;;7653:21:7;7710:2;7690:18;;;7683:30;-1:-1:-1;;;7729:18:7;;;7722:42;7781:18;;745:44:3;7469:336:7;745:44:3;4658:9:6::1;:17:::0;4592:90::o;2861:1456:5:-;2973:12;3100:4;3094:11;3242:66;3223:17;3216:93;3356:2;3352:1;3333:17;3329:25;3322:37;3436:6;3431:2;3412:17;3408:26;3401:42;4238:2;4235:1;4231:2;4212:17;4209:1;4202:5;4195;4190:51;3759:16;3752:24;3746:2;3728:16;3725:24;3721:1;3717;3711:8;3708:15;3704:46;3701:76;3501:754;3490:765;;;4283:7;4275:35;;;;-1:-1:-1;;;4275:35:5;;11053:2:7;4275:35:5;;;11035:21:7;11092:2;11072:18;;;11065:30;11131:17;11111:18;;;11104:45;11166:18;;4275:35:5;10851:339:7;14791:268:0;14848:4;14935:13;;14925:7;:23;14883:150;;;;-1:-1:-1;;14985:26:0;;;;:17;:26;;;;;;1774:8;14985:43;:48;;14791:268::o;796:296:5:-;868:12;1024:1;1021;1018;1015;1007:6;1003:2;996:5;991:35;980:46;;1054:7;1046:39;;;;-1:-1:-1;;;1046:39:5;;11397:2:7;1046:39:5;;;11379:21:7;11436:2;11416:18;;;11409:30;11475:21;11455:18;;;11448:49;11514:18;;1046:39:5;11195:343:7;7949:1105:0;8016:7;8050;8148:13;;8141:4;:20;8137:853;;;8185:14;8202:23;;;:17;:23;;;;;;;1774:8;8289:23;;:28;;8285:687;;8800:111;8807:6;8817:1;8807:11;8800:111;;-1:-1:-1;;;8877:6:0;8859:25;;;;:17;:25;;;;;;8800:111;;;8943:6;7949:1105;-1:-1:-1;;;7949:1105:0:o;8285:687::-;8163:827;8137:853;9016:31;;;;;;;;;;;;;;15138:102;15206:27;15216:2;15220:8;15206:27;;;;;;;;;;;;:9;:27::i;28649:697::-;28827:88;;;;;28807:4;;-1:-1:-1;;;;;28827:45:0;;;;;:88;;32960:10;;28894:4;;28900:7;;28909:5;;28827:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28827:88:0;;;;;;;;-1:-1:-1;;28827:88:0;;;;;;;;;;;;:::i;:::-;;;28823:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29105:6;:13;29122:1;29105:18;29101:229;;29150:40;;-1:-1:-1;;;29150:40:0;;;;;;;;;;;29101:229;29290:6;29284:13;29275:6;29271:2;29267:15;29260:38;28823:517;28983:64;;28993:54;28983:64;;-1:-1:-1;28823:517:0;28649:697;;;;;;:::o;328:703:2:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:2;;;;;;;;;;;;;;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:2;;-1:-1:-1;773:2:2;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:2;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:2;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;972:11:2;981:2;972:11;;:::i;:::-;;;844:150;;15641:661:0;15759:19;15765:2;15769:8;15759:5;:19::i;:::-;-1:-1:-1;;;;;15817:14:0;;;:19;15813:473;;15870:13;;15917:14;;;15949:229;15979:62;16018:1;16022:2;16026:7;;;;;;16035:5;15979:30;:62::i;:::-;15974:165;;16076:40;;-1:-1:-1;;;16076:40:0;;;;;;;;;;;15974:165;16173:3;16165:5;:11;15949:229;;16258:3;16241:13;;:20;16237:34;;16263:8;;;16237:34;15838:448;;15641:661;;;:::o;16563:1492::-;16650:13;;-1:-1:-1;;;;;16677:16:0;;16673:48;;16702:19;;;;;;;;;;;;;;16673:48;16735:8;16747:1;16735:13;16731:44;;16757:18;;;;;;;;;;;;;;16731:44;-1:-1:-1;;;;;17250:22:0;;;;;;:18;:22;;1156:2;17250:22;;:70;;17288:31;17276:44;;17250:70;;;10863:11;10839:22;10835:40;-1:-1:-1;12522:15:0;;12497:23;12493:45;10832:51;10822:62;17556:31;;;;:17;:31;;;;;:170;17574:12;17799:23;;;17836:99;17862:35;;17887:9;;;;;-1:-1:-1;;;;;17862:35:0;;;17879:1;;17862:35;;17879:1;;17862:35;17930:3;17920:7;:13;17836:99;;17949:13;:19;-1:-1:-1;13912:179:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:7;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;68:117;14:177;:::o;196:245::-;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:161::-;-1:-1:-1;;;;;724:5:7;720:54;713:5;710:65;700:93;;789:1;786;779:12;804:416;886:6;894;947:2;935:9;926:7;922:23;918:32;915:52;;;963:1;960;953:12;915:52;1002:9;989:23;1021:38;1053:5;1021:38;:::i;:::-;1078:5;-1:-1:-1;1135:2:7;1120:18;;1107:32;1148:40;1107:32;1148:40;:::i;:::-;1207:7;1197:17;;;804:416;;;;;:::o;1407:258::-;1479:1;1489:113;1503:6;1500:1;1497:13;1489:113;;;1579:11;;;1573:18;1560:11;;;1553:39;1525:2;1518:10;1489:113;;;1620:6;1617:1;1614:13;1611:48;;;-1:-1:-1;;1655:1:7;1637:16;;1630:27;1407:258::o;1670:328::-;1723:3;1761:5;1755:12;1788:6;1783:3;1776:19;1804:63;1860:6;1853:4;1848:3;1844:14;1837:4;1830:5;1826:16;1804:63;:::i;:::-;1912:2;1900:15;-1:-1:-1;;1896:88:7;1887:98;;;;1987:4;1883:109;;1670:328;-1:-1:-1;;1670:328:7:o;2003:231::-;2152:2;2141:9;2134:21;2115:4;2172:56;2224:2;2213:9;2209:18;2201:6;2172:56;:::i;2239:180::-;2298:6;2351:2;2339:9;2330:7;2326:23;2322:32;2319:52;;;2367:1;2364;2357:12;2319:52;-1:-1:-1;2390:23:7;;2239:180;-1:-1:-1;2239:180:7:o;2655:322::-;2723:6;2731;2784:2;2772:9;2763:7;2759:23;2755:32;2752:52;;;2800:1;2797;2790:12;2752:52;2839:9;2826:23;2858:38;2890:5;2858:38;:::i;:::-;2915:5;2967:2;2952:18;;;;2939:32;;-1:-1:-1;;;2655:322:7:o;2982:262::-;3049:6;3102:2;3090:9;3081:7;3077:23;3073:32;3070:52;;;3118:1;3115;3108:12;3070:52;3157:9;3144:23;3176:38;3208:5;3176:38;:::i;3508:470::-;3585:6;3593;3601;3654:2;3642:9;3633:7;3629:23;3625:32;3622:52;;;3670:1;3667;3660:12;3622:52;3709:9;3696:23;3728:38;3760:5;3728:38;:::i;:::-;3785:5;-1:-1:-1;3842:2:7;3827:18;;3814:32;3855:40;3814:32;3855:40;:::i;:::-;3508:470;;3914:7;;-1:-1:-1;;;3968:2:7;3953:18;;;;3940:32;;3508:470::o;3983:184::-;-1:-1:-1;;;4032:1:7;4025:88;4132:4;4129:1;4122:15;4156:4;4153:1;4146:15;4172:691;4237:5;4267:18;4308:2;4300:6;4297:14;4294:40;;;4314:18;;:::i;:::-;4448:2;4442:9;4514:2;4502:15;;-1:-1:-1;;4498:24:7;;;4524:2;4494:33;4490:42;4478:55;;;4548:18;;;4568:22;;;4545:46;4542:72;;;4594:18;;:::i;:::-;4634:10;4630:2;4623:22;4663:6;4654:15;;4693:6;4685;4678:22;4733:3;4724:6;4719:3;4715:16;4712:25;4709:45;;;4750:1;4747;4740:12;4709:45;4800:6;4795:3;4788:4;4780:6;4776:17;4763:44;4855:1;4848:4;4839:6;4831;4827:19;4823:30;4816:41;;;;4172:691;;;;;:::o;4868:451::-;4937:6;4990:2;4978:9;4969:7;4965:23;4961:32;4958:52;;;5006:1;5003;4996:12;4958:52;5046:9;5033:23;5079:18;5071:6;5068:30;5065:50;;;5111:1;5108;5101:12;5065:50;5134:22;;5187:4;5179:13;;5175:27;-1:-1:-1;5165:55:7;;5216:1;5213;5206:12;5165:55;5239:74;5305:7;5300:2;5287:16;5282:2;5278;5274:11;5239:74;:::i;5571:160::-;5636:20;;5692:13;;5685:21;5675:32;;5665:60;;5721:1;5718;5711:12;5736:322;5801:6;5809;5862:2;5850:9;5841:7;5837:23;5833:32;5830:52;;;5878:1;5875;5868:12;5830:52;5917:9;5904:23;5936:38;5968:5;5936:38;:::i;:::-;5993:5;-1:-1:-1;6017:35:7;6048:2;6033:18;;6017:35;:::i;:::-;6007:45;;5736:322;;;;;:::o;6063:809::-;6158:6;6166;6174;6182;6235:3;6223:9;6214:7;6210:23;6206:33;6203:53;;;6252:1;6249;6242:12;6203:53;6291:9;6278:23;6310:38;6342:5;6310:38;:::i;:::-;6367:5;-1:-1:-1;6424:2:7;6409:18;;6396:32;6437:40;6396:32;6437:40;:::i;:::-;6496:7;-1:-1:-1;6550:2:7;6535:18;;6522:32;;-1:-1:-1;6605:2:7;6590:18;;6577:32;6632:18;6621:30;;6618:50;;;6664:1;6661;6654:12;6618:50;6687:22;;6740:4;6732:13;;6728:27;-1:-1:-1;6718:55:7;;6769:1;6766;6759:12;6718:55;6792:74;6858:7;6853:2;6840:16;6835:2;6831;6827:11;6792:74;:::i;:::-;6782:84;;;6063:809;;;;;;;:::o;7284:180::-;7340:6;7393:2;7381:9;7372:7;7368:23;7364:32;7361:52;;;7409:1;7406;7399:12;7361:52;7432:26;7448:9;7432:26;:::i;7810:184::-;7880:6;7933:2;7921:9;7912:7;7908:23;7904:32;7901:52;;;7949:1;7946;7939:12;7901:52;-1:-1:-1;7972:16:7;;7810:184;-1:-1:-1;7810:184:7:o;7999:437::-;8078:1;8074:12;;;;8121;;;8142:61;;8196:4;8188:6;8184:17;8174:27;;8142:61;8249:2;8241:6;8238:14;8218:18;8215:38;8212:218;;-1:-1:-1;;;8283:1:7;8276:88;8387:4;8384:1;8377:15;8415:4;8412:1;8405:15;8212:218;;7999:437;;;:::o;8441:184::-;-1:-1:-1;;;8490:1:7;8483:88;8590:4;8587:1;8580:15;8614:4;8611:1;8604:15;8630:128;8670:3;8701:1;8697:6;8694:1;8691:13;8688:39;;;8707:18;;:::i;:::-;-1:-1:-1;8743:9:7;;8630:128::o;8763:228::-;8803:7;8929:1;-1:-1:-1;;8857:74:7;8854:1;8851:81;8846:1;8839:9;8832:17;8828:105;8825:131;;;8936:18;;:::i;:::-;-1:-1:-1;8976:9:7;;8763:228::o;9122:185::-;9164:3;9202:5;9196:12;9217:52;9262:6;9257:3;9250:4;9243:5;9239:16;9217:52;:::i;:::-;9285:16;;;;;9122:185;-1:-1:-1;;9122:185:7:o;9430:1416::-;9707:3;9736:1;9769:6;9763:13;9799:3;9821:1;9849:9;9845:2;9841:18;9831:28;;9909:2;9898:9;9894:18;9931;9921:61;;9975:4;9967:6;9963:17;9953:27;;9921:61;10001:2;10049;10041:6;10038:14;10018:18;10015:38;10012:222;;-1:-1:-1;;;10083:3:7;10076:90;10189:4;10186:1;10179:15;10219:4;10214:3;10207:17;10012:222;10250:18;10277:162;;;;10453:1;10448:320;;;;10243:525;;10277:162;-1:-1:-1;;10314:9:7;10310:82;10305:3;10298:95;10422:6;10417:3;10413:16;10406:23;;10277:162;;10448:320;9069:1;9062:14;;;9106:4;9093:18;;10543:1;10557:165;10571:6;10568:1;10565:13;10557:165;;;10649:14;;10636:11;;;10629:35;10692:16;;;;10586:10;;10557:165;;;10561:3;;10751:6;10746:3;10742:16;10735:23;;10243:525;;;;;;;10784:56;10809:30;10835:3;10827:6;10809:30;:::i;:::-;9384:7;9372:20;;9417:1;9408:11;;9312:113;10784:56;10777:63;9430:1416;-1:-1:-1;;;;;9430:1416:7:o;11543:523::-;11737:4;-1:-1:-1;;;;;11847:2:7;11839:6;11835:15;11824:9;11817:34;11899:2;11891:6;11887:15;11882:2;11871:9;11867:18;11860:43;;11939:6;11934:2;11923:9;11919:18;11912:34;11982:3;11977:2;11966:9;11962:18;11955:31;12003:57;12055:3;12044:9;12040:19;12032:6;12003:57;:::i;:::-;11995:65;11543:523;-1:-1:-1;;;;;;11543:523:7:o;12071:249::-;12140:6;12193:2;12181:9;12172:7;12168:23;12164:32;12161:52;;;12209:1;12206;12199:12;12161:52;12241:9;12235:16;12260:30;12284:5;12260:30;:::i;12325:195::-;12364:3;-1:-1:-1;;12388:5:7;12385:77;12382:103;;12465:18;;:::i;:::-;-1:-1:-1;12512:1:7;12501:13;;12325:195::o;12525:184::-;-1:-1:-1;;;12574:1:7;12567:88;12674:4;12671:1;12664:15;12698:4;12695:1;12688:15;12714:120;12754:1;12780;12770:35;;12785:18;;:::i;:::-;-1:-1:-1;12819:9:7;;12714:120::o;12839:125::-;12879:4;12907:1;12904;12901:8;12898:34;;;12912:18;;:::i;:::-;-1:-1:-1;12949:9:7;;12839:125::o;12969:112::-;13001:1;13027;13017:35;;13032:18;;:::i;:::-;-1:-1:-1;13066:9:7;;12969:112::o;13086:184::-;-1:-1:-1;;;13135:1:7;13128:88;13235:4;13232:1;13225:15;13259:4;13256:1;13249:15
Swarm Source
ipfs://2607d4af5a0391f92653b83f2666819615d5458c17962023606a0b6bcfe63064
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.