Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 4,017 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24648106 | 3 days ago | IN | 0 ETH | 0.00000413 | ||||
| Set Approval For... | 24648105 | 3 days ago | IN | 0 ETH | 0.00000414 | ||||
| Set Approval For... | 24222836 | 63 days ago | IN | 0 ETH | 0.00000094 | ||||
| Set Approval For... | 24217185 | 64 days ago | IN | 0 ETH | 0.00000162 | ||||
| Set Approval For... | 24212952 | 64 days ago | IN | 0 ETH | 0.00000133 | ||||
| Set Approval For... | 24212951 | 64 days ago | IN | 0 ETH | 0.00000132 | ||||
| Set Approval For... | 24128306 | 76 days ago | IN | 0 ETH | 0.00000477 | ||||
| Set Approval For... | 24105286 | 79 days ago | IN | 0 ETH | 0.00009366 | ||||
| Set Approval For... | 23858915 | 114 days ago | IN | 0 ETH | 0.00009515 | ||||
| Set Approval For... | 23778404 | 125 days ago | IN | 0 ETH | 0.00004834 | ||||
| Set Approval For... | 23581404 | 153 days ago | IN | 0 ETH | 0.00000608 | ||||
| Set Approval For... | 23580453 | 153 days ago | IN | 0 ETH | 0.00000574 | ||||
| Set Approval For... | 23559093 | 156 days ago | IN | 0 ETH | 0.00007776 | ||||
| Set Approval For... | 23549708 | 157 days ago | IN | 0 ETH | 0.00004111 | ||||
| Set Approval For... | 23549708 | 157 days ago | IN | 0 ETH | 0.00003873 | ||||
| Set Approval For... | 23548876 | 157 days ago | IN | 0 ETH | 0.000077 | ||||
| Set Approval For... | 23503225 | 164 days ago | IN | 0 ETH | 0.00000509 | ||||
| Set Approval For... | 23364192 | 183 days ago | IN | 0 ETH | 0.00000543 | ||||
| Set Approval For... | 23353033 | 185 days ago | IN | 0 ETH | 0.00005376 | ||||
| Set Approval For... | 23304391 | 191 days ago | IN | 0 ETH | 0.00000627 | ||||
| Set Approval For... | 23303565 | 191 days ago | IN | 0 ETH | 0.00000877 | ||||
| Set Approval For... | 23281451 | 195 days ago | IN | 0 ETH | 0.00001993 | ||||
| Set Approval For... | 23281450 | 195 days ago | IN | 0 ETH | 0.00001986 | ||||
| Set Approval For... | 23281448 | 195 days ago | IN | 0 ETH | 0.00001736 | ||||
| Set Approval For... | 23258733 | 198 days ago | IN | 0 ETH | 0.00000682 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Suki
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-08-22
*/
// File: @openzeppelin/contracts/utils/Strings.sol
// 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);
}
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev 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);
}
}
// File: erc721a/contracts/IERC721A.sol
// 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);
}
// File: erc721a/contracts/ERC721A.sol
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @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]`.
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.
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 aliged.
// We will need 1 32-byte word to store the length,
// and 3 32-byte words to store a maximum of 78 digits. Total: 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)
}
}
}
// File: Suki.sol
pragma solidity >=0.8.0 <0.9.0;
contract Suki is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
string public _baseTokenURI;
string public hiddenMetadataUri;
uint256 public cost = 0.025 ether;
uint256 public maxSupply = 5555;
uint256 public maxMintAmountPerTx = 25;
bool public paused = true;
bool public revealed;
address public feeRecipient1 = 0x42D62DbD56e358D29FEEd23927E4bcb5930247c3;
address public feeRecipient2 = 0x65A96d32bbcbd41e46bb2097230450Dd2C1cc224;
address public feeRecipient3 = 0x9927e8FF54695F7c609e2aCef1F3130AB06C8e34;
address public feeRecipient4 = 0x2B675E3BDA64fa05E90C2C2f135e6798041834b5;
uint256 fee1 = 29;
uint256 fee2 = 29;
uint256 fee3 = 8;
uint256 fee4 = 5;
uint256 feeOwner = 29;
constructor(
string memory _hiddenMetadataUri
) ERC721A("Suki Learns to Fly", "SUKI") {
_safeMint(msg.sender, 1);
setHiddenMetadataUri(_hiddenMetadataUri);
}
function mint(uint256 _mintAmount) public payable nonReentrant {
require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount! Choose an amount between 1 and 25");
require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
require(!paused, "The contract is paused!");
require(msg.value >= cost * _mintAmount, "Insufficient funds!");
_safeMint(_msgSender(), _mintAmount);
}
function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
_safeMint(_receiver, _mintAmount);
}
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
function setRevealed(bool _state) public onlyOwner {
revealed = _state;
}
function setCost(uint256 _cost) public onlyOwner {
cost = _cost;
}
function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
maxMintAmountPerTx = _maxMintAmountPerTx;
}
function setPaused(bool _state) public onlyOwner {
paused = _state;
}
function withdraw() public onlyOwner nonReentrant {
uint256 distributedFee1 = address(this).balance * fee1 / 100;
uint256 distributedFee2 = address(this).balance * fee2 / 100;
uint256 distributedFee3 = address(this).balance * fee3 / 100;
uint256 distributedFee4 = address(this).balance * fee4 / 100;
uint256 distributedFeeOwner = address(this).balance * feeOwner / 100;
withdrawToWallet(feeRecipient1, distributedFee1);
withdrawToWallet(feeRecipient2, distributedFee2);
withdrawToWallet(feeRecipient3, distributedFee3);
withdrawToWallet(feeRecipient4, distributedFee4);
withdrawToWallet(owner(), distributedFeeOwner);
}
function withdrawToWallet(address wallet, uint256 distributedFee) internal {
(bool success, ) = wallet.call{value: distributedFee}("");
require(success, "Failed to send ETH");
}
// METADATA HANDLING
function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
hiddenMetadataUri = _hiddenMetadataUri;
}
function setBaseURI(string calldata baseURI) public onlyOwner {
_baseTokenURI = baseURI;
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
require(_exists(_tokenId), "URI does not exist!");
if (revealed) {
return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json"));
} else {
return hiddenMetadataUri;
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","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":"MintERC2309QuantityExceedsLimit","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":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526658d15e17628000600c556115b3600d556019600e55600f80547542d62dbd56e358d29feed23927e4bcb5930247c3000161ff01600160b01b0319909116179055601080546001600160a01b03199081167365a96d32bbcbd41e46bb2097230450dd2c1cc22417909155601180548216739927e8ff54695f7c609e2acef1f3130ab06c8e3417905560128054909116732b675e3bda64fa05e90c2c2f135e6798041834b5179055601d6013819055601481905560086015556005601655601755348015620000d157600080fd5b506040516200257338038062002573833981016040819052620000f491620005c1565b604080518082018252601281527153756b69204c6561726e7320746f20466c7960701b60208083019182528351808501909452600484526353554b4960e01b9084015281519192916200014a91600291620004e8565b50805162000160906003906020840190620004e8565b5050600160005550620001733362000199565b6001600981905562000187903390620001eb565b620001928162000211565b5062000751565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200020d8282604051806020016040528060008152506200023060201b60201c565b5050565b6200021b620002a7565b80516200020d90600b906020840190620004e8565b6200023c838362000308565b6001600160a01b0383163b15620002a2576000548281035b60018101906200026a90600090879086620003e1565b62000288576040516368d2bf6b60e11b815260040160405180910390fd5b818110620002545781600054146200029f57600080fd5b50505b505050565b6008546001600160a01b03163314620003065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b600054816200032a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620025538339815191528180a4600183015b818114620003b9578083600060008051602062002553833981519152600080a460010162000390565b5081620003d857604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200041890339089908890889060040162000679565b602060405180830381600087803b1580156200043357600080fd5b505af192505050801562000466575060408051601f3d908101601f1916820190925262000463918101906200058e565b60015b620004c5573d80801562000497576040519150601f19603f3d011682016040523d82523d6000602084013e6200049c565b606091505b508051620004bd576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50505050565b828054620004f690620006fe565b90600052602060002090601f0160209004810192826200051a576000855562000565565b82601f106200053557805160ff191683800117855562000565565b8280016001018555821562000565579182015b828111156200056557825182559160200191906001019062000548565b506200057392915062000577565b5090565b5b8082111562000573576000815560010162000578565b600060208284031215620005a157600080fd5b81516001600160e01b031981168114620005ba57600080fd5b9392505050565b600060208284031215620005d457600080fd5b81516001600160401b0380821115620005ec57600080fd5b818401915084601f8301126200060157600080fd5b8151818111156200061657620006166200073b565b604051601f8201601f19908116603f011681019083821181831017156200064157620006416200073b565b816040528281528760208487010111156200065b57600080fd5b6200066e836020830160208801620006cf565b979650505050505050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006b88160a0850160208701620006cf565b601f01601f19169190910160a00195945050505050565b60005b83811015620006ec578181015183820152602001620006d2565b83811115620004e25750506000910152565b600181811c908216806200071357607f821691505b602082108114156200073557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611df280620007616000396000f3fe60806040526004361061021a5760003560e01c80636604148e11610123578063a45ba8e7116100ab578063d5abeb011161006f578063d5abeb0114610600578063e0a8085314610616578063e985e9c514610636578063efbd73f41461067f578063f2fde38b1461069f57600080fd5b8063a45ba8e714610576578063b071401b1461058b578063b88d4fde146105ab578063c87b56dd146105cb578063cfc86f7b146105eb57600080fd5b80638da5cb5b116100f25780638da5cb5b146104fa57806394354fd01461051857806395d89b411461052e578063a0712d6814610543578063a22cb4651461055657600080fd5b80636604148e1461048557806370a08231146104a5578063715018a6146104c55780637a5ebbbb146104da57600080fd5b80633ccfd60b116101a6578063518302271161017557806351830227146103e657806355f804b3146104055780635c975abb146104255780636352211e1461043f57806364e9285a1461045f57600080fd5b80633ccfd60b1461037157806342842e0e1461038657806344a0d68a146103a65780634fdd43cb146103c657600080fd5b806313faede6116101ed57806313faede6146102d057806315b3774c146102f457806316c38b3c1461031457806318160ddd1461033457806323b872dd1461035157600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611a6a565b6106bf565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610711565b60405161024b9190611c43565b34801561028257600080fd5b50610296610291366004611b5f565b6107a3565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611a25565b6107e7565b005b3480156102dc57600080fd5b506102e6600c5481565b60405190815260200161024b565b34801561030057600080fd5b50601154610296906001600160a01b031681565b34801561032057600080fd5b506102ce61032f366004611a4f565b610887565b34801561034057600080fd5b5060015460005403600019016102e6565b34801561035d57600080fd5b506102ce61036c366004611943565b6108a2565b34801561037d57600080fd5b506102ce610a33565b34801561039257600080fd5b506102ce6103a1366004611943565b610bb5565b3480156103b257600080fd5b506102ce6103c1366004611b5f565b610bd5565b3480156103d257600080fd5b506102ce6103e1366004611b16565b610be2565b3480156103f257600080fd5b50600f5461023f90610100900460ff1681565b34801561041157600080fd5b506102ce610420366004611aa4565b610c01565b34801561043157600080fd5b50600f5461023f9060ff1681565b34801561044b57600080fd5b5061029661045a366004611b5f565b610c15565b34801561046b57600080fd5b50600f54610296906201000090046001600160a01b031681565b34801561049157600080fd5b50601254610296906001600160a01b031681565b3480156104b157600080fd5b506102e66104c03660046118f5565b610c20565b3480156104d157600080fd5b506102ce610c6f565b3480156104e657600080fd5b50601054610296906001600160a01b031681565b34801561050657600080fd5b506008546001600160a01b0316610296565b34801561052457600080fd5b506102e6600e5481565b34801561053a57600080fd5b50610269610c83565b6102ce610551366004611b5f565b610c92565b34801561056257600080fd5b506102ce6105713660046119fb565b610e7e565b34801561058257600080fd5b50610269610f14565b34801561059757600080fd5b506102ce6105a6366004611b5f565b610fa2565b3480156105b757600080fd5b506102ce6105c636600461197f565b610faf565b3480156105d757600080fd5b506102696105e6366004611b5f565b610ff9565b3480156105f757600080fd5b50610269611125565b34801561060c57600080fd5b506102e6600d5481565b34801561062257600080fd5b506102ce610631366004611a4f565b611132565b34801561064257600080fd5b5061023f610651366004611910565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068b57600080fd5b506102ce61069a366004611b78565b611154565b3480156106ab57600080fd5b506102ce6106ba3660046118f5565b611166565b60006301ffc9a760e01b6001600160e01b0319831614806106f057506380ac58cd60e01b6001600160e01b03198316145b8061070b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461072090611ce4565b80601f016020809104026020016040519081016040528092919081815260200182805461074c90611ce4565b80156107995780601f1061076e57610100808354040283529160200191610799565b820191906000526020600020905b81548152906001019060200180831161077c57829003601f168201915b5050505050905090565b60006107ae826111df565b6107cb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f282610c15565b9050336001600160a01b0382161461082b5761080e8133610651565b61082b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088f611214565b600f805460ff1916911515919091179055565b60006108ad8261126e565b9050836001600160a01b0316816001600160a01b0316146108e05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761092d576109108633610651565b61092d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095457604051633a954ecd60e21b815260040160405180910390fd5b801561095f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109ea57600184016000818152600460205260409020546109e85760005481146109e85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a3b611214565b60026009541415610a935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955601354600090606490610aab9047611c82565b610ab59190611c6e565b90506000606460145447610ac99190611c82565b610ad39190611c6e565b90506000606460155447610ae79190611c82565b610af19190611c6e565b90506000606460165447610b059190611c82565b610b0f9190611c6e565b90506000606460175447610b239190611c82565b610b2d9190611c6e565b600f54909150610b4c906201000090046001600160a01b0316866112de565b601054610b62906001600160a01b0316856112de565b601154610b78906001600160a01b0316846112de565b601254610b8e906001600160a01b0316836112de565b610ba9610ba36008546001600160a01b031690565b826112de565b50506001600955505050565b610bd083838360405180602001604052806000815250610faf565b505050565b610bdd611214565b600c55565b610bea611214565b8051610bfd90600b90602084019061174b565b5050565b610c09611214565b610bd0600a83836117cf565b600061070b8261126e565b60006001600160a01b038216610c49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c77611214565b610c816000611376565b565b60606003805461072090611ce4565b60026009541415610ce55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a8a565b60026009558015801590610cfb5750600e548111155b610d665760405162461bcd60e51b815260206004820152603660248201527f496e76616c6964206d696e7420616d6f756e74212043686f6f736520616e20616044820152756d6f756e74206265747765656e203120616e6420323560501b6064820152608401610a8a565b600d546001546000548391900360001901610d819190611c56565b1115610dc65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a8a565b600f5460ff1615610e195760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610a8a565b80600c54610e279190611c82565b341015610e6c5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a8a565b610e7633826113c8565b506001600955565b6001600160a01b038216331415610ea85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610f2190611ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4d90611ce4565b8015610f9a5780601f10610f6f57610100808354040283529160200191610f9a565b820191906000526020600020905b815481529060010190602001808311610f7d57829003601f168201915b505050505081565b610faa611214565b600e55565b610fba8484846108a2565b6001600160a01b0383163b15610ff357610fd6848484846113e2565b610ff3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611004826111df565b6110465760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b6044820152606401610a8a565b600f54610100900460ff161561108e5761105e6114da565b611067836114e9565b604051602001611078929190611bc7565b6040516020818303038152906040529050919050565b600b805461109b90611ce4565b80601f01602080910402602001604051908101604052809291908181526020018280546110c790611ce4565b80156111145780601f106110e957610100808354040283529160200191611114565b820191906000526020600020905b8154815290600101906020018083116110f757829003601f168201915b50505050509050919050565b919050565b600a8054610f2190611ce4565b61113a611214565b600f80549115156101000261ff0019909216919091179055565b61115c611214565b610bfd81836113c8565b61116e611214565b6001600160a01b0381166111d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a8a565b6111dc81611376565b50565b6000816001111580156111f3575060005482105b801561070b575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a8a565b600081806001116112c5576000548110156112c557600081815260046020526040902054600160e01b81166112c3575b806112bc57506000190160008181526004602052604090205461129e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461132b576040519150601f19603f3d011682016040523d82523d6000602084013e611330565b606091505b5050905080610bd05760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610a8a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bfd8282604051806020016040528060008152506115e7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611417903390899088908890600401611c06565b602060405180830381600087803b15801561143157600080fd5b505af1925050508015611461575060408051601f3d908101601f1916820190925261145e91810190611a87565b60015b6114bc573d80801561148f576040519150601f19603f3d011682016040523d82523d6000602084013e611494565b606091505b5080516114b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461072090611ce4565b60608161150d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611537578061152181611d1f565b91506115309050600a83611c6e565b9150611511565b60008167ffffffffffffffff81111561155257611552611d90565b6040519080825280601f01601f19166020018201604052801561157c576020820181803683370190505b5090505b84156114d257611591600183611ca1565b915061159e600a86611d3a565b6115a9906030611c56565b60f81b8183815181106115be576115be611d7a565b60200101906001600160f81b031916908160001a9053506115e0600a86611c6e565b9450611580565b6115f18383611654565b6001600160a01b0383163b15610bd0576000548281035b61161b60008683806001019450866113e2565b611638576040516368d2bf6b60e11b815260040160405180910390fd5b81811061160857816000541461164d57600080fd5b5050505050565b600054816116755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461172457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116ec565b508161174257604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461175790611ce4565b90600052602060002090601f01602090048101928261177957600085556117bf565b82601f1061179257805160ff19168380011785556117bf565b828001600101855582156117bf579182015b828111156117bf5782518255916020019190600101906117a4565b506117cb929150611843565b5090565b8280546117db90611ce4565b90600052602060002090601f0160209004810192826117fd57600085556117bf565b82601f106118165782800160ff198235161785556117bf565b828001600101855582156117bf579182015b828111156117bf578235825591602001919060010190611828565b5b808211156117cb5760008155600101611844565b600067ffffffffffffffff8084111561187357611873611d90565b604051601f8501601f19908116603f0116810190828211818310171561189b5761189b611d90565b816040528093508581528686860111156118b457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461112057600080fd5b8035801515811461112057600080fd5b60006020828403121561190757600080fd5b6112bc826118ce565b6000806040838503121561192357600080fd5b61192c836118ce565b915061193a602084016118ce565b90509250929050565b60008060006060848603121561195857600080fd5b611961846118ce565b925061196f602085016118ce565b9150604084013590509250925092565b6000806000806080858703121561199557600080fd5b61199e856118ce565b93506119ac602086016118ce565b925060408501359150606085013567ffffffffffffffff8111156119cf57600080fd5b8501601f810187136119e057600080fd5b6119ef87823560208401611858565b91505092959194509250565b60008060408385031215611a0e57600080fd5b611a17836118ce565b915061193a602084016118e5565b60008060408385031215611a3857600080fd5b611a41836118ce565b946020939093013593505050565b600060208284031215611a6157600080fd5b6112bc826118e5565b600060208284031215611a7c57600080fd5b81356112bc81611da6565b600060208284031215611a9957600080fd5b81516112bc81611da6565b60008060208385031215611ab757600080fd5b823567ffffffffffffffff80821115611acf57600080fd5b818501915085601f830112611ae357600080fd5b813581811115611af257600080fd5b866020828501011115611b0457600080fd5b60209290920196919550909350505050565b600060208284031215611b2857600080fd5b813567ffffffffffffffff811115611b3f57600080fd5b8201601f81018413611b5057600080fd5b6114d284823560208401611858565b600060208284031215611b7157600080fd5b5035919050565b60008060408385031215611b8b57600080fd5b8235915061193a602084016118ce565b60008151808452611bb3816020860160208601611cb8565b601f01601f19169290920160200192915050565b60008351611bd9818460208801611cb8565b835190830190611bed818360208801611cb8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3990830184611b9b565b9695505050505050565b6020815260006112bc6020830184611b9b565b60008219821115611c6957611c69611d4e565b500190565b600082611c7d57611c7d611d64565b500490565b6000816000190483118215151615611c9c57611c9c611d4e565b500290565b600082821015611cb357611cb3611d4e565b500390565b60005b83811015611cd3578181015183820152602001611cbb565b83811115610ff35750506000910152565b600181811c90821680611cf857607f821691505b60208210811415611d1957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d3357611d33611d4e565b5060010190565b600082611d4957611d49611d64565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111dc57600080fdfea26469706673582212209a1877ae703f930ec5f763e5e152dbc4df616e627e360a085a1d8ab9713d60b664736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d55337357614562786647483654684e3379354e775647395166583559506d4e685a38354d59784333545a6b682f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636604148e11610123578063a45ba8e7116100ab578063d5abeb011161006f578063d5abeb0114610600578063e0a8085314610616578063e985e9c514610636578063efbd73f41461067f578063f2fde38b1461069f57600080fd5b8063a45ba8e714610576578063b071401b1461058b578063b88d4fde146105ab578063c87b56dd146105cb578063cfc86f7b146105eb57600080fd5b80638da5cb5b116100f25780638da5cb5b146104fa57806394354fd01461051857806395d89b411461052e578063a0712d6814610543578063a22cb4651461055657600080fd5b80636604148e1461048557806370a08231146104a5578063715018a6146104c55780637a5ebbbb146104da57600080fd5b80633ccfd60b116101a6578063518302271161017557806351830227146103e657806355f804b3146104055780635c975abb146104255780636352211e1461043f57806364e9285a1461045f57600080fd5b80633ccfd60b1461037157806342842e0e1461038657806344a0d68a146103a65780634fdd43cb146103c657600080fd5b806313faede6116101ed57806313faede6146102d057806315b3774c146102f457806316c38b3c1461031457806318160ddd1461033457806323b872dd1461035157600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611a6a565b6106bf565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610711565b60405161024b9190611c43565b34801561028257600080fd5b50610296610291366004611b5f565b6107a3565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611a25565b6107e7565b005b3480156102dc57600080fd5b506102e6600c5481565b60405190815260200161024b565b34801561030057600080fd5b50601154610296906001600160a01b031681565b34801561032057600080fd5b506102ce61032f366004611a4f565b610887565b34801561034057600080fd5b5060015460005403600019016102e6565b34801561035d57600080fd5b506102ce61036c366004611943565b6108a2565b34801561037d57600080fd5b506102ce610a33565b34801561039257600080fd5b506102ce6103a1366004611943565b610bb5565b3480156103b257600080fd5b506102ce6103c1366004611b5f565b610bd5565b3480156103d257600080fd5b506102ce6103e1366004611b16565b610be2565b3480156103f257600080fd5b50600f5461023f90610100900460ff1681565b34801561041157600080fd5b506102ce610420366004611aa4565b610c01565b34801561043157600080fd5b50600f5461023f9060ff1681565b34801561044b57600080fd5b5061029661045a366004611b5f565b610c15565b34801561046b57600080fd5b50600f54610296906201000090046001600160a01b031681565b34801561049157600080fd5b50601254610296906001600160a01b031681565b3480156104b157600080fd5b506102e66104c03660046118f5565b610c20565b3480156104d157600080fd5b506102ce610c6f565b3480156104e657600080fd5b50601054610296906001600160a01b031681565b34801561050657600080fd5b506008546001600160a01b0316610296565b34801561052457600080fd5b506102e6600e5481565b34801561053a57600080fd5b50610269610c83565b6102ce610551366004611b5f565b610c92565b34801561056257600080fd5b506102ce6105713660046119fb565b610e7e565b34801561058257600080fd5b50610269610f14565b34801561059757600080fd5b506102ce6105a6366004611b5f565b610fa2565b3480156105b757600080fd5b506102ce6105c636600461197f565b610faf565b3480156105d757600080fd5b506102696105e6366004611b5f565b610ff9565b3480156105f757600080fd5b50610269611125565b34801561060c57600080fd5b506102e6600d5481565b34801561062257600080fd5b506102ce610631366004611a4f565b611132565b34801561064257600080fd5b5061023f610651366004611910565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068b57600080fd5b506102ce61069a366004611b78565b611154565b3480156106ab57600080fd5b506102ce6106ba3660046118f5565b611166565b60006301ffc9a760e01b6001600160e01b0319831614806106f057506380ac58cd60e01b6001600160e01b03198316145b8061070b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461072090611ce4565b80601f016020809104026020016040519081016040528092919081815260200182805461074c90611ce4565b80156107995780601f1061076e57610100808354040283529160200191610799565b820191906000526020600020905b81548152906001019060200180831161077c57829003601f168201915b5050505050905090565b60006107ae826111df565b6107cb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f282610c15565b9050336001600160a01b0382161461082b5761080e8133610651565b61082b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088f611214565b600f805460ff1916911515919091179055565b60006108ad8261126e565b9050836001600160a01b0316816001600160a01b0316146108e05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761092d576109108633610651565b61092d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095457604051633a954ecd60e21b815260040160405180910390fd5b801561095f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109ea57600184016000818152600460205260409020546109e85760005481146109e85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a3b611214565b60026009541415610a935760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955601354600090606490610aab9047611c82565b610ab59190611c6e565b90506000606460145447610ac99190611c82565b610ad39190611c6e565b90506000606460155447610ae79190611c82565b610af19190611c6e565b90506000606460165447610b059190611c82565b610b0f9190611c6e565b90506000606460175447610b239190611c82565b610b2d9190611c6e565b600f54909150610b4c906201000090046001600160a01b0316866112de565b601054610b62906001600160a01b0316856112de565b601154610b78906001600160a01b0316846112de565b601254610b8e906001600160a01b0316836112de565b610ba9610ba36008546001600160a01b031690565b826112de565b50506001600955505050565b610bd083838360405180602001604052806000815250610faf565b505050565b610bdd611214565b600c55565b610bea611214565b8051610bfd90600b90602084019061174b565b5050565b610c09611214565b610bd0600a83836117cf565b600061070b8261126e565b60006001600160a01b038216610c49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c77611214565b610c816000611376565b565b60606003805461072090611ce4565b60026009541415610ce55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a8a565b60026009558015801590610cfb5750600e548111155b610d665760405162461bcd60e51b815260206004820152603660248201527f496e76616c6964206d696e7420616d6f756e74212043686f6f736520616e20616044820152756d6f756e74206265747765656e203120616e6420323560501b6064820152608401610a8a565b600d546001546000548391900360001901610d819190611c56565b1115610dc65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610a8a565b600f5460ff1615610e195760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610a8a565b80600c54610e279190611c82565b341015610e6c5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610a8a565b610e7633826113c8565b506001600955565b6001600160a01b038216331415610ea85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610f2190611ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4d90611ce4565b8015610f9a5780601f10610f6f57610100808354040283529160200191610f9a565b820191906000526020600020905b815481529060010190602001808311610f7d57829003601f168201915b505050505081565b610faa611214565b600e55565b610fba8484846108a2565b6001600160a01b0383163b15610ff357610fd6848484846113e2565b610ff3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611004826111df565b6110465760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b6044820152606401610a8a565b600f54610100900460ff161561108e5761105e6114da565b611067836114e9565b604051602001611078929190611bc7565b6040516020818303038152906040529050919050565b600b805461109b90611ce4565b80601f01602080910402602001604051908101604052809291908181526020018280546110c790611ce4565b80156111145780601f106110e957610100808354040283529160200191611114565b820191906000526020600020905b8154815290600101906020018083116110f757829003601f168201915b50505050509050919050565b919050565b600a8054610f2190611ce4565b61113a611214565b600f80549115156101000261ff0019909216919091179055565b61115c611214565b610bfd81836113c8565b61116e611214565b6001600160a01b0381166111d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a8a565b6111dc81611376565b50565b6000816001111580156111f3575060005482105b801561070b575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a8a565b600081806001116112c5576000548110156112c557600081815260046020526040902054600160e01b81166112c3575b806112bc57506000190160008181526004602052604090205461129e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461132b576040519150601f19603f3d011682016040523d82523d6000602084013e611330565b606091505b5050905080610bd05760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610a8a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bfd8282604051806020016040528060008152506115e7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611417903390899088908890600401611c06565b602060405180830381600087803b15801561143157600080fd5b505af1925050508015611461575060408051601f3d908101601f1916820190925261145e91810190611a87565b60015b6114bc573d80801561148f576040519150601f19603f3d011682016040523d82523d6000602084013e611494565b606091505b5080516114b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461072090611ce4565b60608161150d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611537578061152181611d1f565b91506115309050600a83611c6e565b9150611511565b60008167ffffffffffffffff81111561155257611552611d90565b6040519080825280601f01601f19166020018201604052801561157c576020820181803683370190505b5090505b84156114d257611591600183611ca1565b915061159e600a86611d3a565b6115a9906030611c56565b60f81b8183815181106115be576115be611d7a565b60200101906001600160f81b031916908160001a9053506115e0600a86611c6e565b9450611580565b6115f18383611654565b6001600160a01b0383163b15610bd0576000548281035b61161b60008683806001019450866113e2565b611638576040516368d2bf6b60e11b815260040160405180910390fd5b81811061160857816000541461164d57600080fd5b5050505050565b600054816116755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461172457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116ec565b508161174257604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461175790611ce4565b90600052602060002090601f01602090048101928261177957600085556117bf565b82601f1061179257805160ff19168380011785556117bf565b828001600101855582156117bf579182015b828111156117bf5782518255916020019190600101906117a4565b506117cb929150611843565b5090565b8280546117db90611ce4565b90600052602060002090601f0160209004810192826117fd57600085556117bf565b82601f106118165782800160ff198235161785556117bf565b828001600101855582156117bf579182015b828111156117bf578235825591602001919060010190611828565b5b808211156117cb5760008155600101611844565b600067ffffffffffffffff8084111561187357611873611d90565b604051601f8501601f19908116603f0116810190828211818310171561189b5761189b611d90565b816040528093508581528686860111156118b457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461112057600080fd5b8035801515811461112057600080fd5b60006020828403121561190757600080fd5b6112bc826118ce565b6000806040838503121561192357600080fd5b61192c836118ce565b915061193a602084016118ce565b90509250929050565b60008060006060848603121561195857600080fd5b611961846118ce565b925061196f602085016118ce565b9150604084013590509250925092565b6000806000806080858703121561199557600080fd5b61199e856118ce565b93506119ac602086016118ce565b925060408501359150606085013567ffffffffffffffff8111156119cf57600080fd5b8501601f810187136119e057600080fd5b6119ef87823560208401611858565b91505092959194509250565b60008060408385031215611a0e57600080fd5b611a17836118ce565b915061193a602084016118e5565b60008060408385031215611a3857600080fd5b611a41836118ce565b946020939093013593505050565b600060208284031215611a6157600080fd5b6112bc826118e5565b600060208284031215611a7c57600080fd5b81356112bc81611da6565b600060208284031215611a9957600080fd5b81516112bc81611da6565b60008060208385031215611ab757600080fd5b823567ffffffffffffffff80821115611acf57600080fd5b818501915085601f830112611ae357600080fd5b813581811115611af257600080fd5b866020828501011115611b0457600080fd5b60209290920196919550909350505050565b600060208284031215611b2857600080fd5b813567ffffffffffffffff811115611b3f57600080fd5b8201601f81018413611b5057600080fd5b6114d284823560208401611858565b600060208284031215611b7157600080fd5b5035919050565b60008060408385031215611b8b57600080fd5b8235915061193a602084016118ce565b60008151808452611bb3816020860160208601611cb8565b601f01601f19169290920160200192915050565b60008351611bd9818460208801611cb8565b835190830190611bed818360208801611cb8565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3990830184611b9b565b9695505050505050565b6020815260006112bc6020830184611b9b565b60008219821115611c6957611c69611d4e565b500190565b600082611c7d57611c7d611d64565b500490565b6000816000190483118215151615611c9c57611c9c611d4e565b500290565b600082821015611cb357611cb3611d4e565b500390565b60005b83811015611cd3578181015183820152602001611cbb565b83811115610ff35750506000910152565b600181811c90821680611cf857607f821691505b60208210811415611d1957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d3357611d33611d4e565b5060010190565b600082611d4957611d49611d64565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111dc57600080fdfea26469706673582212209a1877ae703f930ec5f763e5e152dbc4df616e627e360a085a1d8ab9713d60b664736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d55337357614562786647483654684e3379354e775647395166583559506d4e685a38354d59784333545a6b682f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _hiddenMetadataUri (string): ipfs://QmU3sWaEbxfGH6ThN3y5NwVG9QfX5YPmNhZ85MYxC3TZkh/hidden.json
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [2] : 697066733a2f2f516d55337357614562786647483654684e3379354e77564739
Arg [3] : 5166583559506d4e685a38354d59784333545a6b682f68696464656e2e6a736f
Arg [4] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
59733:3601:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27284:639;;;;;;;;;;-1:-1:-1;27284:639:0;;;;;:::i;:::-;;:::i;:::-;;;7136:14:1;;7129:22;7111:41;;7099:2;7084:18;27284:639:0;;;;;;;;28186:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34669:218::-;;;;;;;;;;-1:-1:-1;34669:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6434:32:1;;;6416:51;;6404:2;6389:18;34669:218:0;6270:203:1;34110:400:0;;;;;;;;;;-1:-1:-1;34110:400:0;;;;;:::i;:::-;;:::i;:::-;;59891:33;;;;;;;;;;;;;;;;;;;10828:25:1;;;10816:2;10801:18;59891:33:0;10682:177:1;60223:73:0;;;;;;;;;;-1:-1:-1;60223:73:0;;;;-1:-1:-1;;;;;60223:73:0;;;61662:77;;;;;;;;;;-1:-1:-1;61662:77:0;;;;;:::i;:::-;;:::i;23937:323::-;;;;;;;;;;-1:-1:-1;61346:1:0;24211:12;23998:7;24195:13;:28;-1:-1:-1;;24195:46:0;23937:323;;38376:2817;;;;;;;;;;-1:-1:-1;38376:2817:0;;;;;:::i;:::-;;:::i;61745:674::-;;;;;;;;;;;;;:::i;41289:185::-;;;;;;;;;;-1:-1:-1;41289:185:0;;;;;:::i;:::-;;:::i;61446:74::-;;;;;;;;;;-1:-1:-1;61446:74:0;;;;;:::i;:::-;;:::i;62647:132::-;;;;;;;;;;-1:-1:-1;62647:132:0;;;;;:::i;:::-;;:::i;60040:20::-;;;;;;;;;;-1:-1:-1;60040:20:0;;;;;;;;;;;62785:98;;;;;;;;;;-1:-1:-1;62785:98:0;;;;;:::i;:::-;;:::i;60010:25::-;;;;;;;;;;-1:-1:-1;60010:25:0;;;;;;;;29579:152;;;;;;;;;;-1:-1:-1;29579:152:0;;;;;:::i;:::-;;:::i;60067:73::-;;;;;;;;;;-1:-1:-1;60067:73:0;;;;;;;-1:-1:-1;;;;;60067:73:0;;;60301;;;;;;;;;;-1:-1:-1;60301:73:0;;;;-1:-1:-1;;;;;60301:73:0;;;25121:233;;;;;;;;;;-1:-1:-1;25121:233:0;;;;;:::i;:::-;;:::i;8032:103::-;;;;;;;;;;;;;:::i;60145:73::-;;;;;;;;;;-1:-1:-1;60145:73:0;;;;-1:-1:-1;;;;;60145:73:0;;;7384:87;;;;;;;;;;-1:-1:-1;7457:6:0;;-1:-1:-1;;;;;7457:6:0;7384:87;;59965:38;;;;;;;;;;;;;;;;28362:104;;;;;;;;;;;;;:::i;60679:440::-;;;;;;:::i;:::-;;:::i;35227:308::-;;;;;;;;;;-1:-1:-1;35227:308:0;;;;;:::i;:::-;;:::i;59853:31::-;;;;;;;;;;;;;:::i;61526:130::-;;;;;;;;;;-1:-1:-1;61526:130:0;;;;;:::i;:::-;;:::i;42072:399::-;;;;;;;;;;-1:-1:-1;42072:399:0;;;;;:::i;:::-;;:::i;63005:326::-;;;;;;;;;;-1:-1:-1;63005:326:0;;;;;:::i;:::-;;:::i;59821:27::-;;;;;;;;;;;;;:::i;59929:31::-;;;;;;;;;;;;;;;;61359:81;;;;;;;;;;-1:-1:-1;61359:81:0;;;;;:::i;:::-;;:::i;35692:164::-;;;;;;;;;;-1:-1:-1;35692:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;35813:25:0;;;35789:4;35813:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35692:164;61125:127;;;;;;;;;;-1:-1:-1;61125:127:0;;;;;:::i;:::-;;:::i;8290:201::-;;;;;;;;;;-1:-1:-1;8290:201:0;;;;;:::i;:::-;;:::i;27284:639::-;27369:4;-1:-1:-1;;;;;;;;;27693:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;27770:25:0;;;27693:102;:179;;;-1:-1:-1;;;;;;;;;;27847:25:0;;;27693:179;27673:199;27284:639;-1:-1:-1;;27284:639:0:o;28186:100::-;28240:13;28273:5;28266:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28186:100;:::o;34669:218::-;34745:7;34770:16;34778:7;34770;:16::i;:::-;34765:64;;34795:34;;-1:-1:-1;;;34795:34:0;;;;;;;;;;;34765:64;-1:-1:-1;34849:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;34849:30:0;;34669:218::o;34110:400::-;34191:13;34207:16;34215:7;34207;:16::i;:::-;34191:32;-1:-1:-1;57967:10:0;-1:-1:-1;;;;;34240:28:0;;;34236:175;;34288:44;34305:5;57967:10;35692:164;:::i;34288:44::-;34283:128;;34360:35;;-1:-1:-1;;;34360:35:0;;;;;;;;;;;34283:128;34423:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34423:35:0;-1:-1:-1;;;;;34423:35:0;;;;;;;;;34474:28;;34423:24;;34474:28;;;;;;;34180:330;34110:400;;:::o;61662:77::-;7270:13;:11;:13::i;:::-;61718:6:::1;:15:::0;;-1:-1:-1;;61718:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61662:77::o;38376:2817::-;38510:27;38540;38559:7;38540:18;:27::i;:::-;38510:57;;38625:4;-1:-1:-1;;;;;38584:45:0;38600:19;-1:-1:-1;;;;;38584:45:0;;38580:86;;38638:28;;-1:-1:-1;;;38638:28:0;;;;;;;;;;;38580:86;38680:27;37490:24;;;:15;:24;;;;;37712:26;;57967:10;37115:30;;;-1:-1:-1;;;;;36808:28:0;;37093:20;;;37090:56;38866:180;;38959:43;38976:4;57967:10;35692:164;:::i;38959:43::-;38954:92;;39011:35;;-1:-1:-1;;;39011:35:0;;;;;;;;;;;38954:92;-1:-1:-1;;;;;39063:16:0;;39059:52;;39088:23;;-1:-1:-1;;;39088:23:0;;;;;;;;;;;39059:52;39260:15;39257:160;;;39400:1;39379:19;39372:30;39257:160;-1:-1:-1;;;;;39797:24:0;;;;;;;:18;:24;;;;;;39795:26;;-1:-1:-1;;39795:26:0;;;39866:22;;;;;;;;;39864:24;;-1:-1:-1;39864:24:0;;;32968:11;32943:23;32939:41;32926:63;-1:-1:-1;;;32926:63:0;40159:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;40454:47:0;;40450:627;;40559:1;40549:11;;40527:19;40682:30;;;:17;:30;;;;;;40678:384;;40820:13;;40805:11;:28;40801:242;;40967:30;;;;:17;:30;;;;;:52;;;40801:242;40508:569;40450:627;41124:7;41120:2;-1:-1:-1;;;;;41105:27:0;41114:4;-1:-1:-1;;;;;41105:27:0;;;;;;;;;;;38499:2694;;;38376:2817;;;:::o;61745:674::-;7270:13;:11;:13::i;:::-;4309:1:::1;4907:7;;:19;;4899:63;;;::::0;-1:-1:-1;;;4899:63:0;;9828:2:1;4899:63:0::1;::::0;::::1;9810:21:1::0;9867:2;9847:18;;;9840:30;9906:33;9886:18;;;9879:61;9957:18;;4899:63:0::1;;;;;;;;;4309:1;5040:7;:18:::0;61852:4:::2;::::0;61802:23:::2;::::0;61859:3:::2;::::0;61828:28:::2;::::0;:21:::2;:28;:::i;:::-;:34;;;;:::i;:::-;61802:60;;61869:23;61926:3;61919:4;;61895:21;:28;;;;:::i;:::-;:34;;;;:::i;:::-;61869:60;;61936:23;61993:3;61986:4;;61962:21;:28;;;;:::i;:::-;:34;;;;:::i;:::-;61936:60;;62003:23;62060:3;62053:4;;62029:21;:28;;;;:::i;:::-;:34;;;;:::i;:::-;62003:60;;62070:27;62135:3;62124:8;;62100:21;:32;;;;:::i;:::-;:38;;;;:::i;:::-;62164:13;::::0;62070:68;;-1:-1:-1;62147:48:0::2;::::0;62164:13;;::::2;-1:-1:-1::0;;;;;62164:13:0::2;62179:15:::0;62147:16:::2;:48::i;:::-;62219:13;::::0;62202:48:::2;::::0;-1:-1:-1;;;;;62219:13:0::2;62234:15:::0;62202:16:::2;:48::i;:::-;62274:13;::::0;62257:48:::2;::::0;-1:-1:-1;;;;;62274:13:0::2;62289:15:::0;62257:16:::2;:48::i;:::-;62329:13;::::0;62312:48:::2;::::0;-1:-1:-1;;;;;62329:13:0::2;62344:15:::0;62312:16:::2;:48::i;:::-;62367:46;62384:7;7457:6:::0;;-1:-1:-1;;;;;7457:6:0;;7384:87;62384:7:::2;62393:19;62367:16;:46::i;:::-;-1:-1:-1::0;;4265:1:0::1;5219:7;:22:::0;-1:-1:-1;;;61745:674:0:o;41289:185::-;41427:39;41444:4;41450:2;41454:7;41427:39;;;;;;;;;;;;:16;:39::i;:::-;41289:185;;;:::o;61446:74::-;7270:13;:11;:13::i;:::-;61502:4:::1;:12:::0;61446:74::o;62647:132::-;7270:13;:11;:13::i;:::-;62735:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;;62647:132:::0;:::o;62785:98::-;7270:13;:11;:13::i;:::-;62854:23:::1;:13;62870:7:::0;;62854:23:::1;:::i;29579:152::-:0;29651:7;29694:27;29713:7;29694:18;:27::i;25121:233::-;25193:7;-1:-1:-1;;;;;25217:19:0;;25213:60;;25245:28;;-1:-1:-1;;;25245:28:0;;;;;;;;;;;25213:60;-1:-1:-1;;;;;;25291:25:0;;;;;:18;:25;;;;;;19280:13;25291:55;;25121:233::o;8032:103::-;7270:13;:11;:13::i;:::-;8097:30:::1;8124:1;8097:18;:30::i;:::-;8032:103::o:0;28362:104::-;28418:13;28451:7;28444:14;;;;;:::i;60679:440::-;4309:1;4907:7;;:19;;4899:63;;;;-1:-1:-1;;;4899:63:0;;9828:2:1;4899:63:0;;;9810:21:1;9867:2;9847:18;;;9840:30;9906:33;9886:18;;;9879:61;9957:18;;4899:63:0;9626:355:1;4899:63:0;4309:1;5040:7;:18;60757:15;;;;;:52:::1;;;60791:18;;60776:11;:33;;60757:52;60749:119;;;::::0;-1:-1:-1;;;60749:119:0;;7996:2:1;60749:119:0::1;::::0;::::1;7978:21:1::0;8035:2;8015:18;;;8008:30;8074:34;8054:18;;;8047:62;-1:-1:-1;;;8125:18:1;;;8118:52;8187:19;;60749:119:0::1;7794:418:1::0;60749:119:0::1;60914:9;::::0;61346:1;24211:12;23998:7;24195:13;60899:11;;24195:28;;-1:-1:-1;;24195:46:0;60883:27:::1;;;;:::i;:::-;:40;;60875:73;;;::::0;-1:-1:-1;;;60875:73:0;;9479:2:1;60875:73:0::1;::::0;::::1;9461:21:1::0;9518:2;9498:18;;;9491:30;-1:-1:-1;;;9537:18:1;;;9530:50;9597:18;;60875:73:0::1;9277:344:1::0;60875:73:0::1;60964:6;::::0;::::1;;60963:7;60955:43;;;::::0;-1:-1:-1;;;60955:43:0;;8780:2:1;60955:43:0::1;::::0;::::1;8762:21:1::0;8819:2;8799:18;;;8792:30;8858:25;8838:18;;;8831:53;8901:18;;60955:43:0::1;8578:347:1::0;60955:43:0::1;61033:11;61026:4;;:18;;;;:::i;:::-;61013:9;:31;;61005:63;;;::::0;-1:-1:-1;;;61005:63:0;;10536:2:1;61005:63:0::1;::::0;::::1;10518:21:1::0;10575:2;10555:18;;;10548:30;-1:-1:-1;;;10594:18:1;;;10587:49;10653:18;;61005:63:0::1;10334:343:1::0;61005:63:0::1;61077:36;57967:10:::0;61101:11:::1;61077:9;:36::i;:::-;-1:-1:-1::0;4265:1:0;5219:7;:22;60679:440::o;35227:308::-;-1:-1:-1;;;;;35326:31:0;;57967:10;35326:31;35322:61;;;35366:17;;-1:-1:-1;;;35366:17:0;;;;;;;;;;;35322:61;57967:10;35396:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35396:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35396:60:0;;;;;;;;;;35472:55;;7111:41:1;;;35396:49:0;;57967:10;35472:55;;7084:18:1;35472:55:0;;;;;;;35227:308;;:::o;59853:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61526:130::-;7270:13;:11;:13::i;:::-;61610:18:::1;:40:::0;61526:130::o;42072:399::-;42239:31;42252:4;42258:2;42262:7;42239:12;:31::i;:::-;-1:-1:-1;;;;;42285:14:0;;;:19;42281:183;;42324:56;42355:4;42361:2;42365:7;42374:5;42324:30;:56::i;:::-;42319:145;;42408:40;;-1:-1:-1;;;42408:40:0;;;;;;;;;;;42319:145;42072:399;;;;:::o;63005:326::-;63079:13;63111:17;63119:8;63111:7;:17::i;:::-;63103:49;;;;-1:-1:-1;;;63103:49:0;;10188:2:1;63103:49:0;;;10170:21:1;10227:2;10207:18;;;10200:30;-1:-1:-1;;;10246:18:1;;;10239:49;10305:18;;63103:49:0;9986:343:1;63103:49:0;63167:8;;;;;;;63163:163;;;63221:10;:8;:10::i;:::-;63233:19;:8;:17;:19::i;:::-;63204:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;63190:73;;63005:326;;;:::o;63163:163::-;63299:17;63292:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63005:326;;;:::o;63163:163::-;63005:326;;;:::o;59821:27::-;;;;;;;:::i;61359:81::-;7270:13;:11;:13::i;:::-;61417:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;61417:17:0;;::::1;::::0;;;::::1;::::0;;61359:81::o;61125:127::-;7270:13;:11;:13::i;:::-;61213:33:::1;61223:9;61234:11;61213:9;:33::i;8290:201::-:0;7270:13;:11;:13::i;:::-;-1:-1:-1;;;;;8379:22:0;::::1;8371:73;;;::::0;-1:-1:-1;;;8371:73:0;;7589:2:1;8371:73:0::1;::::0;::::1;7571:21:1::0;7628:2;7608:18;;;7601:30;7667:34;7647:18;;;7640:62;-1:-1:-1;;;7718:18:1;;;7711:36;7764:19;;8371:73:0::1;7387:402:1::0;8371:73:0::1;8455:28;8474:8;8455:18;:28::i;:::-;8290:201:::0;:::o;36114:282::-;36179:4;36235:7;61346:1;36216:26;;:66;;;;;36269:13;;36259:7;:23;36216:66;:153;;;;-1:-1:-1;;36320:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36320:44:0;:49;;36114:282::o;7549:132::-;7457:6;;-1:-1:-1;;;;;7457:6:0;57967:10;7613:23;7605:68;;;;-1:-1:-1;;;7605:68:0;;8419:2:1;7605:68:0;;;8401:21:1;;;8438:18;;;8431:30;8497:34;8477:18;;;8470:62;8549:18;;7605:68:0;8217:356:1;30734:1275:0;30801:7;30836;;61346:1;30885:23;30881:1061;;30938:13;;30931:4;:20;30927:1015;;;30976:14;30993:23;;;:17;:23;;;;;;-1:-1:-1;;;31082:24:0;;31078:845;;31747:113;31754:11;31747:113;;-1:-1:-1;;;31825:6:0;31807:25;;;;:17;:25;;;;;;31747:113;;;31893:6;30734:1275;-1:-1:-1;;;30734:1275:0:o;31078:845::-;30953:989;30927:1015;31970:31;;-1:-1:-1;;;31970:31:0;;;;;;;;;;;62425:190;62508:12;62526:6;-1:-1:-1;;;;;62526:11:0;62545:14;62526:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62507:57;;;62579:7;62571:38;;;;-1:-1:-1;;;62571:38:0;;9132:2:1;62571:38:0;;;9114:21:1;9171:2;9151:18;;;9144:30;-1:-1:-1;;;9190:18:1;;;9183:48;9248:18;;62571:38:0;8930:342:1;8651:191:0;8744:6;;;-1:-1:-1;;;;;8761:17:0;;;-1:-1:-1;;;;;;8761:17:0;;;;;;;8794:40;;8744:6;;;8761:17;8744:6;;8794:40;;8725:16;;8794:40;8714:128;8651:191;:::o;51712:112::-;51789:27;51799:2;51803:8;51789:27;;;;;;;;;;;;:9;:27::i;44555:716::-;44739:88;;-1:-1:-1;;;44739:88:0;;44718:4;;-1:-1:-1;;;;;44739:45:0;;;;;:88;;57967:10;;44806:4;;44812:7;;44821:5;;44739:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44739:88:0;;;;;;;;-1:-1:-1;;44739:88:0;;;;;;;;;;;;:::i;:::-;;;44735:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45022:13:0;;45018:235;;45068:40;;-1:-1:-1;;;45068:40:0;;;;;;;;;;;45018:235;45211:6;45205:13;45196:6;45192:2;45188:15;45181:38;44735:529;-1:-1:-1;;;;;;44898:64:0;-1:-1:-1;;;44898:64:0;;-1:-1:-1;44735:529:0;44555:716;;;;;;:::o;62889:110::-;62949:13;62980;62973:20;;;;;:::i;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;932:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;50939:689;51070:19;51076:2;51080:8;51070:5;:19::i;:::-;-1:-1:-1;;;;;51131:14:0;;;:19;51127:483;;51171:11;51185:13;51233:14;;;51266:233;51297:62;51336:1;51340:2;51344:7;;;;;;51353:5;51297:30;:62::i;:::-;51292:167;;51395:40;;-1:-1:-1;;;51395:40:0;;;;;;;;;;;51292:167;51494:3;51486:5;:11;51266:233;;51581:3;51564:13;;:20;51560:34;;51586:8;;;51560:34;51152:458;;50939:689;;;:::o;45733:2454::-;45806:20;45829:13;45857;45853:44;;45879:18;;-1:-1:-1;;;45879:18:0;;;;;;;;;;;45853:44;-1:-1:-1;;;;;46385:22:0;;;;;;:18;:22;;;;19418:2;46385:22;;;:71;;46423:32;46411:45;;46385:71;;;46699:31;;;:17;:31;;;;;-1:-1:-1;33399:15:0;;33373:24;33369:46;32968:11;32943:23;32939:41;32936:52;32926:63;;46699:173;;46934:23;;;;46699:31;;46385:22;;47433:25;46385:22;;47286:335;47701:1;47687:12;47683:20;47641:346;47742:3;47733:7;47730:16;47641:346;;47960:7;47950:8;47947:1;47920:25;47917:1;47914;47909:59;47795:1;47782:15;47641:346;;;-1:-1:-1;48020:13:0;48016:45;;48042:19;;-1:-1:-1;;;48042:19:0;;;;;;;;;;;48016:45;48078:13;:19;-1:-1:-1;41289:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:592::-;3731:6;3739;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3848:9;3835:23;3877:18;3918:2;3910:6;3907:14;3904:34;;;3934:1;3931;3924:12;3904:34;3972:6;3961:9;3957:22;3947:32;;4017:7;4010:4;4006:2;4002:13;3998:27;3988:55;;4039:1;4036;4029:12;3988:55;4079:2;4066:16;4105:2;4097:6;4094:14;4091:34;;;4121:1;4118;4111:12;4091:34;4166:7;4161:2;4152:6;4148:2;4144:15;4140:24;4137:37;4134:57;;;4187:1;4184;4177:12;4134:57;4218:2;4210:11;;;;;4240:6;;-1:-1:-1;3660:592:1;;-1:-1:-1;;;;3660:592:1:o;4257:450::-;4326:6;4379:2;4367:9;4358:7;4354:23;4350:32;4347:52;;;4395:1;4392;4385:12;4347:52;4435:9;4422:23;4468:18;4460:6;4457:30;4454:50;;;4500:1;4497;4490:12;4454:50;4523:22;;4576:4;4568:13;;4564:27;-1:-1:-1;4554:55:1;;4605:1;4602;4595:12;4554:55;4628:73;4693:7;4688:2;4675:16;4670:2;4666;4662:11;4628:73;:::i;4712:180::-;4771:6;4824:2;4812:9;4803:7;4799:23;4795:32;4792:52;;;4840:1;4837;4830:12;4792:52;-1:-1:-1;4863:23:1;;4712:180;-1:-1:-1;4712:180:1:o;4897:254::-;4965:6;4973;5026:2;5014:9;5005:7;5001:23;4997:32;4994:52;;;5042:1;5039;5032:12;4994:52;5078:9;5065:23;5055:33;;5107:38;5141:2;5130:9;5126:18;5107:38;:::i;5156:257::-;5197:3;5235:5;5229:12;5262:6;5257:3;5250:19;5278:63;5334:6;5327:4;5322:3;5318:14;5311:4;5304:5;5300:16;5278:63;:::i;:::-;5395:2;5374:15;-1:-1:-1;;5370:29:1;5361:39;;;;5402:4;5357:50;;5156:257;-1:-1:-1;;5156:257:1:o;5418:637::-;5698:3;5736:6;5730:13;5752:53;5798:6;5793:3;5786:4;5778:6;5774:17;5752:53;:::i;:::-;5868:13;;5827:16;;;;5890:57;5868:13;5827:16;5924:4;5912:17;;5890:57;:::i;:::-;-1:-1:-1;;;5969:20:1;;5998:22;;;6047:1;6036:13;;5418:637;-1:-1:-1;;;;5418:637:1:o;6478:488::-;-1:-1:-1;;;;;6747:15:1;;;6729:34;;6799:15;;6794:2;6779:18;;6772:43;6846:2;6831:18;;6824:34;;;6894:3;6889:2;6874:18;;6867:31;;;6672:4;;6915:45;;6940:19;;6932:6;6915:45;:::i;:::-;6907:53;6478:488;-1:-1:-1;;;;;;6478:488:1:o;7163:219::-;7312:2;7301:9;7294:21;7275:4;7332:44;7372:2;7361:9;7357:18;7349:6;7332:44;:::i;10864:128::-;10904:3;10935:1;10931:6;10928:1;10925:13;10922:39;;;10941:18;;:::i;:::-;-1:-1:-1;10977:9:1;;10864:128::o;10997:120::-;11037:1;11063;11053:35;;11068:18;;:::i;:::-;-1:-1:-1;11102:9:1;;10997:120::o;11122:168::-;11162:7;11228:1;11224;11220:6;11216:14;11213:1;11210:21;11205:1;11198:9;11191:17;11187:45;11184:71;;;11235:18;;:::i;:::-;-1:-1:-1;11275:9:1;;11122:168::o;11295:125::-;11335:4;11363:1;11360;11357:8;11354:34;;;11368:18;;:::i;:::-;-1:-1:-1;11405:9:1;;11295:125::o;11425:258::-;11497:1;11507:113;11521:6;11518:1;11515:13;11507:113;;;11597:11;;;11591:18;11578:11;;;11571:39;11543:2;11536:10;11507:113;;;11638:6;11635:1;11632:13;11629:48;;;-1:-1:-1;;11673:1:1;11655:16;;11648:27;11425:258::o;11688:380::-;11767:1;11763:12;;;;11810;;;11831:61;;11885:4;11877:6;11873:17;11863:27;;11831:61;11938:2;11930:6;11927:14;11907:18;11904:38;11901:161;;;11984:10;11979:3;11975:20;11972:1;11965:31;12019:4;12016:1;12009:15;12047:4;12044:1;12037:15;11901:161;;11688:380;;;:::o;12073:135::-;12112:3;-1:-1:-1;;12133:17:1;;12130:43;;;12153:18;;:::i;:::-;-1:-1:-1;12200:1:1;12189:13;;12073:135::o;12213:112::-;12245:1;12271;12261:35;;12276:18;;:::i;:::-;-1:-1:-1;12310:9:1;;12213:112::o;12330:127::-;12391:10;12386:3;12382:20;12379:1;12372:31;12422:4;12419:1;12412:15;12446:4;12443:1;12436:15;12462:127;12523:10;12518:3;12514:20;12511:1;12504:31;12554:4;12551:1;12544:15;12578:4;12575:1;12568:15;12594:127;12655:10;12650:3;12646:20;12643:1;12636:31;12686:4;12683:1;12676:15;12710:4;12707:1;12700:15;12726:127;12787:10;12782:3;12778:20;12775:1;12768:31;12818:4;12815:1;12808:15;12842:4;12839:1;12832:15;12858:131;-1:-1:-1;;;;;;12932:32:1;;12922:43;;12912:71;;12979:1;12976;12969:12
Swarm Source
ipfs://9a1877ae703f930ec5f763e5e152dbc4df616e627e360a085a1d8ab9713d60b6
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.