ETH Price: $1,977.22 (+0.17%)
 

Overview

ETH Balance

0.02 ETH

Eth Value

$39.54 (@ $1,977.22/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...220021042025-03-08 12:16:59350 days ago1741436219IN
0x4c22940b...EAa8d93F6
0 ETH0.0001092.36075805
Set Approval For...215244152024-12-31 19:03:35417 days ago1735671815IN
0x4c22940b...EAa8d93F6
0 ETH0.00038318.28216005
Set Approval For...193579152024-03-03 23:27:11720 days ago1709508431IN
0x4c22940b...EAa8d93F6
0 ETH0.002408252.15614766
Set Approval For...192119652024-02-12 12:32:23740 days ago1707741143IN
0x4c22940b...EAa8d93F6
0 ETH0.0005938522.61343441
Set Approval For...192119622024-02-12 12:31:47740 days ago1707741107IN
0x4c22940b...EAa8d93F6
0 ETH0.0005881724.24343686
Set Approval For...192119472024-02-12 12:28:35740 days ago1707740915IN
0x4c22940b...EAa8d93F6
0 ETH0.0008716818.87867304
Set Approval For...188961442023-12-30 5:04:23785 days ago1703912663IN
0x4c22940b...EAa8d93F6
0 ETH0.0003211513.23744299
Set Approval For...183993132023-10-21 14:34:59854 days ago1697898899IN
0x4c22940b...EAa8d93F6
0 ETH0.000432279.36210659
Set Approval For...168438152023-03-16 23:57:111073 days ago1679011031IN
0x4c22940b...EAa8d93F6
0 ETH0.0026493157.37793049
Set Approval For...168286442023-03-14 20:43:591075 days ago1678826639IN
0x4c22940b...EAa8d93F6
0 ETH0.0013659729.58375687
Transfer Ownersh...163705042023-01-09 16:41:231139 days ago1673282483IN
0x4c22940b...EAa8d93F6
0 ETH0.0011643140.61092498
Set Approval For...163214062023-01-02 20:13:591146 days ago1672690439IN
0x4c22940b...EAa8d93F6
0 ETH0.0009033719.56509815
Set Approval For...162524272022-12-24 5:12:591156 days ago1671858779IN
0x4c22940b...EAa8d93F6
0 ETH0.0005581512.08838492
Safe Transfer Fr...161953332022-12-16 6:01:351164 days ago1671170495IN
0x4c22940b...EAa8d93F6
0 ETH0.0013183114.74180505
Safe Transfer Fr...161953162022-12-16 5:58:111164 days ago1671170291IN
0x4c22940b...EAa8d93F6
0 ETH0.0011898813.73576527
Set Approval For...161745322022-12-13 8:16:471167 days ago1670919407IN
0x4c22940b...EAa8d93F6
0 ETH0.0006170313.36354847
Safe Transfer Fr...161683922022-12-12 11:41:231167 days ago1670845283IN
0x4c22940b...EAa8d93F6
0 ETH0.0012386714.29893195
Mint Verificatio...161683782022-12-12 11:38:351167 days ago1670845115IN
0x4c22940b...EAa8d93F6
0 ETH0.0029426614.76786998
Safe Transfer Fr...161664222022-12-12 5:04:231168 days ago1670821463IN
0x4c22940b...EAa8d93F6
0 ETH0.0011665113.04436722
Safe Transfer Fr...161663962022-12-12 4:59:111168 days ago1670821151IN
0x4c22940b...EAa8d93F6
0 ETH0.0012148713.58513762
Transfer From161640562022-12-11 21:08:591168 days ago1670792939IN
0x4c22940b...EAa8d93F6
0 ETH0.0011752614.03320475
Mint Verificatio...161633902022-12-11 18:55:111168 days ago1670784911IN
0x4c22940b...EAa8d93F6
0 ETH0.0027829813.96655131
Safe Transfer Fr...161586542022-12-11 3:02:231169 days ago1670727743IN
0x4c22940b...EAa8d93F6
0 ETH0.0011576413.36356288
Mint Verificatio...161586262022-12-11 2:56:471169 days ago1670727407IN
0x4c22940b...EAa8d93F6
0 ETH0.0026127413.11219085
Set Approval For...161421182022-12-08 19:36:111171 days ago1670528171IN
0x4c22940b...EAa8d93F6
0 ETH0.0009466320.50196755
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BlueChipSafe

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-08-28
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;


/**
 * @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);
	}
}

/**
 * @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);
}

/**
 * @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 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);
	}
}


/**
 * @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 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 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 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);
}

/**
 * @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 Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
	using Address for address;
	using Strings for uint256;

	// Token name
	string private _name;

	// Token symbol
	string private _symbol;

	// Mapping from token ID to owner address
	mapping(uint256 => address) private _owners;

	// Mapping owner address to token count
	mapping(address => uint256) private _balances;

	// Mapping from token ID to approved address
	mapping(uint256 => address) private _tokenApprovals;

	// Mapping from owner to operator approvals
	mapping(address => mapping(address => bool)) private _operatorApprovals;

	/**
	 * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
	 */
	constructor(string memory name_, string memory symbol_) {
		_name = name_;
		_symbol = symbol_;
	}

	/**
	 * @dev See {IERC165-supportsInterface}.
	 */
	function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
		return
			interfaceId == type(IERC721).interfaceId ||
			interfaceId == type(IERC721Metadata).interfaceId ||
			super.supportsInterface(interfaceId);
	}

	/**
	 * @dev See {IERC721-balanceOf}.
	 */
	function balanceOf(address owner) public view virtual override returns (uint256) {
		require(owner != address(0), "ERC721: balance query for the zero address");
		return _balances[owner];
	}

	/**
	 * @dev See {IERC721-ownerOf}.
	 */
	function ownerOf(uint256 tokenId) public view virtual override returns (address) {
		address owner = _owners[tokenId];
		require(owner != address(0), "ERC721: owner query for nonexistent token");
		return owner;
	}

	/**
	 * @dev See {IERC721Metadata-name}.
	 */
	function name() public view virtual override returns (string memory) {
		return _name;
	}

	/**
	 * @dev See {IERC721Metadata-symbol}.
	 */
	function symbol() public view virtual override returns (string memory) {
		return _symbol;
	}

	/**
	 * @dev See {IERC721Metadata-tokenURI}.
	 */
	function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
		require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

		string memory baseURI = _baseURI();
		return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
	}

	/**
	 * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
	 * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
	 * by default, can be overriden in child contracts.
	 */
	function _baseURI() internal view virtual returns (string memory) {
		return "";
	}

	/**
	 * @dev See {IERC721-approve}.
	 */
	function approve(address to, uint256 tokenId) public virtual override {
		address owner = ERC721.ownerOf(tokenId);
		require(to != owner, "ERC721: approval to current owner");

		require(
			_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
			"ERC721: approve caller is not owner nor approved for all"
		);

		_approve(to, tokenId);
	}

	/**
	 * @dev See {IERC721-getApproved}.
	 */
	function getApproved(uint256 tokenId) public view virtual override returns (address) {
		require(_exists(tokenId), "ERC721: approved query for nonexistent token");

		return _tokenApprovals[tokenId];
	}

	/**
	 * @dev See {IERC721-setApprovalForAll}.
	 */
	function setApprovalForAll(address operator, bool approved) public virtual override {
		require(operator != _msgSender(), "ERC721: approve to caller");

		_operatorApprovals[_msgSender()][operator] = approved;
		emit ApprovalForAll(_msgSender(), operator, approved);
	}

	/**
	 * @dev See {IERC721-isApprovedForAll}.
	 */
	function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
		return _operatorApprovals[owner][operator];
	}

	/**
	 * @dev See {IERC721-transferFrom}.
	 */
	function transferFrom(
		address from,
		address to,
		uint256 tokenId
	) public virtual override {
		//solhint-disable-next-line max-line-length
		require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

		_transfer(from, to, tokenId);
	}

	/**
	 * @dev See {IERC721-safeTransferFrom}.
	 */
	function safeTransferFrom(
		address from,
		address to,
		uint256 tokenId
	) public virtual override {
		safeTransferFrom(from, to, tokenId, "");
	}

	/**
	 * @dev See {IERC721-safeTransferFrom}.
	 */
	function safeTransferFrom(
		address from,
		address to,
		uint256 tokenId,
		bytes memory _data
	) public virtual override {
		require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
		_safeTransfer(from, to, tokenId, _data);
	}

	/**
	 * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
	 * are aware of the ERC721 protocol to prevent tokens from being forever locked.
	 *
	 * `_data` is additional data, it has no specified format and it is sent in call to `to`.
	 *
	 * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
	 * implement alternative mechanisms to perform token transfer, such as signature-based.
	 *
	 * Requirements:
	 *
	 * - `from` cannot be the zero address.
	 * - `to` cannot be the zero address.
	 * - `tokenId` token must exist and be owned by `from`.
	 * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
	 *
	 * Emits a {Transfer} event.
	 */
	function _safeTransfer(
		address from,
		address to,
		uint256 tokenId,
		bytes memory _data
	) internal virtual {
		_transfer(from, to, tokenId);
		require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
	}

	/**
	 * @dev Returns whether `tokenId` exists.
	 *
	 * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
	 *
	 * Tokens start existing when they are minted (`_mint`),
	 * and stop existing when they are burned (`_burn`).
	 */
	function _exists(uint256 tokenId) internal view virtual returns (bool) {
		return _owners[tokenId] != address(0);
	}

	/**
	 * @dev Returns whether `spender` is allowed to manage `tokenId`.
	 *
	 * Requirements:
	 *
	 * - `tokenId` must exist.
	 */
	function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
		require(_exists(tokenId), "ERC721: operator query for nonexistent token");
		address owner = ERC721.ownerOf(tokenId);
		return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
	}

	/**
	 * @dev Safely mints `tokenId` and transfers it to `to`.
	 *
	 * Requirements:
	 *
	 * - `tokenId` must not exist.
	 * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
	 *
	 * Emits a {Transfer} event.
	 */
	function _safeMint(address to, uint256 tokenId) internal virtual {
		_safeMint(to, tokenId, "");
	}

	/**
	 * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
	 * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
	 */
	function _safeMint(
		address to,
		uint256 tokenId,
		bytes memory _data
	) internal virtual {
		_mint(to, tokenId);
		require(
			_checkOnERC721Received(address(0), to, tokenId, _data),
			"ERC721: transfer to non ERC721Receiver implementer"
		);
	}

	/**
	 * @dev Mints `tokenId` and transfers it to `to`.
	 *
	 * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
	 *
	 * Requirements:
	 *
	 * - `tokenId` must not exist.
	 * - `to` cannot be the zero address.
	 *
	 * Emits a {Transfer} event.
	 */
	function _mint(address to, uint256 tokenId) internal virtual {
		require(to != address(0), "ERC721: mint to the zero address");
		require(!_exists(tokenId), "ERC721: token already minted");

		_beforeTokenTransfer(address(0), to, tokenId);

		_balances[to] += 1;
		_owners[tokenId] = to;

		emit Transfer(address(0), to, tokenId);
	}

	/**
	 * @dev Destroys `tokenId`.
	 * The approval is cleared when the token is burned.
	 *
	 * Requirements:
	 *
	 * - `tokenId` must exist.
	 *
	 * Emits a {Transfer} event.
	 */
	function _burn(uint256 tokenId) internal virtual {
		address owner = ERC721.ownerOf(tokenId);

		_beforeTokenTransfer(owner, address(0), tokenId);

		// Clear approvals
		_approve(address(0), tokenId);

		_balances[owner] -= 1;
		delete _owners[tokenId];

		emit Transfer(owner, address(0), tokenId);
	}

	/**
	 * @dev Transfers `tokenId` from `from` to `to`.
	 *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
	 *
	 * Requirements:
	 *
	 * - `to` cannot be the zero address.
	 * - `tokenId` token must be owned by `from`.
	 *
	 * Emits a {Transfer} event.
	 */
	function _transfer(
		address from,
		address to,
		uint256 tokenId
	) internal virtual {
		require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
		require(to != address(0), "ERC721: transfer to the zero address");

		_beforeTokenTransfer(from, to, tokenId);

		// Clear approvals from the previous owner
		_approve(address(0), tokenId);

		_balances[from] -= 1;
		_balances[to] += 1;
		_owners[tokenId] = to;

		emit Transfer(from, to, tokenId);
	}

	/**
	 * @dev Approve `to` to operate on `tokenId`
	 *
	 * Emits a {Approval} event.
	 */
	function _approve(address to, uint256 tokenId) internal virtual {
		_tokenApprovals[tokenId] = to;
		emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
	}

	/**
	 * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
	 * The call is not executed if the target address is not a contract.
	 *
	 * @param from address representing the previous owner of the given token ID
	 * @param to target address that will receive the tokens
	 * @param tokenId uint256 ID of the token to be transferred
	 * @param _data bytes optional data to send along with the call
	 * @return bool whether the call correctly returned the expected magic value
	 */
	function _checkOnERC721Received(
		address from,
		address to,
		uint256 tokenId,
		bytes memory _data
	) private returns (bool) {
		if (to.isContract()) {
			try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
				return retval == IERC721Receiver.onERC721Received.selector;
			} catch (bytes memory reason) {
				if (reason.length == 0) {
					revert("ERC721: transfer to non ERC721Receiver implementer");
				} else {
					assembly {
						revert(add(32, reason), mload(reason))
					}
				}
			}
		} else {
			return true;
		}
	}

	/**
	 * @dev Hook that is called before any token transfer. This includes minting
	 * and burning.
	 *
	 * Calling conditions:
	 *
	 * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
	 * transferred to `to`.
	 * - When `from` is zero, `tokenId` will be minted for `to`.
	 * - When `to` is zero, ``from``'s `tokenId` will be burned.
	 * - `from` and `to` are never both zero.
	 *
	 * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
	 */
	function _beforeTokenTransfer(
		address from,
		address to,
		uint256 tokenId
	) internal virtual {}
}

