Overview
CRO Balance
CRO Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
No addresses found
Latest 25 from a total of 6,043 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 18442142 | 16 days ago | IN | 0 CRO | 0.38263105 | ||||
Safe Transfer Fr... | 18069539 | 40 days ago | IN | 0 CRO | 0.5520054 | ||||
Set Approval For... | 17955031 | 47 days ago | IN | 0 CRO | 0.1664514 | ||||
Set Approval For... | 17955030 | 47 days ago | IN | 0 CRO | 0.1664514 | ||||
Set Approval For... | 17955029 | 47 days ago | IN | 0 CRO | 0.1664514 | ||||
Set Approval For... | 17741144 | 61 days ago | IN | 0 CRO | 0.2338857 | ||||
Safe Transfer Fr... | 17222637 | 95 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 17057139 | 106 days ago | IN | 0 CRO | 0.5000207 | ||||
Set Approval For... | 16874515 | 119 days ago | IN | 0 CRO | 0.2338857 | ||||
Safe Transfer Fr... | 16864018 | 119 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 16723981 | 129 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 16456182 | 146 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 16362003 | 152 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 15549942 | 205 days ago | IN | 0 CRO | 0.4656504 | ||||
Safe Transfer Fr... | 15549683 | 205 days ago | IN | 0 CRO | 0.5520054 | ||||
Safe Transfer Fr... | 15211213 | 228 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 14408941 | 280 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 14200179 | 294 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 14200173 | 294 days ago | IN | 0 CRO | 0.5520054 | ||||
Safe Transfer Fr... | 14107572 | 300 days ago | IN | 0 CRO | 0.5000207 | ||||
Safe Transfer Fr... | 14107566 | 300 days ago | IN | 0 CRO | 0.4136657 | ||||
Safe Transfer Fr... | 14107560 | 300 days ago | IN | 0 CRO | 0.5520054 | ||||
Safe Transfer Fr... | 14033297 | 305 days ago | IN | 0 CRO | 0.5519448 | ||||
Set Approval For... | 13911967 | 313 days ago | IN | 0 CRO | 0.1489302 | ||||
Approve | 13800019 | 320 days ago | IN | 0 CRO | 0.505 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
3736659 | 978 days ago | 263,521.25 CRO | ||||
3461251 | 996 days ago | 263,521.25 CRO | ||||
3457961 | 997 days ago | 75 CRO | ||||
3457933 | 997 days ago | 45 CRO | ||||
3457904 | 997 days ago | 75 CRO | ||||
3457896 | 997 days ago | 75 CRO | ||||
3457892 | 997 days ago | 75 CRO | ||||
3457886 | 997 days ago | 75 CRO | ||||
3457880 | 997 days ago | 75 CRO | ||||
3457874 | 997 days ago | 75 CRO | ||||
3457868 | 997 days ago | 75 CRO | ||||
3457862 | 997 days ago | 75 CRO | ||||
3457858 | 997 days ago | 75 CRO | ||||
3457853 | 997 days ago | 75 CRO | ||||
3457846 | 997 days ago | 75 CRO | ||||
3457839 | 997 days ago | 75 CRO | ||||
3457832 | 997 days ago | 75 CRO | ||||
3457826 | 997 days ago | 75 CRO | ||||
3457818 | 997 days ago | 75 CRO | ||||
3457811 | 997 days ago | 75 CRO | ||||
3457804 | 997 days ago | 75 CRO | ||||
3457798 | 997 days ago | 75 CRO | ||||
3457777 | 997 days ago | 75 CRO | ||||
3457770 | 997 days ago | 75 CRO | ||||
3457765 | 997 days ago | 75 CRO |
Loading...
Loading
Contract Name:
Kardia
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-04-28 */ // Sources flattened with hardhat v2.8.4 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File contracts/SafeMathLite.sol pragma solidity ^0.8.4; library SafeMathLite{ /** * @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; } } // File contracts/SafePct.sol pragma solidity ^0.8.4; /** * @dev Compute percentages safely without phantom overflows. * * Intermediate operations can overflow even when the result will always * fit into computed type. Developers usually * assume that overflows raise errors. `SafePct` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafePct { using SafeMathLite for uint256; /** * Requirements: * * - intermediate operations must revert on overflow */ function mulDiv(uint256 x, uint256 y, uint256 z) internal pure returns (uint256) { require(z > 0, "Division by zero"); if (x == 0) return 0; uint256 xy = x * y; if (xy / x == y) { // no overflow happened - same as in SafeMath mul return xy / z; } //slither-disable-next-line divide-before-multiply uint256 a = x / z; uint256 b = x % z; // x = a * z + b //slither-disable-next-line divide-before-multiply uint256 c = y / z; uint256 d = y % z; // y = c * z + d return (a.mul(c).mul(z)).add(a.mul(d)).add(b.mul(c)).add(b.mul(d).div(z)); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC1155/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File @openzeppelin/contracts/token/ERC1155/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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(); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File contracts/AnonBaseContract.sol pragma solidity ^0.8.4; abstract contract Market { function isMember(address user) public view virtual returns (bool); function addToEscrow(address _address) external virtual payable; function withdrawPayments(address payable payee) public virtual; } abstract contract AnonBaseContract is ERC721Enumerable, Ownable, Pausable, ReentrancyGuard { using Address for address payable; address public artist; address public ebisusWallet = 0x454cfAa623A629CC0b4017aEb85d54C42e91479d; uint128 constant internal SCALE = 10000; uint128 internal fee = 2500; uint16[] internal order; address public marketContract; function isMember(address _address) public view returns (bool) { return Market(marketContract).isMember(_address); } function withdrawPayments(address payable payee) public virtual nonReentrant{ Market(marketContract).withdrawPayments(payee); } // The following functions are overrides required by Solidity. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return super.supportsInterface(interfaceId); } function withdraw() public virtual onlyOwner{ (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success, "failed funds"); } function pause() public onlyOwner{ _pause(); } function unpause() public onlyOwner{ _unpause(); } function disperseFunds(uint16 _percent) external onlyOwner { uint256 amount = address(this).balance * _percent / SCALE; (bool success, ) = payable(artist).call{value: amount}(""); require(success, "failed funds"); } function setArtist(address _artist) public onlyOwner { artist = _artist; } } // File contracts/interfaces/IDrop.sol pragma solidity ^0.8.4; interface IDrop { struct Info { uint256 regularCost; uint256 memberCost; uint256 whitelistCost; uint256 maxSupply; uint256 totalSupply; uint256 maxMintPerAddress; uint256 maxMintPerTx; } function mintCost(address _minter) external view returns(uint256); function canMint(address _minter) external view returns (uint256); function mint(uint256 _amount) external payable; function maxSupply() external view returns (uint256); function getInfo() external view returns (Info memory); } // File contracts/drops/Kardia.sol pragma solidity ^0.8.4; contract Kardia is IDrop, AnonBaseContract { using Counters for Counters.Counter; using SafePct for uint256; using SafeMathLite for uint256; Counters.Counter public _tokenIdCounter; uint256 private memberCost = 100 ether; uint256 private regularCost = 150 ether; uint128 constant MAX_TOKENS = 6010; uint64 constant MAX_MINTAMOUNT = 5; uint64 private currentChunkIndex; string baseURI = "ipfs://QmbMtwuZYt6RGsCMPvWuZYPcqv46ZiDrnrR4zzDc49QV6e"; constructor(address _marketContract, address _artist) ERC721("Kardia", "KARD") { marketContract = _marketContract; artist = _artist; fee = 1500; } function getLen() public view returns(uint) { return order.length; } function setSequnceChunk(uint8 _chunkIndex, uint16[] calldata _chunk) public onlyOwner { require(currentChunkIndex <= _chunkIndex, "chunkIndex exists"); if (_chunkIndex == 0) { order = _chunk; } else { uint len = _chunk.length; for(uint i = 0; i < len; i ++) { order.push(_chunk[i]); } } currentChunkIndex = _chunkIndex + 1; } function getInfo() external override view returns (Info memory) { Info memory allInfo; allInfo.regularCost = regularCost; allInfo.memberCost = memberCost; allInfo.maxSupply = MAX_TOKENS; allInfo.totalSupply = super.totalSupply(); allInfo.maxMintPerTx = MAX_MINTAMOUNT; return allInfo; } function mintCost(address _minter) external override view returns(uint256) { if (isMember(_minter)) { return memberCost; } else { return regularCost; } } function setRegularCost(uint256 _cost) external onlyOwner { regularCost = _cost; } function setMemberCost(uint256 _cost) external onlyOwner { memberCost = _cost; } function setBaseURI(string memory _baseURI) external onlyOwner{ baseURI = _baseURI; } function mint(uint256 _amount) external override payable whenNotPaused { require(_amount <= MAX_MINTAMOUNT, "not mint more than max amount"); uint256 price; bool _isMember = isMember(msg.sender); if (_isMember){ price = memberCost.mul(_amount); } else { price = regularCost.mul(_amount); } require(msg.value >= price, "not enough funds"); uint256 amountFee = price.mulDiv(fee, SCALE); for(uint256 i = 0; i < _amount; i++){ safeMint(msg.sender); } Market(marketContract).addToEscrow{value: amountFee}(ebisusWallet); } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = string(abi.encodePacked(baseURI, "/", Strings.toString(_tokenId), ".json")); return _tokenURI; } function safeMint(address _to) private { uint256 tokenId; tokenId = _tokenIdCounter.current(); require(tokenId < MAX_TOKENS, "sold out!"); _tokenIdCounter.increment(); _safeMint(_to, order[tokenId]); } function maxSupply() external override pure returns (uint256) { return MAX_TOKENS; } function canMint(address) external override pure returns (uint256) { return MAX_MINTAMOUNT; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_marketContract","type":"address"},{"internalType":"address","name":"_artist","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_tokenIdCounter","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"canMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint16","name":"_percent","type":"uint16"}],"name":"disperseFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ebisusWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInfo","outputs":[{"components":[{"internalType":"uint256","name":"regularCost","type":"uint256"},{"internalType":"uint256","name":"memberCost","type":"uint256"},{"internalType":"uint256","name":"whitelistCost","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"maxMintPerAddress","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"}],"internalType":"struct IDrop.Info","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_artist","type":"address"}],"name":"setArtist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setMemberCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setRegularCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_chunkIndex","type":"uint8"},{"internalType":"uint16[]","name":"_chunk","type":"uint16[]"}],"name":"setSequnceChunk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawPayments","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600d80546001600160a01b03191673454cfaa623a629cc0b4017aeb85d54c42e91479d179055600e80546001600160801b0319166109c417905568056bc75e2d63100000601255680821ab0d441498000060135560e060405260356080818152906200301360a03980516200007d91601591602090910190620001d9565b503480156200008b57600080fd5b506040516200304838038062003048833981016040819052620000ae916200029c565b60408051808201825260068152654b617264696160d01b60208083019182528351808501909452600484526312d0549160e21b908401528151919291620000f891600091620001d9565b5080516200010e906001906020840190620001d9565b5050506200012b620001256200018360201b60201c565b62000187565b600a805460ff60a01b191690556001600b55601080546001600160a01b039384166001600160a01b031991821617909155600c8054929093169116179055600e80546001600160801b0319166105dc17905562000310565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001e790620002d3565b90600052602060002090601f0160209004810192826200020b576000855562000256565b82601f106200022657805160ff191683800117855562000256565b8280016001018555821562000256579182015b828111156200025657825182559160200191906001019062000239565b506200026492915062000268565b5090565b5b8082111562000264576000815560010162000269565b80516001600160a01b03811681146200029757600080fd5b919050565b60008060408385031215620002af578182fd5b620002ba836200027f565b9150620002ca602084016200027f565b90509250929050565b600181811c90821680620002e857607f821691505b602082108114156200030a57634e487b7160e01b600052602260045260246000fd5b50919050565b612cf380620003206000396000f3fe6080604052600436106102465760003560e01c80636352211e11610139578063a230c524116100b6578063d4c975331161007a578063d4c97533146106cc578063d5abeb01146106ec578063dc09e92314610701578063e1ec629414610721578063e985e9c514610741578063f2fde38b1461078a57600080fd5b8063a230c5241461062b578063b88d4fde1461064b578063c2ba47441461066b578063c87b56dd1461068c578063cb21b8f0146106ac57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105a557806395d89b41146105c3578063a0712d68146105d8578063a1794bcd146105eb578063a22cb4651461060b57600080fd5b80636352211e1461052457806370a0823114610544578063715018a6146105645780638456cb591461057957806384c4bd4b1461058e57600080fd5b80633b3c523a116101c75780634a90be571161018b5780634a90be57146104455780634f6ccce71461045a57806355f804b31461047a5780635a9b0b891461049a5780635c975abb1461050557600080fd5b80633b3c523a146103bb5780633ccfd60b146103db5780633f4ba83a146103f057806342842e0e1461040557806343bc16121461042557600080fd5b806318160ddd1161020e57806318160ddd1461031c57806323b872dd1461033b5780632acc659e1461035b5780632f745c591461037b57806331b3eb941461039b57600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780630c9467bb146102fc575b600080fd5b34801561025757600080fd5b5061026b6102663660046127ab565b6107aa565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102956107bb565b6040516102779190612a3a565b3480156102ae57600080fd5b506102c26102bd36600461284b565b61084d565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004612764565b6108e7565b005b34801561030857600080fd5b50600d546102c2906001600160a01b031681565b34801561032857600080fd5b506008545b604051908152602001610277565b34801561034757600080fd5b506102fa61035636600461267a565b6109fd565b34801561036757600080fd5b5061032d610376366004612626565b610a2e565b34801561038757600080fd5b5061032d610396366004612764565b610a4e565b3480156103a757600080fd5b506102fa6103b6366004612626565b610ae4565b3480156103c757600080fd5b506102fa6103d6366004612863565b610ba3565b3480156103e757600080fd5b506102fa610cf9565b3480156103fc57600080fd5b506102fa610dad565b34801561041157600080fd5b506102fa61042036600461267a565b610de1565b34801561043157600080fd5b50600c546102c2906001600160a01b031681565b34801561045157600080fd5b50600f5461032d565b34801561046657600080fd5b5061032d61047536600461284b565b610dfc565b34801561048657600080fd5b506102fa6104953660046127e3565b610e9d565b3480156104a657600080fd5b506104af610ede565b6040516102779190600060e082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015292915050565b34801561051157600080fd5b50600a54600160a01b900460ff1661026b565b34801561053057600080fd5b506102c261053f36600461284b565b610f87565b34801561055057600080fd5b5061032d61055f366004612626565b610ffe565b34801561057057600080fd5b506102fa611085565b34801561058557600080fd5b506102fa6110b9565b34801561059a57600080fd5b5060115461032d9081565b3480156105b157600080fd5b50600a546001600160a01b03166102c2565b3480156105cf57600080fd5b506102956110eb565b6102fa6105e636600461284b565b6110fa565b3480156105f757600080fd5b506010546102c2906001600160a01b031681565b34801561061757600080fd5b506102fa610626366004612737565b6112cb565b34801561063757600080fd5b5061026b610646366004612626565b6112d6565b34801561065757600080fd5b506102fa6106663660046126ba565b611354565b34801561067757600080fd5b5061032d610686366004612626565b50600590565b34801561069857600080fd5b506102956106a736600461284b565b61138c565b3480156106b857600080fd5b506102fa6106c7366004612829565b611440565b3480156106d857600080fd5b506102fa6106e7366004612626565b61151e565b3480156106f857600080fd5b5061177a61032d565b34801561070d57600080fd5b506102fa61071c36600461284b565b61156a565b34801561072d57600080fd5b506102fa61073c36600461284b565b611599565b34801561074d57600080fd5b5061026b61075c366004612642565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561079657600080fd5b506102fa6107a5366004612626565b6115c8565b60006107b582611660565b92915050565b6060600080546107ca90612bd8565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690612bd8565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108f282610f87565b9050806001600160a01b0316836001600160a01b031614156109605760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108c2565b336001600160a01b038216148061097c575061097c813361075c565b6109ee5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108c2565b6109f88383611685565b505050565b610a0733826116f3565b610a235760405162461bcd60e51b81526004016108c290612ad4565b6109f88383836117ea565b6000610a39826112d6565b15610a4657505060125490565b505060135490565b6000610a5983610ffe565b8210610abb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108c2565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b541415610b375760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c2565b6002600b55601054604051630c6cfae560e21b81526001600160a01b038381166004830152909116906331b3eb9490602401600060405180830381600087803b158015610b8357600080fd5b505af1158015610b97573d6000803e3d6000fd5b50506001600b55505050565b600a546001600160a01b03163314610bcd5760405162461bcd60e51b81526004016108c290612a9f565b60145460ff841667ffffffffffffffff9091161115610c225760405162461bcd60e51b81526020600482015260116024820152706368756e6b496e6465782065786973747360781b60448201526064016108c2565b60ff8316610c3c57610c36600f838361247a565b50610cce565b8060005b81811015610ccb57600f848483818110610c6a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c7f9190612829565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff81810219909416929093169290920217905580610cc381612c13565b915050610c40565b50505b610cd9836001612b3d565b6014805467ffffffffffffffff191660ff92909216919091179055505050565b600a546001600160a01b03163314610d235760405162461bcd60e51b81526004016108c290612a9f565b604051600090339047908381818185875af1925050503d8060008114610d65576040519150601f19603f3d011682016040523d82523d6000602084013e610d6a565b606091505b5050905080610daa5760405162461bcd60e51b815260206004820152600c60248201526b6661696c65642066756e647360a01b60448201526064016108c2565b50565b600a546001600160a01b03163314610dd75760405162461bcd60e51b81526004016108c290612a9f565b610ddf611991565b565b6109f883838360405180602001604052806000815250611354565b6000610e0760085490565b8210610e6a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108c2565b60088281548110610e8b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610ec75760405162461bcd60e51b81526004016108c290612a9f565b8051610eda906015906020840190612527565b5050565b610f1e6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b610f5e6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6013548152601254602082015261177a60608201526008546080820152600560c0820152919050565b6000818152600260205260408120546001600160a01b0316806107b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108c2565b60006001600160a01b0382166110695760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108c2565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110af5760405162461bcd60e51b81526004016108c290612a9f565b610ddf6000611a2e565b600a546001600160a01b031633146110e35760405162461bcd60e51b81526004016108c290612a9f565b610ddf611a80565b6060600180546107ca90612bd8565b600a54600160a01b900460ff16156111475760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108c2565b60058111156111985760405162461bcd60e51b815260206004820152601d60248201527f6e6f74206d696e74206d6f7265207468616e206d617820616d6f756e7400000060448201526064016108c2565b6000806111a4336112d6565b905080156111c0576012546111b99084611b08565b91506111d0565b6013546111cd9084611b08565b91505b813410156112135760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064016108c2565b600e546000906112399084906fffffffffffffffffffffffffffffffff16612710611b1b565b905060005b848110156112615761124f33611c2d565b8061125981612c13565b91505061123e565b50601054600d54604051634065da6360e01b81526001600160a01b039182166004820152911690634065da639083906024016000604051808303818588803b1580156112ac57600080fd5b505af11580156112c0573d6000803e3d6000fd5b505050505050505050565b610eda338383611cd1565b60105460405163288c314960e21b81526001600160a01b038381166004830152600092169063a230c5249060240160206040518083038186803b15801561131c57600080fd5b505afa158015611330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b5919061278f565b61135e33836116f3565b61137a5760405162461bcd60e51b81526004016108c290612ad4565b61138684848484611da0565b50505050565b6000818152600260205260409020546060906001600160a01b031661140b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108c2565b6000601561141884611dd3565b604051602001611429929190612933565b60408051601f198184030181529190529392505050565b600a546001600160a01b0316331461146a5760405162461bcd60e51b81526004016108c290612a9f565b600061271061147d61ffff841647612b76565b6114879190612b62565b600c546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146114d9576040519150601f19603f3d011682016040523d82523d6000602084013e6114de565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152600c60248201526b6661696c65642066756e647360a01b60448201526064016108c2565b600a546001600160a01b031633146115485760405162461bcd60e51b81526004016108c290612a9f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146115945760405162461bcd60e51b81526004016108c290612a9f565b601255565b600a546001600160a01b031633146115c35760405162461bcd60e51b81526004016108c290612a9f565b601355565b600a546001600160a01b031633146115f25760405162461bcd60e51b81526004016108c290612a9f565b6001600160a01b0381166116575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c2565b610daa81611a2e565b60006001600160e01b0319821663780e9d6360e01b14806107b557506107b582611eed565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116ba82610f87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661176c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108c2565b600061177783610f87565b9050806001600160a01b0316846001600160a01b031614806117b25750836001600160a01b03166117a78461084d565b6001600160a01b0316145b806117e257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117fd82610f87565b6001600160a01b0316146118615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108c2565b6001600160a01b0382166118c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c2565b6118ce838383611f3d565b6118d9600082611685565b6001600160a01b0383166000908152600360205260408120805460019290611902908490612b95565b90915550506001600160a01b0382166000908152600360205260408120805460019290611930908490612b25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff166119e15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108c2565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a54600160a01b900460ff1615611acd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108c2565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a113390565b6000611b148284612b76565b9392505050565b6000808211611b5f5760405162461bcd60e51b815260206004820152601060248201526f4469766973696f6e206279207a65726f60801b60448201526064016108c2565b83611b6c57506000611b14565b6000611b788486612b76565b905083611b858683612b62565b1415611b9d57611b958382612b62565b915050611b14565b6000611ba98487612b62565b90506000611bb78588612c2e565b90506000611bc58688612b62565b90506000611bd38789612c2e565b9050611c20611bec88611be68685611b08565b90611f48565b611c1a611bf98686611b08565b611c1a611c068987611b08565b611c1a8d611c148c8b611b08565b90611b08565b90611f54565b9998505050505050505050565b6000611c3860115490565b905061177a8110611c775760405162461bcd60e51b8152602060048201526009602482015268736f6c64206f75742160b81b60448201526064016108c2565b611c85601180546001019055565b610eda82600f8381548110611caa57634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff16611f60565b816001600160a01b0316836001600160a01b03161415611d335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dab8484846117ea565b611db784848484611f7a565b6113865760405162461bcd60e51b81526004016108c290612a4d565b606081611df75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e215780611e0b81612c13565b9150611e1a9050600a83612b62565b9150611dfb565b60008167ffffffffffffffff811115611e4a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e74576020820181803683370190505b5090505b84156117e257611e89600183612b95565b9150611e96600a86612c2e565b611ea1906030612b25565b60f81b818381518110611ec457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ee6600a86612b62565b9450611e78565b60006001600160e01b031982166380ac58cd60e01b1480611f1e57506001600160e01b03198216635b5e139f60e01b145b806107b557506301ffc9a760e01b6001600160e01b03198316146107b5565b6109f8838383612087565b6000611b148284612b62565b6000611b148284612b25565b610eda82826040518060200160405280600081525061213f565b60006001600160a01b0384163b1561207c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fbe9033908990889088906004016129fd565b602060405180830381600087803b158015611fd857600080fd5b505af1925050508015612008575060408051601f3d908101601f19168201909252612005918101906127c7565b60015b612062573d808015612036576040519150601f19603f3d011682016040523d82523d6000602084013e61203b565b606091505b50805161205a5760405162461bcd60e51b81526004016108c290612a4d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e2565b506001949350505050565b6001600160a01b0383166120e2576120dd81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612105565b816001600160a01b0316836001600160a01b031614612105576121058382612172565b6001600160a01b03821661211c576109f88161220f565b826001600160a01b0316826001600160a01b0316146109f8576109f882826122e8565b612149838361232c565b6121566000848484611f7a565b6109f85760405162461bcd60e51b81526004016108c290612a4d565b6000600161217f84610ffe565b6121899190612b95565b6000838152600760205260409020549091508082146121dc576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061222190600190612b95565b6000838152600960205260408120546008805493945090928490811061225757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061228657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122cc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006122f383610ffe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123825760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c2565b6000818152600260205260409020546001600160a01b0316156123e75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c2565b6123f360008383611f3d565b6001600160a01b038216600090815260036020526040812080546001929061241c908490612b25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805482825590600052602060002090600f016010900481019282156125175791602002820160005b838211156124e757833561ffff1683826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026124a3565b80156125155782816101000a81549061ffff02191690556002016020816001010492830192600103026124e7565b505b5061252392915061259b565b5090565b82805461253390612bd8565b90600052602060002090601f0160209004810192826125555760008555612517565b82601f1061256e57805160ff1916838001178555612517565b82800160010185558215612517579182015b82811115612517578251825591602001919060010190612580565b5b80821115612523576000815560010161259c565b600067ffffffffffffffff808411156125cb576125cb612c6e565b604051601f8501601f19908116603f011681019082821181831017156125f3576125f3612c6e565b8160405280935085815286868601111561260c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612637578081fd5b8135611b1481612c84565b60008060408385031215612654578081fd5b823561265f81612c84565b9150602083013561266f81612c84565b809150509250929050565b60008060006060848603121561268e578081fd5b833561269981612c84565b925060208401356126a981612c84565b929592945050506040919091013590565b600080600080608085870312156126cf578081fd5b84356126da81612c84565b935060208501356126ea81612c84565b925060408501359150606085013567ffffffffffffffff81111561270c578182fd5b8501601f8101871361271c578182fd5b61272b878235602084016125b0565b91505092959194509250565b60008060408385031215612749578182fd5b823561275481612c84565b9150602083013561266f81612c99565b60008060408385031215612776578182fd5b823561278181612c84565b946020939093013593505050565b6000602082840312156127a0578081fd5b8151611b1481612c99565b6000602082840312156127bc578081fd5b8135611b1481612ca7565b6000602082840312156127d8578081fd5b8151611b1481612ca7565b6000602082840312156127f4578081fd5b813567ffffffffffffffff81111561280a578182fd5b8201601f8101841361281a578182fd5b6117e2848235602084016125b0565b60006020828403121561283a578081fd5b813561ffff81168114611b14578182fd5b60006020828403121561285c578081fd5b5035919050565b600080600060408486031215612877578081fd5b833560ff81168114612887578182fd5b9250602084013567ffffffffffffffff808211156128a3578283fd5b818601915086601f8301126128b6578283fd5b8135818111156128c4578384fd5b8760208260051b85010111156128d8578384fd5b6020830194508093505050509250925092565b60008151808452612903816020860160208601612bac565b601f01601f19169290920160200192915050565b60008151612929818560208601612bac565b9290920192915050565b600080845482600182811c91508083168061294f57607f831692505b602080841082141561296f57634e487b7160e01b87526022600452602487fd5b8180156129835760018114612994576129c0565b60ff198616895284890196506129c0565b60008b815260209020885b868110156129b85781548b82015290850190830161299f565b505084890196505b5050505050506129f46129e36129dd83602f60f81b815260010190565b86612917565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a30908301846128eb565b9695505050505050565b602081526000611b1460208301846128eb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612b3857612b38612c42565b500190565b600060ff821660ff84168060ff03821115612b5a57612b5a612c42565b019392505050565b600082612b7157612b71612c58565b500490565b6000816000190483118215151615612b9057612b90612c42565b500290565b600082821015612ba757612ba7612c42565b500390565b60005b83811015612bc7578181015183820152602001612baf565b838111156113865750506000910152565b600181811c90821680612bec57607f821691505b60208210811415612c0d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c2757612c27612c42565b5060010190565b600082612c3d57612c3d612c58565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610daa57600080fd5b8015158114610daa57600080fd5b6001600160e01b031981168114610daa57600080fdfea26469706673582212205f466d1befb6bf026b53490baf2d62cc133ce34a53d161aa10907eea5f8f9f3c64736f6c63430008040033697066733a2f2f516d624d7477755a597436524773434d507657755a595063717634365a6944726e7252347a7a44633439515636650000000000000000000000007a3cdb2364f92369a602cae81167d0679087e6a3000000000000000000000000ce8888f408dd6fbfc39231060a8313ca2d97edd2
Deployed Bytecode
0x6080604052600436106102465760003560e01c80636352211e11610139578063a230c524116100b6578063d4c975331161007a578063d4c97533146106cc578063d5abeb01146106ec578063dc09e92314610701578063e1ec629414610721578063e985e9c514610741578063f2fde38b1461078a57600080fd5b8063a230c5241461062b578063b88d4fde1461064b578063c2ba47441461066b578063c87b56dd1461068c578063cb21b8f0146106ac57600080fd5b80638da5cb5b116100fd5780638da5cb5b146105a557806395d89b41146105c3578063a0712d68146105d8578063a1794bcd146105eb578063a22cb4651461060b57600080fd5b80636352211e1461052457806370a0823114610544578063715018a6146105645780638456cb591461057957806384c4bd4b1461058e57600080fd5b80633b3c523a116101c75780634a90be571161018b5780634a90be57146104455780634f6ccce71461045a57806355f804b31461047a5780635a9b0b891461049a5780635c975abb1461050557600080fd5b80633b3c523a146103bb5780633ccfd60b146103db5780633f4ba83a146103f057806342842e0e1461040557806343bc16121461042557600080fd5b806318160ddd1161020e57806318160ddd1461031c57806323b872dd1461033b5780632acc659e1461035b5780632f745c591461037b57806331b3eb941461039b57600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da5780630c9467bb146102fc575b600080fd5b34801561025757600080fd5b5061026b6102663660046127ab565b6107aa565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b506102956107bb565b6040516102779190612a3a565b3480156102ae57600080fd5b506102c26102bd36600461284b565b61084d565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004612764565b6108e7565b005b34801561030857600080fd5b50600d546102c2906001600160a01b031681565b34801561032857600080fd5b506008545b604051908152602001610277565b34801561034757600080fd5b506102fa61035636600461267a565b6109fd565b34801561036757600080fd5b5061032d610376366004612626565b610a2e565b34801561038757600080fd5b5061032d610396366004612764565b610a4e565b3480156103a757600080fd5b506102fa6103b6366004612626565b610ae4565b3480156103c757600080fd5b506102fa6103d6366004612863565b610ba3565b3480156103e757600080fd5b506102fa610cf9565b3480156103fc57600080fd5b506102fa610dad565b34801561041157600080fd5b506102fa61042036600461267a565b610de1565b34801561043157600080fd5b50600c546102c2906001600160a01b031681565b34801561045157600080fd5b50600f5461032d565b34801561046657600080fd5b5061032d61047536600461284b565b610dfc565b34801561048657600080fd5b506102fa6104953660046127e3565b610e9d565b3480156104a657600080fd5b506104af610ede565b6040516102779190600060e082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015292915050565b34801561051157600080fd5b50600a54600160a01b900460ff1661026b565b34801561053057600080fd5b506102c261053f36600461284b565b610f87565b34801561055057600080fd5b5061032d61055f366004612626565b610ffe565b34801561057057600080fd5b506102fa611085565b34801561058557600080fd5b506102fa6110b9565b34801561059a57600080fd5b5060115461032d9081565b3480156105b157600080fd5b50600a546001600160a01b03166102c2565b3480156105cf57600080fd5b506102956110eb565b6102fa6105e636600461284b565b6110fa565b3480156105f757600080fd5b506010546102c2906001600160a01b031681565b34801561061757600080fd5b506102fa610626366004612737565b6112cb565b34801561063757600080fd5b5061026b610646366004612626565b6112d6565b34801561065757600080fd5b506102fa6106663660046126ba565b611354565b34801561067757600080fd5b5061032d610686366004612626565b50600590565b34801561069857600080fd5b506102956106a736600461284b565b61138c565b3480156106b857600080fd5b506102fa6106c7366004612829565b611440565b3480156106d857600080fd5b506102fa6106e7366004612626565b61151e565b3480156106f857600080fd5b5061177a61032d565b34801561070d57600080fd5b506102fa61071c36600461284b565b61156a565b34801561072d57600080fd5b506102fa61073c36600461284b565b611599565b34801561074d57600080fd5b5061026b61075c366004612642565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561079657600080fd5b506102fa6107a5366004612626565b6115c8565b60006107b582611660565b92915050565b6060600080546107ca90612bd8565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690612bd8565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108cb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108f282610f87565b9050806001600160a01b0316836001600160a01b031614156109605760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108c2565b336001600160a01b038216148061097c575061097c813361075c565b6109ee5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108c2565b6109f88383611685565b505050565b610a0733826116f3565b610a235760405162461bcd60e51b81526004016108c290612ad4565b6109f88383836117ea565b6000610a39826112d6565b15610a4657505060125490565b505060135490565b6000610a5983610ffe565b8210610abb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108c2565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600b541415610b375760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c2565b6002600b55601054604051630c6cfae560e21b81526001600160a01b038381166004830152909116906331b3eb9490602401600060405180830381600087803b158015610b8357600080fd5b505af1158015610b97573d6000803e3d6000fd5b50506001600b55505050565b600a546001600160a01b03163314610bcd5760405162461bcd60e51b81526004016108c290612a9f565b60145460ff841667ffffffffffffffff9091161115610c225760405162461bcd60e51b81526020600482015260116024820152706368756e6b496e6465782065786973747360781b60448201526064016108c2565b60ff8316610c3c57610c36600f838361247a565b50610cce565b8060005b81811015610ccb57600f848483818110610c6a57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c7f9190612829565b81546001810183556000928352602090922060108304018054600f9093166002026101000a61ffff81810219909416929093169290920217905580610cc381612c13565b915050610c40565b50505b610cd9836001612b3d565b6014805467ffffffffffffffff191660ff92909216919091179055505050565b600a546001600160a01b03163314610d235760405162461bcd60e51b81526004016108c290612a9f565b604051600090339047908381818185875af1925050503d8060008114610d65576040519150601f19603f3d011682016040523d82523d6000602084013e610d6a565b606091505b5050905080610daa5760405162461bcd60e51b815260206004820152600c60248201526b6661696c65642066756e647360a01b60448201526064016108c2565b50565b600a546001600160a01b03163314610dd75760405162461bcd60e51b81526004016108c290612a9f565b610ddf611991565b565b6109f883838360405180602001604052806000815250611354565b6000610e0760085490565b8210610e6a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108c2565b60088281548110610e8b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610ec75760405162461bcd60e51b81526004016108c290612a9f565b8051610eda906015906020840190612527565b5050565b610f1e6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b610f5e6040518060e00160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6013548152601254602082015261177a60608201526008546080820152600560c0820152919050565b6000818152600260205260408120546001600160a01b0316806107b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108c2565b60006001600160a01b0382166110695760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108c2565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110af5760405162461bcd60e51b81526004016108c290612a9f565b610ddf6000611a2e565b600a546001600160a01b031633146110e35760405162461bcd60e51b81526004016108c290612a9f565b610ddf611a80565b6060600180546107ca90612bd8565b600a54600160a01b900460ff16156111475760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108c2565b60058111156111985760405162461bcd60e51b815260206004820152601d60248201527f6e6f74206d696e74206d6f7265207468616e206d617820616d6f756e7400000060448201526064016108c2565b6000806111a4336112d6565b905080156111c0576012546111b99084611b08565b91506111d0565b6013546111cd9084611b08565b91505b813410156112135760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064016108c2565b600e546000906112399084906fffffffffffffffffffffffffffffffff16612710611b1b565b905060005b848110156112615761124f33611c2d565b8061125981612c13565b91505061123e565b50601054600d54604051634065da6360e01b81526001600160a01b039182166004820152911690634065da639083906024016000604051808303818588803b1580156112ac57600080fd5b505af11580156112c0573d6000803e3d6000fd5b505050505050505050565b610eda338383611cd1565b60105460405163288c314960e21b81526001600160a01b038381166004830152600092169063a230c5249060240160206040518083038186803b15801561131c57600080fd5b505afa158015611330573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b5919061278f565b61135e33836116f3565b61137a5760405162461bcd60e51b81526004016108c290612ad4565b61138684848484611da0565b50505050565b6000818152600260205260409020546060906001600160a01b031661140b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108c2565b6000601561141884611dd3565b604051602001611429929190612933565b60408051601f198184030181529190529392505050565b600a546001600160a01b0316331461146a5760405162461bcd60e51b81526004016108c290612a9f565b600061271061147d61ffff841647612b76565b6114879190612b62565b600c546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146114d9576040519150601f19603f3d011682016040523d82523d6000602084013e6114de565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152600c60248201526b6661696c65642066756e647360a01b60448201526064016108c2565b600a546001600160a01b031633146115485760405162461bcd60e51b81526004016108c290612a9f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146115945760405162461bcd60e51b81526004016108c290612a9f565b601255565b600a546001600160a01b031633146115c35760405162461bcd60e51b81526004016108c290612a9f565b601355565b600a546001600160a01b031633146115f25760405162461bcd60e51b81526004016108c290612a9f565b6001600160a01b0381166116575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c2565b610daa81611a2e565b60006001600160e01b0319821663780e9d6360e01b14806107b557506107b582611eed565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116ba82610f87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661176c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108c2565b600061177783610f87565b9050806001600160a01b0316846001600160a01b031614806117b25750836001600160a01b03166117a78461084d565b6001600160a01b0316145b806117e257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117fd82610f87565b6001600160a01b0316146118615760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108c2565b6001600160a01b0382166118c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c2565b6118ce838383611f3d565b6118d9600082611685565b6001600160a01b0383166000908152600360205260408120805460019290611902908490612b95565b90915550506001600160a01b0382166000908152600360205260408120805460019290611930908490612b25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff166119e15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108c2565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a54600160a01b900460ff1615611acd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108c2565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a113390565b6000611b148284612b76565b9392505050565b6000808211611b5f5760405162461bcd60e51b815260206004820152601060248201526f4469766973696f6e206279207a65726f60801b60448201526064016108c2565b83611b6c57506000611b14565b6000611b788486612b76565b905083611b858683612b62565b1415611b9d57611b958382612b62565b915050611b14565b6000611ba98487612b62565b90506000611bb78588612c2e565b90506000611bc58688612b62565b90506000611bd38789612c2e565b9050611c20611bec88611be68685611b08565b90611f48565b611c1a611bf98686611b08565b611c1a611c068987611b08565b611c1a8d611c148c8b611b08565b90611b08565b90611f54565b9998505050505050505050565b6000611c3860115490565b905061177a8110611c775760405162461bcd60e51b8152602060048201526009602482015268736f6c64206f75742160b81b60448201526064016108c2565b611c85601180546001019055565b610eda82600f8381548110611caa57634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff16611f60565b816001600160a01b0316836001600160a01b03161415611d335760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dab8484846117ea565b611db784848484611f7a565b6113865760405162461bcd60e51b81526004016108c290612a4d565b606081611df75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e215780611e0b81612c13565b9150611e1a9050600a83612b62565b9150611dfb565b60008167ffffffffffffffff811115611e4a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e74576020820181803683370190505b5090505b84156117e257611e89600183612b95565b9150611e96600a86612c2e565b611ea1906030612b25565b60f81b818381518110611ec457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611ee6600a86612b62565b9450611e78565b60006001600160e01b031982166380ac58cd60e01b1480611f1e57506001600160e01b03198216635b5e139f60e01b145b806107b557506301ffc9a760e01b6001600160e01b03198316146107b5565b6109f8838383612087565b6000611b148284612b62565b6000611b148284612b25565b610eda82826040518060200160405280600081525061213f565b60006001600160a01b0384163b1561207c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fbe9033908990889088906004016129fd565b602060405180830381600087803b158015611fd857600080fd5b505af1925050508015612008575060408051601f3d908101601f19168201909252612005918101906127c7565b60015b612062573d808015612036576040519150601f19603f3d011682016040523d82523d6000602084013e61203b565b606091505b50805161205a5760405162461bcd60e51b81526004016108c290612a4d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117e2565b506001949350505050565b6001600160a01b0383166120e2576120dd81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612105565b816001600160a01b0316836001600160a01b031614612105576121058382612172565b6001600160a01b03821661211c576109f88161220f565b826001600160a01b0316826001600160a01b0316146109f8576109f882826122e8565b612149838361232c565b6121566000848484611f7a565b6109f85760405162461bcd60e51b81526004016108c290612a4d565b6000600161217f84610ffe565b6121899190612b95565b6000838152600760205260409020549091508082146121dc576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061222190600190612b95565b6000838152600960205260408120546008805493945090928490811061225757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061228657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122cc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006122f383610ffe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123825760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c2565b6000818152600260205260409020546001600160a01b0316156123e75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c2565b6123f360008383611f3d565b6001600160a01b038216600090815260036020526040812080546001929061241c908490612b25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805482825590600052602060002090600f016010900481019282156125175791602002820160005b838211156124e757833561ffff1683826101000a81548161ffff021916908361ffff16021790555092602001926002016020816001010492830192600103026124a3565b80156125155782816101000a81549061ffff02191690556002016020816001010492830192600103026124e7565b505b5061252392915061259b565b5090565b82805461253390612bd8565b90600052602060002090601f0160209004810192826125555760008555612517565b82601f1061256e57805160ff1916838001178555612517565b82800160010185558215612517579182015b82811115612517578251825591602001919060010190612580565b5b80821115612523576000815560010161259c565b600067ffffffffffffffff808411156125cb576125cb612c6e565b604051601f8501601f19908116603f011681019082821181831017156125f3576125f3612c6e565b8160405280935085815286868601111561260c57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612637578081fd5b8135611b1481612c84565b60008060408385031215612654578081fd5b823561265f81612c84565b9150602083013561266f81612c84565b809150509250929050565b60008060006060848603121561268e578081fd5b833561269981612c84565b925060208401356126a981612c84565b929592945050506040919091013590565b600080600080608085870312156126cf578081fd5b84356126da81612c84565b935060208501356126ea81612c84565b925060408501359150606085013567ffffffffffffffff81111561270c578182fd5b8501601f8101871361271c578182fd5b61272b878235602084016125b0565b91505092959194509250565b60008060408385031215612749578182fd5b823561275481612c84565b9150602083013561266f81612c99565b60008060408385031215612776578182fd5b823561278181612c84565b946020939093013593505050565b6000602082840312156127a0578081fd5b8151611b1481612c99565b6000602082840312156127bc578081fd5b8135611b1481612ca7565b6000602082840312156127d8578081fd5b8151611b1481612ca7565b6000602082840312156127f4578081fd5b813567ffffffffffffffff81111561280a578182fd5b8201601f8101841361281a578182fd5b6117e2848235602084016125b0565b60006020828403121561283a578081fd5b813561ffff81168114611b14578182fd5b60006020828403121561285c578081fd5b5035919050565b600080600060408486031215612877578081fd5b833560ff81168114612887578182fd5b9250602084013567ffffffffffffffff808211156128a3578283fd5b818601915086601f8301126128b6578283fd5b8135818111156128c4578384fd5b8760208260051b85010111156128d8578384fd5b6020830194508093505050509250925092565b60008151808452612903816020860160208601612bac565b601f01601f19169290920160200192915050565b60008151612929818560208601612bac565b9290920192915050565b600080845482600182811c91508083168061294f57607f831692505b602080841082141561296f57634e487b7160e01b87526022600452602487fd5b8180156129835760018114612994576129c0565b60ff198616895284890196506129c0565b60008b815260209020885b868110156129b85781548b82015290850190830161299f565b505084890196505b5050505050506129f46129e36129dd83602f60f81b815260010190565b86612917565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a30908301846128eb565b9695505050505050565b602081526000611b1460208301846128eb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612b3857612b38612c42565b500190565b600060ff821660ff84168060ff03821115612b5a57612b5a612c42565b019392505050565b600082612b7157612b71612c58565b500490565b6000816000190483118215151615612b9057612b90612c42565b500290565b600082821015612ba757612ba7612c42565b500390565b60005b83811015612bc7578181015183820152602001612baf565b838111156113865750506000910152565b600181811c90821680612bec57607f821691505b60208210811415612c0d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c2757612c27612c42565b5060010190565b600082612c3d57612c3d612c58565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610daa57600080fd5b8015158114610daa57600080fd5b6001600160e01b031981168114610daa57600080fdfea26469706673582212205f466d1befb6bf026b53490baf2d62cc133ce34a53d161aa10907eea5f8f9f3c64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a3cdb2364f92369a602cae81167d0679087e6a3000000000000000000000000ce8888f408dd6fbfc39231060a8313ca2d97edd2
-----Decoded View---------------
Arg [0] : _marketContract (address): 0x7a3CdB2364f92369a602CAE81167d0679087e6a3
Arg [1] : _artist (address): 0xCE8888f408dD6FBfC39231060A8313ca2d97EdD2
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a3cdb2364f92369a602cae81167d0679087e6a3
Arg [1] : 000000000000000000000000ce8888f408dd6fbfc39231060a8313ca2d97edd2
Deployed Bytecode Sourcemap
81152:3671:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79576:145;;;;;;;;;;-1:-1:-1;79576:145:0;;;;;:::i;:::-;;:::i;:::-;;;9640:14:1;;9633:22;9615:41;;9603:2;9588:18;79576:145:0;;;;;;;;50291:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;51850:221::-;;;;;;;;;;-1:-1:-1;51850:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8714:32:1;;;8696:51;;8684:2;8669:18;51850:221:0;8651:102:1;51373:411:0;;;;;;;;;;-1:-1:-1;51373:411:0;;;;;:::i;:::-;;:::i;:::-;;78831:72;;;;;;;;;;-1:-1:-1;78831:72:0;;;;-1:-1:-1;;;;;78831:72:0;;;65203:113;;;;;;;;;;-1:-1:-1;65291:10:0;:17;65203:113;;;20978:25:1;;;20966:2;20951:18;65203:113:0;20933:76:1;52600:339:0;;;;;;;;;;-1:-1:-1;52600:339:0;;;;;:::i;:::-;;:::i;82763:211::-;;;;;;;;;;-1:-1:-1;82763:211:0;;;;;:::i;:::-;;:::i;64871:256::-;;;;;;;;;;-1:-1:-1;64871:256:0;;;;;:::i;:::-;;:::i;79196:141::-;;;;;;;;;;-1:-1:-1;79196:141:0;;;;;:::i;:::-;;:::i;81936:455::-;;;;;;;;;;-1:-1:-1;81936:455:0;;;;;:::i;:::-;;:::i;79729:183::-;;;;;;;;;;;;;:::i;79988:64::-;;;;;;;;;;;;;:::i;53010:185::-;;;;;;;;;;-1:-1:-1;53010:185:0;;;;;:::i;:::-;;:::i;78803:21::-;;;;;;;;;;-1:-1:-1;78803:21:0;;;;-1:-1:-1;;;;;78803:21:0;;;81842:82;;;;;;;;;;-1:-1:-1;81904:5:0;:12;81842:82;;65393:233;;;;;;;;;;-1:-1:-1;65393:233:0;;;;;:::i;:::-;;:::i;83192:99::-;;;;;;;;;;-1:-1:-1;83192:99:0;;;;;:::i;:::-;;:::i;82399:356::-;;;;;;;;;;;;;:::i;:::-;;;;;;20356:4:1;20398:3;20387:9;20383:19;20375:27;;20435:6;20429:13;20418:9;20411:32;20499:4;20491:6;20487:17;20481:24;20474:4;20463:9;20459:20;20452:54;20562:4;20554:6;20550:17;20544:24;20537:4;20526:9;20522:20;20515:54;20625:4;20617:6;20613:17;20607:24;20600:4;20589:9;20585:20;20578:54;20688:4;20680:6;20676:17;20670:24;20663:4;20652:9;20648:20;20641:54;20751:4;20743:6;20739:17;20733:24;20726:4;20715:9;20711:20;20704:54;20814:4;20806:6;20802:17;20796:24;20789:4;20778:9;20774:20;20767:54;20365:462;;;;;74385:86:0;;;;;;;;;;-1:-1:-1;74456:7:0;;-1:-1:-1;;;74456:7:0;;;;74385:86;;49985:239;;;;;;;;;;-1:-1:-1;49985:239:0;;;;;:::i;:::-;;:::i;49715:208::-;;;;;;;;;;-1:-1:-1;49715:208:0;;;;;:::i;:::-;;:::i;72430:103::-;;;;;;;;;;;;;:::i;79920:60::-;;;;;;;;;;;;;:::i;81313:39::-;;;;;;;;;;-1:-1:-1;81313:39:0;;;;;;71779:87;;;;;;;;;;-1:-1:-1;71852:6:0;;-1:-1:-1;;;;;71852:6:0;71779:87;;50460:104;;;;;;;;;;;;;:::i;83299:694::-;;;;;;:::i;:::-;;:::i;79020:29::-;;;;;;;;;;-1:-1:-1;79020:29:0;;;;-1:-1:-1;;;;;79020:29:0;;;52143:155;;;;;;;;;;-1:-1:-1;52143:155:0;;;;;:::i;:::-;;:::i;79058:130::-;;;;;;;;;;-1:-1:-1;79058:130:0;;;;;:::i;:::-;;:::i;53266:328::-;;;;;;;;;;-1:-1:-1;53266:328:0;;;;;:::i;:::-;;:::i;84713:107::-;;;;;;;;;;-1:-1:-1;84713:107:0;;;;;:::i;:::-;-1:-1:-1;81524:1:0;;84713:107;84001:318;;;;;;;;;;-1:-1:-1;84001:318:0;;;;;:::i;:::-;;:::i;80060:247::-;;;;;;;;;;-1:-1:-1;80060:247:0;;;;;:::i;:::-;;:::i;80315:88::-;;;;;;;;;;-1:-1:-1;80315:88:0;;;;;:::i;:::-;;:::i;84607:98::-;;;;;;;;;;-1:-1:-1;81480:4:0;84607:98;;83090:94;;;;;;;;;;-1:-1:-1;83090:94:0;;;;;:::i;:::-;;:::i;82986:96::-;;;;;;;;;;-1:-1:-1;82986:96:0;;;;;:::i;:::-;;:::i;52369:164::-;;;;;;;;;;-1:-1:-1;52369:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;52490:25:0;;;52466:4;52490:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52369:164;72688:201;;;;;;;;;;-1:-1:-1;72688:201:0;;;;;:::i;:::-;;:::i;79576:145::-;79653:4;79677:36;79701:11;79677:23;:36::i;:::-;79670:43;79576:145;-1:-1:-1;;79576:145:0:o;50291:100::-;50345:13;50378:5;50371:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50291:100;:::o;51850:221::-;51926:7;55193:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55193:16:0;51946:73;;;;-1:-1:-1;;;51946:73:0;;15908:2:1;51946:73:0;;;15890:21:1;15947:2;15927:18;;;15920:30;15986:34;15966:18;;;15959:62;-1:-1:-1;;;16037:18:1;;;16030:42;16089:19;;51946:73:0;;;;;;;;;-1:-1:-1;52039:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;52039:24:0;;51850:221::o;51373:411::-;51454:13;51470:23;51485:7;51470:14;:23::i;:::-;51454:39;;51518:5;-1:-1:-1;;;;;51512:11:0;:2;-1:-1:-1;;;;;51512:11:0;;;51504:57;;;;-1:-1:-1;;;51504:57:0;;17443:2:1;51504:57:0;;;17425:21:1;17482:2;17462:18;;;17455:30;17521:34;17501:18;;;17494:62;-1:-1:-1;;;17572:18:1;;;17565:31;17613:19;;51504:57:0;17415:223:1;51504:57:0;22343:10;-1:-1:-1;;;;;51596:21:0;;;;:62;;-1:-1:-1;51621:37:0;51638:5;22343:10;52369:164;:::i;51621:37::-;51574:168;;;;-1:-1:-1;;;51574:168:0;;14301:2:1;51574:168:0;;;14283:21:1;14340:2;14320:18;;;14313:30;14379:34;14359:18;;;14352:62;14450:26;14430:18;;;14423:54;14494:19;;51574:168:0;14273:246:1;51574:168:0;51755:21;51764:2;51768:7;51755:8;:21::i;:::-;51373:411;;;:::o;52600:339::-;52795:41;22343:10;52828:7;52795:18;:41::i;:::-;52787:103;;;;-1:-1:-1;;;52787:103:0;;;;;;;:::i;:::-;52903:28;52913:4;52919:2;52923:7;52903:9;:28::i;82763:211::-;82829:7;82853:17;82862:7;82853:8;:17::i;:::-;82849:118;;;-1:-1:-1;;82894:10:0;;;82763:211::o;82849:118::-;-1:-1:-1;;82944:11:0;;;82763:211::o;64871:256::-;64968:7;65004:23;65021:5;65004:16;:23::i;:::-;64996:5;:31;64988:87;;;;-1:-1:-1;;;64988:87:0;;10442:2:1;64988:87:0;;;10424:21:1;10481:2;10461:18;;;10454:30;10520:34;10500:18;;;10493:62;-1:-1:-1;;;10571:18:1;;;10564:41;10622:19;;64988:87:0;10414:233:1;64988:87:0;-1:-1:-1;;;;;;65093:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;64871:256::o;79196:141::-;77391:1;77989:7;;:19;;77981:63;;;;-1:-1:-1;;;77981:63:0;;19725:2:1;77981:63:0;;;19707:21:1;19764:2;19744:18;;;19737:30;19803:33;19783:18;;;19776:61;19854:18;;77981:63:0;19697:181:1;77981:63:0;77391:1;78122:7;:18;79290:14:::1;::::0;79283:46:::1;::::0;-1:-1:-1;;;79283:46:0;;-1:-1:-1;;;;;8714:32:1;;;79283:46:0::1;::::0;::::1;8696:51:1::0;79290:14:0;;::::1;::::0;79283:39:::1;::::0;8669:18:1;;79283:46:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;77347:1:0;78301:7;:22;-1:-1:-1;;;79196:141:0:o;81936:455::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;82042:17:::1;::::0;:32:::1;::::0;::::1;:17;::::0;;::::1;:32;;82034:62;;;::::0;-1:-1:-1;;;82034:62:0;;19379:2:1;82034:62:0::1;::::0;::::1;19361:21:1::0;19418:2;19398:18;;;19391:30;-1:-1:-1;;;19437:18:1;;;19430:47;19494:18;;82034:62:0::1;19351:167:1::0;82034:62:0::1;82121:16;::::0;::::1;82117:221;;82154:14;:5;82162:6:::0;;82154:14:::1;:::i;:::-;;82117:221;;;82212:6:::0;82201:8:::1;82240:87;82260:3;82256:1;:7;82240:87;;;82290:5;82301:6;;82308:1;82301:9;;;;;-1:-1:-1::0;;;82301:9:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;82290:21:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;82290:21:0;;;::::1;::::0;;;::::1;::::0;::::1;;::::0;;;;;;::::1;;;;;::::0;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;82265:4;::::1;::::0;::::1;:::i;:::-;;;;82240:87;;;;82117:221;;82368:15;:11:::0;82382:1:::1;82368:15;:::i;:::-;82348:17;:35:::0;;-1:-1:-1;;82348:35:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;81936:455:0:o;79729:183::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;79803:58:::1;::::0;79785:12:::1;::::0;79811:10:::1;::::0;79835:21:::1;::::0;79785:12;79803:58;79785:12;79803:58;79835:21;79811:10;79803:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79784:77;;;79880:7;79872:32;;;::::0;-1:-1:-1;;;79872:32:0;;13202:2:1;79872:32:0::1;::::0;::::1;13184:21:1::0;13241:2;13221:18;;;13214:30;-1:-1:-1;;;13260:18:1;;;13253:42;13312:18;;79872:32:0::1;13174:162:1::0;79872:32:0::1;72070:1;79729:183::o:0;79988:64::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;80034:10:::1;:8;:10::i;:::-;79988:64::o:0;53010:185::-;53148:39;53165:4;53171:2;53175:7;53148:39;;;;;;;;;;;;:16;:39::i;65393:233::-;65468:7;65504:30;65291:10;:17;;65203:113;65504:30;65496:5;:38;65488:95;;;;-1:-1:-1;;;65488:95:0;;18966:2:1;65488:95:0;;;18948:21:1;19005:2;18985:18;;;18978:30;19044:34;19024:18;;;19017:62;-1:-1:-1;;;19095:18:1;;;19088:42;19147:19;;65488:95:0;18938:234:1;65488:95:0;65601:10;65612:5;65601:17;;;;;;-1:-1:-1;;;65601:17:0;;;;;;;;;;;;;;;;;65594:24;;65393:233;;;:::o;83192:99::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;83265:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;83192:99:::0;:::o;82399:356::-;82450:11;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82450:11:0;82474:19;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82474:19:0;82526:11;;82504:33;;82569:10;;82548:18;;;:31;81480:4;82590:17;;;:30;65291:10;:17;82631:19;;;:41;81524:1;82683:20;;;:37;82631:7;82399:356;-1:-1:-1;82399:356:0:o;49985:239::-;50057:7;50093:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50093:16:0;50128:19;50120:73;;;;-1:-1:-1;;;50120:73:0;;15137:2:1;50120:73:0;;;15119:21:1;15176:2;15156:18;;;15149:30;15215:34;15195:18;;;15188:62;-1:-1:-1;;;15266:18:1;;;15259:39;15315:19;;50120:73:0;15109:231:1;49715:208:0;49787:7;-1:-1:-1;;;;;49815:19:0;;49807:74;;;;-1:-1:-1;;;49807:74:0;;14726:2:1;49807:74:0;;;14708:21:1;14765:2;14745:18;;;14738:30;14804:34;14784:18;;;14777:62;-1:-1:-1;;;14855:18:1;;;14848:40;14905:19;;49807:74:0;14698:232:1;49807:74:0;-1:-1:-1;;;;;;49899:16:0;;;;;:9;:16;;;;;;;49715:208::o;72430:103::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;72495:30:::1;72522:1;72495:18;:30::i;79920:60::-:0;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;79964:8:::1;:6;:8::i;50460:104::-:0;50516:13;50549:7;50542:14;;;;;:::i;83299:694::-;74456:7;;-1:-1:-1;;;74456:7:0;;;;74710:9;74702:38;;;;-1:-1:-1;;;74702:38:0;;13956:2:1;74702:38:0;;;13938:21:1;13995:2;13975:18;;;13968:30;-1:-1:-1;;;14014:18:1;;;14007:46;14070:18;;74702:38:0;13928:166:1;74702:38:0;81524:1:::1;83389:25:::0;::::1;;83381:67;;;::::0;-1:-1:-1;;;83381:67:0;;18263:2:1;83381:67:0::1;::::0;::::1;18245:21:1::0;18302:2;18282:18;;;18275:30;18341:31;18321:18;;;18314:59;18390:18;;83381:67:0::1;18235:179:1::0;83381:67:0::1;83469:13;83499:14:::0;83516:20:::1;83525:10;83516:8;:20::i;:::-;83499:37;;83551:9;83547:139;;;83584:10;::::0;:23:::1;::::0;83599:7;83584:14:::1;:23::i;:::-;83576:31;;83547:139;;;83649:11;::::0;:24:::1;::::0;83665:7;83649:15:::1;:24::i;:::-;83641:32;;83547:139;83727:5;83714:9;:18;;83706:47;;;::::0;-1:-1:-1;;;83706:47:0;;18621:2:1;83706:47:0::1;::::0;::::1;18603:21:1::0;18660:2;18640:18;;;18633:30;-1:-1:-1;;;18679:18:1;;;18672:46;18735:18;;83706:47:0::1;18593:166:1::0;83706:47:0::1;83799:3;::::0;83766:17:::1;::::0;83786:24:::1;::::0;:5;;83799:3:::1;;78944:5;83786:12;:24::i;:::-;83766:44;;83828:9;83824:83;83847:7;83843:1;:11;83824:83;;;83875:20;83884:10;83875:8;:20::i;:::-;83856:3:::0;::::1;::::0;::::1;:::i;:::-;;;;83824:83;;;-1:-1:-1::0;83926:14:0::1;::::0;83972:12:::1;::::0;83919:66:::1;::::0;-1:-1:-1;;;83919:66:0;;-1:-1:-1;;;;;83972:12:0;;::::1;83919:66;::::0;::::1;8696:51:1::0;83926:14:0;::::1;::::0;83919:34:::1;::::0;83961:9;;8669:18:1;;83919:66:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;74751:1;;;83299:694:::0;:::o;52143:155::-;52238:52;22343:10;52271:8;52281;52238:18;:52::i;79058:130::-;79146:14;;79139:41;;-1:-1:-1;;;79139:41:0;;-1:-1:-1;;;;;8714:32:1;;;79139:41:0;;;8696:51:1;79115:4:0;;79146:14;;79139:31;;8669:18:1;;79139:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53266:328::-;53441:41;22343:10;53474:7;53441:18;:41::i;:::-;53433:103;;;;-1:-1:-1;;;53433:103:0;;;;;;;:::i;:::-;53547:39;53561:4;53567:2;53571:7;53580:5;53547:13;:39::i;:::-;53266:328;;;;:::o;84001:318::-;55169:4;55193:16;;;:7;:16;;;;;;84072:13;;-1:-1:-1;;;;;55193:16:0;84096:76;;;;-1:-1:-1;;;84096:76:0;;17027:2:1;84096:76:0;;;17009:21:1;17066:2;17046:18;;;17039:30;17105:34;17085:18;;;17078:62;-1:-1:-1;;;17156:18:1;;;17149:45;17211:19;;84096:76:0;16999:237:1;84096:76:0;84183:23;84233:7;84247:26;84264:8;84247:16;:26::i;:::-;84216:67;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;84216:67:0;;;;;;;;;;84001:318;-1:-1:-1;;;84001:318:0:o;80060:247::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;80130:14:::1;78944:5;80147:32;;::::0;::::1;:21;:32;:::i;:::-;:40;;;;:::i;:::-;80225:6;::::0;80217:39:::1;::::0;80130:57;;-1:-1:-1;80199:12:0::1;::::0;-1:-1:-1;;;;;80225:6:0;;::::1;::::0;80130:57;;80199:12;80217:39;80199:12;80217:39;80130:57;80225:6;80217:39:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80198:58;;;80275:7;80267:32;;;::::0;-1:-1:-1;;;80267:32:0;;13202:2:1;80267:32:0::1;::::0;::::1;13184:21:1::0;13241:2;13221:18;;;13214:30;-1:-1:-1;;;13260:18:1;;;13253:42;13312:18;;80267:32:0::1;13174:162:1::0;80315:88:0;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;80379:6:::1;:16:::0;;-1:-1:-1;;;;;;80379:16:0::1;-1:-1:-1::0;;;;;80379:16:0;;;::::1;::::0;;;::::1;::::0;;80315:88::o;83090:94::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;83158:10:::1;:18:::0;83090:94::o;82986:96::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;83055:11:::1;:19:::0;82986:96::o;72688:201::-;71852:6;;-1:-1:-1;;;;;71852:6:0;22343:10;71999:23;71991:68;;;;-1:-1:-1;;;71991:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72777:22:0;::::1;72769:73;;;::::0;-1:-1:-1;;;72769:73:0;;11273:2:1;72769:73:0::1;::::0;::::1;11255:21:1::0;11312:2;11292:18;;;11285:30;11351:34;11331:18;;;11324:62;-1:-1:-1;;;11402:18:1;;;11395:36;11448:19;;72769:73:0::1;11245:228:1::0;72769:73:0::1;72853:28;72872:8;72853:18;:28::i;64563:224::-:0;64665:4;-1:-1:-1;;;;;;64689:50:0;;-1:-1:-1;;;64689:50:0;;:90;;;64743:36;64767:11;64743:23;:36::i;59250:174::-;59325:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;59325:29:0;-1:-1:-1;;;;;59325:29:0;;;;;;;;:24;;59379:23;59325:24;59379:14;:23::i;:::-;-1:-1:-1;;;;;59370:46:0;;;;;;;;;;;59250:174;;:::o;55398:348::-;55491:4;55193:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55193:16:0;55508:73;;;;-1:-1:-1;;;55508:73:0;;13543:2:1;55508:73:0;;;13525:21:1;13582:2;13562:18;;;13555:30;13621:34;13601:18;;;13594:62;-1:-1:-1;;;13672:18:1;;;13665:42;13724:19;;55508:73:0;13515:234:1;55508:73:0;55592:13;55608:23;55623:7;55608:14;:23::i;:::-;55592:39;;55661:5;-1:-1:-1;;;;;55650:16:0;:7;-1:-1:-1;;;;;55650:16:0;;:51;;;;55694:7;-1:-1:-1;;;;;55670:31:0;:20;55682:7;55670:11;:20::i;:::-;-1:-1:-1;;;;;55670:31:0;;55650:51;:87;;;-1:-1:-1;;;;;;52490:25:0;;;52466:4;52490:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;55705:32;55642:96;55398:348;-1:-1:-1;;;;55398:348:0:o;58507:625::-;58666:4;-1:-1:-1;;;;;58639:31:0;:23;58654:7;58639:14;:23::i;:::-;-1:-1:-1;;;;;58639:31:0;;58631:81;;;;-1:-1:-1;;;58631:81:0;;11680:2:1;58631:81:0;;;11662:21:1;11719:2;11699:18;;;11692:30;11758:34;11738:18;;;11731:62;-1:-1:-1;;;11809:18:1;;;11802:35;11854:19;;58631:81:0;11652:227:1;58631:81:0;-1:-1:-1;;;;;58731:16:0;;58723:65;;;;-1:-1:-1;;;58723:65:0;;12443:2:1;58723:65:0;;;12425:21:1;12482:2;12462:18;;;12455:30;12521:34;12501:18;;;12494:62;-1:-1:-1;;;12572:18:1;;;12565:34;12616:19;;58723:65:0;12415:226:1;58723:65:0;58801:39;58822:4;58828:2;58832:7;58801:20;:39::i;:::-;58905:29;58922:1;58926:7;58905:8;:29::i;:::-;-1:-1:-1;;;;;58947:15:0;;;;;;:9;:15;;;;;:20;;58966:1;;58947:15;:20;;58966:1;;58947:20;:::i;:::-;;;;-1:-1:-1;;;;;;;58978:13:0;;;;;;:9;:13;;;;;:18;;58995:1;;58978:13;:18;;58995:1;;58978:18;:::i;:::-;;;;-1:-1:-1;;59007:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;59007:21:0;-1:-1:-1;;;;;59007:21:0;;;;;;;;;59046:27;;59007:16;;59046:27;;;;;;;51373:411;;;:::o;75444:120::-;74456:7;;-1:-1:-1;;;74456:7:0;;;;74980:41;;;;-1:-1:-1;;;74980:41:0;;10093:2:1;74980:41:0;;;10075:21:1;10132:2;10112:18;;;10105:30;-1:-1:-1;;;10151:18:1;;;10144:50;10211:18;;74980:41:0;10065:170:1;74980:41:0;75503:7:::1;:15:::0;;-1:-1:-1;;;;75503:15:0::1;::::0;;75534:22:::1;22343:10:::0;75543:12:::1;75534:22;::::0;-1:-1:-1;;;;;8714:32:1;;;8696:51;;8684:2;8669:18;75534:22:0::1;;;;;;;75444:120::o:0;73049:191::-;73142:6;;;-1:-1:-1;;;;;73159:17:0;;;-1:-1:-1;;;;;;73159:17:0;;;;;;;73192:40;;73142:6;;;73159:17;73142:6;;73192:40;;73123:16;;73192:40;73049:191;;:::o;75185:118::-;74456:7;;-1:-1:-1;;;74456:7:0;;;;74710:9;74702:38;;;;-1:-1:-1;;;74702:38:0;;13956:2:1;74702:38:0;;;13938:21:1;13995:2;13975:18;;;13968:30;-1:-1:-1;;;14014:18:1;;;14007:46;14070:18;;74702:38:0;13928:166:1;74702:38:0;75245:7:::1;:14:::0;;-1:-1:-1;;;;75245:14:0::1;-1:-1:-1::0;;;75245:14:0::1;::::0;;75275:20:::1;75282:12;22343:10:::0;;22263:98;2608;2666:7;2693:5;2697:1;2693;:5;:::i;:::-;2686:12;2608:98;-1:-1:-1;;;2608:98:0:o;3991:669::-;4063:7;4095:1;4091;:5;4083:34;;;;-1:-1:-1;;;4083:34:0;;16321:2:1;4083:34:0;;;16303:21:1;16360:2;16340:18;;;16333:30;-1:-1:-1;;;16379:18:1;;;16372:46;16435:18;;4083:34:0;16293:166:1;4083:34:0;4134:6;4130:20;;-1:-1:-1;4149:1:0;4142:8;;4130:20;4161:10;4174:5;4178:1;4174;:5;:::i;:::-;4161:18;-1:-1:-1;4204:1:0;4194:6;4199:1;4161:18;4194:6;:::i;:::-;:11;4190:107;;;4279:6;4284:1;4279:2;:6;:::i;:::-;4272:13;;;;;4190:107;4369:9;4381:5;4385:1;4381;:5;:::i;:::-;4369:17;-1:-1:-1;4397:9:0;4409:5;4413:1;4409;:5;:::i;:::-;4397:17;-1:-1:-1;4504:9:0;4516:5;4520:1;4516;:5;:::i;:::-;4504:17;-1:-1:-1;4532:9:0;4544:5;4548:1;4544;:5;:::i;:::-;4532:17;-1:-1:-1;4586:66:0;4636:15;4649:1;4636:8;:1;4532:17;4636:5;:8::i;:::-;:12;;:15::i;:::-;4586:45;4622:8;:1;4628;4622:5;:8::i;:::-;4586:31;4608:8;:1;4614;4608:5;:8::i;:::-;4587:15;4600:1;4587:8;:1;4593;4587:5;:8::i;:::-;:12;;:15::i;:::-;4586:21;;:31::i;:66::-;4579:73;3991:669;-1:-1:-1;;;;;;;;;3991:669:0:o;84326:273::-;84376:15;84422:25;:15;1034:14;;942:114;84422:25;84412:35;-1:-1:-1;81480:4:0;84476:20;;84468:42;;;;-1:-1:-1;;;84468:42:0;;20085:2:1;84468:42:0;;;20067:21:1;20124:1;20104:18;;;20097:29;-1:-1:-1;;;20142:18:1;;;20135:39;20191:18;;84468:42:0;20057:158:1;84468:42:0;84521:27;:15;1153:19;;1171:1;1153:19;;;1064:127;84521:27;84561:30;84571:3;84576:5;84582:7;84576:14;;;;;;-1:-1:-1;;;84576:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84561:9;:30::i;59566:315::-;59721:8;-1:-1:-1;;;;;59712:17:0;:5;-1:-1:-1;;;;;59712:17:0;;;59704:55;;;;-1:-1:-1;;;59704:55:0;;12848:2:1;59704:55:0;;;12830:21:1;12887:2;12867:18;;;12860:30;12926:27;12906:18;;;12899:55;12971:18;;59704:55:0;12820:175:1;59704:55:0;-1:-1:-1;;;;;59770:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;59770:46:0;;;;;;;;;;59832:41;;9615::1;;;59832::0;;9588:18:1;59832:41:0;;;;;;;59566:315;;;:::o;54476:::-;54633:28;54643:4;54649:2;54653:7;54633:9;:28::i;:::-;54680:48;54703:4;54709:2;54713:7;54722:5;54680:22;:48::i;:::-;54672:111;;;;-1:-1:-1;;;54672:111:0;;;;;;;:::i;46174:723::-;46230:13;46451:10;46447:53;;-1:-1:-1;;46478:10:0;;;;;;;;;;;;-1:-1:-1;;;46478:10:0;;;;;46174:723::o;46447:53::-;46525:5;46510:12;46566:78;46573:9;;46566:78;;46599:8;;;;:::i;:::-;;-1:-1:-1;46622:10:0;;-1:-1:-1;46630:2:0;46622:10;;:::i;:::-;;;46566:78;;;46654:19;46686:6;46676:17;;;;;;-1:-1:-1;;;46676:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46676:17:0;;46654:39;;46704:154;46711:10;;46704:154;;46738:11;46748:1;46738:11;;:::i;:::-;;-1:-1:-1;46807:10:0;46815:2;46807:5;:10;:::i;:::-;46794:24;;:2;:24;:::i;:::-;46781:39;;46764:6;46771;46764:14;;;;;;-1:-1:-1;;;46764:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;46764:56:0;;;;;;;;-1:-1:-1;46835:11:0;46844:2;46835:11;;:::i;:::-;;;46704:154;;49346:305;49448:4;-1:-1:-1;;;;;;49485:40:0;;-1:-1:-1;;;49485:40:0;;:105;;-1:-1:-1;;;;;;;49542:48:0;;-1:-1:-1;;;49542:48:0;49485:105;:158;;;-1:-1:-1;;;;;;;;;;23457:40:0;;;49607:36;23348:157;79413:155;79515:45;79542:4;79548:2;79552:7;79515:26;:45::i;3007:98::-;3065:7;3092:5;3096:1;3092;:5;:::i;1870:98::-;1928:7;1955:5;1959:1;1955;:5;:::i;56088:110::-;56164:26;56174:2;56178:7;56164:26;;;;;;;;;;;;:9;:26::i;60446:799::-;60601:4;-1:-1:-1;;;;;60622:13:0;;14601:19;:23;60618:620;;60658:72;;-1:-1:-1;;;60658:72:0;;-1:-1:-1;;;;;60658:36:0;;;;;:72;;22343:10;;60709:4;;60715:7;;60724:5;;60658:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60658:72:0;;;;;;;;-1:-1:-1;;60658:72:0;;;;;;;;;;;;:::i;:::-;;;60654:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60900:13:0;;60896:272;;60943:60;;-1:-1:-1;;;60943:60:0;;;;;;;:::i;60896:272::-;61118:6;61112:13;61103:6;61099:2;61095:15;61088:38;60654:529;-1:-1:-1;;;;;;60781:51:0;-1:-1:-1;;;60781:51:0;;-1:-1:-1;60774:58:0;;60618:620;-1:-1:-1;61222:4:0;60446:799;;;;;;:::o;66239:589::-;-1:-1:-1;;;;;66445:18:0;;66441:187;;66480:40;66512:7;67655:10;:17;;67628:24;;;;:15;:24;;;;;:44;;;67683:24;;;;;;;;;;;;67551:164;66480:40;66441:187;;;66550:2;-1:-1:-1;;;;;66542:10:0;:4;-1:-1:-1;;;;;66542:10:0;;66538:90;;66569:47;66602:4;66608:7;66569:32;:47::i;:::-;-1:-1:-1;;;;;66642:16:0;;66638:183;;66675:45;66712:7;66675:36;:45::i;66638:183::-;66748:4;-1:-1:-1;;;;;66742:10:0;:2;-1:-1:-1;;;;;66742:10:0;;66738:83;;66769:40;66797:2;66801:7;66769:27;:40::i;56425:321::-;56555:18;56561:2;56565:7;56555:5;:18::i;:::-;56606:54;56637:1;56641:2;56645:7;56654:5;56606:22;:54::i;:::-;56584:154;;;;-1:-1:-1;;;56584:154:0;;;;;;;:::i;68342:988::-;68608:22;68658:1;68633:22;68650:4;68633:16;:22::i;:::-;:26;;;;:::i;:::-;68670:18;68691:26;;;:17;:26;;;;;;68608:51;;-1:-1:-1;68824:28:0;;;68820:328;;-1:-1:-1;;;;;68891:18:0;;68869:19;68891:18;;;:12;:18;;;;;;;;:34;;;;;;;;;68942:30;;;;;;:44;;;69059:30;;:17;:30;;;;;:43;;;68820:328;-1:-1:-1;69244:26:0;;;;:17;:26;;;;;;;;69237:33;;;-1:-1:-1;;;;;69288:18:0;;;;;:12;:18;;;;;:34;;;;;;;69281:41;68342:988::o;69625:1079::-;69903:10;:17;69878:22;;69903:21;;69923:1;;69903:21;:::i;:::-;69935:18;69956:24;;;:15;:24;;;;;;70329:10;:26;;69878:46;;-1:-1:-1;69956:24:0;;69878:46;;70329:26;;;;-1:-1:-1;;;70329:26:0;;;;;;;;;;;;;;;;;70307:48;;70393:11;70368:10;70379;70368:22;;;;;;-1:-1:-1;;;70368:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;70473:28;;;:15;:28;;;;;;;:41;;;70645:24;;;;;70638:31;70680:10;:16;;;;;-1:-1:-1;;;70680:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;69625:1079;;;;:::o;67129:221::-;67214:14;67231:20;67248:2;67231:16;:20::i;:::-;-1:-1:-1;;;;;67262:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;67307:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;67129:221:0:o;57082:439::-;-1:-1:-1;;;;;57162:16:0;;57154:61;;;;-1:-1:-1;;;57154:61:0;;15547:2:1;57154:61:0;;;15529:21:1;;;15566:18;;;15559:30;15625:34;15605:18;;;15598:62;15677:18;;57154:61:0;15519:182:1;57154:61:0;55169:4;55193:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55193:16:0;:30;57226:58;;;;-1:-1:-1;;;57226:58:0;;12086:2:1;57226:58:0;;;12068:21:1;12125:2;12105:18;;;12098:30;12164;12144:18;;;12137:58;12212:18;;57226:58:0;12058:178:1;57226:58:0;57297:45;57326:1;57330:2;57334:7;57297:20;:45::i;:::-;-1:-1:-1;;;;;57355:13:0;;;;;;:9;:13;;;;;:18;;57372:1;;57355:13;:18;;57372:1;;57355:18;:::i;:::-;;;;-1:-1:-1;;57384:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;57384:21:0;-1:-1:-1;;;;;57384:21:0;;;;;;;;57423:33;;57384:16;;;57423:33;;57384:16;;57423:33;83265:18:::1;83192:99:::0;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:257::-;709:6;762:2;750:9;741:7;737:23;733:32;730:2;;;783:6;775;768:22;730:2;827:9;814:23;846:31;871:5;846:31;:::i;1182:398::-;1250:6;1258;1311:2;1299:9;1290:7;1286:23;1282:32;1279:2;;;1332:6;1324;1317:22;1279:2;1376:9;1363:23;1395:31;1420:5;1395:31;:::i;:::-;1445:5;-1:-1:-1;1502:2:1;1487:18;;1474:32;1515:33;1474:32;1515:33;:::i;:::-;1567:7;1557:17;;;1269:311;;;;;:::o;1585:466::-;1662:6;1670;1678;1731:2;1719:9;1710:7;1706:23;1702:32;1699:2;;;1752:6;1744;1737:22;1699:2;1796:9;1783:23;1815:31;1840:5;1815:31;:::i;:::-;1865:5;-1:-1:-1;1922:2:1;1907:18;;1894:32;1935:33;1894:32;1935:33;:::i;:::-;1689:362;;1987:7;;-1:-1:-1;;;2041:2:1;2026:18;;;;2013:32;;1689:362::o;2056:824::-;2151:6;2159;2167;2175;2228:3;2216:9;2207:7;2203:23;2199:33;2196:2;;;2250:6;2242;2235:22;2196:2;2294:9;2281:23;2313:31;2338:5;2313:31;:::i;:::-;2363:5;-1:-1:-1;2420:2:1;2405:18;;2392:32;2433:33;2392:32;2433:33;:::i;:::-;2485:7;-1:-1:-1;2539:2:1;2524:18;;2511:32;;-1:-1:-1;2594:2:1;2579:18;;2566:32;2621:18;2610:30;;2607:2;;;2658:6;2650;2643:22;2607:2;2686:22;;2739:4;2731:13;;2727:27;-1:-1:-1;2717:2:1;;2773:6;2765;2758:22;2717:2;2801:73;2866:7;2861:2;2848:16;2843:2;2839;2835:11;2801:73;:::i;:::-;2791:83;;;2186:694;;;;;;;:::o;2885:392::-;2950:6;2958;3011:2;2999:9;2990:7;2986:23;2982:32;2979:2;;;3032:6;3024;3017:22;2979:2;3076:9;3063:23;3095:31;3120:5;3095:31;:::i;:::-;3145:5;-1:-1:-1;3202:2:1;3187:18;;3174:32;3215:30;3174:32;3215:30;:::i;3282:325::-;3350:6;3358;3411:2;3399:9;3390:7;3386:23;3382:32;3379:2;;;3432:6;3424;3417:22;3379:2;3476:9;3463:23;3495:31;3520:5;3495:31;:::i;:::-;3545:5;3597:2;3582:18;;;;3569:32;;-1:-1:-1;;;3369:238:1:o;3612:255::-;3679:6;3732:2;3720:9;3711:7;3707:23;3703:32;3700:2;;;3753:6;3745;3738:22;3700:2;3790:9;3784:16;3809:28;3831:5;3809:28;:::i;3872:255::-;3930:6;3983:2;3971:9;3962:7;3958:23;3954:32;3951:2;;;4004:6;3996;3989:22;3951:2;4048:9;4035:23;4067:30;4091:5;4067:30;:::i;4132:259::-;4201:6;4254:2;4242:9;4233:7;4229:23;4225:32;4222:2;;;4275:6;4267;4260:22;4222:2;4312:9;4306:16;4331:30;4355:5;4331:30;:::i;4396:480::-;4465:6;4518:2;4506:9;4497:7;4493:23;4489:32;4486:2;;;4539:6;4531;4524:22;4486:2;4584:9;4571:23;4617:18;4609:6;4606:30;4603:2;;;4654:6;4646;4639:22;4603:2;4682:22;;4735:4;4727:13;;4723:27;-1:-1:-1;4713:2:1;;4769:6;4761;4754:22;4713:2;4797:73;4862:7;4857:2;4844:16;4839:2;4835;4831:11;4797:73;:::i;4881:292::-;4939:6;4992:2;4980:9;4971:7;4967:23;4963:32;4960:2;;;5013:6;5005;4998:22;4960:2;5057:9;5044:23;5107:6;5100:5;5096:18;5089:5;5086:29;5076:2;;5134:6;5126;5119:22;5178:190;5237:6;5290:2;5278:9;5269:7;5265:23;5261:32;5258:2;;;5311:6;5303;5296:22;5258:2;-1:-1:-1;5339:23:1;;5248:120;-1:-1:-1;5248:120:1:o;5373:831::-;5465:6;5473;5481;5534:2;5522:9;5513:7;5509:23;5505:32;5502:2;;;5555:6;5547;5540:22;5502:2;5599:9;5586:23;5649:4;5642:5;5638:16;5631:5;5628:27;5618:2;;5674:6;5666;5659:22;5618:2;5702:5;-1:-1:-1;5758:2:1;5743:18;;5730:32;5781:18;5811:14;;;5808:2;;;5843:6;5835;5828:22;5808:2;5886:6;5875:9;5871:22;5861:32;;5931:7;5924:4;5920:2;5916:13;5912:27;5902:2;;5958:6;5950;5943:22;5902:2;6003;5990:16;6029:2;6021:6;6018:14;6015:2;;;6050:6;6042;6035:22;6015:2;6108:7;6103:2;6093:6;6090:1;6086:14;6082:2;6078:23;6074:32;6071:45;6068:2;;;6134:6;6126;6119:22;6068:2;6170;6166;6162:11;6152:21;;6192:6;6182:16;;;;;5492:712;;;;;:::o;6209:257::-;6250:3;6288:5;6282:12;6315:6;6310:3;6303:19;6331:63;6387:6;6380:4;6375:3;6371:14;6364:4;6357:5;6353:16;6331:63;:::i;:::-;6448:2;6427:15;-1:-1:-1;;6423:29:1;6414:39;;;;6455:4;6410:50;;6258:208;-1:-1:-1;;6258:208:1:o;6471:185::-;6513:3;6551:5;6545:12;6566:52;6611:6;6606:3;6599:4;6592:5;6588:16;6566:52;:::i;:::-;6634:16;;;;;6521:135;-1:-1:-1;;6521:135:1:o;6898:1437::-;7276:3;7305;7340:6;7334:13;7370:3;7392:1;7420:9;7416:2;7412:18;7402:28;;7480:2;7469:9;7465:18;7502;7492:2;;7546:4;7538:6;7534:17;7524:27;;7492:2;7572;7620;7612:6;7609:14;7589:18;7586:38;7583:2;;;-1:-1:-1;;;7647:33:1;;7703:4;7700:1;7693:15;7733:4;7654:3;7721:17;7583:2;7764:18;7791:104;;;;7909:1;7904:322;;;;7757:469;;7791:104;-1:-1:-1;;7824:24:1;;7812:37;;7869:16;;;;-1:-1:-1;7791:104:1;;7904:322;21061:4;21080:17;;;21130:4;21114:21;;7999:3;8015:165;8029:6;8026:1;8023:13;8015:165;;;8107:14;;8094:11;;;8087:35;8150:16;;;;8044:10;;8015:165;;;8019:3;;8209:6;8204:3;8200:16;8193:23;;7757:469;;;;;;;8242:87;8267:61;8293:34;8323:3;-1:-1:-1;;;6844:16:1;;6885:1;6876:11;;6834:59;8293:34;8285:6;8267:61;:::i;:::-;-1:-1:-1;;;6721:20:1;;6766:1;6757:11;;6711:63;8242:87;8235:94;7284:1051;-1:-1:-1;;;;;7284:1051:1:o;8982:488::-;-1:-1:-1;;;;;9251:15:1;;;9233:34;;9303:15;;9298:2;9283:18;;9276:43;9350:2;9335:18;;9328:34;;;9398:3;9393:2;9378:18;;9371:31;;;9176:4;;9419:45;;9444:19;;9436:6;9419:45;:::i;:::-;9411:53;9185:285;-1:-1:-1;;;;;;9185:285:1:o;9667:219::-;9816:2;9805:9;9798:21;9779:4;9836:44;9876:2;9865:9;9861:18;9853:6;9836:44;:::i;10652:414::-;10854:2;10836:21;;;10893:2;10873:18;;;10866:30;10932:34;10927:2;10912:18;;10905:62;-1:-1:-1;;;10998:2:1;10983:18;;10976:48;11056:3;11041:19;;10826:240::o;16464:356::-;16666:2;16648:21;;;16685:18;;;16678:30;16744:34;16739:2;16724:18;;16717:62;16811:2;16796:18;;16638:182::o;17643:413::-;17845:2;17827:21;;;17884:2;17864:18;;;17857:30;17923:34;17918:2;17903:18;;17896:62;-1:-1:-1;;;17989:2:1;17974:18;;17967:47;18046:3;18031:19;;17817:239::o;21146:128::-;21186:3;21217:1;21213:6;21210:1;21207:13;21204:2;;;21223:18;;:::i;:::-;-1:-1:-1;21259:9:1;;21194:80::o;21279:204::-;21317:3;21353:4;21350:1;21346:12;21385:4;21382:1;21378:12;21420:3;21414:4;21410:14;21405:3;21402:23;21399:2;;;21428:18;;:::i;:::-;21464:13;;21325:158;-1:-1:-1;;;21325:158:1:o;21488:120::-;21528:1;21554;21544:2;;21559:18;;:::i;:::-;-1:-1:-1;21593:9:1;;21534:74::o;21613:168::-;21653:7;21719:1;21715;21711:6;21707:14;21704:1;21701:21;21696:1;21689:9;21682:17;21678:45;21675:2;;;21726:18;;:::i;:::-;-1:-1:-1;21766:9:1;;21665:116::o;21786:125::-;21826:4;21854:1;21851;21848:8;21845:2;;;21859:18;;:::i;:::-;-1:-1:-1;21896:9:1;;21835:76::o;21916:258::-;21988:1;21998:113;22012:6;22009:1;22006:13;21998:113;;;22088:11;;;22082:18;22069:11;;;22062:39;22034:2;22027:10;21998:113;;;22129:6;22126:1;22123:13;22120:2;;;-1:-1:-1;;22164:1:1;22146:16;;22139:27;21969:205::o;22179:380::-;22258:1;22254:12;;;;22301;;;22322:2;;22376:4;22368:6;22364:17;22354:27;;22322:2;22429;22421:6;22418:14;22398:18;22395:38;22392:2;;;22475:10;22470:3;22466:20;22463:1;22456:31;22510:4;22507:1;22500:15;22538:4;22535:1;22528:15;22392:2;;22234:325;;;:::o;22564:135::-;22603:3;-1:-1:-1;;22624:17:1;;22621:2;;;22644:18;;:::i;:::-;-1:-1:-1;22691:1:1;22680:13;;22611:88::o;22704:112::-;22736:1;22762;22752:2;;22767:18;;:::i;:::-;-1:-1:-1;22801:9:1;;22742:74::o;22821:127::-;22882:10;22877:3;22873:20;22870:1;22863:31;22913:4;22910:1;22903:15;22937:4;22934:1;22927:15;22953:127;23014:10;23009:3;23005:20;23002:1;22995:31;23045:4;23042:1;23035:15;23069:4;23066:1;23059:15;23085:127;23146:10;23141:3;23137:20;23134:1;23127:31;23177:4;23174:1;23167:15;23201:4;23198:1;23191:15;23217:131;-1:-1:-1;;;;;23292:31:1;;23282:42;;23272:2;;23338:1;23335;23328:12;23353:118;23439:5;23432:13;23425:21;23418:5;23415:32;23405:2;;23461:1;23458;23451:12;23476:131;-1:-1:-1;;;;;;23550:32:1;;23540:43;;23530:2;;23597:1;23594;23587:12
Swarm Source
ipfs://5f466d1befb6bf026b53490baf2d62cc133ce34a53d161aa10907eea5f8f9f3c
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.