Token PanelsProject-PrimateCronos
Overview CRC721
Total Supply:
98 PNL-CMB
Holders:
89 addresses
Contract:
Balance
1 PNL-CMB
[ Download CSV Export ]
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PNL_CMB
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-04-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @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; } /** * @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); } /** * @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); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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; } } /** * @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); } } /** * @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; } } /** * @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); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} } /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @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(); } } /** * @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); } } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface PanelsBonus { function getBonusDefiInBP() external view returns(uint256); function getBonusP2EInBP() external view returns(uint256); } contract PNL_CMB is ERC721Enumerable, Ownable, PanelsBonus { using SafeMath for uint256; using Address for address; string private baseURI; bool public sameURIForAll = true; uint256 private bonusDefiInBP = 200; uint256 private bonusP2EInBP = 200; constructor() ERC721("PanelsProject-PrimateCronos", "PNL-CMB") { } function airdrop(uint256 numberOfMints, address wallet) public onlyOwner { uint256 supply = totalSupply(); for (uint256 i = 0; i < numberOfMints; i++) { _safeMint(wallet, supply + 1 + i); } } function airdrops(uint256 numberOfMints, address[] calldata wallets) public onlyOwner { uint256 supply = totalSupply(); for (uint256 j = 0; j < wallets.length; j++) { for (uint256 i = 0; i < numberOfMints; i++) { _safeMint(wallets[j], supply + 1 + i + j * numberOfMints); } } } function mint(uint256 numberOfMints) public onlyOwner { uint256 supply = totalSupply(); for (uint256 i = 0; i < numberOfMints; i++) { _safeMint(msg.sender, supply + 1 + i); } } function walletOfOwner(address owner) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(owner, i); } return tokensId; } function setBonusDefiInBP(uint256 _bonusDefiInBP) public onlyOwner { bonusDefiInBP = _bonusDefiInBP; } function getBonusDefiInBP() external view override returns(uint256) { return bonusDefiInBP; } function setBonusP2EInBP(uint256 _bonusP2EInBP) public onlyOwner { bonusP2EInBP = _bonusP2EInBP; } function getBonusP2EInBP() external view override returns(uint256) { return bonusP2EInBP; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setSameURIForAll(bool newSameURIForAll) public onlyOwner { sameURIForAll = newSameURIForAll; } function _baseURI() internal view override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory base = _baseURI(); if (sameURIForAll){ return bytes(base).length > 0 ? string(abi.encodePacked(base)) : ""; } return bytes(base).length > 0 ? string(abi.encodePacked(base, uint2str(tokenId), ".json")) : ""; } function uint2str(uint _i) private pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfMints","type":"uint256"},{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"airdrops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBonusDefiInBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBonusP2EInBP","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":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"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":[],"name":"sameURIForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bonusDefiInBP","type":"uint256"}],"name":"setBonusDefiInBP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bonusP2EInBP","type":"uint256"}],"name":"setBonusP2EInBP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newSameURIForAll","type":"bool"}],"name":"setSameURIForAll","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600c805460ff1916600117905560c8600d819055600e553480156200002857600080fd5b50604080518082018252601b81527f50616e656c7350726f6a6563742d5072696d61746543726f6e6f73000000000060208083019182528351808501909452600784526628272616a1a6a160c91b9084015281519192916200008d916000916200011c565b508051620000a39060019060208401906200011c565b505050620000c0620000ba620000c660201b60201c565b620000ca565b620001ff565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012a90620001c2565b90600052602060002090601f0160209004810192826200014e576000855562000199565b82601f106200016957805160ff191683800117855562000199565b8280016001018555821562000199579182015b82811115620001995782518255916020019190600101906200017c565b50620001a7929150620001ab565b5090565b5b80821115620001a75760008155600101620001ac565b600181811c90821680620001d757607f821691505b60208210811415620001f957634e487b7160e01b600052602260045260246000fd5b50919050565b6120f4806200020f6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063c06fd11b11610071578063c06fd11b146103d6578063c87b56dd146103e9578063e985e9c5146103fc578063f2fde38b1461043857600080fd5b8063a22cb4651461038a578063b88d4fde1461039d578063ba73bdd3146103b0578063bc63f02e146103c357600080fd5b80638c47e88a116100de5780638c47e88a1461034b5780638da5cb5b1461035e57806395d89b411461036f578063a0712d681461037757600080fd5b806370a0823114610328578063715018a61461033b57806385d08c921461034357600080fd5b806342842e0e1161017c5780634f6ccce71161014b5780634f6ccce7146102dc57806355f804b3146102ef5780636352211e1461030257806363562f741461031557600080fd5b806342842e0e14610294578063438b6300146102a75780634d76791e146102c75780634f135b38146102cf57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e5780632f745c591461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611c08565b61044b565b60405190151581526020015b60405180910390f35b61020f610476565b6040516101fe9190611e4e565b61022f61022a366004611c8b565b610508565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611bc3565b6105a2565b005b6008545b6040519081526020016101fe565b61025a61027c366004611ae1565b6106b8565b61026061028f366004611bc3565b6106e9565b61025a6102a2366004611ae1565b61077f565b6102ba6102b5366004611a93565b61079a565b6040516101fe9190611e0a565b600d54610260565b600c546101f29060ff1681565b6102606102ea366004611c8b565b61083c565b61025a6102fd366004611c42565b6108cf565b61022f610310366004611c8b565b610910565b61025a610323366004611c8b565b610987565b610260610336366004611a93565b6109b6565b61025a610a3d565b600e54610260565b61025a610359366004611bed565b610a73565b600a546001600160a01b031661022f565b61020f610ab0565b61025a610385366004611c8b565b610abf565b61025a610398366004611b99565b610b32565b61025a6103ab366004611b1d565b610b3d565b61025a6103be366004611c8b565b610b75565b61025a6103d1366004611ca4565b610ba4565b61025a6103e4366004611cc7565b610c08565b61020f6103f7366004611c8b565b610ccb565b6101f261040a366004611aae565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61025a610446366004611a93565b610de1565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610e7c565b92915050565b60606000805461048590611ffa565b80601f01602080910402602001604051908101604052809291908181526020018280546104b190611ffa565b80156104fe5780601f106104d3576101008083540402835291602001916104fe565b820191906000526020600020905b8154815290600101906020018083116104e157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105ad82610910565b9050806001600160a01b0316836001600160a01b0316141561061b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161057d565b336001600160a01b03821614806106375750610637813361040a565b6106a95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161057d565b6106b38383610ecc565b505050565b6106c23382610f3a565b6106de5760405162461bcd60e51b815260040161057d90611ee8565b6106b3838383611031565b60006106f4836109b6565b82106107565760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161057d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6106b383838360405180602001604052806000815250610b3d565b606060006107a7836109b6565b905060008167ffffffffffffffff8111156107c4576107c4612092565b6040519080825280602002602001820160405280156107ed578160200160208202803683370190505b50905060005b828110156108345761080585826106e9565b8282815181106108175761081761207c565b60209081029190910101528061082c81612035565b9150506107f3565b509392505050565b600061084760085490565b82106108aa5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161057d565b600882815481106108bd576108bd61207c565b90600052602060002001549050919050565b600a546001600160a01b031633146108f95760405162461bcd60e51b815260040161057d90611eb3565b805161090c90600b906020840190611958565b5050565b6000818152600260205260408120546001600160a01b0316806104705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161057d565b600a546001600160a01b031633146109b15760405162461bcd60e51b815260040161057d90611eb3565b600d55565b60006001600160a01b038216610a215760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161057d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a675760405162461bcd60e51b815260040161057d90611eb3565b610a7160006111dc565b565b600a546001600160a01b03163314610a9d5760405162461bcd60e51b815260040161057d90611eb3565b600c805460ff1916911515919091179055565b60606001805461048590611ffa565b600a546001600160a01b03163314610ae95760405162461bcd60e51b815260040161057d90611eb3565b6000610af460085490565b905060005b828110156106b357610b203382610b11856001611f39565b610b1b9190611f39565b61122e565b80610b2a81612035565b915050610af9565b61090c338383611248565b610b473383610f3a565b610b635760405162461bcd60e51b815260040161057d90611ee8565b610b6f84848484611317565b50505050565b600a546001600160a01b03163314610b9f5760405162461bcd60e51b815260040161057d90611eb3565b600e55565b600a546001600160a01b03163314610bce5760405162461bcd60e51b815260040161057d90611eb3565b6000610bd960085490565b905060005b83811015610b6f57610bf68382610b11856001611f39565b80610c0081612035565b915050610bde565b600a546001600160a01b03163314610c325760405162461bcd60e51b815260040161057d90611eb3565b6000610c3d60085490565b905060005b82811015610cc45760005b85811015610cb157610c9f858584818110610c6a57610c6a61207c565b9050602002016020810190610c7f9190611a93565b610c898885611f98565b83610c95876001611f39565b610b119190611f39565b80610ca981612035565b915050610c4d565b5080610cbc81612035565b915050610c42565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610d4a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161057d565b6000610d5461134a565b600c5490915060ff1615610da8576000815111610d805760405180602001604052806000815250610da1565b80604051602001610d919190611d72565b6040516020818303038152906040525b9392505050565b6000815111610dc65760405180602001604052806000815250610da1565b80610dd084611359565b604051602001610d91929190611d8e565b600a546001600160a01b03163314610e0b5760405162461bcd60e51b815260040161057d90611eb3565b6001600160a01b038116610e705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161057d565b610e79816111dc565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ead57506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0182610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fb35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161057d565b6000610fbe83610910565b9050806001600160a01b0316846001600160a01b03161480610ff95750836001600160a01b0316610fee84610508565b6001600160a01b0316145b8061102957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661104482610910565b6001600160a01b0316146110ac5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161057d565b6001600160a01b03821661110e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161057d565b611119838383611482565b611124600082610ecc565b6001600160a01b038316600090815260036020526040812080546001929061114d908490611fb7565b90915550506001600160a01b038216600090815260036020526040812080546001929061117b908490611f39565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61090c82826040518060200160405280600081525061153a565b816001600160a01b0316836001600160a01b031614156112aa5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161057d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611322848484611031565b61132e8484848461156d565b610b6f5760405162461bcd60e51b815260040161057d90611e61565b6060600b805461048590611ffa565b60608161137d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113a7578061139181612035565b91506113a09050600a83611f76565b9150611381565b60008167ffffffffffffffff8111156113c2576113c2612092565b6040519080825280601f01601f1916602001820160405280156113ec576020820181803683370190505b509050815b851561147957611402600182611fb7565b90506000611411600a88611f76565b61141c90600a611f98565b6114269088611fb7565b611431906030611f51565b905060008160f81b90508084848151811061144e5761144e61207c565b60200101906001600160f81b031916908160001a905350611470600a89611f76565b975050506113f1565b50949350505050565b6001600160a01b0383166114dd576114d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611500565b816001600160a01b0316836001600160a01b03161461150057611500838261167a565b6001600160a01b038216611517576106b381611717565b826001600160a01b0316826001600160a01b0316146106b3576106b382826117c6565b611544838361180a565b611551600084848461156d565b6106b35760405162461bcd60e51b815260040161057d90611e61565b60006001600160a01b0384163b1561166f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115b1903390899088908890600401611dcd565b602060405180830381600087803b1580156115cb57600080fd5b505af19250505080156115fb575060408051601f3d908101601f191682019092526115f891810190611c25565b60015b611655573d808015611629576040519150601f19603f3d011682016040523d82523d6000602084013e61162e565b606091505b50805161164d5760405162461bcd60e51b815260040161057d90611e61565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611029565b506001949350505050565b60006001611687846109b6565b6116919190611fb7565b6000838152600760205260409020549091508082146116e4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061172990600190611fb7565b600083815260096020526040812054600880549394509092849081106117515761175161207c565b9060005260206000200154905080600883815481106117725761177261207c565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117aa576117aa612066565b6001900381819060005260206000200160009055905550505050565b60006117d1836109b6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161057d565b6000818152600260205260409020546001600160a01b0316156118c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161057d565b6118d160008383611482565b6001600160a01b03821660009081526003602052604081208054600192906118fa908490611f39565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461196490611ffa565b90600052602060002090601f01602090048101928261198657600085556119cc565b82601f1061199f57805160ff19168380011785556119cc565b828001600101855582156119cc579182015b828111156119cc5782518255916020019190600101906119b1565b506119d89291506119dc565b5090565b5b808211156119d857600081556001016119dd565b600067ffffffffffffffff80841115611a0c57611a0c612092565b604051601f8501601f19908116603f01168101908282118183101715611a3457611a34612092565b81604052809350858152868686011115611a4d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a7e57600080fd5b919050565b80358015158114611a7e57600080fd5b600060208284031215611aa557600080fd5b610da182611a67565b60008060408385031215611ac157600080fd5b611aca83611a67565b9150611ad860208401611a67565b90509250929050565b600080600060608486031215611af657600080fd5b611aff84611a67565b9250611b0d60208501611a67565b9150604084013590509250925092565b60008060008060808587031215611b3357600080fd5b611b3c85611a67565b9350611b4a60208601611a67565b925060408501359150606085013567ffffffffffffffff811115611b6d57600080fd5b8501601f81018713611b7e57600080fd5b611b8d878235602084016119f1565b91505092959194509250565b60008060408385031215611bac57600080fd5b611bb583611a67565b9150611ad860208401611a83565b60008060408385031215611bd657600080fd5b611bdf83611a67565b946020939093013593505050565b600060208284031215611bff57600080fd5b610da182611a83565b600060208284031215611c1a57600080fd5b8135610da1816120a8565b600060208284031215611c3757600080fd5b8151610da1816120a8565b600060208284031215611c5457600080fd5b813567ffffffffffffffff811115611c6b57600080fd5b8201601f81018413611c7c57600080fd5b611029848235602084016119f1565b600060208284031215611c9d57600080fd5b5035919050565b60008060408385031215611cb757600080fd5b82359150611ad860208401611a67565b600080600060408486031215611cdc57600080fd5b83359250602084013567ffffffffffffffff80821115611cfb57600080fd5b818601915086601f830112611d0f57600080fd5b813581811115611d1e57600080fd5b8760208260051b8501011115611d3357600080fd5b6020830194508093505050509250925092565b60008151808452611d5e816020860160208601611fce565b601f01601f19169290920160200192915050565b60008251611d84818460208701611fce565b9190910192915050565b60008351611da0818460208801611fce565b835190830190611db4818360208801611fce565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e0090830184611d46565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e4257835183529284019291840191600101611e26565b50909695505050505050565b602081526000610da16020830184611d46565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f4c57611f4c612050565b500190565b600060ff821660ff84168060ff03821115611f6e57611f6e612050565b019392505050565b600082611f9357634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fb257611fb2612050565b500290565b600082821015611fc957611fc9612050565b500390565b60005b83811015611fe9578181015183820152602001611fd1565b83811115610b6f5750506000910152565b600181811c9082168061200e57607f821691505b6020821081141561202f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561204957612049612050565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e7957600080fdfea2646970667358221220d08aa76ff0e8a430cd755fff09250776759d1b777e45387105ca54b4ed906b4264736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063c06fd11b11610071578063c06fd11b146103d6578063c87b56dd146103e9578063e985e9c5146103fc578063f2fde38b1461043857600080fd5b8063a22cb4651461038a578063b88d4fde1461039d578063ba73bdd3146103b0578063bc63f02e146103c357600080fd5b80638c47e88a116100de5780638c47e88a1461034b5780638da5cb5b1461035e57806395d89b411461036f578063a0712d681461037757600080fd5b806370a0823114610328578063715018a61461033b57806385d08c921461034357600080fd5b806342842e0e1161017c5780634f6ccce71161014b5780634f6ccce7146102dc57806355f804b3146102ef5780636352211e1461030257806363562f741461031557600080fd5b806342842e0e14610294578063438b6300146102a75780634d76791e146102c75780634f135b38146102cf57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e5780632f745c591461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611c08565b61044b565b60405190151581526020015b60405180910390f35b61020f610476565b6040516101fe9190611e4e565b61022f61022a366004611c8b565b610508565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611bc3565b6105a2565b005b6008545b6040519081526020016101fe565b61025a61027c366004611ae1565b6106b8565b61026061028f366004611bc3565b6106e9565b61025a6102a2366004611ae1565b61077f565b6102ba6102b5366004611a93565b61079a565b6040516101fe9190611e0a565b600d54610260565b600c546101f29060ff1681565b6102606102ea366004611c8b565b61083c565b61025a6102fd366004611c42565b6108cf565b61022f610310366004611c8b565b610910565b61025a610323366004611c8b565b610987565b610260610336366004611a93565b6109b6565b61025a610a3d565b600e54610260565b61025a610359366004611bed565b610a73565b600a546001600160a01b031661022f565b61020f610ab0565b61025a610385366004611c8b565b610abf565b61025a610398366004611b99565b610b32565b61025a6103ab366004611b1d565b610b3d565b61025a6103be366004611c8b565b610b75565b61025a6103d1366004611ca4565b610ba4565b61025a6103e4366004611cc7565b610c08565b61020f6103f7366004611c8b565b610ccb565b6101f261040a366004611aae565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61025a610446366004611a93565b610de1565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082610e7c565b92915050565b60606000805461048590611ffa565b80601f01602080910402602001604051908101604052809291908181526020018280546104b190611ffa565b80156104fe5780601f106104d3576101008083540402835291602001916104fe565b820191906000526020600020905b8154815290600101906020018083116104e157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105ad82610910565b9050806001600160a01b0316836001600160a01b0316141561061b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161057d565b336001600160a01b03821614806106375750610637813361040a565b6106a95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161057d565b6106b38383610ecc565b505050565b6106c23382610f3a565b6106de5760405162461bcd60e51b815260040161057d90611ee8565b6106b3838383611031565b60006106f4836109b6565b82106107565760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161057d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6106b383838360405180602001604052806000815250610b3d565b606060006107a7836109b6565b905060008167ffffffffffffffff8111156107c4576107c4612092565b6040519080825280602002602001820160405280156107ed578160200160208202803683370190505b50905060005b828110156108345761080585826106e9565b8282815181106108175761081761207c565b60209081029190910101528061082c81612035565b9150506107f3565b509392505050565b600061084760085490565b82106108aa5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161057d565b600882815481106108bd576108bd61207c565b90600052602060002001549050919050565b600a546001600160a01b031633146108f95760405162461bcd60e51b815260040161057d90611eb3565b805161090c90600b906020840190611958565b5050565b6000818152600260205260408120546001600160a01b0316806104705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161057d565b600a546001600160a01b031633146109b15760405162461bcd60e51b815260040161057d90611eb3565b600d55565b60006001600160a01b038216610a215760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161057d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a675760405162461bcd60e51b815260040161057d90611eb3565b610a7160006111dc565b565b600a546001600160a01b03163314610a9d5760405162461bcd60e51b815260040161057d90611eb3565b600c805460ff1916911515919091179055565b60606001805461048590611ffa565b600a546001600160a01b03163314610ae95760405162461bcd60e51b815260040161057d90611eb3565b6000610af460085490565b905060005b828110156106b357610b203382610b11856001611f39565b610b1b9190611f39565b61122e565b80610b2a81612035565b915050610af9565b61090c338383611248565b610b473383610f3a565b610b635760405162461bcd60e51b815260040161057d90611ee8565b610b6f84848484611317565b50505050565b600a546001600160a01b03163314610b9f5760405162461bcd60e51b815260040161057d90611eb3565b600e55565b600a546001600160a01b03163314610bce5760405162461bcd60e51b815260040161057d90611eb3565b6000610bd960085490565b905060005b83811015610b6f57610bf68382610b11856001611f39565b80610c0081612035565b915050610bde565b600a546001600160a01b03163314610c325760405162461bcd60e51b815260040161057d90611eb3565b6000610c3d60085490565b905060005b82811015610cc45760005b85811015610cb157610c9f858584818110610c6a57610c6a61207c565b9050602002016020810190610c7f9190611a93565b610c898885611f98565b83610c95876001611f39565b610b119190611f39565b80610ca981612035565b915050610c4d565b5080610cbc81612035565b915050610c42565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610d4a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161057d565b6000610d5461134a565b600c5490915060ff1615610da8576000815111610d805760405180602001604052806000815250610da1565b80604051602001610d919190611d72565b6040516020818303038152906040525b9392505050565b6000815111610dc65760405180602001604052806000815250610da1565b80610dd084611359565b604051602001610d91929190611d8e565b600a546001600160a01b03163314610e0b5760405162461bcd60e51b815260040161057d90611eb3565b6001600160a01b038116610e705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161057d565b610e79816111dc565b50565b60006001600160e01b031982166380ac58cd60e01b1480610ead57506001600160e01b03198216635b5e139f60e01b145b8061047057506301ffc9a760e01b6001600160e01b0319831614610470565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0182610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fb35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161057d565b6000610fbe83610910565b9050806001600160a01b0316846001600160a01b03161480610ff95750836001600160a01b0316610fee84610508565b6001600160a01b0316145b8061102957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661104482610910565b6001600160a01b0316146110ac5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161057d565b6001600160a01b03821661110e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161057d565b611119838383611482565b611124600082610ecc565b6001600160a01b038316600090815260036020526040812080546001929061114d908490611fb7565b90915550506001600160a01b038216600090815260036020526040812080546001929061117b908490611f39565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61090c82826040518060200160405280600081525061153a565b816001600160a01b0316836001600160a01b031614156112aa5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161057d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611322848484611031565b61132e8484848461156d565b610b6f5760405162461bcd60e51b815260040161057d90611e61565b6060600b805461048590611ffa565b60608161137d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113a7578061139181612035565b91506113a09050600a83611f76565b9150611381565b60008167ffffffffffffffff8111156113c2576113c2612092565b6040519080825280601f01601f1916602001820160405280156113ec576020820181803683370190505b509050815b851561147957611402600182611fb7565b90506000611411600a88611f76565b61141c90600a611f98565b6114269088611fb7565b611431906030611f51565b905060008160f81b90508084848151811061144e5761144e61207c565b60200101906001600160f81b031916908160001a905350611470600a89611f76565b975050506113f1565b50949350505050565b6001600160a01b0383166114dd576114d881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611500565b816001600160a01b0316836001600160a01b03161461150057611500838261167a565b6001600160a01b038216611517576106b381611717565b826001600160a01b0316826001600160a01b0316146106b3576106b382826117c6565b611544838361180a565b611551600084848461156d565b6106b35760405162461bcd60e51b815260040161057d90611e61565b60006001600160a01b0384163b1561166f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115b1903390899088908890600401611dcd565b602060405180830381600087803b1580156115cb57600080fd5b505af19250505080156115fb575060408051601f3d908101601f191682019092526115f891810190611c25565b60015b611655573d808015611629576040519150601f19603f3d011682016040523d82523d6000602084013e61162e565b606091505b50805161164d5760405162461bcd60e51b815260040161057d90611e61565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611029565b506001949350505050565b60006001611687846109b6565b6116919190611fb7565b6000838152600760205260409020549091508082146116e4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061172990600190611fb7565b600083815260096020526040812054600880549394509092849081106117515761175161207c565b9060005260206000200154905080600883815481106117725761177261207c565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117aa576117aa612066565b6001900381819060005260206000200160009055905550505050565b60006117d1836109b6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161057d565b6000818152600260205260409020546001600160a01b0316156118c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161057d565b6118d160008383611482565b6001600160a01b03821660009081526003602052604081208054600192906118fa908490611f39565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461196490611ffa565b90600052602060002090601f01602090048101928261198657600085556119cc565b82601f1061199f57805160ff19168380011785556119cc565b828001600101855582156119cc579182015b828111156119cc5782518255916020019190600101906119b1565b506119d89291506119dc565b5090565b5b808211156119d857600081556001016119dd565b600067ffffffffffffffff80841115611a0c57611a0c612092565b604051601f8501601f19908116603f01168101908282118183101715611a3457611a34612092565b81604052809350858152868686011115611a4d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a7e57600080fd5b919050565b80358015158114611a7e57600080fd5b600060208284031215611aa557600080fd5b610da182611a67565b60008060408385031215611ac157600080fd5b611aca83611a67565b9150611ad860208401611a67565b90509250929050565b600080600060608486031215611af657600080fd5b611aff84611a67565b9250611b0d60208501611a67565b9150604084013590509250925092565b60008060008060808587031215611b3357600080fd5b611b3c85611a67565b9350611b4a60208601611a67565b925060408501359150606085013567ffffffffffffffff811115611b6d57600080fd5b8501601f81018713611b7e57600080fd5b611b8d878235602084016119f1565b91505092959194509250565b60008060408385031215611bac57600080fd5b611bb583611a67565b9150611ad860208401611a83565b60008060408385031215611bd657600080fd5b611bdf83611a67565b946020939093013593505050565b600060208284031215611bff57600080fd5b610da182611a83565b600060208284031215611c1a57600080fd5b8135610da1816120a8565b600060208284031215611c3757600080fd5b8151610da1816120a8565b600060208284031215611c5457600080fd5b813567ffffffffffffffff811115611c6b57600080fd5b8201601f81018413611c7c57600080fd5b611029848235602084016119f1565b600060208284031215611c9d57600080fd5b5035919050565b60008060408385031215611cb757600080fd5b82359150611ad860208401611a67565b600080600060408486031215611cdc57600080fd5b83359250602084013567ffffffffffffffff80821115611cfb57600080fd5b818601915086601f830112611d0f57600080fd5b813581811115611d1e57600080fd5b8760208260051b8501011115611d3357600080fd5b6020830194508093505050509250925092565b60008151808452611d5e816020860160208601611fce565b601f01601f19169290920160200192915050565b60008251611d84818460208701611fce565b9190910192915050565b60008351611da0818460208801611fce565b835190830190611db4818360208801611fce565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e0090830184611d46565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e4257835183529284019291840191600101611e26565b50909695505050505050565b602081526000610da16020830184611d46565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f4c57611f4c612050565b500190565b600060ff821660ff84168060ff03821115611f6e57611f6e612050565b019392505050565b600082611f9357634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fb257611fb2612050565b500290565b600082821015611fc957611fc9612050565b500390565b60005b83811015611fe9578181015183820152602001611fd1565b83811115610b6f5750506000910152565b600181811c9082168061200e57607f821691505b6020821081141561202f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561204957612049612050565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e7957600080fdfea2646970667358221220d08aa76ff0e8a430cd755fff09250776759d1b777e45387105ca54b4ed906b4264736f6c63430008070033
Deployed ByteCode Sourcemap
49377:3390:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33959:224;;;;;;:::i;:::-;;:::i;:::-;;;7935:14:1;;7928:22;7910:41;;7898:2;7883:18;33959:224:0;;;;;;;;20774:100;;;:::i;:::-;;;;;;;:::i;22333:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6596:32:1;;;6578:51;;6566:2;6551:18;22333:221:0;6432:203:1;21856:411:0;;;;;;:::i;:::-;;:::i;:::-;;34599:113;34687:10;:17;34599:113;;;15539:25:1;;;15527:2;15512:18;34599:113:0;15393:177:1;23083:339:0;;;;;;:::i;:::-;;:::i;34267:256::-;;;;;;:::i;:::-;;:::i;23493:185::-;;;;;;:::i;:::-;;:::i;50579:341::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;51052:107::-;51138:13;;51052:107;;49539:32;;;;;;;;;34789:233;;;;;;:::i;:::-;;:::i;51400:88::-;;;;;;:::i;:::-;;:::i;20468:239::-;;;;;;:::i;:::-;;:::i;50928:116::-;;;;;;:::i;:::-;;:::i;20198:208::-;;;;;;:::i;:::-;;:::i;41677:103::-;;;:::i;51287:105::-;51372:12;;51287:105;;51496:117;;;;;;:::i;:::-;;:::i;41026:87::-;41099:6;;-1:-1:-1;;;;;41099:6:0;41026:87;;20943:104;;;:::i;50350:221::-;;;;;;:::i;:::-;;:::i;22626:155::-;;;;;;:::i;:::-;;:::i;23749:328::-;;;;;;:::i;:::-;;:::i;51167:112::-;;;;;;:::i;:::-;;:::i;49746:236::-;;;;;;:::i;:::-;;:::i;49990:352::-;;;;;;:::i;:::-;;:::i;51729:455::-;;;;;;:::i;:::-;;:::i;22852:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;22973:25:0;;;22949:4;22973:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22852:164;41935:201;;;;;;:::i;:::-;;:::i;33959:224::-;34061:4;-1:-1:-1;;;;;;34085:50:0;;-1:-1:-1;;;34085:50:0;;:90;;;34139:36;34163:11;34139:23;:36::i;:::-;34078:97;33959:224;-1:-1:-1;;33959:224:0:o;20774:100::-;20828:13;20861:5;20854:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20774:100;:::o;22333:221::-;22409:7;25676:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25676:16:0;22429:73;;;;-1:-1:-1;;;22429:73:0;;12762:2:1;22429:73:0;;;12744:21:1;12801:2;12781:18;;;12774:30;12840:34;12820:18;;;12813:62;-1:-1:-1;;;12891:18:1;;;12884:42;12943:19;;22429:73:0;;;;;;;;;-1:-1:-1;22522:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22522:24:0;;22333:221::o;21856:411::-;21937:13;21953:23;21968:7;21953:14;:23::i;:::-;21937:39;;22001:5;-1:-1:-1;;;;;21995:11:0;:2;-1:-1:-1;;;;;21995:11:0;;;21987:57;;;;-1:-1:-1;;;21987:57:0;;14362:2:1;21987:57:0;;;14344:21:1;14401:2;14381:18;;;14374:30;14440:34;14420:18;;;14413:62;-1:-1:-1;;;14491:18:1;;;14484:31;14532:19;;21987:57:0;14160:397:1;21987:57:0;15633:10;-1:-1:-1;;;;;22079:21:0;;;;:62;;-1:-1:-1;22104:37:0;22121:5;15633:10;22852:164;:::i;22104:37::-;22057:168;;;;-1:-1:-1;;;22057:168:0;;11155:2:1;22057:168:0;;;11137:21:1;11194:2;11174:18;;;11167:30;11233:34;11213:18;;;11206:62;11304:26;11284:18;;;11277:54;11348:19;;22057:168:0;10953:420:1;22057:168:0;22238:21;22247:2;22251:7;22238:8;:21::i;:::-;21926:341;21856:411;;:::o;23083:339::-;23278:41;15633:10;23311:7;23278:18;:41::i;:::-;23270:103;;;;-1:-1:-1;;;23270:103:0;;;;;;;:::i;:::-;23386:28;23396:4;23402:2;23406:7;23386:9;:28::i;34267:256::-;34364:7;34400:23;34417:5;34400:16;:23::i;:::-;34392:5;:31;34384:87;;;;-1:-1:-1;;;34384:87:0;;8388:2:1;34384:87:0;;;8370:21:1;8427:2;8407:18;;;8400:30;8466:34;8446:18;;;8439:62;-1:-1:-1;;;8517:18:1;;;8510:41;8568:19;;34384:87:0;8186:407:1;34384:87:0;-1:-1:-1;;;;;;34489:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34267:256::o;23493:185::-;23631:39;23648:4;23654:2;23658:7;23631:39;;;;;;;;;;;;:16;:39::i;50579:341::-;50639:16;50668:18;50689:16;50699:5;50689:9;:16::i;:::-;50668:37;;50718:25;50760:10;50746:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50746:25:0;;50718:53;;50786:9;50782:105;50801:10;50797:1;:14;50782:105;;;50846:29;50866:5;50873:1;50846:19;:29::i;:::-;50832:8;50841:1;50832:11;;;;;;;;:::i;:::-;;;;;;;;;;:43;50813:3;;;;:::i;:::-;;;;50782:105;;;-1:-1:-1;50904:8:0;50579:341;-1:-1:-1;;;50579:341:0:o;34789:233::-;34864:7;34900:30;34687:10;:17;;34599:113;34900:30;34892:5;:38;34884:95;;;;-1:-1:-1;;;34884:95:0;;15182:2:1;34884:95:0;;;15164:21:1;15221:2;15201:18;;;15194:30;15260:34;15240:18;;;15233:62;-1:-1:-1;;;15311:18:1;;;15304:42;15363:19;;34884:95:0;14980:408:1;34884:95:0;34997:10;35008:5;34997:17;;;;;;;;:::i;:::-;;;;;;;;;34990:24;;34789:233;;;:::o;51400:88::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;51467:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;51400:88:::0;:::o;20468:239::-;20540:7;20576:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20576:16:0;20611:19;20603:73;;;;-1:-1:-1;;;20603:73:0;;11991:2:1;20603:73:0;;;11973:21:1;12030:2;12010:18;;;12003:30;12069:34;12049:18;;;12042:62;-1:-1:-1;;;12120:18:1;;;12113:39;12169:19;;20603:73:0;11789:405:1;50928:116:0;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;51006:13:::1;:30:::0;50928:116::o;20198:208::-;20270:7;-1:-1:-1;;;;;20298:19:0;;20290:74;;;;-1:-1:-1;;;20290:74:0;;11580:2:1;20290:74:0;;;11562:21:1;11619:2;11599:18;;;11592:30;11658:34;11638:18;;;11631:62;-1:-1:-1;;;11709:18:1;;;11702:40;11759:19;;20290:74:0;11378:406:1;20290:74:0;-1:-1:-1;;;;;;20382:16:0;;;;;:9;:16;;;;;;;20198:208::o;41677:103::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;41742:30:::1;41769:1;41742:18;:30::i;:::-;41677:103::o:0;51496:117::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;51573:13:::1;:32:::0;;-1:-1:-1;;51573:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51496:117::o;20943:104::-;20999:13;21032:7;21025:14;;;;;:::i;50350:221::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;50415:14:::1;50432:13;34687:10:::0;:17;;34599:113;50432:13:::1;50415:30;;50461:9;50456:108;50480:13;50476:1;:17;50456:108;;;50515:37;50525:10;50550:1:::0;50537:10:::1;:6:::0;50546:1:::1;50537:10;:::i;:::-;:14;;;;:::i;:::-;50515:9;:37::i;:::-;50495:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50456:108;;22626:155:::0;22721:52;15633:10;22754:8;22764;22721:18;:52::i;23749:328::-;23924:41;15633:10;23957:7;23924:18;:41::i;:::-;23916:103;;;;-1:-1:-1;;;23916:103:0;;;;;;;:::i;:::-;24030:39;24044:4;24050:2;24054:7;24063:5;24030:13;:39::i;:::-;23749:328;;;;:::o;51167:112::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;51243:12:::1;:28:::0;51167:112::o;49746:236::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;49830:14:::1;49847:13;34687:10:::0;:17;;34599:113;49847:13:::1;49830:30;;49876:9;49871:104;49895:13;49891:1;:17;49871:104;;;49930:33;49940:6:::0;49961:1;49948:10:::1;:6:::0;49957:1:::1;49948:10;:::i;49930:33::-;49910:3:::0;::::1;::::0;::::1;:::i;:::-;;;;49871:104;;49990:352:::0;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;50087:14:::1;50104:13;34687:10:::0;:17;;34599:113;50104:13:::1;50087:30;;50133:9;50128:207;50148:18:::0;;::::1;50128:207;;;50193:9;50188:136;50212:13;50208:1;:17;50188:136;;;50251:57;50261:7;;50269:1;50261:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;50290:17;50294:13:::0;50290:1;:17:::1;:::i;:::-;50286:1:::0;50273:10:::1;:6:::0;50282:1:::1;50273:10;:::i;:::-;:14;;;;:::i;50251:57::-;50227:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50188:136;;;-1:-1:-1::0;50168:3:0;::::1;::::0;::::1;:::i;:::-;;;;50128:207;;;;50076:266;49990:352:::0;;;:::o;51729:455::-;25652:4;25676:16;;;:7;:16;;;;;;51802:13;;-1:-1:-1;;;;;25676:16:0;51828:76;;;;-1:-1:-1;;;51828:76:0;;13946:2:1;51828:76:0;;;13928:21:1;13985:2;13965:18;;;13958:30;14024:34;14004:18;;;13997:62;-1:-1:-1;;;14075:18:1;;;14068:45;14130:19;;51828:76:0;13744:411:1;51828:76:0;51917:18;51938:10;:8;:10::i;:::-;51963:13;;51917:31;;-1:-1:-1;51963:13:0;;51959:112;;;52020:1;52005:4;51999:18;:22;:60;;;;;;;;;;;;;;;;;52048:4;52031:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;51999:60;51992:67;51729:455;-1:-1:-1;;;51729:455:0:o;51959:112::-;52109:1;52094:4;52088:18;:22;:88;;;;;;;;;;;;;;;;;52137:4;52143:17;52152:7;52143:8;:17::i;:::-;52120:50;;;;;;;;;:::i;41935:201::-;41099:6;;-1:-1:-1;;;;;41099:6:0;15633:10;41246:23;41238:68;;;;-1:-1:-1;;;41238:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42024:22:0;::::1;42016:73;;;::::0;-1:-1:-1;;;42016:73:0;;9219:2:1;42016:73:0::1;::::0;::::1;9201:21:1::0;9258:2;9238:18;;;9231:30;9297:34;9277:18;;;9270:62;-1:-1:-1;;;9348:18:1;;;9341:36;9394:19;;42016:73:0::1;9017:402:1::0;42016:73:0::1;42100:28;42119:8;42100:18;:28::i;:::-;41935:201:::0;:::o;19841:293::-;19943:4;-1:-1:-1;;;;;;19976:40:0;;-1:-1:-1;;;19976:40:0;;:101;;-1:-1:-1;;;;;;;20029:48:0;;-1:-1:-1;;;20029:48:0;19976:101;:150;;;-1:-1:-1;;;;;;;;;;18559:40:0;;;20090:36;18450:157;29569:174;29644:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29644:29:0;-1:-1:-1;;;;;29644:29:0;;;;;;;;:24;;29698:23;29644:24;29698:14;:23::i;:::-;-1:-1:-1;;;;;29689:46:0;;;;;;;;;;;29569:174;;:::o;25881:348::-;25974:4;25676:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25676:16:0;25991:73;;;;-1:-1:-1;;;25991:73:0;;10742:2:1;25991:73:0;;;10724:21:1;10781:2;10761:18;;;10754:30;10820:34;10800:18;;;10793:62;-1:-1:-1;;;10871:18:1;;;10864:42;10923:19;;25991:73:0;10540:408:1;25991:73:0;26075:13;26091:23;26106:7;26091:14;:23::i;:::-;26075:39;;26144:5;-1:-1:-1;;;;;26133:16:0;:7;-1:-1:-1;;;;;26133:16:0;;:51;;;;26177:7;-1:-1:-1;;;;;26153:31:0;:20;26165:7;26153:11;:20::i;:::-;-1:-1:-1;;;;;26153:31:0;;26133:51;:87;;;-1:-1:-1;;;;;;22973:25:0;;;22949:4;22973:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26188:32;26125:96;25881:348;-1:-1:-1;;;;25881:348:0:o;28873:578::-;29032:4;-1:-1:-1;;;;;29005:31:0;:23;29020:7;29005:14;:23::i;:::-;-1:-1:-1;;;;;29005:31:0;;28997:85;;;;-1:-1:-1;;;28997:85:0;;13536:2:1;28997:85:0;;;13518:21:1;13575:2;13555:18;;;13548:30;13614:34;13594:18;;;13587:62;-1:-1:-1;;;13665:18:1;;;13658:39;13714:19;;28997:85:0;13334:405:1;28997:85:0;-1:-1:-1;;;;;29101:16:0;;29093:65;;;;-1:-1:-1;;;29093:65:0;;9983:2:1;29093:65:0;;;9965:21:1;10022:2;10002:18;;;9995:30;10061:34;10041:18;;;10034:62;-1:-1:-1;;;10112:18:1;;;10105:34;10156:19;;29093:65:0;9781:400:1;29093:65:0;29171:39;29192:4;29198:2;29202:7;29171:20;:39::i;:::-;29275:29;29292:1;29296:7;29275:8;:29::i;:::-;-1:-1:-1;;;;;29317:15:0;;;;;;:9;:15;;;;;:20;;29336:1;;29317:15;:20;;29336:1;;29317:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29348:13:0;;;;;;:9;:13;;;;;:18;;29365:1;;29348:13;:18;;29365:1;;29348:18;:::i;:::-;;;;-1:-1:-1;;29377:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29377:21:0;-1:-1:-1;;;;;29377:21:0;;;;;;;;;29416:27;;29377:16;;29416:27;;;;;;;28873:578;;;:::o;42296:191::-;42389:6;;;-1:-1:-1;;;;;42406:17:0;;;-1:-1:-1;;;;;;42406:17:0;;;;;;;42439:40;;42389:6;;;42406:17;42389:6;;42439:40;;42370:16;;42439:40;42359:128;42296:191;:::o;26571:110::-;26647:26;26657:2;26661:7;26647:26;;;;;;;;;;;;:9;:26::i;29885:315::-;30040:8;-1:-1:-1;;;;;30031:17:0;:5;-1:-1:-1;;;;;30031:17:0;;;30023:55;;;;-1:-1:-1;;;30023:55:0;;10388:2:1;30023:55:0;;;10370:21:1;10427:2;10407:18;;;10400:30;10466:27;10446:18;;;10439:55;10511:18;;30023:55:0;10186:349:1;30023:55:0;-1:-1:-1;;;;;30089:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;30089:46:0;;;;;;;;;;30151:41;;7910::1;;;30151::0;;7883:18:1;30151:41:0;;;;;;;29885:315;;;:::o;24959:::-;25116:28;25126:4;25132:2;25136:7;25116:9;:28::i;:::-;25163:48;25186:4;25192:2;25196:7;25205:5;25163:22;:48::i;:::-;25155:111;;;;-1:-1:-1;;;25155:111:0;;;;;;;:::i;51621:100::-;51673:13;51706:7;51699:14;;;;;:::i;52192:572::-;52241:27;52285:7;52281:50;;-1:-1:-1;;52309:10:0;;;;;;;;;;;;-1:-1:-1;;;52309:10:0;;;;;52192:572::o;52281:50::-;52350:2;52341:6;52382:69;52389:6;;52382:69;;52412:5;;;;:::i;:::-;;-1:-1:-1;52432:7:0;;-1:-1:-1;52437:2:0;52432:7;;:::i;:::-;;;52382:69;;;52461:17;52491:3;52481:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52481:14:0;-1:-1:-1;52461:34:0;-1:-1:-1;52515:3:0;52529:198;52536:7;;52529:198;;52564:3;52566:1;52564;:3;:::i;:::-;52560:7;-1:-1:-1;52582:10:0;52612:7;52617:2;52612;:7;:::i;:::-;:12;;52622:2;52612:12;:::i;:::-;52607:17;;:2;:17;:::i;:::-;52596:29;;:2;:29;:::i;:::-;52582:44;;52641:9;52660:4;52653:12;;52641:24;;52690:2;52680:4;52685:1;52680:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;52680:12:0;;;;;;;;-1:-1:-1;52707:8:0;52713:2;52707:8;;:::i;:::-;;;52545:182;;52529:198;;;-1:-1:-1;52751:4:0;52192:572;-1:-1:-1;;;;52192:572:0:o;35635:589::-;-1:-1:-1;;;;;35841:18:0;;35837:187;;35876:40;35908:7;37051:10;:17;;37024:24;;;;:15;:24;;;;;:44;;;37079:24;;;;;;;;;;;;36947:164;35876:40;35837:187;;;35946:2;-1:-1:-1;;;;;35938:10:0;:4;-1:-1:-1;;;;;35938:10:0;;35934:90;;35965:47;35998:4;36004:7;35965:32;:47::i;:::-;-1:-1:-1;;;;;36038:16:0;;36034:183;;36071:45;36108:7;36071:36;:45::i;36034:183::-;36144:4;-1:-1:-1;;;;;36138:10:0;:2;-1:-1:-1;;;;;36138:10:0;;36134:83;;36165:40;36193:2;36197:7;36165:27;:40::i;26908:321::-;27038:18;27044:2;27048:7;27038:5;:18::i;:::-;27089:54;27120:1;27124:2;27128:7;27137:5;27089:22;:54::i;:::-;27067:154;;;;-1:-1:-1;;;27067:154:0;;;;;;;:::i;30765:799::-;30920:4;-1:-1:-1;;;;;30941:13:0;;8005:20;8053:8;30937:620;;30977:72;;-1:-1:-1;;;30977:72:0;;-1:-1:-1;;;;;30977:36:0;;;;;:72;;15633:10;;31028:4;;31034:7;;31043:5;;30977:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30977:72:0;;;;;;;;-1:-1:-1;;30977:72:0;;;;;;;;;;;;:::i;:::-;;;30973:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31219:13:0;;31215:272;;31262:60;;-1:-1:-1;;;31262:60:0;;;;;;;:::i;31215:272::-;31437:6;31431:13;31422:6;31418:2;31414:15;31407:38;30973:529;-1:-1:-1;;;;;;31100:51:0;-1:-1:-1;;;31100:51:0;;-1:-1:-1;31093:58:0;;30937:620;-1:-1:-1;31541:4:0;30765:799;;;;;;:::o;37738:988::-;38004:22;38054:1;38029:22;38046:4;38029:16;:22::i;:::-;:26;;;;:::i;:::-;38066:18;38087:26;;;:17;:26;;;;;;38004:51;;-1:-1:-1;38220:28:0;;;38216:328;;-1:-1:-1;;;;;38287:18:0;;38265:19;38287:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38338:30;;;;;;:44;;;38455:30;;:17;:30;;;;;:43;;;38216:328;-1:-1:-1;38640:26:0;;;;:17;:26;;;;;;;;38633:33;;;-1:-1:-1;;;;;38684:18:0;;;;;:12;:18;;;;;:34;;;;;;;38677:41;37738:988::o;39021:1079::-;39299:10;:17;39274:22;;39299:21;;39319:1;;39299:21;:::i;:::-;39331:18;39352:24;;;:15;:24;;;;;;39725:10;:26;;39274:46;;-1:-1:-1;39352:24:0;;39274:46;;39725:26;;;;;;:::i;:::-;;;;;;;;;39703:48;;39789:11;39764:10;39775;39764:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;39869:28;;;:15;:28;;;;;;;:41;;;40041:24;;;;;40034:31;40076:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39092:1008;;;39021:1079;:::o;36525:221::-;36610:14;36627:20;36644:2;36627:16;:20::i;:::-;-1:-1:-1;;;;;36658:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36703:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36525:221:0:o;27565:382::-;-1:-1:-1;;;;;27645:16:0;;27637:61;;;;-1:-1:-1;;;27637:61:0;;12401:2:1;27637:61:0;;;12383:21:1;;;12420:18;;;12413:30;12479:34;12459:18;;;12452:62;12531:18;;27637:61:0;12199:356:1;27637:61:0;25652:4;25676:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25676:16:0;:30;27709:58;;;;-1:-1:-1;;;27709:58:0;;9626:2:1;27709:58:0;;;9608:21:1;9665:2;9645:18;;;9638:30;9704;9684:18;;;9677:58;9752:18;;27709:58:0;9424:352:1;27709:58:0;27780:45;27809:1;27813:2;27817:7;27780:20;:45::i;:::-;-1:-1:-1;;;;;27838:13:0;;;;;;:9;:13;;;;;:18;;27855:1;;27838:13;:18;;27855:1;;27838:18;:::i;:::-;;;;-1:-1:-1;;27867:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;27867:21:0;-1:-1:-1;;;;;27867:21:0;;;;;;;;27906:33;;27867:16;;;27906:33;;27867:16;;27906:33;27565:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;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:72;;;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:45;;;532:1;529;522:12;491:45;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;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:683::-;4654:6;4662;4670;4723:2;4711:9;4702:7;4698:23;4694:32;4691:52;;;4739:1;4736;4729:12;4691:52;4775:9;4762:23;4752:33;;4836:2;4825:9;4821:18;4808:32;4859:18;4900:2;4892:6;4889:14;4886:34;;;4916:1;4913;4906:12;4886:34;4954:6;4943:9;4939:22;4929:32;;4999:7;4992:4;4988:2;4984:13;4980:27;4970:55;;5021:1;5018;5011:12;4970:55;5061:2;5048:16;5087:2;5079:6;5076:14;5073:34;;;5103:1;5100;5093:12;5073:34;5156:7;5151:2;5141:6;5138:1;5134:14;5130:2;5126:23;5122:32;5119:45;5116:65;;;5177:1;5174;5167:12;5116:65;5208:2;5204;5200:11;5190:21;;5230:6;5220:16;;;;;4559:683;;;;;:::o;5247:257::-;5288:3;5326:5;5320:12;5353:6;5348:3;5341:19;5369:63;5425:6;5418:4;5413:3;5409:14;5402:4;5395:5;5391:16;5369:63;:::i;:::-;5486:2;5465:15;-1:-1:-1;;5461:29:1;5452:39;;;;5493:4;5448:50;;5247:257;-1:-1:-1;;5247:257:1:o;5509:276::-;5640:3;5678:6;5672:13;5694:53;5740:6;5735:3;5728:4;5720:6;5716:17;5694:53;:::i;:::-;5763:16;;;;;5509:276;-1:-1:-1;;5509:276:1:o;5790:637::-;6070:3;6108:6;6102:13;6124:53;6170:6;6165:3;6158:4;6150:6;6146:17;6124:53;:::i;:::-;6240:13;;6199:16;;;;6262:57;6240:13;6199:16;6296:4;6284:17;;6262:57;:::i;:::-;-1:-1:-1;;;6341:20:1;;6370:22;;;6419:1;6408:13;;5790:637;-1:-1:-1;;;;5790:637:1:o;6640:488::-;-1:-1:-1;;;;;6909:15:1;;;6891:34;;6961:15;;6956:2;6941:18;;6934:43;7008:2;6993:18;;6986:34;;;7056:3;7051:2;7036:18;;7029:31;;;6834:4;;7077:45;;7102:19;;7094:6;7077:45;:::i;:::-;7069:53;6640:488;-1:-1:-1;;;;;;6640:488:1:o;7133:632::-;7304:2;7356:21;;;7426:13;;7329:18;;;7448:22;;;7275:4;;7304:2;7527:15;;;;7501:2;7486:18;;;7275:4;7570:169;7584:6;7581:1;7578:13;7570:169;;;7645:13;;7633:26;;7714:15;;;;7679:12;;;;7606:1;7599:9;7570:169;;;-1:-1:-1;7756:3:1;;7133:632;-1:-1:-1;;;;;;7133:632:1:o;7962:219::-;8111:2;8100:9;8093:21;8074:4;8131:44;8171:2;8160:9;8156:18;8148:6;8131:44;:::i;8598:414::-;8800:2;8782:21;;;8839:2;8819:18;;;8812:30;8878:34;8873:2;8858:18;;8851:62;-1:-1:-1;;;8944:2:1;8929:18;;8922:48;9002:3;8987:19;;8598:414::o;12973:356::-;13175:2;13157:21;;;13194:18;;;13187:30;13253:34;13248:2;13233:18;;13226:62;13320:2;13305:18;;12973:356::o;14562:413::-;14764:2;14746:21;;;14803:2;14783:18;;;14776:30;14842:34;14837:2;14822:18;;14815:62;-1:-1:-1;;;14908:2:1;14893:18;;14886:47;14965:3;14950:19;;14562:413::o;15575:128::-;15615:3;15646:1;15642:6;15639:1;15636:13;15633:39;;;15652:18;;:::i;:::-;-1:-1:-1;15688:9:1;;15575:128::o;15708:204::-;15746:3;15782:4;15779:1;15775:12;15814:4;15811:1;15807:12;15849:3;15843:4;15839:14;15834:3;15831:23;15828:49;;;15857:18;;:::i;:::-;15893:13;;15708:204;-1:-1:-1;;;15708:204:1:o;15917:217::-;15957:1;15983;15973:132;;16027:10;16022:3;16018:20;16015:1;16008:31;16062:4;16059:1;16052:15;16090:4;16087:1;16080:15;15973:132;-1:-1:-1;16119:9:1;;15917:217::o;16139:168::-;16179:7;16245:1;16241;16237:6;16233:14;16230:1;16227:21;16222:1;16215:9;16208:17;16204:45;16201:71;;;16252:18;;:::i;:::-;-1:-1:-1;16292:9:1;;16139:168::o;16312:125::-;16352:4;16380:1;16377;16374:8;16371:34;;;16385:18;;:::i;:::-;-1:-1:-1;16422:9:1;;16312:125::o;16442:258::-;16514:1;16524:113;16538:6;16535:1;16532:13;16524:113;;;16614:11;;;16608:18;16595:11;;;16588:39;16560:2;16553:10;16524:113;;;16655:6;16652:1;16649:13;16646:48;;;-1:-1:-1;;16690:1:1;16672:16;;16665:27;16442:258::o;16705:380::-;16784:1;16780:12;;;;16827;;;16848:61;;16902:4;16894:6;16890:17;16880:27;;16848:61;16955:2;16947:6;16944:14;16924:18;16921:38;16918:161;;;17001:10;16996:3;16992:20;16989:1;16982:31;17036:4;17033:1;17026:15;17064:4;17061:1;17054:15;16918:161;;16705:380;;;:::o;17090:135::-;17129:3;-1:-1:-1;;17150:17:1;;17147:43;;;17170:18;;:::i;:::-;-1:-1:-1;17217:1:1;17206:13;;17090:135::o;17230:127::-;17291:10;17286:3;17282:20;17279:1;17272:31;17322:4;17319:1;17312:15;17346:4;17343:1;17336:15;17362:127;17423:10;17418:3;17414:20;17411:1;17404:31;17454:4;17451:1;17444:15;17478:4;17475:1;17468:15;17494:127;17555:10;17550:3;17546:20;17543:1;17536:31;17586:4;17583:1;17576:15;17610:4;17607:1;17600:15;17626:127;17687:10;17682:3;17678:20;17675:1;17668:31;17718:4;17715:1;17708:15;17742:4;17739:1;17732:15;17758:131;-1:-1:-1;;;;;;17832:32:1;;17822:43;;17812:71;;17879:1;17876;17869:12
Swarm Source
ipfs://d08aa76ff0e8a430cd755fff09250776759d1b777e45387105ca54b4ed906b42