Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
44 ONIP
Holders
44
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ONIPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OrdillaNiftyPass
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ //https://www.ordillas.com/ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; contract OrdillaNiftyPass is ERC721A, ERC2981, Ownable, ReentrancyGuard, AccessControl { uint256 public constant TOTAL_POSSIBLE = 2230; uint256 public mintPrice = 0; string private URI; string private baseExt; bool public publicMintOpen = false; mapping(address => uint256) public whitelist; constructor() ERC721A("Ordilla Nifty Island Pass", "ONIP") { _setDefaultRoyalty(owner(), 500); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function withdraw() external onlyOwner { (bool sent, ) = payable(owner()).call{value: address(this).balance}(""); require(sent, "Failed to send Ether"); } function updateOwnerlist(address[] calldata _addresses, uint256[] calldata _maxMints) external onlyOwner { require(_addresses.length == _maxMints.length, "Address and max mints array length must match"); for (uint256 i = 0; i < _addresses.length; i++) { whitelist[_addresses[i]] = _maxMints[i]; } } function claimMint(uint amount, address recipient) external payable nonReentrant { require(publicMintOpen, "Public mint is not open"); require(totalSupply() + amount <= TOTAL_POSSIBLE, "Exceeds total supply"); require(msg.value >= mintPrice * amount, "Insufficient payment"); require(whitelist[recipient] >= amount, "Exceeds max allowed to mint for address"); whitelist[recipient] -= amount; _safeMint(recipient, amount); } function setMintPrice(uint256 newPrice) external onlyOwner { mintPrice = newPrice; } function setBaseURIAndExtension(string calldata newURI, string calldata newBaseExt) external onlyOwner { URI = newURI; baseExt = newBaseExt; } function togglePublic() external onlyOwner { publicMintOpen = !publicMintOpen; } function remainingClaims(address user) public view returns (uint256) { return whitelist[user]; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(URI, _toString(tokenId), baseExt)); } function setRoyaltyInfo(address recipient, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(recipient, feeBasisPoints); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981, AccessControl) returns (bool) { return interfaceId == 0x80ac58cd || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol) pragma solidity ^0.8.20; import {IERC2981} from "../../interfaces/IERC2981.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator); /** * @dev The default royalty receiver is invalid. */ error ERC2981InvalidDefaultRoyaltyReceiver(address receiver); /** * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator); /** * @dev The royalty receiver for `tokenId` is invalid. */ error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidDefaultRoyaltyReceiver(address(0)); } _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0)); } _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.15; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(address(0x2a0C339eda6708C7b23059f7d623a6C0BB0bDFaF)); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() external virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) external virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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) } } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.20; import {IERC165} from "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_POSSIBLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"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":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"claimMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"remainingClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"newURI","type":"string"},{"internalType":"string","name":"newBaseExt","type":"string"}],"name":"setBaseURIAndExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","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":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_maxMints","type":"uint256[]"}],"name":"updateOwnerlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040525f600d555f60105f6101000a81548160ff0219169083151502179055503480156200002d575f80fd5b506040518060400160405280601981526020017f4f7264696c6c61204e696674792049736c616e642050617373000000000000008152506040518060400160405280600481526020017f4f4e4950000000000000000000000000000000000000000000000000000000008152508160029081620000ab9190620007b0565b508060039081620000bd9190620007b0565b50620000ce6200014060201b60201c565b5f819055505050620000fa732a0c339eda6708c7b23059f7d623a6c0bb0bdfaf6200014860201b60201c565b6001600b8190555062000125620001166200020b60201b60201c565b6101f46200023360201b60201c565b620001395f801b33620003dc60201b60201c565b506200097d565b5f6001905090565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f62000244620004d860201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115620002ac5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401620002a3929190620008f4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200031f575f6040517fb6d9900a00000000000000000000000000000000000000000000000000000000815260040162000316919062000962565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f620003ef8383620004e160201b60201c565b620004ce576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506200046a6200054560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050620004d2565b5f90505b92915050565b5f612710905090565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f33905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620005c857607f821691505b602082108103620005de57620005dd62000583565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620006427fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000605565b6200064e868362000605565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000698620006926200068c8462000666565b6200066f565b62000666565b9050919050565b5f819050919050565b620006b38362000678565b620006cb620006c2826200069f565b84845462000611565b825550505050565b5f90565b620006e1620006d3565b620006ee818484620006a8565b505050565b5b818110156200071557620007095f82620006d7565b600181019050620006f4565b5050565b601f82111562000764576200072e81620005e4565b6200073984620005f6565b8101602085101562000749578190505b620007616200075885620005f6565b830182620006f3565b50505b505050565b5f82821c905092915050565b5f620007865f198460080262000769565b1980831691505092915050565b5f620007a0838362000775565b9150826002028217905092915050565b620007bb826200054c565b67ffffffffffffffff811115620007d757620007d662000556565b5b620007e38254620005b0565b620007f082828562000719565b5f60209050601f83116001811462000826575f841562000811578287015190505b6200081d858262000793565b8655506200088c565b601f1984166200083686620005e4565b5f5b828110156200085f5784890151825560018201915060208501945060208101905062000838565b868310156200087f57848901516200087b601f89168262000775565b8355505b6001600288020188555050505b505050505050565b5f6bffffffffffffffffffffffff82169050919050565b5f620008cb620008c5620008bf8462000894565b6200066f565b62000666565b9050919050565b620008dd81620008ab565b82525050565b620008ee8162000666565b82525050565b5f604082019050620009095f830185620008d2565b620009186020830184620008e3565b9392505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200094a826200091f565b9050919050565b6200095c816200093e565b82525050565b5f602082019050620009775f83018462000951565b92915050565b613c1c806200098b5f395ff3fe60806040526004361061020e575f3560e01c80637e3a039a11610117578063bcc9ca5b1161009f578063e1ae023d1161006e578063e1ae023d1461073d578063e985e9c514610765578063f2fc4ba6146107a1578063f2fde38b146107dd578063f4a0a528146108055761020e565b8063bcc9ca5b14610685578063c87b56dd146106af578063d298b8a5146106eb578063d547741f146107155761020e565b8063981d8771116100e6578063981d8771146105c55780639b19251a146105db578063a217fddf14610617578063a22cb46514610641578063b88d4fde146106695761020e565b80637e3a039a146105195780638da5cb5b1461053557806391d148541461055f57806395d89b411461059b5761020e565b80632a55205a1161019a57806342842e0e1161016957806342842e0e146104455780636352211e146104615780636817c76c1461049d57806370a08231146104c7578063715018a6146105035761020e565b80632a55205a146103a25780632f2ff15d146103df57806336568abe146104075780633ccfd60b1461042f5761020e565b8063081812fc116101e1578063081812fc146102c8578063095ea7b31461030457806318160ddd1461032057806323b872dd1461034a578063248a9ca3146103665761020e565b8063018149db1461021257806301ffc9a71461023a57806302fa7c471461027657806306fdde031461029e575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612793565b61082d565b005b348015610245575f80fd5b50610260600480360381019061025b9190612866565b61085f565b60405161026d91906128ab565b60405180910390f35b348015610281575f80fd5b5061029c6004803603810190610297919061295f565b6108a0565b005b3480156102a9575f80fd5b506102b26108b6565b6040516102bf9190612a27565b60405180910390f35b3480156102d3575f80fd5b506102ee60048036038101906102e99190612a7a565b610946565b6040516102fb9190612ab4565b60405180910390f35b61031e60048036038101906103199190612acd565b6109c0565b005b34801561032b575f80fd5b50610334610aff565b6040516103419190612b1a565b60405180910390f35b610364600480360381019061035f9190612b33565b610b14565b005b348015610371575f80fd5b5061038c60048036038101906103879190612bb6565b610e22565b6040516103999190612bf0565b60405180910390f35b3480156103ad575f80fd5b506103c860048036038101906103c39190612c09565b610e3f565b6040516103d6929190612c47565b60405180910390f35b3480156103ea575f80fd5b5061040560048036038101906104009190612c6e565b61101b565b005b348015610412575f80fd5b5061042d60048036038101906104289190612c6e565b61103d565b005b34801561043a575f80fd5b506104436110b8565b005b61045f600480360381019061045a9190612b33565b611172565b005b34801561046c575f80fd5b5061048760048036038101906104829190612a7a565b611191565b6040516104949190612ab4565b60405180910390f35b3480156104a8575f80fd5b506104b16111a2565b6040516104be9190612b1a565b60405180910390f35b3480156104d2575f80fd5b506104ed60048036038101906104e89190612cac565b6111a8565b6040516104fa9190612b1a565b60405180910390f35b34801561050e575f80fd5b5061051761125d565b005b610533600480360381019061052e9190612cd7565b611270565b005b348015610540575f80fd5b50610549611456565b6040516105569190612ab4565b60405180910390f35b34801561056a575f80fd5b5061058560048036038101906105809190612c6e565b61147e565b60405161059291906128ab565b60405180910390f35b3480156105a6575f80fd5b506105af6114e2565b6040516105bc9190612a27565b60405180910390f35b3480156105d0575f80fd5b506105d9611572565b005b3480156105e6575f80fd5b5061060160048036038101906105fc9190612cac565b6115a4565b60405161060e9190612b1a565b60405180910390f35b348015610622575f80fd5b5061062b6115b9565b6040516106389190612bf0565b60405180910390f35b34801561064c575f80fd5b5061066760048036038101906106629190612d3f565b6115bf565b005b610683600480360381019061067e9190612ea5565b6116c5565b005b348015610690575f80fd5b50610699611737565b6040516106a691906128ab565b60405180910390f35b3480156106ba575f80fd5b506106d560048036038101906106d09190612a7a565b611749565b6040516106e29190612a27565b60405180910390f35b3480156106f6575f80fd5b506106ff6117c8565b60405161070c9190612b1a565b60405180910390f35b348015610720575f80fd5b5061073b60048036038101906107369190612c6e565b6117ce565b005b348015610748575f80fd5b50610763600480360381019061075e9190612fcf565b6117f0565b005b348015610770575f80fd5b5061078b6004803603810190610786919061304d565b6118e3565b60405161079891906128ab565b60405180910390f35b3480156107ac575f80fd5b506107c760048036038101906107c29190612cac565b611971565b6040516107d49190612b1a565b60405180910390f35b3480156107e8575f80fd5b5061080360048036038101906107fe9190612cac565b6119b7565b005b348015610810575f80fd5b5061082b60048036038101906108269190612a7a565b611a39565b005b610835611a4b565b8383600e918261084692919061328f565b508181600f918261085892919061328f565b5050505050565b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610899575061089882611ac9565b5b9050919050565b6108a8611a4b565b6108b28282611b42565b5050565b6060600280546108c5906130c2565b80601f01602080910402602001604051908101604052809291908181526020018280546108f1906130c2565b801561093c5780601f106109135761010080835404028352916020019161093c565b820191905f5260205f20905b81548152906001019060200180831161091f57829003601f168201915b5050505050905090565b5f61095082611cdd565b610986576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6109ca82611191565b90508073ffffffffffffffffffffffffffffffffffffffff166109eb611d37565b73ffffffffffffffffffffffffffffffffffffffff1614610a4e57610a1781610a12611d37565b6118e3565b610a4d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610b08611d3e565b6001545f540303905090565b5f610b1e82611d46565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b85576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610b9084611e09565b91509150610ba68187610ba1611d37565b611e2c565b610bf257610bbb86610bb6611d37565b6118e3565b610bf1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c648686866001611e6f565b8015610c6e575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610d3685610d12888887611e75565b7c020000000000000000000000000000000000000000000000000000000017611e9c565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610db2575f6001850190505f60045f8381526020019081526020015f205403610db0575f548114610daf578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e1a8686866001611ec6565b505050505050565b5f600c5f8381526020019081526020015f20600101549050919050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610fc85760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f610fd1611ecc565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ffd9190613389565b61100791906133f7565b9050815f0151819350935050509250929050565b61102482610e22565b61102d81611ed5565b6110378383611ee9565b50505050565b611045611fd3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110a9576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110b38282611fda565b505050565b6110c0611a4b565b5f6110c9611456565b73ffffffffffffffffffffffffffffffffffffffff16476040516110ec90613454565b5f6040518083038185875af1925050503d805f8114611126576040519150601f19603f3d011682016040523d82523d5f602084013e61112b565b606091505b505090508061116f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611166906134b2565b60405180910390fd5b50565b61118c83838360405180602001604052805f8152506116c5565b505050565b5f61119b82611d46565b9050919050565b600d5481565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361120e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611265611a4b565b61126e5f6120c4565b565b611278612187565b60105f9054906101000a900460ff166112c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bd9061351a565b60405180910390fd5b6108b6826112d2610aff565b6112dc9190613538565b111561131d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611314906135b5565b60405180910390fd5b81600d5461132b9190613389565b34101561136d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113649061361d565b60405180910390fd5b8160115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156113ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e4906136ab565b60405180910390fd5b8160115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461143991906136c9565b9250508190555061144a81836121d6565b6114526121f3565b5050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546114f1906130c2565b80601f016020809104026020016040519081016040528092919081815260200182805461151d906130c2565b80156115685780601f1061153f57610100808354040283529160200191611568565b820191905f5260205f20905b81548152906001019060200180831161154b57829003601f168201915b5050505050905090565b61157a611a4b565b60105f9054906101000a900460ff161560105f6101000a81548160ff021916908315150217905550565b6011602052805f5260405f205f915090505481565b5f801b81565b8060075f6115cb611d37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611674611d37565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116b991906128ab565b60405180910390a35050565b6116d0848484610b14565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611731576116fa848484846121fd565b611730576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105f9054906101000a900460ff1681565b606061175482611cdd565b611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a9061376c565b60405180910390fd5b600e61179e83612348565b600f6040516020016117b293929190613844565b6040516020818303038152906040529050919050565b6108b681565b6117d782610e22565b6117e081611ed5565b6117ea8383611fda565b50505050565b6117f8611a4b565b818190508484905014611840576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611837906138e4565b60405180910390fd5b5f5b848490508110156118dc578282828181106118605761185f613902565b5b9050602002013560115f87878581811061187d5761187c613902565b5b90506020020160208101906118929190612cac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508080600101915050611842565b5050505050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f60115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6119bf611a4b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061399f565b60405180910390fd5b611a36816120c4565b50565b611a41611a4b565b80600d8190555050565b611a53611fd3565b73ffffffffffffffffffffffffffffffffffffffff16611a71611456565b73ffffffffffffffffffffffffffffffffffffffff1614611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90613a07565b60405180910390fd5b565b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b3b5750611b3a82612397565b5b9050919050565b5f611b4b611ecc565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611bb05781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611ba7929190613a55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c20575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611c179190612ab4565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f81611ce7611d3e565b11158015611cf557505f5482105b8015611d3057505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f8082905080611d54611d3e565b11611dd2575f54811015611dd1575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611dcf575b5f8103611dc55760045f836001900393508381526020019081526020015f20549050611d9e565b8092505050611e04565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611e8b868684612410565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b611ee681611ee1611fd3565b612418565b50565b5f611ef4838361147e565b611fc9576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611f66611fd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611fcd565b5f90505b92915050565b5f33905090565b5f611fe5838361147e565b156120ba575f600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612057611fd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506120be565b5f90505b92915050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6002600b54036121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c390613ac6565b60405180910390fd5b6002600b81905550565b6121ef828260405180602001604052805f815250612469565b5050565b6001600b81905550565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612222611d37565b8786866040518563ffffffff1660e01b81526004016122449493929190613b36565b6020604051808303815f875af192505050801561227f57506040513d601f19601f8201168201806040525081019061227c9190613b94565b60015b6122f5573d805f81146122ad576040519150601f19603f3d011682016040523d82523d5f602084013e6122b2565b606091505b505f8151036122ed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b60011561238257600184039350600a81066030018453600a8104905080612360575b50828103602084039350808452505050919050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612409575061240882612500565b5b9050919050565b5f9392505050565b612422828261147e565b6124655780826040517fe2517d3f00000000000000000000000000000000000000000000000000000000815260040161245c929190613bbf565b60405180910390fd5b5050565b6124738383612569565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146124fb575f805490505f83820390505b6124af5f8683806001019450866121fd565b6124e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061249d57815f54146124f8575f80fd5b50505b505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f805490505f82036125a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125b35f848385611e6f565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612625836126165f865f611e75565b61261f85612712565b17611e9c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146126bf5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612686565b505f82036126f9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f81905550505061270d5f848385611ec6565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261275357612752612732565b5b8235905067ffffffffffffffff8111156127705761276f612736565b5b60208301915083600182028301111561278c5761278b61273a565b5b9250929050565b5f805f80604085870312156127ab576127aa61272a565b5b5f85013567ffffffffffffffff8111156127c8576127c761272e565b5b6127d48782880161273e565b9450945050602085013567ffffffffffffffff8111156127f7576127f661272e565b5b6128038782880161273e565b925092505092959194509250565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284581612811565b811461284f575f80fd5b50565b5f813590506128608161283c565b92915050565b5f6020828403121561287b5761287a61272a565b5b5f61288884828501612852565b91505092915050565b5f8115159050919050565b6128a581612891565b82525050565b5f6020820190506128be5f83018461289c565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6128ed826128c4565b9050919050565b6128fd816128e3565b8114612907575f80fd5b50565b5f81359050612918816128f4565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b61293e8161291e565b8114612948575f80fd5b50565b5f8135905061295981612935565b92915050565b5f80604083850312156129755761297461272a565b5b5f6129828582860161290a565b92505060206129938582860161294b565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156129d45780820151818401526020810190506129b9565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6129f98261299d565b612a0381856129a7565b9350612a138185602086016129b7565b612a1c816129df565b840191505092915050565b5f6020820190508181035f830152612a3f81846129ef565b905092915050565b5f819050919050565b612a5981612a47565b8114612a63575f80fd5b50565b5f81359050612a7481612a50565b92915050565b5f60208284031215612a8f57612a8e61272a565b5b5f612a9c84828501612a66565b91505092915050565b612aae816128e3565b82525050565b5f602082019050612ac75f830184612aa5565b92915050565b5f8060408385031215612ae357612ae261272a565b5b5f612af08582860161290a565b9250506020612b0185828601612a66565b9150509250929050565b612b1481612a47565b82525050565b5f602082019050612b2d5f830184612b0b565b92915050565b5f805f60608486031215612b4a57612b4961272a565b5b5f612b578682870161290a565b9350506020612b688682870161290a565b9250506040612b7986828701612a66565b9150509250925092565b5f819050919050565b612b9581612b83565b8114612b9f575f80fd5b50565b5f81359050612bb081612b8c565b92915050565b5f60208284031215612bcb57612bca61272a565b5b5f612bd884828501612ba2565b91505092915050565b612bea81612b83565b82525050565b5f602082019050612c035f830184612be1565b92915050565b5f8060408385031215612c1f57612c1e61272a565b5b5f612c2c85828601612a66565b9250506020612c3d85828601612a66565b9150509250929050565b5f604082019050612c5a5f830185612aa5565b612c676020830184612b0b565b9392505050565b5f8060408385031215612c8457612c8361272a565b5b5f612c9185828601612ba2565b9250506020612ca28582860161290a565b9150509250929050565b5f60208284031215612cc157612cc061272a565b5b5f612cce8482850161290a565b91505092915050565b5f8060408385031215612ced57612cec61272a565b5b5f612cfa85828601612a66565b9250506020612d0b8582860161290a565b9150509250929050565b612d1e81612891565b8114612d28575f80fd5b50565b5f81359050612d3981612d15565b92915050565b5f8060408385031215612d5557612d5461272a565b5b5f612d628582860161290a565b9250506020612d7385828601612d2b565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612db7826129df565b810181811067ffffffffffffffff82111715612dd657612dd5612d81565b5b80604052505050565b5f612de8612721565b9050612df48282612dae565b919050565b5f67ffffffffffffffff821115612e1357612e12612d81565b5b612e1c826129df565b9050602081019050919050565b828183375f83830152505050565b5f612e49612e4484612df9565b612ddf565b905082815260208101848484011115612e6557612e64612d7d565b5b612e70848285612e29565b509392505050565b5f82601f830112612e8c57612e8b612732565b5b8135612e9c848260208601612e37565b91505092915050565b5f805f8060808587031215612ebd57612ebc61272a565b5b5f612eca8782880161290a565b9450506020612edb8782880161290a565b9350506040612eec87828801612a66565b925050606085013567ffffffffffffffff811115612f0d57612f0c61272e565b5b612f1987828801612e78565b91505092959194509250565b5f8083601f840112612f3a57612f39612732565b5b8235905067ffffffffffffffff811115612f5757612f56612736565b5b602083019150836020820283011115612f7357612f7261273a565b5b9250929050565b5f8083601f840112612f8f57612f8e612732565b5b8235905067ffffffffffffffff811115612fac57612fab612736565b5b602083019150836020820283011115612fc857612fc761273a565b5b9250929050565b5f805f8060408587031215612fe757612fe661272a565b5b5f85013567ffffffffffffffff8111156130045761300361272e565b5b61301087828801612f25565b9450945050602085013567ffffffffffffffff8111156130335761303261272e565b5b61303f87828801612f7a565b925092505092959194509250565b5f80604083850312156130635761306261272a565b5b5f6130708582860161290a565b92505060206130818582860161290a565b9150509250929050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806130d957607f821691505b6020821081036130ec576130eb613095565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261314e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613113565b6131588683613113565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61319361318e61318984612a47565b613170565b612a47565b9050919050565b5f819050919050565b6131ac83613179565b6131c06131b88261319a565b84845461311f565b825550505050565b5f90565b6131d46131c8565b6131df8184846131a3565b505050565b5b81811015613202576131f75f826131cc565b6001810190506131e5565b5050565b601f82111561324757613218816130f2565b61322184613104565b81016020851015613230578190505b61324461323c85613104565b8301826131e4565b50505b505050565b5f82821c905092915050565b5f6132675f198460080261324c565b1980831691505092915050565b5f61327f8383613258565b9150826002028217905092915050565b613299838361308b565b67ffffffffffffffff8111156132b2576132b1612d81565b5b6132bc82546130c2565b6132c7828285613206565b5f601f8311600181146132f4575f84156132e2578287013590505b6132ec8582613274565b865550613353565b601f198416613302866130f2565b5f5b8281101561332957848901358255600182019150602085019450602081019050613304565b868310156133465784890135613342601f891682613258565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61339382612a47565b915061339e83612a47565b92508282026133ac81612a47565b915082820484148315176133c3576133c261335c565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61340182612a47565b915061340c83612a47565b92508261341c5761341b6133ca565b5b828204905092915050565b5f81905092915050565b50565b5f61343f5f83613427565b915061344a82613431565b5f82019050919050565b5f61345e82613434565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f61349c6014836129a7565b91506134a782613468565b602082019050919050565b5f6020820190508181035f8301526134c981613490565b9050919050565b7f5075626c6963206d696e74206973206e6f74206f70656e0000000000000000005f82015250565b5f6135046017836129a7565b915061350f826134d0565b602082019050919050565b5f6020820190508181035f830152613531816134f8565b9050919050565b5f61354282612a47565b915061354d83612a47565b92508282019050808211156135655761356461335c565b5b92915050565b7f4578636565647320746f74616c20737570706c790000000000000000000000005f82015250565b5f61359f6014836129a7565b91506135aa8261356b565b602082019050919050565b5f6020820190508181035f8301526135cc81613593565b9050919050565b7f496e73756666696369656e74207061796d656e740000000000000000000000005f82015250565b5f6136076014836129a7565b9150613612826135d3565b602082019050919050565b5f6020820190508181035f830152613634816135fb565b9050919050565b7f45786365656473206d617820616c6c6f77656420746f206d696e7420666f72205f8201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b5f6136956027836129a7565b91506136a08261363b565b604082019050919050565b5f6020820190508181035f8301526136c281613689565b9050919050565b5f6136d382612a47565b91506136de83612a47565b92508282039050818111156136f6576136f561335c565b5b92915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613756602f836129a7565b9150613761826136fc565b604082019050919050565b5f6020820190508181035f8301526137838161374a565b9050919050565b5f81905092915050565b5f81546137a0816130c2565b6137aa818661378a565b9450600182165f81146137c457600181146137d95761380b565b60ff198316865281151582028601935061380b565b6137e2856130f2565b5f5b83811015613803578154818901526001820191506020810190506137e4565b838801955050505b50505092915050565b5f61381e8261299d565b613828818561378a565b93506138388185602086016129b7565b80840191505092915050565b5f61384f8286613794565b915061385b8285613814565b91506138678284613794565b9150819050949350505050565b7f4164647265737320616e64206d6178206d696e7473206172726179206c656e675f8201527f7468206d757374206d6174636800000000000000000000000000000000000000602082015250565b5f6138ce602d836129a7565b91506138d982613874565b604082019050919050565b5f6020820190508181035f8301526138fb816138c2565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6139896026836129a7565b91506139948261392f565b604082019050919050565b5f6020820190508181035f8301526139b68161397d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6139f16020836129a7565b91506139fc826139bd565b602082019050919050565b5f6020820190508181035f830152613a1e816139e5565b9050919050565b5f613a3f613a3a613a358461291e565b613170565b612a47565b9050919050565b613a4f81613a25565b82525050565b5f604082019050613a685f830185613a46565b613a756020830184612b0b565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613ab0601f836129a7565b9150613abb82613a7c565b602082019050919050565b5f6020820190508181035f830152613add81613aa4565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613b0882613ae4565b613b128185613aee565b9350613b228185602086016129b7565b613b2b816129df565b840191505092915050565b5f608082019050613b495f830187612aa5565b613b566020830186612aa5565b613b636040830185612b0b565b8181036060830152613b758184613afe565b905095945050505050565b5f81519050613b8e8161283c565b92915050565b5f60208284031215613ba957613ba861272a565b5b5f613bb684828501613b80565b91505092915050565b5f604082019050613bd25f830185612aa5565b613bdf6020830184612be1565b939250505056fea26469706673582212204fade76150d0055201b434c5f0acf937cf7f3f9932e23bbef93301d5eae78d5e64736f6c63430008160033
Deployed Bytecode
0x60806040526004361061020e575f3560e01c80637e3a039a11610117578063bcc9ca5b1161009f578063e1ae023d1161006e578063e1ae023d1461073d578063e985e9c514610765578063f2fc4ba6146107a1578063f2fde38b146107dd578063f4a0a528146108055761020e565b8063bcc9ca5b14610685578063c87b56dd146106af578063d298b8a5146106eb578063d547741f146107155761020e565b8063981d8771116100e6578063981d8771146105c55780639b19251a146105db578063a217fddf14610617578063a22cb46514610641578063b88d4fde146106695761020e565b80637e3a039a146105195780638da5cb5b1461053557806391d148541461055f57806395d89b411461059b5761020e565b80632a55205a1161019a57806342842e0e1161016957806342842e0e146104455780636352211e146104615780636817c76c1461049d57806370a08231146104c7578063715018a6146105035761020e565b80632a55205a146103a25780632f2ff15d146103df57806336568abe146104075780633ccfd60b1461042f5761020e565b8063081812fc116101e1578063081812fc146102c8578063095ea7b31461030457806318160ddd1461032057806323b872dd1461034a578063248a9ca3146103665761020e565b8063018149db1461021257806301ffc9a71461023a57806302fa7c471461027657806306fdde031461029e575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612793565b61082d565b005b348015610245575f80fd5b50610260600480360381019061025b9190612866565b61085f565b60405161026d91906128ab565b60405180910390f35b348015610281575f80fd5b5061029c6004803603810190610297919061295f565b6108a0565b005b3480156102a9575f80fd5b506102b26108b6565b6040516102bf9190612a27565b60405180910390f35b3480156102d3575f80fd5b506102ee60048036038101906102e99190612a7a565b610946565b6040516102fb9190612ab4565b60405180910390f35b61031e60048036038101906103199190612acd565b6109c0565b005b34801561032b575f80fd5b50610334610aff565b6040516103419190612b1a565b60405180910390f35b610364600480360381019061035f9190612b33565b610b14565b005b348015610371575f80fd5b5061038c60048036038101906103879190612bb6565b610e22565b6040516103999190612bf0565b60405180910390f35b3480156103ad575f80fd5b506103c860048036038101906103c39190612c09565b610e3f565b6040516103d6929190612c47565b60405180910390f35b3480156103ea575f80fd5b5061040560048036038101906104009190612c6e565b61101b565b005b348015610412575f80fd5b5061042d60048036038101906104289190612c6e565b61103d565b005b34801561043a575f80fd5b506104436110b8565b005b61045f600480360381019061045a9190612b33565b611172565b005b34801561046c575f80fd5b5061048760048036038101906104829190612a7a565b611191565b6040516104949190612ab4565b60405180910390f35b3480156104a8575f80fd5b506104b16111a2565b6040516104be9190612b1a565b60405180910390f35b3480156104d2575f80fd5b506104ed60048036038101906104e89190612cac565b6111a8565b6040516104fa9190612b1a565b60405180910390f35b34801561050e575f80fd5b5061051761125d565b005b610533600480360381019061052e9190612cd7565b611270565b005b348015610540575f80fd5b50610549611456565b6040516105569190612ab4565b60405180910390f35b34801561056a575f80fd5b5061058560048036038101906105809190612c6e565b61147e565b60405161059291906128ab565b60405180910390f35b3480156105a6575f80fd5b506105af6114e2565b6040516105bc9190612a27565b60405180910390f35b3480156105d0575f80fd5b506105d9611572565b005b3480156105e6575f80fd5b5061060160048036038101906105fc9190612cac565b6115a4565b60405161060e9190612b1a565b60405180910390f35b348015610622575f80fd5b5061062b6115b9565b6040516106389190612bf0565b60405180910390f35b34801561064c575f80fd5b5061066760048036038101906106629190612d3f565b6115bf565b005b610683600480360381019061067e9190612ea5565b6116c5565b005b348015610690575f80fd5b50610699611737565b6040516106a691906128ab565b60405180910390f35b3480156106ba575f80fd5b506106d560048036038101906106d09190612a7a565b611749565b6040516106e29190612a27565b60405180910390f35b3480156106f6575f80fd5b506106ff6117c8565b60405161070c9190612b1a565b60405180910390f35b348015610720575f80fd5b5061073b60048036038101906107369190612c6e565b6117ce565b005b348015610748575f80fd5b50610763600480360381019061075e9190612fcf565b6117f0565b005b348015610770575f80fd5b5061078b6004803603810190610786919061304d565b6118e3565b60405161079891906128ab565b60405180910390f35b3480156107ac575f80fd5b506107c760048036038101906107c29190612cac565b611971565b6040516107d49190612b1a565b60405180910390f35b3480156107e8575f80fd5b5061080360048036038101906107fe9190612cac565b6119b7565b005b348015610810575f80fd5b5061082b60048036038101906108269190612a7a565b611a39565b005b610835611a4b565b8383600e918261084692919061328f565b508181600f918261085892919061328f565b5050505050565b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610899575061089882611ac9565b5b9050919050565b6108a8611a4b565b6108b28282611b42565b5050565b6060600280546108c5906130c2565b80601f01602080910402602001604051908101604052809291908181526020018280546108f1906130c2565b801561093c5780601f106109135761010080835404028352916020019161093c565b820191905f5260205f20905b81548152906001019060200180831161091f57829003601f168201915b5050505050905090565b5f61095082611cdd565b610986576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6109ca82611191565b90508073ffffffffffffffffffffffffffffffffffffffff166109eb611d37565b73ffffffffffffffffffffffffffffffffffffffff1614610a4e57610a1781610a12611d37565b6118e3565b610a4d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610b08611d3e565b6001545f540303905090565b5f610b1e82611d46565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b85576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610b9084611e09565b91509150610ba68187610ba1611d37565b611e2c565b610bf257610bbb86610bb6611d37565b6118e3565b610bf1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c57576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c648686866001611e6f565b8015610c6e575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610d3685610d12888887611e75565b7c020000000000000000000000000000000000000000000000000000000017611e9c565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610db2575f6001850190505f60045f8381526020019081526020015f205403610db0575f548114610daf578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e1a8686866001611ec6565b505050505050565b5f600c5f8381526020019081526020015f20600101549050919050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff1603610fc85760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f610fd1611ecc565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ffd9190613389565b61100791906133f7565b9050815f0151819350935050509250929050565b61102482610e22565b61102d81611ed5565b6110378383611ee9565b50505050565b611045611fd3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110a9576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110b38282611fda565b505050565b6110c0611a4b565b5f6110c9611456565b73ffffffffffffffffffffffffffffffffffffffff16476040516110ec90613454565b5f6040518083038185875af1925050503d805f8114611126576040519150601f19603f3d011682016040523d82523d5f602084013e61112b565b606091505b505090508061116f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611166906134b2565b60405180910390fd5b50565b61118c83838360405180602001604052805f8152506116c5565b505050565b5f61119b82611d46565b9050919050565b600d5481565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361120e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611265611a4b565b61126e5f6120c4565b565b611278612187565b60105f9054906101000a900460ff166112c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bd9061351a565b60405180910390fd5b6108b6826112d2610aff565b6112dc9190613538565b111561131d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611314906135b5565b60405180910390fd5b81600d5461132b9190613389565b34101561136d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113649061361d565b60405180910390fd5b8160115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156113ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e4906136ab565b60405180910390fd5b8160115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461143991906136c9565b9250508190555061144a81836121d6565b6114526121f3565b5050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546114f1906130c2565b80601f016020809104026020016040519081016040528092919081815260200182805461151d906130c2565b80156115685780601f1061153f57610100808354040283529160200191611568565b820191905f5260205f20905b81548152906001019060200180831161154b57829003601f168201915b5050505050905090565b61157a611a4b565b60105f9054906101000a900460ff161560105f6101000a81548160ff021916908315150217905550565b6011602052805f5260405f205f915090505481565b5f801b81565b8060075f6115cb611d37565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611674611d37565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116b991906128ab565b60405180910390a35050565b6116d0848484610b14565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611731576116fa848484846121fd565b611730576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105f9054906101000a900460ff1681565b606061175482611cdd565b611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a9061376c565b60405180910390fd5b600e61179e83612348565b600f6040516020016117b293929190613844565b6040516020818303038152906040529050919050565b6108b681565b6117d782610e22565b6117e081611ed5565b6117ea8383611fda565b50505050565b6117f8611a4b565b818190508484905014611840576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611837906138e4565b60405180910390fd5b5f5b848490508110156118dc578282828181106118605761185f613902565b5b9050602002013560115f87878581811061187d5761187c613902565b5b90506020020160208101906118929190612cac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508080600101915050611842565b5050505050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f60115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6119bf611a4b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a249061399f565b60405180910390fd5b611a36816120c4565b50565b611a41611a4b565b80600d8190555050565b611a53611fd3565b73ffffffffffffffffffffffffffffffffffffffff16611a71611456565b73ffffffffffffffffffffffffffffffffffffffff1614611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90613a07565b60405180910390fd5b565b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b3b5750611b3a82612397565b5b9050919050565b5f611b4b611ecc565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611bb05781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611ba7929190613a55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611c20575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611c179190612ab4565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f81611ce7611d3e565b11158015611cf557505f5482105b8015611d3057505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f8082905080611d54611d3e565b11611dd2575f54811015611dd1575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611dcf575b5f8103611dc55760045f836001900393508381526020019081526020015f20549050611d9e565b8092505050611e04565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611e8b868684612410565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b611ee681611ee1611fd3565b612418565b50565b5f611ef4838361147e565b611fc9576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611f66611fd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050611fcd565b5f90505b92915050565b5f33905090565b5f611fe5838361147e565b156120ba575f600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612057611fd3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a4600190506120be565b5f90505b92915050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6002600b54036121cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c390613ac6565b60405180910390fd5b6002600b81905550565b6121ef828260405180602001604052805f815250612469565b5050565b6001600b81905550565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612222611d37565b8786866040518563ffffffff1660e01b81526004016122449493929190613b36565b6020604051808303815f875af192505050801561227f57506040513d601f19601f8201168201806040525081019061227c9190613b94565b60015b6122f5573d805f81146122ad576040519150601f19603f3d011682016040523d82523d5f602084013e6122b2565b606091505b505f8151036122ed576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b60011561238257600184039350600a81066030018453600a8104905080612360575b50828103602084039350808452505050919050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612409575061240882612500565b5b9050919050565b5f9392505050565b612422828261147e565b6124655780826040517fe2517d3f00000000000000000000000000000000000000000000000000000000815260040161245c929190613bbf565b60405180910390fd5b5050565b6124738383612569565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146124fb575f805490505f83820390505b6124af5f8683806001019450866121fd565b6124e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061249d57815f54146124f8575f80fd5b50505b505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f805490505f82036125a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125b35f848385611e6f565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612625836126165f865f611e75565b61261f85612712565b17611e9c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146126bf5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612686565b505f82036126f9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f81905550505061270d5f848385611ec6565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261275357612752612732565b5b8235905067ffffffffffffffff8111156127705761276f612736565b5b60208301915083600182028301111561278c5761278b61273a565b5b9250929050565b5f805f80604085870312156127ab576127aa61272a565b5b5f85013567ffffffffffffffff8111156127c8576127c761272e565b5b6127d48782880161273e565b9450945050602085013567ffffffffffffffff8111156127f7576127f661272e565b5b6128038782880161273e565b925092505092959194509250565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284581612811565b811461284f575f80fd5b50565b5f813590506128608161283c565b92915050565b5f6020828403121561287b5761287a61272a565b5b5f61288884828501612852565b91505092915050565b5f8115159050919050565b6128a581612891565b82525050565b5f6020820190506128be5f83018461289c565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6128ed826128c4565b9050919050565b6128fd816128e3565b8114612907575f80fd5b50565b5f81359050612918816128f4565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b61293e8161291e565b8114612948575f80fd5b50565b5f8135905061295981612935565b92915050565b5f80604083850312156129755761297461272a565b5b5f6129828582860161290a565b92505060206129938582860161294b565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156129d45780820151818401526020810190506129b9565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6129f98261299d565b612a0381856129a7565b9350612a138185602086016129b7565b612a1c816129df565b840191505092915050565b5f6020820190508181035f830152612a3f81846129ef565b905092915050565b5f819050919050565b612a5981612a47565b8114612a63575f80fd5b50565b5f81359050612a7481612a50565b92915050565b5f60208284031215612a8f57612a8e61272a565b5b5f612a9c84828501612a66565b91505092915050565b612aae816128e3565b82525050565b5f602082019050612ac75f830184612aa5565b92915050565b5f8060408385031215612ae357612ae261272a565b5b5f612af08582860161290a565b9250506020612b0185828601612a66565b9150509250929050565b612b1481612a47565b82525050565b5f602082019050612b2d5f830184612b0b565b92915050565b5f805f60608486031215612b4a57612b4961272a565b5b5f612b578682870161290a565b9350506020612b688682870161290a565b9250506040612b7986828701612a66565b9150509250925092565b5f819050919050565b612b9581612b83565b8114612b9f575f80fd5b50565b5f81359050612bb081612b8c565b92915050565b5f60208284031215612bcb57612bca61272a565b5b5f612bd884828501612ba2565b91505092915050565b612bea81612b83565b82525050565b5f602082019050612c035f830184612be1565b92915050565b5f8060408385031215612c1f57612c1e61272a565b5b5f612c2c85828601612a66565b9250506020612c3d85828601612a66565b9150509250929050565b5f604082019050612c5a5f830185612aa5565b612c676020830184612b0b565b9392505050565b5f8060408385031215612c8457612c8361272a565b5b5f612c9185828601612ba2565b9250506020612ca28582860161290a565b9150509250929050565b5f60208284031215612cc157612cc061272a565b5b5f612cce8482850161290a565b91505092915050565b5f8060408385031215612ced57612cec61272a565b5b5f612cfa85828601612a66565b9250506020612d0b8582860161290a565b9150509250929050565b612d1e81612891565b8114612d28575f80fd5b50565b5f81359050612d3981612d15565b92915050565b5f8060408385031215612d5557612d5461272a565b5b5f612d628582860161290a565b9250506020612d7385828601612d2b565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612db7826129df565b810181811067ffffffffffffffff82111715612dd657612dd5612d81565b5b80604052505050565b5f612de8612721565b9050612df48282612dae565b919050565b5f67ffffffffffffffff821115612e1357612e12612d81565b5b612e1c826129df565b9050602081019050919050565b828183375f83830152505050565b5f612e49612e4484612df9565b612ddf565b905082815260208101848484011115612e6557612e64612d7d565b5b612e70848285612e29565b509392505050565b5f82601f830112612e8c57612e8b612732565b5b8135612e9c848260208601612e37565b91505092915050565b5f805f8060808587031215612ebd57612ebc61272a565b5b5f612eca8782880161290a565b9450506020612edb8782880161290a565b9350506040612eec87828801612a66565b925050606085013567ffffffffffffffff811115612f0d57612f0c61272e565b5b612f1987828801612e78565b91505092959194509250565b5f8083601f840112612f3a57612f39612732565b5b8235905067ffffffffffffffff811115612f5757612f56612736565b5b602083019150836020820283011115612f7357612f7261273a565b5b9250929050565b5f8083601f840112612f8f57612f8e612732565b5b8235905067ffffffffffffffff811115612fac57612fab612736565b5b602083019150836020820283011115612fc857612fc761273a565b5b9250929050565b5f805f8060408587031215612fe757612fe661272a565b5b5f85013567ffffffffffffffff8111156130045761300361272e565b5b61301087828801612f25565b9450945050602085013567ffffffffffffffff8111156130335761303261272e565b5b61303f87828801612f7a565b925092505092959194509250565b5f80604083850312156130635761306261272a565b5b5f6130708582860161290a565b92505060206130818582860161290a565b9150509250929050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806130d957607f821691505b6020821081036130ec576130eb613095565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261314e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613113565b6131588683613113565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61319361318e61318984612a47565b613170565b612a47565b9050919050565b5f819050919050565b6131ac83613179565b6131c06131b88261319a565b84845461311f565b825550505050565b5f90565b6131d46131c8565b6131df8184846131a3565b505050565b5b81811015613202576131f75f826131cc565b6001810190506131e5565b5050565b601f82111561324757613218816130f2565b61322184613104565b81016020851015613230578190505b61324461323c85613104565b8301826131e4565b50505b505050565b5f82821c905092915050565b5f6132675f198460080261324c565b1980831691505092915050565b5f61327f8383613258565b9150826002028217905092915050565b613299838361308b565b67ffffffffffffffff8111156132b2576132b1612d81565b5b6132bc82546130c2565b6132c7828285613206565b5f601f8311600181146132f4575f84156132e2578287013590505b6132ec8582613274565b865550613353565b601f198416613302866130f2565b5f5b8281101561332957848901358255600182019150602085019450602081019050613304565b868310156133465784890135613342601f891682613258565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61339382612a47565b915061339e83612a47565b92508282026133ac81612a47565b915082820484148315176133c3576133c261335c565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61340182612a47565b915061340c83612a47565b92508261341c5761341b6133ca565b5b828204905092915050565b5f81905092915050565b50565b5f61343f5f83613427565b915061344a82613431565b5f82019050919050565b5f61345e82613434565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f61349c6014836129a7565b91506134a782613468565b602082019050919050565b5f6020820190508181035f8301526134c981613490565b9050919050565b7f5075626c6963206d696e74206973206e6f74206f70656e0000000000000000005f82015250565b5f6135046017836129a7565b915061350f826134d0565b602082019050919050565b5f6020820190508181035f830152613531816134f8565b9050919050565b5f61354282612a47565b915061354d83612a47565b92508282019050808211156135655761356461335c565b5b92915050565b7f4578636565647320746f74616c20737570706c790000000000000000000000005f82015250565b5f61359f6014836129a7565b91506135aa8261356b565b602082019050919050565b5f6020820190508181035f8301526135cc81613593565b9050919050565b7f496e73756666696369656e74207061796d656e740000000000000000000000005f82015250565b5f6136076014836129a7565b9150613612826135d3565b602082019050919050565b5f6020820190508181035f830152613634816135fb565b9050919050565b7f45786365656473206d617820616c6c6f77656420746f206d696e7420666f72205f8201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b5f6136956027836129a7565b91506136a08261363b565b604082019050919050565b5f6020820190508181035f8301526136c281613689565b9050919050565b5f6136d382612a47565b91506136de83612a47565b92508282039050818111156136f6576136f561335c565b5b92915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613756602f836129a7565b9150613761826136fc565b604082019050919050565b5f6020820190508181035f8301526137838161374a565b9050919050565b5f81905092915050565b5f81546137a0816130c2565b6137aa818661378a565b9450600182165f81146137c457600181146137d95761380b565b60ff198316865281151582028601935061380b565b6137e2856130f2565b5f5b83811015613803578154818901526001820191506020810190506137e4565b838801955050505b50505092915050565b5f61381e8261299d565b613828818561378a565b93506138388185602086016129b7565b80840191505092915050565b5f61384f8286613794565b915061385b8285613814565b91506138678284613794565b9150819050949350505050565b7f4164647265737320616e64206d6178206d696e7473206172726179206c656e675f8201527f7468206d757374206d6174636800000000000000000000000000000000000000602082015250565b5f6138ce602d836129a7565b91506138d982613874565b604082019050919050565b5f6020820190508181035f8301526138fb816138c2565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6139896026836129a7565b91506139948261392f565b604082019050919050565b5f6020820190508181035f8301526139b68161397d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6139f16020836129a7565b91506139fc826139bd565b602082019050919050565b5f6020820190508181035f830152613a1e816139e5565b9050919050565b5f613a3f613a3a613a358461291e565b613170565b612a47565b9050919050565b613a4f81613a25565b82525050565b5f604082019050613a685f830185613a46565b613a756020830184612b0b565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613ab0601f836129a7565b9150613abb82613a7c565b602082019050919050565b5f6020820190508181035f830152613add81613aa4565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613b0882613ae4565b613b128185613aee565b9350613b228185602086016129b7565b613b2b816129df565b840191505092915050565b5f608082019050613b495f830187612aa5565b613b566020830186612aa5565b613b636040830185612b0b565b8181036060830152613b758184613afe565b905095945050505050565b5f81519050613b8e8161283c565b92915050565b5f60208284031215613ba957613ba861272a565b5b5f613bb684828501613b80565b91505092915050565b5f604082019050613bd25f830185612aa5565b613bdf6020830184612be1565b939250505056fea26469706673582212204fade76150d0055201b434c5f0acf937cf7f3f9932e23bbef93301d5eae78d5e64736f6c63430008160033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.