ERC-721
Overview
Max Total Supply
380 JOLLYJ
Holders
179
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 JOLLYJLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JollyJalapenos
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.7; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; contract JollyJalapenos is ERC721, EIP712, PaymentSplitter, ERC721Enumerable, AccessControl, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string public PROVENANCE; uint256 public constant MAX_PURCHASE_ALLOW = 20; uint256 public collectionSize; uint256 public salePrice = 20000000000000000; string private baseUri; bool public saleIsActive = false; constructor(address[] memory payees, uint256[] memory shares, uint256 _collectionSize) ERC721("Jolly Jalapenos", "JOLLYJ") EIP712("Jolly Jalapenos", "1.0.0") PaymentSplitter(payees, shares) { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); collectionSize = _collectionSize; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AccessControl, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function setSalePrice(uint256 _salePrice) public onlyOwner { require(_salePrice > 0, "Sale price must be greather than 0"); salePrice = _salePrice; } function setBaseUri(string memory _baseUri) public onlyOwner { baseUri = _baseUri; } function _baseURI() internal view override returns (string memory) { return baseUri; } function setCollectionSize(uint256 _collectionSize) public onlyOwner { require( collectionSize > totalSupply(), "The collection size can't be less than the total supply" ); collectionSize = _collectionSize; } function setProvenance(string memory provenance) public onlyOwner { PROVENANCE = provenance; } function setSaleState(bool newState) public onlyRole(DEFAULT_ADMIN_ROLE) { saleIsActive = newState; } function reserve(uint256 n) public onlyOwner { for (uint256 i = 0; i < n; i++) { _safeMint(msg.sender); } } function sale(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale is not active to mint tokens"); require( numberOfTokens <= MAX_PURCHASE_ALLOW, "Can only mint 20 tokens at a time" ); require( totalSupply() + numberOfTokens <= collectionSize, "Purchase would exceed max supply" ); require( numberOfTokens * salePrice <= msg.value, "Ether value sent is not correct" ); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender); } } function _safeMint(address to) private { require( totalSupply() < collectionSize, "Minting will exceed the max supply" ); uint256 currentTokenId = _tokenIdCounter.current(); _safeMint(to, currentTokenId); _tokenIdCounter.increment(); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { 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 override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: 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 virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @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 pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"uint256","name":"_collectionSize","type":"uint256"}],"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE_ALLOW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","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":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"sale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_collectionSize","type":"uint256"}],"name":"setCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
61012060405266470de4df8200006014556000601660006101000a81548160ff0219169083151502179055503480156200003857600080fd5b506040516200683e3803806200683e83398181016040528101906200005e919062000a1f565b82826040518060400160405280600f81526020017f4a6f6c6c79204a616c6170656e6f7300000000000000000000000000000000008152506040518060400160405280600581526020017f312e302e300000000000000000000000000000000000000000000000000000008152506040518060400160405280600f81526020017f4a6f6c6c79204a616c6170656e6f7300000000000000000000000000000000008152506040518060400160405280600681526020017f4a4f4c4c594a0000000000000000000000000000000000000000000000000000815250816000908051906020019062000150929190620007e5565b50806001908051906020019062000169929190620007e5565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a08181525050620001d48184846200032e60201b60201c565b608081815250508061010081815250505050505050805182511462000230576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002279062000c5b565b60405180910390fd5b600082511162000277576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026e9062000c9f565b60405180910390fd5b60005b8251811015620002e657620002d08382815181106200029e576200029d62000f38565b5b6020026020010151838381518110620002bc57620002bb62000f38565b5b60200260200101516200036a60201b60201c565b8080620002dd9062000e8c565b9150506200027a565b50505062000309620002fd620005a460201b60201c565b620005ac60201b60201c565b6200031e6000801b336200067260201b60201c565b806013819055505050506200112e565b600083838346306040516020016200034b95949392919062000bdc565b6040516020818303038152906040528051906020012090509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d49062000c39565b60405180910390fd5b6000811162000423576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041a9062000cc1565b60405180910390fd5b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200049f9062000c7d565b60405180910390fd5b600a829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806006546200055f919062000d7b565b6006819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200059892919062000baf565b60405180910390a15050565b600033905090565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200068482826200068860201b60201c565b5050565b6200069a82826200077a60201b60201c565b62000776576001600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200071b620005a460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620007f39062000e20565b90600052602060002090601f01602090048101928262000817576000855562000863565b82601f106200083257805160ff191683800117855562000863565b8280016001018555821562000863579182015b828111156200086257825182559160200191906001019062000845565b5b50905062000872919062000876565b5090565b5b808211156200089157600081600090555060010162000877565b5090565b6000620008ac620008a68462000d0c565b62000ce3565b90508083825260208201905082856020860282011115620008d257620008d162000f9b565b5b60005b85811015620009065781620008eb88826200098b565b845260208401935060208301925050600181019050620008d5565b5050509392505050565b600062000927620009218462000d3b565b62000ce3565b905080838252602082019050828560208602820111156200094d576200094c62000f9b565b5b60005b8581101562000981578162000966888262000a08565b84526020840193506020830192505060018101905062000950565b5050509392505050565b6000815190506200099c81620010fa565b92915050565b600082601f830112620009ba57620009b962000f96565b5b8151620009cc84826020860162000895565b91505092915050565b600082601f830112620009ed57620009ec62000f96565b5b8151620009ff84826020860162000910565b91505092915050565b60008151905062000a198162001114565b92915050565b60008060006060848603121562000a3b5762000a3a62000fa5565b5b600084015167ffffffffffffffff81111562000a5c5762000a5b62000fa0565b5b62000a6a86828701620009a2565b935050602084015167ffffffffffffffff81111562000a8e5762000a8d62000fa0565b5b62000a9c86828701620009d5565b925050604062000aaf8682870162000a08565b9150509250925092565b62000ac48162000dd8565b82525050565b62000ad58162000dec565b82525050565b600062000aea602c8362000d6a565b915062000af78262000fbb565b604082019050919050565b600062000b1160328362000d6a565b915062000b1e826200100a565b604082019050919050565b600062000b38602b8362000d6a565b915062000b458262001059565b604082019050919050565b600062000b5f601a8362000d6a565b915062000b6c82620010a8565b602082019050919050565b600062000b86601d8362000d6a565b915062000b9382620010d1565b602082019050919050565b62000ba98162000e16565b82525050565b600060408201905062000bc6600083018562000ab9565b62000bd5602083018462000b9e565b9392505050565b600060a08201905062000bf3600083018862000aca565b62000c02602083018762000aca565b62000c11604083018662000aca565b62000c20606083018562000b9e565b62000c2f608083018462000ab9565b9695505050505050565b6000602082019050818103600083015262000c548162000adb565b9050919050565b6000602082019050818103600083015262000c768162000b02565b9050919050565b6000602082019050818103600083015262000c988162000b29565b9050919050565b6000602082019050818103600083015262000cba8162000b50565b9050919050565b6000602082019050818103600083015262000cdc8162000b77565b9050919050565b600062000cef62000d02565b905062000cfd828262000e56565b919050565b6000604051905090565b600067ffffffffffffffff82111562000d2a5762000d2962000f67565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000d595762000d5862000f67565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000d888262000e16565b915062000d958362000e16565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000dcd5762000dcc62000eda565b5b828201905092915050565b600062000de58262000df6565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000e3957607f821691505b6020821081141562000e505762000e4f62000f09565b5b50919050565b62000e618262000faa565b810181811067ffffffffffffffff8211171562000e835762000e8262000f67565b5b80604052505050565b600062000e998262000e16565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000ecf5762000ece62000eda565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b620011058162000dd8565b81146200111157600080fd5b50565b6200111f8162000e16565b81146200112b57600080fd5b50565b60805160a05160c05160e051610100516156da6200116460003960005050600050506000505060005050600050506156da6000f3fe6080604052600436106102605760003560e01c8063819b25ba11610144578063b88d4fde116100b6578063e33b7de31161007a578063e33b7de31461097c578063e985e9c5146109a7578063eb8d2444146109e4578063f2fde38b14610a0f578063f51f96dd14610a38578063ffe630b514610a63576102a7565b8063b88d4fde14610887578063c4e37095146108b0578063c87b56dd146108d9578063ce7c2ac214610916578063d547741f14610953576102a7565b8063960327021161010857806396032702146107885780639852595c146107a4578063a0bcfc7f146107e1578063a217fddf1461080a578063a22cb46514610835578063aca8ffe71461085e576102a7565b8063819b25ba1461068f5780638b83209b146106b85780638da5cb5b146106f557806391d148541461072057806395d89b411461075d576102a7565b80632f745c59116101dd578063465b496f116101a1578063465b496f1461056b5780634f6ccce7146105965780636352211e146105d35780636373a6b11461061057806370a082311461063b578063715018a614610678576102a7565b80632f745c591461048657806336568abe146104c35780633a98ef39146104ec57806342842e0e1461051757806345c0f53314610540576102a7565b8063191655871161022457806319165587146103a55780631919fed7146103ce57806323b872dd146103f7578063248a9ca3146104205780632f2ff15d1461045d576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b31461035157806318160ddd1461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a8c565b3460405161029d9291906143b0565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce9190613c49565b610a94565b6040516102e091906143d9565b60405180910390f35b3480156102f557600080fd5b506102fe610aa6565b60405161030b919061440f565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190613cec565b610b38565b6040516103489190614320565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613b6f565b610bbd565b005b34801561038657600080fd5b5061038f610cd5565b60405161039c9190614811565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c791906139ec565b610ce2565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613cec565b610f4a565b005b34801561040357600080fd5b5061041e60048036038101906104199190613a59565b611013565b005b34801561042c57600080fd5b5061044760048036038101906104429190613bdc565b611073565b60405161045491906143f4565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190613c09565b611093565b005b34801561049257600080fd5b506104ad60048036038101906104a89190613b6f565b6110bc565b6040516104ba9190614811565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190613c09565b611161565b005b3480156104f857600080fd5b506105016111e4565b60405161050e9190614811565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190613a59565b6111ee565b005b34801561054c57600080fd5b5061055561120e565b6040516105629190614811565b60405180910390f35b34801561057757600080fd5b50610580611214565b60405161058d9190614811565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613cec565b611219565b6040516105ca9190614811565b60405180910390f35b3480156105df57600080fd5b506105fa60048036038101906105f59190613cec565b61128a565b6040516106079190614320565b60405180910390f35b34801561061c57600080fd5b5061062561133c565b604051610632919061440f565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906139bf565b6113ca565b60405161066f9190614811565b60405180910390f35b34801561068457600080fd5b5061068d611482565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613cec565b61150a565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613cec565b6115b1565b6040516106ec9190614320565b60405180910390f35b34801561070157600080fd5b5061070a6115f9565b6040516107179190614320565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613c09565b611623565b60405161075491906143d9565b60405180910390f35b34801561076957600080fd5b5061077261168e565b60405161077f919061440f565b60405180910390f35b6107a2600480360381019061079d9190613cec565b611720565b005b3480156107b057600080fd5b506107cb60048036038101906107c691906139bf565b611885565b6040516107d89190614811565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613ca3565b6118ce565b005b34801561081657600080fd5b5061081f611964565b60405161082c91906143f4565b60405180910390f35b34801561084157600080fd5b5061085c60048036038101906108579190613b2f565b61196b565b005b34801561086a57600080fd5b5061088560048036038101906108809190613cec565b611aec565b005b34801561089357600080fd5b506108ae60048036038101906108a99190613aac565b611bbd565b005b3480156108bc57600080fd5b506108d760048036038101906108d29190613baf565b611c1f565b005b3480156108e557600080fd5b5061090060048036038101906108fb9190613cec565b611c52565b60405161090d919061440f565b60405180910390f35b34801561092257600080fd5b5061093d600480360381019061093891906139bf565b611cf9565b60405161094a9190614811565b60405180910390f35b34801561095f57600080fd5b5061097a60048036038101906109759190613c09565b611d42565b005b34801561098857600080fd5b50610991611d6b565b60405161099e9190614811565b60405180910390f35b3480156109b357600080fd5b506109ce60048036038101906109c99190613a19565b611d75565b6040516109db91906143d9565b60405180910390f35b3480156109f057600080fd5b506109f9611e09565b604051610a0691906143d9565b60405180910390f35b348015610a1b57600080fd5b50610a366004803603810190610a3191906139bf565b611e1c565b005b348015610a4457600080fd5b50610a4d611f14565b604051610a5a9190614811565b60405180910390f35b348015610a6f57600080fd5b50610a8a6004803603810190610a859190613ca3565b611f1a565b005b600033905090565b6000610a9f82611fb0565b9050919050565b606060008054610ab590614b48565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190614b48565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b5050505050905090565b6000610b438261202a565b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906146f1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc88261128a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090614791565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c58610a8c565b73ffffffffffffffffffffffffffffffffffffffff161480610c875750610c8681610c81610a8c565b611d75565b5b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614631565b60405180910390fd5b610cd08383612096565b505050565b6000600d80549050905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b906144f1565b60405180910390fd5b600060075447610d749190614901565b90506000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e069190614988565b610e109190614957565b610e1a91906149e2565b90506000811415610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906145d1565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eab9190614901565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600754610efc9190614901565b600781905550610f0c838261214f565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f3d92919061433b565b60405180910390a1505050565b610f52610a8c565b73ffffffffffffffffffffffffffffffffffffffff16610f706115f9565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614711565b60405180910390fd5b60008111611009576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611000906144d1565b60405180910390fd5b8060148190555050565b61102461101e610a8c565b82612243565b611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906147b1565b60405180910390fd5b61106e838383612321565b505050565b6000600f6000838152602001908152602001600020600101549050919050565b61109c82611073565b6110ad816110a8610a8c565b61257d565b6110b7838361261a565b505050565b60006110c7836113ca565b8210611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90614451565b60405180910390fd5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611169610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd906147f1565b60405180910390fd5b6111e082826126fb565b5050565b6000600654905090565b61120983838360405180602001604052806000815250611bbd565b505050565b60135481565b601481565b6000611223610cd5565b8210611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906147d1565b60405180910390fd5b600d828154811061127857611277614ce1565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90614671565b60405180910390fd5b80915050919050565b6012805461134990614b48565b80601f016020809104026020016040519081016040528092919081815260200182805461137590614b48565b80156113c25780601f10611397576101008083540402835291602001916113c2565b820191906000526020600020905b8154815290600101906020018083116113a557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561143b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143290614651565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61148a610a8c565b73ffffffffffffffffffffffffffffffffffffffff166114a86115f9565b73ffffffffffffffffffffffffffffffffffffffff16146114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614711565b60405180910390fd5b61150860006127dd565b565b611512610a8c565b73ffffffffffffffffffffffffffffffffffffffff166115306115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614711565b60405180910390fd5b60005b818110156115ad5761159a336128a3565b80806115a590614bab565b915050611589565b5050565b6000600a82815481106115c7576115c6614ce1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461169d90614b48565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990614b48565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b5050505050905090565b601660009054906101000a900460ff1661176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690614611565b60405180910390fd5b60148111156117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa906145f1565b60405180910390fd5b601354816117bf610cd5565b6117c99190614901565b111561180a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611801906146b1565b60405180910390fd5b34601454826118199190614988565b111561185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614551565b60405180910390fd5b60005b818110156118815761186e336128a3565b808061187990614bab565b91505061185d565b5050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118d6610a8c565b73ffffffffffffffffffffffffffffffffffffffff166118f46115f9565b73ffffffffffffffffffffffffffffffffffffffff161461194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194190614711565b60405180910390fd5b80601590805190602001906119609291906137a9565b5050565b6000801b81565b611973610a8c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890614531565b60405180910390fd5b80600560006119ee610a8c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a9b610a8c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae091906143d9565b60405180910390a35050565b611af4610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611b126115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614711565b60405180910390fd5b611b70610cd5565b60135411611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90614751565b60405180910390fd5b8060138190555050565b611bce611bc8610a8c565b83612243565b611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c04906147b1565b60405180910390fd5b611c1984848484612914565b50505050565b6000801b611c3481611c2f610a8c565b61257d565b81601660006101000a81548160ff0219169083151502179055505050565b6060611c5d8261202a565b611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9390614771565b60405180910390fd5b6000611ca6612970565b90506000815111611cc65760405180602001604052806000815250611cf1565b80611cd084612a02565b604051602001611ce19291906142ad565b6040516020818303038152906040525b915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d4b82611073565b611d5c81611d57610a8c565b61257d565b611d6683836126fb565b505050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601660009054906101000a900460ff1681565b611e24610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611e426115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90614711565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff90614491565b60405180910390fd5b611f11816127dd565b50565b60145481565b611f22610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611f406115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d90614711565b60405180910390fd5b8060129080519060200190611fac9291906137a9565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612023575061202282612b63565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121098361128a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015612192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218990614591565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516121b8906142d1565b60006040518083038185875af1925050503d80600081146121f5576040519150601f19603f3d011682016040523d82523d6000602084013e6121fa565b606091505b505090508061223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614571565b60405180910390fd5b505050565b600061224e8261202a565b61228d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612284906145b1565b60405180910390fd5b60006122988361128a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230757508373ffffffffffffffffffffffffffffffffffffffff166122ef84610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231857506123178185611d75565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123418261128a565b73ffffffffffffffffffffffffffffffffffffffff1614612397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238e90614731565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614511565b60405180910390fd5b612412838383612bdd565b61241d600082612096565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246d91906149e2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c49190614901565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125878282611623565b612616576125ac8173ffffffffffffffffffffffffffffffffffffffff166014612bed565b6125ba8360001c6020612bed565b6040516020016125cb9291906142e6565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d919061440f565b60405180910390fd5b5050565b6126248282611623565b6126f7576001600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061269c610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127058282611623565b156127d9576000600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061277e610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6013546128ae610cd5565b106128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614691565b60405180910390fd5b60006128fa6011612e29565b90506129068282612e37565b6129106011612e55565b5050565b61291f848484612321565b61292b84848484612e6b565b61296a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296190614471565b60405180910390fd5b50505050565b60606015805461297f90614b48565b80601f01602080910402602001604051908101604052809291908181526020018280546129ab90614b48565b80156129f85780601f106129cd576101008083540402835291602001916129f8565b820191906000526020600020905b8154815290600101906020018083116129db57829003601f168201915b5050505050905090565b60606000821415612a4a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b5e565b600082905060005b60008214612a7c578080612a6590614bab565b915050600a82612a759190614957565b9150612a52565b60008167ffffffffffffffff811115612a9857612a97614d10565b5b6040519080825280601f01601f191660200182016040528015612aca5781602001600182028036833780820191505090505b5090505b60008514612b5757600182612ae391906149e2565b9150600a85612af29190614bf4565b6030612afe9190614901565b60f81b818381518110612b1457612b13614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b509190614957565b9450612ace565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bd65750612bd582613002565b5b9050919050565b612be88383836130e4565b505050565b606060006002836002612c009190614988565b612c0a9190614901565b67ffffffffffffffff811115612c2357612c22614d10565b5b6040519080825280601f01601f191660200182016040528015612c555781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612c8d57612c8c614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612cf157612cf0614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d319190614988565b612d3b9190614901565b90505b6001811115612ddb577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612d7d57612d7c614ce1565b5b1a60f81b828281518110612d9457612d93614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612dd490614b1e565b9050612d3e565b5060008414612e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1690614431565b60405180910390fd5b8091505092915050565b600081600001549050919050565b612e518282604051806020016040528060008152506131f8565b5050565b6001816000016000828254019250508190555050565b6000612e8c8473ffffffffffffffffffffffffffffffffffffffff16613253565b15612ff5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb5610a8c565b8786866040518563ffffffff1660e01b8152600401612ed79493929190614364565b602060405180830381600087803b158015612ef157600080fd5b505af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f9190613c76565b60015b612fa5573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b50600081511415612f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9490614471565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ffa565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130cd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130dd57506130dc82613266565b5b9050919050565b6130ef8383836132d0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131325761312d816132d5565b613171565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131705761316f838261331e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131b4576131af8161348b565b6131f3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131f2576131f1828261355c565b5b5b505050565b61320283836135db565b61320f6000848484612e6b565b61324e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324590614471565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600d80549050600e600083815260200190815260200160002081905550600d81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161332b846113ca565b61333591906149e2565b90506000600c600084815260200190815260200160002054905081811461341a576000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600c600083815260200190815260200160002081905550505b600c600084815260200190815260200160002060009055600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600d8054905061349f91906149e2565b90506000600e60008481526020019081526020016000205490506000600d83815481106134cf576134ce614ce1565b5b9060005260206000200154905080600d83815481106134f1576134f0614ce1565b5b906000526020600020018190555081600e600083815260200190815260200160002081905550600e600085815260200190815260200160002060009055600d8054806135405761353f614cb2565b5b6001900381819060005260206000200160009055905550505050565b6000613567836113ca565b905081600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600c600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561364b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613642906146d1565b60405180910390fd5b6136548161202a565b15613694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368b906144b1565b60405180910390fd5b6136a060008383612bdd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136f09190614901565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137b590614b48565b90600052602060002090601f0160209004810192826137d7576000855561381e565b82601f106137f057805160ff191683800117855561381e565b8280016001018555821561381e579182015b8281111561381d578251825591602001919060010190613802565b5b50905061382b919061382f565b5090565b5b80821115613848576000816000905550600101613830565b5090565b600061385f61385a84614851565b61482c565b90508281526020810184848401111561387b5761387a614d44565b5b613886848285614adc565b509392505050565b60006138a161389c84614882565b61482c565b9050828152602081018484840111156138bd576138bc614d44565b5b6138c8848285614adc565b509392505050565b6000813590506138df8161561a565b92915050565b6000813590506138f481615631565b92915050565b60008135905061390981615648565b92915050565b60008135905061391e8161565f565b92915050565b60008135905061393381615676565b92915050565b60008151905061394881615676565b92915050565b600082601f83011261396357613962614d3f565b5b813561397384826020860161384c565b91505092915050565b600082601f83011261399157613990614d3f565b5b81356139a184826020860161388e565b91505092915050565b6000813590506139b98161568d565b92915050565b6000602082840312156139d5576139d4614d4e565b5b60006139e3848285016138d0565b91505092915050565b600060208284031215613a0257613a01614d4e565b5b6000613a10848285016138e5565b91505092915050565b60008060408385031215613a3057613a2f614d4e565b5b6000613a3e858286016138d0565b9250506020613a4f858286016138d0565b9150509250929050565b600080600060608486031215613a7257613a71614d4e565b5b6000613a80868287016138d0565b9350506020613a91868287016138d0565b9250506040613aa2868287016139aa565b9150509250925092565b60008060008060808587031215613ac657613ac5614d4e565b5b6000613ad4878288016138d0565b9450506020613ae5878288016138d0565b9350506040613af6878288016139aa565b925050606085013567ffffffffffffffff811115613b1757613b16614d49565b5b613b238782880161394e565b91505092959194509250565b60008060408385031215613b4657613b45614d4e565b5b6000613b54858286016138d0565b9250506020613b65858286016138fa565b9150509250929050565b60008060408385031215613b8657613b85614d4e565b5b6000613b94858286016138d0565b9250506020613ba5858286016139aa565b9150509250929050565b600060208284031215613bc557613bc4614d4e565b5b6000613bd3848285016138fa565b91505092915050565b600060208284031215613bf257613bf1614d4e565b5b6000613c008482850161390f565b91505092915050565b60008060408385031215613c2057613c1f614d4e565b5b6000613c2e8582860161390f565b9250506020613c3f858286016138d0565b9150509250929050565b600060208284031215613c5f57613c5e614d4e565b5b6000613c6d84828501613924565b91505092915050565b600060208284031215613c8c57613c8b614d4e565b5b6000613c9a84828501613939565b91505092915050565b600060208284031215613cb957613cb8614d4e565b5b600082013567ffffffffffffffff811115613cd757613cd6614d49565b5b613ce38482850161397c565b91505092915050565b600060208284031215613d0257613d01614d4e565b5b6000613d10848285016139aa565b91505092915050565b613d2281614aa6565b82525050565b613d3181614a16565b82525050565b613d4081614a3a565b82525050565b613d4f81614a46565b82525050565b6000613d60826148b3565b613d6a81856148c9565b9350613d7a818560208601614aeb565b613d8381614d53565b840191505092915050565b6000613d99826148be565b613da381856148e5565b9350613db3818560208601614aeb565b613dbc81614d53565b840191505092915050565b6000613dd2826148be565b613ddc81856148f6565b9350613dec818560208601614aeb565b80840191505092915050565b6000613e056020836148e5565b9150613e1082614d64565b602082019050919050565b6000613e28602b836148e5565b9150613e3382614d8d565b604082019050919050565b6000613e4b6032836148e5565b9150613e5682614ddc565b604082019050919050565b6000613e6e6026836148e5565b9150613e7982614e2b565b604082019050919050565b6000613e91601c836148e5565b9150613e9c82614e7a565b602082019050919050565b6000613eb46022836148e5565b9150613ebf82614ea3565b604082019050919050565b6000613ed76026836148e5565b9150613ee282614ef2565b604082019050919050565b6000613efa6024836148e5565b9150613f0582614f41565b604082019050919050565b6000613f1d6019836148e5565b9150613f2882614f90565b602082019050919050565b6000613f40601f836148e5565b9150613f4b82614fb9565b602082019050919050565b6000613f63603a836148e5565b9150613f6e82614fe2565b604082019050919050565b6000613f86601d836148e5565b9150613f9182615031565b602082019050919050565b6000613fa9602c836148e5565b9150613fb48261505a565b604082019050919050565b6000613fcc602b836148e5565b9150613fd7826150a9565b604082019050919050565b6000613fef6021836148e5565b9150613ffa826150f8565b604082019050919050565b60006140126021836148e5565b915061401d82615147565b604082019050919050565b60006140356038836148e5565b915061404082615196565b604082019050919050565b6000614058602a836148e5565b9150614063826151e5565b604082019050919050565b600061407b6029836148e5565b915061408682615234565b604082019050919050565b600061409e6022836148e5565b91506140a982615283565b604082019050919050565b60006140c16020836148e5565b91506140cc826152d2565b602082019050919050565b60006140e46020836148e5565b91506140ef826152fb565b602082019050919050565b6000614107602c836148e5565b915061411282615324565b604082019050919050565b600061412a6020836148e5565b915061413582615373565b602082019050919050565b600061414d6029836148e5565b91506141588261539c565b604082019050919050565b60006141706037836148e5565b915061417b826153eb565b604082019050919050565b6000614193602f836148e5565b915061419e8261543a565b604082019050919050565b60006141b66021836148e5565b91506141c182615489565b604082019050919050565b60006141d96000836148da565b91506141e4826154d8565b600082019050919050565b60006141fc6031836148e5565b9150614207826154db565b604082019050919050565b600061421f602c836148e5565b915061422a8261552a565b604082019050919050565b60006142426017836148f6565b915061424d82615579565b601782019050919050565b60006142656011836148f6565b9150614270826155a2565b601182019050919050565b6000614288602f836148e5565b9150614293826155cb565b604082019050919050565b6142a781614a9c565b82525050565b60006142b98285613dc7565b91506142c58284613dc7565b91508190509392505050565b60006142dc826141cc565b9150819050919050565b60006142f182614235565b91506142fd8285613dc7565b915061430882614258565b91506143148284613dc7565b91508190509392505050565b60006020820190506143356000830184613d28565b92915050565b60006040820190506143506000830185613d19565b61435d602083018461429e565b9392505050565b60006080820190506143796000830187613d28565b6143866020830186613d28565b614393604083018561429e565b81810360608301526143a58184613d55565b905095945050505050565b60006040820190506143c56000830185613d28565b6143d2602083018461429e565b9392505050565b60006020820190506143ee6000830184613d37565b92915050565b60006020820190506144096000830184613d46565b92915050565b600060208201905081810360008301526144298184613d8e565b905092915050565b6000602082019050818103600083015261444a81613df8565b9050919050565b6000602082019050818103600083015261446a81613e1b565b9050919050565b6000602082019050818103600083015261448a81613e3e565b9050919050565b600060208201905081810360008301526144aa81613e61565b9050919050565b600060208201905081810360008301526144ca81613e84565b9050919050565b600060208201905081810360008301526144ea81613ea7565b9050919050565b6000602082019050818103600083015261450a81613eca565b9050919050565b6000602082019050818103600083015261452a81613eed565b9050919050565b6000602082019050818103600083015261454a81613f10565b9050919050565b6000602082019050818103600083015261456a81613f33565b9050919050565b6000602082019050818103600083015261458a81613f56565b9050919050565b600060208201905081810360008301526145aa81613f79565b9050919050565b600060208201905081810360008301526145ca81613f9c565b9050919050565b600060208201905081810360008301526145ea81613fbf565b9050919050565b6000602082019050818103600083015261460a81613fe2565b9050919050565b6000602082019050818103600083015261462a81614005565b9050919050565b6000602082019050818103600083015261464a81614028565b9050919050565b6000602082019050818103600083015261466a8161404b565b9050919050565b6000602082019050818103600083015261468a8161406e565b9050919050565b600060208201905081810360008301526146aa81614091565b9050919050565b600060208201905081810360008301526146ca816140b4565b9050919050565b600060208201905081810360008301526146ea816140d7565b9050919050565b6000602082019050818103600083015261470a816140fa565b9050919050565b6000602082019050818103600083015261472a8161411d565b9050919050565b6000602082019050818103600083015261474a81614140565b9050919050565b6000602082019050818103600083015261476a81614163565b9050919050565b6000602082019050818103600083015261478a81614186565b9050919050565b600060208201905081810360008301526147aa816141a9565b9050919050565b600060208201905081810360008301526147ca816141ef565b9050919050565b600060208201905081810360008301526147ea81614212565b9050919050565b6000602082019050818103600083015261480a8161427b565b9050919050565b6000602082019050614826600083018461429e565b92915050565b6000614836614847565b90506148428282614b7a565b919050565b6000604051905090565b600067ffffffffffffffff82111561486c5761486b614d10565b5b61487582614d53565b9050602081019050919050565b600067ffffffffffffffff82111561489d5761489c614d10565b5b6148a682614d53565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061490c82614a9c565b915061491783614a9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494c5761494b614c25565b5b828201905092915050565b600061496282614a9c565b915061496d83614a9c565b92508261497d5761497c614c54565b5b828204905092915050565b600061499382614a9c565b915061499e83614a9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d7576149d6614c25565b5b828202905092915050565b60006149ed82614a9c565b91506149f883614a9c565b925082821015614a0b57614a0a614c25565b5b828203905092915050565b6000614a2182614a7c565b9050919050565b6000614a3382614a7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ab182614ab8565b9050919050565b6000614ac382614aca565b9050919050565b6000614ad582614a7c565b9050919050565b82818337600083830152505050565b60005b83811015614b09578082015181840152602081019050614aee565b83811115614b18576000848401525b50505050565b6000614b2982614a9c565b91506000821415614b3d57614b3c614c25565b5b600182039050919050565b60006002820490506001821680614b6057607f821691505b60208210811415614b7457614b73614c83565b5b50919050565b614b8382614d53565b810181811067ffffffffffffffff82111715614ba257614ba1614d10565b5b80604052505050565b6000614bb682614a9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614be957614be8614c25565b5b600182019050919050565b6000614bff82614a9c565b9150614c0a83614a9c565b925082614c1a57614c19614c54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c65207072696365206d757374206265206772656174686572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742061637469766520746f206d696e7420746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672077696c6c2065786365656420746865206d6178207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f54686520636f6c6c656374696f6e2073697a652063616e2774206265206c657360008201527f73207468616e2074686520746f74616c20737570706c79000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61562381614a16565b811461562e57600080fd5b50565b61563a81614a28565b811461564557600080fd5b50565b61565181614a3a565b811461565c57600080fd5b50565b61566881614a46565b811461567357600080fd5b50565b61567f81614a50565b811461568a57600080fd5b50565b61569681614a9c565b81146156a157600080fd5b5056fea2646970667358221220700bcb65a761bf38a9640c1ade63ab2bef9721eb2ad6708ea91dfd10337026f464736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000002000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa000000000000000000000000656c6c18e9776f8515ef1204f720d907ff240c860000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a
Deployed Bytecode
0x6080604052600436106102605760003560e01c8063819b25ba11610144578063b88d4fde116100b6578063e33b7de31161007a578063e33b7de31461097c578063e985e9c5146109a7578063eb8d2444146109e4578063f2fde38b14610a0f578063f51f96dd14610a38578063ffe630b514610a63576102a7565b8063b88d4fde14610887578063c4e37095146108b0578063c87b56dd146108d9578063ce7c2ac214610916578063d547741f14610953576102a7565b8063960327021161010857806396032702146107885780639852595c146107a4578063a0bcfc7f146107e1578063a217fddf1461080a578063a22cb46514610835578063aca8ffe71461085e576102a7565b8063819b25ba1461068f5780638b83209b146106b85780638da5cb5b146106f557806391d148541461072057806395d89b411461075d576102a7565b80632f745c59116101dd578063465b496f116101a1578063465b496f1461056b5780634f6ccce7146105965780636352211e146105d35780636373a6b11461061057806370a082311461063b578063715018a614610678576102a7565b80632f745c591461048657806336568abe146104c35780633a98ef39146104ec57806342842e0e1461051757806345c0f53314610540576102a7565b8063191655871161022457806319165587146103a55780631919fed7146103ce57806323b872dd146103f7578063248a9ca3146104205780632f2ff15d1461045d576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b31461035157806318160ddd1461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a8c565b3460405161029d9291906143b0565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce9190613c49565b610a94565b6040516102e091906143d9565b60405180910390f35b3480156102f557600080fd5b506102fe610aa6565b60405161030b919061440f565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190613cec565b610b38565b6040516103489190614320565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613b6f565b610bbd565b005b34801561038657600080fd5b5061038f610cd5565b60405161039c9190614811565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c791906139ec565b610ce2565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613cec565b610f4a565b005b34801561040357600080fd5b5061041e60048036038101906104199190613a59565b611013565b005b34801561042c57600080fd5b5061044760048036038101906104429190613bdc565b611073565b60405161045491906143f4565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190613c09565b611093565b005b34801561049257600080fd5b506104ad60048036038101906104a89190613b6f565b6110bc565b6040516104ba9190614811565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e59190613c09565b611161565b005b3480156104f857600080fd5b506105016111e4565b60405161050e9190614811565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190613a59565b6111ee565b005b34801561054c57600080fd5b5061055561120e565b6040516105629190614811565b60405180910390f35b34801561057757600080fd5b50610580611214565b60405161058d9190614811565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613cec565b611219565b6040516105ca9190614811565b60405180910390f35b3480156105df57600080fd5b506105fa60048036038101906105f59190613cec565b61128a565b6040516106079190614320565b60405180910390f35b34801561061c57600080fd5b5061062561133c565b604051610632919061440f565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d91906139bf565b6113ca565b60405161066f9190614811565b60405180910390f35b34801561068457600080fd5b5061068d611482565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613cec565b61150a565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613cec565b6115b1565b6040516106ec9190614320565b60405180910390f35b34801561070157600080fd5b5061070a6115f9565b6040516107179190614320565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190613c09565b611623565b60405161075491906143d9565b60405180910390f35b34801561076957600080fd5b5061077261168e565b60405161077f919061440f565b60405180910390f35b6107a2600480360381019061079d9190613cec565b611720565b005b3480156107b057600080fd5b506107cb60048036038101906107c691906139bf565b611885565b6040516107d89190614811565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613ca3565b6118ce565b005b34801561081657600080fd5b5061081f611964565b60405161082c91906143f4565b60405180910390f35b34801561084157600080fd5b5061085c60048036038101906108579190613b2f565b61196b565b005b34801561086a57600080fd5b5061088560048036038101906108809190613cec565b611aec565b005b34801561089357600080fd5b506108ae60048036038101906108a99190613aac565b611bbd565b005b3480156108bc57600080fd5b506108d760048036038101906108d29190613baf565b611c1f565b005b3480156108e557600080fd5b5061090060048036038101906108fb9190613cec565b611c52565b60405161090d919061440f565b60405180910390f35b34801561092257600080fd5b5061093d600480360381019061093891906139bf565b611cf9565b60405161094a9190614811565b60405180910390f35b34801561095f57600080fd5b5061097a60048036038101906109759190613c09565b611d42565b005b34801561098857600080fd5b50610991611d6b565b60405161099e9190614811565b60405180910390f35b3480156109b357600080fd5b506109ce60048036038101906109c99190613a19565b611d75565b6040516109db91906143d9565b60405180910390f35b3480156109f057600080fd5b506109f9611e09565b604051610a0691906143d9565b60405180910390f35b348015610a1b57600080fd5b50610a366004803603810190610a3191906139bf565b611e1c565b005b348015610a4457600080fd5b50610a4d611f14565b604051610a5a9190614811565b60405180910390f35b348015610a6f57600080fd5b50610a8a6004803603810190610a859190613ca3565b611f1a565b005b600033905090565b6000610a9f82611fb0565b9050919050565b606060008054610ab590614b48565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190614b48565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b5050505050905090565b6000610b438261202a565b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906146f1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc88261128a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090614791565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c58610a8c565b73ffffffffffffffffffffffffffffffffffffffff161480610c875750610c8681610c81610a8c565b611d75565b5b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614631565b60405180910390fd5b610cd08383612096565b505050565b6000600d80549050905090565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b906144f1565b60405180910390fd5b600060075447610d749190614901565b90506000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600654600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e069190614988565b610e109190614957565b610e1a91906149e2565b90506000811415610e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e57906145d1565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eab9190614901565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600754610efc9190614901565b600781905550610f0c838261214f565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f3d92919061433b565b60405180910390a1505050565b610f52610a8c565b73ffffffffffffffffffffffffffffffffffffffff16610f706115f9565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90614711565b60405180910390fd5b60008111611009576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611000906144d1565b60405180910390fd5b8060148190555050565b61102461101e610a8c565b82612243565b611063576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906147b1565b60405180910390fd5b61106e838383612321565b505050565b6000600f6000838152602001908152602001600020600101549050919050565b61109c82611073565b6110ad816110a8610a8c565b61257d565b6110b7838361261a565b505050565b60006110c7836113ca565b8210611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90614451565b60405180910390fd5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611169610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd906147f1565b60405180910390fd5b6111e082826126fb565b5050565b6000600654905090565b61120983838360405180602001604052806000815250611bbd565b505050565b60135481565b601481565b6000611223610cd5565b8210611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906147d1565b60405180910390fd5b600d828154811061127857611277614ce1565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132a90614671565b60405180910390fd5b80915050919050565b6012805461134990614b48565b80601f016020809104026020016040519081016040528092919081815260200182805461137590614b48565b80156113c25780601f10611397576101008083540402835291602001916113c2565b820191906000526020600020905b8154815290600101906020018083116113a557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561143b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143290614651565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61148a610a8c565b73ffffffffffffffffffffffffffffffffffffffff166114a86115f9565b73ffffffffffffffffffffffffffffffffffffffff16146114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614711565b60405180910390fd5b61150860006127dd565b565b611512610a8c565b73ffffffffffffffffffffffffffffffffffffffff166115306115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157d90614711565b60405180910390fd5b60005b818110156115ad5761159a336128a3565b80806115a590614bab565b915050611589565b5050565b6000600a82815481106115c7576115c6614ce1565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461169d90614b48565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990614b48565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b5050505050905090565b601660009054906101000a900460ff1661176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690614611565b60405180910390fd5b60148111156117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa906145f1565b60405180910390fd5b601354816117bf610cd5565b6117c99190614901565b111561180a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611801906146b1565b60405180910390fd5b34601454826118199190614988565b111561185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614551565b60405180910390fd5b60005b818110156118815761186e336128a3565b808061187990614bab565b91505061185d565b5050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118d6610a8c565b73ffffffffffffffffffffffffffffffffffffffff166118f46115f9565b73ffffffffffffffffffffffffffffffffffffffff161461194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194190614711565b60405180910390fd5b80601590805190602001906119609291906137a9565b5050565b6000801b81565b611973610a8c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890614531565b60405180910390fd5b80600560006119ee610a8c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a9b610a8c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae091906143d9565b60405180910390a35050565b611af4610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611b126115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5f90614711565b60405180910390fd5b611b70610cd5565b60135411611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90614751565b60405180910390fd5b8060138190555050565b611bce611bc8610a8c565b83612243565b611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c04906147b1565b60405180910390fd5b611c1984848484612914565b50505050565b6000801b611c3481611c2f610a8c565b61257d565b81601660006101000a81548160ff0219169083151502179055505050565b6060611c5d8261202a565b611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9390614771565b60405180910390fd5b6000611ca6612970565b90506000815111611cc65760405180602001604052806000815250611cf1565b80611cd084612a02565b604051602001611ce19291906142ad565b6040516020818303038152906040525b915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d4b82611073565b611d5c81611d57610a8c565b61257d565b611d6683836126fb565b505050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601660009054906101000a900460ff1681565b611e24610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611e426115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f90614711565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff90614491565b60405180910390fd5b611f11816127dd565b50565b60145481565b611f22610a8c565b73ffffffffffffffffffffffffffffffffffffffff16611f406115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d90614711565b60405180910390fd5b8060129080519060200190611fac9291906137a9565b5050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612023575061202282612b63565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121098361128a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015612192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218990614591565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516121b8906142d1565b60006040518083038185875af1925050503d80600081146121f5576040519150601f19603f3d011682016040523d82523d6000602084013e6121fa565b606091505b505090508061223e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223590614571565b60405180910390fd5b505050565b600061224e8261202a565b61228d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612284906145b1565b60405180910390fd5b60006122988361128a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230757508373ffffffffffffffffffffffffffffffffffffffff166122ef84610b38565b73ffffffffffffffffffffffffffffffffffffffff16145b8061231857506123178185611d75565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123418261128a565b73ffffffffffffffffffffffffffffffffffffffff1614612397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238e90614731565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614511565b60405180910390fd5b612412838383612bdd565b61241d600082612096565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461246d91906149e2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c49190614901565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125878282611623565b612616576125ac8173ffffffffffffffffffffffffffffffffffffffff166014612bed565b6125ba8360001c6020612bed565b6040516020016125cb9291906142e6565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260d919061440f565b60405180910390fd5b5050565b6126248282611623565b6126f7576001600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061269c610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127058282611623565b156127d9576000600f600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061277e610a8c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6013546128ae610cd5565b106128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614691565b60405180910390fd5b60006128fa6011612e29565b90506129068282612e37565b6129106011612e55565b5050565b61291f848484612321565b61292b84848484612e6b565b61296a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296190614471565b60405180910390fd5b50505050565b60606015805461297f90614b48565b80601f01602080910402602001604051908101604052809291908181526020018280546129ab90614b48565b80156129f85780601f106129cd576101008083540402835291602001916129f8565b820191906000526020600020905b8154815290600101906020018083116129db57829003601f168201915b5050505050905090565b60606000821415612a4a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b5e565b600082905060005b60008214612a7c578080612a6590614bab565b915050600a82612a759190614957565b9150612a52565b60008167ffffffffffffffff811115612a9857612a97614d10565b5b6040519080825280601f01601f191660200182016040528015612aca5781602001600182028036833780820191505090505b5090505b60008514612b5757600182612ae391906149e2565b9150600a85612af29190614bf4565b6030612afe9190614901565b60f81b818381518110612b1457612b13614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b509190614957565b9450612ace565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bd65750612bd582613002565b5b9050919050565b612be88383836130e4565b505050565b606060006002836002612c009190614988565b612c0a9190614901565b67ffffffffffffffff811115612c2357612c22614d10565b5b6040519080825280601f01601f191660200182016040528015612c555781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612c8d57612c8c614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612cf157612cf0614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d319190614988565b612d3b9190614901565b90505b6001811115612ddb577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612d7d57612d7c614ce1565b5b1a60f81b828281518110612d9457612d93614ce1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612dd490614b1e565b9050612d3e565b5060008414612e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1690614431565b60405180910390fd5b8091505092915050565b600081600001549050919050565b612e518282604051806020016040528060008152506131f8565b5050565b6001816000016000828254019250508190555050565b6000612e8c8473ffffffffffffffffffffffffffffffffffffffff16613253565b15612ff5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb5610a8c565b8786866040518563ffffffff1660e01b8152600401612ed79493929190614364565b602060405180830381600087803b158015612ef157600080fd5b505af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f9190613c76565b60015b612fa5573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b50600081511415612f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9490614471565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ffa565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130cd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130dd57506130dc82613266565b5b9050919050565b6130ef8383836132d0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131325761312d816132d5565b613171565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131705761316f838261331e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131b4576131af8161348b565b6131f3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131f2576131f1828261355c565b5b5b505050565b61320283836135db565b61320f6000848484612e6b565b61324e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324590614471565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600d80549050600e600083815260200190815260200160002081905550600d81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161332b846113ca565b61333591906149e2565b90506000600c600084815260200190815260200160002054905081811461341a576000600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600c600083815260200190815260200160002081905550505b600c600084815260200190815260200160002060009055600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600d8054905061349f91906149e2565b90506000600e60008481526020019081526020016000205490506000600d83815481106134cf576134ce614ce1565b5b9060005260206000200154905080600d83815481106134f1576134f0614ce1565b5b906000526020600020018190555081600e600083815260200190815260200160002081905550600e600085815260200190815260200160002060009055600d8054806135405761353f614cb2565b5b6001900381819060005260206000200160009055905550505050565b6000613567836113ca565b905081600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600c600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561364b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613642906146d1565b60405180910390fd5b6136548161202a565b15613694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368b906144b1565b60405180910390fd5b6136a060008383612bdd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136f09190614901565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546137b590614b48565b90600052602060002090601f0160209004810192826137d7576000855561381e565b82601f106137f057805160ff191683800117855561381e565b8280016001018555821561381e579182015b8281111561381d578251825591602001919060010190613802565b5b50905061382b919061382f565b5090565b5b80821115613848576000816000905550600101613830565b5090565b600061385f61385a84614851565b61482c565b90508281526020810184848401111561387b5761387a614d44565b5b613886848285614adc565b509392505050565b60006138a161389c84614882565b61482c565b9050828152602081018484840111156138bd576138bc614d44565b5b6138c8848285614adc565b509392505050565b6000813590506138df8161561a565b92915050565b6000813590506138f481615631565b92915050565b60008135905061390981615648565b92915050565b60008135905061391e8161565f565b92915050565b60008135905061393381615676565b92915050565b60008151905061394881615676565b92915050565b600082601f83011261396357613962614d3f565b5b813561397384826020860161384c565b91505092915050565b600082601f83011261399157613990614d3f565b5b81356139a184826020860161388e565b91505092915050565b6000813590506139b98161568d565b92915050565b6000602082840312156139d5576139d4614d4e565b5b60006139e3848285016138d0565b91505092915050565b600060208284031215613a0257613a01614d4e565b5b6000613a10848285016138e5565b91505092915050565b60008060408385031215613a3057613a2f614d4e565b5b6000613a3e858286016138d0565b9250506020613a4f858286016138d0565b9150509250929050565b600080600060608486031215613a7257613a71614d4e565b5b6000613a80868287016138d0565b9350506020613a91868287016138d0565b9250506040613aa2868287016139aa565b9150509250925092565b60008060008060808587031215613ac657613ac5614d4e565b5b6000613ad4878288016138d0565b9450506020613ae5878288016138d0565b9350506040613af6878288016139aa565b925050606085013567ffffffffffffffff811115613b1757613b16614d49565b5b613b238782880161394e565b91505092959194509250565b60008060408385031215613b4657613b45614d4e565b5b6000613b54858286016138d0565b9250506020613b65858286016138fa565b9150509250929050565b60008060408385031215613b8657613b85614d4e565b5b6000613b94858286016138d0565b9250506020613ba5858286016139aa565b9150509250929050565b600060208284031215613bc557613bc4614d4e565b5b6000613bd3848285016138fa565b91505092915050565b600060208284031215613bf257613bf1614d4e565b5b6000613c008482850161390f565b91505092915050565b60008060408385031215613c2057613c1f614d4e565b5b6000613c2e8582860161390f565b9250506020613c3f858286016138d0565b9150509250929050565b600060208284031215613c5f57613c5e614d4e565b5b6000613c6d84828501613924565b91505092915050565b600060208284031215613c8c57613c8b614d4e565b5b6000613c9a84828501613939565b91505092915050565b600060208284031215613cb957613cb8614d4e565b5b600082013567ffffffffffffffff811115613cd757613cd6614d49565b5b613ce38482850161397c565b91505092915050565b600060208284031215613d0257613d01614d4e565b5b6000613d10848285016139aa565b91505092915050565b613d2281614aa6565b82525050565b613d3181614a16565b82525050565b613d4081614a3a565b82525050565b613d4f81614a46565b82525050565b6000613d60826148b3565b613d6a81856148c9565b9350613d7a818560208601614aeb565b613d8381614d53565b840191505092915050565b6000613d99826148be565b613da381856148e5565b9350613db3818560208601614aeb565b613dbc81614d53565b840191505092915050565b6000613dd2826148be565b613ddc81856148f6565b9350613dec818560208601614aeb565b80840191505092915050565b6000613e056020836148e5565b9150613e1082614d64565b602082019050919050565b6000613e28602b836148e5565b9150613e3382614d8d565b604082019050919050565b6000613e4b6032836148e5565b9150613e5682614ddc565b604082019050919050565b6000613e6e6026836148e5565b9150613e7982614e2b565b604082019050919050565b6000613e91601c836148e5565b9150613e9c82614e7a565b602082019050919050565b6000613eb46022836148e5565b9150613ebf82614ea3565b604082019050919050565b6000613ed76026836148e5565b9150613ee282614ef2565b604082019050919050565b6000613efa6024836148e5565b9150613f0582614f41565b604082019050919050565b6000613f1d6019836148e5565b9150613f2882614f90565b602082019050919050565b6000613f40601f836148e5565b9150613f4b82614fb9565b602082019050919050565b6000613f63603a836148e5565b9150613f6e82614fe2565b604082019050919050565b6000613f86601d836148e5565b9150613f9182615031565b602082019050919050565b6000613fa9602c836148e5565b9150613fb48261505a565b604082019050919050565b6000613fcc602b836148e5565b9150613fd7826150a9565b604082019050919050565b6000613fef6021836148e5565b9150613ffa826150f8565b604082019050919050565b60006140126021836148e5565b915061401d82615147565b604082019050919050565b60006140356038836148e5565b915061404082615196565b604082019050919050565b6000614058602a836148e5565b9150614063826151e5565b604082019050919050565b600061407b6029836148e5565b915061408682615234565b604082019050919050565b600061409e6022836148e5565b91506140a982615283565b604082019050919050565b60006140c16020836148e5565b91506140cc826152d2565b602082019050919050565b60006140e46020836148e5565b91506140ef826152fb565b602082019050919050565b6000614107602c836148e5565b915061411282615324565b604082019050919050565b600061412a6020836148e5565b915061413582615373565b602082019050919050565b600061414d6029836148e5565b91506141588261539c565b604082019050919050565b60006141706037836148e5565b915061417b826153eb565b604082019050919050565b6000614193602f836148e5565b915061419e8261543a565b604082019050919050565b60006141b66021836148e5565b91506141c182615489565b604082019050919050565b60006141d96000836148da565b91506141e4826154d8565b600082019050919050565b60006141fc6031836148e5565b9150614207826154db565b604082019050919050565b600061421f602c836148e5565b915061422a8261552a565b604082019050919050565b60006142426017836148f6565b915061424d82615579565b601782019050919050565b60006142656011836148f6565b9150614270826155a2565b601182019050919050565b6000614288602f836148e5565b9150614293826155cb565b604082019050919050565b6142a781614a9c565b82525050565b60006142b98285613dc7565b91506142c58284613dc7565b91508190509392505050565b60006142dc826141cc565b9150819050919050565b60006142f182614235565b91506142fd8285613dc7565b915061430882614258565b91506143148284613dc7565b91508190509392505050565b60006020820190506143356000830184613d28565b92915050565b60006040820190506143506000830185613d19565b61435d602083018461429e565b9392505050565b60006080820190506143796000830187613d28565b6143866020830186613d28565b614393604083018561429e565b81810360608301526143a58184613d55565b905095945050505050565b60006040820190506143c56000830185613d28565b6143d2602083018461429e565b9392505050565b60006020820190506143ee6000830184613d37565b92915050565b60006020820190506144096000830184613d46565b92915050565b600060208201905081810360008301526144298184613d8e565b905092915050565b6000602082019050818103600083015261444a81613df8565b9050919050565b6000602082019050818103600083015261446a81613e1b565b9050919050565b6000602082019050818103600083015261448a81613e3e565b9050919050565b600060208201905081810360008301526144aa81613e61565b9050919050565b600060208201905081810360008301526144ca81613e84565b9050919050565b600060208201905081810360008301526144ea81613ea7565b9050919050565b6000602082019050818103600083015261450a81613eca565b9050919050565b6000602082019050818103600083015261452a81613eed565b9050919050565b6000602082019050818103600083015261454a81613f10565b9050919050565b6000602082019050818103600083015261456a81613f33565b9050919050565b6000602082019050818103600083015261458a81613f56565b9050919050565b600060208201905081810360008301526145aa81613f79565b9050919050565b600060208201905081810360008301526145ca81613f9c565b9050919050565b600060208201905081810360008301526145ea81613fbf565b9050919050565b6000602082019050818103600083015261460a81613fe2565b9050919050565b6000602082019050818103600083015261462a81614005565b9050919050565b6000602082019050818103600083015261464a81614028565b9050919050565b6000602082019050818103600083015261466a8161404b565b9050919050565b6000602082019050818103600083015261468a8161406e565b9050919050565b600060208201905081810360008301526146aa81614091565b9050919050565b600060208201905081810360008301526146ca816140b4565b9050919050565b600060208201905081810360008301526146ea816140d7565b9050919050565b6000602082019050818103600083015261470a816140fa565b9050919050565b6000602082019050818103600083015261472a8161411d565b9050919050565b6000602082019050818103600083015261474a81614140565b9050919050565b6000602082019050818103600083015261476a81614163565b9050919050565b6000602082019050818103600083015261478a81614186565b9050919050565b600060208201905081810360008301526147aa816141a9565b9050919050565b600060208201905081810360008301526147ca816141ef565b9050919050565b600060208201905081810360008301526147ea81614212565b9050919050565b6000602082019050818103600083015261480a8161427b565b9050919050565b6000602082019050614826600083018461429e565b92915050565b6000614836614847565b90506148428282614b7a565b919050565b6000604051905090565b600067ffffffffffffffff82111561486c5761486b614d10565b5b61487582614d53565b9050602081019050919050565b600067ffffffffffffffff82111561489d5761489c614d10565b5b6148a682614d53565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061490c82614a9c565b915061491783614a9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494c5761494b614c25565b5b828201905092915050565b600061496282614a9c565b915061496d83614a9c565b92508261497d5761497c614c54565b5b828204905092915050565b600061499382614a9c565b915061499e83614a9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d7576149d6614c25565b5b828202905092915050565b60006149ed82614a9c565b91506149f883614a9c565b925082821015614a0b57614a0a614c25565b5b828203905092915050565b6000614a2182614a7c565b9050919050565b6000614a3382614a7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614ab182614ab8565b9050919050565b6000614ac382614aca565b9050919050565b6000614ad582614a7c565b9050919050565b82818337600083830152505050565b60005b83811015614b09578082015181840152602081019050614aee565b83811115614b18576000848401525b50505050565b6000614b2982614a9c565b91506000821415614b3d57614b3c614c25565b5b600182039050919050565b60006002820490506001821680614b6057607f821691505b60208210811415614b7457614b73614c83565b5b50919050565b614b8382614d53565b810181811067ffffffffffffffff82111715614ba257614ba1614d10565b5b80604052505050565b6000614bb682614a9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614be957614be8614c25565b5b600182019050919050565b6000614bff82614a9c565b9150614c0a83614a9c565b925082614c1a57614c19614c54565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c65207072696365206d757374206265206772656174686572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742061637469766520746f206d696e7420746f6b656e60008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672077696c6c2065786365656420746865206d6178207375707060008201527f6c79000000000000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f54686520636f6c6c656374696f6e2073697a652063616e2774206265206c657360008201527f73207468616e2074686520746f74616c20737570706c79000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61562381614a16565b811461562e57600080fd5b50565b61563a81614a28565b811461564557600080fd5b50565b61565181614a3a565b811461565c57600080fd5b50565b61566881614a46565b811461567357600080fd5b50565b61567f81614a50565b811461568a57600080fd5b50565b61569681614a9c565b81146156a157600080fd5b5056fea2646970667358221220700bcb65a761bf38a9640c1ade63ab2bef9721eb2ad6708ea91dfd10337026f464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000002000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa000000000000000000000000656c6c18e9776f8515ef1204f720d907ff240c860000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000005a
-----Decoded View---------------
Arg [0] : payees (address[]): 0xdeCBf7a422b8289B90958aC4Aa7e9354eee9a7aa,0x656C6C18E9776f8515eF1204f720D907FF240C86
Arg [1] : shares (uint256[]): 10,90
Arg [2] : _collectionSize (uint256): 10000
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 000000000000000000000000decbf7a422b8289b90958ac4aa7e9354eee9a7aa
Arg [5] : 000000000000000000000000656c6c18e9776f8515ef1204f720d907ff240c86
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 000000000000000000000000000000000000000000000000000000000000005a
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.