ERC-721
Source Code
Overview
Max Total Supply
3,333 ONI
Holders
1,750
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ONILoading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
Onitama
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;
import "openzeppelin-contracts/contracts/utils/Strings.sol";
import "openzeppelin-contracts/contracts/access/Ownable.sol";
import "openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol";
import "ERC721A/ERC721A.sol";
/*
* @title ERC1155 token for NFT 2048
* @author WayneHong @ Norika
*/
error CallFromContract();
error ExceedMaxSupply(uint256 maxSupply);
error ExceedMintLimit(uint256 mintLimit);
error MintNotStart();
error MintEnd();
error InvalidSignature();
contract Onitama is Ownable, ERC721A {
using ECDSA for bytes32;
using Strings for uint256;
address public signerAddress;
address public teamAddress;
mapping(address => uint256) public addressWhitelistMintedCount;
mapping(address => uint256) public addressMintedCount;
string public notRevealedUri;
string private _baseTokenURI = "";
uint256 public maxSupply = 3333;
uint256 public maxBatchSize = 1;
uint256 public publicMintStartAt;
uint256 public whitelistMintStartAt;
constructor(
address _signerAddress,
address _teamAddress,
uint256 _maxBatchSize,
uint256 _whitelistMintStartAt,
uint256 _publicMintStartAt,
string memory _notRevealedUri
) ERC721A("Onitama", "ONI") {
signerAddress = _signerAddress;
teamAddress = _teamAddress;
maxBatchSize = _maxBatchSize;
whitelistMintStartAt = _whitelistMintStartAt;
publicMintStartAt = _publicMintStartAt;
notRevealedUri = _notRevealedUri;
// _mint(teamAddress, 250);
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(_exists(tokenId), "URI query for nonexistent token");
string memory baseURI = _baseURI();
return
bytes(baseURI).length != 0
? string(abi.encodePacked(baseURI, tokenId.toString()))
: notRevealedUri;
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
modifier checkValidMint(uint256 quantity) {
if (tx.origin != msg.sender) revert CallFromContract();
if (totalSupply() + quantity > maxSupply)
revert ExceedMaxSupply(maxSupply);
_;
}
function whitelistMint(
uint256 quantity,
uint256 mintLimit,
uint8 v,
bytes32 r,
bytes32 s
) external payable checkValidMint(quantity) {
if (block.timestamp < whitelistMintStartAt) revert MintNotStart();
if (block.timestamp >= publicMintStartAt) revert MintEnd();
if (addressWhitelistMintedCount[msg.sender] + quantity > mintLimit)
revert ExceedMintLimit(mintLimit);
if (!isAuthorized(msg.sender, mintLimit, v, r, s))
revert InvalidSignature();
addressWhitelistMintedCount[msg.sender] += quantity;
_mint(msg.sender, quantity);
}
function publicMint(uint256 quantity)
external
payable
checkValidMint(quantity)
{
if (block.timestamp < publicMintStartAt) revert MintNotStart();
if (addressMintedCount[msg.sender] + quantity > maxBatchSize)
revert ExceedMintLimit(maxBatchSize);
addressMintedCount[msg.sender] += quantity;
_mint(msg.sender, quantity);
}
function mintForAirdrop(address[] memory addresses, uint256 quantity)
external
onlyOwner
{
for (uint256 i = 0; i < addresses.length; i++) {
_mint(addresses[i], quantity);
}
}
function isAuthorized(
address sender,
uint256 mintLimit,
uint8 v,
bytes32 r,
bytes32 s
) public view returns (bool) {
bytes32 hash = keccak256(abi.encodePacked(sender, mintLimit));
bytes32 signedHash = keccak256(
abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)
);
return signerAddress == ecrecover(signedHash, v, r, s);
}
function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Reference type for token approval.
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// 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 `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID 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 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual 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 virtual {
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;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
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: [ERC165](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.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
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 '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* 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 initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `curr` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev 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);
}
/**
* @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 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))
}
}
// =============================================================
// APPROVAL OPERATIONS
// =============================================================
/**
* @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) public virtual override {
address owner = ownerOf(tokenId);
if (_msgSenderERC721A() != owner)
if (!isApprovedForAll(owner, _msgSenderERC721A())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_tokenApprovals[tokenId].value = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId].value;
}
/**
* @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) public virtual override {
if (operator == _msgSenderERC721A()) revert ApproveToCaller();
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @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. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) public virtual override {
uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);
if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();
(uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @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 memory _data
) public virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns 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))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @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 virtual {
uint256 startTokenId = _currentIndex;
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 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
// The duplicated `log4` removes an extra check and reduces stack juggling.
// The assembly, together with the surrounding Solidity code, have been
// delicately arranged to nudge the compiler into producing optimized opcodes.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
for {
let tokenId := add(startTokenId, 1)
} iszero(eq(tokenId, end)) {
tokenId := add(tokenId, 1)
} {
// Emit the `Transfer` event. Similar to above.
log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
}
}
if (toMasked == 0) revert MintToZeroAddress();
_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 virtual {
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 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 virtual {
_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 Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal virtual {
_safeMint(to, quantity, '');
}
// =============================================================
// BURN OPERATIONS
// =============================================================
/**
* @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) = _getApprovedSlotAndAddress(tokenId);
if (approvalCheck) {
// The nested ifs save around 20+ gas over a compound boolean condition.
if (!_isSenderApprovedOrOwner(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++;
}
}
// =============================================================
// EXTRA DATA OPERATIONS
// =============================================================
/**
* @dev Directly sets the extra data for the ownership data `index`.
*/
function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
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 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 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;
}
// =============================================================
// OTHER OPERATIONS
// =============================================================
/**
* @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 virtual returns (string memory str) {
assembly {
// The maximum value of a uint256 contains 78 digits (1 byte per digit),
// but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aligned.
// We will need 1 32-byte word to store the length,
// and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
str := add(mload(0x40), 0x80)
// Update the free memory pointer to allocate.
mstore(0x40, str)
// Cache the end of the memory to calculate the length later.
let end := str
// We write the string from rightmost digit to leftmost digit.
// The following is essentially a do-while loop that also handles the zero case.
// prettier-ignore
for { let temp := value } 1 {} {
str := sub(str, 1)
// Write the character to the pointer.
// The ASCII index of the '0' character is 48.
mstore8(str, add(48, mod(temp, 10)))
// Keep dividing `temp` until zero.
temp := div(temp, 10)
// prettier-ignore
if iszero(temp) { break }
}
let length := sub(end, str)
// Move the pointer 32 bytes leftwards to make room for the length.
str := sub(str, 0x20)
// Store the length.
mstore(str, length)
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
/// @solidity memory-safe-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @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);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721A.
*/
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();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores 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 via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @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() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 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`,
* 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,
bytes calldata data
) external;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` 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](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"remappings": [
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"ERC721A/=lib/ERC721A/contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/"
]
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"},{"internalType":"address","name":"_teamAddress","type":"address"},{"internalType":"uint256","name":"_maxBatchSize","type":"uint256"},{"internalType":"uint256","name":"_whitelistMintStartAt","type":"uint256"},{"internalType":"uint256","name":"_publicMintStartAt","type":"uint256"},{"internalType":"string","name":"_notRevealedUri","type":"string"}],"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":"CallFromContract","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"ExceedMaxSupply","type":"error"},{"inputs":[{"internalType":"uint256","name":"mintLimit","type":"uint256"}],"name":"ExceedMintLimit","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintEnd","type":"error"},{"inputs":[],"name":"MintNotStart","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressWhitelistMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"sender","type":"address"},{"internalType":"uint256","name":"mintLimit","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintStartAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"mintLimit","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintStartAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60a060405260006080908152600e906200001a908262000224565b50610d05600f5560016010553480156200003357600080fd5b50604051620020363803806200203683398101604081905262000056916200030d565b604051806040016040528060078152602001664f6e6974616d6160c81b815250604051806040016040528060038152602001624f4e4960e81b815250620000ac620000a66200012b60201b60201c565b6200012f565b6003620000ba838262000224565b506004620000c9828262000224565b5060006001555050600980546001600160a01b038089166001600160a01b031992831617909255600a805492881692909116919091179055601084905560128390556011829055600d6200011e828262000224565b505050505050506200042e565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001aa57607f821691505b602082108103620001cb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021f57600081815260208120601f850160051c81016020861015620001fa5750805b601f850160051c820191505b818110156200021b5782815560010162000206565b5050505b505050565b81516001600160401b038111156200024057620002406200017f565b620002588162000251845462000195565b84620001d1565b602080601f831160018114620002905760008415620002775750858301515b600019600386901b1c1916600185901b1785556200021b565b600085815260208120601f198616915b82811015620002c157888601518255948401946001909101908401620002a0565b5085821015620002e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b03811681146200030857600080fd5b919050565b60008060008060008060c087890312156200032757600080fd5b6200033287620002f0565b9550602062000343818901620002f0565b604089015160608a015160808b015160a08c0151939950919750955093506001600160401b03808211156200037757600080fd5b818a0191508a601f8301126200038c57600080fd5b815181811115620003a157620003a16200017f565b604051601f8201601f19908116603f01168101908382118183101715620003cc57620003cc6200017f565b816040528281528d86848701011115620003e557600080fd5b600093505b82841015620004095784840186015181850187015292850192620003ea565b828411156200041b5760008684830101525b8096505050505050509295509295509295565b611bf8806200043e6000396000f3fe6080604052600436106101d85760003560e01c80635dc2ba3911610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610541578063e985e9c514610557578063f2fde38b146105a0578063fc571ee7146105c057600080fd5b8063a22cb465146104c1578063a879d168146104e1578063b88d4fde14610501578063c87b56dd1461052157600080fd5b8063715018a6116100d1578063715018a61461044c5780638c5db776146104615780638da5cb5b1461048e57806395d89b41146104ac57600080fd5b80635dc2ba39146103d65780636352211e146103ec5780636f8aa0411461040c57806370a082311461042c57600080fd5b80631c75f0851161017a5780632db11544116101495780632db115441461036357806342842e0e1461037657806355f804b3146103965780635b7633d0146103b657600080fd5b80631c75f085146102e0578063200150741461030057806323b872dd1461032d5780632913daa01461034d57600080fd5b8063081c8c44116101b6578063081c8c441461026c578063095ea7b3146102815780630a916fd6146102a357806318160ddd146102c757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046114df565b6105d3565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610625565b6040516102099190611554565b34801561024057600080fd5b5061025461024f366004611567565b6106b7565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b506102276106fb565b34801561028d57600080fd5b506102a161029c36600461159c565b610789565b005b3480156102af57600080fd5b506102b960115481565b604051908152602001610209565b3480156102d357600080fd5b50600254600154036102b9565b3480156102ec57600080fd5b50600a54610254906001600160a01b031681565b34801561030c57600080fd5b506102b961031b3660046115c6565b600b6020526000908152604090205481565b34801561033957600080fd5b506102a16103483660046115e1565b610829565b34801561035957600080fd5b506102b960105481565b6102a1610371366004611567565b6109c2565b34801561038257600080fd5b506102a16103913660046115e1565b610ac5565b3480156103a257600080fd5b506102a16103b136600461161d565b610ae5565b3480156103c257600080fd5b50600954610254906001600160a01b031681565b3480156103e257600080fd5b506102b960125481565b3480156103f857600080fd5b50610254610407366004611567565b610afa565b34801561041857600080fd5b506102a16104273660046116d6565b610b05565b34801561043857600080fd5b506102b96104473660046115c6565b610b4e565b34801561045857600080fd5b506102a1610b9d565b34801561046d57600080fd5b506102b961047c3660046115c6565b600c6020526000908152604090205481565b34801561049a57600080fd5b506000546001600160a01b0316610254565b3480156104b857600080fd5b50610227610bb1565b3480156104cd57600080fd5b506102a16104dc366004611789565b610bc0565b3480156104ed57600080fd5b506101fd6104fc3660046117d6565b610c55565b34801561050d57600080fd5b506102a161051c366004611824565b610d67565b34801561052d57600080fd5b5061022761053c366004611567565b610db1565b34801561054d57600080fd5b506102b9600f5481565b34801561056357600080fd5b506101fd6105723660046118e4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105ac57600080fd5b506102a16105bb3660046115c6565b610edf565b6102a16105ce366004611917565b610f58565b60006301ffc9a760e01b6001600160e01b03198316148061060457506380ac58cd60e01b6001600160e01b03198316145b8061061f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461063490611946565b80601f016020809104026020016040519081016040528092919081815260200182805461066090611946565b80156106ad5780601f10610682576101008083540402835291602001916106ad565b820191906000526020600020905b81548152906001019060200180831161069057829003601f168201915b5050505050905090565b60006106c282611096565b6106df576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600d805461070890611946565b80601f016020809104026020016040519081016040528092919081815260200182805461073490611946565b80156107815780601f1061075657610100808354040283529160200191610781565b820191906000526020600020905b81548152906001019060200180831161076457829003601f168201915b505050505081565b600061079482610afa565b9050336001600160a01b038216146107cd576107b08133610572565b6107cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610834826110be565b9050836001600160a01b0316816001600160a01b0316146108675760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108b4576108978633610572565b6108b457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108db57604051633a954ecd60e21b815260040160405180910390fd5b80156108e657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610978576001840160008181526005602052604081205490036109765760015481146109765760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b803233146109e357604051636fc1d34b60e11b815260040160405180910390fd5b600f54816109f46002546001540390565b6109fe9190611996565b1115610a2c57600f54604051635dae7a7560e11b8152600401610a2391815260200190565b60405180910390fd5b601154421015610a4f57604051631abb970f60e21b815260040160405180910390fd5b601054336000908152600c6020526040902054610a6d908490611996565b1115610a9257601054604051630140515b60e41b8152600401610a2391815260200190565b336000908152600c602052604081208054849290610ab1908490611996565b90915550610ac190503383611125565b5050565b610ae083838360405180602001604052806000815250610d67565b505050565b610aed611223565b600e610ae08284836119f4565b600061061f826110be565b610b0d611223565b60005b8251811015610ae057610b3c838281518110610b2e57610b2e611ab5565b602002602001015183611125565b80610b4681611acb565b915050610b10565b60006001600160a01b038216610b77576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610ba5611223565b610baf600061127d565b565b60606004805461063490611946565b336001600160a01b03831603610be95760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff19606087901b166020820152603481018590526000908190605401604051602081830303815290604052805190602001209050600081604051602001610cd791907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8916918301919091526060820187905260808201869052915060019060a0016020604051602081039080840390855afa158015610d3f573d6000803e3d6000fd5b5050604051601f1901516009546001600160a01b039182169116149998505050505050505050565b610d72848484610829565b6001600160a01b0383163b15610dab57610d8e848484846112cd565b610dab576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610dbc82611096565b610e085760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a23565b6000610e126113b9565b90508051600003610ead57600d8054610e2a90611946565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5690611946565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b5050505050610ed8565b80610eb7846113c8565b604051602001610ec8929190611ae4565b6040516020818303038152906040525b9392505050565b610ee7611223565b6001600160a01b038116610f4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b610f558161127d565b50565b84323314610f7957604051636fc1d34b60e11b815260040160405180910390fd5b600f5481610f8a6002546001540390565b610f949190611996565b1115610fb957600f54604051635dae7a7560e11b8152600401610a2391815260200190565b601254421015610fdc57604051631abb970f60e21b815260040160405180910390fd5b6011544210610ffe57604051630a6f932d60e01b815260040160405180910390fd5b336000908152600b6020526040902054859061101b908890611996565b111561103d57604051630140515b60e41b815260048101869052602401610a23565b61104a3386868686610c55565b61106757604051638baa579f60e01b815260040160405180910390fd5b336000908152600b602052604081208054889290611086908490611996565b909155506109ba90503387611125565b60006001548210801561061f575050600090815260056020526040902054600160e01b161590565b60008160015481101561110c5760008181526005602052604081205490600160e01b8216900361110a575b80600003610ed85750600019016000818152600560205260409020546110e9565b505b604051636f96cda160e11b815260040160405180910390fd5b600154600082900361114a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146111f957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111c1565b508160000361121a57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610baf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a23565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611302903390899088908890600401611b13565b6020604051808303816000875af192505050801561133d575060408051601f3d908101601f1916820190925261133a91810190611b50565b60015b61139b573d80801561136b576040519150601f19603f3d011682016040523d82523d6000602084013e611370565b606091505b508051600003611393576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e805461063490611946565b6060816000036113ef5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611419578061140381611acb565b91506114129050600a83611b83565b91506113f3565b60008167ffffffffffffffff8111156114345761143461168f565b6040519080825280601f01601f19166020018201604052801561145e576020820181803683370190505b5090505b84156113b157611473600183611b97565b9150611480600a86611bae565b61148b906030611996565b60f81b8183815181106114a0576114a0611ab5565b60200101906001600160f81b031916908160001a9053506114c2600a86611b83565b9450611462565b6001600160e01b031981168114610f5557600080fd5b6000602082840312156114f157600080fd5b8135610ed8816114c9565b60005b838110156115175781810151838201526020016114ff565b83811115610dab5750506000910152565b600081518084526115408160208601602086016114fc565b601f01601f19169290920160200192915050565b602081526000610ed86020830184611528565b60006020828403121561157957600080fd5b5035919050565b80356001600160a01b038116811461159757600080fd5b919050565b600080604083850312156115af57600080fd5b6115b883611580565b946020939093013593505050565b6000602082840312156115d857600080fd5b610ed882611580565b6000806000606084860312156115f657600080fd5b6115ff84611580565b925061160d60208501611580565b9150604084013590509250925092565b6000806020838503121561163057600080fd5b823567ffffffffffffffff8082111561164857600080fd5b818501915085601f83011261165c57600080fd5b81358181111561166b57600080fd5b86602082850101111561167d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156116ce576116ce61168f565b604052919050565b600080604083850312156116e957600080fd5b823567ffffffffffffffff8082111561170157600080fd5b818501915085601f83011261171557600080fd5b81356020828211156117295761172961168f565b8160051b925061173a8184016116a5565b828152928401810192818101908985111561175457600080fd5b948201945b848610156117795761176a86611580565b82529482019490820190611759565b9997909101359750505050505050565b6000806040838503121561179c57600080fd5b6117a583611580565b9150602083013580151581146117ba57600080fd5b809150509250929050565b803560ff8116811461159757600080fd5b600080600080600060a086880312156117ee57600080fd5b6117f786611580565b94506020860135935061180c604087016117c5565b94979396509394606081013594506080013592915050565b6000806000806080858703121561183a57600080fd5b61184385611580565b93506020611852818701611580565b935060408601359250606086013567ffffffffffffffff8082111561187657600080fd5b818801915088601f83011261188a57600080fd5b81358181111561189c5761189c61168f565b6118ae601f8201601f191685016116a5565b915080825289848285010111156118c457600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156118f757600080fd5b61190083611580565b915061190e60208401611580565b90509250929050565b600080600080600060a0868803121561192f57600080fd5b853594506020860135935061180c604087016117c5565b600181811c9082168061195a57607f821691505b60208210810361197a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156119a9576119a9611980565b500190565b601f821115610ae057600081815260208120601f850160051c810160208610156119d55750805b601f850160051c820191505b818110156109ba578281556001016119e1565b67ffffffffffffffff831115611a0c57611a0c61168f565b611a2083611a1a8354611946565b836119ae565b6000601f841160018114611a545760008515611a3c5750838201355b600019600387901b1c1916600186901b178355611aae565b600083815260209020601f19861690835b82811015611a855786850135825560209485019460019092019101611a65565b5086821015611aa25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611add57611add611980565b5060010190565b60008351611af68184602088016114fc565b835190830190611b0a8183602088016114fc565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b4690830184611528565b9695505050505050565b600060208284031215611b6257600080fd5b8151610ed8816114c9565b634e487b7160e01b600052601260045260246000fd5b600082611b9257611b92611b6d565b500490565b600082821015611ba957611ba9611980565b500390565b600082611bbd57611bbd611b6d565b50069056fea264697066735822122010c21996e5000d2d11b7bd343c3b32dbb90050e547ede1feb1817a950ee12b5564736f6c634300080f0033000000000000000000000000eeec77625ff9a0e08caf25f3d7348de61f94bee6000000000000000000000000da144554a7492626af377f70d4e6df0e17cc2c020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000006319e75000000000000000000000000000000000000000000000000000000000631a037000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5337456759704e65705369754c7654715651723945726838753132456b4b734a53584770727271434a5643740000000000000000000000
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80635dc2ba3911610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610541578063e985e9c514610557578063f2fde38b146105a0578063fc571ee7146105c057600080fd5b8063a22cb465146104c1578063a879d168146104e1578063b88d4fde14610501578063c87b56dd1461052157600080fd5b8063715018a6116100d1578063715018a61461044c5780638c5db776146104615780638da5cb5b1461048e57806395d89b41146104ac57600080fd5b80635dc2ba39146103d65780636352211e146103ec5780636f8aa0411461040c57806370a082311461042c57600080fd5b80631c75f0851161017a5780632db11544116101495780632db115441461036357806342842e0e1461037657806355f804b3146103965780635b7633d0146103b657600080fd5b80631c75f085146102e0578063200150741461030057806323b872dd1461032d5780632913daa01461034d57600080fd5b8063081c8c44116101b6578063081c8c441461026c578063095ea7b3146102815780630a916fd6146102a357806318160ddd146102c757600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046114df565b6105d3565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610625565b6040516102099190611554565b34801561024057600080fd5b5061025461024f366004611567565b6106b7565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b506102276106fb565b34801561028d57600080fd5b506102a161029c36600461159c565b610789565b005b3480156102af57600080fd5b506102b960115481565b604051908152602001610209565b3480156102d357600080fd5b50600254600154036102b9565b3480156102ec57600080fd5b50600a54610254906001600160a01b031681565b34801561030c57600080fd5b506102b961031b3660046115c6565b600b6020526000908152604090205481565b34801561033957600080fd5b506102a16103483660046115e1565b610829565b34801561035957600080fd5b506102b960105481565b6102a1610371366004611567565b6109c2565b34801561038257600080fd5b506102a16103913660046115e1565b610ac5565b3480156103a257600080fd5b506102a16103b136600461161d565b610ae5565b3480156103c257600080fd5b50600954610254906001600160a01b031681565b3480156103e257600080fd5b506102b960125481565b3480156103f857600080fd5b50610254610407366004611567565b610afa565b34801561041857600080fd5b506102a16104273660046116d6565b610b05565b34801561043857600080fd5b506102b96104473660046115c6565b610b4e565b34801561045857600080fd5b506102a1610b9d565b34801561046d57600080fd5b506102b961047c3660046115c6565b600c6020526000908152604090205481565b34801561049a57600080fd5b506000546001600160a01b0316610254565b3480156104b857600080fd5b50610227610bb1565b3480156104cd57600080fd5b506102a16104dc366004611789565b610bc0565b3480156104ed57600080fd5b506101fd6104fc3660046117d6565b610c55565b34801561050d57600080fd5b506102a161051c366004611824565b610d67565b34801561052d57600080fd5b5061022761053c366004611567565b610db1565b34801561054d57600080fd5b506102b9600f5481565b34801561056357600080fd5b506101fd6105723660046118e4565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105ac57600080fd5b506102a16105bb3660046115c6565b610edf565b6102a16105ce366004611917565b610f58565b60006301ffc9a760e01b6001600160e01b03198316148061060457506380ac58cd60e01b6001600160e01b03198316145b8061061f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461063490611946565b80601f016020809104026020016040519081016040528092919081815260200182805461066090611946565b80156106ad5780601f10610682576101008083540402835291602001916106ad565b820191906000526020600020905b81548152906001019060200180831161069057829003601f168201915b5050505050905090565b60006106c282611096565b6106df576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600d805461070890611946565b80601f016020809104026020016040519081016040528092919081815260200182805461073490611946565b80156107815780601f1061075657610100808354040283529160200191610781565b820191906000526020600020905b81548152906001019060200180831161076457829003601f168201915b505050505081565b600061079482610afa565b9050336001600160a01b038216146107cd576107b08133610572565b6107cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610834826110be565b9050836001600160a01b0316816001600160a01b0316146108675760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108b4576108978633610572565b6108b457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108db57604051633a954ecd60e21b815260040160405180910390fd5b80156108e657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610978576001840160008181526005602052604081205490036109765760015481146109765760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b803233146109e357604051636fc1d34b60e11b815260040160405180910390fd5b600f54816109f46002546001540390565b6109fe9190611996565b1115610a2c57600f54604051635dae7a7560e11b8152600401610a2391815260200190565b60405180910390fd5b601154421015610a4f57604051631abb970f60e21b815260040160405180910390fd5b601054336000908152600c6020526040902054610a6d908490611996565b1115610a9257601054604051630140515b60e41b8152600401610a2391815260200190565b336000908152600c602052604081208054849290610ab1908490611996565b90915550610ac190503383611125565b5050565b610ae083838360405180602001604052806000815250610d67565b505050565b610aed611223565b600e610ae08284836119f4565b600061061f826110be565b610b0d611223565b60005b8251811015610ae057610b3c838281518110610b2e57610b2e611ab5565b602002602001015183611125565b80610b4681611acb565b915050610b10565b60006001600160a01b038216610b77576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610ba5611223565b610baf600061127d565b565b60606004805461063490611946565b336001600160a01b03831603610be95760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff19606087901b166020820152603481018590526000908190605401604051602081830303815290604052805190602001209050600081604051602001610cd791907f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b60408051601f1981840301815282825280516020918201206000845290830180835281905260ff8916918301919091526060820187905260808201869052915060019060a0016020604051602081039080840390855afa158015610d3f573d6000803e3d6000fd5b5050604051601f1901516009546001600160a01b039182169116149998505050505050505050565b610d72848484610829565b6001600160a01b0383163b15610dab57610d8e848484846112cd565b610dab576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610dbc82611096565b610e085760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a23565b6000610e126113b9565b90508051600003610ead57600d8054610e2a90611946565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5690611946565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b5050505050610ed8565b80610eb7846113c8565b604051602001610ec8929190611ae4565b6040516020818303038152906040525b9392505050565b610ee7611223565b6001600160a01b038116610f4c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a23565b610f558161127d565b50565b84323314610f7957604051636fc1d34b60e11b815260040160405180910390fd5b600f5481610f8a6002546001540390565b610f949190611996565b1115610fb957600f54604051635dae7a7560e11b8152600401610a2391815260200190565b601254421015610fdc57604051631abb970f60e21b815260040160405180910390fd5b6011544210610ffe57604051630a6f932d60e01b815260040160405180910390fd5b336000908152600b6020526040902054859061101b908890611996565b111561103d57604051630140515b60e41b815260048101869052602401610a23565b61104a3386868686610c55565b61106757604051638baa579f60e01b815260040160405180910390fd5b336000908152600b602052604081208054889290611086908490611996565b909155506109ba90503387611125565b60006001548210801561061f575050600090815260056020526040902054600160e01b161590565b60008160015481101561110c5760008181526005602052604081205490600160e01b8216900361110a575b80600003610ed85750600019016000818152600560205260409020546110e9565b505b604051636f96cda160e11b815260040160405180910390fd5b600154600082900361114a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146111f957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111c1565b508160000361121a57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6000546001600160a01b03163314610baf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a23565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611302903390899088908890600401611b13565b6020604051808303816000875af192505050801561133d575060408051601f3d908101601f1916820190925261133a91810190611b50565b60015b61139b573d80801561136b576040519150601f19603f3d011682016040523d82523d6000602084013e611370565b606091505b508051600003611393576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e805461063490611946565b6060816000036113ef5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611419578061140381611acb565b91506114129050600a83611b83565b91506113f3565b60008167ffffffffffffffff8111156114345761143461168f565b6040519080825280601f01601f19166020018201604052801561145e576020820181803683370190505b5090505b84156113b157611473600183611b97565b9150611480600a86611bae565b61148b906030611996565b60f81b8183815181106114a0576114a0611ab5565b60200101906001600160f81b031916908160001a9053506114c2600a86611b83565b9450611462565b6001600160e01b031981168114610f5557600080fd5b6000602082840312156114f157600080fd5b8135610ed8816114c9565b60005b838110156115175781810151838201526020016114ff565b83811115610dab5750506000910152565b600081518084526115408160208601602086016114fc565b601f01601f19169290920160200192915050565b602081526000610ed86020830184611528565b60006020828403121561157957600080fd5b5035919050565b80356001600160a01b038116811461159757600080fd5b919050565b600080604083850312156115af57600080fd5b6115b883611580565b946020939093013593505050565b6000602082840312156115d857600080fd5b610ed882611580565b6000806000606084860312156115f657600080fd5b6115ff84611580565b925061160d60208501611580565b9150604084013590509250925092565b6000806020838503121561163057600080fd5b823567ffffffffffffffff8082111561164857600080fd5b818501915085601f83011261165c57600080fd5b81358181111561166b57600080fd5b86602082850101111561167d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156116ce576116ce61168f565b604052919050565b600080604083850312156116e957600080fd5b823567ffffffffffffffff8082111561170157600080fd5b818501915085601f83011261171557600080fd5b81356020828211156117295761172961168f565b8160051b925061173a8184016116a5565b828152928401810192818101908985111561175457600080fd5b948201945b848610156117795761176a86611580565b82529482019490820190611759565b9997909101359750505050505050565b6000806040838503121561179c57600080fd5b6117a583611580565b9150602083013580151581146117ba57600080fd5b809150509250929050565b803560ff8116811461159757600080fd5b600080600080600060a086880312156117ee57600080fd5b6117f786611580565b94506020860135935061180c604087016117c5565b94979396509394606081013594506080013592915050565b6000806000806080858703121561183a57600080fd5b61184385611580565b93506020611852818701611580565b935060408601359250606086013567ffffffffffffffff8082111561187657600080fd5b818801915088601f83011261188a57600080fd5b81358181111561189c5761189c61168f565b6118ae601f8201601f191685016116a5565b915080825289848285010111156118c457600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156118f757600080fd5b61190083611580565b915061190e60208401611580565b90509250929050565b600080600080600060a0868803121561192f57600080fd5b853594506020860135935061180c604087016117c5565b600181811c9082168061195a57607f821691505b60208210810361197a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156119a9576119a9611980565b500190565b601f821115610ae057600081815260208120601f850160051c810160208610156119d55750805b601f850160051c820191505b818110156109ba578281556001016119e1565b67ffffffffffffffff831115611a0c57611a0c61168f565b611a2083611a1a8354611946565b836119ae565b6000601f841160018114611a545760008515611a3c5750838201355b600019600387901b1c1916600186901b178355611aae565b600083815260209020601f19861690835b82811015611a855786850135825560209485019460019092019101611a65565b5086821015611aa25760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611add57611add611980565b5060010190565b60008351611af68184602088016114fc565b835190830190611b0a8183602088016114fc565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b4690830184611528565b9695505050505050565b600060208284031215611b6257600080fd5b8151610ed8816114c9565b634e487b7160e01b600052601260045260246000fd5b600082611b9257611b92611b6d565b500490565b600082821015611ba957611ba9611980565b500390565b600082611bbd57611bbd611b6d565b50069056fea264697066735822122010c21996e5000d2d11b7bd343c3b32dbb90050e547ede1feb1817a950ee12b5564736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000eeec77625ff9a0e08caf25f3d7348de61f94bee6000000000000000000000000da144554a7492626af377f70d4e6df0e17cc2c020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000006319e75000000000000000000000000000000000000000000000000000000000631a037000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5337456759704e65705369754c7654715651723945726838753132456b4b734a53584770727271434a5643740000000000000000000000
-----Decoded View---------------
Arg [0] : _signerAddress (address): 0xeeeC77625Ff9A0e08CAF25F3D7348De61f94BeE6
Arg [1] : _teamAddress (address): 0xdA144554A7492626AF377F70D4E6dF0E17CC2C02
Arg [2] : _maxBatchSize (uint256): 1
Arg [3] : _whitelistMintStartAt (uint256): 1662642000
Arg [4] : _publicMintStartAt (uint256): 1662649200
Arg [5] : _notRevealedUri (string): ipfs://QmS7EgYpNepSiuLvTqVQr9Erh8u12EkKsJSXGprrqCJVCt
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000eeec77625ff9a0e08caf25f3d7348de61f94bee6
Arg [1] : 000000000000000000000000da144554a7492626af377f70d4e6df0e17cc2c02
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 000000000000000000000000000000000000000000000000000000006319e750
Arg [4] : 00000000000000000000000000000000000000000000000000000000631a0370
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [7] : 697066733a2f2f516d5337456759704e65705369754c76547156517239457268
Arg [8] : 38753132456b4b734a53584770727271434a5643740000000000000000000000
Deployed Bytecode Sourcemap
534:3678:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9112:630:0;;;;;;;;;;-1:-1:-1;9112:630:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:7;;558:22;540:41;;528:2;513:18;9112:630:0;;;;;;;;9996:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16309:214::-;;;;;;;;;;-1:-1:-1;16309:214:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:7;;;1674:51;;1662:2;1647:18;16309:214:0;1528:203:7;832:28:6;;;;;;;;;;;;;:::i;15769:390:0:-;;;;;;;;;;-1:-1:-1;15769:390:0;;;;;:::i;:::-;;:::i;:::-;;980:32:6;;;;;;;;;;;;;;;;;;;2319:25:7;;;2307:2;2292:18;980:32:6;2173:177:7;5851:317:0;;;;;;;;;;-1:-1:-1;6121:12:0;;6105:13;;:28;5851:317;;672:26:6;;;;;;;;;;-1:-1:-1;672:26:6;;;;-1:-1:-1;;;;;672:26:6;;;704:62;;;;;;;;;;-1:-1:-1;704:62:6;;;;;:::i;:::-;;;;;;;;;;;;;;19924:2756:0;;;;;;;;;;-1:-1:-1;19924:2756:0;;;;;:::i;:::-;;:::i;943:31:6:-;;;;;;;;;;;;;;;;3039:397;;;;;;:::i;:::-;;:::i;22771:179:0:-;;;;;;;;;;-1:-1:-1;22771:179:0;;;;;:::i;:::-;;:::i;4106:104:6:-;;;;;;;;;;-1:-1:-1;4106:104:6;;;;;:::i;:::-;;:::i;638:28::-;;;;;;;;;;-1:-1:-1;638:28:6;;;;-1:-1:-1;;;;;638:28:6;;;1018:35;;;;;;;;;;;;;;;;11348:150:0;;;;;;;;;;-1:-1:-1;11348:150:0;;;;;:::i;:::-;;:::i;3442:226:6:-;;;;;;;;;;-1:-1:-1;3442:226:6;;;;;:::i;:::-;;:::i;7002:230:0:-;;;;;;;;;;-1:-1:-1;7002:230:0;;;;;:::i;:::-;;:::i;1831:101:2:-;;;;;;;;;;;;;:::i;772:53:6:-;;;;;;;;;;-1:-1:-1;772:53:6;;;;;:::i;:::-;;;;;;;;;;;;;;1201:85:2;;;;;;;;;;-1:-1:-1;1247:7:2;1273:6;-1:-1:-1;;;;;1273:6:2;1201:85;;10165:102:0;;;;;;;;;;;;;:::i;16850:303::-;;;;;;;;;;-1:-1:-1;16850:303:0;;;;;:::i;:::-;;:::i;3674:426:6:-;;;;;;;;;;-1:-1:-1;3674:426:6;;;;;:::i;:::-;;:::i;23531:388:0:-;;;;;;;;;;-1:-1:-1;23531:388:0;;;;;:::i;:::-;;:::i;1618:414:6:-;;;;;;;;;;-1:-1:-1;1618:414:6;;;;;:::i;:::-;;:::i;906:31::-;;;;;;;;;;;;;;;;17303:162:0;;;;;;;;;;-1:-1:-1;17303:162:0;;;;;:::i;:::-;-1:-1:-1;;;;;17423:25:0;;;17400:4;17423:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17303:162;2081:198:2;;;;;;;;;;-1:-1:-1;2081:198:2;;;;;:::i;:::-;;:::i;2384:649:6:-;;;;;;:::i;:::-;;:::i;9112:630:0:-;9197:4;-1:-1:-1;;;;;;;;;9515:25:0;;;;:101;;-1:-1:-1;;;;;;;;;;9591:25:0;;;9515:101;:177;;;-1:-1:-1;;;;;;;;;;9667:25:0;;;9515:177;9496:196;9112:630;-1:-1:-1;;9112:630:0:o;9996:98::-;10050:13;10082:5;10075:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9996:98;:::o;16309:214::-;16385:7;16409:16;16417:7;16409;:16::i;:::-;16404:64;;16434:34;;-1:-1:-1;;;16434:34:0;;;;;;;;;;;16404:64;-1:-1:-1;16486:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16486:30:0;;16309:214::o;832:28:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15769:390:0:-;15849:13;15865:16;15873:7;15865;:16::i;:::-;15849:32;-1:-1:-1;39277:10:0;-1:-1:-1;;;;;15896:28:0;;;15892:172;;15943:44;15960:5;39277:10;17303:162;:::i;15943:44::-;15938:126;;16014:35;;-1:-1:-1;;;16014:35:0;;;;;;;;;;;15938:126;16074:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16074:35:0;-1:-1:-1;;;;;16074:35:0;;;;;;;;;16124:28;;16074:24;;16124:28;;;;;;;15839:320;15769:390;;:::o;19924:2756::-;20053:27;20083;20102:7;20083:18;:27::i;:::-;20053:57;;20166:4;-1:-1:-1;;;;;20125:45:0;20141:19;-1:-1:-1;;;;;20125:45:0;;20121:86;;20179:28;;-1:-1:-1;;;20179:28:0;;;;;;;;;;;20121:86;20219:27;19057:24;;;:15;:24;;;;;19281:26;;39277:10;18694:30;;;-1:-1:-1;;;;;18391:28:0;;18672:20;;;18669:56;20402:179;;20494:43;20511:4;39277:10;17303:162;:::i;20494:43::-;20489:92;;20546:35;;-1:-1:-1;;;20546:35:0;;;;;;;;;;;20489:92;-1:-1:-1;;;;;20596:16:0;;20592:52;;20621:23;;-1:-1:-1;;;20621:23:0;;;;;;;;;;;20592:52;20787:15;20784:157;;;20925:1;20904:19;20897:30;20784:157;-1:-1:-1;;;;;21313:24:0;;;;;;;:18;:24;;;;;;21311:26;;-1:-1:-1;;21311:26:0;;;21381:22;;;;;;;;;21379:24;;-1:-1:-1;21379:24:0;;;14660:11;14635:23;14631:41;14618:63;-1:-1:-1;;;14618:63:0;21667:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21956:47:0;;:52;;21952:617;;22060:1;22050:11;;22028:19;22181:30;;;:17;:30;;;;;;:35;;22177:378;;22317:13;;22302:11;:28;22298:239;;22462:30;;;;:17;:30;;;;;:52;;;22298:239;22010:559;21952:617;22613:7;22609:2;-1:-1:-1;;;;;22594:27:0;22603:4;-1:-1:-1;;;;;22594:27:0;;;;;;;;;;;22631:42;20043:2637;;;19924:2756;;;:::o;3039:397:6:-;3133:8;2212:9;2225:10;2212:23;2208:54;;2244:18;;-1:-1:-1;;;2244:18:6;;;;;;;;;;;2208:54;2303:9;;2292:8;2276:13;6121:12:0;;6105:13;;:28;;5851:317;2276:13:6;:24;;;;:::i;:::-;:36;2272:87;;;2349:9;;2333:26;;-1:-1:-1;;;2333:26:6;;;;;;2319:25:7;;2307:2;2292:18;;2173:177;2333:26:6;;;;;;;;2272:87;3179:17:::1;;3161:15;:35;3157:62;;;3205:14;;-1:-1:-1::0;;;3205:14:6::1;;;;;;;;;;;3157:62;3277:12;::::0;3252:10:::1;3233:30;::::0;;;:18:::1;:30;::::0;;;;;:41:::1;::::0;3266:8;;3233:41:::1;:::i;:::-;:56;3229:110;;;3326:12;;3310:29;;-1:-1:-1::0;;;3310:29:6::1;;;;;;2319:25:7::0;;2307:2;2292:18;;2173:177;3229:110:6::1;3369:10;3350:30;::::0;;;:18:::1;:30;::::0;;;;:42;;3384:8;;3350:30;:42:::1;::::0;3384:8;;3350:42:::1;:::i;:::-;::::0;;;-1:-1:-1;3402:27:6::1;::::0;-1:-1:-1;3408:10:6::1;3420:8:::0;3402:5:::1;:27::i;:::-;3039:397:::0;;:::o;22771:179:0:-;22904:39;22921:4;22927:2;22931:7;22904:39;;;;;;;;;;;;:16;:39::i;:::-;22771:179;;;:::o;4106:104:6:-;1094:13:2;:11;:13::i;:::-;4180::6::1;:23;4196:7:::0;;4180:13;:23:::1;:::i;11348:150:0:-:0;11420:7;11462:27;11481:7;11462:18;:27::i;3442:226:6:-;1094:13:2;:11;:13::i;:::-;3566:9:6::1;3561:101;3585:9;:16;3581:1;:20;3561:101;;;3622:29;3628:9;3638:1;3628:12;;;;;;;;:::i;:::-;;;;;;;3642:8;3622:5;:29::i;:::-;3603:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3561:101;;7002:230:0::0;7074:7;-1:-1:-1;;;;;7097:19:0;;7093:60;;7125:28;;-1:-1:-1;;;7125:28:0;;;;;;;;;;;7093:60;-1:-1:-1;;;;;;7170:25:0;;;;;:18;:25;;;;;;1317:13;7170:55;;7002:230::o;1831:101:2:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;10165:102:0:-;10221:13;10253:7;10246:14;;;;;:::i;16850:303::-;39277:10;-1:-1:-1;;;;;16948:31:0;;;16944:61;;16988:17;;-1:-1:-1;;;16988:17:0;;;;;;;;;;;16944:61;39277:10;17016:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17016:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;17016:60:0;;;;;;;;;;17091:55;;540:41:7;;;17016:49:0;;39277:10;17091:55;;513:18:7;17091:55:0;;;;;;;16850:303;;:::o;3674:426:6:-;3870:35;;-1:-1:-1;;10763:2:7;10759:15;;;10755:53;3870:35:6;;;10743:66:7;10825:12;;;10818:28;;;3829:4:6;;;;10862:12:7;;3870:35:6;;;;;;;;;;;;3860:46;;;;;;3845:61;;3916:18;4013:4;3960:58;;;;;;;11127:66:7;11115:79;;11219:2;11210:12;;11203:28;;;;11256:2;11247:12;;10885:380;3960:58:6;;;;-1:-1:-1;;3960:58:6;;;;;;;;;3937:91;;3960:58;3937:91;;;;4063:30;;;;;;;;;11497:25:7;;;11570:4;11558:17;;11538:18;;;11531:45;;;;11592:18;;;11585:34;;;11635:18;;;11628:34;;;3937:91:6;-1:-1:-1;4063:30:6;;11469:19:7;;4063:30:6;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4063:30:6;;-1:-1:-1;;4063:30:6;;4046:13;;-1:-1:-1;;;;;4046:47:6;;;:13;;:47;;3674:426;-1:-1:-1;;;;;;;;;3674:426:6:o;23531:388:0:-;23692:31;23705:4;23711:2;23715:7;23692:12;:31::i;:::-;-1:-1:-1;;;;;23737:14:0;;;:19;23733:180;;23775:56;23806:4;23812:2;23816:7;23825:5;23775:30;:56::i;:::-;23770:143;;23858:40;;-1:-1:-1;;;23858:40:0;;;;;;;;;;;23770:143;23531:388;;;;:::o;1618:414:6:-;1731:13;1768:16;1776:7;1768;:16::i;:::-;1760:60;;;;-1:-1:-1;;;1760:60:6;;11875:2:7;1760:60:6;;;11857:21:7;11914:2;11894:18;;;11887:30;11953:33;11933:18;;;11926:61;12004:18;;1760:60:6;11673:355:7;1760:60:6;1831:21;1855:10;:8;:10::i;:::-;1831:34;;1900:7;1894:21;1919:1;1894:26;:131;;2011:14;1894:131;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1963:7;1972:18;:7;:16;:18::i;:::-;1946:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1894:131;1875:150;1618:414;-1:-1:-1;;;1618:414:6:o;2081:198:2:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:2;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:2;;12710:2:7;2161:73:2::1;::::0;::::1;12692:21:7::0;12749:2;12729:18;;;12722:30;12788:34;12768:18;;;12761:62;-1:-1:-1;;;12839:18:7;;;12832:36;12885:19;;2161:73:2::1;12508:402:7::0;2161:73:2::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;2384:649:6:-;2553:8;2212:9;2225:10;2212:23;2208:54;;2244:18;;-1:-1:-1;;;2244:18:6;;;;;;;;;;;2208:54;2303:9;;2292:8;2276:13;6121:12:0;;6105:13;;:28;;5851:317;2276:13:6;:24;;;;:::i;:::-;:36;2272:87;;;2349:9;;2333:26;;-1:-1:-1;;;2333:26:6;;;;;;2319:25:7;;2307:2;2292:18;;2173:177;2272:87:6;2595:20:::1;;2577:15;:38;2573:65;;;2624:14;;-1:-1:-1::0;;;2624:14:6::1;;;;;;;;;;;2573:65;2671:17;;2652:15;:36;2648:58;;2697:9;;-1:-1:-1::0;;;2697:9:6::1;;;;;;;;;;;2648:58;2748:10;2720:39;::::0;;;:27:::1;:39;::::0;;;;;2773:9;;2720:50:::1;::::0;2762:8;;2720:50:::1;:::i;:::-;:62;2716:113;;;2803:26;::::0;-1:-1:-1;;;2803:26:6;;::::1;::::0;::::1;2319:25:7::0;;;2292:18;;2803:26:6::1;2173:177:7::0;2716:113:6::1;2844:44;2857:10;2869:9;2880:1;2883;2886;2844:12;:44::i;:::-;2839:88;;2909:18;;-1:-1:-1::0;;;2909:18:6::1;;;;;;;;;;;2839:88;2966:10;2938:39;::::0;;;:27:::1;:39;::::0;;;;:51;;2981:8;;2938:39;:51:::1;::::0;2981:8;;2938:51:::1;:::i;:::-;::::0;;;-1:-1:-1;2999:27:6::1;::::0;-1:-1:-1;3005:10:6::1;3017:8:::0;2999:5:::1;:27::i;17714:277:0:-:0;17779:4;17866:13;;17856:7;:23;17814:151;;;;-1:-1:-1;;17916:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;17916:44:0;:49;;17714:277::o;12472:1249::-;12539:7;12573;12671:13;;12664:4;:20;12660:997;;;12708:14;12725:23;;;:17;:23;;;;;;;-1:-1:-1;;;12812:24:0;;:29;;12808:831;;13467:111;13474:6;13484:1;13474:11;13467:111;;-1:-1:-1;;;13544:6:0;13526:25;;;;:17;:25;;;;;;13467:111;;12808:831;12686:971;12660:997;13683:31;;-1:-1:-1;;;13683:31:0;;;;;;;;;;;27088:2659;27183:13;;27160:20;27210:13;;;27206:44;;27232:18;;-1:-1:-1;;;27232:18:0;;;;;;;;;;;27206:44;-1:-1:-1;;;;;27725:22:0;;;;;;:18;:22;;;;1452:2;27725:22;;;:71;;27763:32;27751:45;;27725:71;;;28032:31;;;:17;:31;;;;;-1:-1:-1;15080:15:0;;15054:24;15050:46;14660:11;14635:23;14631:41;14628:52;14618:63;;28032:170;;28261:23;;;;28032:31;;27725:22;;29013:25;27725:22;;28869:328;29274:1;29260:12;29256:20;29215:339;29314:3;29305:7;29302:16;29215:339;;29528:7;29518:8;29515:1;29488:25;29485:1;29482;29477:59;29366:1;29353:15;29215:339;;;29219:75;29585:8;29597:1;29585:13;29581:45;;29607:19;;-1:-1:-1;;;29607:19:0;;;;;;;;;;;29581:45;29641:13;:19;-1:-1:-1;22771:179:0;;;:::o;1359:130:2:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:2;39277:10:0;1422:23:2;1414:68;;;;-1:-1:-1;;;1414:68:2;;13117:2:7;1414:68:2;;;13099:21:7;;;13136:18;;;13129:30;13195:34;13175:18;;;13168:62;13247:18;;1414:68:2;12915:356:7;2433:187:2;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:2;;;-1:-1:-1;;;;;;2541:17:2;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;25945:697:0:-;26123:88;;-1:-1:-1;;;26123:88:0;;26103:4;;-1:-1:-1;;;;;26123:45:0;;;;;:88;;39277:10;;26190:4;;26196:7;;26205:5;;26123:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26123:88:0;;;;;;;;-1:-1:-1;;26123:88:0;;;;;;;;;;;;:::i;:::-;;;26119:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26401:6;:13;26418:1;26401:18;26397:229;;26446:40;;-1:-1:-1;;;26446:40:0;;;;;;;;;;;26397:229;26586:6;26580:13;26571:6;26567:2;26563:15;26556:38;26119:517;-1:-1:-1;;;;;;26279:64:0;-1:-1:-1;;;26279:64:0;;-1:-1:-1;26119:517:0;25945:697;;;;;;:::o;2038:112:6:-;2098:13;2130;2123:20;;;;;:::i;392:703:4:-;448:13;665:5;674:1;665:10;661:51;;-1:-1:-1;;691:10:4;;;;;;;;;;;;-1:-1:-1;;;691:10:4;;;;;392:703::o;661:51::-;736:5;721:12;775:75;782:9;;775:75;;807:8;;;;:::i;:::-;;-1:-1:-1;829:10:4;;-1:-1:-1;837:2:4;829:10;;:::i;:::-;;;775:75;;;859:19;891:6;881:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;881:17:4;;859:39;;908:150;915:10;;908:150;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1009:10:4;1017:2;1009:5;:10;:::i;:::-;996:24;;:2;:24;:::i;:::-;983:39;;966:6;973;966:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;966:56:4;;;;;;;;-1:-1:-1;1036:11:4;1045:2;1036:11;;:::i;:::-;;;908:150;;14:131:7;-1:-1:-1;;;;;;88:32:7;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:7;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:7;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:7:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:7;;1343:180;-1:-1:-1;1343:180:7:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:7;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:7:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:592::-;2950:6;2958;3011:2;2999:9;2990:7;2986:23;2982:32;2979:52;;;3027:1;3024;3017:12;2979:52;3067:9;3054:23;3096:18;3137:2;3129:6;3126:14;3123:34;;;3153:1;3150;3143:12;3123:34;3191:6;3180:9;3176:22;3166:32;;3236:7;3229:4;3225:2;3221:13;3217:27;3207:55;;3258:1;3255;3248:12;3207:55;3298:2;3285:16;3324:2;3316:6;3313:14;3310:34;;;3340:1;3337;3330:12;3310:34;3385:7;3380:2;3371:6;3367:2;3363:15;3359:24;3356:37;3353:57;;;3406:1;3403;3396:12;3353:57;3437:2;3429:11;;;;;3459:6;;-1:-1:-1;2879:592:7;;-1:-1:-1;;;;2879:592:7:o;3476:127::-;3537:10;3532:3;3528:20;3525:1;3518:31;3568:4;3565:1;3558:15;3592:4;3589:1;3582:15;3608:275;3679:2;3673:9;3744:2;3725:13;;-1:-1:-1;;3721:27:7;3709:40;;3779:18;3764:34;;3800:22;;;3761:62;3758:88;;;3826:18;;:::i;:::-;3862:2;3855:22;3608:275;;-1:-1:-1;3608:275:7:o;3888:1022::-;3981:6;3989;4042:2;4030:9;4021:7;4017:23;4013:32;4010:52;;;4058:1;4055;4048:12;4010:52;4098:9;4085:23;4127:18;4168:2;4160:6;4157:14;4154:34;;;4184:1;4181;4174:12;4154:34;4222:6;4211:9;4207:22;4197:32;;4267:7;4260:4;4256:2;4252:13;4248:27;4238:55;;4289:1;4286;4279:12;4238:55;4325:2;4312:16;4347:4;4370:2;4366;4363:10;4360:36;;;4376:18;;:::i;:::-;4422:2;4419:1;4415:10;4405:20;;4445:28;4469:2;4465;4461:11;4445:28;:::i;:::-;4507:15;;;4577:11;;;4573:20;;;4538:12;;;;4605:19;;;4602:39;;;4637:1;4634;4627:12;4602:39;4661:11;;;;4681:148;4697:6;4692:3;4689:15;4681:148;;;4763:23;4782:3;4763:23;:::i;:::-;4751:36;;4714:12;;;;4807;;;;4681:148;;;4848:5;4885:18;;;;4872:32;;-1:-1:-1;;;;;;;3888:1022:7:o;4915:347::-;4980:6;4988;5041:2;5029:9;5020:7;5016:23;5012:32;5009:52;;;5057:1;5054;5047:12;5009:52;5080:29;5099:9;5080:29;:::i;:::-;5070:39;;5159:2;5148:9;5144:18;5131:32;5206:5;5199:13;5192:21;5185:5;5182:32;5172:60;;5228:1;5225;5218:12;5172:60;5251:5;5241:15;;;4915:347;;;;;:::o;5267:156::-;5333:20;;5393:4;5382:16;;5372:27;;5362:55;;5413:1;5410;5403:12;5428:462;5521:6;5529;5537;5545;5553;5606:3;5594:9;5585:7;5581:23;5577:33;5574:53;;;5623:1;5620;5613:12;5574:53;5646:29;5665:9;5646:29;:::i;:::-;5636:39;;5722:2;5711:9;5707:18;5694:32;5684:42;;5745:36;5777:2;5766:9;5762:18;5745:36;:::i;:::-;5428:462;;;;-1:-1:-1;5735:46:7;;5828:2;5813:18;;5800:32;;-1:-1:-1;5879:3:7;5864:19;5851:33;;5428:462;-1:-1:-1;;5428:462:7:o;5895:980::-;5990:6;5998;6006;6014;6067:3;6055:9;6046:7;6042:23;6038:33;6035:53;;;6084:1;6081;6074:12;6035:53;6107:29;6126:9;6107:29;:::i;:::-;6097:39;;6155:2;6176:38;6210:2;6199:9;6195:18;6176:38;:::i;:::-;6166:48;;6261:2;6250:9;6246:18;6233:32;6223:42;;6316:2;6305:9;6301:18;6288:32;6339:18;6380:2;6372:6;6369:14;6366:34;;;6396:1;6393;6386:12;6366:34;6434:6;6423:9;6419:22;6409:32;;6479:7;6472:4;6468:2;6464:13;6460:27;6450:55;;6501:1;6498;6491:12;6450:55;6537:2;6524:16;6559:2;6555;6552:10;6549:36;;;6565:18;;:::i;:::-;6607:53;6650:2;6631:13;;-1:-1:-1;;6627:27:7;6623:36;;6607:53;:::i;:::-;6594:66;;6683:2;6676:5;6669:17;6723:7;6718:2;6713;6709;6705:11;6701:20;6698:33;6695:53;;;6744:1;6741;6734:12;6695:53;6799:2;6794;6790;6786:11;6781:2;6774:5;6770:14;6757:45;6843:1;6838:2;6833;6826:5;6822:14;6818:23;6811:34;;6864:5;6854:15;;;;;5895:980;;;;;;;:::o;6880:260::-;6948:6;6956;7009:2;6997:9;6988:7;6984:23;6980:32;6977:52;;;7025:1;7022;7015:12;6977:52;7048:29;7067:9;7048:29;:::i;:::-;7038:39;;7096:38;7130:2;7119:9;7115:18;7096:38;:::i;:::-;7086:48;;6880:260;;;;;:::o;7145:456::-;7238:6;7246;7254;7262;7270;7323:3;7311:9;7302:7;7298:23;7294:33;7291:53;;;7340:1;7337;7330:12;7291:53;7376:9;7363:23;7353:33;;7433:2;7422:9;7418:18;7405:32;7395:42;;7456:36;7488:2;7477:9;7473:18;7456:36;:::i;7606:380::-;7685:1;7681:12;;;;7728;;;7749:61;;7803:4;7795:6;7791:17;7781:27;;7749:61;7856:2;7848:6;7845:14;7825:18;7822:38;7819:161;;7902:10;7897:3;7893:20;7890:1;7883:31;7937:4;7934:1;7927:15;7965:4;7962:1;7955:15;7819:161;;7606:380;;;:::o;7991:127::-;8052:10;8047:3;8043:20;8040:1;8033:31;8083:4;8080:1;8073:15;8107:4;8104:1;8097:15;8123:128;8163:3;8194:1;8190:6;8187:1;8184:13;8181:39;;;8200:18;;:::i;:::-;-1:-1:-1;8236:9:7;;8123:128::o;8382:545::-;8484:2;8479:3;8476:11;8473:448;;;8520:1;8545:5;8541:2;8534:17;8590:4;8586:2;8576:19;8660:2;8648:10;8644:19;8641:1;8637:27;8631:4;8627:38;8696:4;8684:10;8681:20;8678:47;;;-1:-1:-1;8719:4:7;8678:47;8774:2;8769:3;8765:12;8762:1;8758:20;8752:4;8748:31;8738:41;;8829:82;8847:2;8840:5;8837:13;8829:82;;;8892:17;;;8873:1;8862:13;8829:82;;9103:1206;9227:18;9222:3;9219:27;9216:53;;;9249:18;;:::i;:::-;9278:94;9368:3;9328:38;9360:4;9354:11;9328:38;:::i;:::-;9322:4;9278:94;:::i;:::-;9398:1;9423:2;9418:3;9415:11;9440:1;9435:616;;;;10095:1;10112:3;10109:93;;;-1:-1:-1;10168:19:7;;;10155:33;10109:93;-1:-1:-1;;9060:1:7;9056:11;;;9052:24;9048:29;9038:40;9084:1;9080:11;;;9035:57;10215:78;;9408:895;;9435:616;8329:1;8322:14;;;8366:4;8353:18;;-1:-1:-1;;9471:17:7;;;9572:9;9594:229;9608:7;9605:1;9602:14;9594:229;;;9697:19;;;9684:33;9669:49;;9804:4;9789:20;;;;9757:1;9745:14;;;;9624:12;9594:229;;;9598:3;9851;9842:7;9839:16;9836:159;;;9975:1;9971:6;9965:3;9959;9956:1;9952:11;9948:21;9944:34;9940:39;9927:9;9922:3;9918:19;9905:33;9901:79;9893:6;9886:95;9836:159;;;10038:1;10032:3;10029:1;10025:11;10021:19;10015:4;10008:33;9408:895;;;9103:1206;;;:::o;10314:127::-;10375:10;10370:3;10366:20;10363:1;10356:31;10406:4;10403:1;10396:15;10430:4;10427:1;10420:15;10446:135;10485:3;10506:17;;;10503:43;;10526:18;;:::i;:::-;-1:-1:-1;10573:1:7;10562:13;;10446:135::o;12033:470::-;12212:3;12250:6;12244:13;12266:53;12312:6;12307:3;12300:4;12292:6;12288:17;12266:53;:::i;:::-;12382:13;;12341:16;;;;12404:57;12382:13;12341:16;12438:4;12426:17;;12404:57;:::i;:::-;12477:20;;12033:470;-1:-1:-1;;;;12033:470:7:o;13276:489::-;-1:-1:-1;;;;;13545:15:7;;;13527:34;;13597:15;;13592:2;13577:18;;13570:43;13644:2;13629:18;;13622:34;;;13692:3;13687:2;13672:18;;13665:31;;;13470:4;;13713:46;;13739:19;;13731:6;13713:46;:::i;:::-;13705:54;13276:489;-1:-1:-1;;;;;;13276:489:7:o;13770:249::-;13839:6;13892:2;13880:9;13871:7;13867:23;13863:32;13860:52;;;13908:1;13905;13898:12;13860:52;13940:9;13934:16;13959:30;13983:5;13959:30;:::i;14024:127::-;14085:10;14080:3;14076:20;14073:1;14066:31;14116:4;14113:1;14106:15;14140:4;14137:1;14130:15;14156:120;14196:1;14222;14212:35;;14227:18;;:::i;:::-;-1:-1:-1;14261:9:7;;14156:120::o;14281:125::-;14321:4;14349:1;14346;14343:8;14340:34;;;14354:18;;:::i;:::-;-1:-1:-1;14391:9:7;;14281:125::o;14411:112::-;14443:1;14469;14459:35;;14474:18;;:::i;:::-;-1:-1:-1;14508:9:7;;14411:112::o
Swarm Source
ipfs://10c21996e5000d2d11b7bd343c3b32dbb90050e547ede1feb1817a950ee12b55
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.