ERC-721
Overview
Max Total Supply
74 SOCKS
Holders
74
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SOCKSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MeetYourMaker
Compiler Version
v0.8.7+commit.e28d00a7
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; import "@openzeppelin/[email protected]/access/AccessControl.sol"; import "@openzeppelin/[email protected]/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; import "@openzeppelin/[email protected]/utils/Strings.sol"; import "@openzeppelin/[email protected]/access/IAccessControl.sol"; import "@openzeppelin/[email protected]/token/ERC20/IERC20.sol"; import "@openzeppelin/[email protected]/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/[email protected]/token/ERC721/IERC721.sol"; import "@openzeppelin/[email protected]/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/[email protected]/token/ERC721/extensions/IERC721Enumerable.sol"; contract MeetYourMaker is AccessControl, ERC721A, ReentrancyGuard { using SafeERC20 for IERC20; mapping(address => uint256) public allowlist; uint256 public allowlistCounter; string private _baseTokenURI; bytes32 public constant ALLOWER_ROLE = keccak256("ALLOWER_ROLE"); constructor(address owner) ERC721A( "Meet Your Maker", "SOCKS", 1, 2500 // Max supply ) { _setupRole(DEFAULT_ADMIN_ROLE, owner); _setupRole(ALLOWER_ROLE, owner); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } modifier onlyAdmin() { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "The caller does not have the ADMIN role"); _; } modifier onlyAllower() { require(hasRole(ALLOWER_ROLE, msg.sender), "The caller does not have the ALLOWER role"); _; } receive() external payable { revert("Contract does not accept ether transfers"); } fallback() external payable { revert("Contract does not accept ether transfers"); } function meetYourMaker() external callerIsUser { require(allowlist[msg.sender] > 0, "Not eligible for mint or already has minted"); require(numberMinted(msg.sender) == 0, "You've already minted your NFT"); require(totalSupply() + 1 <= collectionSize, "Reached max supply"); allowlist[msg.sender]--; allowlistCounter--; _safeMint(msg.sender, 1); } function batchAllowAndMint(address[] memory addresses) external onlyAllower { for (uint256 i = 0; i < addresses.length; i++) { uint256 mints = allowlist[addresses[i]]; require(mints == 0, "One of the passed addresses is already on the allow list"); require(numberMinted(addresses[i]) == 0, "One of the passed addresses already own the NFT"); require(totalSupply() + 1 <= collectionSize, "Reached max supply"); _safeMint(addresses[i], 1); } } function addToAllowlist(address[] memory addresses) external onlyAllower { for (uint256 i = 0; i < addresses.length; i++) { allowlist[addresses[i]] = 1; allowlistCounter++; } } function isEligible(address user) external view returns (bool) { return numberMinted(msg.sender) == 0 && allowlist[user] > 0; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyAdmin { _baseTokenURI = baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return _baseURI(); } function setOwnersExplicit(uint256 quantity) external onlyAdmin nonReentrant { _setOwnersExplicit(quantity); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721A) returns (bool) { return interfaceId == type(IAccessControl).interfaceId || interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function grantAllowerRole(address to) external onlyAdmin { grantRole(ALLOWER_ROLE, to); } function revokeAllowerRole(address from) external onlyAdmin { revokeRole(ALLOWER_ROLE, from); } function transferAdmin(address to) external onlyAdmin { grantRole(DEFAULT_ADMIN_ROLE, to); renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); } function rescueTokens(address tokenAddress) external onlyAdmin { IERC20 token = IERC20(tokenAddress); uint256 balance = token.balanceOf(address(this)); require(balance > 0, "No tokens for given address"); token.safeTransfer(msg.sender, balance); } }
// 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/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.7.0) (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`. * * 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; /** * @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 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// 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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/[email protected]/token/ERC721/IERC721.sol"; import "@openzeppelin/[email protected]/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/[email protected]/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/[email protected]/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/[email protected]/utils/Address.sol"; import "@openzeppelin/[email protected]/utils/Context.sol"; import "@openzeppelin/[email protected]/utils/Strings.sol"; import "@openzeppelin/[email protected]/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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 * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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); _; } /** * @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 `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @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. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ 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`. * * May emit a {RoleRevoked} event. */ 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. * * May emit a {RoleGranted} event. * * [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. * * May emit a {RoleGranted} event. */ 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. * * May emit a {RoleRevoked} event. */ 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 (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/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 (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.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 (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 v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ALLOWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"batchAllowAndMint","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"grantAllowerRole","outputs":[],"stateMutability":"nonpayable","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":"address","name":"user","type":"address"}],"name":"isEligible","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"meetYourMaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"tokenAddress","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"revokeAllowerRole","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":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","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":"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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferAdmin","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600060015560006008553480156200001b57600080fd5b50604051620065ae380380620065ae83398181016040528101906200004191906200041a565b6040518060400160405280600f81526020017f4d65657420596f7572204d616b657200000000000000000000000000000000008152506040518060400160405280600581526020017f534f434b5300000000000000000000000000000000000000000000000000000081525060016109c460008111620000f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ef90620004bc565b60405180910390fd5b600082116200013e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000135906200049a565b60405180910390fd5b83600290805190602001906200015692919062000353565b5082600390805190602001906200016f92919062000353565b508160a081815250508060808181525050505050506001600981905550620001a16000801b82620001da60201b60201c565b620001d37f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa82620001da60201b60201c565b5062000645565b620001ec8282620001f060201b60201c565b5050565b620002028282620002e160201b60201c565b620002dd57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002826200034b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620003619062000523565b90600052602060002090601f016020900481019282620003855760008555620003d1565b82601f10620003a057805160ff1916838001178555620003d1565b82800160010185558215620003d1579182015b82811115620003d0578251825591602001919060010190620003b3565b5b509050620003e09190620003e4565b5090565b5b80821115620003ff576000816000905550600101620003e5565b5090565b60008151905062000414816200062b565b92915050565b60006020828403121562000433576200043262000588565b5b6000620004438482850162000403565b91505092915050565b60006200045b602783620004de565b915062000468826200058d565b604082019050919050565b600062000482602e83620004de565b91506200048f82620005dc565b604082019050919050565b60006020820190508181036000830152620004b5816200044c565b9050919050565b60006020820190508181036000830152620004d78162000473565b9050919050565b600082825260208201905092915050565b6000620004fc8262000503565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200053c57607f821691505b6020821081141562000553576200055262000559565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b6200063681620004ef565b81146200064257600080fd5b50565b60805160a051615f206200068e60003960008181612cb101528181612cda015261341e015260008181611463015281816118a601528181612846015261287a0152615f206000f3fe6080604052600436106102285760003560e01c80635bc8314411610123578063a217fddf116100ab578063c87b56dd1161006f578063c87b56dd146108c2578063d547741f146108ff578063d7224ba014610928578063dc33e68114610953578063e985e9c51461099057610268565b8063a217fddf146107df578063a22cb4651461080a578063a7cd52cb14610833578063b88d4fde14610870578063bde740b11461089957610268565b806375829def116100f257806375829def146106e6578063779f715b1461070f57806391d148541461073a5780639231ab2a1461077757806395d89b41146107b457610268565b80635bc83144146106065780636352211e1461062f57806366e305fd1461066c57806370a08231146106a957610268565b8063248a9ca3116101b15780633ba0f15b116101755780633ba0f15b1461053757806342842e0e1461054e5780634f6ccce7146105775780635207c273146105b457806355f804b3146105dd57610268565b8063248a9ca3146104425780632d20fb601461047f5780632f2ff15d146104a85780632f745c59146104d157806336568abe1461050e57610268565b8063095ea7b3116101f8578063095ea7b31461037157806310766f6f1461039a5780631685c5ff146103c557806318160ddd146103ee57806323b872dd1461041957610268565b8062ae3bf8146102a357806301ffc9a7146102cc57806306fdde0314610309578063081812fc1461033457610268565b36610268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025f90614ef0565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029a90614ef0565b60405180910390fd5b3480156102af57600080fd5b506102ca60048036038101906102c59190613f81565b6109cd565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190614227565b610b1e565b6040516103009190614a98565b60405180910390f35b34801561031557600080fd5b5061031e610cd0565b60405161032b9190614ace565b60405180910390f35b34801561034057600080fd5b5061035b600480360381019061035691906142ce565b610d62565b6040516103689190614a08565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190614104565b610de7565b005b3480156103a657600080fd5b506103af610f00565b6040516103bc9190614ab3565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190613f81565b610f24565b005b3480156103fa57600080fd5b50610403610f9d565b6040516104109190614f8b565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b9190613fee565b610fa7565b005b34801561044e57600080fd5b50610469600480360381019061046491906141ba565b610fb7565b6040516104769190614ab3565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a191906142ce565b610fd6565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906141e7565b611084565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614104565b6110a5565b6040516105059190614f8b565b60405180910390f35b34801561051a57600080fd5b50610535600480360381019061053091906141e7565b6112a3565b005b34801561054357600080fd5b5061054c611326565b005b34801561055a57600080fd5b5061057560048036038101906105709190613fee565b611551565b005b34801561058357600080fd5b5061059e600480360381019061059991906142ce565b611571565b6040516105ab9190614f8b565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d69190614144565b6115c4565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190614281565b6116c7565b005b34801561061257600080fd5b5061062d60048036038101906106289190614144565b611729565b005b34801561063b57600080fd5b50610656600480360381019061065191906142ce565b611957565b6040516106639190614a08565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613f81565b61196d565b6040516106a09190614a98565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190613f81565b6119cc565b6040516106dd9190614f8b565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613f81565b611ab5565b005b34801561071b57600080fd5b50610724611b1e565b6040516107319190614f8b565b60405180910390f35b34801561074657600080fd5b50610761600480360381019061075c91906141e7565b611b24565b60405161076e9190614a98565b60405180910390f35b34801561078357600080fd5b5061079e600480360381019061079991906142ce565b611b8e565b6040516107ab9190614f70565b60405180910390f35b3480156107c057600080fd5b506107c9611ba6565b6040516107d69190614ace565b60405180910390f35b3480156107eb57600080fd5b506107f4611c38565b6040516108019190614ab3565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c91906140c4565b611c3f565b005b34801561083f57600080fd5b5061085a60048036038101906108559190613f81565b611dc0565b6040516108679190614f8b565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614041565b611dd8565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190613f81565b611e34565b005b3480156108ce57600080fd5b506108e960048036038101906108e491906142ce565b611ead565b6040516108f69190614ace565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906141e7565b611ebe565b005b34801561093457600080fd5b5061093d611edf565b60405161094a9190614f8b565b60405180910390f35b34801561095f57600080fd5b5061097a60048036038101906109759190613f81565b611ee5565b6040516109879190614f8b565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190613fae565b611ef7565b6040516109c49190614a98565b60405180910390f35b6109da6000801b33611b24565b610a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1090614cd0565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a599190614a08565b60206040518083038186803b158015610a7157600080fd5b505afa158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa991906142fb565b905060008111610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae590614cf0565b60405180910390fd5b610b1933828473ffffffffffffffffffffffffffffffffffffffff16611f8b9092919063ffffffff16565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be957507f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c5157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cc95750610cc882612011565b5b9050919050565b606060028054610cdf906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0b906152ee565b8015610d585780601f10610d2d57610100808354040283529160200191610d58565b820191906000526020600020905b815481529060010190602001808311610d3b57829003601f168201915b5050505050905090565b6000610d6d8261215b565b610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614f10565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610df282611957565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90614d70565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e82612169565b73ffffffffffffffffffffffffffffffffffffffff161480610eb15750610eb081610eab612169565b611ef7565b5b610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614c70565b60405180910390fd5b610efb838383612171565b505050565b7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa81565b610f316000801b33611b24565b610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6790614cd0565b60405180910390fd5b610f9a7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa82611084565b50565b6000600154905090565b610fb2838383612223565b505050565b6000806000838152602001908152602001600020600101549050919050565b610fe36000801b33611b24565b611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990614cd0565b60405180910390fd5b60026009541415611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614eb0565b60405180910390fd5b6002600981905550611079816127dc565b600160098190555050565b61108d82610fb7565b61109681612a6a565b6110a08383612a7e565b505050565b60006110b0836119cc565b82106110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614af0565b60405180910390fd5b60006110fb610f9d565b905060008060005b83811015611261576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111f557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561124d578684141561123e57819550505050505061129d565b838061124990615351565b9450505b50808061125990615351565b915050611103565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490614e70565b60405180910390fd5b92915050565b6112ab612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f90614f50565b60405180910390fd5b6113228282612b5e565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90614c50565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614c30565b60405180910390fd5b600061142133611ee5565b14611461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145890614e30565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600161148c610f9d565b61149691906150bc565b11156114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90614b90565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611527906152c4565b9190505550600b600081548092919061153f906152c4565b919050555061154f336001612c3f565b565b61156c83838360405180602001604052806000815250611dd8565b505050565b600061157b610f9d565b82106115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b390614b70565b60405180910390fd5b819050919050565b6115ee7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa33611b24565b61162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490614b50565b60405180910390fd5b60005b81518110156116c3576001600a6000848481518110611652576116516153f8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b60008154809291906116ab90615351565b919050555080806116bb90615351565b915050611630565b5050565b6116d46000801b33611b24565b611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90614cd0565b60405180910390fd5b8181600c9190611724929190613c98565b505050565b6117537f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa33611b24565b611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990614b50565b60405180910390fd5b60005b8151811015611953576000600a60008484815181106117b7576117b66153f8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811461183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183690614d90565b60405180910390fd5b6000611864848481518110611857576118566153f8565b5b6020026020010151611ee5565b146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90614c10565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060016118cf610f9d565b6118d991906150bc565b111561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614b90565b60405180910390fd5b61193f8383815181106119305761192f6153f8565b5b60200260200101516001612c3f565b50808061194b90615351565b915050611795565b5050565b600061196282612c5d565b600001519050919050565b60008061197933611ee5565b1480156119c557506000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490614cb0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ac26000801b33611b24565b611b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af890614cd0565b60405180910390fd5b611b0e6000801b82611084565b611b1b6000801b336112a3565b50565b600b5481565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b96613d1e565b611b9f82612c5d565b9050919050565b606060038054611bb5906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054611be1906152ee565b8015611c2e5780601f10611c0357610100808354040283529160200191611c2e565b820191906000526020600020905b815481529060010190602001808311611c1157829003601f168201915b5050505050905090565b6000801b81565b611c47612169565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90614d30565b60405180910390fd5b8060076000611cc2612169565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6f612169565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db49190614a98565b60405180910390a35050565b600a6020528060005260406000206000915090505481565b611de3848484612223565b611def84848484612e60565b611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590614db0565b60405180910390fd5b50505050565b611e416000801b33611b24565b611e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7790614cd0565b60405180910390fd5b611eaa7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa82611ebe565b50565b6060611eb7612ff7565b9050919050565b611ec782610fb7565b611ed081612a6a565b611eda8383612b5e565b505050565b60085481565b6000611ef082613089565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61200c8363a9059cbb60e01b8484604051602401611faa929190614a6f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613172565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120dc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612154575061215382613239565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061222e82612c5d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612255612169565b73ffffffffffffffffffffffffffffffffffffffff1614806122b1575061227a612169565b73ffffffffffffffffffffffffffffffffffffffff1661229984610d62565b73ffffffffffffffffffffffffffffffffffffffff16145b806122cd57506122cc82600001516122c7612169565b611ef7565b5b90508061230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614d50565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237890614d10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e890614bb0565b60405180910390fd5b6123fe85858560016132b3565b61240e6000848460000151612171565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661247c919061516c565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166125209190615076565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461262691906150bc565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276c5761269c8161215b565b1561276b576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127d486868660016132b9565b505050505050565b6000600854905060008211612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614c90565b60405180910390fd5b60006001838361283691906150bc565b61284091906151a0565b905060017f000000000000000000000000000000000000000000000000000000000000000061286f91906151a0565b8111156128a65760017f00000000000000000000000000000000000000000000000000000000000000006128a391906151a0565b90505b6128af8161215b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614e90565b60405180910390fd5b60008290505b818111612a5157600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a3e57600061297182612c5d565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b8080612a4990615351565b9150506128f4565b50600181612a5f91906150bc565b600881905550505050565b612a7b81612a76612169565b6132bf565b50565b612a888282611b24565b612b5a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612aff612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612b688282611b24565b15612c3b57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612be0612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612c5982826040518060200160405280600081525061335c565b5050565b612c65613d1e565b612c6e8261215b565b612cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca490614b30565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612d115760017f000000000000000000000000000000000000000000000000000000000000000084612d0491906151a0565b612d0e91906150bc565b90505b60008390505b818110612e1f576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e0b57809350505050612e5b565b508080612e17906152c4565b915050612d17565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5290614ed0565b60405180910390fd5b919050565b6000612e818473ffffffffffffffffffffffffffffffffffffffff1661383c565b15612fea578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eaa612169565b8786866040518563ffffffff1660e01b8152600401612ecc9493929190614a23565b602060405180830381600087803b158015612ee657600080fd5b505af1925050508015612f1757506040513d601f19601f82011682018060405250810190612f149190614254565b60015b612f9a573d8060008114612f47576040519150601f19603f3d011682016040523d82523d6000602084013e612f4c565b606091505b50600081511415612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990614db0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fef565b600190505b949350505050565b6060600c8054613006906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054613032906152ee565b801561307f5780601f106130545761010080835404028352916020019161307f565b820191906000526020600020905b81548152906001019060200180831161306257829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f190614bd0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b60006131d4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661385f9092919063ffffffff16565b905060008151111561323457808060200190518101906131f4919061418d565b613233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322a90614e50565b60405180910390fd5b5b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132ac57506132ab82613877565b5b9050919050565b50505050565b50505050565b6132c98282611b24565b613358576132ee8173ffffffffffffffffffffffffffffffffffffffff1660146138e1565b6132fc8360001c60206138e1565b60405160200161330d9291906149ce565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334f9190614ace565b60405180910390fd5b5050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ca90614e10565b60405180910390fd5b6133dc8161215b565b1561341c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341390614dd0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561347f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347690614f30565b60405180910390fd5b61348c60008583866132b3565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516135899190615076565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135b09190615076565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561381f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137bf6000888488612e60565b6137fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f590614db0565b60405180910390fd5b818061380990615351565b925050808061381790615351565b91505061374e565b508060018190555061383460008785886132b9565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606061386e8484600085613b1d565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026138f49190615112565b6138fe91906150bc565b67ffffffffffffffff81111561391757613916615427565b5b6040519080825280601f01601f1916602001820160405280156139495781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613981576139806153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106139e5576139e46153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613a259190615112565b613a2f91906150bc565b90505b6001811115613acf577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613a7157613a706153f8565b5b1a60f81b828281518110613a8857613a876153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613ac8906152c4565b9050613a32565b5060008414613b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0a90614b10565b60405180910390fd5b8091505092915050565b606082471015613b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5990614bf0565b60405180910390fd5b613b6b8561383c565b613baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba190614df0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613bd391906149b7565b60006040518083038185875af1925050503d8060008114613c10576040519150601f19603f3d011682016040523d82523d6000602084013e613c15565b606091505b5091509150613c25828286613c31565b92505050949350505050565b60608315613c4157829050613c91565b600083511115613c545782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c889190614ace565b60405180910390fd5b9392505050565b828054613ca4906152ee565b90600052602060002090601f016020900481019282613cc65760008555613d0d565b82601f10613cdf57803560ff1916838001178555613d0d565b82800160010185558215613d0d579182015b82811115613d0c578235825591602001919060010190613cf1565b5b509050613d1a9190613d58565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613d71576000816000905550600101613d59565b5090565b6000613d88613d8384614fcb565b614fa6565b90508083825260208201905082856020860282011115613dab57613daa615460565b5b60005b85811015613ddb5781613dc18882613e27565b845260208401935060208301925050600181019050613dae565b5050509392505050565b6000613df8613df384614ff7565b614fa6565b905082815260208101848484011115613e1457613e13615465565b5b613e1f848285615282565b509392505050565b600081359050613e3681615e77565b92915050565b600082601f830112613e5157613e5061545b565b5b8135613e61848260208601613d75565b91505092915050565b600081359050613e7981615e8e565b92915050565b600081519050613e8e81615e8e565b92915050565b600081359050613ea381615ea5565b92915050565b600081359050613eb881615ebc565b92915050565b600081519050613ecd81615ebc565b92915050565b600082601f830112613ee857613ee761545b565b5b8135613ef8848260208601613de5565b91505092915050565b60008083601f840112613f1757613f1661545b565b5b8235905067ffffffffffffffff811115613f3457613f33615456565b5b602083019150836001820283011115613f5057613f4f615460565b5b9250929050565b600081359050613f6681615ed3565b92915050565b600081519050613f7b81615ed3565b92915050565b600060208284031215613f9757613f9661546f565b5b6000613fa584828501613e27565b91505092915050565b60008060408385031215613fc557613fc461546f565b5b6000613fd385828601613e27565b9250506020613fe485828601613e27565b9150509250929050565b6000806000606084860312156140075761400661546f565b5b600061401586828701613e27565b935050602061402686828701613e27565b925050604061403786828701613f57565b9150509250925092565b6000806000806080858703121561405b5761405a61546f565b5b600061406987828801613e27565b945050602061407a87828801613e27565b935050604061408b87828801613f57565b925050606085013567ffffffffffffffff8111156140ac576140ab61546a565b5b6140b887828801613ed3565b91505092959194509250565b600080604083850312156140db576140da61546f565b5b60006140e985828601613e27565b92505060206140fa85828601613e6a565b9150509250929050565b6000806040838503121561411b5761411a61546f565b5b600061412985828601613e27565b925050602061413a85828601613f57565b9150509250929050565b60006020828403121561415a5761415961546f565b5b600082013567ffffffffffffffff8111156141785761417761546a565b5b61418484828501613e3c565b91505092915050565b6000602082840312156141a3576141a261546f565b5b60006141b184828501613e7f565b91505092915050565b6000602082840312156141d0576141cf61546f565b5b60006141de84828501613e94565b91505092915050565b600080604083850312156141fe576141fd61546f565b5b600061420c85828601613e94565b925050602061421d85828601613e27565b9150509250929050565b60006020828403121561423d5761423c61546f565b5b600061424b84828501613ea9565b91505092915050565b60006020828403121561426a5761426961546f565b5b600061427884828501613ebe565b91505092915050565b600080602083850312156142985761429761546f565b5b600083013567ffffffffffffffff8111156142b6576142b561546a565b5b6142c285828601613f01565b92509250509250929050565b6000602082840312156142e4576142e361546f565b5b60006142f284828501613f57565b91505092915050565b6000602082840312156143115761431061546f565b5b600061431f84828501613f6c565b91505092915050565b614331816151d4565b82525050565b614340816151d4565b82525050565b61434f816151e6565b82525050565b61435e816151f2565b82525050565b600061436f82615028565b614379818561503e565b9350614389818560208601615291565b61439281615474565b840191505092915050565b60006143a882615028565b6143b2818561504f565b93506143c2818560208601615291565b80840191505092915050565b60006143d982615033565b6143e3818561505a565b93506143f3818560208601615291565b6143fc81615474565b840191505092915050565b600061441282615033565b61441c818561506b565b935061442c818560208601615291565b80840191505092915050565b600061444560228361505a565b915061445082615485565b604082019050919050565b600061446860208361505a565b9150614473826154d4565b602082019050919050565b600061448b602a8361505a565b9150614496826154fd565b604082019050919050565b60006144ae60298361505a565b91506144b98261554c565b604082019050919050565b60006144d160238361505a565b91506144dc8261559b565b604082019050919050565b60006144f460128361505a565b91506144ff826155ea565b602082019050919050565b600061451760258361505a565b915061452282615613565b604082019050919050565b600061453a60318361505a565b915061454582615662565b604082019050919050565b600061455d60268361505a565b9150614568826156b1565b604082019050919050565b6000614580602f8361505a565b915061458b82615700565b604082019050919050565b60006145a3602b8361505a565b91506145ae8261574f565b604082019050919050565b60006145c6601e8361505a565b91506145d18261579e565b602082019050919050565b60006145e960398361505a565b91506145f4826157c7565b604082019050919050565b600061460c60188361505a565b915061461782615816565b602082019050919050565b600061462f602b8361505a565b915061463a8261583f565b604082019050919050565b600061465260278361505a565b915061465d8261588e565b604082019050919050565b6000614675601b8361505a565b9150614680826158dd565b602082019050919050565b600061469860268361505a565b91506146a382615906565b604082019050919050565b60006146bb601a8361505a565b91506146c682615955565b602082019050919050565b60006146de60328361505a565b91506146e98261597e565b604082019050919050565b600061470160228361505a565b915061470c826159cd565b604082019050919050565b600061472460388361505a565b915061472f82615a1c565b604082019050919050565b600061474760338361505a565b915061475282615a6b565b604082019050919050565b600061476a601d8361505a565b915061477582615aba565b602082019050919050565b600061478d601d8361505a565b915061479882615ae3565b602082019050919050565b60006147b060218361505a565b91506147bb82615b0c565b604082019050919050565b60006147d360178361506b565b91506147de82615b5b565b601782019050919050565b60006147f6601e8361505a565b915061480182615b84565b602082019050919050565b6000614819602a8361505a565b915061482482615bad565b604082019050919050565b600061483c602e8361505a565b915061484782615bfc565b604082019050919050565b600061485f60268361505a565b915061486a82615c4b565b604082019050919050565b6000614882601f8361505a565b915061488d82615c9a565b602082019050919050565b60006148a5602f8361505a565b91506148b082615cc3565b604082019050919050565b60006148c860288361505a565b91506148d382615d12565b604082019050919050565b60006148eb602d8361505a565b91506148f682615d61565b604082019050919050565b600061490e60228361505a565b915061491982615db0565b604082019050919050565b600061493160118361506b565b915061493c82615dff565b601182019050919050565b6000614954602f8361505a565b915061495f82615e28565b604082019050919050565b6040820160008201516149806000850182614328565b50602082015161499360208501826149a8565b50505050565b6149a281615264565b82525050565b6149b18161526e565b82525050565b60006149c3828461439d565b915081905092915050565b60006149d9826147c6565b91506149e58285614407565b91506149f082614924565b91506149fc8284614407565b91508190509392505050565b6000602082019050614a1d6000830184614337565b92915050565b6000608082019050614a386000830187614337565b614a456020830186614337565b614a526040830185614999565b8181036060830152614a648184614364565b905095945050505050565b6000604082019050614a846000830185614337565b614a916020830184614999565b9392505050565b6000602082019050614aad6000830184614346565b92915050565b6000602082019050614ac86000830184614355565b92915050565b60006020820190508181036000830152614ae881846143ce565b905092915050565b60006020820190508181036000830152614b0981614438565b9050919050565b60006020820190508181036000830152614b298161445b565b9050919050565b60006020820190508181036000830152614b498161447e565b9050919050565b60006020820190508181036000830152614b69816144a1565b9050919050565b60006020820190508181036000830152614b89816144c4565b9050919050565b60006020820190508181036000830152614ba9816144e7565b9050919050565b60006020820190508181036000830152614bc98161450a565b9050919050565b60006020820190508181036000830152614be98161452d565b9050919050565b60006020820190508181036000830152614c0981614550565b9050919050565b60006020820190508181036000830152614c2981614573565b9050919050565b60006020820190508181036000830152614c4981614596565b9050919050565b60006020820190508181036000830152614c69816145b9565b9050919050565b60006020820190508181036000830152614c89816145dc565b9050919050565b60006020820190508181036000830152614ca9816145ff565b9050919050565b60006020820190508181036000830152614cc981614622565b9050919050565b60006020820190508181036000830152614ce981614645565b9050919050565b60006020820190508181036000830152614d0981614668565b9050919050565b60006020820190508181036000830152614d298161468b565b9050919050565b60006020820190508181036000830152614d49816146ae565b9050919050565b60006020820190508181036000830152614d69816146d1565b9050919050565b60006020820190508181036000830152614d89816146f4565b9050919050565b60006020820190508181036000830152614da981614717565b9050919050565b60006020820190508181036000830152614dc98161473a565b9050919050565b60006020820190508181036000830152614de98161475d565b9050919050565b60006020820190508181036000830152614e0981614780565b9050919050565b60006020820190508181036000830152614e29816147a3565b9050919050565b60006020820190508181036000830152614e49816147e9565b9050919050565b60006020820190508181036000830152614e698161480c565b9050919050565b60006020820190508181036000830152614e898161482f565b9050919050565b60006020820190508181036000830152614ea981614852565b9050919050565b60006020820190508181036000830152614ec981614875565b9050919050565b60006020820190508181036000830152614ee981614898565b9050919050565b60006020820190508181036000830152614f09816148bb565b9050919050565b60006020820190508181036000830152614f29816148de565b9050919050565b60006020820190508181036000830152614f4981614901565b9050919050565b60006020820190508181036000830152614f6981614947565b9050919050565b6000604082019050614f85600083018461496a565b92915050565b6000602082019050614fa06000830184614999565b92915050565b6000614fb0614fc1565b9050614fbc8282615320565b919050565b6000604051905090565b600067ffffffffffffffff821115614fe657614fe5615427565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561501257615011615427565b5b61501b82615474565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061508182615228565b915061508c83615228565b9250826fffffffffffffffffffffffffffffffff038211156150b1576150b061539a565b5b828201905092915050565b60006150c782615264565b91506150d283615264565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151075761510661539a565b5b828201905092915050565b600061511d82615264565b915061512883615264565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151615761516061539a565b5b828202905092915050565b600061517782615228565b915061518283615228565b9250828210156151955761519461539a565b5b828203905092915050565b60006151ab82615264565b91506151b683615264565b9250828210156151c9576151c861539a565b5b828203905092915050565b60006151df82615244565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156152af578082015181840152602081019050615294565b838111156152be576000848401525b50505050565b60006152cf82615264565b915060008214156152e3576152e261539a565b5b600182039050919050565b6000600282049050600182168061530657607f821691505b6020821081141561531a576153196153c9565b5b50919050565b61532982615474565b810181811067ffffffffffffffff8211171561534857615347615427565b5b80604052505050565b600061535c82615264565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561538f5761538e61539a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220646f6573206e6f7420686176652074686520414c4c60008201527f4f57455220726f6c650000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4f6e65206f6620746865207061737365642061646472657373657320616c726560008201527f616479206f776e20746865204e46540000000000000000000000000000000000602082015250565b7f4e6f7420656c696769626c6520666f72206d696e74206f7220616c726561647960008201527f20686173206d696e746564000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220646f6573206e6f742068617665207468652041444d60008201527f494e20726f6c6500000000000000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320666f7220676976656e20616464726573730000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e65206f66207468652070617373656420616464726573736573206973206160008201527f6c7265616479206f6e2074686520616c6c6f77206c6973740000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f596f7527766520616c7265616479206d696e74656420796f7572204e46540000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e747261637420646f6573206e6f7420616363657074206574686572207460008201527f72616e7366657273000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e80816151d4565b8114615e8b57600080fd5b50565b615e97816151e6565b8114615ea257600080fd5b50565b615eae816151f2565b8114615eb957600080fd5b50565b615ec5816151fc565b8114615ed057600080fd5b50565b615edc81615264565b8114615ee757600080fd5b5056fea2646970667358221220657a655b4a444a5a385a2a2d2b027322dedeffab97ff8bdacf78e833413a5a8064736f6c63430008070033000000000000000000000000955993df48b0458a01cfb5fd7df5f5dca6443550
Deployed Bytecode
0x6080604052600436106102285760003560e01c80635bc8314411610123578063a217fddf116100ab578063c87b56dd1161006f578063c87b56dd146108c2578063d547741f146108ff578063d7224ba014610928578063dc33e68114610953578063e985e9c51461099057610268565b8063a217fddf146107df578063a22cb4651461080a578063a7cd52cb14610833578063b88d4fde14610870578063bde740b11461089957610268565b806375829def116100f257806375829def146106e6578063779f715b1461070f57806391d148541461073a5780639231ab2a1461077757806395d89b41146107b457610268565b80635bc83144146106065780636352211e1461062f57806366e305fd1461066c57806370a08231146106a957610268565b8063248a9ca3116101b15780633ba0f15b116101755780633ba0f15b1461053757806342842e0e1461054e5780634f6ccce7146105775780635207c273146105b457806355f804b3146105dd57610268565b8063248a9ca3146104425780632d20fb601461047f5780632f2ff15d146104a85780632f745c59146104d157806336568abe1461050e57610268565b8063095ea7b3116101f8578063095ea7b31461037157806310766f6f1461039a5780631685c5ff146103c557806318160ddd146103ee57806323b872dd1461041957610268565b8062ae3bf8146102a357806301ffc9a7146102cc57806306fdde0314610309578063081812fc1461033457610268565b36610268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025f90614ef0565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029a90614ef0565b60405180910390fd5b3480156102af57600080fd5b506102ca60048036038101906102c59190613f81565b6109cd565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190614227565b610b1e565b6040516103009190614a98565b60405180910390f35b34801561031557600080fd5b5061031e610cd0565b60405161032b9190614ace565b60405180910390f35b34801561034057600080fd5b5061035b600480360381019061035691906142ce565b610d62565b6040516103689190614a08565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190614104565b610de7565b005b3480156103a657600080fd5b506103af610f00565b6040516103bc9190614ab3565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190613f81565b610f24565b005b3480156103fa57600080fd5b50610403610f9d565b6040516104109190614f8b565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b9190613fee565b610fa7565b005b34801561044e57600080fd5b50610469600480360381019061046491906141ba565b610fb7565b6040516104769190614ab3565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a191906142ce565b610fd6565b005b3480156104b457600080fd5b506104cf60048036038101906104ca91906141e7565b611084565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190614104565b6110a5565b6040516105059190614f8b565b60405180910390f35b34801561051a57600080fd5b50610535600480360381019061053091906141e7565b6112a3565b005b34801561054357600080fd5b5061054c611326565b005b34801561055a57600080fd5b5061057560048036038101906105709190613fee565b611551565b005b34801561058357600080fd5b5061059e600480360381019061059991906142ce565b611571565b6040516105ab9190614f8b565b60405180910390f35b3480156105c057600080fd5b506105db60048036038101906105d69190614144565b6115c4565b005b3480156105e957600080fd5b5061060460048036038101906105ff9190614281565b6116c7565b005b34801561061257600080fd5b5061062d60048036038101906106289190614144565b611729565b005b34801561063b57600080fd5b50610656600480360381019061065191906142ce565b611957565b6040516106639190614a08565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e9190613f81565b61196d565b6040516106a09190614a98565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190613f81565b6119cc565b6040516106dd9190614f8b565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613f81565b611ab5565b005b34801561071b57600080fd5b50610724611b1e565b6040516107319190614f8b565b60405180910390f35b34801561074657600080fd5b50610761600480360381019061075c91906141e7565b611b24565b60405161076e9190614a98565b60405180910390f35b34801561078357600080fd5b5061079e600480360381019061079991906142ce565b611b8e565b6040516107ab9190614f70565b60405180910390f35b3480156107c057600080fd5b506107c9611ba6565b6040516107d69190614ace565b60405180910390f35b3480156107eb57600080fd5b506107f4611c38565b6040516108019190614ab3565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c91906140c4565b611c3f565b005b34801561083f57600080fd5b5061085a60048036038101906108559190613f81565b611dc0565b6040516108679190614f8b565b60405180910390f35b34801561087c57600080fd5b5061089760048036038101906108929190614041565b611dd8565b005b3480156108a557600080fd5b506108c060048036038101906108bb9190613f81565b611e34565b005b3480156108ce57600080fd5b506108e960048036038101906108e491906142ce565b611ead565b6040516108f69190614ace565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906141e7565b611ebe565b005b34801561093457600080fd5b5061093d611edf565b60405161094a9190614f8b565b60405180910390f35b34801561095f57600080fd5b5061097a60048036038101906109759190613f81565b611ee5565b6040516109879190614f8b565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190613fae565b611ef7565b6040516109c49190614a98565b60405180910390f35b6109da6000801b33611b24565b610a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1090614cd0565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a599190614a08565b60206040518083038186803b158015610a7157600080fd5b505afa158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa991906142fb565b905060008111610aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae590614cf0565b60405180910390fd5b610b1933828473ffffffffffffffffffffffffffffffffffffffff16611f8b9092919063ffffffff16565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be957507f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c5157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cc95750610cc882612011565b5b9050919050565b606060028054610cdf906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0b906152ee565b8015610d585780601f10610d2d57610100808354040283529160200191610d58565b820191906000526020600020905b815481529060010190602001808311610d3b57829003601f168201915b5050505050905090565b6000610d6d8261215b565b610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da390614f10565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610df282611957565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90614d70565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e82612169565b73ffffffffffffffffffffffffffffffffffffffff161480610eb15750610eb081610eab612169565b611ef7565b5b610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614c70565b60405180910390fd5b610efb838383612171565b505050565b7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa81565b610f316000801b33611b24565b610f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6790614cd0565b60405180910390fd5b610f9a7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa82611084565b50565b6000600154905090565b610fb2838383612223565b505050565b6000806000838152602001908152602001600020600101549050919050565b610fe36000801b33611b24565b611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101990614cd0565b60405180910390fd5b60026009541415611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614eb0565b60405180910390fd5b6002600981905550611079816127dc565b600160098190555050565b61108d82610fb7565b61109681612a6a565b6110a08383612a7e565b505050565b60006110b0836119cc565b82106110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614af0565b60405180910390fd5b60006110fb610f9d565b905060008060005b83811015611261576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146111f557806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561124d578684141561123e57819550505050505061129d565b838061124990615351565b9450505b50808061125990615351565b915050611103565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490614e70565b60405180910390fd5b92915050565b6112ab612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611318576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130f90614f50565b60405180910390fd5b6113228282612b5e565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90614c50565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d90614c30565b60405180910390fd5b600061142133611ee5565b14611461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145890614e30565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c4600161148c610f9d565b61149691906150bc565b11156114d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ce90614b90565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611527906152c4565b9190505550600b600081548092919061153f906152c4565b919050555061154f336001612c3f565b565b61156c83838360405180602001604052806000815250611dd8565b505050565b600061157b610f9d565b82106115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b390614b70565b60405180910390fd5b819050919050565b6115ee7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa33611b24565b61162d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162490614b50565b60405180910390fd5b60005b81518110156116c3576001600a6000848481518110611652576116516153f8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600b60008154809291906116ab90615351565b919050555080806116bb90615351565b915050611630565b5050565b6116d46000801b33611b24565b611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90614cd0565b60405180910390fd5b8181600c9190611724929190613c98565b505050565b6117537f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa33611b24565b611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990614b50565b60405180910390fd5b60005b8151811015611953576000600a60008484815181106117b7576117b66153f8565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811461183f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183690614d90565b60405180910390fd5b6000611864848481518110611857576118566153f8565b5b6020026020010151611ee5565b146118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90614c10565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000009c460016118cf610f9d565b6118d991906150bc565b111561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614b90565b60405180910390fd5b61193f8383815181106119305761192f6153f8565b5b60200260200101516001612c3f565b50808061194b90615351565b915050611795565b5050565b600061196282612c5d565b600001519050919050565b60008061197933611ee5565b1480156119c557506000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3490614cb0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ac26000801b33611b24565b611b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af890614cd0565b60405180910390fd5b611b0e6000801b82611084565b611b1b6000801b336112a3565b50565b600b5481565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b96613d1e565b611b9f82612c5d565b9050919050565b606060038054611bb5906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054611be1906152ee565b8015611c2e5780601f10611c0357610100808354040283529160200191611c2e565b820191906000526020600020905b815481529060010190602001808311611c1157829003601f168201915b5050505050905090565b6000801b81565b611c47612169565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90614d30565b60405180910390fd5b8060076000611cc2612169565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6f612169565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db49190614a98565b60405180910390a35050565b600a6020528060005260406000206000915090505481565b611de3848484612223565b611def84848484612e60565b611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2590614db0565b60405180910390fd5b50505050565b611e416000801b33611b24565b611e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7790614cd0565b60405180910390fd5b611eaa7f2e304fa367e6bae25074aa208a0f43e2334743818f7c95fe77cf129d05fbe9fa82611ebe565b50565b6060611eb7612ff7565b9050919050565b611ec782610fb7565b611ed081612a6a565b611eda8383612b5e565b505050565b60085481565b6000611ef082613089565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61200c8363a9059cbb60e01b8484604051602401611faa929190614a6f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613172565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806120dc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612154575061215382613239565b5b9050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061222e82612c5d565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612255612169565b73ffffffffffffffffffffffffffffffffffffffff1614806122b1575061227a612169565b73ffffffffffffffffffffffffffffffffffffffff1661229984610d62565b73ffffffffffffffffffffffffffffffffffffffff16145b806122cd57506122cc82600001516122c7612169565b611ef7565b5b90508061230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690614d50565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237890614d10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e890614bb0565b60405180910390fd5b6123fe85858560016132b3565b61240e6000848460000151612171565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661247c919061516c565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166125209190615076565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461262691906150bc565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561276c5761269c8161215b565b1561276b576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127d486868660016132b9565b505050505050565b6000600854905060008211612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614c90565b60405180910390fd5b60006001838361283691906150bc565b61284091906151a0565b905060017f00000000000000000000000000000000000000000000000000000000000009c461286f91906151a0565b8111156128a65760017f00000000000000000000000000000000000000000000000000000000000009c46128a391906151a0565b90505b6128af8161215b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614e90565b60405180910390fd5b60008290505b818111612a5157600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a3e57600061297182612c5d565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b8080612a4990615351565b9150506128f4565b50600181612a5f91906150bc565b600881905550505050565b612a7b81612a76612169565b6132bf565b50565b612a888282611b24565b612b5a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612aff612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612b688282611b24565b15612c3b57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612be0612169565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612c5982826040518060200160405280600081525061335c565b5050565b612c65613d1e565b612c6e8261215b565b612cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca490614b30565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000018310612d115760017f000000000000000000000000000000000000000000000000000000000000000184612d0491906151a0565b612d0e91906150bc565b90505b60008390505b818110612e1f576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612e0b57809350505050612e5b565b508080612e17906152c4565b915050612d17565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5290614ed0565b60405180910390fd5b919050565b6000612e818473ffffffffffffffffffffffffffffffffffffffff1661383c565b15612fea578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eaa612169565b8786866040518563ffffffff1660e01b8152600401612ecc9493929190614a23565b602060405180830381600087803b158015612ee657600080fd5b505af1925050508015612f1757506040513d601f19601f82011682018060405250810190612f149190614254565b60015b612f9a573d8060008114612f47576040519150601f19603f3d011682016040523d82523d6000602084013e612f4c565b606091505b50600081511415612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990614db0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fef565b600190505b949350505050565b6060600c8054613006906152ee565b80601f0160208091040260200160405190810160405280929190818152602001828054613032906152ee565b801561307f5780601f106130545761010080835404028352916020019161307f565b820191906000526020600020905b81548152906001019060200180831161306257829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f190614bd0565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b60006131d4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661385f9092919063ffffffff16565b905060008151111561323457808060200190518101906131f4919061418d565b613233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322a90614e50565b60405180910390fd5b5b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132ac57506132ab82613877565b5b9050919050565b50505050565b50505050565b6132c98282611b24565b613358576132ee8173ffffffffffffffffffffffffffffffffffffffff1660146138e1565b6132fc8360001c60206138e1565b60405160200161330d9291906149ce565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334f9190614ace565b60405180910390fd5b5050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ca90614e10565b60405180910390fd5b6133dc8161215b565b1561341c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341390614dd0565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000183111561347f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347690614f30565b60405180910390fd5b61348c60008583866132b3565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516135899190615076565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135b09190615076565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561381f57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137bf6000888488612e60565b6137fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f590614db0565b60405180910390fd5b818061380990615351565b925050808061381790615351565b91505061374e565b508060018190555061383460008785886132b9565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606061386e8484600085613b1d565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026138f49190615112565b6138fe91906150bc565b67ffffffffffffffff81111561391757613916615427565b5b6040519080825280601f01601f1916602001820160405280156139495781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613981576139806153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106139e5576139e46153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002613a259190615112565b613a2f91906150bc565b90505b6001811115613acf577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613a7157613a706153f8565b5b1a60f81b828281518110613a8857613a876153f8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613ac8906152c4565b9050613a32565b5060008414613b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b0a90614b10565b60405180910390fd5b8091505092915050565b606082471015613b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b5990614bf0565b60405180910390fd5b613b6b8561383c565b613baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba190614df0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613bd391906149b7565b60006040518083038185875af1925050503d8060008114613c10576040519150601f19603f3d011682016040523d82523d6000602084013e613c15565b606091505b5091509150613c25828286613c31565b92505050949350505050565b60608315613c4157829050613c91565b600083511115613c545782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c889190614ace565b60405180910390fd5b9392505050565b828054613ca4906152ee565b90600052602060002090601f016020900481019282613cc65760008555613d0d565b82601f10613cdf57803560ff1916838001178555613d0d565b82800160010185558215613d0d579182015b82811115613d0c578235825591602001919060010190613cf1565b5b509050613d1a9190613d58565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613d71576000816000905550600101613d59565b5090565b6000613d88613d8384614fcb565b614fa6565b90508083825260208201905082856020860282011115613dab57613daa615460565b5b60005b85811015613ddb5781613dc18882613e27565b845260208401935060208301925050600181019050613dae565b5050509392505050565b6000613df8613df384614ff7565b614fa6565b905082815260208101848484011115613e1457613e13615465565b5b613e1f848285615282565b509392505050565b600081359050613e3681615e77565b92915050565b600082601f830112613e5157613e5061545b565b5b8135613e61848260208601613d75565b91505092915050565b600081359050613e7981615e8e565b92915050565b600081519050613e8e81615e8e565b92915050565b600081359050613ea381615ea5565b92915050565b600081359050613eb881615ebc565b92915050565b600081519050613ecd81615ebc565b92915050565b600082601f830112613ee857613ee761545b565b5b8135613ef8848260208601613de5565b91505092915050565b60008083601f840112613f1757613f1661545b565b5b8235905067ffffffffffffffff811115613f3457613f33615456565b5b602083019150836001820283011115613f5057613f4f615460565b5b9250929050565b600081359050613f6681615ed3565b92915050565b600081519050613f7b81615ed3565b92915050565b600060208284031215613f9757613f9661546f565b5b6000613fa584828501613e27565b91505092915050565b60008060408385031215613fc557613fc461546f565b5b6000613fd385828601613e27565b9250506020613fe485828601613e27565b9150509250929050565b6000806000606084860312156140075761400661546f565b5b600061401586828701613e27565b935050602061402686828701613e27565b925050604061403786828701613f57565b9150509250925092565b6000806000806080858703121561405b5761405a61546f565b5b600061406987828801613e27565b945050602061407a87828801613e27565b935050604061408b87828801613f57565b925050606085013567ffffffffffffffff8111156140ac576140ab61546a565b5b6140b887828801613ed3565b91505092959194509250565b600080604083850312156140db576140da61546f565b5b60006140e985828601613e27565b92505060206140fa85828601613e6a565b9150509250929050565b6000806040838503121561411b5761411a61546f565b5b600061412985828601613e27565b925050602061413a85828601613f57565b9150509250929050565b60006020828403121561415a5761415961546f565b5b600082013567ffffffffffffffff8111156141785761417761546a565b5b61418484828501613e3c565b91505092915050565b6000602082840312156141a3576141a261546f565b5b60006141b184828501613e7f565b91505092915050565b6000602082840312156141d0576141cf61546f565b5b60006141de84828501613e94565b91505092915050565b600080604083850312156141fe576141fd61546f565b5b600061420c85828601613e94565b925050602061421d85828601613e27565b9150509250929050565b60006020828403121561423d5761423c61546f565b5b600061424b84828501613ea9565b91505092915050565b60006020828403121561426a5761426961546f565b5b600061427884828501613ebe565b91505092915050565b600080602083850312156142985761429761546f565b5b600083013567ffffffffffffffff8111156142b6576142b561546a565b5b6142c285828601613f01565b92509250509250929050565b6000602082840312156142e4576142e361546f565b5b60006142f284828501613f57565b91505092915050565b6000602082840312156143115761431061546f565b5b600061431f84828501613f6c565b91505092915050565b614331816151d4565b82525050565b614340816151d4565b82525050565b61434f816151e6565b82525050565b61435e816151f2565b82525050565b600061436f82615028565b614379818561503e565b9350614389818560208601615291565b61439281615474565b840191505092915050565b60006143a882615028565b6143b2818561504f565b93506143c2818560208601615291565b80840191505092915050565b60006143d982615033565b6143e3818561505a565b93506143f3818560208601615291565b6143fc81615474565b840191505092915050565b600061441282615033565b61441c818561506b565b935061442c818560208601615291565b80840191505092915050565b600061444560228361505a565b915061445082615485565b604082019050919050565b600061446860208361505a565b9150614473826154d4565b602082019050919050565b600061448b602a8361505a565b9150614496826154fd565b604082019050919050565b60006144ae60298361505a565b91506144b98261554c565b604082019050919050565b60006144d160238361505a565b91506144dc8261559b565b604082019050919050565b60006144f460128361505a565b91506144ff826155ea565b602082019050919050565b600061451760258361505a565b915061452282615613565b604082019050919050565b600061453a60318361505a565b915061454582615662565b604082019050919050565b600061455d60268361505a565b9150614568826156b1565b604082019050919050565b6000614580602f8361505a565b915061458b82615700565b604082019050919050565b60006145a3602b8361505a565b91506145ae8261574f565b604082019050919050565b60006145c6601e8361505a565b91506145d18261579e565b602082019050919050565b60006145e960398361505a565b91506145f4826157c7565b604082019050919050565b600061460c60188361505a565b915061461782615816565b602082019050919050565b600061462f602b8361505a565b915061463a8261583f565b604082019050919050565b600061465260278361505a565b915061465d8261588e565b604082019050919050565b6000614675601b8361505a565b9150614680826158dd565b602082019050919050565b600061469860268361505a565b91506146a382615906565b604082019050919050565b60006146bb601a8361505a565b91506146c682615955565b602082019050919050565b60006146de60328361505a565b91506146e98261597e565b604082019050919050565b600061470160228361505a565b915061470c826159cd565b604082019050919050565b600061472460388361505a565b915061472f82615a1c565b604082019050919050565b600061474760338361505a565b915061475282615a6b565b604082019050919050565b600061476a601d8361505a565b915061477582615aba565b602082019050919050565b600061478d601d8361505a565b915061479882615ae3565b602082019050919050565b60006147b060218361505a565b91506147bb82615b0c565b604082019050919050565b60006147d360178361506b565b91506147de82615b5b565b601782019050919050565b60006147f6601e8361505a565b915061480182615b84565b602082019050919050565b6000614819602a8361505a565b915061482482615bad565b604082019050919050565b600061483c602e8361505a565b915061484782615bfc565b604082019050919050565b600061485f60268361505a565b915061486a82615c4b565b604082019050919050565b6000614882601f8361505a565b915061488d82615c9a565b602082019050919050565b60006148a5602f8361505a565b91506148b082615cc3565b604082019050919050565b60006148c860288361505a565b91506148d382615d12565b604082019050919050565b60006148eb602d8361505a565b91506148f682615d61565b604082019050919050565b600061490e60228361505a565b915061491982615db0565b604082019050919050565b600061493160118361506b565b915061493c82615dff565b601182019050919050565b6000614954602f8361505a565b915061495f82615e28565b604082019050919050565b6040820160008201516149806000850182614328565b50602082015161499360208501826149a8565b50505050565b6149a281615264565b82525050565b6149b18161526e565b82525050565b60006149c3828461439d565b915081905092915050565b60006149d9826147c6565b91506149e58285614407565b91506149f082614924565b91506149fc8284614407565b91508190509392505050565b6000602082019050614a1d6000830184614337565b92915050565b6000608082019050614a386000830187614337565b614a456020830186614337565b614a526040830185614999565b8181036060830152614a648184614364565b905095945050505050565b6000604082019050614a846000830185614337565b614a916020830184614999565b9392505050565b6000602082019050614aad6000830184614346565b92915050565b6000602082019050614ac86000830184614355565b92915050565b60006020820190508181036000830152614ae881846143ce565b905092915050565b60006020820190508181036000830152614b0981614438565b9050919050565b60006020820190508181036000830152614b298161445b565b9050919050565b60006020820190508181036000830152614b498161447e565b9050919050565b60006020820190508181036000830152614b69816144a1565b9050919050565b60006020820190508181036000830152614b89816144c4565b9050919050565b60006020820190508181036000830152614ba9816144e7565b9050919050565b60006020820190508181036000830152614bc98161450a565b9050919050565b60006020820190508181036000830152614be98161452d565b9050919050565b60006020820190508181036000830152614c0981614550565b9050919050565b60006020820190508181036000830152614c2981614573565b9050919050565b60006020820190508181036000830152614c4981614596565b9050919050565b60006020820190508181036000830152614c69816145b9565b9050919050565b60006020820190508181036000830152614c89816145dc565b9050919050565b60006020820190508181036000830152614ca9816145ff565b9050919050565b60006020820190508181036000830152614cc981614622565b9050919050565b60006020820190508181036000830152614ce981614645565b9050919050565b60006020820190508181036000830152614d0981614668565b9050919050565b60006020820190508181036000830152614d298161468b565b9050919050565b60006020820190508181036000830152614d49816146ae565b9050919050565b60006020820190508181036000830152614d69816146d1565b9050919050565b60006020820190508181036000830152614d89816146f4565b9050919050565b60006020820190508181036000830152614da981614717565b9050919050565b60006020820190508181036000830152614dc98161473a565b9050919050565b60006020820190508181036000830152614de98161475d565b9050919050565b60006020820190508181036000830152614e0981614780565b9050919050565b60006020820190508181036000830152614e29816147a3565b9050919050565b60006020820190508181036000830152614e49816147e9565b9050919050565b60006020820190508181036000830152614e698161480c565b9050919050565b60006020820190508181036000830152614e898161482f565b9050919050565b60006020820190508181036000830152614ea981614852565b9050919050565b60006020820190508181036000830152614ec981614875565b9050919050565b60006020820190508181036000830152614ee981614898565b9050919050565b60006020820190508181036000830152614f09816148bb565b9050919050565b60006020820190508181036000830152614f29816148de565b9050919050565b60006020820190508181036000830152614f4981614901565b9050919050565b60006020820190508181036000830152614f6981614947565b9050919050565b6000604082019050614f85600083018461496a565b92915050565b6000602082019050614fa06000830184614999565b92915050565b6000614fb0614fc1565b9050614fbc8282615320565b919050565b6000604051905090565b600067ffffffffffffffff821115614fe657614fe5615427565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561501257615011615427565b5b61501b82615474565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061508182615228565b915061508c83615228565b9250826fffffffffffffffffffffffffffffffff038211156150b1576150b061539a565b5b828201905092915050565b60006150c782615264565b91506150d283615264565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151075761510661539a565b5b828201905092915050565b600061511d82615264565b915061512883615264565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151615761516061539a565b5b828202905092915050565b600061517782615228565b915061518283615228565b9250828210156151955761519461539a565b5b828203905092915050565b60006151ab82615264565b91506151b683615264565b9250828210156151c9576151c861539a565b5b828203905092915050565b60006151df82615244565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156152af578082015181840152602081019050615294565b838111156152be576000848401525b50505050565b60006152cf82615264565b915060008214156152e3576152e261539a565b5b600182039050919050565b6000600282049050600182168061530657607f821691505b6020821081141561531a576153196153c9565b5b50919050565b61532982615474565b810181811067ffffffffffffffff8211171561534857615347615427565b5b80604052505050565b600061535c82615264565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561538f5761538e61539a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220646f6573206e6f7420686176652074686520414c4c60008201527f4f57455220726f6c650000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4f6e65206f6620746865207061737365642061646472657373657320616c726560008201527f616479206f776e20746865204e46540000000000000000000000000000000000602082015250565b7f4e6f7420656c696769626c6520666f72206d696e74206f7220616c726561647960008201527f20686173206d696e746564000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220646f6573206e6f742068617665207468652041444d60008201527f494e20726f6c6500000000000000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320666f7220676976656e20616464726573730000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6e65206f66207468652070617373656420616464726573736573206973206160008201527f6c7265616479206f6e2074686520616c6c6f77206c6973740000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f596f7527766520616c7265616479206d696e74656420796f7572204e46540000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f436f6e747261637420646f6573206e6f7420616363657074206574686572207460008201527f72616e7366657273000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e80816151d4565b8114615e8b57600080fd5b50565b615e97816151e6565b8114615ea257600080fd5b50565b615eae816151f2565b8114615eb957600080fd5b50565b615ec5816151fc565b8114615ed057600080fd5b50565b615edc81615264565b8114615ee757600080fd5b5056fea2646970667358221220657a655b4a444a5a385a2a2d2b027322dedeffab97ff8bdacf78e833413a5a8064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000955993df48b0458a01cfb5fd7df5f5dca6443550
-----Decoded View---------------
Arg [0] : owner (address): 0x955993Df48b0458A01cfB5fd7DF5F5DCa6443550
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000955993df48b0458a01cfb5fd7df5f5dca6443550
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.