Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 4 from a total of 4 transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
HooletGuarantID
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-09-18
*/
// SPDX-License-Identifier: MIT
// 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: @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: erc721a/contracts/IERC721A.sol
// ERC721A Contracts v4.2.3
// 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();
/**
* 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 payable;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @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 payable;
/**
* @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 payable;
/**
* @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.3
// 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 {
// Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
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 payable 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 {
_operatorApprovals[_msgSenderERC721A()][operator] = approved;
emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
}
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted. See {_mint}.
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return
_startTokenId() <= tokenId &&
tokenId < _currentIndex && // If within bounds,
_packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
}
/**
* @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
*/
function _isSenderApprovedOrOwner(
address approvedAddress,
address owner,
address msgSender
) private pure returns (bool result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
msgSender := and(msgSender, _BITMASK_ADDRESS)
// `msgSender == owner || msgSender == approvedAddress`.
result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
}
}
/**
* @dev Returns the storage slot and value for the approved address of `tokenId`.
*/
function _getApprovedSlotAndAddress(uint256 tokenId)
private
view
returns (uint256 approvedAddressSlot, address approvedAddress)
{
TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
// The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
assembly {
approvedAddressSlot := tokenApproval.slot
approvedAddress := sload(approvedAddressSlot)
}
}
// =============================================================
// TRANSFER OPERATIONS
// =============================================================
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token
* by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public payable 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 payable 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 payable virtual override {
transferFrom(from, to, tokenId);
if (to.code.length != 0)
if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Hook that is called before a set of serially-ordered token IDs
* are about to be transferred. This includes minting.
* And also called before burning one token.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token IDs
* have been transferred. This includes minting.
* And also called after one token has been burned.
*
* `startTokenId` - the first token ID to be transferred.
* `quantity` - the amount to be transferred.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* `from` - Previous owner of the given token ID.
* `to` - Target address that will receive the token.
* `tokenId` - Token ID to be transferred.
* `_data` - Optional data to send along with the call.
*
* Returns whether the call correctly returned the expected magic value.
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
bytes4 retval
) {
return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
// =============================================================
// MINT OPERATIONS
// =============================================================
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event for each mint.
*/
function _mint(address to, uint256 quantity) internal virtual {
uint256 startTokenId = _currentIndex;
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// `balance` and `numberMinted` have a maximum limit of 2**64.
// `tokenId` has a maximum limit of 2**256.
unchecked {
// Updates:
// - `balance += quantity`.
// - `numberMinted += quantity`.
//
// We can directly add to the `balance` and `numberMinted`.
_packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);
// Updates:
// - `address` to the owner.
// - `startTimestamp` to the timestamp of minting.
// - `burned` to `false`.
// - `nextInitialized` to `quantity == 1`.
_packedOwnerships[startTokenId] = _packOwnershipData(
to,
_nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
);
uint256 toMasked;
uint256 end = startTokenId + quantity;
// Use assembly to loop and emit the `Transfer` event for gas savings.
// The duplicated `log4` removes an extra check and reduces stack juggling.
// The assembly, together with the surrounding Solidity code, have been
// delicately arranged to nudge the compiler into producing optimized opcodes.
assembly {
// Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
toMasked := and(to, _BITMASK_ADDRESS)
// Emit the `Transfer` event.
log4(
0, // Start of data (0, since no data).
0, // End of data (0, since no data).
_TRANSFER_EVENT_SIGNATURE, // Signature.
0, // `address(0)`.
toMasked, // `to`.
startTokenId // `tokenId`.
)
// The `iszero(eq(,))` check ensures that large values of `quantity`
// that overflows uint256 will make the loop run out of gas.
// The compiler will optimize the `iszero` away for performance.
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 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
// We will need 1 word for the trailing zeros padding, 1 word for the length,
// and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
let m := add(mload(0x40), 0xa0)
// Update the free memory pointer to allocate.
mstore(0x40, m)
// Assign the `str` to the end.
str := sub(m, 0x20)
// Zeroize the slot after the string.
mstore(str, 0)
// 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: erc721a/contracts/extensions/IERC721AQueryable.sol
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721AQueryable.
*/
interface IERC721AQueryable is IERC721A {
/**
* Invalid query range (`start` >= `stop`).
*/
error InvalidQueryRange();
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
*
* - `addr = address(0)`
* - `startTimestamp = 0`
* - `burned = false`
* - `extraData = 0`
*
* If the `tokenId` is burned:
*
* - `addr = <Address of owner before token was burned>`
* - `startTimestamp = <Timestamp when token was burned>`
* - `burned = true`
* - `extraData = <Extra data when token was burned>`
*
* Otherwise:
*
* - `addr = <Address of owner>`
* - `startTimestamp = <Timestamp of start of ownership>`
* - `burned = false`
* - `extraData = <Extra data at start of ownership>`
*/
function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start < stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view returns (uint256[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(`totalSupply`) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K collections should be fine).
*/
function tokensOfOwner(address owner) external view returns (uint256[] memory);
}
// File: erc721a/contracts/extensions/ERC721AQueryable.sol
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @title ERC721AQueryable.
*
* @dev ERC721A subclass with convenience query functions.
*/
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
*
* - `addr = address(0)`
* - `startTimestamp = 0`
* - `burned = false`
* - `extraData = 0`
*
* If the `tokenId` is burned:
*
* - `addr = <Address of owner before token was burned>`
* - `startTimestamp = <Timestamp when token was burned>`
* - `burned = true`
* - `extraData = <Extra data when token was burned>`
*
* Otherwise:
*
* - `addr = <Address of owner>`
* - `startTimestamp = <Timestamp of start of ownership>`
* - `burned = false`
* - `extraData = <Extra data at start of ownership>`
*/
function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
TokenOwnership memory ownership;
if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
return ownership;
}
ownership = _ownershipAt(tokenId);
if (ownership.burned) {
return ownership;
}
return _ownershipOf(tokenId);
}
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] calldata tokenIds)
external
view
virtual
override
returns (TokenOwnership[] memory)
{
unchecked {
uint256 tokenIdsLength = tokenIds.length;
TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
for (uint256 i; i != tokenIdsLength; ++i) {
ownerships[i] = explicitOwnershipOf(tokenIds[i]);
}
return ownerships;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start < stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view virtual override returns (uint256[] memory) {
unchecked {
if (start >= stop) revert InvalidQueryRange();
uint256 tokenIdsIdx;
uint256 stopLimit = _nextTokenId();
// Set `start = max(start, _startTokenId())`.
if (start < _startTokenId()) {
start = _startTokenId();
}
// Set `stop = min(stop, stopLimit)`.
if (stop > stopLimit) {
stop = stopLimit;
}
uint256 tokenIdsMaxLength = balanceOf(owner);
// Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
// to cater for cases where `balanceOf(owner)` is too big.
if (start < stop) {
uint256 rangeLength = stop - start;
if (rangeLength < tokenIdsMaxLength) {
tokenIdsMaxLength = rangeLength;
}
} else {
tokenIdsMaxLength = 0;
}
uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
if (tokenIdsMaxLength == 0) {
return tokenIds;
}
// We need to call `explicitOwnershipOf(start)`,
// because the slot at `start` may not be initialized.
TokenOwnership memory ownership = explicitOwnershipOf(start);
address currOwnershipAddr;
// If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
// `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
if (!ownership.burned) {
currOwnershipAddr = ownership.addr;
}
for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
ownership = _ownershipAt(i);
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
// Downsize the array to fit.
assembly {
mstore(tokenIds, tokenIdsIdx)
}
return tokenIds;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(`totalSupply`) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K collections should be fine).
*/
function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
unchecked {
uint256 tokenIdsIdx;
address currOwnershipAddr;
uint256 tokenIdsLength = balanceOf(owner);
uint256[] memory tokenIds = new uint256[](tokenIdsLength);
TokenOwnership memory ownership;
for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
ownership = _ownershipAt(i);
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
return tokenIds;
}
}
}
// File: contracts/HooletGuarantID.sol
pragma solidity >=0.8.0 <0.9.0;
contract HooletGuarantID is ERC721AQueryable, Ownable, ReentrancyGuard {
using Strings for uint256;
// Initially set collection metadata url.
string public collectionMetadataURL = "ipfs://bafybeidf3cdfa3vpxfpy6iw4fbtep25mm4g5ih3aftgmkv2zud6rmakoly/HooletGuarant'ID.json";
// Initially set maxSupply.
uint256 public maxSupply = 20000;
// Funds withdrawal address.
address payable public withdrawalAddress = payable(0x36f37Ca3e2169b839Fd3133F902189A557636bD8);
constructor() ERC721A("Hoolet GuarantID", "OHG") {}
// WRITE CONTRACT FUNCTIONS //
// SMART CONTRACT OWNER ONLY FUNCTIONS //
/**
* @notice Function can mint different quantities of NFTs to a array of recipients.
* Different quantities are also written in an array.
*/
function mintDifferentQuantity(address[] calldata recipients, uint256[] calldata nftQuantityForEachRecipient) public onlyOwner {
require(recipients.length == nftQuantityForEachRecipient.length);
for (uint256 i = 0; i < recipients.length; ++i) {
require(_totalMinted() + nftQuantityForEachRecipient[i] <= maxSupply, "Request Exceeds Max Supply");
_mint(recipients[i], nftQuantityForEachRecipient[i]);
}
}
/// @notice Function mints the same quantity of NFTs to a array of recipients.
function mintSameQuantity(address[] calldata recipients, uint256 nftQuantityPerRecipient) public onlyOwner {
for (uint256 i = 0; i < recipients.length; ++i) {
require(_totalMinted() + nftQuantityPerRecipient <= maxSupply, "Request Exceeds Max Supply");
_mint(recipients[i], nftQuantityPerRecipient);
}
}
/// @notice Function burns or destroys the NFT tokenId or tokenIds.
function burnTokens(uint256[] calldata tokenIds) public onlyOwner {
for (uint256 i = 0; i < tokenIds.length; ++i) {
_burn(tokenIds[i]);
}
}
/**
* @notice Function sets a new maximum amount of tokens which can be minted.
* _newMaxSupply must be greater than or equal to totalMinted.
*/
function setMaxSupply(uint256 _newMaxSupply) public onlyOwner {
require(_newMaxSupply >= _totalMinted(), "newMaxSupply must be greater than or equal to totalMinted");
maxSupply = _newMaxSupply;
}
/// @notice Function sets the collection metadata url.
function setCollectionMetadataURL(string calldata _newCollectionMetadataURL) public onlyOwner {
collectionMetadataURL = _newCollectionMetadataURL;
}
/// @notice Function sets the withdrawal address for the funds in the smart contract.
function setWithdrawalAddress(address _newWithdrawalAddress) public onlyOwner {
withdrawalAddress = payable(_newWithdrawalAddress);
}
/// @notice Function withdraws the funds in the smart contract to the withdrawal address.
function withdraw() public payable onlyOwner nonReentrant {
(bool success, ) = payable(withdrawalAddress).call{value: address(this).balance}("");
require(success);
}
// READ CONTRACT GETTER FUNCTIONS //
/// @notice Function returns the collection metadata url. All tokens have the same url.
function tokenURI(uint256 _tokenId) public view virtual override (ERC721A, IERC721A) returns (string memory) {
require(_exists(_tokenId), "tokenId doesn't exist");
return collectionMetadataURL;
}
/**
* @notice Function returns the number of tokens minted historically.
* Not related to totalSupply because totalSupply returns the number of existing tokens.
* totalMinted and totalSupply will be equal until any token or tokens are burned.
*/
function totalMinted() public view returns (uint256) {
return _totalMinted();
}
// INTERNAL FUNCTIONS //
function _beforeTokenTransfers(address from, address to, uint256, uint256) internal virtual override {
require(from == address(0) || to == address(0), "Not allowed to transfer token");
}
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionMetadataURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"nftQuantityForEachRecipient","type":"uint256[]"}],"name":"mintDifferentQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"nftQuantityPerRecipient","type":"uint256"}],"name":"mintSameQuantity","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_newCollectionMetadataURL","type":"string"}],"name":"setCollectionMetadataURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWithdrawalAddress","type":"address"}],"name":"setWithdrawalAddress","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6101006040526058608081815290620023e060a039600a90620000239082620001d8565b50614e20600b55600c80546001600160a01b0319167336f37ca3e2169b839fd3133f902189a557636bd81790553480156200005d57600080fd5b506040518060400160405280601081526020016f121bdbdb195d0811dd585c985b9d125160821b815250604051806040016040528060038152602001624f484760e81b8152508160029081620000b49190620001d8565b506003620000c38282620001d8565b5050600160005550620000d633620000e1565b6001600955620002a4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015e57607f821691505b6020821081036200017f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d357600081815260208120601f850160051c81016020861015620001ae5750805b601f850160051c820191505b81811015620001cf57828155600101620001ba565b5050505b505050565b81516001600160401b03811115620001f457620001f462000133565b6200020c8162000205845462000149565b8462000185565b602080601f8311600181146200024457600084156200022b5750858301515b600019600386901b1c1916600185901b178555620001cf565b600085815260208120601f198616915b82811015620002755788860151825594840194600190910190840162000254565b5085821015620002945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61212c80620002b46000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063b88d4fde11610095578063d629335611610064578063d629335614610547578063e985e9c514610567578063f2bcd022146105b0578063f2fde38b146105d057600080fd5b8063b88d4fde146104d1578063c23dc68f146104e4578063c87b56dd14610511578063d5abeb011461053157600080fd5b806395d89b41116100d157806395d89b411461046357806399a2557a14610478578063a22cb46514610498578063a2309ff8146104b857600080fd5b806370a08231146103e3578063715018a6146104035780638462151c146104185780638da5cb5b1461044557600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e1461036357806367a5317314610383578063694f3034146103a35780636f8b44b0146103c357600080fd5b806342842e0e146102ee578063494b34a41461030157806357884ea5146103215780635bbb21771461033657600080fd5b806318160ddd116101b657806318160ddd1461028c57806321b8092e146102b357806323b872dd146102d35780633ccfd60b146102e657600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046119af565b6105f0565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610642565b6040516102149190611a12565b34801561024b57600080fd5b5061025f61025a366004611a25565b6106d4565b6040516001600160a01b039091168152602001610214565b61028a610285366004611a5a565b610718565b005b34801561029857600080fd5b5060015460005403600019015b604051908152602001610214565b3480156102bf57600080fd5b5061028a6102ce366004611a84565b6107b8565b61028a6102e1366004611a9f565b6107e2565b61028a610980565b61028a6102fc366004611a9f565b610a4c565b34801561030d57600080fd5b5061028a61031c366004611b26565b610a6c565b34801561032d57600080fd5b50610232610b6b565b34801561034257600080fd5b50610356610351366004611b91565b610bf9565b6040516102149190611c0e565b34801561036f57600080fd5b5061025f61037e366004611a25565b610cc4565b34801561038f57600080fd5b5061028a61039e366004611b91565b610ccf565b3480156103af57600080fd5b5061028a6103be366004611c50565b610d13565b3480156103cf57600080fd5b5061028a6103de366004611a25565b610dd5565b3480156103ef57600080fd5b506102a56103fe366004611a84565b610e5e565b34801561040f57600080fd5b5061028a610eac565b34801561042457600080fd5b50610438610433366004611a84565b610ec0565b6040516102149190611c9b565b34801561045157600080fd5b506008546001600160a01b031661025f565b34801561046f57600080fd5b50610232610fc8565b34801561048457600080fd5b50610438610493366004611cd3565b610fd7565b3480156104a457600080fd5b5061028a6104b3366004611d06565b61115e565b3480156104c457600080fd5b50600054600019016102a5565b61028a6104df366004611d58565b6111ca565b3480156104f057600080fd5b506105046104ff366004611a25565b61120e565b6040516102149190611e33565b34801561051d57600080fd5b5061023261052c366004611a25565b611296565b34801561053d57600080fd5b506102a5600b5481565b34801561055357600080fd5b5061028a610562366004611e41565b611377565b34801561057357600080fd5b50610208610582366004611eb2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105bc57600080fd5b50600c5461025f906001600160a01b031681565b3480156105dc57600080fd5b5061028a6105eb366004611a84565b61138c565b60006301ffc9a760e01b6001600160e01b03198316148061062157506380ac58cd60e01b6001600160e01b03198316145b8061063c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461065190611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461067d90611ee5565b80156106ca5780601f1061069f576101008083540402835291602001916106ca565b820191906000526020600020905b8154815290600101906020018083116106ad57829003601f168201915b5050505050905090565b60006106df82611405565b6106fc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061072382610cc4565b9050336001600160a01b0382161461075c5761073f8133610582565b61075c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107c061143a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107ed82611494565b9050836001600160a01b0316816001600160a01b0316146108205760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260409020805461084c8187335b6001600160a01b039081169116811491141790565b6108775761085a8633610582565b61087757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661089e57604051633a954ecd60e21b815260040160405180910390fd5b6108ab8686866001611503565b80156108b657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610948576001840160008181526004602052604081205490036109465760005481146109465760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206120d783398151915260405160405180910390a45b505050505050565b61098861143a565b6002600954036109df5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600c546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610a31576040519150601f19603f3d011682016040523d82523d6000602084013e610a36565b606091505b5050905080610a4457600080fd5b506001600955565b610a67838383604051806020016040528060008152506111ca565b505050565b610a7461143a565b828114610a8057600080fd5b60005b83811015610b6457600b54838383818110610aa057610aa0611f1f565b90506020020135610ab46000546000190190565b610abe9190611f4b565b1115610b0c5760405162461bcd60e51b815260206004820152601a60248201527f526571756573742045786365656473204d617820537570706c7900000000000060448201526064016109d6565b610b54858583818110610b2157610b21611f1f565b9050602002016020810190610b369190611a84565b848484818110610b4857610b48611f1f565b9050602002013561156c565b610b5d81611f5e565b9050610a83565b5050505050565b600a8054610b7890611ee5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba490611ee5565b8015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b505050505081565b6060816000816001600160401b03811115610c1657610c16611d42565b604051908082528060200260200182016040528015610c6857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c345790505b50905060005b828114610cbb57610c96868683818110610c8a57610c8a611f1f565b9050602002013561120e565b828281518110610ca857610ca8611f1f565b6020908102919091010152600101610c6e565b50949350505050565b600061063c82611494565b610cd761143a565b60005b81811015610a6757610d03838383818110610cf757610cf7611f1f565b90506020020135611653565b610d0c81611f5e565b9050610cda565b610d1b61143a565b60005b82811015610dcf57600b5482610d376000546000190190565b610d419190611f4b565b1115610d8f5760405162461bcd60e51b815260206004820152601a60248201527f526571756573742045786365656473204d617820537570706c7900000000000060448201526064016109d6565b610dbf848483818110610da457610da4611f1f565b9050602002016020810190610db99190611a84565b8361156c565b610dc881611f5e565b9050610d1e565b50505050565b610ddd61143a565b60005460001901811015610e595760405162461bcd60e51b815260206004820152603960248201527f6e65774d6178537570706c79206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f20746f74616c4d696e7465640000000000000060648201526084016109d6565b600b55565b60006001600160a01b038216610e87576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610eb461143a565b610ebe600061165e565b565b60606000806000610ed085610e5e565b90506000816001600160401b03811115610eec57610eec611d42565b604051908082528060200260200182016040528015610f15578160200160208202803683370190505b509050610f4260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610fbc57610f55816116b0565b91508160400151610fb45781516001600160a01b031615610f7557815194505b876001600160a01b0316856001600160a01b031603610fb45780838780600101985081518110610fa757610fa7611f1f565b6020026020010181815250505b600101610f45565b50909695505050505050565b60606003805461065190611ee5565b6060818310610ff957604051631960ccad60e11b815260040160405180910390fd5b60008061100560005490565b9050600185101561101557600194505b80841115611021578093505b600061102c87610e5e565b90508486101561104b5785850381811015611045578091505b5061104f565b5060005b6000816001600160401b0381111561106957611069611d42565b604051908082528060200260200182016040528015611092578160200160208202803683370190505b509050816000036110a857935061115792505050565b60006110b38861120e565b9050600081604001516110c4575080515b885b8881141580156110d65750848714155b1561114b576110e4816116b0565b925082604001516111435782516001600160a01b03161561110457825191505b8a6001600160a01b0316826001600160a01b031603611143578084888060010199508151811061113657611136611f1f565b6020026020010181815250505b6001016110c6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d58484846107e2565b6001600160a01b0383163b15610dcf576111f1848484846116ec565b610dcf576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061126757506000548310155b156112725792915050565b61127b836116b0565b905080604001511561128d5792915050565b611157836117d7565b60606112a182611405565b6112e55760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b925908191bd95cdb89dd08195e1a5cdd605a1b60448201526064016109d6565b600a80546112f290611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461131e90611ee5565b801561136b5780601f106113405761010080835404028352916020019161136b565b820191906000526020600020905b81548152906001019060200180831161134e57829003601f168201915b50505050509050919050565b61137f61143a565b600a610a67828483611fbd565b61139461143a565b6001600160a01b0381166113f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d6565b6114028161165e565b50565b600081600111158015611419575060005482105b801561063c575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ebe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d6565b600081806001116114ea576000548110156114ea5760008181526004602052604081205490600160e01b821690036114e8575b806000036111575750600019016000818152600460205260409020546114c7565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b038416158061152057506001600160a01b038316155b610dcf5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420616c6c6f77656420746f207472616e7366657220746f6b656e00000060448201526064016109d6565b60008054908290036115915760405163b562e8dd60e01b815260040160405180910390fd5b61159e6000848385611503565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206120d78339815191528180a4600183015b81811461162957808360006000805160206120d7833981519152600080a4600101611603565b508160000361164a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b61140281600061180c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461063c90611952565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061172190339089908890889060040161207c565b6020604051808303816000875af192505050801561175c575060408051601f3d908101601f19168201909252611759918101906120b9565b60015b6117ba573d80801561178a576040519150601f19603f3d011682016040523d82523d6000602084013e61178f565b606091505b5080516000036117b2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261063c61180783611494565b611952565b600061181783611494565b90508060008061183586600090815260066020526040902080549091565b9150915084156118755761184a818433610837565b611875576118588333610582565b61187557604051632ce44b5f60e11b815260040160405180910390fd5b611883836000886001611503565b801561188e57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361191c5760018601600081815260046020526040812054900361191a57600054811461191a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206120d7833981519152908390a45050600180548101905550505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b03198116811461140257600080fd5b6000602082840312156119c157600080fd5b813561115781611999565b6000815180845260005b818110156119f2576020818501810151868301820152016119d6565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061115760208301846119cc565b600060208284031215611a3757600080fd5b5035919050565b80356001600160a01b0381168114611a5557600080fd5b919050565b60008060408385031215611a6d57600080fd5b611a7683611a3e565b946020939093013593505050565b600060208284031215611a9657600080fd5b61115782611a3e565b600080600060608486031215611ab457600080fd5b611abd84611a3e565b9250611acb60208501611a3e565b9150604084013590509250925092565b60008083601f840112611aed57600080fd5b5081356001600160401b03811115611b0457600080fd5b6020830191508360208260051b8501011115611b1f57600080fd5b9250929050565b60008060008060408587031215611b3c57600080fd5b84356001600160401b0380821115611b5357600080fd5b611b5f88838901611adb565b90965094506020870135915080821115611b7857600080fd5b50611b8587828801611adb565b95989497509550505050565b60008060208385031215611ba457600080fd5b82356001600160401b03811115611bba57600080fd5b611bc685828601611adb565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610fbc57611c3d838551611bd2565b9284019260809290920191600101611c2a565b600080600060408486031215611c6557600080fd5b83356001600160401b03811115611c7b57600080fd5b611c8786828701611adb565b909790965060209590950135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015610fbc57835183529284019291840191600101611cb7565b600080600060608486031215611ce857600080fd5b611cf184611a3e565b95602085013595506040909401359392505050565b60008060408385031215611d1957600080fd5b611d2283611a3e565b915060208301358015158114611d3757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611d6e57600080fd5b611d7785611a3e565b9350611d8560208601611a3e565b92506040850135915060608501356001600160401b0380821115611da857600080fd5b818701915087601f830112611dbc57600080fd5b813581811115611dce57611dce611d42565b604051601f8201601f19908116603f01168101908382118183101715611df657611df6611d42565b816040528281528a6020848701011115611e0f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161063c8284611bd2565b60008060208385031215611e5457600080fd5b82356001600160401b0380821115611e6b57600080fd5b818501915085601f830112611e7f57600080fd5b813581811115611e8e57600080fd5b866020828501011115611ea057600080fd5b60209290920196919550909350505050565b60008060408385031215611ec557600080fd5b611ece83611a3e565b9150611edc60208401611a3e565b90509250929050565b600181811c90821680611ef957607f821691505b602082108103611f1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561063c5761063c611f35565b600060018201611f7057611f70611f35565b5060010190565b601f821115610a6757600081815260208120601f850160051c81016020861015611f9e5750805b601f850160051c820191505b8181101561097857828155600101611faa565b6001600160401b03831115611fd457611fd4611d42565b611fe883611fe28354611ee5565b83611f77565b6000601f84116001811461201c57600085156120045750838201355b600019600387901b1c1916600186901b178355610b64565b600083815260209020601f19861690835b8281101561204d578685013582556020948501946001909201910161202d565b508682101561206a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120af908301846119cc565b9695505050505050565b6000602082840312156120cb57600080fd5b81516111578161199956feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e7f36180383d3749199b5ce9631213b9fa327cb2191c59b73b88563f9d8ea6ea64736f6c63430008110033697066733a2f2f62616679626569646633636466613376707866707936697734666274657032356d6d346735696833616674676d6b76327a756436726d616b6f6c792f486f6f6c657447756172616e742749442e6a736f6e
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806370a0823111610102578063b88d4fde11610095578063d629335611610064578063d629335614610547578063e985e9c514610567578063f2bcd022146105b0578063f2fde38b146105d057600080fd5b8063b88d4fde146104d1578063c23dc68f146104e4578063c87b56dd14610511578063d5abeb011461053157600080fd5b806395d89b41116100d157806395d89b411461046357806399a2557a14610478578063a22cb46514610498578063a2309ff8146104b857600080fd5b806370a08231146103e3578063715018a6146104035780638462151c146104185780638da5cb5b1461044557600080fd5b806342842e0e1161017a5780636352211e116101495780636352211e1461036357806367a5317314610383578063694f3034146103a35780636f8b44b0146103c357600080fd5b806342842e0e146102ee578063494b34a41461030157806357884ea5146103215780635bbb21771461033657600080fd5b806318160ddd116101b657806318160ddd1461028c57806321b8092e146102b357806323b872dd146102d35780633ccfd60b146102e657600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b506102086102033660046119af565b6105f0565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610642565b6040516102149190611a12565b34801561024b57600080fd5b5061025f61025a366004611a25565b6106d4565b6040516001600160a01b039091168152602001610214565b61028a610285366004611a5a565b610718565b005b34801561029857600080fd5b5060015460005403600019015b604051908152602001610214565b3480156102bf57600080fd5b5061028a6102ce366004611a84565b6107b8565b61028a6102e1366004611a9f565b6107e2565b61028a610980565b61028a6102fc366004611a9f565b610a4c565b34801561030d57600080fd5b5061028a61031c366004611b26565b610a6c565b34801561032d57600080fd5b50610232610b6b565b34801561034257600080fd5b50610356610351366004611b91565b610bf9565b6040516102149190611c0e565b34801561036f57600080fd5b5061025f61037e366004611a25565b610cc4565b34801561038f57600080fd5b5061028a61039e366004611b91565b610ccf565b3480156103af57600080fd5b5061028a6103be366004611c50565b610d13565b3480156103cf57600080fd5b5061028a6103de366004611a25565b610dd5565b3480156103ef57600080fd5b506102a56103fe366004611a84565b610e5e565b34801561040f57600080fd5b5061028a610eac565b34801561042457600080fd5b50610438610433366004611a84565b610ec0565b6040516102149190611c9b565b34801561045157600080fd5b506008546001600160a01b031661025f565b34801561046f57600080fd5b50610232610fc8565b34801561048457600080fd5b50610438610493366004611cd3565b610fd7565b3480156104a457600080fd5b5061028a6104b3366004611d06565b61115e565b3480156104c457600080fd5b50600054600019016102a5565b61028a6104df366004611d58565b6111ca565b3480156104f057600080fd5b506105046104ff366004611a25565b61120e565b6040516102149190611e33565b34801561051d57600080fd5b5061023261052c366004611a25565b611296565b34801561053d57600080fd5b506102a5600b5481565b34801561055357600080fd5b5061028a610562366004611e41565b611377565b34801561057357600080fd5b50610208610582366004611eb2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105bc57600080fd5b50600c5461025f906001600160a01b031681565b3480156105dc57600080fd5b5061028a6105eb366004611a84565b61138c565b60006301ffc9a760e01b6001600160e01b03198316148061062157506380ac58cd60e01b6001600160e01b03198316145b8061063c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461065190611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461067d90611ee5565b80156106ca5780601f1061069f576101008083540402835291602001916106ca565b820191906000526020600020905b8154815290600101906020018083116106ad57829003601f168201915b5050505050905090565b60006106df82611405565b6106fc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061072382610cc4565b9050336001600160a01b0382161461075c5761073f8133610582565b61075c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107c061143a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107ed82611494565b9050836001600160a01b0316816001600160a01b0316146108205760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260409020805461084c8187335b6001600160a01b039081169116811491141790565b6108775761085a8633610582565b61087757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661089e57604051633a954ecd60e21b815260040160405180910390fd5b6108ab8686866001611503565b80156108b657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610948576001840160008181526004602052604081205490036109465760005481146109465760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206120d783398151915260405160405180910390a45b505050505050565b61098861143a565b6002600954036109df5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600c546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610a31576040519150601f19603f3d011682016040523d82523d6000602084013e610a36565b606091505b5050905080610a4457600080fd5b506001600955565b610a67838383604051806020016040528060008152506111ca565b505050565b610a7461143a565b828114610a8057600080fd5b60005b83811015610b6457600b54838383818110610aa057610aa0611f1f565b90506020020135610ab46000546000190190565b610abe9190611f4b565b1115610b0c5760405162461bcd60e51b815260206004820152601a60248201527f526571756573742045786365656473204d617820537570706c7900000000000060448201526064016109d6565b610b54858583818110610b2157610b21611f1f565b9050602002016020810190610b369190611a84565b848484818110610b4857610b48611f1f565b9050602002013561156c565b610b5d81611f5e565b9050610a83565b5050505050565b600a8054610b7890611ee5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba490611ee5565b8015610bf15780601f10610bc657610100808354040283529160200191610bf1565b820191906000526020600020905b815481529060010190602001808311610bd457829003601f168201915b505050505081565b6060816000816001600160401b03811115610c1657610c16611d42565b604051908082528060200260200182016040528015610c6857816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c345790505b50905060005b828114610cbb57610c96868683818110610c8a57610c8a611f1f565b9050602002013561120e565b828281518110610ca857610ca8611f1f565b6020908102919091010152600101610c6e565b50949350505050565b600061063c82611494565b610cd761143a565b60005b81811015610a6757610d03838383818110610cf757610cf7611f1f565b90506020020135611653565b610d0c81611f5e565b9050610cda565b610d1b61143a565b60005b82811015610dcf57600b5482610d376000546000190190565b610d419190611f4b565b1115610d8f5760405162461bcd60e51b815260206004820152601a60248201527f526571756573742045786365656473204d617820537570706c7900000000000060448201526064016109d6565b610dbf848483818110610da457610da4611f1f565b9050602002016020810190610db99190611a84565b8361156c565b610dc881611f5e565b9050610d1e565b50505050565b610ddd61143a565b60005460001901811015610e595760405162461bcd60e51b815260206004820152603960248201527f6e65774d6178537570706c79206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f20746f74616c4d696e7465640000000000000060648201526084016109d6565b600b55565b60006001600160a01b038216610e87576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610eb461143a565b610ebe600061165e565b565b60606000806000610ed085610e5e565b90506000816001600160401b03811115610eec57610eec611d42565b604051908082528060200260200182016040528015610f15578160200160208202803683370190505b509050610f4260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610fbc57610f55816116b0565b91508160400151610fb45781516001600160a01b031615610f7557815194505b876001600160a01b0316856001600160a01b031603610fb45780838780600101985081518110610fa757610fa7611f1f565b6020026020010181815250505b600101610f45565b50909695505050505050565b60606003805461065190611ee5565b6060818310610ff957604051631960ccad60e11b815260040160405180910390fd5b60008061100560005490565b9050600185101561101557600194505b80841115611021578093505b600061102c87610e5e565b90508486101561104b5785850381811015611045578091505b5061104f565b5060005b6000816001600160401b0381111561106957611069611d42565b604051908082528060200260200182016040528015611092578160200160208202803683370190505b509050816000036110a857935061115792505050565b60006110b38861120e565b9050600081604001516110c4575080515b885b8881141580156110d65750848714155b1561114b576110e4816116b0565b925082604001516111435782516001600160a01b03161561110457825191505b8a6001600160a01b0316826001600160a01b031603611143578084888060010199508151811061113657611136611f1f565b6020026020010181815250505b6001016110c6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d58484846107e2565b6001600160a01b0383163b15610dcf576111f1848484846116ec565b610dcf576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061126757506000548310155b156112725792915050565b61127b836116b0565b905080604001511561128d5792915050565b611157836117d7565b60606112a182611405565b6112e55760405162461bcd60e51b81526020600482015260156024820152741d1bdad95b925908191bd95cdb89dd08195e1a5cdd605a1b60448201526064016109d6565b600a80546112f290611ee5565b80601f016020809104026020016040519081016040528092919081815260200182805461131e90611ee5565b801561136b5780601f106113405761010080835404028352916020019161136b565b820191906000526020600020905b81548152906001019060200180831161134e57829003601f168201915b50505050509050919050565b61137f61143a565b600a610a67828483611fbd565b61139461143a565b6001600160a01b0381166113f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d6565b6114028161165e565b50565b600081600111158015611419575060005482105b801561063c575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ebe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d6565b600081806001116114ea576000548110156114ea5760008181526004602052604081205490600160e01b821690036114e8575b806000036111575750600019016000818152600460205260409020546114c7565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b038416158061152057506001600160a01b038316155b610dcf5760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420616c6c6f77656420746f207472616e7366657220746f6b656e00000060448201526064016109d6565b60008054908290036115915760405163b562e8dd60e01b815260040160405180910390fd5b61159e6000848385611503565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206120d78339815191528180a4600183015b81811461162957808360006000805160206120d7833981519152600080a4600101611603565b508160000361164a57604051622e076360e81b815260040160405180910390fd5b60005550505050565b61140281600061180c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461063c90611952565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061172190339089908890889060040161207c565b6020604051808303816000875af192505050801561175c575060408051601f3d908101601f19168201909252611759918101906120b9565b60015b6117ba573d80801561178a576040519150601f19603f3d011682016040523d82523d6000602084013e61178f565b606091505b5080516000036117b2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261063c61180783611494565b611952565b600061181783611494565b90508060008061183586600090815260066020526040902080549091565b9150915084156118755761184a818433610837565b611875576118588333610582565b61187557604051632ce44b5f60e11b815260040160405180910390fd5b611883836000886001611503565b801561188e57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361191c5760018601600081815260046020526040812054900361191a57600054811461191a5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206120d7833981519152908390a45050600180548101905550505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6001600160e01b03198116811461140257600080fd5b6000602082840312156119c157600080fd5b813561115781611999565b6000815180845260005b818110156119f2576020818501810151868301820152016119d6565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061115760208301846119cc565b600060208284031215611a3757600080fd5b5035919050565b80356001600160a01b0381168114611a5557600080fd5b919050565b60008060408385031215611a6d57600080fd5b611a7683611a3e565b946020939093013593505050565b600060208284031215611a9657600080fd5b61115782611a3e565b600080600060608486031215611ab457600080fd5b611abd84611a3e565b9250611acb60208501611a3e565b9150604084013590509250925092565b60008083601f840112611aed57600080fd5b5081356001600160401b03811115611b0457600080fd5b6020830191508360208260051b8501011115611b1f57600080fd5b9250929050565b60008060008060408587031215611b3c57600080fd5b84356001600160401b0380821115611b5357600080fd5b611b5f88838901611adb565b90965094506020870135915080821115611b7857600080fd5b50611b8587828801611adb565b95989497509550505050565b60008060208385031215611ba457600080fd5b82356001600160401b03811115611bba57600080fd5b611bc685828601611adb565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610fbc57611c3d838551611bd2565b9284019260809290920191600101611c2a565b600080600060408486031215611c6557600080fd5b83356001600160401b03811115611c7b57600080fd5b611c8786828701611adb565b909790965060209590950135949350505050565b6020808252825182820181905260009190848201906040850190845b81811015610fbc57835183529284019291840191600101611cb7565b600080600060608486031215611ce857600080fd5b611cf184611a3e565b95602085013595506040909401359392505050565b60008060408385031215611d1957600080fd5b611d2283611a3e565b915060208301358015158114611d3757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611d6e57600080fd5b611d7785611a3e565b9350611d8560208601611a3e565b92506040850135915060608501356001600160401b0380821115611da857600080fd5b818701915087601f830112611dbc57600080fd5b813581811115611dce57611dce611d42565b604051601f8201601f19908116603f01168101908382118183101715611df657611df6611d42565b816040528281528a6020848701011115611e0f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6080810161063c8284611bd2565b60008060208385031215611e5457600080fd5b82356001600160401b0380821115611e6b57600080fd5b818501915085601f830112611e7f57600080fd5b813581811115611e8e57600080fd5b866020828501011115611ea057600080fd5b60209290920196919550909350505050565b60008060408385031215611ec557600080fd5b611ece83611a3e565b9150611edc60208401611a3e565b90509250929050565b600181811c90821680611ef957607f821691505b602082108103611f1957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561063c5761063c611f35565b600060018201611f7057611f70611f35565b5060010190565b601f821115610a6757600081815260208120601f850160051c81016020861015611f9e5750805b601f850160051c820191505b8181101561097857828155600101611faa565b6001600160401b03831115611fd457611fd4611d42565b611fe883611fe28354611ee5565b83611f77565b6000601f84116001811461201c57600085156120045750838201355b600019600387901b1c1916600186901b178355610b64565b600083815260209020601f19861690835b8281101561204d578685013582556020948501946001909201910161202d565b508682101561206a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120af908301846119cc565b9695505050505050565b6000602082840312156120cb57600080fd5b81516111578161199956feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e7f36180383d3749199b5ce9631213b9fa327cb2191c59b73b88563f9d8ea6ea64736f6c63430008110033
Deployed Bytecode Sourcemap
69369:4250:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27286:639;;;;;;;;;;-1:-1:-1;27286:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27286:639:0;;;;;;;;28188:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34679:218::-;;;;;;;;;;-1:-1:-1;34679:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1594:32:1;;;1576:51;;1564:2;1549:18;34679:218:0;1430:203:1;34112:408:0;;;;;;:::i;:::-;;:::i;:::-;;23939:323;;;;;;;;;;-1:-1:-1;73607:1:0;24213:12;24000:7;24197:13;:28;-1:-1:-1;;24197:46:0;23939:323;;;2221:25:1;;;2209:2;2194:18;23939:323:0;2075:177:1;72090:147:0;;;;;;;;;;-1:-1:-1;72090:147:0;;;;;:::i;:::-;;:::i;38318:2825::-;;;;;;:::i;:::-;;:::i;72340:188::-;;;:::i;41239:193::-;;;;;;:::i;:::-;;:::i;70195:466::-;;;;;;;;;;-1:-1:-1;70195:466:0;;;;;:::i;:::-;;:::i;69534:128::-;;;;;;;;;;;;;:::i;64509:528::-;;;;;;;;;;-1:-1:-1;64509:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;29581:152::-;;;;;;;;;;-1:-1:-1;29581:152:0;;;;;:::i;:::-;;:::i;71191:175::-;;;;;;;;;;-1:-1:-1;71191:175:0;;;;;:::i;:::-;;:::i;70753:357::-;;;;;;;;;;-1:-1:-1;70753:357:0;;;;;:::i;:::-;;:::i;71543:218::-;;;;;;;;;;-1:-1:-1;71543:218:0;;;;;:::i;:::-;;:::i;25123:233::-;;;;;;;;;;-1:-1:-1;25123:233:0;;;;;:::i;:::-;;:::i;5568:103::-;;;;;;;;;;;;;:::i;68385:900::-;;;;;;;;;;-1:-1:-1;68385:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4920:87::-;;;;;;;;;;-1:-1:-1;4993:6:0;;-1:-1:-1;;;;;4993:6:0;4920:87;;28364:104;;;;;;;;;;;;;:::i;65425:2513::-;;;;;;;;;;-1:-1:-1;65425:2513:0;;;;;:::i;:::-;;:::i;35237:234::-;;;;;;;;;;-1:-1:-1;35237:234:0;;;;;:::i;:::-;;:::i;73174:93::-;;;;;;;;;;-1:-1:-1;73218:7:0;24606:13;-1:-1:-1;;24606:31:0;73174:93;;42030:407;;;;;;:::i;:::-;;:::i;63922:428::-;;;;;;;;;;-1:-1:-1;63922:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72673:218::-;;;;;;;;;;-1:-1:-1;72673:218:0;;;;;:::i;:::-;;:::i;69704:32::-;;;;;;;;;;;;;;;;71829:162;;;;;;;;;;-1:-1:-1;71829:162:0;;;;;:::i;:::-;;:::i;35628:164::-;;;;;;;;;;-1:-1:-1;35628:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;35749:25:0;;;35725:4;35749:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35628:164;69779:94;;;;;;;;;;-1:-1:-1;69779:94:0;;;;-1:-1:-1;;;;;69779:94:0;;;5826:201;;;;;;;;;;-1:-1:-1;5826:201:0;;;;;:::i;:::-;;:::i;27286:639::-;27371:4;-1:-1:-1;;;;;;;;;27695:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;27772:25:0;;;27695:102;:179;;;-1:-1:-1;;;;;;;;;;27849:25:0;;;27695:179;27675:199;27286:639;-1:-1:-1;;27286:639:0:o;28188:100::-;28242:13;28275:5;28268:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28188:100;:::o;34679:218::-;34755:7;34780:16;34788:7;34780;:16::i;:::-;34775:64;;34805:34;;-1:-1:-1;;;34805:34:0;;;;;;;;;;;34775:64;-1:-1:-1;34859:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;34859:30:0;;34679:218::o;34112:408::-;34201:13;34217:16;34225:7;34217;:16::i;:::-;34201:32;-1:-1:-1;58445:10:0;-1:-1:-1;;;;;34250:28:0;;;34246:175;;34298:44;34315:5;58445:10;35628:164;:::i;34298:44::-;34293:128;;34370:35;;-1:-1:-1;;;34370:35:0;;;;;;;;;;;34293:128;34433:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;34433:35:0;-1:-1:-1;;;;;34433:35:0;;;;;;;;;34484:28;;34433:24;;34484:28;;;;;;;34190:330;34112:408;;:::o;72090:147::-;4806:13;:11;:13::i;:::-;72179:17:::1;:50:::0;;-1:-1:-1;;;;;;72179:50:0::1;-1:-1:-1::0;;;;;72179:50:0;;;::::1;::::0;;;::::1;::::0;;72090:147::o;38318:2825::-;38460:27;38490;38509:7;38490:18;:27::i;:::-;38460:57;;38575:4;-1:-1:-1;;;;;38534:45:0;38550:19;-1:-1:-1;;;;;38534:45:0;;38530:86;;38588:28;;-1:-1:-1;;;38588:28:0;;;;;;;;;;;38530:86;38630:27;37426:24;;;:15;:24;;;;;37654:26;;38821:68;37654:26;38863:4;58445:10;38869:19;-1:-1:-1;;;;;36900:32:0;;;36744:28;;37029:20;;37051:30;;37026:56;;36441:659;38821:68;38816:180;;38909:43;38926:4;58445:10;35628:164;:::i;38909:43::-;38904:92;;38961:35;;-1:-1:-1;;;38961:35:0;;;;;;;;;;;38904:92;-1:-1:-1;;;;;39013:16:0;;39009:52;;39038:23;;-1:-1:-1;;;39038:23:0;;;;;;;;;;;39009:52;39074:43;39096:4;39102:2;39106:7;39115:1;39074:21;:43::i;:::-;39210:15;39207:160;;;39350:1;39329:19;39322:30;39207:160;-1:-1:-1;;;;;39747:24:0;;;;;;;:18;:24;;;;;;39745:26;;-1:-1:-1;;39745:26:0;;;39816:22;;;;;;;;;39814:24;;-1:-1:-1;39814:24:0;;;32970:11;32945:23;32941:41;32928:63;-1:-1:-1;;;32928:63:0;40109:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;40404:47:0;;:52;;40400:627;;40509:1;40499:11;;40477:19;40632:30;;;:17;:30;;;;;;:35;;40628:384;;40770:13;;40755:11;:28;40751:242;;40917:30;;;;:17;:30;;;;;:52;;;40751:242;40458:569;40400:627;41074:7;41070:2;-1:-1:-1;;;;;41055:27:0;41064:4;-1:-1:-1;;;;;41055:27:0;-1:-1:-1;;;;;;;;;;;41055:27:0;;;;;;;;;41093:42;38449:2694;;;38318:2825;;;:::o;72340:188::-;4806:13;:11;:13::i;:::-;1845:1:::1;2443:7;;:19:::0;2435:63:::1;;;::::0;-1:-1:-1;;;2435:63:0;;10499:2:1;2435:63:0::1;::::0;::::1;10481:21:1::0;10538:2;10518:18;;;10511:30;10577:33;10557:18;;;10550:61;10628:18;;2435:63:0::1;;;;;;;;;1845:1;2576:7;:18:::0;72436:17:::2;::::0;72428:65:::2;::::0;72410:12:::2;::::0;-1:-1:-1;;;;;72436:17:0::2;::::0;72467:21:::2;::::0;72410:12;72428:65;72410:12;72428:65;72467:21;72436:17;72428:65:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72409:84;;;72512:7;72504:16;;;::::0;::::2;;-1:-1:-1::0;1801:1:0::1;2755:7;:22:::0;72340:188::o;41239:193::-;41385:39;41402:4;41408:2;41412:7;41385:39;;;;;;;;;;;;:16;:39::i;:::-;41239:193;;;:::o;70195:466::-;4806:13;:11;:13::i;:::-;70341:55;;::::1;70333:64;;;::::0;::::1;;70413:9;70408:246;70428:21:::0;;::::1;70408:246;;;70535:9;;70501:27;;70529:1;70501:30;;;;;;;:::i;:::-;;;;;;;70484:14;24415:7:::0;24606:13;-1:-1:-1;;24606:31:0;;24360:296;70484:14:::1;:47;;;;:::i;:::-;:60;;70476:99;;;::::0;-1:-1:-1;;;70476:99:0;;11463:2:1;70476:99:0::1;::::0;::::1;11445:21:1::0;11502:2;11482:18;;;11475:30;11541:28;11521:18;;;11514:56;11587:18;;70476:99:0::1;11261:350:1::0;70476:99:0::1;70590:52;70596:10;;70607:1;70596:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;70611:27;;70639:1;70611:30;;;;;;;:::i;:::-;;;;;;;70590:5;:52::i;:::-;70451:3;::::0;::::1;:::i;:::-;;;70408:246;;;;70195:466:::0;;;;:::o;69534:128::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64509:528::-;64653:23;64744:8;64719:22;64744:8;-1:-1:-1;;;;;64811:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64811:36:0;;-1:-1:-1;;64811:36:0;;;;;;;;;;;;64774:73;;64867:9;64862:125;64883:14;64878:1;:19;64862:125;;64939:32;64959:8;;64968:1;64959:11;;;;;;;:::i;:::-;;;;;;;64939:19;:32::i;:::-;64923:10;64934:1;64923:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;64899:3;;64862:125;;;-1:-1:-1;65008:10:0;64509:528;-1:-1:-1;;;;64509:528:0:o;29581:152::-;29653:7;29696:27;29715:7;29696:18;:27::i;71191:175::-;4806:13;:11;:13::i;:::-;71273:9:::1;71268:91;71288:19:::0;;::::1;71268:91;;;71329:18;71335:8;;71344:1;71335:11;;;;;;;:::i;:::-;;;;;;;71329:5;:18::i;:::-;71309:3;::::0;::::1;:::i;:::-;;;71268:91;;70753:357:::0;4806:13;:11;:13::i;:::-;70876:9:::1;70871:232;70891:21:::0;;::::1;70871:232;;;70991:9;;70964:23;70947:14;24415:7:::0;24606:13;-1:-1:-1;;24606:31:0;;24360:296;70947:14:::1;:40;;;;:::i;:::-;:53;;70939:92;;;::::0;-1:-1:-1;;;70939:92:0;;11463:2:1;70939:92:0::1;::::0;::::1;11445:21:1::0;11502:2;11482:18;;;11475:30;11541:28;11521:18;;;11514:56;11587:18;;70939:92:0::1;11261:350:1::0;70939:92:0::1;71046:45;71052:10;;71063:1;71052:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;71067:23;71046:5;:45::i;:::-;70914:3;::::0;::::1;:::i;:::-;;;70871:232;;;;70753:357:::0;;;:::o;71543:218::-;4806:13;:11;:13::i;:::-;24415:7;24606:13;-1:-1:-1;;24606:31:0;71624:13:::1;:31;;71616:101;;;::::0;-1:-1:-1;;;71616:101:0;;11958:2:1;71616:101:0::1;::::0;::::1;11940:21:1::0;11997:2;11977:18;;;11970:30;12036:34;12016:18;;;12009:62;12107:27;12087:18;;;12080:55;12152:19;;71616:101:0::1;11756:421:1::0;71616:101:0::1;71728:9;:25:::0;71543:218::o;25123:233::-;25195:7;-1:-1:-1;;;;;25219:19:0;;25215:60;;25247:28;;-1:-1:-1;;;25247:28:0;;;;;;;;;;;25215:60;-1:-1:-1;;;;;;25293:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;25293:55:0;;25123:233::o;5568:103::-;4806:13;:11;:13::i;:::-;5633:30:::1;5660:1;5633:18;:30::i;:::-;5568:103::o:0;68385:900::-;68463:16;68517:19;68551:25;68591:22;68616:16;68626:5;68616:9;:16::i;:::-;68591:41;;68647:25;68689:14;-1:-1:-1;;;;;68675:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68675:29:0;;68647:57;;68719:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68719:31:0;73607:1;68765:472;68814:14;68799:11;:29;68765:472;;68866:15;68879:1;68866:12;:15::i;:::-;68854:27;;68904:9;:16;;;68945:8;68900:73;68995:14;;-1:-1:-1;;;;;68995:28:0;;68991:111;;69068:14;;;-1:-1:-1;68991:111:0;69145:5;-1:-1:-1;;;;;69124:26:0;:17;-1:-1:-1;;;;;69124:26:0;;69120:102;;69201:1;69175:8;69184:13;;;;;;69175:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;69120:102;68830:3;;68765:472;;;-1:-1:-1;69258:8:0;;68385:900;-1:-1:-1;;;;;;68385:900:0:o;28364:104::-;28420:13;28453:7;28446:14;;;;;:::i;65425:2513::-;65568:16;65635:4;65626:5;:13;65622:45;;65648:19;;-1:-1:-1;;;65648:19:0;;;;;;;;;;;65622:45;65682:19;65716:17;65736:14;23681:7;23708:13;;23626:103;65736:14;65716:34;-1:-1:-1;73607:1:0;65828:5;:23;65824:87;;;73607:1;65872:23;;65824:87;65987:9;65980:4;:16;65976:73;;;66024:9;66017:16;;65976:73;66063:25;66091:16;66101:5;66091:9;:16::i;:::-;66063:44;;66285:4;66277:5;:12;66273:278;;;66332:12;;;66367:31;;;66363:111;;;66443:11;66423:31;;66363:111;66291:198;66273:278;;;-1:-1:-1;66534:1:0;66273:278;66565:25;66607:17;-1:-1:-1;;;;;66593:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66593:32:0;;66565:60;;66644:17;66665:1;66644:22;66640:78;;66694:8;-1:-1:-1;66687:15:0;;-1:-1:-1;;;66687:15:0;66640:78;66862:31;66896:26;66916:5;66896:19;:26::i;:::-;66862:60;;66937:25;67182:9;:16;;;67177:92;;-1:-1:-1;67239:14:0;;67177:92;67300:5;67283:478;67312:4;67307:1;:9;;:45;;;;;67335:17;67320:11;:32;;67307:45;67283:478;;;67390:15;67403:1;67390:12;:15::i;:::-;67378:27;;67428:9;:16;;;67469:8;67424:73;67519:14;;-1:-1:-1;;;;;67519:28:0;;67515:111;;67592:14;;;-1:-1:-1;67515:111:0;67669:5;-1:-1:-1;;;;;67648:26:0;:17;-1:-1:-1;;;;;67648:26:0;;67644:102;;67725:1;67699:8;67708:13;;;;;;67699:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;67644:102;67354:3;;67283:478;;;-1:-1:-1;;;67846:29:0;;;-1:-1:-1;67853:8:0;;-1:-1:-1;;65425:2513:0;;;;;;:::o;35237:234::-;58445:10;35332:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;35332:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;35332:60:0;;;;;;;;;;35408:55;;540:41:1;;;35332:49:0;;58445:10;35408:55;;513:18:1;35408:55:0;;;;;;;35237:234;;:::o;42030:407::-;42205:31;42218:4;42224:2;42228:7;42205:12;:31::i;:::-;-1:-1:-1;;;;;42251:14:0;;;:19;42247:183;;42290:56;42321:4;42327:2;42331:7;42340:5;42290:30;:56::i;:::-;42285:145;;42374:40;;-1:-1:-1;;;42374:40:0;;;;;;;;;;;63922:428;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73607:1:0;64086:7;:25;:54;;;-1:-1:-1;23681:7:0;23708:13;64115:7;:25;;64086:54;64082:103;;;64164:9;63922:428;-1:-1:-1;;63922:428:0:o;64082:103::-;64207:21;64220:7;64207:12;:21::i;:::-;64195:33;;64243:9;:16;;;64239:65;;;64283:9;63922:428;-1:-1:-1;;63922:428:0:o;64239:65::-;64321:21;64334:7;64321:12;:21::i;72673:218::-;72767:13;72801:17;72809:8;72801:7;:17::i;:::-;72793:51;;;;-1:-1:-1;;;72793:51:0;;12384:2:1;72793:51:0;;;12366:21:1;12423:2;12403:18;;;12396:30;-1:-1:-1;;;12442:18:1;;;12435:51;12503:18;;72793:51:0;12182:345:1;72793:51:0;72862:21;72855:28;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72673:218;;;:::o;71829:162::-;4806:13;:11;:13::i;:::-;71934:21:::1;:49;71958:25:::0;;71934:21;:49:::1;:::i;5826:201::-:0;4806:13;:11;:13::i;:::-;-1:-1:-1;;;;;5915:22:0;::::1;5907:73;;;::::0;-1:-1:-1;;;5907:73:0;;14792:2:1;5907:73:0::1;::::0;::::1;14774:21:1::0;14831:2;14811:18;;;14804:30;14870:34;14850:18;;;14843:62;-1:-1:-1;;;14921:18:1;;;14914:36;14967:19;;5907:73:0::1;14590:402:1::0;5907:73:0::1;5991:28;6010:8;5991:18;:28::i;:::-;5826:201:::0;:::o;36050:282::-;36115:4;36171:7;73607:1;36152:26;;:66;;;;;36205:13;;36195:7;:23;36152:66;:153;;;;-1:-1:-1;;36256:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36256:44:0;:49;;36050:282::o;5085:132::-;4993:6;;-1:-1:-1;;;;;4993:6:0;58445:10;5149:23;5141:68;;;;-1:-1:-1;;;5141:68:0;;15199:2:1;5141:68:0;;;15181:21:1;;;15218:18;;;15211:30;15277:34;15257:18;;;15250:62;15329:18;;5141:68:0;14997:356:1;30736:1275:0;30803:7;30838;;73607:1;30887:23;30883:1061;;30940:13;;30933:4;:20;30929:1015;;;30978:14;30995:23;;;:17;:23;;;;;;;-1:-1:-1;;;31084:24:0;;:29;;31080:845;;31749:113;31756:6;31766:1;31756:11;31749:113;;-1:-1:-1;;;31827:6:0;31809:25;;;;:17;:25;;;;;;31749:113;;31080:845;30955:989;30929:1015;31972:31;;-1:-1:-1;;;31972:31:0;;;;;;;;;;;73307:200;-1:-1:-1;;;;;73427:18:0;;;;:38;;-1:-1:-1;;;;;;73449:16:0;;;73427:38;73419:80;;;;-1:-1:-1;;;73419:80:0;;15560:2:1;73419:80:0;;;15542:21:1;15599:2;15579:18;;;15572:30;15638:31;15618:18;;;15611:59;15687:18;;73419:80:0;15358:353:1;45699:2966:0;45772:20;45795:13;;;45823;;;45819:44;;45845:18;;-1:-1:-1;;;45845:18:0;;;;;;;;;;;45819:44;45876:61;45906:1;45910:2;45914:12;45928:8;45876:21;:61::i;:::-;-1:-1:-1;;;;;46351:22:0;;;;;;:18;:22;;;;19420:2;46351:22;;;:71;;46389:32;46377:45;;46351:71;;;46665:31;;;:17;:31;;;;;-1:-1:-1;33401:15:0;;33375:24;33371:46;32970:11;32945:23;32941:41;32938:52;32928:63;;46665:173;;46900:23;;;;46665:31;;46351:22;;-1:-1:-1;;;;;;;;;;;46351:22:0;;47518:335;48179:1;48165:12;48161:20;48119:346;48220:3;48211:7;48208:16;48119:346;;48438:7;48428:8;48425:1;-1:-1:-1;;;;;;;;;;;48395:1:0;48392;48387:59;48273:1;48260:15;48119:346;;;48123:77;48498:8;48510:1;48498:13;48494:45;;48520:19;;-1:-1:-1;;;48520:19:0;;;;;;;;;;;48494:45;48556:13;:19;-1:-1:-1;41239:193:0;;;:::o;52569:89::-;52629:21;52635:7;52644:5;52629;:21::i;6187:191::-;6280:6;;;-1:-1:-1;;;;;6297:17:0;;;-1:-1:-1;;;;;;6297:17:0;;;;;;;6330:40;;6280:6;;;6297:17;6280:6;;6330:40;;6261:16;;6330:40;6250:128;6187:191;:::o;30184:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30312:24:0;;;;:17;:24;;;;;;30293:44;;:18;:44::i;44521:716::-;44705:88;;-1:-1:-1;;;44705:88:0;;44684:4;;-1:-1:-1;;;;;44705:45:0;;;;;:88;;58445:10;;44772:4;;44778:7;;44787:5;;44705:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44705:88:0;;;;;;;;-1:-1:-1;;44705:88:0;;;;;;;;;;;;:::i;:::-;;;44701:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44988:6;:13;45005:1;44988:18;44984:235;;45034:40;;-1:-1:-1;;;45034:40:0;;;;;;;;;;;44984:235;45177:6;45171:13;45162:6;45158:2;45154:15;45147:38;44701:529;-1:-1:-1;;;;;;44864:64:0;-1:-1:-1;;;44864:64:0;;-1:-1:-1;44521:716:0;;;;;;:::o;29922:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30033:47:0;30052:27;30071:7;30052:18;:27::i;:::-;30033:18;:47::i;52887:3081::-;52967:27;52997;53016:7;52997:18;:27::i;:::-;52967:57;-1:-1:-1;52967:57:0;53037:12;;53159:35;53186:7;37315:27;37426:24;;;:15;:24;;;;;37654:26;;37426:24;;37213:485;53159:35;53102:92;;;;53211:13;53207:316;;;53332:68;53357:15;53374:4;58445:10;53380:19;58358:105;53332:68;53327:184;;53424:43;53441:4;58445:10;35628:164;:::i;53424:43::-;53419:92;;53476:35;;-1:-1:-1;;;53476:35:0;;;;;;;;;;;53419:92;53535:51;53557:4;53571:1;53575:7;53584:1;53535:21;:51::i;:::-;53679:15;53676:160;;;53819:1;53798:19;53791:30;53676:160;-1:-1:-1;;;;;54438:24:0;;;;;;:18;:24;;;;;:60;;54466:32;54438:60;;;32970:11;32945:23;32941:41;32928:63;-1:-1:-1;;;32928:63:0;54736:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;55061:47:0;;:52;;55057:627;;55166:1;55156:11;;55134:19;55289:30;;;:17;:30;;;;;;:35;;55285:384;;55427:13;;55412:11;:28;55408:242;;55574:30;;;;:17;:30;;;;;:52;;;55408:242;55115:569;55057:627;55712:35;;55739:7;;55735:1;;-1:-1:-1;;;;;55712:35:0;;;-1:-1:-1;;;;;;;;;;;55712:35:0;55735:1;;55712:35;-1:-1:-1;;55935:12:0;:14;;;;;;-1:-1:-1;;;;52887:3081:0:o;32110:366::-;-1:-1:-1;;;;;;;;;;;;;32220:41:0;;;;19941:3;32306:33;;;-1:-1:-1;;;;;32272:68:0;-1:-1:-1;;;32272:68:0;-1:-1:-1;;;32370:24:0;;:29;;-1:-1:-1;;;32351:48:0;;;;20462:3;32439:28;;;;-1:-1:-1;;;32410:58:0;-1:-1:-1;32110:366:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:180::-;1304:6;1357:2;1345:9;1336:7;1332:23;1328:32;1325:52;;;1373:1;1370;1363:12;1325:52;-1:-1:-1;1396:23:1;;1245:180;-1:-1:-1;1245:180:1:o;1638:173::-;1706:20;;-1:-1:-1;;;;;1755:31:1;;1745:42;;1735:70;;1801:1;1798;1791:12;1735:70;1638:173;;;:::o;1816:254::-;1884:6;1892;1945:2;1933:9;1924:7;1920:23;1916:32;1913:52;;;1961:1;1958;1951:12;1913:52;1984:29;2003:9;1984:29;:::i;:::-;1974:39;2060:2;2045:18;;;;2032:32;;-1:-1:-1;;;1816:254:1:o;2257:186::-;2316:6;2369:2;2357:9;2348:7;2344:23;2340:32;2337:52;;;2385:1;2382;2375:12;2337:52;2408:29;2427:9;2408:29;:::i;2448:328::-;2525:6;2533;2541;2594:2;2582:9;2573:7;2569:23;2565:32;2562:52;;;2610:1;2607;2600:12;2562:52;2633:29;2652:9;2633:29;:::i;:::-;2623:39;;2681:38;2715:2;2704:9;2700:18;2681:38;:::i;:::-;2671:48;;2766:2;2755:9;2751:18;2738:32;2728:42;;2448:328;;;;;:::o;2781:367::-;2844:8;2854:6;2908:3;2901:4;2893:6;2889:17;2885:27;2875:55;;2926:1;2923;2916:12;2875:55;-1:-1:-1;2949:20:1;;-1:-1:-1;;;;;2981:30:1;;2978:50;;;3024:1;3021;3014:12;2978:50;3061:4;3053:6;3049:17;3037:29;;3121:3;3114:4;3104:6;3101:1;3097:14;3089:6;3085:27;3081:38;3078:47;3075:67;;;3138:1;3135;3128:12;3075:67;2781:367;;;;;:::o;3153:773::-;3275:6;3283;3291;3299;3352:2;3340:9;3331:7;3327:23;3323:32;3320:52;;;3368:1;3365;3358:12;3320:52;3408:9;3395:23;-1:-1:-1;;;;;3478:2:1;3470:6;3467:14;3464:34;;;3494:1;3491;3484:12;3464:34;3533:70;3595:7;3586:6;3575:9;3571:22;3533:70;:::i;:::-;3622:8;;-1:-1:-1;3507:96:1;-1:-1:-1;3710:2:1;3695:18;;3682:32;;-1:-1:-1;3726:16:1;;;3723:36;;;3755:1;3752;3745:12;3723:36;;3794:72;3858:7;3847:8;3836:9;3832:24;3794:72;:::i;:::-;3153:773;;;;-1:-1:-1;3885:8:1;-1:-1:-1;;;;3153:773:1:o;3931:437::-;4017:6;4025;4078:2;4066:9;4057:7;4053:23;4049:32;4046:52;;;4094:1;4091;4084:12;4046:52;4134:9;4121:23;-1:-1:-1;;;;;4159:6:1;4156:30;4153:50;;;4199:1;4196;4189:12;4153:50;4238:70;4300:7;4291:6;4280:9;4276:22;4238:70;:::i;:::-;4327:8;;4212:96;;-1:-1:-1;3931:437:1;-1:-1:-1;;;;3931:437:1:o;4373:349::-;4457:12;;-1:-1:-1;;;;;4453:38:1;4441:51;;4545:4;4534:16;;;4528:23;-1:-1:-1;;;;;4524:48:1;4508:14;;;4501:72;4636:4;4625:16;;;4619:23;4612:31;4605:39;4589:14;;;4582:63;4698:4;4687:16;;;4681:23;4706:8;4677:38;4661:14;;4654:62;4373:349::o;4727:722::-;4960:2;5012:21;;;5082:13;;4985:18;;;5104:22;;;4931:4;;4960:2;5183:15;;;;5157:2;5142:18;;;4931:4;5226:197;5240:6;5237:1;5234:13;5226:197;;;5289:52;5337:3;5328:6;5322:13;5289:52;:::i;:::-;5398:15;;;;5370:4;5361:14;;;;;5262:1;5255:9;5226:197;;5454:505;5549:6;5557;5565;5618:2;5606:9;5597:7;5593:23;5589:32;5586:52;;;5634:1;5631;5624:12;5586:52;5674:9;5661:23;-1:-1:-1;;;;;5699:6:1;5696:30;5693:50;;;5739:1;5736;5729:12;5693:50;5778:70;5840:7;5831:6;5820:9;5816:22;5778:70;:::i;:::-;5867:8;;5752:96;;-1:-1:-1;5949:2:1;5934:18;;;;5921:32;;5454:505;-1:-1:-1;;;;5454:505:1:o;5964:632::-;6135:2;6187:21;;;6257:13;;6160:18;;;6279:22;;;6106:4;;6135:2;6358:15;;;;6332:2;6317:18;;;6106:4;6401:169;6415:6;6412:1;6409:13;6401:169;;;6476:13;;6464:26;;6545:15;;;;6510:12;;;;6437:1;6430:9;6401:169;;6601:322;6678:6;6686;6694;6747:2;6735:9;6726:7;6722:23;6718:32;6715:52;;;6763:1;6760;6753:12;6715:52;6786:29;6805:9;6786:29;:::i;:::-;6776:39;6862:2;6847:18;;6834:32;;-1:-1:-1;6913:2:1;6898:18;;;6885:32;;6601:322;-1:-1:-1;;;6601:322:1:o;6928:347::-;6993:6;7001;7054:2;7042:9;7033:7;7029:23;7025:32;7022:52;;;7070:1;7067;7060:12;7022:52;7093:29;7112:9;7093:29;:::i;:::-;7083:39;;7172:2;7161:9;7157:18;7144:32;7219:5;7212:13;7205:21;7198:5;7195:32;7185:60;;7241:1;7238;7231:12;7185:60;7264:5;7254:15;;;6928:347;;;;;:::o;7280:127::-;7341:10;7336:3;7332:20;7329:1;7322:31;7372:4;7369:1;7362:15;7396:4;7393:1;7386:15;7412:1138;7507:6;7515;7523;7531;7584:3;7572:9;7563:7;7559:23;7555:33;7552:53;;;7601:1;7598;7591:12;7552:53;7624:29;7643:9;7624:29;:::i;:::-;7614:39;;7672:38;7706:2;7695:9;7691:18;7672:38;:::i;:::-;7662:48;;7757:2;7746:9;7742:18;7729:32;7719:42;;7812:2;7801:9;7797:18;7784:32;-1:-1:-1;;;;;7876:2:1;7868:6;7865:14;7862:34;;;7892:1;7889;7882:12;7862:34;7930:6;7919:9;7915:22;7905:32;;7975:7;7968:4;7964:2;7960:13;7956:27;7946:55;;7997:1;7994;7987:12;7946:55;8033:2;8020:16;8055:2;8051;8048:10;8045:36;;;8061:18;;:::i;:::-;8136:2;8130:9;8104:2;8190:13;;-1:-1:-1;;8186:22:1;;;8210:2;8182:31;8178:40;8166:53;;;8234:18;;;8254:22;;;8231:46;8228:72;;;8280:18;;:::i;:::-;8320:10;8316:2;8309:22;8355:2;8347:6;8340:18;8395:7;8390:2;8385;8381;8377:11;8373:20;8370:33;8367:53;;;8416:1;8413;8406:12;8367:53;8472:2;8467;8463;8459:11;8454:2;8446:6;8442:15;8429:46;8517:1;8512:2;8507;8499:6;8495:15;8491:24;8484:35;8538:6;8528:16;;;;;;;7412:1138;;;;;;;:::o;8555:266::-;8751:3;8736:19;;8764:51;8740:9;8797:6;8764:51;:::i;8826:592::-;8897:6;8905;8958:2;8946:9;8937:7;8933:23;8929:32;8926:52;;;8974:1;8971;8964:12;8926:52;9014:9;9001:23;-1:-1:-1;;;;;9084:2:1;9076:6;9073:14;9070:34;;;9100:1;9097;9090:12;9070:34;9138:6;9127:9;9123:22;9113:32;;9183:7;9176:4;9172:2;9168:13;9164:27;9154:55;;9205:1;9202;9195:12;9154:55;9245:2;9232:16;9271:2;9263:6;9260:14;9257:34;;;9287:1;9284;9277:12;9257:34;9332:7;9327:2;9318:6;9314:2;9310:15;9306:24;9303:37;9300:57;;;9353:1;9350;9343:12;9300:57;9384:2;9376:11;;;;;9406:6;;-1:-1:-1;8826:592:1;;-1:-1:-1;;;;8826:592:1:o;9423:260::-;9491:6;9499;9552:2;9540:9;9531:7;9527:23;9523:32;9520:52;;;9568:1;9565;9558:12;9520:52;9591:29;9610:9;9591:29;:::i;:::-;9581:39;;9639:38;9673:2;9662:9;9658:18;9639:38;:::i;:::-;9629:48;;9423:260;;;;;:::o;9912:380::-;9991:1;9987:12;;;;10034;;;10055:61;;10109:4;10101:6;10097:17;10087:27;;10055:61;10162:2;10154:6;10151:14;10131:18;10128:38;10125:161;;10208:10;10203:3;10199:20;10196:1;10189:31;10243:4;10240:1;10233:15;10271:4;10268:1;10261:15;10125:161;;9912:380;;;:::o;10867:127::-;10928:10;10923:3;10919:20;10916:1;10909:31;10959:4;10956:1;10949:15;10983:4;10980:1;10973:15;10999:127;11060:10;11055:3;11051:20;11048:1;11041:31;11091:4;11088:1;11081:15;11115:4;11112:1;11105:15;11131:125;11196:9;;;11217:10;;;11214:36;;;11230:18;;:::i;11616:135::-;11655:3;11676:17;;;11673:43;;11696:18;;:::i;:::-;-1:-1:-1;11743:1:1;11732:13;;11616:135::o;12658:545::-;12760:2;12755:3;12752:11;12749:448;;;12796:1;12821:5;12817:2;12810:17;12866:4;12862:2;12852:19;12936:2;12924:10;12920:19;12917:1;12913:27;12907:4;12903:38;12972:4;12960:10;12957:20;12954:47;;;-1:-1:-1;12995:4:1;12954:47;13050:2;13045:3;13041:12;13038:1;13034:20;13028:4;13024:31;13014:41;;13105:82;13123:2;13116:5;13113:13;13105:82;;;13168:17;;;13149:1;13138:13;13105:82;;13379:1206;-1:-1:-1;;;;;13498:3:1;13495:27;13492:53;;;13525:18;;:::i;:::-;13554:94;13644:3;13604:38;13636:4;13630:11;13604:38;:::i;:::-;13598:4;13554:94;:::i;:::-;13674:1;13699:2;13694:3;13691:11;13716:1;13711:616;;;;14371:1;14388:3;14385:93;;;-1:-1:-1;14444:19:1;;;14431:33;14385:93;-1:-1:-1;;13336:1:1;13332:11;;;13328:24;13324:29;13314:40;13360:1;13356:11;;;13311:57;14491:78;;13684:895;;13711:616;12605:1;12598:14;;;12642:4;12629:18;;-1:-1:-1;;13747:17:1;;;13848:9;13870:229;13884:7;13881:1;13878:14;13870:229;;;13973:19;;;13960:33;13945:49;;14080:4;14065:20;;;;14033:1;14021:14;;;;13900:12;13870:229;;;13874:3;14127;14118:7;14115:16;14112:159;;;14251:1;14247:6;14241:3;14235;14232:1;14228:11;14224:21;14220:34;14216:39;14203:9;14198:3;14194:19;14181:33;14177:79;14169:6;14162:95;14112:159;;;14314:1;14308:3;14305:1;14301:11;14297:19;14291:4;14284:33;13684:895;;13379:1206;;;:::o;15716:489::-;-1:-1:-1;;;;;15985:15:1;;;15967:34;;16037:15;;16032:2;16017:18;;16010:43;16084:2;16069:18;;16062:34;;;16132:3;16127:2;16112:18;;16105:31;;;15910:4;;16153:46;;16179:19;;16171:6;16153:46;:::i;:::-;16145:54;15716:489;-1:-1:-1;;;;;;15716:489:1:o;16210:249::-;16279:6;16332:2;16320:9;16311:7;16307:23;16303:32;16300:52;;;16348:1;16345;16338:12;16300:52;16380:9;16374:16;16399:30;16423:5;16399:30;:::i
Swarm Source
ipfs://e7f36180383d3749199b5ce9631213b9fa327cb2191c59b73b88563f9d8ea6ea
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 ]
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.