/**
 * @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();
	}
}

abstract contract ReentrancyGuard {
	// Booleans are more expensive than uint256 or any type that takes up a full
	// word because each write operation emits an extra SLOAD to first read the
	// slot's contents, replace the bits taken up by the boolean, and then write
	// back. This is the compiler's defense against contract upgrades and
	// pointer aliasing, and it cannot be disabled.

	// The values being non-zero value makes deployment a bit more expensive,
	// but in exchange the refund on every call to nonReentrant will be lower in
	// amount. Since refunds are capped to a percentage of the total
	// transaction's gas, it is best to keep them low in cases like this one, to
	// increase the likelihood of the full refund coming into effect.
	uint256 private constant _NOT_ENTERED = 1;
	uint256 private constant _ENTERED = 2;

	uint256 private _status;

	constructor() {
		_status = _NOT_ENTERED;
	}

	/**
	 * @dev Prevents a contract from calling itself, directly or indirectly.
	 * Calling a `nonReentrant` function from another `nonReentrant`
	 * function is not supported. It is possible to prevent this from happening
	 * by making the `nonReentrant` function external, and making it call a
	 * `private` function that does the actual work.
	 */
	modifier nonReentrant() {
		// On the first call to nonReentrant, _notEntered will be true
		require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

		// Any calls to nonReentrant after this point will fail
		_status = _ENTERED;

		_;

		// By storing the original value once again, a refund is triggered (see
		// https://eips.ethereum.org/EIPS/eip-2200)
		_status = _NOT_ENTERED;
	}
}

//Interface for all ERC standards that have a balanceOf function that takes in an address and returns uint.
//This includes ERC-721 and ERC-20.
interface IERCStandard {
	function balanceOf(address account) external view returns (uint256);
}

//interface for ERC-1155 (semi-fungible) assets.
interface IERC1155 {
	function balanceOf(address _owner, uint256 _id) external view returns (uint256);
}

