ERC-721
Overview
Max Total Supply
67 STRAD
Holders
39
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STRADLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Stradivarius
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "../type/Types.sol"; import { IStradivarius } from "../interfaces/IStradivarius.sol"; contract Stradivarius is ERC721Enumerable, AccessControl { using Strings for uint256; using Counters for Counters.Counter; bytes32 public constant OWNER_ROLE = keccak256("OWNER"); bytes32 public constant MINTER_ROLE = keccak256("MINTER"); uint8 private constant TOKEN_FETCH_LIMIT = 100; mapping(uint256 => uint256) public nextTokenIds; mapping(uint256 => uint256) public minTokenIds; mapping(uint256 => uint256) public totalSupplies; uint256 public lastTier = 3; string public baseUri; address private _owner; constructor( string memory name_, string memory symbol_, string memory baseUri_ ) ERC721(name_, symbol_) { _owner = msg.sender; _grantRole(OWNER_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); _setRoleAdmin(MINTER_ROLE, OWNER_ROLE); baseUri = baseUri_; nextTokenIds[1] = 1; nextTokenIds[2] = 2; nextTokenIds[3] = 33; minTokenIds[1] = 1; minTokenIds[2] = 2; minTokenIds[3] = 33; totalSupplies[1] = 1; totalSupplies[2] = 31; totalSupplies[3] = 93; } // ============= QUERY function supportsInterface(bytes4 interfaceId_) public view override(AccessControl, ERC721Enumerable) returns (bool) { return interfaceId_ == type(IStradivarius).interfaceId || super.supportsInterface(interfaceId_); } /** * @dev Returns if the tokenId has been minted. Note that it may have been burned. * To check the existence of the token, use ownerOf(). */ function isTokenMinted(uint256 tokenId_) public view returns (bool) { uint256 tier = tokenIdToTier(tokenId_); return tokenId_ < nextTokenIds[tier]; } function tokenURI(uint256 tokenId_) public view override returns (string memory) { require(_exists(tokenId_), "Stradivarius: URI query for nonexistent token"); return string(abi.encodePacked(baseUri, tokenId_.toString())); } function getTierInfo() public view returns (TierInfo[] memory) { TierInfo[] memory infoArr = new TierInfo[](lastTier); for (uint256 i = 1; i <= lastTier; i++) { infoArr[i - 1] = TierInfo({ nextTokenId: nextTokenIds[i], minTokenId: minTokenIds[i], totalSupply: totalSupplies[i] }); } return infoArr; } function tokenIdToTier(uint256 tokenId_) public view returns (uint256) { require( minTokenIds[1] <= tokenId_ && tokenId_ < minTokenIds[lastTier] + totalSupplies[lastTier], "Stradivarius: tier query for nonexistent token" ); for (uint256 i = 2; i <= lastTier; i++) { if (tokenId_ < minTokenIds[i]) return i - 1; } return lastTier; } /** * @dev Required to be recognized as the owner of the collection on OpenSea. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Returns the token IDs of the owner, starting at the `offset_` ending at `offset_ + limit_ - 1` * @param owner_ address of the owner * @param offset_ index offset to start enumerating within the ownedTokens list of the owner * @param limit_ max number of IDs to fetch */ function tokensOf( address owner_, uint256 offset_, uint256 limit_ ) public view returns (uint256[] memory) { uint256 balance = ERC721.balanceOf(owner_); require(limit_ <= TOKEN_FETCH_LIMIT, "Stradivarius: limit too large"); require(offset_ < balance, "Stradivarius: invalid offset"); uint256 numToReturn = (offset_ + limit_ <= balance) ? limit_ : balance - offset_; uint256[] memory ownedTokens = new uint256[](numToReturn); for (uint256 i = 0; i < numToReturn; i++) { ownedTokens[i] = tokenOfOwnerByIndex(owner_, offset_ + i); } return ownedTokens; } // ============= TX function setBaseURI(string calldata baseUri_) public onlyRole(OWNER_ROLE) { require(bytes(baseUri_).length > 0, "Stradivarius: cannot set as an empty string"); baseUri = baseUri_; } function addTier(uint256 totalSupply) public onlyRole(OWNER_ROLE) { require(totalSupply > 0, "Stradivarius: invalid total supply"); uint256 newTier = lastTier + 1; minTokenIds[newTier] = minTokenIds[lastTier] + totalSupplies[lastTier]; nextTokenIds[newTier] = minTokenIds[newTier]; totalSupplies[newTier] = totalSupply; lastTier = newTier; } function mint(address to_, uint256 tier_) public onlyRole(MINTER_ROLE) returns (uint256) { require(1 <= tier_ && tier_ <= lastTier, "Stradivarius: invalid tier"); uint256 newTokenId = nextTokenIds[tier_]; uint256 minTokenId = minTokenIds[tier_]; uint256 totalSupply = totalSupplies[tier_]; require(newTokenId < minTokenId + totalSupply, "Stradivarius: minting closed"); nextTokenIds[tier_] += 1; _safeMint(to_, newTokenId); return newTokenId; } function mintMultiple(address to_, uint256 tier_, uint256 amount_) public onlyRole(MINTER_ROLE) returns (uint256[] memory) { require(1 <= amount_ && amount_ <= totalSupplies[tier_], "Stradivarius: invalid amount"); uint256 tierMaxTokenId = minTokenIds[tier_] + totalSupplies[tier_] - 1; require(nextTokenIds[tier_] <= tierMaxTokenId, "Stradivarius: minting closed"); if (nextTokenIds[tier_] + amount_ - 1 > tierMaxTokenId) { amount_ = tierMaxTokenId - nextTokenIds[tier_] + 1; } uint256[] memory tokenIds = new uint256[](amount_); for (uint256 i = 0; i < amount_; i++) { tokenIds[i] = mint(to_, tier_); } return tokenIds; } function destroy(address payable to_) public onlyRole(OWNER_ROLE) { selfdestruct(to_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../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: * * ``` * 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}: * * ``` * 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. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @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 override 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. */ function grantRole(bytes32 role, address account) public virtual override 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. */ function revokeRole(bytes32 role, address account) public virtual override 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 `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @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 Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; struct TierInfo { uint256 nextTokenId; uint256 minTokenId; uint256 totalSupply; } struct ReservePayload { address account; uint256 amount; uint256 tier; } struct SalesInfo { uint256 tier2WhitelistedAmount; uint256 tier3WhitelistedAmount; uint256 tier2RemainingAmount; uint256 tier3RemainingAmount; uint256 whitelistTier2Price; uint256 whitelistTier3Price; uint256 tier2Price; uint256 tier3Price; uint256 userCap; uint256 presaleStart; uint256 publicSaleStart; uint256 publicSaleEnd; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; interface IStradivarius is IERC721Enumerable { function tokenURI(uint256 tokenId_) external view returns (string memory); function tokensOf( address owner_, uint256 offset_, uint256 limit_ ) external view returns (uint256[] memory); function setBaseURI(string calldata baseUri_) external; function mint(address to_, uint256 tier_) external returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @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. * * _Available since v3.1._ */ 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 `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./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); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseUri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"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":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"addTier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to_","type":"address"}],"name":"destroy","outputs":[],"stateMutability":"nonpayable","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":[],"name":"getTierInfo","outputs":[{"components":[{"internalType":"uint256","name":"nextTokenId","type":"uint256"},{"internalType":"uint256","name":"minTokenId","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"}],"internalType":"struct TierInfo[]","name":"","type":"tuple[]"}],"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":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"isTokenMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tier_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tier_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintMultiple","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nextTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId_","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenIdToTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256","name":"offset_","type":"uint256"},{"internalType":"uint256","name":"limit_","type":"uint256"}],"name":"tokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526003600e553480156200001657600080fd5b506040516200598f3803806200598f83398181016040528101906200003c919062000580565b82828160009080519060200190620000569291906200045e565b5080600190805190602001906200006f9291906200045e565b50505033601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000e57f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b336200027560201b60201c565b620001177ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9336200027560201b60201c565b620001697ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc97f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b6200036760201b60201c565b80600f9080519060200190620001819291906200045e565b506001600b600060018152602001908152602001600020819055506002600b600060028152602001908152602001600020819055506021600b600060038152602001908152602001600020819055506001600c600060018152602001908152602001600020819055506002600c600060028152602001908152602001600020819055506021600c600060038152602001908152602001600020819055506001600d60006001815260200190815260200160002081905550601f600d60006002815260200190815260200160002081905550605d600d6000600381526020019081526020016000208190555050505062000791565b620002878282620003cb60201b60201c565b62000363576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003086200043660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200037a836200043e60201b60201c565b905081600a6000858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000600a6000838152602001908152602001600020600101549050919050565b8280546200046c90620006b6565b90600052602060002090601f016020900481019282620004905760008555620004dc565b82601f10620004ab57805160ff1916838001178555620004dc565b82800160010185558215620004dc579182015b82811115620004db578251825591602001919060010190620004be565b5b509050620004eb9190620004ef565b5090565b5b808211156200050a576000816000905550600101620004f0565b5090565b6000620005256200051f846200064a565b62000621565b9050828152602081018484840111156200053e57600080fd5b6200054b84828562000680565b509392505050565b600082601f8301126200056557600080fd5b8151620005778482602086016200050e565b91505092915050565b6000806000606084860312156200059657600080fd5b600084015167ffffffffffffffff811115620005b157600080fd5b620005bf8682870162000553565b935050602084015167ffffffffffffffff811115620005dd57600080fd5b620005eb8682870162000553565b925050604084015167ffffffffffffffff8111156200060957600080fd5b620006178682870162000553565b9150509250925092565b60006200062d62000640565b90506200063b8282620006ec565b919050565b6000604051905090565b600067ffffffffffffffff82111562000668576200066762000751565b5b620006738262000780565b9050602081019050919050565b60005b83811015620006a057808201518184015260208101905062000683565b83811115620006b0576000848401525b50505050565b60006002820490506001821680620006cf57607f821691505b60208210811415620006e657620006e562000722565b5b50919050565b620006f78262000780565b810181811067ffffffffffffffff8211171562000719576200071862000751565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6151ee80620007a16000396000f3fe608060405234801561001057600080fd5b506004361061023c5760003560e01c806355f804b31161013b578063a217fddf116100b8578063d53913931161007c578063d53913931461075b578063d547741f14610779578063e58378bb14610795578063e985e9c5146107b3578063eb6cc010146107e35761023c565b8063a217fddf146106a5578063a22cb465146106c3578063b54fa474146106df578063b88d4fde1461070f578063c87b56dd1461072b5761023c565b80638da5cb5b116100ff5780638da5cb5b146105eb5780638f96a7cb1461060957806391d148541461063957806395d89b41146106695780639abc8320146106875761023c565b806355f804b3146105215780636352211e1461053d57806370a082311461056d5780637159db811461059d5780638b394ad4146105bb5761023c565b8063228d4dda116101c95780632f745c591161018d5780632f745c591461045957806336568abe1461048957806340c10f19146104a557806342842e0e146104d55780634f6ccce7146104f15761023c565b8063228d4dda1461039157806323185dc9146103c157806323b872dd146103f1578063248a9ca31461040d5780632f2ff15d1461043d5761023c565b806306fdde031161021057806306fdde03146102ed578063081812fc1461030b578063095ea7b31461033b57806316ec2b811461035757806318160ddd146103735761023c565b8062f55d9d1461024157806301ffc9a71461025d57806303d869951461028d5780630431a325146102bd575b600080fd5b61025b6004803603810190610256919061370b565b610801565b005b61027760048036038101906102729190613966565b61084c565b604051610284919061419e565b60405180910390f35b6102a760048036038101906102a291906139fd565b6108c6565b6040516102b49190614536565b60405180910390f35b6102d760048036038101906102d291906139fd565b6108de565b6040516102e49190614536565b60405180910390f35b6102f56109d6565b60405161030291906141d4565b60405180910390f35b610325600480360381019061032091906139fd565b610a68565b60405161033291906140f3565b60405180910390f35b61035560048036038101906103509190613876565b610aed565b005b610371600480360381019061036c91906139fd565b610c05565b005b61037b610d29565b6040516103889190614536565b60405180910390f35b6103ab60048036038101906103a691906139fd565b610d36565b6040516103b89190614536565b60405180910390f35b6103db60048036038101906103d691906138b2565b610d4e565b6040516103e8919061417c565b60405180910390f35b61040b60048036038101906104069190613770565b610f09565b005b61042760048036038101906104229190613901565b610f69565b60405161043491906141b9565b60405180910390f35b6104576004803603810190610452919061392a565b610f89565b005b610473600480360381019061046e9190613876565b610fb2565b6040516104809190614536565b60405180910390f35b6104a3600480360381019061049e919061392a565b611057565b005b6104bf60048036038101906104ba9190613876565b6110da565b6040516104cc9190614536565b60405180910390f35b6104ef60048036038101906104ea9190613770565b611237565b005b61050b600480360381019061050691906139fd565b611257565b6040516105189190614536565b60405180910390f35b61053b600480360381019061053691906139b8565b6112ee565b005b610557600480360381019061055291906139fd565b61137d565b60405161056491906140f3565b60405180910390f35b610587600480360381019061058291906136e2565b61142f565b6040516105949190614536565b60405180910390f35b6105a56114e7565b6040516105b29190614536565b60405180910390f35b6105d560048036038101906105d091906138b2565b6114ed565b6040516105e2919061417c565b60405180910390f35b6105f361176a565b60405161060091906140f3565b60405180910390f35b610623600480360381019061061e91906139fd565b611794565b604051610630919061419e565b60405180910390f35b610653600480360381019061064e919061392a565b6117c0565b604051610660919061419e565b60405180910390f35b61067161182b565b60405161067e91906141d4565b60405180910390f35b61068f6118bd565b60405161069c91906141d4565b60405180910390f35b6106ad61194b565b6040516106ba91906141b9565b60405180910390f35b6106dd60048036038101906106d8919061383a565b611952565b005b6106f960048036038101906106f491906139fd565b611968565b6040516107069190614536565b60405180910390f35b610729600480360381019061072491906137bf565b611980565b005b610745600480360381019061074091906139fd565b6119e2565b60405161075291906141d4565b60405180910390f35b610763611a5e565b60405161077091906141b9565b60405180910390f35b610793600480360381019061078e919061392a565b611a82565b005b61079d611aab565b6040516107aa91906141b9565b60405180910390f35b6107cd60048036038101906107c89190613734565b611acf565b6040516107da919061419e565b60405180910390f35b6107eb611b63565b6040516107f8919061415a565b60405180910390f35b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b6108338161082e611cb4565b611cbc565b8173ffffffffffffffffffffffffffffffffffffffff16ff5b60007ffe5a00be000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108bf57506108be82611d59565b5b9050919050565b600c6020528060005260406000206000915090505481565b600081600c60006001815260200190815260200160002054111580156109385750600d6000600e54815260200190815260200160002054600c6000600e548152602001908152602001600020546109359190614671565b82105b610977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096e90614456565b60405180910390fd5b6000600290505b600e5481116109ca57600c6000828152602001908152602001600020548310156109b7576001816109af9190614752565b9150506109d1565b80806109c2906148e5565b91505061097e565b50600e5490505b919050565b6060600080546109e590614882565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1190614882565b8015610a5e5780601f10610a3357610100808354040283529160200191610a5e565b820191906000526020600020905b815481529060010190602001808311610a4157829003601f168201915b5050505050905090565b6000610a7382611dd3565b610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa9906143f6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af88261137d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090614436565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b88611cb4565b73ffffffffffffffffffffffffffffffffffffffff161480610bb75750610bb681610bb1611cb4565b611acf565b5b610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90614356565b60405180910390fd5b610c008383611e3f565b505050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b610c3781610c32611cb4565b611cbc565b60008211610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190614416565b60405180910390fd5b60006001600e54610c8b9190614671565b9050600d6000600e54815260200190815260200160002054600c6000600e54815260200190815260200160002054610cc39190614671565b600c600083815260200190815260200160002081905550600c600082815260200190815260200160002054600b60008381526020019081526020016000208190555082600d60008381526020019081526020016000208190555080600e81905550505050565b6000600880549050905090565b600b6020528060005260406000206000915090505481565b60606000610d5b8561142f565b9050606460ff16831115610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b906143d6565b60405180910390fd5b808410610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd906142d6565b60405180910390fd5b6000818486610df59190614671565b1115610e0c578482610e079190614752565b610e0e565b835b905060008167ffffffffffffffff811115610e52577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e805781602001602082028036833780820191505090505b50905060005b82811015610efb57610ea3888289610e9e9190614671565b610fb2565b828281518110610edc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610ef3906148e5565b915050610e86565b508093505050509392505050565b610f1a610f14611cb4565b82611ef8565b610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090614476565b60405180910390fd5b610f64838383611fd6565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610f9282610f69565b610fa381610f9e611cb4565b611cbc565b610fad838361223d565b505050565b6000610fbd8361142f565b8210610ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff590614216565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61105f611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390614516565b60405180910390fd5b6110d6828261231e565b5050565b60007ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc961110e81611109611cb4565b611cbc565b826001111580156111215750600e548311155b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790614256565b60405180910390fd5b6000600b60008581526020019081526020016000205490506000600c60008681526020019081526020016000205490506000600d600087815260200190815260200160002054905080826111b49190614671565b83106111f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ec906144f6565b60405180910390fd5b6001600b600088815260200190815260200160002060008282546112199190614671565b9250508190555061122a8784612400565b8294505050505092915050565b61125283838360405180602001604052806000815250611980565b505050565b6000611261610d29565b82106112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614496565b60405180910390fd5b600882815481106112dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b6113208161131b611cb4565b611cbc565b60008383905011611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d906144b6565b60405180910390fd5b8282600f91906113779291906134d9565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614396565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790614376565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e5481565b60607ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96115218161151c611cb4565b611cbc565b826001111580156115455750600d6000858152602001908152602001600020548311155b611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b906142b6565b60405180910390fd5b60006001600d600087815260200190815260200160002054600c6000888152602001908152602001600020546115ba9190614671565b6115c49190614752565b905080600b600087815260200190815260200160002054111561161c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611613906144f6565b60405180910390fd5b80600185600b60008981526020019081526020016000205461163e9190614671565b6116489190614752565b111561167c576001600b6000878152602001908152602001600020548261166f9190614752565b6116799190614671565b93505b60008467ffffffffffffffff8111156116be577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156116ec5781602001602082028036833780820191505090505b50905060005b8581101561175c5761170488886110da565b82828151811061173d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611754906148e5565b9150506116f2565b508093505050509392505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806117a0836108de565b9050600b6000828152602001908152602001600020548310915050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461183a90614882565b80601f016020809104026020016040519081016040528092919081815260200182805461186690614882565b80156118b35780601f10611888576101008083540402835291602001916118b3565b820191906000526020600020905b81548152906001019060200180831161189657829003601f168201915b5050505050905090565b600f80546118ca90614882565b80601f01602080910402602001604051908101604052809291908181526020018280546118f690614882565b80156119435780601f1061191857610100808354040283529160200191611943565b820191906000526020600020905b81548152906001019060200180831161192657829003601f168201915b505050505081565b6000801b81565b61196461195d611cb4565b838361241e565b5050565b600d6020528060005260406000206000915090505481565b61199161198b611cb4565b83611ef8565b6119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790614476565b60405180910390fd5b6119dc8484848461258b565b50505050565b60606119ed82611dd3565b611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a23906144d6565b60405180910390fd5b600f611a37836125e7565b604051602001611a48929190614095565b6040516020818303038152906040529050919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b611a8b82610f69565b611a9c81611a97611cb4565b611cbc565b611aa6838361231e565b505050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600e5467ffffffffffffffff811115611ba9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611be257816020015b611bcf61355f565b815260200190600190039081611bc75790505b5090506000600190505b600e548111611cac576040518060600160405280600b6000848152602001908152602001600020548152602001600c6000848152602001908152602001600020548152602001600d60008481526020019081526020016000205481525082600183611c579190614752565b81518110611c8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080611ca4906148e5565b915050611bec565b508091505090565b600033905090565b611cc682826117c0565b611d5557611ceb8173ffffffffffffffffffffffffffffffffffffffff166014612794565b611cf98360001c6020612794565b604051602001611d0a9291906140b9565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c91906141d4565b60405180910390fd5b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dcc5750611dcb82612a8e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eb28361137d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f0382611dd3565b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614336565b60405180910390fd5b6000611f4d8361137d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fbc57508373ffffffffffffffffffffffffffffffffffffffff16611fa484610a68565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fcd5750611fcc8185611acf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff68261137d565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614276565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b3906142f6565b60405180910390fd5b6120c7838383612b08565b6120d2600082611e3f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121229190614752565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121799190614671565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612238838383612c1c565b505050565b61224782826117c0565b61231a576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122bf611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61232882826117c0565b156123fc576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123a1611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61241a828260405180602001604052806000815250612c21565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490614316565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257e919061419e565b60405180910390a3505050565b612596848484611fd6565b6125a284848484612c7c565b6125e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d890614236565b60405180910390fd5b50505050565b6060600082141561262f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061278f565b600082905060005b6000821461266157808061264a906148e5565b915050600a8261265a91906146c7565b9150612637565b60008167ffffffffffffffff8111156126a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126d55781602001600182028036833780820191505090505b5090505b60008514612788576001826126ee9190614752565b9150600a856126fd919061492e565b60306127099190614671565b60f81b818381518110612745577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561278191906146c7565b94506126d9565b8093505050505b919050565b6060600060028360026127a791906146f8565b6127b19190614671565b67ffffffffffffffff8111156127f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128225781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612880577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061290a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261294a91906146f8565b6129549190614671565b90505b6001811115612a40577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106129f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a3990614858565b9050612957565b5060008414612a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7b906141f6565b60405180910390fd5b8091505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b015750612b0082612e13565b5b9050919050565b612b13838383612ef5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5657612b5181612efa565b612b95565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b9457612b938382612f43565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bd857612bd3816130b0565b612c17565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c1657612c1582826131f3565b5b5b505050565b505050565b612c2b8383613272565b612c386000848484612c7c565b612c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6e90614236565b60405180910390fd5b505050565b6000612c9d8473ffffffffffffffffffffffffffffffffffffffff1661344c565b15612e06578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc6611cb4565b8786866040518563ffffffff1660e01b8152600401612ce8949392919061410e565b602060405180830381600087803b158015612d0257600080fd5b505af1925050508015612d3357506040513d601f19601f82011682018060405250810190612d30919061398f565b60015b612db6573d8060008114612d63576040519150601f19603f3d011682016040523d82523d6000602084013e612d68565b606091505b50600081511415612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da590614236565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e0b565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ede57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eee5750612eed8261346f565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f508461142f565b612f5a9190614752565b905060006007600084815260200190815260200160002054905081811461303f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130c49190614752565b905060006009600084815260200190815260200160002054905060006008838154811061311a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613162577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131fe8361142f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d9906143b6565b60405180910390fd5b6132eb81611dd3565b1561332b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332290614296565b60405180910390fd5b61333760008383612b08565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133879190614671565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344860008383612c1c565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134e590614882565b90600052602060002090601f016020900481019282613507576000855561354e565b82601f1061352057803560ff191683800117855561354e565b8280016001018555821561354e579182015b8281111561354d578235825591602001919060010190613532565b5b50905061355b9190613580565b5090565b60405180606001604052806000815260200160008152602001600081525090565b5b80821115613599576000816000905550600101613581565b5090565b60006135b06135ab84614576565b614551565b9050828152602081018484840111156135c857600080fd5b6135d3848285614816565b509392505050565b6000813590506135ea8161512e565b92915050565b6000813590506135ff81615145565b92915050565b6000813590506136148161515c565b92915050565b60008135905061362981615173565b92915050565b60008135905061363e8161518a565b92915050565b6000815190506136538161518a565b92915050565b600082601f83011261366a57600080fd5b813561367a84826020860161359d565b91505092915050565b60008083601f84011261369557600080fd5b8235905067ffffffffffffffff8111156136ae57600080fd5b6020830191508360018202830111156136c657600080fd5b9250929050565b6000813590506136dc816151a1565b92915050565b6000602082840312156136f457600080fd5b6000613702848285016135db565b91505092915050565b60006020828403121561371d57600080fd5b600061372b848285016135f0565b91505092915050565b6000806040838503121561374757600080fd5b6000613755858286016135db565b9250506020613766858286016135db565b9150509250929050565b60008060006060848603121561378557600080fd5b6000613793868287016135db565b93505060206137a4868287016135db565b92505060406137b5868287016136cd565b9150509250925092565b600080600080608085870312156137d557600080fd5b60006137e3878288016135db565b94505060206137f4878288016135db565b9350506040613805878288016136cd565b925050606085013567ffffffffffffffff81111561382257600080fd5b61382e87828801613659565b91505092959194509250565b6000806040838503121561384d57600080fd5b600061385b858286016135db565b925050602061386c85828601613605565b9150509250929050565b6000806040838503121561388957600080fd5b6000613897858286016135db565b92505060206138a8858286016136cd565b9150509250929050565b6000806000606084860312156138c757600080fd5b60006138d5868287016135db565b93505060206138e6868287016136cd565b92505060406138f7868287016136cd565b9150509250925092565b60006020828403121561391357600080fd5b60006139218482850161361a565b91505092915050565b6000806040838503121561393d57600080fd5b600061394b8582860161361a565b925050602061395c858286016135db565b9150509250929050565b60006020828403121561397857600080fd5b60006139868482850161362f565b91505092915050565b6000602082840312156139a157600080fd5b60006139af84828501613644565b91505092915050565b600080602083850312156139cb57600080fd5b600083013567ffffffffffffffff8111156139e557600080fd5b6139f185828601613683565b92509250509250929050565b600060208284031215613a0f57600080fd5b6000613a1d848285016136cd565b91505092915050565b6000613a328383614035565b60608301905092915050565b6000613a4a8383614077565b60208301905092915050565b613a5f81614786565b82525050565b6000613a70826145dc565b613a7a8185614622565b9350613a85836145a7565b8060005b83811015613ab6578151613a9d8882613a26565b9750613aa883614608565b925050600181019050613a89565b5085935050505092915050565b6000613ace826145e7565b613ad88185614633565b9350613ae3836145b7565b8060005b83811015613b14578151613afb8882613a3e565b9750613b0683614615565b925050600181019050613ae7565b5085935050505092915050565b613b2a816147aa565b82525050565b613b39816147b6565b82525050565b6000613b4a826145f2565b613b548185614644565b9350613b64818560208601614825565b613b6d81614a1b565b840191505092915050565b6000613b83826145fd565b613b8d8185614655565b9350613b9d818560208601614825565b613ba681614a1b565b840191505092915050565b6000613bbc826145fd565b613bc68185614666565b9350613bd6818560208601614825565b80840191505092915050565b60008154613bef81614882565b613bf98186614666565b94506001821660008114613c145760018114613c2557613c58565b60ff19831686528186019350613c58565b613c2e856145c7565b60005b83811015613c5057815481890152600182019150602081019050613c31565b838801955050505b50505092915050565b6000613c6e602083614655565b9150613c7982614a2c565b602082019050919050565b6000613c91602b83614655565b9150613c9c82614a55565b604082019050919050565b6000613cb4603283614655565b9150613cbf82614aa4565b604082019050919050565b6000613cd7601a83614655565b9150613ce282614af3565b602082019050919050565b6000613cfa602583614655565b9150613d0582614b1c565b604082019050919050565b6000613d1d601c83614655565b9150613d2882614b6b565b602082019050919050565b6000613d40601c83614655565b9150613d4b82614b94565b602082019050919050565b6000613d63601c83614655565b9150613d6e82614bbd565b602082019050919050565b6000613d86602483614655565b9150613d9182614be6565b604082019050919050565b6000613da9601983614655565b9150613db482614c35565b602082019050919050565b6000613dcc602c83614655565b9150613dd782614c5e565b604082019050919050565b6000613def603883614655565b9150613dfa82614cad565b604082019050919050565b6000613e12602a83614655565b9150613e1d82614cfc565b604082019050919050565b6000613e35602983614655565b9150613e4082614d4b565b604082019050919050565b6000613e58602083614655565b9150613e6382614d9a565b602082019050919050565b6000613e7b601d83614655565b9150613e8682614dc3565b602082019050919050565b6000613e9e602c83614655565b9150613ea982614dec565b604082019050919050565b6000613ec1602283614655565b9150613ecc82614e3b565b604082019050919050565b6000613ee4602183614655565b9150613eef82614e8a565b604082019050919050565b6000613f07602e83614655565b9150613f1282614ed9565b604082019050919050565b6000613f2a603183614655565b9150613f3582614f28565b604082019050919050565b6000613f4d602c83614655565b9150613f5882614f77565b604082019050919050565b6000613f70602b83614655565b9150613f7b82614fc6565b604082019050919050565b6000613f93602d83614655565b9150613f9e82615015565b604082019050919050565b6000613fb6601783614666565b9150613fc182615064565b601782019050919050565b6000613fd9601c83614655565b9150613fe48261508d565b602082019050919050565b6000613ffc601183614666565b9150614007826150b6565b601182019050919050565b600061401f602f83614655565b915061402a826150df565b604082019050919050565b60608201600082015161404b6000850182614077565b50602082015161405e6020850182614077565b5060408201516140716040850182614077565b50505050565b6140808161480c565b82525050565b61408f8161480c565b82525050565b60006140a18285613be2565b91506140ad8284613bb1565b91508190509392505050565b60006140c482613fa9565b91506140d08285613bb1565b91506140db82613fef565b91506140e78284613bb1565b91508190509392505050565b60006020820190506141086000830184613a56565b92915050565b60006080820190506141236000830187613a56565b6141306020830186613a56565b61413d6040830185614086565b818103606083015261414f8184613b3f565b905095945050505050565b600060208201905081810360008301526141748184613a65565b905092915050565b600060208201905081810360008301526141968184613ac3565b905092915050565b60006020820190506141b36000830184613b21565b92915050565b60006020820190506141ce6000830184613b30565b92915050565b600060208201905081810360008301526141ee8184613b78565b905092915050565b6000602082019050818103600083015261420f81613c61565b9050919050565b6000602082019050818103600083015261422f81613c84565b9050919050565b6000602082019050818103600083015261424f81613ca7565b9050919050565b6000602082019050818103600083015261426f81613cca565b9050919050565b6000602082019050818103600083015261428f81613ced565b9050919050565b600060208201905081810360008301526142af81613d10565b9050919050565b600060208201905081810360008301526142cf81613d33565b9050919050565b600060208201905081810360008301526142ef81613d56565b9050919050565b6000602082019050818103600083015261430f81613d79565b9050919050565b6000602082019050818103600083015261432f81613d9c565b9050919050565b6000602082019050818103600083015261434f81613dbf565b9050919050565b6000602082019050818103600083015261436f81613de2565b9050919050565b6000602082019050818103600083015261438f81613e05565b9050919050565b600060208201905081810360008301526143af81613e28565b9050919050565b600060208201905081810360008301526143cf81613e4b565b9050919050565b600060208201905081810360008301526143ef81613e6e565b9050919050565b6000602082019050818103600083015261440f81613e91565b9050919050565b6000602082019050818103600083015261442f81613eb4565b9050919050565b6000602082019050818103600083015261444f81613ed7565b9050919050565b6000602082019050818103600083015261446f81613efa565b9050919050565b6000602082019050818103600083015261448f81613f1d565b9050919050565b600060208201905081810360008301526144af81613f40565b9050919050565b600060208201905081810360008301526144cf81613f63565b9050919050565b600060208201905081810360008301526144ef81613f86565b9050919050565b6000602082019050818103600083015261450f81613fcc565b9050919050565b6000602082019050818103600083015261452f81614012565b9050919050565b600060208201905061454b6000830184614086565b92915050565b600061455b61456c565b905061456782826148b4565b919050565b6000604051905090565b600067ffffffffffffffff821115614591576145906149ec565b5b61459a82614a1b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061467c8261480c565b91506146878361480c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146bc576146bb61495f565b5b828201905092915050565b60006146d28261480c565b91506146dd8361480c565b9250826146ed576146ec61498e565b5b828204905092915050565b60006147038261480c565b915061470e8361480c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147475761474661495f565b5b828202905092915050565b600061475d8261480c565b91506147688361480c565b92508282101561477b5761477a61495f565b5b828203905092915050565b6000614791826147ec565b9050919050565b60006147a3826147ec565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614843578082015181840152602081019050614828565b83811115614852576000848401525b50505050565b60006148638261480c565b915060008214156148775761487661495f565b5b600182039050919050565b6000600282049050600182168061489a57607f821691505b602082108114156148ae576148ad6149bd565b5b50919050565b6148bd82614a1b565b810181811067ffffffffffffffff821117156148dc576148db6149ec565b5b80604052505050565b60006148f08261480c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149235761492261495f565b5b600182019050919050565b60006149398261480c565b91506149448361480c565b9250826149545761495361498e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5374726164697661726975733a20696e76616c69642074696572000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5374726164697661726975733a20696e76616c696420616d6f756e7400000000600082015250565b7f5374726164697661726975733a20696e76616c6964206f666673657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5374726164697661726975733a206c696d697420746f6f206c61726765000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a20696e76616c696420746f74616c207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a207469657220717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a2063616e6e6f742073657420617320616e206560008201527f6d70747920737472696e67000000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a2055524920717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5374726164697661726975733a206d696e74696e6720636c6f73656400000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61513781614786565b811461514257600080fd5b50565b61514e81614798565b811461515957600080fd5b50565b615165816147aa565b811461517057600080fd5b50565b61517c816147b6565b811461518757600080fd5b50565b615193816147c0565b811461519e57600080fd5b50565b6151aa8161480c565b81146151b557600080fd5b5056fea264697066735822122038accddb6d673152f2d4f3630b733d014dd68f11a2469d48782fa638f8be426064736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000025546865205374726164697661726975732076696f6c696e20e2809c436f6262657474e2809d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055354524144000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f6170692e6e6674636c6173736963736f63696574792e61692f7374726164697661726975732f6d657461646174612f000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023c5760003560e01c806355f804b31161013b578063a217fddf116100b8578063d53913931161007c578063d53913931461075b578063d547741f14610779578063e58378bb14610795578063e985e9c5146107b3578063eb6cc010146107e35761023c565b8063a217fddf146106a5578063a22cb465146106c3578063b54fa474146106df578063b88d4fde1461070f578063c87b56dd1461072b5761023c565b80638da5cb5b116100ff5780638da5cb5b146105eb5780638f96a7cb1461060957806391d148541461063957806395d89b41146106695780639abc8320146106875761023c565b806355f804b3146105215780636352211e1461053d57806370a082311461056d5780637159db811461059d5780638b394ad4146105bb5761023c565b8063228d4dda116101c95780632f745c591161018d5780632f745c591461045957806336568abe1461048957806340c10f19146104a557806342842e0e146104d55780634f6ccce7146104f15761023c565b8063228d4dda1461039157806323185dc9146103c157806323b872dd146103f1578063248a9ca31461040d5780632f2ff15d1461043d5761023c565b806306fdde031161021057806306fdde03146102ed578063081812fc1461030b578063095ea7b31461033b57806316ec2b811461035757806318160ddd146103735761023c565b8062f55d9d1461024157806301ffc9a71461025d57806303d869951461028d5780630431a325146102bd575b600080fd5b61025b6004803603810190610256919061370b565b610801565b005b61027760048036038101906102729190613966565b61084c565b604051610284919061419e565b60405180910390f35b6102a760048036038101906102a291906139fd565b6108c6565b6040516102b49190614536565b60405180910390f35b6102d760048036038101906102d291906139fd565b6108de565b6040516102e49190614536565b60405180910390f35b6102f56109d6565b60405161030291906141d4565b60405180910390f35b610325600480360381019061032091906139fd565b610a68565b60405161033291906140f3565b60405180910390f35b61035560048036038101906103509190613876565b610aed565b005b610371600480360381019061036c91906139fd565b610c05565b005b61037b610d29565b6040516103889190614536565b60405180910390f35b6103ab60048036038101906103a691906139fd565b610d36565b6040516103b89190614536565b60405180910390f35b6103db60048036038101906103d691906138b2565b610d4e565b6040516103e8919061417c565b60405180910390f35b61040b60048036038101906104069190613770565b610f09565b005b61042760048036038101906104229190613901565b610f69565b60405161043491906141b9565b60405180910390f35b6104576004803603810190610452919061392a565b610f89565b005b610473600480360381019061046e9190613876565b610fb2565b6040516104809190614536565b60405180910390f35b6104a3600480360381019061049e919061392a565b611057565b005b6104bf60048036038101906104ba9190613876565b6110da565b6040516104cc9190614536565b60405180910390f35b6104ef60048036038101906104ea9190613770565b611237565b005b61050b600480360381019061050691906139fd565b611257565b6040516105189190614536565b60405180910390f35b61053b600480360381019061053691906139b8565b6112ee565b005b610557600480360381019061055291906139fd565b61137d565b60405161056491906140f3565b60405180910390f35b610587600480360381019061058291906136e2565b61142f565b6040516105949190614536565b60405180910390f35b6105a56114e7565b6040516105b29190614536565b60405180910390f35b6105d560048036038101906105d091906138b2565b6114ed565b6040516105e2919061417c565b60405180910390f35b6105f361176a565b60405161060091906140f3565b60405180910390f35b610623600480360381019061061e91906139fd565b611794565b604051610630919061419e565b60405180910390f35b610653600480360381019061064e919061392a565b6117c0565b604051610660919061419e565b60405180910390f35b61067161182b565b60405161067e91906141d4565b60405180910390f35b61068f6118bd565b60405161069c91906141d4565b60405180910390f35b6106ad61194b565b6040516106ba91906141b9565b60405180910390f35b6106dd60048036038101906106d8919061383a565b611952565b005b6106f960048036038101906106f491906139fd565b611968565b6040516107069190614536565b60405180910390f35b610729600480360381019061072491906137bf565b611980565b005b610745600480360381019061074091906139fd565b6119e2565b60405161075291906141d4565b60405180910390f35b610763611a5e565b60405161077091906141b9565b60405180910390f35b610793600480360381019061078e919061392a565b611a82565b005b61079d611aab565b6040516107aa91906141b9565b60405180910390f35b6107cd60048036038101906107c89190613734565b611acf565b6040516107da919061419e565b60405180910390f35b6107eb611b63565b6040516107f8919061415a565b60405180910390f35b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b6108338161082e611cb4565b611cbc565b8173ffffffffffffffffffffffffffffffffffffffff16ff5b60007ffe5a00be000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108bf57506108be82611d59565b5b9050919050565b600c6020528060005260406000206000915090505481565b600081600c60006001815260200190815260200160002054111580156109385750600d6000600e54815260200190815260200160002054600c6000600e548152602001908152602001600020546109359190614671565b82105b610977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096e90614456565b60405180910390fd5b6000600290505b600e5481116109ca57600c6000828152602001908152602001600020548310156109b7576001816109af9190614752565b9150506109d1565b80806109c2906148e5565b91505061097e565b50600e5490505b919050565b6060600080546109e590614882565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1190614882565b8015610a5e5780601f10610a3357610100808354040283529160200191610a5e565b820191906000526020600020905b815481529060010190602001808311610a4157829003601f168201915b5050505050905090565b6000610a7382611dd3565b610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa9906143f6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af88261137d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6090614436565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b88611cb4565b73ffffffffffffffffffffffffffffffffffffffff161480610bb75750610bb681610bb1611cb4565b611acf565b5b610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90614356565b60405180910390fd5b610c008383611e3f565b505050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b610c3781610c32611cb4565b611cbc565b60008211610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190614416565b60405180910390fd5b60006001600e54610c8b9190614671565b9050600d6000600e54815260200190815260200160002054600c6000600e54815260200190815260200160002054610cc39190614671565b600c600083815260200190815260200160002081905550600c600082815260200190815260200160002054600b60008381526020019081526020016000208190555082600d60008381526020019081526020016000208190555080600e81905550505050565b6000600880549050905090565b600b6020528060005260406000206000915090505481565b60606000610d5b8561142f565b9050606460ff16831115610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b906143d6565b60405180910390fd5b808410610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd906142d6565b60405180910390fd5b6000818486610df59190614671565b1115610e0c578482610e079190614752565b610e0e565b835b905060008167ffffffffffffffff811115610e52577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e805781602001602082028036833780820191505090505b50905060005b82811015610efb57610ea3888289610e9e9190614671565b610fb2565b828281518110610edc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610ef3906148e5565b915050610e86565b508093505050509392505050565b610f1a610f14611cb4565b82611ef8565b610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090614476565b60405180910390fd5b610f64838383611fd6565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b610f9282610f69565b610fa381610f9e611cb4565b611cbc565b610fad838361223d565b505050565b6000610fbd8361142f565b8210610ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff590614216565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61105f611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390614516565b60405180910390fd5b6110d6828261231e565b5050565b60007ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc961110e81611109611cb4565b611cbc565b826001111580156111215750600e548311155b611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790614256565b60405180910390fd5b6000600b60008581526020019081526020016000205490506000600c60008681526020019081526020016000205490506000600d600087815260200190815260200160002054905080826111b49190614671565b83106111f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ec906144f6565b60405180910390fd5b6001600b600088815260200190815260200160002060008282546112199190614671565b9250508190555061122a8784612400565b8294505050505092915050565b61125283838360405180602001604052806000815250611980565b505050565b6000611261610d29565b82106112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614496565b60405180910390fd5b600882815481106112dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b6113208161131b611cb4565b611cbc565b60008383905011611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d906144b6565b60405180910390fd5b8282600f91906113779291906134d9565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614396565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790614376565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e5481565b60607ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc96115218161151c611cb4565b611cbc565b826001111580156115455750600d6000858152602001908152602001600020548311155b611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b906142b6565b60405180910390fd5b60006001600d600087815260200190815260200160002054600c6000888152602001908152602001600020546115ba9190614671565b6115c49190614752565b905080600b600087815260200190815260200160002054111561161c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611613906144f6565b60405180910390fd5b80600185600b60008981526020019081526020016000205461163e9190614671565b6116489190614752565b111561167c576001600b6000878152602001908152602001600020548261166f9190614752565b6116799190614671565b93505b60008467ffffffffffffffff8111156116be577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156116ec5781602001602082028036833780820191505090505b50905060005b8581101561175c5761170488886110da565b82828151811061173d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611754906148e5565b9150506116f2565b508093505050509392505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000806117a0836108de565b9050600b6000828152602001908152602001600020548310915050919050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461183a90614882565b80601f016020809104026020016040519081016040528092919081815260200182805461186690614882565b80156118b35780601f10611888576101008083540402835291602001916118b3565b820191906000526020600020905b81548152906001019060200180831161189657829003601f168201915b5050505050905090565b600f80546118ca90614882565b80601f01602080910402602001604051908101604052809291908181526020018280546118f690614882565b80156119435780601f1061191857610100808354040283529160200191611943565b820191906000526020600020905b81548152906001019060200180831161192657829003601f168201915b505050505081565b6000801b81565b61196461195d611cb4565b838361241e565b5050565b600d6020528060005260406000206000915090505481565b61199161198b611cb4565b83611ef8565b6119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790614476565b60405180910390fd5b6119dc8484848461258b565b50505050565b60606119ed82611dd3565b611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a23906144d6565b60405180910390fd5b600f611a37836125e7565b604051602001611a48929190614095565b6040516020818303038152906040529050919050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b611a8b82610f69565b611a9c81611a97611cb4565b611cbc565b611aa6838361231e565b505050565b7f6270edb7c868f86fda4adedba75108201087268ea345934db8bad688e1feb91b81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606000600e5467ffffffffffffffff811115611ba9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611be257816020015b611bcf61355f565b815260200190600190039081611bc75790505b5090506000600190505b600e548111611cac576040518060600160405280600b6000848152602001908152602001600020548152602001600c6000848152602001908152602001600020548152602001600d60008481526020019081526020016000205481525082600183611c579190614752565b81518110611c8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080611ca4906148e5565b915050611bec565b508091505090565b600033905090565b611cc682826117c0565b611d5557611ceb8173ffffffffffffffffffffffffffffffffffffffff166014612794565b611cf98360001c6020612794565b604051602001611d0a9291906140b9565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c91906141d4565b60405180910390fd5b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dcc5750611dcb82612a8e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eb28361137d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f0382611dd3565b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614336565b60405180910390fd5b6000611f4d8361137d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fbc57508373ffffffffffffffffffffffffffffffffffffffff16611fa484610a68565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fcd5750611fcc8185611acf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ff68261137d565b73ffffffffffffffffffffffffffffffffffffffff161461204c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204390614276565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b3906142f6565b60405180910390fd5b6120c7838383612b08565b6120d2600082611e3f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121229190614752565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121799190614671565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612238838383612c1c565b505050565b61224782826117c0565b61231a576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122bf611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61232882826117c0565b156123fc576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123a1611cb4565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61241a828260405180602001604052806000815250612c21565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561248d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248490614316565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161257e919061419e565b60405180910390a3505050565b612596848484611fd6565b6125a284848484612c7c565b6125e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d890614236565b60405180910390fd5b50505050565b6060600082141561262f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061278f565b600082905060005b6000821461266157808061264a906148e5565b915050600a8261265a91906146c7565b9150612637565b60008167ffffffffffffffff8111156126a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126d55781602001600182028036833780820191505090505b5090505b60008514612788576001826126ee9190614752565b9150600a856126fd919061492e565b60306127099190614671565b60f81b818381518110612745577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561278191906146c7565b94506126d9565b8093505050505b919050565b6060600060028360026127a791906146f8565b6127b19190614671565b67ffffffffffffffff8111156127f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128225781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612880577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061290a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261294a91906146f8565b6129549190614671565b90505b6001811115612a40577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106129bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106129f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612a3990614858565b9050612957565b5060008414612a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7b906141f6565b60405180910390fd5b8091505092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b015750612b0082612e13565b5b9050919050565b612b13838383612ef5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5657612b5181612efa565b612b95565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b9457612b938382612f43565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bd857612bd3816130b0565b612c17565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c1657612c1582826131f3565b5b5b505050565b505050565b612c2b8383613272565b612c386000848484612c7c565b612c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6e90614236565b60405180910390fd5b505050565b6000612c9d8473ffffffffffffffffffffffffffffffffffffffff1661344c565b15612e06578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc6611cb4565b8786866040518563ffffffff1660e01b8152600401612ce8949392919061410e565b602060405180830381600087803b158015612d0257600080fd5b505af1925050508015612d3357506040513d601f19601f82011682018060405250810190612d30919061398f565b60015b612db6573d8060008114612d63576040519150601f19603f3d011682016040523d82523d6000602084013e612d68565b606091505b50600081511415612dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da590614236565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e0b565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ede57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612eee5750612eed8261346f565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f508461142f565b612f5a9190614752565b905060006007600084815260200190815260200160002054905081811461303f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130c49190614752565b905060006009600084815260200190815260200160002054905060006008838154811061311a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613162577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131fe8361142f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d9906143b6565b60405180910390fd5b6132eb81611dd3565b1561332b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332290614296565b60405180910390fd5b61333760008383612b08565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133879190614671565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461344860008383612c1c565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546134e590614882565b90600052602060002090601f016020900481019282613507576000855561354e565b82601f1061352057803560ff191683800117855561354e565b8280016001018555821561354e579182015b8281111561354d578235825591602001919060010190613532565b5b50905061355b9190613580565b5090565b60405180606001604052806000815260200160008152602001600081525090565b5b80821115613599576000816000905550600101613581565b5090565b60006135b06135ab84614576565b614551565b9050828152602081018484840111156135c857600080fd5b6135d3848285614816565b509392505050565b6000813590506135ea8161512e565b92915050565b6000813590506135ff81615145565b92915050565b6000813590506136148161515c565b92915050565b60008135905061362981615173565b92915050565b60008135905061363e8161518a565b92915050565b6000815190506136538161518a565b92915050565b600082601f83011261366a57600080fd5b813561367a84826020860161359d565b91505092915050565b60008083601f84011261369557600080fd5b8235905067ffffffffffffffff8111156136ae57600080fd5b6020830191508360018202830111156136c657600080fd5b9250929050565b6000813590506136dc816151a1565b92915050565b6000602082840312156136f457600080fd5b6000613702848285016135db565b91505092915050565b60006020828403121561371d57600080fd5b600061372b848285016135f0565b91505092915050565b6000806040838503121561374757600080fd5b6000613755858286016135db565b9250506020613766858286016135db565b9150509250929050565b60008060006060848603121561378557600080fd5b6000613793868287016135db565b93505060206137a4868287016135db565b92505060406137b5868287016136cd565b9150509250925092565b600080600080608085870312156137d557600080fd5b60006137e3878288016135db565b94505060206137f4878288016135db565b9350506040613805878288016136cd565b925050606085013567ffffffffffffffff81111561382257600080fd5b61382e87828801613659565b91505092959194509250565b6000806040838503121561384d57600080fd5b600061385b858286016135db565b925050602061386c85828601613605565b9150509250929050565b6000806040838503121561388957600080fd5b6000613897858286016135db565b92505060206138a8858286016136cd565b9150509250929050565b6000806000606084860312156138c757600080fd5b60006138d5868287016135db565b93505060206138e6868287016136cd565b92505060406138f7868287016136cd565b9150509250925092565b60006020828403121561391357600080fd5b60006139218482850161361a565b91505092915050565b6000806040838503121561393d57600080fd5b600061394b8582860161361a565b925050602061395c858286016135db565b9150509250929050565b60006020828403121561397857600080fd5b60006139868482850161362f565b91505092915050565b6000602082840312156139a157600080fd5b60006139af84828501613644565b91505092915050565b600080602083850312156139cb57600080fd5b600083013567ffffffffffffffff8111156139e557600080fd5b6139f185828601613683565b92509250509250929050565b600060208284031215613a0f57600080fd5b6000613a1d848285016136cd565b91505092915050565b6000613a328383614035565b60608301905092915050565b6000613a4a8383614077565b60208301905092915050565b613a5f81614786565b82525050565b6000613a70826145dc565b613a7a8185614622565b9350613a85836145a7565b8060005b83811015613ab6578151613a9d8882613a26565b9750613aa883614608565b925050600181019050613a89565b5085935050505092915050565b6000613ace826145e7565b613ad88185614633565b9350613ae3836145b7565b8060005b83811015613b14578151613afb8882613a3e565b9750613b0683614615565b925050600181019050613ae7565b5085935050505092915050565b613b2a816147aa565b82525050565b613b39816147b6565b82525050565b6000613b4a826145f2565b613b548185614644565b9350613b64818560208601614825565b613b6d81614a1b565b840191505092915050565b6000613b83826145fd565b613b8d8185614655565b9350613b9d818560208601614825565b613ba681614a1b565b840191505092915050565b6000613bbc826145fd565b613bc68185614666565b9350613bd6818560208601614825565b80840191505092915050565b60008154613bef81614882565b613bf98186614666565b94506001821660008114613c145760018114613c2557613c58565b60ff19831686528186019350613c58565b613c2e856145c7565b60005b83811015613c5057815481890152600182019150602081019050613c31565b838801955050505b50505092915050565b6000613c6e602083614655565b9150613c7982614a2c565b602082019050919050565b6000613c91602b83614655565b9150613c9c82614a55565b604082019050919050565b6000613cb4603283614655565b9150613cbf82614aa4565b604082019050919050565b6000613cd7601a83614655565b9150613ce282614af3565b602082019050919050565b6000613cfa602583614655565b9150613d0582614b1c565b604082019050919050565b6000613d1d601c83614655565b9150613d2882614b6b565b602082019050919050565b6000613d40601c83614655565b9150613d4b82614b94565b602082019050919050565b6000613d63601c83614655565b9150613d6e82614bbd565b602082019050919050565b6000613d86602483614655565b9150613d9182614be6565b604082019050919050565b6000613da9601983614655565b9150613db482614c35565b602082019050919050565b6000613dcc602c83614655565b9150613dd782614c5e565b604082019050919050565b6000613def603883614655565b9150613dfa82614cad565b604082019050919050565b6000613e12602a83614655565b9150613e1d82614cfc565b604082019050919050565b6000613e35602983614655565b9150613e4082614d4b565b604082019050919050565b6000613e58602083614655565b9150613e6382614d9a565b602082019050919050565b6000613e7b601d83614655565b9150613e8682614dc3565b602082019050919050565b6000613e9e602c83614655565b9150613ea982614dec565b604082019050919050565b6000613ec1602283614655565b9150613ecc82614e3b565b604082019050919050565b6000613ee4602183614655565b9150613eef82614e8a565b604082019050919050565b6000613f07602e83614655565b9150613f1282614ed9565b604082019050919050565b6000613f2a603183614655565b9150613f3582614f28565b604082019050919050565b6000613f4d602c83614655565b9150613f5882614f77565b604082019050919050565b6000613f70602b83614655565b9150613f7b82614fc6565b604082019050919050565b6000613f93602d83614655565b9150613f9e82615015565b604082019050919050565b6000613fb6601783614666565b9150613fc182615064565b601782019050919050565b6000613fd9601c83614655565b9150613fe48261508d565b602082019050919050565b6000613ffc601183614666565b9150614007826150b6565b601182019050919050565b600061401f602f83614655565b915061402a826150df565b604082019050919050565b60608201600082015161404b6000850182614077565b50602082015161405e6020850182614077565b5060408201516140716040850182614077565b50505050565b6140808161480c565b82525050565b61408f8161480c565b82525050565b60006140a18285613be2565b91506140ad8284613bb1565b91508190509392505050565b60006140c482613fa9565b91506140d08285613bb1565b91506140db82613fef565b91506140e78284613bb1565b91508190509392505050565b60006020820190506141086000830184613a56565b92915050565b60006080820190506141236000830187613a56565b6141306020830186613a56565b61413d6040830185614086565b818103606083015261414f8184613b3f565b905095945050505050565b600060208201905081810360008301526141748184613a65565b905092915050565b600060208201905081810360008301526141968184613ac3565b905092915050565b60006020820190506141b36000830184613b21565b92915050565b60006020820190506141ce6000830184613b30565b92915050565b600060208201905081810360008301526141ee8184613b78565b905092915050565b6000602082019050818103600083015261420f81613c61565b9050919050565b6000602082019050818103600083015261422f81613c84565b9050919050565b6000602082019050818103600083015261424f81613ca7565b9050919050565b6000602082019050818103600083015261426f81613cca565b9050919050565b6000602082019050818103600083015261428f81613ced565b9050919050565b600060208201905081810360008301526142af81613d10565b9050919050565b600060208201905081810360008301526142cf81613d33565b9050919050565b600060208201905081810360008301526142ef81613d56565b9050919050565b6000602082019050818103600083015261430f81613d79565b9050919050565b6000602082019050818103600083015261432f81613d9c565b9050919050565b6000602082019050818103600083015261434f81613dbf565b9050919050565b6000602082019050818103600083015261436f81613de2565b9050919050565b6000602082019050818103600083015261438f81613e05565b9050919050565b600060208201905081810360008301526143af81613e28565b9050919050565b600060208201905081810360008301526143cf81613e4b565b9050919050565b600060208201905081810360008301526143ef81613e6e565b9050919050565b6000602082019050818103600083015261440f81613e91565b9050919050565b6000602082019050818103600083015261442f81613eb4565b9050919050565b6000602082019050818103600083015261444f81613ed7565b9050919050565b6000602082019050818103600083015261446f81613efa565b9050919050565b6000602082019050818103600083015261448f81613f1d565b9050919050565b600060208201905081810360008301526144af81613f40565b9050919050565b600060208201905081810360008301526144cf81613f63565b9050919050565b600060208201905081810360008301526144ef81613f86565b9050919050565b6000602082019050818103600083015261450f81613fcc565b9050919050565b6000602082019050818103600083015261452f81614012565b9050919050565b600060208201905061454b6000830184614086565b92915050565b600061455b61456c565b905061456782826148b4565b919050565b6000604051905090565b600067ffffffffffffffff821115614591576145906149ec565b5b61459a82614a1b565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061467c8261480c565b91506146878361480c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146bc576146bb61495f565b5b828201905092915050565b60006146d28261480c565b91506146dd8361480c565b9250826146ed576146ec61498e565b5b828204905092915050565b60006147038261480c565b915061470e8361480c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147475761474661495f565b5b828202905092915050565b600061475d8261480c565b91506147688361480c565b92508282101561477b5761477a61495f565b5b828203905092915050565b6000614791826147ec565b9050919050565b60006147a3826147ec565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614843578082015181840152602081019050614828565b83811115614852576000848401525b50505050565b60006148638261480c565b915060008214156148775761487661495f565b5b600182039050919050565b6000600282049050600182168061489a57607f821691505b602082108114156148ae576148ad6149bd565b5b50919050565b6148bd82614a1b565b810181811067ffffffffffffffff821117156148dc576148db6149ec565b5b80604052505050565b60006148f08261480c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149235761492261495f565b5b600182019050919050565b60006149398261480c565b91506149448361480c565b9250826149545761495361498e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f5374726164697661726975733a20696e76616c69642074696572000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5374726164697661726975733a20696e76616c696420616d6f756e7400000000600082015250565b7f5374726164697661726975733a20696e76616c6964206f666673657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5374726164697661726975733a206c696d697420746f6f206c61726765000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a20696e76616c696420746f74616c207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a207469657220717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a2063616e6e6f742073657420617320616e206560008201527f6d70747920737472696e67000000000000000000000000000000000000000000602082015250565b7f5374726164697661726975733a2055524920717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5374726164697661726975733a206d696e74696e6720636c6f73656400000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61513781614786565b811461514257600080fd5b50565b61514e81614798565b811461515957600080fd5b50565b615165816147aa565b811461517057600080fd5b50565b61517c816147b6565b811461518757600080fd5b50565b615193816147c0565b811461519e57600080fd5b50565b6151aa8161480c565b81146151b557600080fd5b5056fea264697066735822122038accddb6d673152f2d4f3630b733d014dd68f11a2469d48782fa638f8be426064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000025546865205374726164697661726975732076696f6c696e20e2809c436f6262657474e2809d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055354524144000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f6170692e6e6674636c6173736963736f63696574792e61692f7374726164697661726975732f6d657461646174612f000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): The Stradivarius violin “Cobbett”
Arg [1] : symbol_ (string): STRAD
Arg [2] : baseUri_ (string): https://api.nftclassicsociety.ai/stradivarius/metadata/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [4] : 546865205374726164697661726975732076696f6c696e20e2809c436f626265
Arg [5] : 7474e2809d000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 5354524144000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [9] : 68747470733a2f2f6170692e6e6674636c6173736963736f63696574792e6169
Arg [10] : 2f7374726164697661726975732f6d657461646174612f000000000000000000
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.