contract BlueChipSafe is ERC721Enumerable, Ownable, ReentrancyGuard {

	string public _baseTokenURI;
	uint256 public PRICE = 0.01 ether;
	bool public PAUSED = true;
	uint256 public NUM_MINTED;

	mapping(address => uint256) private tokenOwnerToIdMapping;
	mapping(uint256 => address) private tokenIdToOwnerMapping;
	mapping(address => uint256) private discountPricingMapping;

	error MintingNotActive(bool mintingActive);
	error IncorrectPriceReceived(uint256 priceReceived);
	error AssociatedTokenAlreadyExists(uint256 existingTokenId);
	error AssociatedTokenDoesNotExist(address primaryAddress);
	error NoDiscountAvailable(address discountContractAddress);
	error NotElligibleForDiscount(address primaryAddress);
	error InvalidDiscountPrice(uint256 enteredPrice);

	constructor() ERC721("Blue Chip Safe", "BCS") {}

	//Mints BCS Token to associatedWallet.
	function mintVerificationToken(address associatedWallet) external payable nonReentrant {
		if (PAUSED) revert MintingNotActive(false);
		if (msg.value != PRICE) revert IncorrectPriceReceived(msg.value);
		if (tokenOwnerToIdMapping[associatedWallet] != 0) revert AssociatedTokenAlreadyExists(tokenOwnerToIdMapping[associatedWallet]);
		NUM_MINTED += 1; //pre-increment so no one owns token #0
		tokenOwnerToIdMapping[associatedWallet] = NUM_MINTED;
		tokenIdToOwnerMapping[NUM_MINTED] = associatedWallet;
		_mint(associatedWallet, NUM_MINTED);
	}

	//Mints BCS Token to associatedWallet with discount pricing.
	function mintVerificationTokenWithDiscount(address associatedWallet, address discountContractAddress) external payable nonReentrant {
		if (PAUSED) revert MintingNotActive(false);
		if (discountPricingMapping[discountContractAddress] == 0) revert NoDiscountAvailable(discountContractAddress);
		if (IERCStandard(discountContractAddress).balanceOf(associatedWallet) == 0) revert NotElligibleForDiscount(associatedWallet);
		if (msg.value != discountPricingMapping[discountContractAddress]) revert IncorrectPriceReceived(msg.value);
		if (tokenOwnerToIdMapping[associatedWallet] != 0) revert AssociatedTokenAlreadyExists(tokenOwnerToIdMapping[associatedWallet]);
		NUM_MINTED += 1;
		tokenOwnerToIdMapping[associatedWallet] = NUM_MINTED;
		tokenIdToOwnerMapping[NUM_MINTED] = associatedWallet;
		_mint(associatedWallet, NUM_MINTED);
	}

	//Burns and replaces existing BCS Token to its associated wallet. Only the associated wallet of a particular BCS Token can burn and replace it.
	function burnAndReplace() external nonReentrant {
		if (tokenOwnerToIdMapping[msg.sender] == 0) revert AssociatedTokenDoesNotExist(msg.sender);
		uint256 oldTokenId = tokenOwnerToIdMapping[msg.sender];
		NUM_MINTED += 1;
		tokenOwnerToIdMapping[msg.sender] = NUM_MINTED;
		tokenIdToOwnerMapping[NUM_MINTED] = msg.sender;
		_burn(oldTokenId);
		_mint(msg.sender, NUM_MINTED);
	}

	//Verifies ownership of tokens owned by primaryAddress and/or the associated wallet addresses of any BCS Tokens currently owned by primaryAddress.
	//Compatible with ERC-721 and ERC-20 standards.
	function verifyOwnershipOfTokens(address contractAddress, address primaryAddress) external view returns (uint256) {
		IERCStandard assetContract = IERCStandard(contractAddress);
		uint256 tokenBalance = assetContract.balanceOf(primaryAddress);
		uint256 BCSBalance = balanceOf(primaryAddress);
		for (uint256 i; i < BCSBalance;) {
			address verificationTokenOwner = tokenIdToOwnerMapping[tokenOfOwnerByIndex(primaryAddress, i)];
			if (verificationTokenOwner != primaryAddress) {
				unchecked {
					tokenBalance += assetContract.balanceOf(verificationTokenOwner);
				}
			}
			unchecked {i++;}
		}
		return tokenBalance;
	}

	//Verifies ownership of a particular ERC-721 asset.
	function verifyOwnershipOfItem(address contractAddress, uint256 contractTokenId, address primaryAddress) external view returns (bool) {
		if (IERC721(contractAddress).ownerOf(contractTokenId) == primaryAddress) {
			return true;
		}
		uint256 BCSBalance = balanceOf(primaryAddress);
		for (uint256 i; i < BCSBalance;) {
			if (IERC721(contractAddress).ownerOf(contractTokenId) == tokenIdToOwnerMapping[tokenOfOwnerByIndex(primaryAddress, i)]) {
				return true;
			}
			unchecked {i++;}
		}
		return false;
	}

	//Verifies ownership of ERC-1155 assets.
	function verifyOwnershipOfSemiFungibleTokens(address contractAddress, uint256 contractTokenId, address primaryAddress) external view returns (uint256) {
		IERC1155 assetContract = IERC1155(contractAddress);
		uint256 tokenBalance = assetContract.balanceOf(primaryAddress, contractTokenId);
		uint256 BCSBalance = balanceOf(primaryAddress);
		for (uint256 i; i < BCSBalance;) {
			address verificationTokenOwner = tokenIdToOwnerMapping[tokenOfOwnerByIndex(primaryAddress, i)];
			if (verificationTokenOwner != primaryAddress) {
				unchecked {
					tokenBalance += assetContract.balanceOf(verificationTokenOwner, contractTokenId);
				}
			}
			unchecked {i++;}
		}
		return tokenBalance;
	}

	//Returns all BCS tokens in wallet.
	function tokensInWallet(address _owner) external view returns (uint256[] memory) {
		uint256 tokenCount = balanceOf(_owner);
		uint256[] memory tokensId = new uint256[](tokenCount);
		for(uint256 i; i < tokenCount;) {
			tokensId[i] = tokenOfOwnerByIndex(_owner, i);
			unchecked {i++;}
		}
		return tokensId;
	}

	//Returns all associated wallets of BCS tokens held by primaryAddress.
	function getAllAssociatedWallets(address primaryAddress) external view returns(address[] memory) {
		uint256 BCSBalance = balanceOf(primaryAddress);
		address[] memory associatedWallets = new address[](BCSBalance); 
		for (uint256 i; i < BCSBalance;) {
			associatedWallets[i] = tokenIdToOwnerMapping[tokenOfOwnerByIndex(primaryAddress, i)];
			unchecked {i++;}
		}
		return associatedWallets;
	}

	//Returns the associated wallet of a particular BCS token.
	function getAssociatedWallet(uint256 verificationTokenId) external view returns (address) {
		return tokenIdToOwnerMapping[verificationTokenId];
	}

	//Returns the associated BCS token of primaryAddress.
	function getAssociatedVerificationToken(address primaryAddress) external view returns (uint256) {
		return tokenOwnerToIdMapping[primaryAddress];
	}

	//Sets discount.
	function setDiscount(address discountContractAddress, uint256 discountPrice) external onlyOwner {
		if (discountPrice >= PRICE) revert InvalidDiscountPrice(discountPrice);
		discountPricingMapping[discountContractAddress] = discountPrice;
	}

	//Sets mint price.
	function setPrice(uint256 _newPrice) external onlyOwner {
		PRICE = _newPrice;
	}

	//Returns base URI for metadata.
	function _baseURI() internal view virtual override returns (string memory) {
		return _baseTokenURI;
	}

	//Sets base URI for metadata.
	function setBaseURI(string memory baseURI) external onlyOwner {
		_baseTokenURI = baseURI;
	}

	//Pause mint.
	function pause(bool val) external onlyOwner {
		PAUSED = val;
	}

	function withdrawAll() external onlyOwner {
		payable(owner()).transfer(address(this).balance);
	}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"existingTokenId","type":"uint256"}],"name":"AssociatedTokenAlreadyExists","type":"error"},{"inputs":[{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"AssociatedTokenDoesNotExist","type":"error"},{"inputs":[{"internalType":"uint256","name":"priceReceived","type":"uint256"}],"name":"IncorrectPriceReceived","type":"error"},{"inputs":[{"internalType":"uint256","name":"enteredPrice","type":"uint256"}],"name":"InvalidDiscountPrice","type":"error"},{"inputs":[{"internalType":"bool","name":"mintingActive","type":"bool"}],"name":"MintingNotActive","type":"error"},{"inputs":[{"internalType":"address","name":"discountContractAddress","type":"address"}],"name":"NoDiscountAvailable","type":"error"},{"inputs":[{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"NotElligibleForDiscount","type":"error"},{"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":[],"name":"NUM_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAndReplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"getAllAssociatedWallets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"getAssociatedVerificationToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"verificationTokenId","type":"uint256"}],"name":"getAssociatedWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"associatedWallet","type":"address"}],"name":"mintVerificationToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"associatedWallet","type":"address"},{"internalType":"address","name":"discountContractAddress","type":"address"}],"name":"mintVerificationTokenWithDiscount","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"discountContractAddress","type":"address"},{"internalType":"uint256","name":"discountPrice","type":"uint256"}],"name":"setDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensInWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"contractTokenId","type":"uint256"},{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"verifyOwnershipOfItem","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"contractTokenId","type":"uint256"},{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"verifyOwnershipOfSemiFungibleTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"address","name":"primaryAddress","type":"address"}],"name":"verifyOwnershipOfTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc10000600d55600e805460ff191660011790553480156200002957600080fd5b50604080518082018252600e81526d426c75652043686970205361666560901b60208083019182528351808501909452600384526242435360e81b9084015281519192916200007b916000916200010f565b508051620000919060019060208401906200010f565b505050620000ae620000a8620000b960201b60201c565b620000bd565b6001600b55620001f2565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011d90620001b5565b90600052602060002090601f0160209004810192826200014157600085556200018c565b82601f106200015c57805160ff19168380011785556200018c565b828001600101855582156200018c579182015b828111156200018c5782518255916020019190600101906200016f565b506200019a9291506200019e565b5090565b5b808211156200019a57600081556001016200019f565b600181811c90821680620001ca57607f821691505b60208210811415620001ec57634e487b7160e01b600052602260045260246000fd5b50919050565b612c0180620002026000396000f3fe6080604052600436106102255760003560e01c80636364461911610123578063a9aad58c116100ab578063cfc86f7b1161006f578063cfc86f7b14610668578063d57b43781461067d578063e7987e4214610693578063e985e9c5146106b3578063f2fde38b146106fc57600080fd5b8063a9aad58c146105ce578063b4e9380a146105e8578063b88d4fde14610615578063c35fd02214610635578063c87b56dd1461064857600080fd5b80638d859f3e116100f25780638d859f3e146105455780638da5cb5b1461055b57806391b7f5ed1461057957806395d89b4114610599578063a22cb465146105ae57600080fd5b806363644619146104db57806370a08231146104fb578063715018a61461051b578063853828b61461053057600080fd5b80632c3f4fbd116101b15780634f6ccce7116101755780634f6ccce71461043b578063551ba10c1461045b57806355f804b31461046e57806361c5c9351461048e5780636352211e146104bb57600080fd5b80632c3f4fbd1461036f5780632f745c591461038f57806335f3f615146103af57806342842e0e146103e557806345f8fbf21461040557600080fd5b8063095ea7b3116101f8578063095ea7b3146102db578063129e0249146102fb57806318160ddd146103105780631e92ffe51461032f57806323b872dd1461034f57600080fd5b806301ffc9a71461022a57806302329a291461025f57806306fdde0314610281578063081812fc146102a3575b600080fd5b34801561023657600080fd5b5061024a61024536600461250a565b61071c565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027f61027a36600461253c565b610747565b005b34801561028d57600080fd5b5061029661078d565b60405161025691906125af565b3480156102af57600080fd5b506102c36102be3660046125c2565b61081f565b6040516001600160a01b039091168152602001610256565b3480156102e757600080fd5b5061027f6102f63660046125f0565b6108b4565b34801561030757600080fd5b5061027f6109ca565b34801561031c57600080fd5b506008545b604051908152602001610256565b34801561033b57600080fd5b5061027f61034a3660046125f0565b610a9b565b34801561035b57600080fd5b5061027f61036a36600461261c565b610b06565b34801561037b57600080fd5b5061032161038a36600461265d565b610b37565b34801561039b57600080fd5b506103216103aa3660046125f0565b610c7c565b3480156103bb57600080fd5b506102c36103ca3660046125c2565b6000908152601160205260409020546001600160a01b031690565b3480156103f157600080fd5b5061027f61040036600461261c565b610d12565b34801561041157600080fd5b50610321610420366004612696565b6001600160a01b031660009081526010602052604090205490565b34801561044757600080fd5b506103216104563660046125c2565b610d2d565b61027f61046936600461265d565b610dc0565b34801561047a57600080fd5b5061027f61048936600461273f565b610fdc565b34801561049a57600080fd5b506104ae6104a9366004612696565b61101d565b6040516102569190612788565b3480156104c757600080fd5b506102c36104d63660046125c2565b6110b5565b3480156104e757600080fd5b5061024a6104f63660046127c0565b61112c565b34801561050757600080fd5b50610321610516366004612696565b611293565b34801561052757600080fd5b5061027f61131a565b34801561053c57600080fd5b5061027f611350565b34801561055157600080fd5b50610321600d5481565b34801561056757600080fd5b50600a546001600160a01b03166102c3565b34801561058557600080fd5b5061027f6105943660046125c2565b6113b6565b3480156105a557600080fd5b506102966113e5565b3480156105ba57600080fd5b5061027f6105c9366004612802565b6113f4565b3480156105da57600080fd5b50600e5461024a9060ff1681565b3480156105f457600080fd5b50610608610603366004612696565b6114b9565b6040516102569190612837565b34801561062157600080fd5b5061027f610630366004612878565b61157c565b61027f610643366004612696565b6115b4565b34801561065457600080fd5b506102966106633660046125c2565b6116de565b34801561067457600080fd5b506102966117b8565b34801561068957600080fd5b50610321600f5481565b34801561069f57600080fd5b506103216106ae3660046127c0565b611846565b3480156106bf57600080fd5b5061024a6106ce36600461265d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070857600080fd5b5061027f610717366004612696565b611996565b60006001600160e01b0319821663780e9d6360e01b1480610741575061074182611a2e565b92915050565b600a546001600160a01b0316331461077a5760405162461bcd60e51b8152600401610771906128f8565b60405180910390fd5b600e805460ff1916911515919091179055565b60606000805461079c9061292d565b80601f01602080910402602001604051908101604052809291908181526020018280546107c89061292d565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610771565b506000908152600460205260409020546001600160a01b031690565b60006108bf826110b5565b9050806001600160a01b0316836001600160a01b0316141561092d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610771565b336001600160a01b0382161480610949575061094981336106ce565b6109bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610771565b6109c58383611a7e565b505050565b6002600b5414156109ed5760405162461bcd60e51b815260040161077190612968565b6002600b5533600090815260106020526040902054610a2157604051633365e13360e21b8152336004820152602401610771565b33600090815260106020526040812054600f80549192600192610a459084906129b5565b9091555050600f54336000818152601060209081526040808320859055938252601190529190912080546001600160a01b0319169091179055610a8781611aec565b610a9333600f54611b93565b506001600b55565b600a546001600160a01b03163314610ac55760405162461bcd60e51b8152600401610771906128f8565b600d548110610aea576040516315b8da6160e01b815260048101829052602401610771565b6001600160a01b03909116600090815260126020526040902055565b610b103382611ce1565b610b2c5760405162461bcd60e51b8152600401610771906129cd565b6109c5838383611dd8565b6040516370a0823160e01b81526001600160a01b03828116600483015260009184918391908316906370a0823190602401602060405180830381865afa158015610b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba99190612a1e565b90506000610bb685611293565b905060005b81811015610c7157600060116000610bd38985610c7c565b81526020810191909152604001600020546001600160a01b03908116915087168114610c68576040516370a0823160e01b81526001600160a01b0382811660048301528616906370a0823190602401602060405180830381865afa158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c639190612a1e565b840193505b50600101610bbb565b509095945050505050565b6000610c8783611293565b8210610ce95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610771565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109c58383836040518060200160405280600081525061157c565b6000610d3860085490565b8210610d9b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610771565b60088281548110610dae57610dae612a37565b90600052602060002001549050919050565b6002600b541415610de35760405162461bcd60e51b815260040161077190612968565b6002600b55600e5460ff1615610e0f576040516302a9da6760e31b815260006004820152602401610771565b6001600160a01b038116600090815260126020526040902054610e5057604051633c48708760e01b81526001600160a01b0382166004820152602401610771565b6040516370a0823160e01b81526001600160a01b0383811660048301528216906370a0823190602401602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190612a1e565b610ee25760405163e907f88960e01b81526001600160a01b0383166004820152602401610771565b6001600160a01b0381166000908152601260205260409020543414610f1c57604051633cbcef9b60e21b8152346004820152602401610771565b6001600160a01b03821660009081526010602052604090205415610f71576001600160a01b03821660009081526010602052604090819020549051636bd8290f60e01b81526004810191909152602401610771565b6001600f6000828254610f8491906129b5565b9091555050600f80546001600160a01b0384166000818152601060209081526040808320859055938252601190529190912080546001600160a01b031916909117905554610fd3908390611b93565b50506001600b55565b600a546001600160a01b031633146110065760405162461bcd60e51b8152600401610771906128f8565b805161101990600c90602084019061245b565b5050565b6060600061102a83611293565b905060008167ffffffffffffffff811115611047576110476126b3565b604051908082528060200260200182016040528015611070578160200160208202803683370190505b50905060005b828110156110ad576110888582610c7c565b82828151811061109a5761109a612a37565b6020908102919091010152600101611076565b509392505050565b6000818152600260205260408120546001600160a01b0316806107415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610771565b6000816001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b815260040161116691815260200190565b602060405180830381865afa158015611183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a79190612a4d565b6001600160a01b031614156111be5750600161128c565b60006111c983611293565b905060005b8181101561128557601160006111e48684610c7c565b8152602081019190915260409081016000205490516331a9108f60e11b8152600481018790526001600160a01b0391821691881690636352211e90602401602060405180830381865afa15801561123f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112639190612a4d565b6001600160a01b0316141561127d5760019250505061128c565b6001016111ce565b5060009150505b9392505050565b60006001600160a01b0382166112fe5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610771565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146113445760405162461bcd60e51b8152600401610771906128f8565b61134e6000611f83565b565b600a546001600160a01b0316331461137a5760405162461bcd60e51b8152600401610771906128f8565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156113b3573d6000803e3d6000fd5b50565b600a546001600160a01b031633146113e05760405162461bcd60e51b8152600401610771906128f8565b600d55565b60606001805461079c9061292d565b6001600160a01b03821633141561144d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610771565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606060006114c683611293565b905060008167ffffffffffffffff8111156114e3576114e36126b3565b60405190808252806020026020018201604052801561150c578160200160208202803683370190505b50905060005b828110156110ad57601160006115288784610c7c565b815260200190815260200160002060009054906101000a90046001600160a01b031682828151811061155c5761155c612a37565b6001600160a01b0390921660209283029190910190910152600101611512565b6115863383611ce1565b6115a25760405162461bcd60e51b8152600401610771906129cd565b6115ae84848484611fd5565b50505050565b6002600b5414156115d75760405162461bcd60e51b815260040161077190612968565b6002600b55600e5460ff1615611603576040516302a9da6760e31b815260006004820152602401610771565b600d54341461162757604051633cbcef9b60e21b8152346004820152602401610771565b6001600160a01b0381166000908152601060205260409020541561167c576001600160a01b03811660009081526010602052604090819020549051636bd8290f60e01b81526004810191909152602401610771565b6001600f600082825461168f91906129b5565b9091555050600f80546001600160a01b0383166000818152601060209081526040808320859055938252601190529190912080546001600160a01b031916909117905554610a93908290611b93565b6000818152600260205260409020546060906001600160a01b031661175d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610771565b6000611767612008565b90506000815111611787576040518060200160405280600081525061128c565b8061179184612017565b6040516020016117a2929190612a6a565b6040516020818303038152906040529392505050565b600c80546117c59061292d565b80601f01602080910402602001604051908101604052809291908181526020018280546117f19061292d565b801561183e5780601f106118135761010080835404028352916020019161183e565b820191906000526020600020905b81548152906001019060200180831161182157829003601f168201915b505050505081565b604051627eeac760e11b81526001600160a01b03828116600483015260248201849052600091859183919083169062fdd58e90604401602060405180830381865afa158015611899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118bd9190612a1e565b905060006118ca85611293565b905060005b8181101561198a576000601160006118e78985610c7c565b81526020810191909152604001600020546001600160a01b0390811691508716811461198157604051627eeac760e11b81526001600160a01b038281166004830152602482018a905286169062fdd58e90604401602060405180830381865afa158015611958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197c9190612a1e565b840193505b506001016118cf565b50909695505050505050565b600a546001600160a01b031633146119c05760405162461bcd60e51b8152600401610771906128f8565b6001600160a01b038116611a255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610771565b6113b381611f83565b60006001600160e01b031982166380ac58cd60e01b1480611a5f57506001600160e01b03198216635b5e139f60e01b145b8061074157506301ffc9a760e01b6001600160e01b0319831614610741565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ab3826110b5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611af7826110b5565b9050611b0581600084612115565b611b10600083611a7e565b6001600160a01b0381166000908152600360205260408120805460019290611b39908490612a99565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611be95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610771565b6000818152600260205260409020546001600160a01b031615611c4e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610771565b611c5a60008383612115565b6001600160a01b0382166000908152600360205260408120805460019290611c839084906129b5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611d5a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610771565b6000611d65836110b5565b9050806001600160a01b0316846001600160a01b03161480611da05750836001600160a01b0316611d958461081f565b6001600160a01b0316145b80611dd057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611deb826110b5565b6001600160a01b031614611e535760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610771565b6001600160a01b038216611eb55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610771565b611ec0838383612115565b611ecb600082611a7e565b6001600160a01b0383166000908152600360205260408120805460019290611ef4908490612a99565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f229084906129b5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611fe0848484611dd8565b611fec848484846121cd565b6115ae5760405162461bcd60e51b815260040161077190612ab0565b6060600c805461079c9061292d565b60608161203b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612065578061204f81612b02565b915061205e9050600a83612b33565b915061203f565b60008167ffffffffffffffff811115612080576120806126b3565b6040519080825280601f01601f1916602001820160405280156120aa576020820181803683370190505b5090505b8415611dd0576120bf600183612a99565b91506120cc600a86612b47565b6120d79060306129b5565b60f81b8183815181106120ec576120ec612a37565b60200101906001600160f81b031916908160001a90535061210e600a86612b33565b94506120ae565b6001600160a01b0383166121705761216b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612193565b816001600160a01b0316836001600160a01b0316146121935761219383826122cb565b6001600160a01b0382166121aa576109c581612368565b826001600160a01b0316826001600160a01b0316146109c5576109c58282612417565b60006001600160a01b0384163b156122c057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612211903390899088908890600401612b5b565b6020604051808303816000875af192505050801561224c575060408051601f3d908101601f1916820190925261224991810190612b98565b60015b6122a6573d80801561227a576040519150601f19603f3d011682016040523d82523d6000602084013e61227f565b606091505b50805161229e5760405162461bcd60e51b815260040161077190612ab0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dd0565b506001949350505050565b600060016122d884611293565b6122e29190612a99565b600083815260076020526040902054909150808214612335576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061237a90600190612a99565b600083815260096020526040812054600880549394509092849081106123a2576123a2612a37565b9060005260206000200154905080600883815481106123c3576123c3612a37565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806123fb576123fb612bb5565b6001900381819060005260206000200160009055905550505050565b600061242283611293565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546124679061292d565b90600052602060002090601f01602090048101928261248957600085556124cf565b82601f106124a257805160ff19168380011785556124cf565b828001600101855582156124cf579182015b828111156124cf5782518255916020019190600101906124b4565b506124db9291506124df565b5090565b5b808211156124db57600081556001016124e0565b6001600160e01b0319811681146113b357600080fd5b60006020828403121561251c57600080fd5b813561128c816124f4565b8035801515811461253757600080fd5b919050565b60006020828403121561254e57600080fd5b61128c82612527565b60005b8381101561257257818101518382015260200161255a565b838111156115ae5750506000910152565b6000815180845261259b816020860160208601612557565b601f01601f19169290920160200192915050565b60208152600061128c6020830184612583565b6000602082840312156125d457600080fd5b5035919050565b6001600160a01b03811681146113b357600080fd5b6000806040838503121561260357600080fd5b823561260e816125db565b946020939093013593505050565b60008060006060848603121561263157600080fd5b833561263c816125db565b9250602084013561264c816125db565b929592945050506040919091013590565b6000806040838503121561267057600080fd5b823561267b816125db565b9150602083013561268b816125db565b809150509250929050565b6000602082840312156126a857600080fd5b813561128c816125db565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156126e4576126e46126b3565b604051601f8501601f19908116603f0116810190828211818310171561270c5761270c6126b3565b8160405280935085815286868601111561272557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561275157600080fd5b813567ffffffffffffffff81111561276857600080fd5b8201601f8101841361277957600080fd5b611dd0848235602084016126c9565b6020808252825182820181905260009190848201906040850190845b8181101561198a578351835292840192918401916001016127a4565b6000806000606084860312156127d557600080fd5b83356127e0816125db565b92506020840135915060408401356127f7816125db565b809150509250925092565b6000806040838503121561281557600080fd5b8235612820816125db565b915061282e60208401612527565b90509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561198a5783516001600160a01b031683529284019291840191600101612853565b6000806000806080858703121561288e57600080fd5b8435612899816125db565b935060208501356128a9816125db565b925060408501359150606085013567ffffffffffffffff8111156128cc57600080fd5b8501601f810187136128dd57600080fd5b6128ec878235602084016126c9565b91505092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061294157607f821691505b6020821081141561296257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156129c8576129c861299f565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215612a3057600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a5f57600080fd5b815161128c816125db565b60008351612a7c818460208801612557565b835190830190612a90818360208801612557565b01949350505050565b600082821015612aab57612aab61299f565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600019821415612b1657612b1661299f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612b4257612b42612b1d565b500490565b600082612b5657612b56612b1d565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b8e90830184612583565b9695505050505050565b600060208284031215612baa57600080fd5b815161128c816124f4565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220db02224f4cd93e9b2c4d5fb24b3f889d580b462ab82d584e8eaf60d7258802da64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636364461911610123578063a9aad58c116100ab578063cfc86f7b1161006f578063cfc86f7b14610668578063d57b43781461067d578063e7987e4214610693578063e985e9c5146106b3578063f2fde38b146106fc57600080fd5b8063a9aad58c146105ce578063b4e9380a146105e8578063b88d4fde14610615578063c35fd02214610635578063c87b56dd1461064857600080fd5b80638d859f3e116100f25780638d859f3e146105455780638da5cb5b1461055b57806391b7f5ed1461057957806395d89b4114610599578063a22cb465146105ae57600080fd5b806363644619146104db57806370a08231146104fb578063715018a61461051b578063853828b61461053057600080fd5b80632c3f4fbd116101b15780634f6ccce7116101755780634f6ccce71461043b578063551ba10c1461045b57806355f804b31461046e57806361c5c9351461048e5780636352211e146104bb57600080fd5b80632c3f4fbd1461036f5780632f745c591461038f57806335f3f615146103af57806342842e0e146103e557806345f8fbf21461040557600080fd5b8063095ea7b3116101f8578063095ea7b3146102db578063129e0249146102fb57806318160ddd146103105780631e92ffe51461032f57806323b872dd1461034f57600080fd5b806301ffc9a71461022a57806302329a291461025f57806306fdde0314610281578063081812fc146102a3575b600080fd5b34801561023657600080fd5b5061024a61024536600461250a565b61071c565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027f61027a36600461253c565b610747565b005b34801561028d57600080fd5b5061029661078d565b60405161025691906125af565b3480156102af57600080fd5b506102c36102be3660046125c2565b61081f565b6040516001600160a01b039091168152602001610256565b3480156102e757600080fd5b5061027f6102f63660046125f0565b6108b4565b34801561030757600080fd5b5061027f6109ca565b34801561031c57600080fd5b506008545b604051908152602001610256565b34801561033b57600080fd5b5061027f61034a3660046125f0565b610a9b565b34801561035b57600080fd5b5061027f61036a36600461261c565b610b06565b34801561037b57600080fd5b5061032161038a36600461265d565b610b37565b34801561039b57600080fd5b506103216103aa3660046125f0565b610c7c565b3480156103bb57600080fd5b506102c36103ca3660046125c2565b6000908152601160205260409020546001600160a01b031690565b3480156103f157600080fd5b5061027f61040036600461261c565b610d12565b34801561041157600080fd5b50610321610420366004612696565b6001600160a01b031660009081526010602052604090205490565b34801561044757600080fd5b506103216104563660046125c2565b610d2d565b61027f61046936600461265d565b610dc0565b34801561047a57600080fd5b5061027f61048936600461273f565b610fdc565b34801561049a57600080fd5b506104ae6104a9366004612696565b61101d565b6040516102569190612788565b3480156104c757600080fd5b506102c36104d63660046125c2565b6110b5565b3480156104e757600080fd5b5061024a6104f63660046127c0565b61112c565b34801561050757600080fd5b50610321610516366004612696565b611293565b34801561052757600080fd5b5061027f61131a565b34801561053c57600080fd5b5061027f611350565b34801561055157600080fd5b50610321600d5481565b34801561056757600080fd5b50600a546001600160a01b03166102c3565b34801561058557600080fd5b5061027f6105943660046125c2565b6113b6565b3480156105a557600080fd5b506102966113e5565b3480156105ba57600080fd5b5061027f6105c9366004612802565b6113f4565b3480156105da57600080fd5b50600e5461024a9060ff1681565b3480156105f457600080fd5b50610608610603366004612696565b6114b9565b6040516102569190612837565b34801561062157600080fd5b5061027f610630366004612878565b61157c565b61027f610643366004612696565b6115b4565b34801561065457600080fd5b506102966106633660046125c2565b6116de565b34801561067457600080fd5b506102966117b8565b34801561068957600080fd5b50610321600f5481565b34801561069f57600080fd5b506103216106ae3660046127c0565b611846565b3480156106bf57600080fd5b5061024a6106ce36600461265d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070857600080fd5b5061027f610717366004612696565b611996565b60006001600160e01b0319821663780e9d6360e01b1480610741575061074182611a2e565b92915050565b600a546001600160a01b0316331461077a5760405162461bcd60e51b8152600401610771906128f8565b60405180910390fd5b600e805460ff1916911515919091179055565b60606000805461079c9061292d565b80601f01602080910402602001604051908101604052809291908181526020018280546107c89061292d565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108985760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610771565b506000908152600460205260409020546001600160a01b031690565b60006108bf826110b5565b9050806001600160a01b0316836001600160a01b0316141561092d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610771565b336001600160a01b0382161480610949575061094981336106ce565b6109bb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610771565b6109c58383611a7e565b505050565b6002600b5414156109ed5760405162461bcd60e51b815260040161077190612968565b6002600b5533600090815260106020526040902054610a2157604051633365e13360e21b8152336004820152602401610771565b33600090815260106020526040812054600f80549192600192610a459084906129b5565b9091555050600f54336000818152601060209081526040808320859055938252601190529190912080546001600160a01b0319169091179055610a8781611aec565b610a9333600f54611b93565b506001600b55565b600a546001600160a01b03163314610ac55760405162461bcd60e51b8152600401610771906128f8565b600d548110610aea576040516315b8da6160e01b815260048101829052602401610771565b6001600160a01b03909116600090815260126020526040902055565b610b103382611ce1565b610b2c5760405162461bcd60e51b8152600401610771906129cd565b6109c5838383611dd8565b6040516370a0823160e01b81526001600160a01b03828116600483015260009184918391908316906370a0823190602401602060405180830381865afa158015610b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba99190612a1e565b90506000610bb685611293565b905060005b81811015610c7157600060116000610bd38985610c7c565b81526020810191909152604001600020546001600160a01b03908116915087168114610c68576040516370a0823160e01b81526001600160a01b0382811660048301528616906370a0823190602401602060405180830381865afa158015610c3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c639190612a1e565b840193505b50600101610bbb565b509095945050505050565b6000610c8783611293565b8210610ce95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610771565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109c58383836040518060200160405280600081525061157c565b6000610d3860085490565b8210610d9b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610771565b60088281548110610dae57610dae612a37565b90600052602060002001549050919050565b6002600b541415610de35760405162461bcd60e51b815260040161077190612968565b6002600b55600e5460ff1615610e0f576040516302a9da6760e31b815260006004820152602401610771565b6001600160a01b038116600090815260126020526040902054610e5057604051633c48708760e01b81526001600160a01b0382166004820152602401610771565b6040516370a0823160e01b81526001600160a01b0383811660048301528216906370a0823190602401602060405180830381865afa158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190612a1e565b610ee25760405163e907f88960e01b81526001600160a01b0383166004820152602401610771565b6001600160a01b0381166000908152601260205260409020543414610f1c57604051633cbcef9b60e21b8152346004820152602401610771565b6001600160a01b03821660009081526010602052604090205415610f71576001600160a01b03821660009081526010602052604090819020549051636bd8290f60e01b81526004810191909152602401610771565b6001600f6000828254610f8491906129b5565b9091555050600f80546001600160a01b0384166000818152601060209081526040808320859055938252601190529190912080546001600160a01b031916909117905554610fd3908390611b93565b50506001600b55565b600a546001600160a01b031633146110065760405162461bcd60e51b8152600401610771906128f8565b805161101990600c90602084019061245b565b5050565b6060600061102a83611293565b905060008167ffffffffffffffff811115611047576110476126b3565b604051908082528060200260200182016040528015611070578160200160208202803683370190505b50905060005b828110156110ad576110888582610c7c565b82828151811061109a5761109a612a37565b6020908102919091010152600101611076565b509392505050565b6000818152600260205260408120546001600160a01b0316806107415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610771565b6000816001600160a01b0316846001600160a01b0316636352211e856040518263ffffffff1660e01b815260040161116691815260200190565b602060405180830381865afa158015611183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a79190612a4d565b6001600160a01b031614156111be5750600161128c565b60006111c983611293565b905060005b8181101561128557601160006111e48684610c7c565b8152602081019190915260409081016000205490516331a9108f60e11b8152600481018790526001600160a01b0391821691881690636352211e90602401602060405180830381865afa15801561123f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112639190612a4d565b6001600160a01b0316141561127d5760019250505061128c565b6001016111ce565b5060009150505b9392505050565b60006001600160a01b0382166112fe5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610771565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146113445760405162461bcd60e51b8152600401610771906128f8565b61134e6000611f83565b565b600a546001600160a01b0316331461137a5760405162461bcd60e51b8152600401610771906128f8565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156113b3573d6000803e3d6000fd5b50565b600a546001600160a01b031633146113e05760405162461bcd60e51b8152600401610771906128f8565b600d55565b60606001805461079c9061292d565b6001600160a01b03821633141561144d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610771565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606060006114c683611293565b905060008167ffffffffffffffff8111156114e3576114e36126b3565b60405190808252806020026020018201604052801561150c578160200160208202803683370190505b50905060005b828110156110ad57601160006115288784610c7c565b815260200190815260200160002060009054906101000a90046001600160a01b031682828151811061155c5761155c612a37565b6001600160a01b0390921660209283029190910190910152600101611512565b6115863383611ce1565b6115a25760405162461bcd60e51b8152600401610771906129cd565b6115ae84848484611fd5565b50505050565b6002600b5414156115d75760405162461bcd60e51b815260040161077190612968565b6002600b55600e5460ff1615611603576040516302a9da6760e31b815260006004820152602401610771565b600d54341461162757604051633cbcef9b60e21b8152346004820152602401610771565b6001600160a01b0381166000908152601060205260409020541561167c576001600160a01b03811660009081526010602052604090819020549051636bd8290f60e01b81526004810191909152602401610771565b6001600f600082825461168f91906129b5565b9091555050600f80546001600160a01b0383166000818152601060209081526040808320859055938252601190529190912080546001600160a01b031916909117905554610a93908290611b93565b6000818152600260205260409020546060906001600160a01b031661175d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610771565b6000611767612008565b90506000815111611787576040518060200160405280600081525061128c565b8061179184612017565b6040516020016117a2929190612a6a565b6040516020818303038152906040529392505050565b600c80546117c59061292d565b80601f01602080910402602001604051908101604052809291908181526020018280546117f19061292d565b801561183e5780601f106118135761010080835404028352916020019161183e565b820191906000526020600020905b81548152906001019060200180831161182157829003601f168201915b505050505081565b604051627eeac760e11b81526001600160a01b03828116600483015260248201849052600091859183919083169062fdd58e90604401602060405180830381865afa158015611899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118bd9190612a1e565b905060006118ca85611293565b905060005b8181101561198a576000601160006118e78985610c7c565b81526020810191909152604001600020546001600160a01b0390811691508716811461198157604051627eeac760e11b81526001600160a01b038281166004830152602482018a905286169062fdd58e90604401602060405180830381865afa158015611958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197c9190612a1e565b840193505b506001016118cf565b50909695505050505050565b600a546001600160a01b031633146119c05760405162461bcd60e51b8152600401610771906128f8565b6001600160a01b038116611a255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610771565b6113b381611f83565b60006001600160e01b031982166380ac58cd60e01b1480611a5f57506001600160e01b03198216635b5e139f60e01b145b8061074157506301ffc9a760e01b6001600160e01b0319831614610741565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ab3826110b5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611af7826110b5565b9050611b0581600084612115565b611b10600083611a7e565b6001600160a01b0381166000908152600360205260408120805460019290611b39908490612a99565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611be95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610771565b6000818152600260205260409020546001600160a01b031615611c4e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610771565b611c5a60008383612115565b6001600160a01b0382166000908152600360205260408120805460019290611c839084906129b5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611d5a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610771565b6000611d65836110b5565b9050806001600160a01b0316846001600160a01b03161480611da05750836001600160a01b0316611d958461081f565b6001600160a01b0316145b80611dd057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611deb826110b5565b6001600160a01b031614611e535760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610771565b6001600160a01b038216611eb55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610771565b611ec0838383612115565b611ecb600082611a7e565b6001600160a01b0383166000908152600360205260408120805460019290611ef4908490612a99565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f229084906129b5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611fe0848484611dd8565b611fec848484846121cd565b6115ae5760405162461bcd60e51b815260040161077190612ab0565b6060600c805461079c9061292d565b60608161203b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612065578061204f81612b02565b915061205e9050600a83612b33565b915061203f565b60008167ffffffffffffffff811115612080576120806126b3565b6040519080825280601f01601f1916602001820160405280156120aa576020820181803683370190505b5090505b8415611dd0576120bf600183612a99565b91506120cc600a86612b47565b6120d79060306129b5565b60f81b8183815181106120ec576120ec612a37565b60200101906001600160f81b031916908160001a90535061210e600a86612b33565b94506120ae565b6001600160a01b0383166121705761216b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612193565b816001600160a01b0316836001600160a01b0316146121935761219383826122cb565b6001600160a01b0382166121aa576109c581612368565b826001600160a01b0316826001600160a01b0316146109c5576109c58282612417565b60006001600160a01b0384163b156122c057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612211903390899088908890600401612b5b565b6020604051808303816000875af192505050801561224c575060408051601f3d908101601f1916820190925261224991810190612b98565b60015b6122a6573d80801561227a576040519150601f19603f3d011682016040523d82523d6000602084013e61227f565b606091505b50805161229e5760405162461bcd60e51b815260040161077190612ab0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dd0565b506001949350505050565b600060016122d884611293565b6122e29190612a99565b600083815260076020526040902054909150808214612335576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061237a90600190612a99565b600083815260096020526040812054600880549394509092849081106123a2576123a2612a37565b9060005260206000200154905080600883815481106123c3576123c3612a37565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806123fb576123fb612bb5565b6001900381819060005260206000200160009055905550505050565b600061242283611293565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546124679061292d565b90600052602060002090601f01602090048101928261248957600085556124cf565b82601f106124a257805160ff19168380011785556124cf565b828001600101855582156124cf579182015b828111156124cf5782518255916020019190600101906124b4565b506124db9291506124df565b5090565b5b808211156124db57600081556001016124e0565b6001600160e01b0319811681146113b357600080fd5b60006020828403121561251c57600080fd5b813561128c816124f4565b8035801515811461253757600080fd5b919050565b60006020828403121561254e57600080fd5b61128c82612527565b60005b8381101561257257818101518382015260200161255a565b838111156115ae5750506000910152565b6000815180845261259b816020860160208601612557565b601f01601f19169290920160200192915050565b60208152600061128c6020830184612583565b6000602082840312156125d457600080fd5b5035919050565b6001600160a01b03811681146113b357600080fd5b6000806040838503121561260357600080fd5b823561260e816125db565b946020939093013593505050565b60008060006060848603121561263157600080fd5b833561263c816125db565b9250602084013561264c816125db565b929592945050506040919091013590565b6000806040838503121561267057600080fd5b823561267b816125db565b9150602083013561268b816125db565b809150509250929050565b6000602082840312156126a857600080fd5b813561128c816125db565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156126e4576126e46126b3565b604051601f8501601f19908116603f0116810190828211818310171561270c5761270c6126b3565b8160405280935085815286868601111561272557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561275157600080fd5b813567ffffffffffffffff81111561276857600080fd5b8201601f8101841361277957600080fd5b611dd0848235602084016126c9565b6020808252825182820181905260009190848201906040850190845b8181101561198a578351835292840192918401916001016127a4565b6000806000606084860312156127d557600080fd5b83356127e0816125db565b92506020840135915060408401356127f7816125db565b809150509250925092565b6000806040838503121561281557600080fd5b8235612820816125db565b915061282e60208401612527565b90509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561198a5783516001600160a01b031683529284019291840191600101612853565b6000806000806080858703121561288e57600080fd5b8435612899816125db565b935060208501356128a9816125db565b925060408501359150606085013567ffffffffffffffff8111156128cc57600080fd5b8501601f810187136128dd57600080fd5b6128ec878235602084016126c9565b91505092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061294157607f821691505b6020821081141561296257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156129c8576129c861299f565b500190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215612a3057600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a5f57600080fd5b815161128c816125db565b60008351612a7c818460208801612557565b835190830190612a90818360208801612557565b01949350505050565b600082821015612aab57612aab61299f565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600019821415612b1657612b1661299f565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612b4257612b42612b1d565b500490565b600082612b5657612b56612b1d565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b8e90830184612583565b9695505050505050565b600060208284031215612baa57600080fd5b815161128c816124f4565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220db02224f4cd93e9b2c4d5fb24b3f889d580b462ab82d584e8eaf60d7258802da64736f6c634300080a0033

Deployed Bytecode Sourcemap

40402:7177:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32660:215;;;;;;;;;;-1:-1:-1;32660:215:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;32660:215:0;;;;;;;;47405:66;;;;;;;;;;-1:-1:-1;47405:66:0;;;;;:::i;:::-;;:::i;:::-;;21982:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23376:206::-;;;;;;;;;;-1:-1:-1;23376:206:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2042:32:1;;;2024:51;;2012:2;1997:18;23376:206:0;1878:203:1;22962:360:0;;;;;;;;;;-1:-1:-1;22962:360:0;;;;;:::i;:::-;;:::i;42897:385::-;;;;;;;;;;;;;:::i;33252:104::-;;;;;;;;;;-1:-1:-1;33334:10:0;:17;33252:104;;;2688:25:1;;;2676:2;2661:18;33252:104:0;2542:177:1;46754:244:0;;;;;;;;;;-1:-1:-1;46754:244:0;;;;;:::i;:::-;;:::i;24185:297::-;;;;;;;;;;-1:-1:-1;24185:297:0;;;;;:::i;:::-;;:::i;43486:641::-;;;;;;;;;;-1:-1:-1;43486:641:0;;;;;:::i;:::-;;:::i;32947:241::-;;;;;;;;;;-1:-1:-1;32947:241:0;;;;;:::i;:::-;;:::i;46370:149::-;;;;;;;;;;-1:-1:-1;46370:149:0;;;;;:::i;:::-;46451:7;46472:42;;;:21;:42;;;;;;-1:-1:-1;;;;;46472:42:0;;46370:149;24541:155;;;;;;;;;;-1:-1:-1;24541:155:0;;;;;:::i;:::-;;:::i;46580:150::-;;;;;;;;;;-1:-1:-1;46580:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;46688:37:0;46667:7;46688:37;;;:21;:37;;;;;;;46580:150;33421:218;;;;;;;;;;-1:-1:-1;33421:218:0;;;;;:::i;:::-;;:::i;41903:843::-;;;;;;:::i;:::-;;:::i;47289:95::-;;;;;;;;;;-1:-1:-1;47289:95:0;;;;;:::i;:::-;;:::i;45502:320::-;;;;;;;;;;-1:-1:-1;45502:320:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;21709:218::-;;;;;;;;;;-1:-1:-1;21709:218:0;;;;;:::i;:::-;;:::i;44186:521::-;;;;;;;;;;-1:-1:-1;44186:521:0;;;;;:::i;:::-;;:::i;21466:193::-;;;;;;;;;;-1:-1:-1;21466:193:0;;;;;:::i;:::-;;:::i;11952:94::-;;;;;;;;;;;;;:::i;47476:100::-;;;;;;;;;;;;;:::i;40507:33::-;;;;;;;;;;;;;;;;11361:78;;;;;;;;;;-1:-1:-1;11428:6:0;;-1:-1:-1;;;;;11428:6:0;11361:78;;47024:83;;;;;;;;;;-1:-1:-1;47024:83:0;;;;;:::i;:::-;;:::i;22130:95::-;;;;;;;;;;;;;:::i;23642:274::-;;;;;;;;;;-1:-1:-1;23642:274:0;;;;;:::i;:::-;;:::i;40544:25::-;;;;;;;;;;-1:-1:-1;40544:25:0;;;;;;;;45900:404;;;;;;;;;;-1:-1:-1;45900:404:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24755:286::-;;;;;;;;;;-1:-1:-1;24755:286:0;;;;;:::i;:::-;;:::i;41282:553::-;;;;;;:::i;:::-;;:::i;22284:313::-;;;;;;;;;;-1:-1:-1;22284:313:0;;;;;:::i;:::-;;:::i;40476:27::-;;;;;;;;;;;;;:::i;40573:25::-;;;;;;;;;;;;;;;;44755:704;;;;;;;;;;-1:-1:-1;44755:704:0;;;;;:::i;:::-;;:::i;23975:155::-;;;;;;;;;;-1:-1:-1;23975:155:0;;;;;:::i;:::-;-1:-1:-1;;;;;24090:25:0;;;24072:4;24090:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23975:155;12186:186;;;;;;;;;;-1:-1:-1;12186:186:0;;;;;:::i;:::-;;:::i;32660:215::-;32762:4;-1:-1:-1;;;;;;32780:50:0;;-1:-1:-1;;;32780:50:0;;:90;;;32834:36;32858:11;32834:23;:36::i;:::-;32773:97;32660:215;-1:-1:-1;;32660:215:0:o;47405:66::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;;;;;;;;;47454:6:::1;:12:::0;;-1:-1:-1;;47454:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;47405:66::o;21982:91::-;22036:13;22063:5;22056:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21982:91;:::o;23376:206::-;23452:7;26508:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26508:16:0;23466:73;;;;-1:-1:-1;;;23466:73:0;;8884:2:1;23466:73:0;;;8866:21:1;8923:2;8903:18;;;8896:30;8962:34;8942:18;;;8935:62;-1:-1:-1;;;9013:18:1;;;9006:42;9065:19;;23466:73:0;8682:408:1;23466:73:0;-1:-1:-1;23553:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23553:24:0;;23376:206::o;22962:360::-;23037:13;23053:23;23068:7;23053:14;:23::i;:::-;23037:39;;23095:5;-1:-1:-1;;;;;23089:11:0;:2;-1:-1:-1;;;;;23089:11:0;;;23081:57;;;;-1:-1:-1;;;23081:57:0;;9297:2:1;23081:57:0;;;9279:21:1;9336:2;9316:18;;;9309:30;9375:34;9355:18;;;9348:62;-1:-1:-1;;;9426:18:1;;;9419:31;9467:19;;23081:57:0;9095:397:1;23081:57:0;10362:10;-1:-1:-1;;;;;23158:21:0;;;;:62;;-1:-1:-1;23183:37:0;23200:5;10362:10;23975:155;:::i;23183:37::-;23145:144;;;;-1:-1:-1;;;23145:144:0;;9699:2:1;23145:144:0;;;9681:21:1;9738:2;9718:18;;;9711:30;9777:34;9757:18;;;9750:62;9848:26;9828:18;;;9821:54;9892:19;;23145:144:0;9497:420:1;23145:144:0;23296:21;23305:2;23309:7;23296:8;:21::i;:::-;23032:290;22962:360;;:::o;42897:385::-;39137:1;39684:7;;:19;;39676:63;;;;-1:-1:-1;;;39676:63:0;;;;;;;:::i;:::-;39137:1;39805:7;:18;42976:10:::1;42954:33;::::0;;;:21:::1;:33;::::0;;;;;42950:90:::1;;43001:39;::::0;-1:-1:-1;;;43001:39:0;;43029:10:::1;43001:39;::::0;::::1;2024:51:1::0;1997:18;;43001:39:0::1;1878:203:1::0;42950:90:0::1;43088:10;43045:18;43066:33:::0;;;:21:::1;:33;::::0;;;;;43104:10:::1;:15:::0;;43066:33;;43118:1:::1;::::0;43104:15:::1;::::0;43118:1;;43104:15:::1;:::i;:::-;::::0;;;-1:-1:-1;;43160:10:0::1;::::0;43146::::1;43124:33;::::0;;;:21:::1;:33;::::0;;;;;;;:46;;;43175:33;;;:21:::1;:33:::0;;;;;;:46;;-1:-1:-1;;;;;;43175:46:0::1;::::0;;::::1;::::0;;43226:17:::1;43232:10:::0;43226:5:::1;:17::i;:::-;43248:29;43254:10;43266;;43248:5;:29::i;:::-;-1:-1:-1::0;39096:1:0;39960:7;:22;42897:385::o;46754:244::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;46876:5:::1;;46859:13;:22;46855:70;;46890:35;::::0;-1:-1:-1;;;46890:35:0;;::::1;::::0;::::1;2688:25:1::0;;;2661:18;;46890:35:0::1;2542:177:1::0;46855:70:0::1;-1:-1:-1::0;;;;;46930:47:0;;::::1;;::::0;;;:22:::1;:47;::::0;;;;:63;46754:244::o;24185:297::-;24347:41;10362:10;24380:7;24347:18;:41::i;:::-;24339:103;;;;-1:-1:-1;;;24339:103:0;;;;;;;:::i;:::-;24449:28;24459:4;24465:2;24469:7;24449:9;:28::i;43486:641::-;43691:39;;-1:-1:-1;;;43691:39:0;;-1:-1:-1;;;;;2042:32:1;;;43691:39:0;;;2024:51:1;43591:7:0;;43647:15;;43591:7;;43691:23;;;;;;1997:18:1;;43691:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43668:62;;43735:18;43756:25;43766:14;43756:9;:25::i;:::-;43735:46;;43791:9;43786:313;43806:10;43802:1;:14;43786:313;;;43825:30;43858:21;:61;43880:38;43900:14;43916:1;43880:19;:38::i;:::-;43858:61;;;;;;;;;;;-1:-1:-1;43858:61:0;;-1:-1:-1;;;;;43858:61:0;;;;-1:-1:-1;43929:40:0;;;;43925:148;;44012:47;;-1:-1:-1;;;44012:47:0;;-1:-1:-1;;;;;2042:32:1;;;44012:47:0;;;2024:51:1;44012:23:0;;;;;1997:18:1;;44012:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43996:63;;;;43925:148;-1:-1:-1;44089:3:0;;43786:313;;;-1:-1:-1;44110:12:0;;43486:641;-1:-1:-1;;;;;43486:641:0:o;32947:241::-;33044:7;33074:23;33091:5;33074:16;:23::i;:::-;33066:5;:31;33058:87;;;;-1:-1:-1;;;33058:87:0;;11356:2:1;33058:87:0;;;11338:21:1;11395:2;11375:18;;;11368:30;11434:34;11414:18;;;11407:62;-1:-1:-1;;;11485:18:1;;;11478:41;11536:19;;33058:87:0;11154:407:1;33058:87:0;-1:-1:-1;;;;;;33157:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;32947:241::o;24541:155::-;24652:39;24669:4;24675:2;24679:7;24652:39;;;;;;;;;;;;:16;:39::i;33421:218::-;33496:7;33526:30;33334:10;:17;;33252:104;33526:30;33518:5;:38;33510:95;;;;-1:-1:-1;;;33510:95:0;;11768:2:1;33510:95:0;;;11750:21:1;11807:2;11787:18;;;11780:30;11846:34;11826:18;;;11819:62;-1:-1:-1;;;11897:18:1;;;11890:42;11949:19;;33510:95:0;11566:408:1;33510:95:0;33617:10;33628:5;33617:17;;;;;;;;:::i;:::-;;;;;;;;;33610:24;;33421:218;;;:::o;41903:843::-;39137:1;39684:7;;:19;;39676:63;;;;-1:-1:-1;;;39676:63:0;;;;;;;:::i;:::-;39137:1;39805:7;:18;42044:6:::1;::::0;::::1;;42040:42;;;42059:23;::::0;-1:-1:-1;;;42059:23:0;;42076:5:::1;42059:23;::::0;::::1;540:41:1::0;513:18;;42059:23:0::1;400:187:1::0;42040:42:0::1;-1:-1:-1::0;;;;;42091:47:0;::::1;;::::0;;;:22:::1;:47;::::0;;;;;42087:109:::1;;42152:44;::::0;-1:-1:-1;;;42152:44:0;;-1:-1:-1;;;;;2042:32:1;;42152:44:0::1;::::0;::::1;2024:51:1::0;1997:18;;42152:44:0::1;1878:203:1::0;42087:109:0::1;42205:65;::::0;-1:-1:-1;;;42205:65:0;;-1:-1:-1;;;;;2042:32:1;;;42205:65:0::1;::::0;::::1;2024:51:1::0;42205:47:0;::::1;::::0;::::1;::::0;1997:18:1;;42205:65:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42201:124;;42284:41;::::0;-1:-1:-1;;;42284:41:0;;-1:-1:-1;;;;;2042:32:1;;42284:41:0::1;::::0;::::1;2024:51:1::0;1997:18;;42284:41:0::1;1878:203:1::0;42201:124:0::1;-1:-1:-1::0;;;;;42347:47:0;::::1;;::::0;;;:22:::1;:47;::::0;;;;;42334:9:::1;:60;42330:106;;42403:33;::::0;-1:-1:-1;;;42403:33:0;;42426:9:::1;42403:33;::::0;::::1;2688:25:1::0;2661:18;;42403:33:0::1;2542:177:1::0;42330:106:0::1;-1:-1:-1::0;;;;;42445:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;:44;42441:126:::1;;-1:-1:-1::0;;;;;42527:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;;;42498:69;;-1:-1:-1;;;42498:69:0;;::::1;::::0;::::1;2688:25:1::0;;;;2661:18;;42498:69:0::1;2542:177:1::0;42441:126:0::1;42586:1;42572:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;42634:10:0::1;::::0;;-1:-1:-1;;;;;42592:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;;;:52;;;42649:33;;;:21:::1;:33:::0;;;;;;:52;;-1:-1:-1;;;;;;42649:52:0::1;::::0;;::::1;::::0;;42730:10;42706:35:::1;::::0;42614:16;;42706:5:::1;:35::i;:::-;-1:-1:-1::0;;39096:1:0;39960:7;:22;41903:843::o;47289:95::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;47356:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47289:95:::0;:::o;45502:320::-;45565:16;45588:18;45609:17;45619:6;45609:9;:17::i;:::-;45588:38;;45631:25;45673:10;45659:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45659:25:0;;45631:53;;45693:9;45689:109;45708:10;45704:1;:14;45689:109;;;45741:30;45761:6;45769:1;45741:19;:30::i;:::-;45727:8;45736:1;45727:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;45788:3;;45689:109;;;-1:-1:-1;45809:8:0;45502:320;-1:-1:-1;;;45502:320:0:o;21709:218::-;21781:7;21811:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21811:16:0;21840:19;21832:73;;;;-1:-1:-1;;;21832:73:0;;12313:2:1;21832:73:0;;;12295:21:1;12352:2;12332:18;;;12325:30;12391:34;12371:18;;;12364:62;-1:-1:-1;;;12442:18:1;;;12435:39;12491:19;;21832:73:0;12111:405:1;44186:521:0;44314:4;44382:14;-1:-1:-1;;;;;44329:67:0;44337:15;-1:-1:-1;;;;;44329:32:0;;44362:15;44329:49;;;;;;;;;;;;;2688:25:1;;2676:2;2661:18;;2542:177;44329:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;44329:67:0;;44325:96;;;-1:-1:-1;44411:4:0;44404:11;;44325:96;44425:18;44446:25;44456:14;44446:9;:25::i;:::-;44425:46;;44481:9;44476:210;44496:10;44492:1;:14;44476:210;;;44572:21;:61;44594:38;44614:14;44630:1;44594:19;:38::i;:::-;44572:61;;;;;;;;;;;;;-1:-1:-1;44572:61:0;;44519:49;;-1:-1:-1;;;44519:49:0;;;;;2688:25:1;;;-1:-1:-1;;;;;44572:61:0;;;;44519:32;;;;;2661:18:1;;44519:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;44519:114:0;;44515:145;;;44649:4;44642:11;;;;;;44515:145;44676:3;;44476:210;;;;44697:5;44690:12;;;44186:521;;;;;;:::o;21466:193::-;21538:7;-1:-1:-1;;;;;21560:19:0;;21552:74;;;;-1:-1:-1;;;21552:74:0;;12979:2:1;21552:74:0;;;12961:21:1;13018:2;12998:18;;;12991:30;13057:34;13037:18;;;13030:62;-1:-1:-1;;;13108:18:1;;;13101:40;13158:19;;21552:74:0;12777:406:1;21552:74:0;-1:-1:-1;;;;;;21638:16:0;;;;;:9;:16;;;;;;;21466:193::o;11952:94::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;12011:30:::1;12038:1;12011:18;:30::i;:::-;11952:94::o:0;47476:100::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;11428:6;;47523:48:::1;::::0;-1:-1:-1;;;;;11428:6:0;;;;47549:21:::1;47523:48:::0;::::1;;;::::0;::::1;::::0;;;47549:21;11428:6;47523:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;47476:100::o:0;47024:83::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;47085:5:::1;:17:::0;47024:83::o;22130:95::-;22186:13;22213:7;22206:14;;;;;:::i;23642:274::-;-1:-1:-1;;;;;23739:24:0;;10362:10;23739:24;;23731:62;;;;-1:-1:-1;;;23731:62:0;;13390:2:1;23731:62:0;;;13372:21:1;13429:2;13409:18;;;13402:30;13468:27;13448:18;;;13441:55;13513:18;;23731:62:0;13188:349:1;23731:62:0;10362:10;23800:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23800:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23800:53:0;;;;;;;;;;23863:48;;540:41:1;;;23800:42:0;;10362:10;23863:48;;513:18:1;23863:48:0;;;;;;;23642:274;;:::o;45900:404::-;45979:16;46002:18;46023:25;46033:14;46023:9;:25::i;:::-;46002:46;;46053:34;46104:10;46090:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46090:25:0;;46053:62;;46126:9;46121:150;46141:10;46137:1;:14;46121:150;;;46183:21;:61;46205:38;46225:14;46241:1;46205:19;:38::i;:::-;46183:61;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46183:61:0;46160:17;46178:1;46160:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;46160:84:0;;;:20;;;;;;;;;;;:84;46261:3;;46121:150;;24755:286;24897:41;10362:10;24930:7;24897:18;:41::i;:::-;24889:103;;;;-1:-1:-1;;;24889:103:0;;;;;;;:::i;:::-;24997:39;25011:4;25017:2;25021:7;25030:5;24997:13;:39::i;:::-;24755:286;;;;:::o;41282:553::-;39137:1;39684:7;;:19;;39676:63;;;;-1:-1:-1;;;39676:63:0;;;;;;;:::i;:::-;39137:1;39805:7;:18;41378:6:::1;::::0;::::1;;41374:42;;;41393:23;::::0;-1:-1:-1;;;41393:23:0;;41410:5:::1;41393:23;::::0;::::1;540:41:1::0;513:18;;41393:23:0::1;400:187:1::0;41374:42:0::1;41438:5;;41425:9;:18;41421:64;;41452:33;::::0;-1:-1:-1;;;41452:33:0;;41475:9:::1;41452:33;::::0;::::1;2688:25:1::0;2661:18;;41452:33:0::1;2542:177:1::0;41421:64:0::1;-1:-1:-1::0;;;;;41494:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;:44;41490:126:::1;;-1:-1:-1::0;;;;;41576:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;;;41547:69;;-1:-1:-1;;;41547:69:0;;::::1;::::0;::::1;2688:25:1::0;;;;2661:18;;41547:69:0::1;2542:177:1::0;41490:126:0::1;41635:1;41621:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;41723:10:0::1;::::0;;-1:-1:-1;;;;;41681:39:0;::::1;;::::0;;;:21:::1;:39;::::0;;;;;;;:52;;;41738:33;;;:21:::1;:33:::0;;;;;;:52;;-1:-1:-1;;;;;;41738:52:0::1;::::0;;::::1;::::0;;41819:10;41795:35:::1;::::0;41703:16;;41795:5:::1;:35::i;22284:313::-:0;26490:4;26508:16;;;:7;:16;;;;;;22357:13;;-1:-1:-1;;;;;26508:16:0;22377:76;;;;-1:-1:-1;;;22377:76:0;;13744:2:1;22377:76:0;;;13726:21:1;13783:2;13763:18;;;13756:30;13822:34;13802:18;;;13795:62;-1:-1:-1;;;13873:18:1;;;13866:45;13928:19;;22377:76:0;13542:411:1;22377:76:0;22460:21;22484:10;:8;:10::i;:::-;22460:34;;22530:1;22512:7;22506:21;:25;:86;;;;;;;;;;;;;;;;;22558:7;22567:18;:7;:16;:18::i;:::-;22541:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22499:93;22284:313;-1:-1:-1;;;22284:313:0:o;40476:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44755:704::-;44989:56;;-1:-1:-1;;;44989:56:0;;-1:-1:-1;;;;;14625:32:1;;;44989:56:0;;;14607:51:1;14674:18;;;14667:34;;;44897:7:0;;44945:15;;44897:7;;44989:23;;;;;;14580:18:1;;44989:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44966:79;;45050:18;45071:25;45081:14;45071:9;:25::i;:::-;45050:46;;45106:9;45101:330;45121:10;45117:1;:14;45101:330;;;45140:30;45173:21;:61;45195:38;45215:14;45231:1;45195:19;:38::i;:::-;45173:61;;;;;;;;;;;-1:-1:-1;45173:61:0;;-1:-1:-1;;;;;45173:61:0;;;;-1:-1:-1;45244:40:0;;;;45240:165;;45327:64;;-1:-1:-1;;;45327:64:0;;-1:-1:-1;;;;;14625:32:1;;;45327:64:0;;;14607:51:1;14674:18;;;14667:34;;;45327:23:0;;;;;14580:18:1;;45327:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45311:80;;;;45240:165;-1:-1:-1;45421:3:0;;45101:330;;;-1:-1:-1;45442:12:0;;44755:704;-1:-1:-1;;;;;;44755:704:0:o;12186:186::-;11428:6;;-1:-1:-1;;;;;11428:6:0;10362:10;11554:23;11546:68;;;;-1:-1:-1;;;11546:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12269:22:0;::::1;12261:73;;;::::0;-1:-1:-1;;;12261:73:0;;14914:2:1;12261:73:0::1;::::0;::::1;14896:21:1::0;14953:2;14933:18;;;14926:30;14992:34;14972:18;;;14965:62;-1:-1:-1;;;15043:18:1;;;15036:36;15089:19;;12261:73:0::1;14712:402:1::0;12261:73:0::1;12339:28;12358:8;12339:18;:28::i;21145:269::-:0;21247:4;-1:-1:-1;;;;;;21269:40:0;;-1:-1:-1;;;21269:40:0;;:96;;-1:-1:-1;;;;;;;21317:48:0;;-1:-1:-1;;;21317:48:0;21269:96;:140;;;-1:-1:-1;;;;;;;;;;14208:40:0;;;21373:36;14105:148;29948:159;30017:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30017:29:0;-1:-1:-1;;;;;30017:29:0;;;;;;;;:24;;30065:23;30017:24;30065:14;:23::i;:::-;-1:-1:-1;;;;;30056:46:0;;;;;;;;;;;29948:159;;:::o;28732:315::-;28786:13;28802:23;28817:7;28802:14;:23::i;:::-;28786:39;;28832:48;28853:5;28868:1;28872:7;28832:20;:48::i;:::-;28909:29;28926:1;28930:7;28909:8;:29::i;:::-;-1:-1:-1;;;;;28945:16:0;;;;;;:9;:16;;;;;:21;;28965:1;;28945:16;:21;;28965:1;;28945:21;:::i;:::-;;;;-1:-1:-1;;28978:16:0;;;;:7;:16;;;;;;28971:23;;-1:-1:-1;;;;;;28971:23:0;;;29006:36;28986:7;;28978:16;-1:-1:-1;;;;;29006:36:0;;;;;28978:16;;29006:36;28781:266;28732:315;:::o;28193:343::-;-1:-1:-1;;;;;28267:16:0;;28259:61;;;;-1:-1:-1;;;28259:61:0;;15451:2:1;28259:61:0;;;15433:21:1;;;15470:18;;;15463:30;15529:34;15509:18;;;15502:62;15581:18;;28259:61:0;15249:356:1;28259:61:0;26490:4;26508:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26508:16:0;:30;28325:58;;;;-1:-1:-1;;;28325:58:0;;15812:2:1;28325:58:0;;;15794:21:1;15851:2;15831:18;;;15824:30;15890;15870:18;;;15863:58;15938:18;;28325:58:0;15610:352:1;28325:58:0;28390:45;28419:1;28423:2;28427:7;28390:20;:45::i;:::-;-1:-1:-1;;;;;28442:13:0;;;;;;:9;:13;;;;;:18;;28459:1;;28442:13;:18;;28459:1;;28442:18;:::i;:::-;;;;-1:-1:-1;;28465:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28465:21:0;-1:-1:-1;;;;;28465:21:0;;;;;;;;28498:33;;28465:16;;;28498:33;;28465:16;;28498:33;28193:343;;:::o;26686:327::-;26779:4;26508:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26508:16:0;26790:73;;;;-1:-1:-1;;;26790:73:0;;16169:2:1;26790:73:0;;;16151:21:1;16208:2;16188:18;;;16181:30;16247:34;16227:18;;;16220:62;-1:-1:-1;;;16298:18:1;;;16291:42;16350:19;;26790:73:0;15967:408:1;26790:73:0;26868:13;26884:23;26899:7;26884:14;:23::i;:::-;26868:39;;26931:5;-1:-1:-1;;;;;26920:16:0;:7;-1:-1:-1;;;;;26920:16:0;;:51;;;;26964:7;-1:-1:-1;;;;;26940:31:0;:20;26952:7;26940:11;:20::i;:::-;-1:-1:-1;;;;;26940:31:0;;26920:51;:87;;;-1:-1:-1;;;;;;24090:25:0;;;24072:4;24090:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26975:32;26912:96;26686:327;-1:-1:-1;;;;26686:327:0:o;29348:500::-;29480:4;-1:-1:-1;;;;;29453:31:0;:23;29468:7;29453:14;:23::i;:::-;-1:-1:-1;;;;;29453:31:0;;29445:85;;;;-1:-1:-1;;;29445:85:0;;16582:2:1;29445:85:0;;;16564:21:1;16621:2;16601:18;;;16594:30;16660:34;16640:18;;;16633:62;-1:-1:-1;;;16711:18:1;;;16704:39;16760:19;;29445:85:0;16380:405:1;29445:85:0;-1:-1:-1;;;;;29543:16:0;;29535:65;;;;-1:-1:-1;;;29535:65:0;;16992:2:1;29535:65:0;;;16974:21:1;17031:2;17011:18;;;17004:30;17070:34;17050:18;;;17043:62;-1:-1:-1;;;17121:18:1;;;17114:34;17165:19;;29535:65:0;16790:400:1;29535:65:0;29607:39;29628:4;29634:2;29638:7;29607:20;:39::i;:::-;29699:29;29716:1;29720:7;29699:8;:29::i;:::-;-1:-1:-1;;;;;29735:15:0;;;;;;:9;:15;;;;;:20;;29754:1;;29735:15;:20;;29754:1;;29735:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29760:13:0;;;;;;:9;:13;;;;;:18;;29777:1;;29760:13;:18;;29777:1;;29760:18;:::i;:::-;;;;-1:-1:-1;;29783:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29783:21:0;-1:-1:-1;;;;;29783:21:0;;;;;;;;;29816:27;;29783:16;;29816:27;;;;;;;29348:500;;;:::o;12517:170::-;12604:6;;;-1:-1:-1;;;;;12615:17:0;;;-1:-1:-1;;;;;;12615:17:0;;;;;;;12642:40;;12604:6;;;12615:17;12604:6;;12642:40;;12585:16;;12642:40;12580:107;12517:170;:::o;25866:273::-;25990:28;26000:4;26006:2;26010:7;25990:9;:28::i;:::-;26031:48;26054:4;26060:2;26064:7;26073:5;26031:22;:48::i;:::-;26023:111;;;;-1:-1:-1;;;26023:111:0;;;;;;;:::i;47147:105::-;47207:13;47234;47227:20;;;;;:::i;273:594::-;329:13;532:10;528:38;;-1:-1:-1;;550:10:0;;;;;;;;;;;;-1:-1:-1;;;550:10:0;;;;;273:594::o;528:38::-;585:5;570:12;614:54;621:9;;614:54;;638:8;;;;:::i;:::-;;-1:-1:-1;652:10:0;;-1:-1:-1;660:2:0;652:10;;:::i;:::-;;;614:54;;;672:19;704:6;694:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;694:17:0;;672:39;;716:121;723:10;;716:121;;741:11;751:1;741:11;;:::i;:::-;;-1:-1:-1;801:10:0;809:2;801:5;:10;:::i;:::-;788:24;;:2;:24;:::i;:::-;775:39;;758:6;765;758:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;758:56:0;;;;;;;;-1:-1:-1;820:11:0;829:2;820:11;;:::i;:::-;;;716:121;;34204:487;-1:-1:-1;;;;;34377:18:0;;34373:157;;34403:40;34435:7;35458:10;:17;;35431:24;;;;:15;:24;;;;;:44;;;35480:24;;;;;;;;;;;;35360:149;34403:40;34373:157;;;34467:2;-1:-1:-1;;;;;34459:10:0;:4;-1:-1:-1;;;;;34459:10:0;;34455:75;;34477:47;34510:4;34516:7;34477:32;:47::i;:::-;-1:-1:-1;;;;;34538:16:0;;34534:153;;34562:45;34599:7;34562:36;:45::i;34534:153::-;34629:4;-1:-1:-1;;;;;34623:10:0;:2;-1:-1:-1;;;;;34623:10:0;;34619:68;;34641:40;34669:2;34673:7;34641:27;:40::i;30639:604::-;30767:4;-1:-1:-1;;;;;30782:13:0;;3460:20;3496:8;30778:461;;30809:72;;-1:-1:-1;;;30809:72:0;;-1:-1:-1;;;;;30809:36:0;;;;;:72;;10362:10;;30860:4;;30866:7;;30875:5;;30809:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30809:72:0;;;;;;;;-1:-1:-1;;30809:72:0;;;;;;;;;;;;:::i;:::-;;;30805:400;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31018:13:0;;31014:185;;31046:60;;-1:-1:-1;;;31046:60:0;;;;;;;:::i;31014:185::-;31176:6;31170:13;31161:6;31157:2;31153:15;31146:38;30805:400;-1:-1:-1;;;;;;30920:51:0;-1:-1:-1;;;30920:51:0;;-1:-1:-1;30913:58:0;;30778:461;-1:-1:-1;31229:4:0;30639:604;;;;;;:::o;36109:898::-;36357:22;36407:1;36382:22;36399:4;36382:16;:22::i;:::-;:26;;;;:::i;:::-;36413:18;36434:26;;;:17;:26;;;;;;36357:51;;-1:-1:-1;36555:28:0;;;36551:295;;-1:-1:-1;;;;;36613:18:0;;36591:19;36613:18;;;:12;:18;;;;;;;;:34;;;;;;;;;36655:30;;;;;;:44;;;36763:30;;:17;:30;;;;;:43;;;36551:295;-1:-1:-1;36930:26:0;;;;:17;:26;;;;;;;;36923:33;;;-1:-1:-1;;;;;36968:18:0;;;;;:12;:18;;;;;:34;;;;;;;36961:41;36109:898::o;37284:998::-;37544:10;:17;37519:22;;37544:21;;37564:1;;37544:21;:::i;:::-;37570:18;37591:24;;;:15;:24;;;;;;37940:10;:26;;37519:46;;-1:-1:-1;37591:24:0;;37519:46;;37940:26;;;;;;:::i;:::-;;;;;;;;;37918:48;;37998:11;37973:10;37984;37973:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;38072:28;;;:15;:28;;;;;;;:41;;;38232:24;;;;;38225:31;38261:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;37355:927;;;37284:998;:::o;34974:200::-;35053:14;35070:20;35087:2;35070:16;:20::i;:::-;-1:-1:-1;;;;;35095:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;35134:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;34974:200:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:258::-;1014:1;1024:113;1038:6;1035:1;1032:13;1024:113;;;1114:11;;;1108:18;1095:11;;;1088:39;1060:2;1053:10;1024:113;;;1155:6;1152:1;1149:13;1146:48;;;-1:-1:-1;;1190:1:1;1172:16;;1165:27;942:258::o;1205:::-;1247:3;1285:5;1279:12;1312:6;1307:3;1300:19;1328:63;1384:6;1377:4;1372:3;1368:14;1361:4;1354:5;1350:16;1328:63;:::i;:::-;1445:2;1424:15;-1:-1:-1;;1420:29:1;1411:39;;;;1452:4;1407:50;;1205:258;-1:-1:-1;;1205:258:1:o;1468:220::-;1617:2;1606:9;1599:21;1580:4;1637:45;1678:2;1667:9;1663:18;1655:6;1637:45;:::i;1693:180::-;1752:6;1805:2;1793:9;1784:7;1780:23;1776:32;1773:52;;;1821:1;1818;1811:12;1773:52;-1:-1:-1;1844:23:1;;1693:180;-1:-1:-1;1693:180:1:o;2086:131::-;-1:-1:-1;;;;;2161:31:1;;2151:42;;2141:70;;2207:1;2204;2197:12;2222:315;2290:6;2298;2351:2;2339:9;2330:7;2326:23;2322:32;2319:52;;;2367:1;2364;2357:12;2319:52;2406:9;2393:23;2425:31;2450:5;2425:31;:::i;:::-;2475:5;2527:2;2512:18;;;;2499:32;;-1:-1:-1;;;2222:315:1:o;2724:456::-;2801:6;2809;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;2925:9;2912:23;2944:31;2969:5;2944:31;:::i;:::-;2994:5;-1:-1:-1;3051:2:1;3036:18;;3023:32;3064:33;3023:32;3064:33;:::i;:::-;2724:456;;3116:7;;-1:-1:-1;;;3170:2:1;3155:18;;;;3142:32;;2724:456::o;3185:388::-;3253:6;3261;3314:2;3302:9;3293:7;3289:23;3285:32;3282:52;;;3330:1;3327;3320:12;3282:52;3369:9;3356:23;3388:31;3413:5;3388:31;:::i;:::-;3438:5;-1:-1:-1;3495:2:1;3480:18;;3467:32;3508:33;3467:32;3508:33;:::i;:::-;3560:7;3550:17;;;3185:388;;;;;:::o;3578:247::-;3637:6;3690:2;3678:9;3669:7;3665:23;3661:32;3658:52;;;3706:1;3703;3696:12;3658:52;3745:9;3732:23;3764:31;3789:5;3764:31;:::i;3830:127::-;3891:10;3886:3;3882:20;3879:1;3872:31;3922:4;3919:1;3912:15;3946:4;3943:1;3936:15;3962:632;4027:5;4057:18;4098:2;4090:6;4087:14;4084:40;;;4104:18;;:::i;:::-;4179:2;4173:9;4147:2;4233:15;;-1:-1:-1;;4229:24:1;;;4255:2;4225:33;4221:42;4209:55;;;4279:18;;;4299:22;;;4276:46;4273:72;;;4325:18;;:::i;:::-;4365:10;4361:2;4354:22;4394:6;4385:15;;4424:6;4416;4409:22;4464:3;4455:6;4450:3;4446:16;4443:25;4440:45;;;4481:1;4478;4471:12;4440:45;4531:6;4526:3;4519:4;4511:6;4507:17;4494:44;4586:1;4579:4;4570:6;4562;4558:19;4554:30;4547:41;;;;3962:632;;;;;:::o;4599:451::-;4668:6;4721:2;4709:9;4700:7;4696:23;4692:32;4689:52;;;4737:1;4734;4727:12;4689:52;4777:9;4764:23;4810:18;4802:6;4799:30;4796:50;;;4842:1;4839;4832:12;4796:50;4865:22;;4918:4;4910:13;;4906:27;-1:-1:-1;4896:55:1;;4947:1;4944;4937:12;4896:55;4970:74;5036:7;5031:2;5018:16;5013:2;5009;5005:11;4970:74;:::i;5055:632::-;5226:2;5278:21;;;5348:13;;5251:18;;;5370:22;;;5197:4;;5226:2;5449:15;;;;5423:2;5408:18;;;5197:4;5492:169;5506:6;5503:1;5500:13;5492:169;;;5567:13;;5555:26;;5636:15;;;;5601:12;;;;5528:1;5521:9;5492:169;;5692:456;5769:6;5777;5785;5838:2;5826:9;5817:7;5813:23;5809:32;5806:52;;;5854:1;5851;5844:12;5806:52;5893:9;5880:23;5912:31;5937:5;5912:31;:::i;:::-;5962:5;-1:-1:-1;6014:2:1;5999:18;;5986:32;;-1:-1:-1;6070:2:1;6055:18;;6042:32;6083:33;6042:32;6083:33;:::i;:::-;6135:7;6125:17;;;5692:456;;;;;:::o;6153:315::-;6218:6;6226;6279:2;6267:9;6258:7;6254:23;6250:32;6247:52;;;6295:1;6292;6285:12;6247:52;6334:9;6321:23;6353:31;6378:5;6353:31;:::i;:::-;6403:5;-1:-1:-1;6427:35:1;6458:2;6443:18;;6427:35;:::i;:::-;6417:45;;6153:315;;;;;:::o;6473:658::-;6644:2;6696:21;;;6766:13;;6669:18;;;6788:22;;;6615:4;;6644:2;6867:15;;;;6841:2;6826:18;;;6615:4;6910:195;6924:6;6921:1;6918:13;6910:195;;;6989:13;;-1:-1:-1;;;;;6985:39:1;6973:52;;7080:15;;;;7045:12;;;;7021:1;6939:9;6910:195;;7136:795;7231:6;7239;7247;7255;7308:3;7296:9;7287:7;7283:23;7279:33;7276:53;;;7325:1;7322;7315:12;7276:53;7364:9;7351:23;7383:31;7408:5;7383:31;:::i;:::-;7433:5;-1:-1:-1;7490:2:1;7475:18;;7462:32;7503:33;7462:32;7503:33;:::i;:::-;7555:7;-1:-1:-1;7609:2:1;7594:18;;7581:32;;-1:-1:-1;7664:2:1;7649:18;;7636:32;7691:18;7680:30;;7677:50;;;7723:1;7720;7713:12;7677:50;7746:22;;7799:4;7791:13;;7787:27;-1:-1:-1;7777:55:1;;7828:1;7825;7818:12;7777:55;7851:74;7917:7;7912:2;7899:16;7894:2;7890;7886:11;7851:74;:::i;:::-;7841:84;;;7136:795;;;;;;;:::o;7936:356::-;8138:2;8120:21;;;8157:18;;;8150:30;8216:34;8211:2;8196:18;;8189:62;8283:2;8268:18;;7936:356::o;8297:380::-;8376:1;8372:12;;;;8419;;;8440:61;;8494:4;8486:6;8482:17;8472:27;;8440:61;8547:2;8539:6;8536:14;8516:18;8513:38;8510:161;;;8593:10;8588:3;8584:20;8581:1;8574:31;8628:4;8625:1;8618:15;8656:4;8653:1;8646:15;8510:161;;8297:380;;;:::o;9922:355::-;10124:2;10106:21;;;10163:2;10143:18;;;10136:30;10202:33;10197:2;10182:18;;10175:61;10268:2;10253:18;;9922:355::o;10282:127::-;10343:10;10338:3;10334:20;10331:1;10324:31;10374:4;10371:1;10364:15;10398:4;10395:1;10388:15;10414:128;10454:3;10485:1;10481:6;10478:1;10475:13;10472:39;;;10491:18;;:::i;:::-;-1:-1:-1;10527:9:1;;10414:128::o;10547:413::-;10749:2;10731:21;;;10788:2;10768:18;;;10761:30;10827:34;10822:2;10807:18;;10800:62;-1:-1:-1;;;10893:2:1;10878:18;;10871:47;10950:3;10935:19;;10547:413::o;10965:184::-;11035:6;11088:2;11076:9;11067:7;11063:23;11059:32;11056:52;;;11104:1;11101;11094:12;11056:52;-1:-1:-1;11127:16:1;;10965:184;-1:-1:-1;10965:184:1:o;11979:127::-;12040:10;12035:3;12031:20;12028:1;12021:31;12071:4;12068:1;12061:15;12095:4;12092:1;12085:15;12521:251;12591:6;12644:2;12632:9;12623:7;12619:23;12615:32;12612:52;;;12660:1;12657;12650:12;12612:52;12692:9;12686:16;12711:31;12736:5;12711:31;:::i;13958:470::-;14137:3;14175:6;14169:13;14191:53;14237:6;14232:3;14225:4;14217:6;14213:17;14191:53;:::i;:::-;14307:13;;14266:16;;;;14329:57;14307:13;14266:16;14363:4;14351:17;;14329:57;:::i;:::-;14402:20;;13958:470;-1:-1:-1;;;;13958:470:1:o;15119:125::-;15159:4;15187:1;15184;15181:8;15178:34;;;15192:18;;:::i;:::-;-1:-1:-1;15229:9:1;;15119:125::o;17195:414::-;17397:2;17379:21;;;17436:2;17416:18;;;17409:30;17475:34;17470:2;17455:18;;17448:62;-1:-1:-1;;;17541:2:1;17526:18;;17519:48;17599:3;17584:19;;17195:414::o;17614:135::-;17653:3;-1:-1:-1;;17674:17:1;;17671:43;;;17694:18;;:::i;:::-;-1:-1:-1;17741:1:1;17730:13;;17614:135::o;17754:127::-;17815:10;17810:3;17806:20;17803:1;17796:31;17846:4;17843:1;17836:15;17870:4;17867:1;17860:15;17886:120;17926:1;17952;17942:35;;17957:18;;:::i;:::-;-1:-1:-1;17991:9:1;;17886:120::o;18011:112::-;18043:1;18069;18059:35;;18074:18;;:::i;:::-;-1:-1:-1;18108:9:1;;18011:112::o;18128:489::-;-1:-1:-1;;;;;18397:15:1;;;18379:34;;18449:15;;18444:2;18429:18;;18422:43;18496:2;18481:18;;18474:34;;;18544:3;18539:2;18524:18;;18517:31;;;18322:4;;18565:46;;18591:19;;18583:6;18565:46;:::i;:::-;18557:54;18128:489;-1:-1:-1;;;;;;18128:489:1:o;18622:249::-;18691:6;18744:2;18732:9;18723:7;18719:23;18715:32;18712:52;;;18760:1;18757;18750:12;18712:52;18792:9;18786:16;18811:30;18835:5;18811:30;:::i;18876:127::-;18937:10;18932:3;18928:20;18925:1;18918:31;18968:4;18965:1;18958:15;18992:4;18989:1;18982:15

Swarm Source

ipfs://db02224f4cd93e9b2c4d5fb24b3f889d580b462ab82d584e8eaf60d7258802da

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.