ETH Price: $3,387.55 (-1.32%)
Gas: 6.92 Gwei

Token

404Bouquets (404Bouquets)
 

Overview

Max Total Supply

404 404Bouquets

Holders

91

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
booblino.eth
Balance
1 404Bouquets

Value
$0.00
0xc2978441f46a76c60e0cd59e986498b75a40572d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleDN404

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-02-14
*/

// SPDX-License-Identifier: MIT
// File: https://github.com/Vectorized/solady/blob/main/src/utils/SafeTransferLib.sol


pragma solidity ^0.8.4;

/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)
///
/// @dev Note:
/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.
/// - For ERC20s, this implementation won't check that a token has code,
///   responsibility is delegated to the caller.
library SafeTransferLib {
	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                       CUSTOM ERRORS                        */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The ETH transfer has failed.
	error ETHTransferFailed();

	/// @dev The ERC20 `transferFrom` has failed.
	error TransferFromFailed();

	/// @dev The ERC20 `transfer` has failed.
	error TransferFailed();

	/// @dev The ERC20 `approve` has failed.
	error ApproveFailed();

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                         CONSTANTS                          */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.
	uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;

	/// @dev Suggested gas stipend for contract receiving ETH to perform a few
	/// storage reads and writes, but low enough to prevent griefing.
	uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                       ETH OPERATIONS                       */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	// If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.
	//
	// The regular variants:
	// - Forwards all remaining gas to the target.
	// - Reverts if the target reverts.
	// - Reverts if the current contract has insufficient balance.
	//
	// The force variants:
	// - Forwards with an optional gas stipend
	//   (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).
	// - If the target reverts, or if the gas stipend is exhausted,
	//   creates a temporary contract to force send the ETH via `SELFDESTRUCT`.
	//   Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.
	// - Reverts if the current contract has insufficient balance.
	//
	// The try variants:
	// - Forwards with a mandatory gas stipend.
	// - Instead of reverting, returns whether the transfer succeeded.

	/// @dev Sends `amount` (in wei) ETH to `to`.
	function safeTransferETH(address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
				revert(0x1c, 0x04)
			}
		}
	}

	/// @dev Sends all the ETH in the current contract to `to`.
	function safeTransferAllETH(address to) internal {
		/// @solidity memory-safe-assembly
		assembly {
			// Transfer all the ETH and check if it succeeded or not.
			if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
				revert(0x1c, 0x04)
			}
		}
	}

	/// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.
	function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {
		/// @solidity memory-safe-assembly
		assembly {
			if lt(selfbalance(), amount) {
				mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
				revert(0x1c, 0x04)
			}
			if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, to) // Store the address in scratch space.
				mstore8(0x0b, 0x73) // Opcode `PUSH20`.
				mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
				if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
			}
		}
	}

	/// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.
	function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {
		/// @solidity memory-safe-assembly
		assembly {
			if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, to) // Store the address in scratch space.
				mstore8(0x0b, 0x73) // Opcode `PUSH20`.
				mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
				if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
			}
		}
	}

	/// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.
	function forceSafeTransferETH(address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			if lt(selfbalance(), amount) {
				mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
				revert(0x1c, 0x04)
			}
			if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, to) // Store the address in scratch space.
				mstore8(0x0b, 0x73) // Opcode `PUSH20`.
				mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
				if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
			}
		}
	}

	/// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.
	function forceSafeTransferAllETH(address to) internal {
		/// @solidity memory-safe-assembly
		assembly {
			// forgefmt: disable-next-item
			if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
				mstore(0x00, to) // Store the address in scratch space.
				mstore8(0x0b, 0x73) // Opcode `PUSH20`.
				mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
				if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
			}
		}
	}

	/// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.
	function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)
		internal
		returns (bool success)
	{
		/// @solidity memory-safe-assembly
		assembly {
			success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)
		}
	}

	/// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.
	function trySafeTransferAllETH(address to, uint256 gasStipend)
		internal
		returns (bool success)
	{
		/// @solidity memory-safe-assembly
		assembly {
			success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)
		}
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                      ERC20 OPERATIONS                      */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Sends `amount` of ERC20 `token` from `from` to `to`.
	/// Reverts upon failure.
	///
	/// The `from` account must have at least `amount` approved for
	/// the current contract to manage.
	function safeTransferFrom(address token, address from, address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			let m := mload(0x40) // Cache the free memory pointer.
			mstore(0x60, amount) // Store the `amount` argument.
			mstore(0x40, to) // Store the `to` argument.
			mstore(0x2c, shl(96, from)) // Store the `from` argument.
			mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.
			// Perform the transfer, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)
				)
			) {
				mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x60, 0) // Restore the zero slot to zero.
			mstore(0x40, m) // Restore the free memory pointer.
		}
	}

	/// @dev Sends all of ERC20 `token` from `from` to `to`.
	/// Reverts upon failure.
	///
	/// The `from` account must have their entire balance approved for
	/// the current contract to manage.
	function safeTransferAllFrom(address token, address from, address to)
		internal
		returns (uint256 amount)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let m := mload(0x40) // Cache the free memory pointer.
			mstore(0x40, to) // Store the `to` argument.
			mstore(0x2c, shl(96, from)) // Store the `from` argument.
			mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.
			// Read the balance, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					gt(returndatasize(), 0x1f), // At least 32 bytes returned.
					staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)
				)
			) {
				mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.
			amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.
			// Perform the transfer, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)
				)
			) {
				mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x60, 0) // Restore the zero slot to zero.
			mstore(0x40, m) // Restore the free memory pointer.
		}
	}

	/// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.
	/// Reverts upon failure.
	function safeTransfer(address token, address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x14, to) // Store the `to` argument.
			mstore(0x34, amount) // Store the `amount` argument.
			mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.
			// Perform the transfer, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
				)
			) {
				mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
		}
	}

	/// @dev Sends all of ERC20 `token` from the current contract to `to`.
	/// Reverts upon failure.
	function safeTransferAll(address token, address to) internal returns (uint256 amount) {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.
			mstore(0x20, address()) // Store the address of the current contract.
			// Read the balance, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					gt(returndatasize(), 0x1f), // At least 32 bytes returned.
					staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)
				)
			) {
				mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x14, to) // Store the `to` argument.
			amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.
			mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.
			// Perform the transfer, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
				)
			) {
				mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
		}
	}

	/// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.
	/// Reverts upon failure.
	function safeApprove(address token, address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x14, to) // Store the `to` argument.
			mstore(0x34, amount) // Store the `amount` argument.
			mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
			// Perform the approval, reverting upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
				)
			) {
				mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.
				revert(0x1c, 0x04)
			}
			mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
		}
	}

	/// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.
	/// If the initial attempt to approve fails, attempts to reset the approved amount to zero,
	/// then retries the approval again (some tokens, e.g. USDT, requires this).
	/// Reverts upon failure.
	function safeApproveWithRetry(address token, address to, uint256 amount) internal {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x14, to) // Store the `to` argument.
			mstore(0x34, amount) // Store the `amount` argument.
			mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
			// Perform the approval, retrying upon failure.
			if iszero(
				and( // The arguments of `and` are evaluated from right to left.
					or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
					call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
				)
			) {
				mstore(0x34, 0) // Store 0 for the `amount`.
				mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
				pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.
				mstore(0x34, amount) // Store back the original `amount`.
				// Retry the approval, reverting upon failure.
				if iszero(
					and(
						or(eq(mload(0x00), 1), iszero(returndatasize())), // Returned 1 or nothing.
						call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
					)
				) {
					mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.
					revert(0x1c, 0x04)
				}
			}
			mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
		}
	}

	/// @dev Returns the amount of ERC20 `token` owned by `account`.
	/// Returns zero if the `token` does not exist.
	function balanceOf(address token, address account) internal view returns (uint256 amount) {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x14, account) // Store the `account` argument.
			mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.
			amount :=
				mul(
					mload(0x20),
					and( // The arguments of `and` are evaluated from right to left.
						gt(returndatasize(), 0x1f), // At least 32 bytes returned.
						staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)
					)
				)
		}
	}
}

// File: https://github.com/Vectorized/solady/blob/main/src/utils/LibString.sol


pragma solidity ^0.8.4;

/// @notice Library for converting numbers into strings and other string operations.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibString.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/LibString.sol)
///
/// @dev Note:
/// For performance and bytecode compactness, most of the string operations are restricted to
/// byte strings (7-bit ASCII), except where otherwise specified.
/// Usage of byte string operations on charsets with runes spanning two or more bytes
/// can lead to undefined behavior.
library LibString {
	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                        CUSTOM ERRORS                       */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The length of the output is too small to contain all the hex digits.
	error HexLengthInsufficient();

	/// @dev The length of the string is more than 32 bytes.
	error TooBigForSmallString();

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                         CONSTANTS                          */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The constant returned when the `search` is not found in the string.
	uint256 internal constant NOT_FOUND = type(uint256).max;

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                     DECIMAL OPERATIONS                     */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Returns the base 10 decimal representation of `value`.
	function toString(uint256 value) internal pure returns (string memory str) {
		/// @solidity memory-safe-assembly
		assembly {
			// The maximum value of a uint256 contains 78 digits (1 byte per digit), but
			// we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
			// We will need 1 word for the trailing zeros padding, 1 word for the length,
			// and 3 words for a maximum of 78 digits.
			str := add(mload(0x40), 0x80)
			// Update the free memory pointer to allocate.
			mstore(0x40, add(str, 0x20))
			// Zeroize the slot after the string.
			mstore(str, 0)

			// Cache the end of the memory to calculate the length later.
			let end := str

			let w := not(0) // Tsk.
			// We write the string from rightmost digit to leftmost digit.
			// The following is essentially a do-while loop that also handles the zero case.
			for { let temp := value } 1 {} {
				str := add(str, w) // `sub(str, 1)`.
				// Write the character to the pointer.
				// The ASCII index of the '0' character is 48.
				mstore8(str, add(48, mod(temp, 10)))
				// Keep dividing `temp` until zero.
				temp := div(temp, 10)
				if iszero(temp) { break }
			}

			let length := sub(end, str)
			// Move the pointer 32 bytes leftwards to make room for the length.
			str := sub(str, 0x20)
			// Store the length.
			mstore(str, length)
		}
	}

	/// @dev Returns the base 10 decimal representation of `value`.
	function toString(int256 value) internal pure returns (string memory str) {
		if (value >= 0) {
			return toString(uint256(value));
		}
		unchecked {
			str = toString(~uint256(value) + 1);
		}
		/// @solidity memory-safe-assembly
		assembly {
			// We still have some spare memory space on the left,
			// as we have allocated 3 words (96 bytes) for up to 78 digits.
			let length := mload(str) // Load the string length.
			mstore(str, 0x2d) // Store the '-' character.
			str := sub(str, 1) // Move back the string pointer by a byte.
			mstore(str, add(length, 1)) // Update the string length.
		}
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                   HEXADECIMAL OPERATIONS                   */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Returns the hexadecimal representation of `value`,
	/// left-padded to an input length of `length` bytes.
	/// The output is prefixed with "0x" encoded using 2 hexadecimal digits per byte,
	/// giving a total length of `length * 2 + 2` bytes.
	/// Reverts if `length` is too small for the output to contain all the digits.
	function toHexString(uint256 value, uint256 length) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(value, length);
		/// @solidity memory-safe-assembly
		assembly {
			let strLength := add(mload(str), 2) // Compute the length.
			mstore(str, 0x3078) // Write the "0x" prefix.
			str := sub(str, 2) // Move the pointer.
			mstore(str, strLength) // Write the length.
		}
	}

	/// @dev Returns the hexadecimal representation of `value`,
	/// left-padded to an input length of `length` bytes.
	/// The output is prefixed with "0x" encoded using 2 hexadecimal digits per byte,
	/// giving a total length of `length * 2` bytes.
	/// Reverts if `length` is too small for the output to contain all the digits.
	function toHexStringNoPrefix(uint256 value, uint256 length)
		internal
		pure
		returns (string memory str)
	{
		/// @solidity memory-safe-assembly
		assembly {
			// We need 0x20 bytes for the trailing zeros padding, `length * 2` bytes
			// for the digits, 0x02 bytes for the prefix, and 0x20 bytes for the length.
			// We add 0x20 to the total and round down to a multiple of 0x20.
			// (0x20 + 0x20 + 0x02 + 0x20) = 0x62.
			str := add(mload(0x40), and(add(shl(1, length), 0x42), not(0x1f)))
			// Allocate the memory.
			mstore(0x40, add(str, 0x20))
			// Zeroize the slot after the string.
			mstore(str, 0)

			// Cache the end to calculate the length later.
			let end := str
			// Store "0123456789abcdef" in scratch space.
			mstore(0x0f, 0x30313233343536373839616263646566)

			let start := sub(str, add(length, length))
			let w := not(1) // Tsk.
			let temp := value
			// We write the string from rightmost digit to leftmost digit.
			// The following is essentially a do-while loop that also handles the zero case.
			for {} 1 {} {
				str := add(str, w) // `sub(str, 2)`.
				mstore8(add(str, 1), mload(and(temp, 15)))
				mstore8(str, mload(and(shr(4, temp), 15)))
				temp := shr(8, temp)
				if iszero(xor(str, start)) { break }
			}

			if temp {
				mstore(0x00, 0x2194895a) // `HexLengthInsufficient()`.
				revert(0x1c, 0x04)
			}

			// Compute the string's length.
			let strLength := sub(end, str)
			// Move the pointer and write the length.
			str := sub(str, 0x20)
			mstore(str, strLength)
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is prefixed with "0x" and encoded using 2 hexadecimal digits per byte.
	/// As address are 20 bytes long, the output will left-padded to have
	/// a length of `20 * 2 + 2` bytes.
	function toHexString(uint256 value) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(value);
		/// @solidity memory-safe-assembly
		assembly {
			let strLength := add(mload(str), 2) // Compute the length.
			mstore(str, 0x3078) // Write the "0x" prefix.
			str := sub(str, 2) // Move the pointer.
			mstore(str, strLength) // Write the length.
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is prefixed with "0x".
	/// The output excludes leading "0" from the `toHexString` output.
	/// `0x00: "0x0", 0x01: "0x1", 0x12: "0x12", 0x123: "0x123"`.
	function toMinimalHexString(uint256 value) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(value);
		/// @solidity memory-safe-assembly
		assembly {
			let o := eq(byte(0, mload(add(str, 0x20))), 0x30) // Whether leading zero is present.
			let strLength := add(mload(str), 2) // Compute the length.
			mstore(add(str, o), 0x3078) // Write the "0x" prefix, accounting for leading zero.
			str := sub(add(str, o), 2) // Move the pointer, accounting for leading zero.
			mstore(str, sub(strLength, o)) // Write the length, accounting for leading zero.
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output excludes leading "0" from the `toHexStringNoPrefix` output.
	/// `0x00: "0", 0x01: "1", 0x12: "12", 0x123: "123"`.
	function toMinimalHexStringNoPrefix(uint256 value) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(value);
		/// @solidity memory-safe-assembly
		assembly {
			let o := eq(byte(0, mload(add(str, 0x20))), 0x30) // Whether leading zero is present.
			let strLength := mload(str) // Get the length.
			str := add(str, o) // Move the pointer, accounting for leading zero.
			mstore(str, sub(strLength, o)) // Write the length, accounting for leading zero.
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is encoded using 2 hexadecimal digits per byte.
	/// As address are 20 bytes long, the output will left-padded to have
	/// a length of `20 * 2` bytes.
	function toHexStringNoPrefix(uint256 value) internal pure returns (string memory str) {
		/// @solidity memory-safe-assembly
		assembly {
			// We need 0x20 bytes for the trailing zeros padding, 0x20 bytes for the length,
			// 0x02 bytes for the prefix, and 0x40 bytes for the digits.
			// The next multiple of 0x20 above (0x20 + 0x20 + 0x02 + 0x40) is 0xa0.
			str := add(mload(0x40), 0x80)
			// Allocate the memory.
			mstore(0x40, add(str, 0x20))
			// Zeroize the slot after the string.
			mstore(str, 0)

			// Cache the end to calculate the length later.
			let end := str
			// Store "0123456789abcdef" in scratch space.
			mstore(0x0f, 0x30313233343536373839616263646566)

			let w := not(1) // Tsk.
			// We write the string from rightmost digit to leftmost digit.
			// The following is essentially a do-while loop that also handles the zero case.
			for { let temp := value } 1 {} {
				str := add(str, w) // `sub(str, 2)`.
				mstore8(add(str, 1), mload(and(temp, 15)))
				mstore8(str, mload(and(shr(4, temp), 15)))
				temp := shr(8, temp)
				if iszero(temp) { break }
			}

			// Compute the string's length.
			let strLength := sub(end, str)
			// Move the pointer and write the length.
			str := sub(str, 0x20)
			mstore(str, strLength)
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is prefixed with "0x", encoded using 2 hexadecimal digits per byte,
	/// and the alphabets are capitalized conditionally according to
	/// https://eips.ethereum.org/EIPS/eip-55
	function toHexStringChecksummed(address value) internal pure returns (string memory str) {
		str = toHexString(value);
		/// @solidity memory-safe-assembly
		assembly {
			let mask := shl(6, div(not(0), 255)) // `0b010000000100000000 ...`
			let o := add(str, 0x22)
			let hashed := and(keccak256(o, 40), mul(34, mask)) // `0b10001000 ... `
			let t := shl(240, 136) // `0b10001000 << 240`
			for { let i := 0 } 1 {} {
				mstore(add(i, i), mul(t, byte(i, hashed)))
				i := add(i, 1)
				if eq(i, 20) { break }
			}
			mstore(o, xor(mload(o), shr(1, and(mload(0x00), and(mload(o), mask)))))
			o := add(o, 0x20)
			mstore(o, xor(mload(o), shr(1, and(mload(0x20), and(mload(o), mask)))))
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is prefixed with "0x" and encoded using 2 hexadecimal digits per byte.
	function toHexString(address value) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(value);
		/// @solidity memory-safe-assembly
		assembly {
			let strLength := add(mload(str), 2) // Compute the length.
			mstore(str, 0x3078) // Write the "0x" prefix.
			str := sub(str, 2) // Move the pointer.
			mstore(str, strLength) // Write the length.
		}
	}

	/// @dev Returns the hexadecimal representation of `value`.
	/// The output is encoded using 2 hexadecimal digits per byte.
	function toHexStringNoPrefix(address value) internal pure returns (string memory str) {
		/// @solidity memory-safe-assembly
		assembly {
			str := mload(0x40)

			// Allocate the memory.
			// We need 0x20 bytes for the trailing zeros padding, 0x20 bytes for the length,
			// 0x02 bytes for the prefix, and 0x28 bytes for the digits.
			// The next multiple of 0x20 above (0x20 + 0x20 + 0x02 + 0x28) is 0x80.
			mstore(0x40, add(str, 0x80))

			// Store "0123456789abcdef" in scratch space.
			mstore(0x0f, 0x30313233343536373839616263646566)

			str := add(str, 2)
			mstore(str, 40)

			let o := add(str, 0x20)
			mstore(add(o, 40), 0)

			value := shl(96, value)

			// We write the string from rightmost digit to leftmost digit.
			// The following is essentially a do-while loop that also handles the zero case.
			for { let i := 0 } 1 {} {
				let p := add(o, add(i, i))
				let temp := byte(i, value)
				mstore8(add(p, 1), mload(and(temp, 15)))
				mstore8(p, mload(shr(4, temp)))
				i := add(i, 1)
				if eq(i, 20) { break }
			}
		}
	}

	/// @dev Returns the hex encoded string from the raw bytes.
	/// The output is encoded using 2 hexadecimal digits per byte.
	function toHexString(bytes memory raw) internal pure returns (string memory str) {
		str = toHexStringNoPrefix(raw);
		/// @solidity memory-safe-assembly
		assembly {
			let strLength := add(mload(str), 2) // Compute the length.
			mstore(str, 0x3078) // Write the "0x" prefix.
			str := sub(str, 2) // Move the pointer.
			mstore(str, strLength) // Write the length.
		}
	}

	/// @dev Returns the hex encoded string from the raw bytes.
	/// The output is encoded using 2 hexadecimal digits per byte.
	function toHexStringNoPrefix(bytes memory raw) internal pure returns (string memory str) {
		/// @solidity memory-safe-assembly
		assembly {
			let length := mload(raw)
			str := add(mload(0x40), 2) // Skip 2 bytes for the optional prefix.
			mstore(str, add(length, length)) // Store the length of the output.

			// Store "0123456789abcdef" in scratch space.
			mstore(0x0f, 0x30313233343536373839616263646566)

			let o := add(str, 0x20)
			let end := add(raw, length)

			for {} iszero(eq(raw, end)) {} {
				raw := add(raw, 1)
				mstore8(add(o, 1), mload(and(mload(raw), 15)))
				mstore8(o, mload(and(shr(4, mload(raw)), 15)))
				o := add(o, 2)
			}
			mstore(o, 0) // Zeroize the slot after the string.
			mstore(0x40, add(o, 0x20)) // Allocate the memory.
		}
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                   RUNE STRING OPERATIONS                   */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Returns the number of UTF characters in the string.
	function runeCount(string memory s) internal pure returns (uint256 result) {
		/// @solidity memory-safe-assembly
		assembly {
			if mload(s) {
				mstore(0x00, div(not(0), 255))
				mstore(0x20, 0x0202020202020202020202020202020202020202020202020303030304040506)
				let o := add(s, 0x20)
				let end := add(o, mload(s))
				for { result := 1 } 1 { result := add(result, 1) } {
					o := add(o, byte(0, mload(shr(250, mload(o)))))
					if iszero(lt(o, end)) { break }
				}
			}
		}
	}

	/// @dev Returns if this string is a 7-bit ASCII string.
	/// (i.e. all characters codes are in [0..127])
	function is7BitASCII(string memory s) internal pure returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			let mask := shl(7, div(not(0), 255))
			result := 1
			let n := mload(s)
			if n {
				let o := add(s, 0x20)
				let end := add(o, n)
				let last := mload(end)
				mstore(end, 0)
				for {} 1 {} {
					if and(mask, mload(o)) {
						result := 0
						break
					}
					o := add(o, 0x20)
					if iszero(lt(o, end)) { break }
				}
				mstore(end, last)
			}
		}
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                   BYTE STRING OPERATIONS                   */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	// For performance and bytecode compactness, byte string operations are restricted
	// to 7-bit ASCII strings. All offsets are byte offsets, not UTF character offsets.
	// Usage of byte string operations on charsets with runes spanning two or more bytes
	// can lead to undefined behavior.

	/// @dev Returns `subject` all occurrences of `search` replaced with `replacement`.
	function replace(string memory subject, string memory search, string memory replacement)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let subjectLength := mload(subject)
			let searchLength := mload(search)
			let replacementLength := mload(replacement)

			subject := add(subject, 0x20)
			search := add(search, 0x20)
			replacement := add(replacement, 0x20)
			result := add(mload(0x40), 0x20)

			let subjectEnd := add(subject, subjectLength)
			if iszero(gt(searchLength, subjectLength)) {
				let subjectSearchEnd := add(sub(subjectEnd, searchLength), 1)
				let h := 0
				if iszero(lt(searchLength, 0x20)) { h := keccak256(search, searchLength) }
				let m := shl(3, sub(0x20, and(searchLength, 0x1f)))
				let s := mload(search)
				for {} 1 {} {
					let t := mload(subject)
					// Whether the first `searchLength % 32` bytes of
					// `subject` and `search` matches.
					if iszero(shr(m, xor(t, s))) {
						if h {
							if iszero(eq(keccak256(subject, searchLength), h)) {
								mstore(result, t)
								result := add(result, 1)
								subject := add(subject, 1)
								if iszero(lt(subject, subjectSearchEnd)) { break }
								continue
							}
						}
						// Copy the `replacement` one word at a time.
						for { let o := 0 } 1 {} {
							mstore(add(result, o), mload(add(replacement, o)))
							o := add(o, 0x20)
							if iszero(lt(o, replacementLength)) { break }
						}
						result := add(result, replacementLength)
						subject := add(subject, searchLength)
						if searchLength {
							if iszero(lt(subject, subjectSearchEnd)) { break }
							continue
						}
					}
					mstore(result, t)
					result := add(result, 1)
					subject := add(subject, 1)
					if iszero(lt(subject, subjectSearchEnd)) { break }
				}
			}

			let resultRemainder := result
			result := add(mload(0x40), 0x20)
			let k := add(sub(resultRemainder, result), sub(subjectEnd, subject))
			// Copy the rest of the string one word at a time.
			for {} lt(subject, subjectEnd) {} {
				mstore(resultRemainder, mload(subject))
				resultRemainder := add(resultRemainder, 0x20)
				subject := add(subject, 0x20)
			}
			result := sub(result, 0x20)
			let last := add(add(result, 0x20), k) // Zeroize the slot after the string.
			mstore(last, 0)
			mstore(0x40, add(last, 0x20)) // Allocate the memory.
			mstore(result, k) // Store the length.
		}
	}

	/// @dev Returns the byte index of the first location of `search` in `subject`,
	/// searching from left to right, starting from `from`.
	/// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
	function indexOf(string memory subject, string memory search, uint256 from)
		internal
		pure
		returns (uint256 result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			for { let subjectLength := mload(subject) } 1 {} {
				if iszero(mload(search)) {
					if iszero(gt(from, subjectLength)) {
						result := from
						break
					}
					result := subjectLength
					break
				}
				let searchLength := mload(search)
				let subjectStart := add(subject, 0x20)

				result := not(0) // Initialize to `NOT_FOUND`.

				subject := add(subjectStart, from)
				let end := add(sub(add(subjectStart, subjectLength), searchLength), 1)

				let m := shl(3, sub(0x20, and(searchLength, 0x1f)))
				let s := mload(add(search, 0x20))

				if iszero(and(lt(subject, end), lt(from, subjectLength))) { break }

				if iszero(lt(searchLength, 0x20)) {
					for { let h := keccak256(add(search, 0x20), searchLength) } 1 {} {
						if iszero(shr(m, xor(mload(subject), s))) {
							if eq(keccak256(subject, searchLength), h) {
								result := sub(subject, subjectStart)
								break
							}
						}
						subject := add(subject, 1)
						if iszero(lt(subject, end)) { break }
					}
					break
				}
				for {} 1 {} {
					if iszero(shr(m, xor(mload(subject), s))) {
						result := sub(subject, subjectStart)
						break
					}
					subject := add(subject, 1)
					if iszero(lt(subject, end)) { break }
				}
				break
			}
		}
	}

	/// @dev Returns the byte index of the first location of `search` in `subject`,
	/// searching from left to right.
	/// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
	function indexOf(string memory subject, string memory search)
		internal
		pure
		returns (uint256 result)
	{
		result = indexOf(subject, search, 0);
	}

	/// @dev Returns the byte index of the first location of `search` in `subject`,
	/// searching from right to left, starting from `from`.
	/// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
	function lastIndexOf(string memory subject, string memory search, uint256 from)
		internal
		pure
		returns (uint256 result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			for {} 1 {} {
				result := not(0) // Initialize to `NOT_FOUND`.
				let searchLength := mload(search)
				if gt(searchLength, mload(subject)) { break }
				let w := result

				let fromMax := sub(mload(subject), searchLength)
				if iszero(gt(fromMax, from)) { from := fromMax }

				let end := add(add(subject, 0x20), w)
				subject := add(add(subject, 0x20), from)
				if iszero(gt(subject, end)) { break }
				// As this function is not too often used,
				// we shall simply use keccak256 for smaller bytecode size.
				for { let h := keccak256(add(search, 0x20), searchLength) } 1 {} {
					if eq(keccak256(subject, searchLength), h) {
						result := sub(subject, add(end, 1))
						break
					}
					subject := add(subject, w) // `sub(subject, 1)`.
					if iszero(gt(subject, end)) { break }
				}
				break
			}
		}
	}

	/// @dev Returns the byte index of the first location of `search` in `subject`,
	/// searching from right to left.
	/// Returns `NOT_FOUND` (i.e. `type(uint256).max`) if the `search` is not found.
	function lastIndexOf(string memory subject, string memory search)
		internal
		pure
		returns (uint256 result)
	{
		result = lastIndexOf(subject, search, uint256(int256(-1)));
	}

	/// @dev Returns true if `search` is found in `subject`, false otherwise.
	function contains(string memory subject, string memory search) internal pure returns (bool) {
		return indexOf(subject, search) != NOT_FOUND;
	}

	/// @dev Returns whether `subject` starts with `search`.
	function startsWith(string memory subject, string memory search)
		internal
		pure
		returns (bool result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let searchLength := mload(search)
			// Just using keccak256 directly is actually cheaper.
			// forgefmt: disable-next-item
			result := and(
				iszero(gt(searchLength, mload(subject))),
				eq(
					keccak256(add(subject, 0x20), searchLength),
					keccak256(add(search, 0x20), searchLength)
				)
			)
		}
	}

	/// @dev Returns whether `subject` ends with `search`.
	function endsWith(string memory subject, string memory search)
		internal
		pure
		returns (bool result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let searchLength := mload(search)
			let subjectLength := mload(subject)
			// Whether `search` is not longer than `subject`.
			let withinRange := iszero(gt(searchLength, subjectLength))
			// Just using keccak256 directly is actually cheaper.
			// forgefmt: disable-next-item
			result := and(
				withinRange,
				eq(
					keccak256(
						// `subject + 0x20 + max(subjectLength - searchLength, 0)`.
						add(add(subject, 0x20), mul(withinRange, sub(subjectLength, searchLength))),
						searchLength
					),
					keccak256(add(search, 0x20), searchLength)
				)
			)
		}
	}

	/// @dev Returns `subject` repeated `times`.
	function repeat(string memory subject, uint256 times)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let subjectLength := mload(subject)
			if iszero(or(iszero(times), iszero(subjectLength))) {
				subject := add(subject, 0x20)
				result := mload(0x40)
				let output := add(result, 0x20)
				for {} 1 {} {
					// Copy the `subject` one word at a time.
					for { let o := 0 } 1 {} {
						mstore(add(output, o), mload(add(subject, o)))
						o := add(o, 0x20)
						if iszero(lt(o, subjectLength)) { break }
					}
					output := add(output, subjectLength)
					times := sub(times, 1)
					if iszero(times) { break }
				}
				mstore(output, 0) // Zeroize the slot after the string.
				let resultLength := sub(output, add(result, 0x20))
				mstore(result, resultLength) // Store the length.
				// Allocate the memory.
				mstore(0x40, add(result, add(resultLength, 0x20)))
			}
		}
	}

	/// @dev Returns a copy of `subject` sliced from `start` to `end` (exclusive).
	/// `start` and `end` are byte offsets.
	function slice(string memory subject, uint256 start, uint256 end)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let subjectLength := mload(subject)
			if iszero(gt(subjectLength, end)) { end := subjectLength }
			if iszero(gt(subjectLength, start)) { start := subjectLength }
			if lt(start, end) {
				result := mload(0x40)
				let resultLength := sub(end, start)
				mstore(result, resultLength)
				subject := add(subject, start)
				let w := not(0x1f)
				// Copy the `subject` one word at a time, backwards.
				for { let o := and(add(resultLength, 0x1f), w) } 1 {} {
					mstore(add(result, o), mload(add(subject, o)))
					o := add(o, w) // `sub(o, 0x20)`.
					if iszero(o) { break }
				}
				// Zeroize the slot after the string.
				mstore(add(add(result, 0x20), resultLength), 0)
				// Allocate memory for the length and the bytes,
				// rounded up to a multiple of 32.
				mstore(0x40, add(result, and(add(resultLength, 0x3f), w)))
			}
		}
	}

	/// @dev Returns a copy of `subject` sliced from `start` to the end of the string.
	/// `start` is a byte offset.
	function slice(string memory subject, uint256 start)
		internal
		pure
		returns (string memory result)
	{
		result = slice(subject, start, uint256(int256(-1)));
	}

	/// @dev Returns all the indices of `search` in `subject`.
	/// The indices are byte offsets.
	function indicesOf(string memory subject, string memory search)
		internal
		pure
		returns (uint256[] memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let subjectLength := mload(subject)
			let searchLength := mload(search)

			if iszero(gt(searchLength, subjectLength)) {
				subject := add(subject, 0x20)
				search := add(search, 0x20)
				result := add(mload(0x40), 0x20)

				let subjectStart := subject
				let subjectSearchEnd := add(sub(add(subject, subjectLength), searchLength), 1)
				let h := 0
				if iszero(lt(searchLength, 0x20)) { h := keccak256(search, searchLength) }
				let m := shl(3, sub(0x20, and(searchLength, 0x1f)))
				let s := mload(search)
				for {} 1 {} {
					let t := mload(subject)
					// Whether the first `searchLength % 32` bytes of
					// `subject` and `search` matches.
					if iszero(shr(m, xor(t, s))) {
						if h {
							if iszero(eq(keccak256(subject, searchLength), h)) {
								subject := add(subject, 1)
								if iszero(lt(subject, subjectSearchEnd)) { break }
								continue
							}
						}
						// Append to `result`.
						mstore(result, sub(subject, subjectStart))
						result := add(result, 0x20)
						// Advance `subject` by `searchLength`.
						subject := add(subject, searchLength)
						if searchLength {
							if iszero(lt(subject, subjectSearchEnd)) { break }
							continue
						}
					}
					subject := add(subject, 1)
					if iszero(lt(subject, subjectSearchEnd)) { break }
				}
				let resultEnd := result
				// Assign `result` to the free memory pointer.
				result := mload(0x40)
				// Store the length of `result`.
				mstore(result, shr(5, sub(resultEnd, add(result, 0x20))))
				// Allocate memory for result.
				// We allocate one more word, so this array can be recycled for {split}.
				mstore(0x40, add(resultEnd, 0x20))
			}
		}
	}

	/// @dev Returns a arrays of strings based on the `delimiter` inside of the `subject` string.
	function split(string memory subject, string memory delimiter)
		internal
		pure
		returns (string[] memory result)
	{
		uint256[] memory indices = indicesOf(subject, delimiter);
		/// @solidity memory-safe-assembly
		assembly {
			let w := not(0x1f)
			let indexPtr := add(indices, 0x20)
			let indicesEnd := add(indexPtr, shl(5, add(mload(indices), 1)))
			mstore(add(indicesEnd, w), mload(subject))
			mstore(indices, add(mload(indices), 1))
			let prevIndex := 0
			for {} 1 {} {
				let index := mload(indexPtr)
				mstore(indexPtr, 0x60)
				if iszero(eq(index, prevIndex)) {
					let element := mload(0x40)
					let elementLength := sub(index, prevIndex)
					mstore(element, elementLength)
					// Copy the `subject` one word at a time, backwards.
					for { let o := and(add(elementLength, 0x1f), w) } 1 {} {
						mstore(add(element, o), mload(add(add(subject, prevIndex), o)))
						o := add(o, w) // `sub(o, 0x20)`.
						if iszero(o) { break }
					}
					// Zeroize the slot after the string.
					mstore(add(add(element, 0x20), elementLength), 0)
					// Allocate memory for the length and the bytes,
					// rounded up to a multiple of 32.
					mstore(0x40, add(element, and(add(elementLength, 0x3f), w)))
					// Store the `element` into the array.
					mstore(indexPtr, element)
				}
				prevIndex := add(index, mload(delimiter))
				indexPtr := add(indexPtr, 0x20)
				if iszero(lt(indexPtr, indicesEnd)) { break }
			}
			result := indices
			if iszero(mload(delimiter)) {
				result := add(indices, 0x20)
				mstore(result, sub(mload(indices), 2))
			}
		}
	}

	/// @dev Returns a concatenated string of `a` and `b`.
	/// Cheaper than `string.concat()` and does not de-align the free memory pointer.
	function concat(string memory a, string memory b)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let w := not(0x1f)
			result := mload(0x40)
			let aLength := mload(a)
			// Copy `a` one word at a time, backwards.
			for { let o := and(add(aLength, 0x20), w) } 1 {} {
				mstore(add(result, o), mload(add(a, o)))
				o := add(o, w) // `sub(o, 0x20)`.
				if iszero(o) { break }
			}
			let bLength := mload(b)
			let output := add(result, aLength)
			// Copy `b` one word at a time, backwards.
			for { let o := and(add(bLength, 0x20), w) } 1 {} {
				mstore(add(output, o), mload(add(b, o)))
				o := add(o, w) // `sub(o, 0x20)`.
				if iszero(o) { break }
			}
			let totalLength := add(aLength, bLength)
			let last := add(add(result, 0x20), totalLength)
			// Zeroize the slot after the string.
			mstore(last, 0)
			// Stores the length.
			mstore(result, totalLength)
			// Allocate memory for the length and the bytes,
			// rounded up to a multiple of 32.
			mstore(0x40, and(add(last, 0x1f), w))
		}
	}

	/// @dev Returns a copy of the string in either lowercase or UPPERCASE.
	/// WARNING! This function is only compatible with 7-bit ASCII strings.
	function toCase(string memory subject, bool toUpper)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let length := mload(subject)
			if length {
				result := add(mload(0x40), 0x20)
				subject := add(subject, 1)
				let flags := shl(add(70, shl(5, toUpper)), 0x3ffffff)
				let w := not(0)
				for { let o := length } 1 {} {
					o := add(o, w)
					let b := and(0xff, mload(add(subject, o)))
					mstore8(add(result, o), xor(b, and(shr(b, flags), 0x20)))
					if iszero(o) { break }
				}
				result := mload(0x40)
				mstore(result, length) // Store the length.
				let last := add(add(result, 0x20), length)
				mstore(last, 0) // Zeroize the slot after the string.
				mstore(0x40, add(last, 0x20)) // Allocate the memory.
			}
		}
	}

	/// @dev Returns a string from a small bytes32 string.
	/// `s` must be null-terminated, or behavior will be undefined.
	function fromSmallString(bytes32 s) internal pure returns (string memory result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := mload(0x40)
			let n := 0
			for {} byte(n, s) { n := add(n, 1) } {} // Scan for '\0'.
			mstore(result, n)
			let o := add(result, 0x20)
			mstore(o, s)
			mstore(add(o, n), 0)
			mstore(0x40, add(result, 0x40))
		}
	}

	/// @dev Returns the small string, with all bytes after the first null byte zeroized.
	function normalizeSmallString(bytes32 s) internal pure returns (bytes32 result) {
		/// @solidity memory-safe-assembly
		assembly {
			for {} byte(result, s) { result := add(result, 1) } {} // Scan for '\0'.
			mstore(0x00, s)
			mstore(result, 0x00)
			result := mload(0x00)
		}
	}

	/// @dev Returns the string as a normalized null-terminated small string.
	function toSmallString(string memory s) internal pure returns (bytes32 result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := mload(s)
			if iszero(lt(result, 33)) {
				mstore(0x00, 0xec92f9a3) // `TooBigForSmallString()`.
				revert(0x1c, 0x04)
			}
			result := shl(shl(3, sub(32, result)), mload(add(s, result)))
		}
	}

	/// @dev Returns a lowercased copy of the string.
	/// WARNING! This function is only compatible with 7-bit ASCII strings.
	function lower(string memory subject) internal pure returns (string memory result) {
		result = toCase(subject, false);
	}

	/// @dev Returns an UPPERCASED copy of the string.
	/// WARNING! This function is only compatible with 7-bit ASCII strings.
	function upper(string memory subject) internal pure returns (string memory result) {
		result = toCase(subject, true);
	}

	/// @dev Escapes the string to be used within HTML tags.
	function escapeHTML(string memory s) internal pure returns (string memory result) {
		/// @solidity memory-safe-assembly
		assembly {
			let end := add(s, mload(s))
			result := add(mload(0x40), 0x20)
			// Store the bytes of the packed offsets and strides into the scratch space.
			// `packed = (stride << 5) | offset`. Max offset is 20. Max stride is 6.
			mstore(0x1f, 0x900094)
			mstore(0x08, 0xc0000000a6ab)
			// Store "&quot;&amp;&#39;&lt;&gt;" into the scratch space.
			mstore(0x00, shl(64, 0x2671756f743b26616d703b262333393b266c743b2667743b))
			for {} iszero(eq(s, end)) {} {
				s := add(s, 1)
				let c := and(mload(s), 0xff)
				// Not in `["\"","'","&","<",">"]`.
				if iszero(and(shl(c, 1), 0x500000c400000000)) {
					mstore8(result, c)
					result := add(result, 1)
					continue
				}
				let t := shr(248, mload(c))
				mstore(result, mload(and(t, 0x1f)))
				result := add(result, shr(5, t))
			}
			let last := result
			mstore(last, 0) // Zeroize the slot after the string.
			result := mload(0x40)
			mstore(result, sub(last, add(result, 0x20))) // Store the length.
			mstore(0x40, add(last, 0x20)) // Allocate the memory.
		}
	}

	/// @dev Escapes the string to be used within double-quotes in a JSON.
	/// If `addDoubleQuotes` is true, the result will be enclosed in double-quotes.
	function escapeJSON(string memory s, bool addDoubleQuotes)
		internal
		pure
		returns (string memory result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			let end := add(s, mload(s))
			result := add(mload(0x40), 0x20)
			if addDoubleQuotes {
				mstore8(result, 34)
				result := add(1, result)
			}
			// Store "\\u0000" in scratch space.
			// Store "0123456789abcdef" in scratch space.
			// Also, store `{0x08:"b", 0x09:"t", 0x0a:"n", 0x0c:"f", 0x0d:"r"}`.
			// into the scratch space.
			mstore(0x15, 0x5c75303030303031323334353637383961626364656662746e006672)
			// Bitmask for detecting `["\"","\\"]`.
			let e := or(shl(0x22, 1), shl(0x5c, 1))
			for {} iszero(eq(s, end)) {} {
				s := add(s, 1)
				let c := and(mload(s), 0xff)
				if iszero(lt(c, 0x20)) {
					if iszero(and(shl(c, 1), e)) {
						// Not in `["\"","\\"]`.
						mstore8(result, c)
						result := add(result, 1)
						continue
					}
					mstore8(result, 0x5c) // "\\".
					mstore8(add(result, 1), c)
					result := add(result, 2)
					continue
				}
				if iszero(and(shl(c, 1), 0x3700)) {
					// Not in `["\b","\t","\n","\f","\d"]`.
					mstore8(0x1d, mload(shr(4, c))) // Hex value.
					mstore8(0x1e, mload(and(c, 15))) // Hex value.
					mstore(result, mload(0x19)) // "\\u00XX".
					result := add(result, 6)
					continue
				}
				mstore8(result, 0x5c) // "\\".
				mstore8(add(result, 1), mload(add(c, 8)))
				result := add(result, 2)
			}
			if addDoubleQuotes {
				mstore8(result, 34)
				result := add(1, result)
			}
			let last := result
			mstore(last, 0) // Zeroize the slot after the string.
			result := mload(0x40)
			mstore(result, sub(last, add(result, 0x20))) // Store the length.
			mstore(0x40, add(last, 0x20)) // Allocate the memory.
		}
	}

	/// @dev Escapes the string to be used within double-quotes in a JSON.
	function escapeJSON(string memory s) internal pure returns (string memory result) {
		result = escapeJSON(s, false);
	}

	/// @dev Returns whether `a` equals `b`.
	function eq(string memory a, string memory b) internal pure returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := eq(keccak256(add(a, 0x20), mload(a)), keccak256(add(b, 0x20), mload(b)))
		}
	}

	/// @dev Returns whether `a` equals `b`, where `b` is a null-terminated small string.
	function eqs(string memory a, bytes32 b) internal pure returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			// These should be evaluated on compile time, as far as possible.
			let m := not(shl(7, div(not(iszero(b)), 255))) // `0x7f7f ...`.
			let x := not(or(m, or(b, add(m, and(b, m)))))
			let r := shl(7, iszero(iszero(shr(128, x))))
			r := or(r, shl(6, iszero(iszero(shr(64, shr(r, x))))))
			r := or(r, shl(5, lt(0xffffffff, shr(r, x))))
			r := or(r, shl(4, lt(0xffff, shr(r, x))))
			r := or(r, shl(3, lt(0xff, shr(r, x))))
			// forgefmt: disable-next-item
			result := gt(eq(mload(a), add(iszero(x), xor(31, shr(3, r)))),
				xor(shr(add(8, r), b), shr(add(8, r), mload(add(a, 0x20)))))
		}
	}

	/// @dev Packs a single string with its length into a single word.
	/// Returns `bytes32(0)` if the length is zero or greater than 31.
	function packOne(string memory a) internal pure returns (bytes32 result) {
		/// @solidity memory-safe-assembly
		assembly {
			// We don't need to zero right pad the string,
			// since this is our own custom non-standard packing scheme.
			result :=
				mul(
					// Load the length and the bytes.
					mload(add(a, 0x1f)),
					// `length != 0 && length < 32`. Abuses underflow.
					// Assumes that the length is valid and within the block gas limit.
					lt(sub(mload(a), 1), 0x1f)
				)
		}
	}

	/// @dev Unpacks a string packed using {packOne}.
	/// Returns the empty string if `packed` is `bytes32(0)`.
	/// If `packed` is not an output of {packOne}, the output behavior is undefined.
	function unpackOne(bytes32 packed) internal pure returns (string memory result) {
		/// @solidity memory-safe-assembly
		assembly {
			// Grab the free memory pointer.
			result := mload(0x40)
			// Allocate 2 words (1 for the length, 1 for the bytes).
			mstore(0x40, add(result, 0x40))
			// Zeroize the length slot.
			mstore(result, 0)
			// Store the length and bytes.
			mstore(add(result, 0x1f), packed)
			// Right pad with zeroes.
			mstore(add(add(result, 0x20), mload(result)), 0)
		}
	}

	/// @dev Packs two strings with their lengths into a single word.
	/// Returns `bytes32(0)` if combined length is zero or greater than 30.
	function packTwo(string memory a, string memory b) internal pure returns (bytes32 result) {
		/// @solidity memory-safe-assembly
		assembly {
			let aLength := mload(a)
			// We don't need to zero right pad the strings,
			// since this is our own custom non-standard packing scheme.
			result :=
				mul(
					// Load the length and the bytes of `a` and `b`.
					or(
						shl(shl(3, sub(0x1f, aLength)), mload(add(a, aLength))),
						mload(sub(add(b, 0x1e), aLength))
					),
					// `totalLength != 0 && totalLength < 31`. Abuses underflow.
					// Assumes that the lengths are valid and within the block gas limit.
					lt(sub(add(aLength, mload(b)), 1), 0x1e)
				)
		}
	}

	/// @dev Unpacks strings packed using {packTwo}.
	/// Returns the empty strings if `packed` is `bytes32(0)`.
	/// If `packed` is not an output of {packTwo}, the output behavior is undefined.
	function unpackTwo(bytes32 packed)
		internal
		pure
		returns (string memory resultA, string memory resultB)
	{
		/// @solidity memory-safe-assembly
		assembly {
			// Grab the free memory pointer.
			resultA := mload(0x40)
			resultB := add(resultA, 0x40)
			// Allocate 2 words for each string (1 for the length, 1 for the byte). Total 4 words.
			mstore(0x40, add(resultB, 0x40))
			// Zeroize the length slots.
			mstore(resultA, 0)
			mstore(resultB, 0)
			// Store the lengths and bytes.
			mstore(add(resultA, 0x1f), packed)
			mstore(add(resultB, 0x1f), mload(add(add(resultA, 0x20), mload(resultA))))
			// Right pad with zeroes.
			mstore(add(add(resultA, 0x20), mload(resultA)), 0)
			mstore(add(add(resultB, 0x20), mload(resultB)), 0)
		}
	}

	/// @dev Directly returns `a` without copying.
	function directReturn(string memory a) internal pure {
		assembly {
			// Assumes that the string does not start from the scratch space.
			let retStart := sub(a, 0x20)
			let retSize := add(mload(a), 0x40)
			// Right pad with zeroes. Just in case the string is produced
			// by a method that doesn't zero right pad.
			mstore(add(retStart, retSize), 0)
			// Store the return offset.
			mstore(retStart, 0x20)
			// End the transaction, returning the string.
			return(retStart, retSize)
		}
	}
}

// File: https://github.com/Vectorized/solady/blob/main/src/auth/Ownable.sol


pragma solidity ^0.8.4;

/// @notice Simple single owner authorization mixin.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)
///
/// @dev Note:
/// This implementation does NOT auto-initialize the owner to `msg.sender`.
/// You MUST call the `_initializeOwner` in the constructor / initializer.
///
/// While the ownable portion follows
/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,
/// the nomenclature for the 2-step ownership handover may be unique to this codebase.
abstract contract Ownable {
	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                       CUSTOM ERRORS                        */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The caller is not authorized to call the function.
	error Unauthorized();

	/// @dev The `newOwner` cannot be the zero address.
	error NewOwnerIsZeroAddress();

	/// @dev The `pendingOwner` does not have a valid handover request.
	error NoHandoverRequest();

	/// @dev Cannot double-initialize.
	error AlreadyInitialized();

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                           EVENTS                           */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The ownership is transferred from `oldOwner` to `newOwner`.
	/// This event is intentionally kept the same as OpenZeppelin's Ownable to be
	/// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),
	/// despite it not being as lightweight as a single argument event.
	event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

	/// @dev An ownership handover to `pendingOwner` has been requested.
	event OwnershipHandoverRequested(address indexed pendingOwner);

	/// @dev The ownership handover to `pendingOwner` has been canceled.
	event OwnershipHandoverCanceled(address indexed pendingOwner);

	/// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`.
	uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =
		0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;

	/// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`.
	uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =
		0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;

	/// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`.
	uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =
		0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                          STORAGE                           */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev The owner slot is given by:
	/// `bytes32(~uint256(uint32(bytes4(keccak256("_OWNER_SLOT_NOT")))))`.
	/// It is intentionally chosen to be a high value
	/// to avoid collision with lower slots.
	/// The choice of manual storage layout is to enable compatibility
	/// with both regular and upgradeable contracts.
	bytes32 internal constant _OWNER_SLOT =
		0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;

	/// The ownership handover slot of `newOwner` is given by:
	/// ```
	///     mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))
	///     let handoverSlot := keccak256(0x00, 0x20)
	/// ```
	/// It stores the expiry timestamp of the two-step ownership handover.
	uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                     INTERNAL FUNCTIONS                     */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Override to return true to make `_initializeOwner` prevent double-initialization.
	function _guardInitializeOwner() internal pure virtual returns (bool guard) {}

	/// @dev Initializes the owner directly without authorization guard.
	/// This function must be called upon initialization,
	/// regardless of whether the contract is upgradeable or not.
	/// This is to enable generalization to both regular and upgradeable contracts,
	/// and to save gas in case the initial owner is not the caller.
	/// For performance reasons, this function will not check if there
	/// is an existing owner.
	function _initializeOwner(address newOwner) internal virtual {
		if (_guardInitializeOwner()) {
			/// @solidity memory-safe-assembly
			assembly {
				let ownerSlot := _OWNER_SLOT
				if sload(ownerSlot) {
					mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.
					revert(0x1c, 0x04)
				}
				// Clean the upper 96 bits.
				newOwner := shr(96, shl(96, newOwner))
				// Store the new value.
				sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))
				// Emit the {OwnershipTransferred} event.
				log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
			}
		} else {
			/// @solidity memory-safe-assembly
			assembly {
				// Clean the upper 96 bits.
				newOwner := shr(96, shl(96, newOwner))
				// Store the new value.
				sstore(_OWNER_SLOT, newOwner)
				// Emit the {OwnershipTransferred} event.
				log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
			}
		}
	}

	/// @dev Sets the owner directly without authorization guard.
	function _setOwner(address newOwner) internal virtual {
		if (_guardInitializeOwner()) {
			/// @solidity memory-safe-assembly
			assembly {
				let ownerSlot := _OWNER_SLOT
				// Clean the upper 96 bits.
				newOwner := shr(96, shl(96, newOwner))
				// Emit the {OwnershipTransferred} event.
				log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
				// Store the new value.
				sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))
			}
		} else {
			/// @solidity memory-safe-assembly
			assembly {
				let ownerSlot := _OWNER_SLOT
				// Clean the upper 96 bits.
				newOwner := shr(96, shl(96, newOwner))
				// Emit the {OwnershipTransferred} event.
				log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
				// Store the new value.
				sstore(ownerSlot, newOwner)
			}
		}
	}

	/// @dev Throws if the sender is not the owner.
	function _checkOwner() internal view virtual {
		/// @solidity memory-safe-assembly
		assembly {
			// If the caller is not the stored owner, revert.
			if iszero(eq(caller(), sload(_OWNER_SLOT))) {
				mstore(0x00, 0x82b42900) // `Unauthorized()`.
				revert(0x1c, 0x04)
			}
		}
	}

	/// @dev Returns how long a two-step ownership handover is valid for in seconds.
	/// Override to return a different value if needed.
	/// Made internal to conserve bytecode. Wrap it in a public function if needed.
	function _ownershipHandoverValidFor() internal view virtual returns (uint64) {
		return 48 * 3600;
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                  PUBLIC UPDATE FUNCTIONS                   */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Allows the owner to transfer the ownership to `newOwner`.
	function transferOwnership(address newOwner) public payable virtual onlyOwner {
		/// @solidity memory-safe-assembly
		assembly {
			if iszero(shl(96, newOwner)) {
				mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.
				revert(0x1c, 0x04)
			}
		}
		_setOwner(newOwner);
	}

	/// @dev Allows the owner to renounce their ownership.
	function renounceOwnership() public payable virtual onlyOwner {
		_setOwner(address(0));
	}

	/// @dev Request a two-step ownership handover to the caller.
	/// The request will automatically expire in 48 hours (172800 seconds) by default.
	function requestOwnershipHandover() public payable virtual {
		unchecked {
			uint256 expires = block.timestamp + _ownershipHandoverValidFor();
			/// @solidity memory-safe-assembly
			assembly {
				// Compute and set the handover slot to `expires`.
				mstore(0x0c, _HANDOVER_SLOT_SEED)
				mstore(0x00, caller())
				sstore(keccak256(0x0c, 0x20), expires)
				// Emit the {OwnershipHandoverRequested} event.
				log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())
			}
		}
	}

	/// @dev Cancels the two-step ownership handover to the caller, if any.
	function cancelOwnershipHandover() public payable virtual {
		/// @solidity memory-safe-assembly
		assembly {
			// Compute and set the handover slot to 0.
			mstore(0x0c, _HANDOVER_SLOT_SEED)
			mstore(0x00, caller())
			sstore(keccak256(0x0c, 0x20), 0)
			// Emit the {OwnershipHandoverCanceled} event.
			log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())
		}
	}

	/// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.
	/// Reverts if there is no existing ownership handover requested by `pendingOwner`.
	function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {
		/// @solidity memory-safe-assembly
		assembly {
			// Compute and set the handover slot to 0.
			mstore(0x0c, _HANDOVER_SLOT_SEED)
			mstore(0x00, pendingOwner)
			let handoverSlot := keccak256(0x0c, 0x20)
			// If the handover does not exist, or has expired.
			if gt(timestamp(), sload(handoverSlot)) {
				mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.
				revert(0x1c, 0x04)
			}
			// Set the handover slot to 0.
			sstore(handoverSlot, 0)
		}
		_setOwner(pendingOwner);
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                   PUBLIC READ FUNCTIONS                    */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Returns the owner of the contract.
	function owner() public view virtual returns (address result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := sload(_OWNER_SLOT)
		}
	}

	/// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.
	function ownershipHandoverExpiresAt(address pendingOwner)
		public
		view
		virtual
		returns (uint256 result)
	{
		/// @solidity memory-safe-assembly
		assembly {
			// Compute the handover slot.
			mstore(0x0c, _HANDOVER_SLOT_SEED)
			mstore(0x00, pendingOwner)
			// Load the handover slot.
			result := sload(keccak256(0x0c, 0x20))
		}
	}

	/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
	/*                         MODIFIERS                          */
	/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

	/// @dev Marks a function as only callable by the owner.
	modifier onlyOwner() virtual {
		_checkOwner();
		_;
	}
}

// File: https://github.com/Vectorized/dn404/blob/main/src/DN404Mirror.sol


pragma solidity ^0.8.4;

/// @title DN404Mirror
/// @notice DN404Mirror provides an interface for interacting with the
/// NFT tokens in a DN404 implementation.
///
/// @author vectorized.eth (@optimizoor)
/// @author Quit (@0xQuit)
/// @author Michael Amadi (@AmadiMichaels)
/// @author cygaar (@0xCygaar)
/// @author Thomas (@0xjustadev)
/// @author Harrison (@PopPunkOnChain)
///
/// @dev Note:
/// - The ERC721 data is stored in the base DN404 contract.
contract DN404Mirror is Ownable {
	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                           EVENTS                           */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Emitted when token `id` is transferred from `from` to `to`.
	event Transfer(address indexed from, address indexed to, uint256 indexed id);

	/// @dev Emitted when `owner` enables `account` to manage the `id` token.
	event Approval(address indexed owner, address indexed account, uint256 indexed id);

	/// @dev Emitted when `owner` enables or disables `operator` to manage all of their tokens.
	event ApprovalForAll(address indexed owner, address indexed operator, bool isApproved);

	/// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`.
	uint256 private constant _TRANSFER_EVENT_SIGNATURE =
		0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

	/// @dev `keccak256(bytes("Approval(address,address,uint256)"))`.
	uint256 private constant _APPROVAL_EVENT_SIGNATURE =
		0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925;

	/// @dev `keccak256(bytes("ApprovalForAll(address,address,bool)"))`.
	uint256 private constant _APPROVAL_FOR_ALL_EVENT_SIGNATURE =
		0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31;

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                        CUSTOM ERRORS                       */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Thrown when a call for an NFT function did not originate
	/// from the base DN404 contract.
	error SenderNotBase();

	/// @dev Thrown when a call for an NFT function did not originate from the deployer.
	error SenderNotDeployer();

	/// @dev Thrown when transferring an NFT to a contract address that
	/// does not implement ERC721Receiver.
	error TransferToNonERC721ReceiverImplementer();

	/// @dev Thrown when linking to the DN404 base contract and the
	/// DN404 supportsInterface check fails or the call reverts.
	error CannotLink();

	/// @dev Thrown when a linkMirrorContract call is received and the
	/// NFT mirror contract has already been linked to a DN404 base contract.
	error AlreadyLinked();

	/// @dev Thrown when retrieving the base DN404 address when a link has not
	/// been established.
	error NotLinked();

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                          STORAGE                           */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Struct contain the NFT mirror contract storage.
	struct DN404NFTStorage {
		address baseERC20;
		address deployer;
	}

	/// @dev Returns a storage pointer for DN404NFTStorage.
	function _getDN404NFTStorage() internal pure virtual returns (DN404NFTStorage storage $) {
		/// @solidity memory-safe-assembly
		assembly {
			// `uint72(bytes9(keccak256("DN404_MIRROR_STORAGE")))`.
			$.slot := 0x3602298b8c10b01230 // Truncate to 9 bytes to reduce bytecode size.
		}
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                        CONSTRUCTOR                         */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	constructor(address deployer) {
		// For non-proxies, we will store the deployer so that only the deployer can
		// link the base contract.
		_getDN404NFTStorage().deployer = deployer;
		_initializeOwner(deployer);
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                     ERC721 OPERATIONS                      */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the token collection name from the base DN404 contract.
	function name() public view virtual returns (string memory result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			result := mload(0x40)
			mstore(0x00, 0x06fdde03) // `name()`.
			if iszero(staticcall(gas(), base, 0x1c, 0x04, 0x00, 0x00)) {
				returndatacopy(result, 0x00, returndatasize())
				revert(result, returndatasize())
			}
			returndatacopy(0x00, 0x00, 0x20)
			returndatacopy(result, mload(0x00), 0x20)
			returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result))
			mstore(0x40, add(add(result, 0x20), mload(result)))
		}
	}

	/// @dev Returns the token collection symbol from the base DN404 contract.
	function symbol() public view virtual returns (string memory result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			result := mload(0x40)
			mstore(0x00, 0x95d89b41) // `symbol()`.
			if iszero(staticcall(gas(), base, 0x1c, 0x04, 0x00, 0x00)) {
				returndatacopy(result, 0x00, returndatasize())
				revert(result, returndatasize())
			}
			returndatacopy(0x00, 0x00, 0x20)
			returndatacopy(result, mload(0x00), 0x20)
			returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result))
			mstore(0x40, add(add(result, 0x20), mload(result)))
		}
	}

	/// @dev Returns the Uniform Resource Identifier (URI) for token `id` from
	/// the base DN404 contract.
	function tokenURI(uint256 id) public view virtual returns (string memory result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			result := mload(0x40)
			mstore(0x20, id)
			mstore(0x00, 0xc87b56dd) // `tokenURI()`.
			if iszero(staticcall(gas(), base, 0x1c, 0x24, 0x00, 0x00)) {
				returndatacopy(result, 0x00, returndatasize())
				revert(result, returndatasize())
			}
			returndatacopy(0x00, 0x00, 0x20)
			returndatacopy(result, mload(0x00), 0x20)
			returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result))
			mstore(0x40, add(add(result, 0x20), mload(result)))
		}
	}

	/// @dev Returns the total NFT supply from the base DN404 contract.
	function totalSupply() public view virtual returns (uint256 result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, 0xe2c79281) // `totalNFTSupply()`.
			if iszero(
				and(gt(returndatasize(), 0x1f), staticcall(gas(), base, 0x1c, 0x04, 0x00, 0x20))
			) {
				returndatacopy(mload(0x40), 0x00, returndatasize())
				revert(mload(0x40), returndatasize())
			}
			result := mload(0x00)
		}
	}

	/// @dev Returns the number of NFT tokens owned by `owner` from the base DN404 contract.
	///
	/// Requirements:
	/// - `owner` must not be the zero address.
	function balanceOf(address owner) public view virtual returns (uint256 result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x20, shr(96, shl(96, owner)))
			mstore(0x00, 0xf5b100ea) // `balanceOfNFT(address)`.
			if iszero(
				and(gt(returndatasize(), 0x1f), staticcall(gas(), base, 0x1c, 0x24, 0x00, 0x20))
			) {
				returndatacopy(mload(0x40), 0x00, returndatasize())
				revert(mload(0x40), returndatasize())
			}
			result := mload(0x00)
		}
	}

	/// @dev Returns the owner of token `id` from the base DN404 contract.
	///
	/// Requirements:
	/// - Token `id` must exist.
	function ownerOf(uint256 id) public view virtual returns (address result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, 0x6352211e) // `ownerOf(uint256)`.
			mstore(0x20, id)
			if iszero(
				and(gt(returndatasize(), 0x1f), staticcall(gas(), base, 0x1c, 0x24, 0x00, 0x20))
			) {
				returndatacopy(mload(0x40), 0x00, returndatasize())
				revert(mload(0x40), returndatasize())
			}
			result := shr(96, mload(0x0c))
		}
	}

	/// @dev Sets `spender` as the approved account to manage token `id` in
	/// the base DN404 contract.
	///
	/// Requirements:
	/// - Token `id` must exist.
	/// - The caller must be the owner of the token,
	///   or an approved operator for the token owner.
	///
	/// Emits an {Approval} event.
	function approve(address spender, uint256 id) public virtual {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			spender := shr(96, shl(96, spender))
			let m := mload(0x40)
			mstore(0x00, 0xd10b6e0c) // `approveNFT(address,uint256,address)`.
			mstore(0x20, spender)
			mstore(0x40, id)
			mstore(0x60, caller())
			if iszero(
				and(
					gt(returndatasize(), 0x1f),
					call(gas(), base, callvalue(), 0x1c, 0x64, 0x00, 0x20)
				)
			) {
				returndatacopy(m, 0x00, returndatasize())
				revert(m, returndatasize())
			}
			mstore(0x40, m) // Restore the free memory pointer.
			mstore(0x60, 0) // Restore the zero pointer.
			// Emit the {Approval} event.
			log4(codesize(), 0x00, _APPROVAL_EVENT_SIGNATURE, shr(96, mload(0x0c)), spender, id)
		}
	}

	/// @dev Returns the account approved to manage token `id` from
	/// the base DN404 contract.
	///
	/// Requirements:
	/// - Token `id` must exist.
	function getApproved(uint256 id) public view virtual returns (address result) {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, 0x081812fc) // `getApproved(uint256)`.
			mstore(0x20, id)
			if iszero(
				and(gt(returndatasize(), 0x1f), staticcall(gas(), base, 0x1c, 0x24, 0x00, 0x20))
			) {
				returndatacopy(mload(0x40), 0x00, returndatasize())
				revert(mload(0x40), returndatasize())
			}
			result := shr(96, mload(0x0c))
		}
	}

	/// @dev Sets whether `operator` is approved to manage the tokens of the caller in
	/// the base DN404 contract.
	///
	/// Emits an {ApprovalForAll} event.
	function setApprovalForAll(address operator, bool approved) public virtual {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			operator := shr(96, shl(96, operator))
			let m := mload(0x40)
			mstore(0x00, 0x813500fc) // `setApprovalForAll(address,bool,address)`.
			mstore(0x20, operator)
			mstore(0x40, iszero(iszero(approved)))
			mstore(0x60, caller())
			if iszero(
				and(eq(mload(0x00), 1), call(gas(), base, callvalue(), 0x1c, 0x64, 0x00, 0x20))
			) {
				returndatacopy(m, 0x00, returndatasize())
				revert(m, returndatasize())
			}
			// Emit the {ApprovalForAll} event.
			log3(0x40, 0x20, _APPROVAL_FOR_ALL_EVENT_SIGNATURE, caller(), operator)
			mstore(0x40, m) // Restore the free memory pointer.
			mstore(0x60, 0) // Restore the zero pointer.
		}
	}

	/// @dev Returns whether `operator` is approved to manage the tokens of `owner` from
	/// the base DN404 contract.
	function isApprovedForAll(address owner, address operator)
		public
		view
		virtual
		returns (bool result)
	{
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			let m := mload(0x40)
			mstore(0x40, operator)
			mstore(0x2c, shl(96, owner))
			mstore(0x0c, 0xe985e9c5000000000000000000000000) // `isApprovedForAll(address,address)`.
			if iszero(
				and(gt(returndatasize(), 0x1f), staticcall(gas(), base, 0x1c, 0x44, 0x00, 0x20))
			) {
				returndatacopy(m, 0x00, returndatasize())
				revert(m, returndatasize())
			}
			mstore(0x40, m) // Restore the free memory pointer.
			result := iszero(iszero(mload(0x00)))
		}
	}

	/// @dev Transfers token `id` from `from` to `to`.
	///
	/// Requirements:
	///
	/// - Token `id` must exist.
	/// - `from` must be the owner of the token.
	/// - `to` cannot be the zero address.
	/// - The caller must be the owner of the token, or be approved to manage the token.
	///
	/// Emits a {Transfer} event.
	function transferFrom(address from, address to, uint256 id) public virtual {
		address base = baseERC20();
		/// @solidity memory-safe-assembly
		assembly {
			from := shr(96, shl(96, from))
			to := shr(96, shl(96, to))
			let m := mload(0x40)
			mstore(m, 0xe5eb36c8) // `transferFromNFT(address,address,uint256,address)`.
			mstore(add(m, 0x20), from)
			mstore(add(m, 0x40), to)
			mstore(add(m, 0x60), id)
			mstore(add(m, 0x80), caller())
			if iszero(
				and(eq(mload(m), 1), call(gas(), base, callvalue(), add(m, 0x1c), 0x84, m, 0x20))
			) {
				returndatacopy(m, 0x00, returndatasize())
				revert(m, returndatasize())
			}
			// Emit the {Transfer} event.
			log4(codesize(), 0x00, _TRANSFER_EVENT_SIGNATURE, from, to, id)
		}
	}

	/// @dev Equivalent to `safeTransferFrom(from, to, id, "")`.
	function safeTransferFrom(address from, address to, uint256 id) public payable virtual {
		transferFrom(from, to, id);

		if (_hasCode(to)) _checkOnERC721Received(from, to, id, "");
	}

	/// @dev Transfers token `id` from `from` to `to`.
	///
	/// Requirements:
	///
	/// - Token `id` must exist.
	/// - `from` must be the owner of the token.
	/// - `to` cannot be the zero address.
	/// - The caller must be the owner of the token, or be approved to manage the token.
	/// - 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 id, bytes calldata data)
		public
		virtual
	{
		transferFrom(from, to, id);

		if (_hasCode(to)) _checkOnERC721Received(from, to, id, data);
	}

	/// @dev Returns true if this contract implements the interface defined by `interfaceId`.
	/// See: https://eips.ethereum.org/EIPS/eip-165
	/// This function call must use less than 30000 gas.
	function supportsInterface(bytes4 interfaceId) public view virtual returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			let s := shr(224, interfaceId)
			// ERC165: 0x01ffc9a7, ERC721: 0x80ac58cd, ERC721Metadata: 0x5b5e139f.
			result := or(or(eq(s, 0x01ffc9a7), eq(s, 0x80ac58cd)), eq(s, 0x5b5e139f))
		}
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                     MIRROR OPERATIONS                      */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the address of the base DN404 contract.
	function baseERC20() public view virtual returns (address base) {
		base = _getDN404NFTStorage().baseERC20;
		if (base == address(0)) revert NotLinked();
	}

	/// @dev Fallback modifier to execute calls from the base DN404 contract.
	modifier dn404NFTFallback() virtual {
		DN404NFTStorage storage $ = _getDN404NFTStorage();

		uint256 fnSelector = _calldataload(0x00) >> 224;

		// `logTransfer(uint256[])`.
		if (fnSelector == 0x263c69d6) {
			if (msg.sender != $.baseERC20) revert SenderNotBase();
			/// @solidity memory-safe-assembly
			assembly {
				// When returndatacopy copies 1 or more out-of-bounds bytes, it reverts.
				returndatacopy(0x00, returndatasize(), lt(calldatasize(), 0x20))
				let o := add(0x24, calldataload(0x04)) // Packed logs offset.
				returndatacopy(0x00, returndatasize(), lt(calldatasize(), o))
				let end := add(o, shl(5, calldataload(sub(o, 0x20))))
				returndatacopy(0x00, returndatasize(), lt(calldatasize(), end))

				for {} iszero(eq(o, end)) { o := add(0x20, o) } {
					let d := calldataload(o) // Entry in the packed logs.
					let a := shr(96, d) // The address.
					let b := and(1, d) // Whether it is a burn.
					log4(
						codesize(),
						0x00,
						_TRANSFER_EVENT_SIGNATURE,
						mul(a, b),
						mul(a, iszero(b)),
						shr(168, shl(160, d))
					)
				}
				mstore(0x00, 0x01)
				return(0x00, 0x20)
			}
		}
		// `linkMirrorContract(address)`.
		if (fnSelector == 0x0f4599e5) {
			if ($.deployer != address(0)) {
				if (address(uint160(_calldataload(0x04))) != $.deployer) {
					revert SenderNotDeployer();
				}
			}
			if ($.baseERC20 != address(0)) revert AlreadyLinked();
			$.baseERC20 = msg.sender;
			/// @solidity memory-safe-assembly
			assembly {
				mstore(0x00, 0x01)
				return(0x00, 0x20)
			}
		}
		_;
	}

	/// @dev Fallback function for calls from base DN404 contract.
	fallback() external payable virtual dn404NFTFallback {}

	receive() external payable virtual {}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                      PRIVATE HELPERS                       */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the calldata value at `offset`.
	function _calldataload(uint256 offset) private pure returns (uint256 value) {
		/// @solidity memory-safe-assembly
		assembly {
			value := calldataload(offset)
		}
	}

	/// @dev Returns if `a` has bytecode of non-zero length.
	function _hasCode(address a) private view returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := extcodesize(a) // Can handle dirty upper bits.
		}
	}

	/// @dev Perform a call to invoke {IERC721Receiver-onERC721Received} on `to`.
	/// Reverts if the target does not support the function correctly.
	function _checkOnERC721Received(address from, address to, uint256 id, bytes memory data)
		private
	{
		/// @solidity memory-safe-assembly
		assembly {
			// Prepare the calldata.
			let m := mload(0x40)
			let onERC721ReceivedSelector := 0x150b7a02
			mstore(m, onERC721ReceivedSelector)
			mstore(add(m, 0x20), caller()) // The `operator`, which is always `msg.sender`.
			mstore(add(m, 0x40), shr(96, shl(96, from)))
			mstore(add(m, 0x60), id)
			mstore(add(m, 0x80), 0x80)
			let n := mload(data)
			mstore(add(m, 0xa0), n)
			if n { pop(staticcall(gas(), 4, add(data, 0x20), n, add(m, 0xc0), n)) }
			// Revert if the call reverts.
			if iszero(call(gas(), to, 0, add(m, 0x1c), add(n, 0xa4), m, 0x20)) {
				if returndatasize() {
					// Bubble up the revert if the call reverts.
					returndatacopy(m, 0x00, returndatasize())
					revert(m, returndatasize())
				}
			}
			// Load the returndata and compare it.
			if iszero(eq(mload(m), shl(224, onERC721ReceivedSelector))) {
				mstore(0x00, 0xd1a57ed6) // `TransferToNonERC721ReceiverImplementer()`.
				revert(0x1c, 0x04)
			}
		}
	}
}

// File: https://github.com/Vectorized/dn404/blob/main/src/DN404.sol


pragma solidity ^0.8.4;

/// @title DN404
/// @notice DN404 is a hybrid ERC20 and ERC721 implementation that mints
/// and burns NFTs based on an account's ERC20 token balance.
///
/// @author vectorized.eth (@optimizoor)
/// @author Quit (@0xQuit)
/// @author Michael Amadi (@AmadiMichaels)
/// @author cygaar (@0xCygaar)
/// @author Thomas (@0xjustadev)
/// @author Harrison (@PopPunkOnChain)
///
/// @dev Note:
/// - The ERC721 data is stored in this base DN404 contract, however a
///   DN404Mirror contract ***MUST*** be deployed and linked during
///   initialization.
abstract contract DN404 {
	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                           EVENTS                           */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Emitted when `amount` tokens is transferred from `from` to `to`.
	event Transfer(address indexed from, address indexed to, uint256 amount);

	/// @dev Emitted when `amount` tokens is approved by `owner` to be used by `spender`.
	event Approval(address indexed owner, address indexed spender, uint256 amount);

	/// @dev Emitted when `target` sets their skipNFT flag to `status`.
	event SkipNFTSet(address indexed target, bool status);

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                        CUSTOM ERRORS                       */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Thrown when attempting to double-initialize the contract.
	error DNAlreadyInitialized();

	/// @dev Thrown when attempting to transfer or burn more tokens than sender's balance.
	error InsufficientBalance();

	/// @dev Thrown when a spender attempts to transfer tokens with an insufficient allowance.
	error InsufficientAllowance();

	/// @dev Thrown when minting an amount of tokens that would overflow the max tokens.
	error TotalSupplyOverflow();

	/// @dev Thrown when the caller for a fallback NFT function is not the mirror contract.
	error SenderNotMirror();

	/// @dev Thrown when attempting to transfer tokens to the zero address.
	error TransferToZeroAddress();

	/// @dev Thrown when the mirror address provided for initialization is the zero address.
	error MirrorAddressIsZero();

	/// @dev Thrown when the link call to the mirror contract reverts.
	error LinkMirrorContractFailed();

	/// @dev Thrown when setting an NFT token approval
	/// and the caller is not the owner or an approved operator.
	error ApprovalCallerNotOwnerNorApproved();

	/// @dev Thrown when transferring an NFT
	/// and the caller is not the owner or an approved operator.
	error TransferCallerNotOwnerNorApproved();

	/// @dev Thrown when transferring an NFT and the from address is not the current owner.
	error TransferFromIncorrectOwner();

	/// @dev Thrown when checking the owner or approved address for an non-existent NFT.
	error TokenDoesNotExist();

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                         CONSTANTS                          */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Amount of token balance that is equal to one NFT.
	uint256 internal constant _WAD = 10 ** 18;

	/// @dev The maximum token ID allowed for an NFT.
	uint256 internal constant _MAX_TOKEN_ID = 0xffffffff;

	/// @dev The maximum possible token supply.
	uint256 internal constant _MAX_SUPPLY = 10 ** 18 * 0xffffffff - 1;

	/// @dev The flag to denote that the address data is initialized.
	uint8 internal constant _ADDRESS_DATA_INITIALIZED_FLAG = 1 << 0;

	/// @dev The flag to denote that the address should skip NFTs.
	uint8 internal constant _ADDRESS_DATA_SKIP_NFT_FLAG = 1 << 1;

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                          STORAGE                           */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Struct containing an address's token data and settings.
	struct AddressData {
		// Auxiliary data.
		uint88 aux;
		// Flags for `initialized` and `skipNFT`.
		uint8 flags;
		// The alias for the address. Zero means absence of an alias.
		uint32 addressAlias;
		// The number of NFT tokens.
		uint32 ownedLength;
		// The token balance in wei.
		uint96 balance;
	}

	/// @dev A uint32 map in storage.
	struct Uint32Map {
		mapping(uint256 => uint256) map;
	}

	/// @dev Struct containing the base token contract storage.
	struct DN404Storage {
		// Current number of address aliases assigned.
		uint32 numAliases;
		// Next token ID to assign for an NFT mint.
		uint32 nextTokenId;
		// Total supply of minted NFTs.
		uint32 totalNFTSupply;
		// Total supply of tokens.
		uint96 totalSupply;
		// Address of the NFT mirror contract.
		address mirrorERC721;
		// Mapping of a user alias number to their address.
		mapping(uint32 => address) aliasToAddress;
		// Mapping of user operator approvals for NFTs.
		mapping(address => mapping(address => bool)) operatorApprovals;
		// Mapping of NFT token approvals to approved operators.
		mapping(uint256 => address) tokenApprovals;
		// Mapping of user allowances for token spenders.
		mapping(address => mapping(address => uint256)) allowance;
		// Mapping of NFT token IDs owned by an address.
		mapping(address => Uint32Map) owned;
		// Even indices: owner aliases. Odd indices: owned indices.
		Uint32Map oo;
		// Mapping of user account AddressData
		mapping(address => AddressData) addressData;
	}

	/// @dev Returns a storage pointer for DN404Storage.
	function _getDN404Storage() internal pure virtual returns (DN404Storage storage $) {
		/// @solidity memory-safe-assembly
		assembly {
			// `uint72(bytes9(keccak256("DN404_STORAGE")))`.
			$.slot := 0xa20d6e21d0e5255308 // Truncate to 9 bytes to reduce bytecode size.
		}
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                         INITIALIZER                        */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Initializes the DN404 contract with an
	/// `initialTokenSupply`, `initialTokenOwner` and `mirror` NFT contract address.
	function _initializeDN404(
		uint256 initialTokenSupply,
		address initialSupplyOwner,
		address mirror
	) internal virtual {
		DN404Storage storage $ = _getDN404Storage();

		if ($.nextTokenId != 0) revert DNAlreadyInitialized();

		if (mirror == address(0)) revert MirrorAddressIsZero();
		_linkMirrorContract(mirror);

		$.nextTokenId = 1;
		$.mirrorERC721 = mirror;

		if (initialTokenSupply > 0) {
			if (initialSupplyOwner == address(0)) revert TransferToZeroAddress();
			if (initialTokenSupply > _MAX_SUPPLY) revert TotalSupplyOverflow();

			$.totalSupply = uint96(initialTokenSupply);
			AddressData storage initialOwnerAddressData = _addressData(initialSupplyOwner);
			initialOwnerAddressData.balance = uint96(initialTokenSupply);

			emit Transfer(address(0), initialSupplyOwner, initialTokenSupply);

			_setSkipNFT(initialSupplyOwner, true);
		}
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*               METADATA FUNCTIONS TO OVERRIDE               */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the name of the token.
	function name() public view virtual returns (string memory);

	/// @dev Returns the symbol of the token.
	function symbol() public view virtual returns (string memory);

	/// @dev Returns the Uniform Resource Identifier (URI) for token `id`.
	function tokenURI(uint256 id) public view virtual returns (string memory);

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                      ERC20 OPERATIONS                      */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the decimals places of the token. Always 18.
	function decimals() public pure returns (uint8) {
		return 18;
	}

	/// @dev Returns the amount of tokens in existence.
	function totalSupply() public view virtual returns (uint256) {
		return uint256(_getDN404Storage().totalSupply);
	}

	/// @dev Returns the amount of tokens owned by `owner`.
	function balanceOf(address owner) public view virtual returns (uint256) {
		return _getDN404Storage().addressData[owner].balance;
	}

	/// @dev Returns the amount of tokens that `spender` can spend on behalf of `owner`.
	function allowance(address owner, address spender) public view returns (uint256) {
		return _getDN404Storage().allowance[owner][spender];
	}

	/// @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
	///
	/// Emits a {Approval} event.
	function approve(address spender, uint256 amount) public virtual returns (bool) {
		DN404Storage storage $ = _getDN404Storage();

		$.allowance[msg.sender][spender] = amount;

		emit Approval(msg.sender, spender, amount);

		return true;
	}

	/// @dev Transfer `amount` tokens from the caller to `to`.
	///
	/// Will burn sender NFTs if balance after transfer is less than
	/// the amount required to support the current NFT balance.
	///
	/// Will mint NFTs to `to` if the recipient's new balance supports
	/// additional NFTs ***AND*** the `to` address's skipNFT flag is
	/// set to false.
	///
	/// Requirements:
	/// - `from` must at least have `amount`.
	///
	/// Emits a {Transfer} event.
	function transfer(address to, uint256 amount) public virtual returns (bool) {
		_transfer(msg.sender, to, amount);
		return true;
	}

	/// @dev Transfers `amount` tokens from `from` to `to`.
	///
	/// Note: Does not update the allowance if it is the maximum uint256 value.
	///
	/// Will burn sender NFTs if balance after transfer is less than
	/// the amount required to support the current NFT balance.
	///
	/// Will mint NFTs to `to` if the recipient's new balance supports
	/// additional NFTs ***AND*** the `to` address's skipNFT flag is
	/// set to false.
	///
	/// Requirements:
	/// - `from` must at least have `amount`.
	/// - The caller must have at least `amount` of allowance to transfer the tokens of `from`.
	///
	/// Emits a {Transfer} event.
	function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) {
		DN404Storage storage $ = _getDN404Storage();

		uint256 allowed = $.allowance[from][msg.sender];

		if (allowed != type(uint256).max) {
			if (amount > allowed) revert InsufficientAllowance();
			unchecked {
				$.allowance[from][msg.sender] = allowed - amount;
			}
		}

		_transfer(from, to, amount);

		return true;
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                  INTERNAL MINT FUNCTIONS                   */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Mints `amount` tokens to `to`, increasing the total supply.
	///
	/// Will mint NFTs to `to` if the recipient's new balance supports
	/// additional NFTs ***AND*** the `to` address's skipNFT flag is
	/// set to false.
	///
	/// Emits a {Transfer} event.
	function _mint(address to, uint256 amount) internal virtual {
		if (to == address(0)) revert TransferToZeroAddress();

		DN404Storage storage $ = _getDN404Storage();

		AddressData storage toAddressData = _addressData(to);

		unchecked {
			uint256 currentTokenSupply = uint256($.totalSupply) + amount;
			if (amount > _MAX_SUPPLY || currentTokenSupply > _MAX_SUPPLY) {
				revert TotalSupplyOverflow();
			}
			$.totalSupply = uint96(currentTokenSupply);

			uint256 toBalance = toAddressData.balance + amount;
			toAddressData.balance = uint96(toBalance);

			if (toAddressData.flags & _ADDRESS_DATA_SKIP_NFT_FLAG == 0) {
				Uint32Map storage toOwned = $.owned[to];
				uint256 toIndex = toAddressData.ownedLength;
				uint256 toEnd = toBalance / _WAD;
				_PackedLogs memory packedLogs = _packedLogsMalloc(_zeroFloorSub(toEnd, toIndex));

				if (packedLogs.logs.length != 0) {
					uint256 maxNFTId = $.totalSupply / _WAD;
					uint32 toAlias = _registerAndResolveAlias(toAddressData, to);
					uint256 id = $.nextTokenId;
					$.totalNFTSupply += uint32(packedLogs.logs.length);
					toAddressData.ownedLength = uint32(toEnd);
					// Mint loop.
					do {
						while (_get($.oo, _ownershipIndex(id)) != 0) {
							if (++id > maxNFTId) id = 1;
						}
						_set(toOwned, toIndex, uint32(id));
						_setOwnerAliasAndOwnedIndex($.oo, id, toAlias, uint32(toIndex++));
						_packedLogsAppend(packedLogs, to, id, 0);
						if (++id > maxNFTId) id = 1;
					} while (toIndex != toEnd);
					$.nextTokenId = uint32(id);
					_packedLogsSend(packedLogs, $.mirrorERC721);
				}
			}
		}
		emit Transfer(address(0), to, amount);
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                  INTERNAL BURN FUNCTIONS                   */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Burns `amount` tokens from `from`, reducing the total supply.
	///
	/// Will burn sender NFTs if balance after transfer is less than
	/// the amount required to support the current NFT balance.
	///
	/// Emits a {Transfer} event.
	function _burn(address from, uint256 amount) internal virtual {
		DN404Storage storage $ = _getDN404Storage();

		AddressData storage fromAddressData = _addressData(from);

		uint256 fromBalance = fromAddressData.balance;
		if (amount > fromBalance) revert InsufficientBalance();

		uint256 currentTokenSupply = $.totalSupply;

		unchecked {
			fromBalance -= amount;
			fromAddressData.balance = uint96(fromBalance);
			currentTokenSupply -= amount;
			$.totalSupply = uint96(currentTokenSupply);

			Uint32Map storage fromOwned = $.owned[from];
			uint256 fromIndex = fromAddressData.ownedLength;
			uint256 nftAmountToBurn = _zeroFloorSub(fromIndex, fromBalance / _WAD);

			if (nftAmountToBurn != 0) {
				$.totalNFTSupply -= uint32(nftAmountToBurn);

				_PackedLogs memory packedLogs = _packedLogsMalloc(nftAmountToBurn);

				uint256 fromEnd = fromIndex - nftAmountToBurn;
				// Burn loop.
				do {
					uint256 id = _get(fromOwned, --fromIndex);
					_setOwnerAliasAndOwnedIndex($.oo, id, 0, 0);
					delete $.tokenApprovals[id];
					_packedLogsAppend(packedLogs, from, id, 1);
				} while (fromIndex != fromEnd);

				fromAddressData.ownedLength = uint32(fromIndex);
				_packedLogsSend(packedLogs, $.mirrorERC721);
			}
		}
		emit Transfer(from, address(0), amount);
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                INTERNAL TRANSFER FUNCTIONS                 */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Moves `amount` of tokens from `from` to `to`.
	///
	/// Will burn sender NFTs if balance after transfer is less than
	/// the amount required to support the current NFT balance.
	///
	/// Will mint NFTs to `to` if the recipient's new balance supports
	/// additional NFTs ***AND*** the `to` address's skipNFT flag is
	/// set to false.
	///
	/// Emits a {Transfer} event.
	function _transfer(address from, address to, uint256 amount) internal virtual {
		if (to == address(0)) revert TransferToZeroAddress();

		DN404Storage storage $ = _getDN404Storage();

		AddressData storage fromAddressData = _addressData(from);
		AddressData storage toAddressData = _addressData(to);

		_TransferTemps memory t;
		t.fromOwnedLength = fromAddressData.ownedLength;
		t.toOwnedLength = toAddressData.ownedLength;
		t.fromBalance = fromAddressData.balance;

		if (amount > t.fromBalance) revert InsufficientBalance();

		unchecked {
			t.fromBalance -= amount;
			fromAddressData.balance = uint96(t.fromBalance);
			toAddressData.balance = uint96(t.toBalance = toAddressData.balance + amount);

			t.nftAmountToBurn = _zeroFloorSub(t.fromOwnedLength, t.fromBalance / _WAD);

			if (toAddressData.flags & _ADDRESS_DATA_SKIP_NFT_FLAG == 0) {
				if (from == to) t.toOwnedLength = t.fromOwnedLength - t.nftAmountToBurn;
				t.nftAmountToMint = _zeroFloorSub(t.toBalance / _WAD, t.toOwnedLength);
			}

			_PackedLogs memory packedLogs = _packedLogsMalloc(t.nftAmountToBurn + t.nftAmountToMint);

			if (t.nftAmountToBurn != 0) {
				Uint32Map storage fromOwned = $.owned[from];
				uint256 fromIndex = t.fromOwnedLength;
				uint256 fromEnd = fromIndex - t.nftAmountToBurn;
				$.totalNFTSupply -= uint32(t.nftAmountToBurn);
				fromAddressData.ownedLength = uint32(fromEnd);
				// Burn loop.
				do {
					uint256 id = _get(fromOwned, --fromIndex);
					_setOwnerAliasAndOwnedIndex($.oo, id, 0, 0);
					delete $.tokenApprovals[id];
					_packedLogsAppend(packedLogs, from, id, 1);
				} while (fromIndex != fromEnd);
			}

			if (t.nftAmountToMint != 0) {
				Uint32Map storage toOwned = $.owned[to];
				uint256 toIndex = t.toOwnedLength;
				uint256 toEnd = toIndex + t.nftAmountToMint;
				uint32 toAlias = _registerAndResolveAlias(toAddressData, to);
				uint256 maxNFTId = $.totalSupply / _WAD;
				uint256 id = $.nextTokenId;
				$.totalNFTSupply += uint32(t.nftAmountToMint);
				toAddressData.ownedLength = uint32(toEnd);
				// Mint loop.
				do {
					while (_get($.oo, _ownershipIndex(id)) != 0) {
						if (++id > maxNFTId) id = 1;
					}
					_set(toOwned, toIndex, uint32(id));
					_setOwnerAliasAndOwnedIndex($.oo, id, toAlias, uint32(toIndex++));
					_packedLogsAppend(packedLogs, to, id, 0);
					if (++id > maxNFTId) id = 1;
				} while (toIndex != toEnd);
				$.nextTokenId = uint32(id);
			}

			if (packedLogs.logs.length != 0) {
				_packedLogsSend(packedLogs, $.mirrorERC721);
			}
		}
		emit Transfer(from, to, amount);
	}

	/// @dev Transfers token `id` from `from` to `to`.
	///
	/// Requirements:
	///
	/// - Call must originate from the mirror contract.
	/// - Token `id` must exist.
	/// - `from` must be the owner of the token.
	/// - `to` cannot be the zero address.
	///   `msgSender` must be the owner of the token, or be approved to manage the token.
	///
	/// Emits a {Transfer} event.
	function _transferFromNFT(address from, address to, uint256 id, address msgSender)
		internal
		virtual
	{
		DN404Storage storage $ = _getDN404Storage();

		if (to == address(0)) revert TransferToZeroAddress();

		address owner = $.aliasToAddress[_get($.oo, _ownershipIndex(id))];

		if (from != owner) revert TransferFromIncorrectOwner();

		if (msgSender != from) {
			if (!$.operatorApprovals[from][msgSender]) {
				if (msgSender != $.tokenApprovals[id]) {
					revert TransferCallerNotOwnerNorApproved();
				}
			}
		}

		AddressData storage fromAddressData = _addressData(from);
		AddressData storage toAddressData = _addressData(to);

		fromAddressData.balance -= uint96(_WAD);

		unchecked {
			toAddressData.balance += uint96(_WAD);

			_set($.oo, _ownershipIndex(id), _registerAndResolveAlias(toAddressData, to));
			delete $.tokenApprovals[id];

			uint256 updatedId = _get($.owned[from], --fromAddressData.ownedLength);
			_set($.owned[from], _get($.oo, _ownedIndex(id)), uint32(updatedId));

			uint256 n = toAddressData.ownedLength++;
			_set($.oo, _ownedIndex(updatedId), _get($.oo, _ownedIndex(id)));
			_set($.owned[to], n, uint32(id));
			_set($.oo, _ownedIndex(id), uint32(n));
		}

		emit Transfer(from, to, _WAD);
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                 DATA HITCHHIKING FUNCTIONS                 */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the auxiliary data for `owner`.
	/// Minting, transferring, burning the tokens of `owner` will not change the auxiliary data.
	/// Auxiliary data can be set for any address, even if it does not have any tokens.
	function _getAux(address owner) internal view virtual returns (uint88) {
		return _getDN404Storage().addressData[owner].aux;
	}

	/// @dev Set the auxiliary data for `owner` to `value`.
	/// Minting, transferring, burning the tokens of `owner` will not change the auxiliary data.
	/// Auxiliary data can be set for any address, even if it does not have any tokens.
	function _setAux(address owner, uint88 value) internal virtual {
		_getDN404Storage().addressData[owner].aux = value;
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                     SKIP NFT FUNCTIONS                     */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns true if account `a` will skip NFT minting on token mints and transfers.
	/// Returns false if account `a` will mint NFTs on token mints and transfers.
	function getSkipNFT(address a) public view virtual returns (bool) {
		AddressData storage d = _getDN404Storage().addressData[a];
		if (d.flags & _ADDRESS_DATA_INITIALIZED_FLAG == 0) return _hasCode(a);
		return d.flags & _ADDRESS_DATA_SKIP_NFT_FLAG != 0;
	}

	/// @dev Sets the caller's skipNFT flag to `skipNFT`
	///
	/// Emits a {SkipNFTSet} event.
	function setSkipNFT(bool skipNFT) public virtual {
		_setSkipNFT(msg.sender, skipNFT);
	}

	/// @dev Internal function to set account `a` skipNFT flag to `state`
	///
	/// Initializes account `a` AddressData if it is not currently initialized.
	///
	/// Emits a {SkipNFTSet} event.
	function _setSkipNFT(address a, bool state) internal virtual {
		AddressData storage d = _addressData(a);
		if ((d.flags & _ADDRESS_DATA_SKIP_NFT_FLAG != 0) != state) {
			d.flags ^= _ADDRESS_DATA_SKIP_NFT_FLAG;
		}
		emit SkipNFTSet(a, state);
	}

	/// @dev Returns a storage data pointer for account `a` AddressData
	///
	/// Initializes account `a` AddressData if it is not currently initialized.
	function _addressData(address a) internal virtual returns (AddressData storage d) {
		DN404Storage storage $ = _getDN404Storage();
		d = $.addressData[a];

		if (d.flags & _ADDRESS_DATA_INITIALIZED_FLAG == 0) {
			uint8 flags = _ADDRESS_DATA_INITIALIZED_FLAG;
			if (_hasCode(a)) flags |= _ADDRESS_DATA_SKIP_NFT_FLAG;
			d.flags = flags;
		}
	}

	/// @dev Returns the `addressAlias` of account `to`.
	///
	/// Assigns and registers the next alias if `to` alias was not previously registered.
	function _registerAndResolveAlias(AddressData storage toAddressData, address to)
		internal
		virtual
		returns (uint32 addressAlias)
	{
		DN404Storage storage $ = _getDN404Storage();
		addressAlias = toAddressData.addressAlias;
		if (addressAlias == 0) {
			addressAlias = ++$.numAliases;
			toAddressData.addressAlias = addressAlias;
			$.aliasToAddress[addressAlias] = to;
		}
	}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                     MIRROR OPERATIONS                      */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Returns the address of the mirror NFT contract.
	function mirrorERC721() public view virtual returns (address) {
		return _getDN404Storage().mirrorERC721;
	}

	/// @dev Returns the total NFT supply.
	function _totalNFTSupply() internal view virtual returns (uint256) {
		return _getDN404Storage().totalNFTSupply;
	}

	/// @dev Returns `owner` NFT balance.
	function _balanceOfNFT(address owner) internal view virtual returns (uint256) {
		return _getDN404Storage().addressData[owner].ownedLength;
	}

	/// @dev Returns the owner of token `id`.
	/// Returns the zero address instead of reverting if the token does not exist.
	function _ownerAt(uint256 id) internal view virtual returns (address) {
		DN404Storage storage $ = _getDN404Storage();
		return $.aliasToAddress[_get($.oo, _ownershipIndex(id))];
	}

	/// @dev Returns the owner of token `id`.
	///
	/// Requirements:
	/// - Token `id` must exist.
	function _ownerOf(uint256 id) internal view virtual returns (address) {
		if (!_exists(id)) revert TokenDoesNotExist();
		return _ownerAt(id);
	}

	/// @dev Returns if token `id` exists.
	function _exists(uint256 id) internal view virtual returns (bool) {
		return _ownerAt(id) != address(0);
	}

	/// @dev Returns the account approved to manage token `id`.
	///
	/// Requirements:
	/// - Token `id` must exist.
	function _getApproved(uint256 id) internal view virtual returns (address) {
		if (!_exists(id)) revert TokenDoesNotExist();
		return _getDN404Storage().tokenApprovals[id];
	}

	/// @dev Sets `spender` as the approved account to manage token `id`, using `msgSender`.
	///
	/// Requirements:
	/// - `msgSender` must be the owner or an approved operator for the token owner.
	function _approveNFT(address spender, uint256 id, address msgSender)
		internal
		virtual
		returns (address)
	{
		DN404Storage storage $ = _getDN404Storage();

		address owner = $.aliasToAddress[_get($.oo, _ownershipIndex(id))];

		if (msgSender != owner) {
			if (!$.operatorApprovals[owner][msgSender]) {
				revert ApprovalCallerNotOwnerNorApproved();
			}
		}

		$.tokenApprovals[id] = spender;

		return owner;
	}

	/// @dev Approve or remove the `operator` as an operator for `msgSender`,
	/// without authorization checks.
	function _setApprovalForAll(address operator, bool approved, address msgSender)
		internal
		virtual
	{
		_getDN404Storage().operatorApprovals[msgSender][operator] = approved;
	}

	/// @dev Calls the mirror contract to link it to this contract.
	///
	/// Reverts if the call to the mirror contract reverts.
	function _linkMirrorContract(address mirror) internal virtual {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, 0x0f4599e5) // `linkMirrorContract(address)`.
			mstore(0x20, caller())
			if iszero(and(eq(mload(0x00), 1), call(gas(), mirror, 0, 0x1c, 0x24, 0x00, 0x20))) {
				mstore(0x00, 0xd125259c) // `LinkMirrorContractFailed()`.
				revert(0x1c, 0x04)
			}
		}
	}

	/// @dev Fallback modifier to dispatch calls from the mirror NFT contract
	/// to internal functions in this contract.
	modifier dn404Fallback() virtual {
		DN404Storage storage $ = _getDN404Storage();

		uint256 fnSelector = _calldataload(0x00) >> 224;

		// `isApprovedForAll(address,address)`.
		if (fnSelector == 0xe985e9c5) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x44) revert();

			address owner = address(uint160(_calldataload(0x04)));
			address operator = address(uint160(_calldataload(0x24)));

			_return($.operatorApprovals[owner][operator] ? 1 : 0);
		}
		// `ownerOf(uint256)`.
		if (fnSelector == 0x6352211e) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x24) revert();

			uint256 id = _calldataload(0x04);

			_return(uint160(_ownerOf(id)));
		}
		// `transferFromNFT(address,address,uint256,address)`.
		if (fnSelector == 0xe5eb36c8) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x84) revert();

			address from = address(uint160(_calldataload(0x04)));
			address to = address(uint160(_calldataload(0x24)));
			uint256 id = _calldataload(0x44);
			address msgSender = address(uint160(_calldataload(0x64)));

			_transferFromNFT(from, to, id, msgSender);
			_return(1);
		}
		// `setApprovalForAll(address,bool,address)`.
		if (fnSelector == 0x813500fc) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x64) revert();

			address spender = address(uint160(_calldataload(0x04)));
			bool status = _calldataload(0x24) != 0;
			address msgSender = address(uint160(_calldataload(0x44)));

			_setApprovalForAll(spender, status, msgSender);
			_return(1);
		}
		// `approveNFT(address,uint256,address)`.
		if (fnSelector == 0xd10b6e0c) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x64) revert();

			address spender = address(uint160(_calldataload(0x04)));
			uint256 id = _calldataload(0x24);
			address msgSender = address(uint160(_calldataload(0x44)));

			_return(uint160(_approveNFT(spender, id, msgSender)));
		}
		// `getApproved(uint256)`.
		if (fnSelector == 0x081812fc) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x24) revert();

			uint256 id = _calldataload(0x04);

			_return(uint160(_getApproved(id)));
		}
		// `balanceOfNFT(address)`.
		if (fnSelector == 0xf5b100ea) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x24) revert();

			address owner = address(uint160(_calldataload(0x04)));

			_return(_balanceOfNFT(owner));
		}
		// `totalNFTSupply()`.
		if (fnSelector == 0xe2c79281) {
			if (msg.sender != $.mirrorERC721) revert SenderNotMirror();
			if (msg.data.length < 0x04) revert();

			_return(_totalNFTSupply());
		}
		// `implementsDN404()`.
		if (fnSelector == 0xb7a94eb8) {
			_return(1);
		}
		_;
	}

	/// @dev Fallback function for calls from mirror NFT contract.
	fallback() external payable virtual dn404Fallback {}

	receive() external payable virtual {}

	/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/
	/*                      PRIVATE HELPERS                       */
	/*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/

	/// @dev Struct containing packed log data for `Transfer` events to be
	/// emitted by the mirror NFT contract.
	struct _PackedLogs {
		uint256[] logs;
		uint256 offset;
	}

	/// @dev Initiates memory allocation for packed logs with `n` log items.
	function _packedLogsMalloc(uint256 n) private pure returns (_PackedLogs memory p) {
		/// @solidity memory-safe-assembly
		assembly {
			let logs := add(mload(0x40), 0x40) // Offset by 2 words for `_packedLogsSend`.
			mstore(logs, n)
			let offset := add(0x20, logs)
			mstore(0x40, add(offset, shl(5, n)))
			mstore(p, logs)
			mstore(add(0x20, p), offset)
		}
	}

	/// @dev Adds a packed log item to `p` with address `a`, token `id` and burn flag `burnBit`.
	function _packedLogsAppend(_PackedLogs memory p, address a, uint256 id, uint256 burnBit)
		private
		pure
	{
		/// @solidity memory-safe-assembly
		assembly {
			let offset := mload(add(0x20, p))
			mstore(offset, or(or(shl(96, a), shl(8, id)), burnBit))
			mstore(add(0x20, p), add(offset, 0x20))
		}
	}

	/// @dev Calls the `mirror` NFT contract to emit Transfer events for packed logs `p`.
	function _packedLogsSend(_PackedLogs memory p, address mirror) private {
		/// @solidity memory-safe-assembly
		assembly {
			let logs := mload(p)
			let o := sub(logs, 0x40) // Start of calldata to send.
			mstore(o, 0x263c69d6) // `logTransfer(uint256[])`.
			mstore(add(o, 0x20), 0x20) // Offset of `logs` in the calldata to send.
			let n := add(0x44, shl(5, mload(logs))) // Length of calldata to send.
			if iszero(and(eq(mload(o), 1), call(gas(), mirror, 0, add(o, 0x1c), n, o, 0x20))) {
				revert(o, 0x00)
			}
		}
	}

	/// @dev Struct of temporary variables for transfers.
	struct _TransferTemps {
		uint256 nftAmountToBurn;
		uint256 nftAmountToMint;
		uint256 fromBalance;
		uint256 toBalance;
		uint256 fromOwnedLength;
		uint256 toOwnedLength;
	}

	/// @dev Returns if `a` has bytecode of non-zero length.
	function _hasCode(address a) private view returns (bool result) {
		/// @solidity memory-safe-assembly
		assembly {
			result := extcodesize(a) // Can handle dirty upper bits.
		}
	}

	/// @dev Returns the calldata value at `offset`.
	function _calldataload(uint256 offset) private pure returns (uint256 value) {
		/// @solidity memory-safe-assembly
		assembly {
			value := calldataload(offset)
		}
	}

	/// @dev Executes a return opcode to return `x` and end the current call frame.
	function _return(uint256 x) private pure {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x00, x)
			return(0x00, 0x20)
		}
	}

	/// @dev Returns `max(0, x - y)`.
	function _zeroFloorSub(uint256 x, uint256 y) private pure returns (uint256 z) {
		/// @solidity memory-safe-assembly
		assembly {
			z := mul(gt(x, y), sub(x, y))
		}
	}

	/// @dev Returns `i << 1`.
	function _ownershipIndex(uint256 i) private pure returns (uint256) {
		return i << 1;
	}

	/// @dev Returns `(i << 1) + 1`.
	function _ownedIndex(uint256 i) private pure returns (uint256) {
		unchecked {
			return (i << 1) + 1;
		}
	}

	/// @dev Returns the uint32 value at `index` in `map`.
	function _get(Uint32Map storage map, uint256 index) private view returns (uint32 result) {
		result = uint32(map.map[index >> 3] >> ((index & 7) << 5));
	}

	/// @dev Updates the uint32 value at `index` in `map`.
	function _set(Uint32Map storage map, uint256 index, uint32 value) private {
		/// @solidity memory-safe-assembly
		assembly {
			mstore(0x20, map.slot)
			mstore(0x00, shr(3, index))
			let s := keccak256(0x00, 0x40) // Storage slot.
			let o := shl(5, and(index, 7)) // Storage slot offset (bits).
			let v := sload(s) // Storage slot value.
			let m := 0xffffffff // Value mask.
			sstore(s, xor(v, shl(o, and(m, xor(shr(o, v), value)))))
		}
	}

	/// @dev Sets the owner alias and the owned index together.
	function _setOwnerAliasAndOwnedIndex(
		Uint32Map storage map,
		uint256 id,
		uint32 ownership,
		uint32 ownedIndex
	) private {
		/// @solidity memory-safe-assembly
		assembly {
			let value := or(shl(32, ownedIndex), and(0xffffffff, ownership))
			mstore(0x20, map.slot)
			mstore(0x00, shr(2, id))
			let s := keccak256(0x00, 0x40) // Storage slot.
			let o := shl(6, and(id, 3)) // Storage slot offset (bits).
			let v := sload(s) // Storage slot value.
			let m := 0xffffffffffffffff // Value mask.
			sstore(s, xor(v, shl(o, and(m, xor(shr(o, v), value)))))
		}
	}
}

// File: contracts/dndblocks.sol


pragma solidity ^0.8.4;






contract SimpleDN404 is DN404, Ownable {
	string private _name;
	string private _symbol;
	string private _baseURI;
    uint256 immutable rand;

	constructor(
		string memory name_,
		string memory symbol_,
		uint96 initialTokenSupply,
		address initialSupplyOwner
	) {
		_initializeOwner(msg.sender);

		_name = name_;
		_symbol = symbol_;

		address mirror = address(new DN404Mirror(msg.sender));
		_initializeDN404(initialTokenSupply, initialSupplyOwner, mirror);
        rand = uint256(block.prevrandao);
	}

	function name() public view override returns (string memory) {
		return _name;
	}

	function symbol() public view override returns (string memory) {
		return _symbol;
	}

	function tokenURI(uint256 tokenId) public view override returns (string memory result) {
		if (bytes(_baseURI).length != 0) {
			uint256 seed = uint256(keccak256(abi.encodePacked(tokenId, rand)));
			result = string(abi.encodePacked(_baseURI,LibString.toString(tokenId),"/", LibString.toString(seed),".json"));
		}
	}

	// This allows the owner of the contract to mint more tokens.
	function mint(address to, uint256 amount) public onlyOwner {
		_mint(to, amount);
	}

	function setBaseURI(string calldata baseURI_) public onlyOwner {
		_baseURI = baseURI_;
	}

	function withdraw() public onlyOwner {
		SafeTransferLib.safeTransferAllETH(msg.sender);
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint96","name":"initialTokenSupply","type":"uint96"},{"internalType":"address","name":"initialSupplyOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"DNAlreadyInitialized","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"LinkMirrorContractFailed","type":"error"},{"inputs":[],"name":"MirrorAddressIsZero","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"SenderNotMirror","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","type":"error"},{"inputs":[],"name":"TotalSupplyOverflow","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SkipNFTSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"getSkipNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mirrorERC721","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"skipNFT","type":"bool"}],"name":"setSkipNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234801562000010575f80fd5b5060405162005d8738038062005d878339818101604052810190620000369190620008ab565b6200004733620000d760201b60201c565b835f908162000057919062000b8f565b50826001908162000069919062000b8f565b505f336040516200007a9062000671565b62000086919062000c84565b604051809103905ff080158015620000a0573d5f803e3d5ffd5b509050620000c4836bffffffffffffffffffffffff168383620001b860201b60201c565b4460808181525050505050505062000d02565b620000e7620004aa60201b60201c565b1562000162577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278054156200012357630dc149f05f526004601cfd5b8160601b60601c9150811560ff1b82178155815f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a350620001b5565b8060601b60601c9050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392755805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a35b50565b5f620001c9620004ae60201b60201c565b90505f815f0160049054906101000a900463ffffffff1663ffffffff16146200021e576040517fead4d2e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000284576040517f39a84a7b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200029582620004be60201b60201c565b6001815f0160046101000a81548163ffffffff021916908363ffffffff16021790555081816001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f841115620004a4575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000369576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6b0de0b6b39983494c589bffff841115620003b0576040517fe5cfe95700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83815f01600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f620003f484620004ef60201b60201c565b905084815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405162000487919062000cb0565b60405180910390a3620004a2846001620005a960201b60201c565b505b50505050565b5f90565b5f68a20d6e21d0e5255308905090565b630f4599e55f523360205260205f6024601c5f855af160015f511416620004ec5763d125259c5f526004601cfd5b50565b5f8062000501620004ae60201b60201c565b9050806008015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2091505f6001835f01600b9054906101000a900460ff161660ff1603620005a3575f6001905062000578846200066760201b60201c565b1562000585576002811790505b80835f01600b6101000a81548160ff021916908360ff160217905550505b50919050565b5f620005bb83620004ef60201b60201c565b90508115155f6002835f01600b9054906101000a900460ff161660ff16141515151462000612576002815f01600b8282829054906101000a900460ff161892506101000a81548160ff021916908360ff1602179055505b8273ffffffffffffffffffffffffffffffffffffffff167fb5a1de456fff688115a4f75380060c23c8532d14ff85f687cc871456d6420393836040516200065a919062000ce7565b60405180910390a2505050565b5f813b9050919050565b611723806200466483390190565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620006e08262000698565b810181811067ffffffffffffffff82111715620007025762000701620006a8565b5b80604052505050565b5f620007166200067f565b9050620007248282620006d5565b919050565b5f67ffffffffffffffff821115620007465762000745620006a8565b5b620007518262000698565b9050602081019050919050565b5f5b838110156200077d57808201518184015260208101905062000760565b5f8484015250505050565b5f6200079e620007988462000729565b6200070b565b905082815260208101848484011115620007bd57620007bc62000694565b5b620007ca8482856200075e565b509392505050565b5f82601f830112620007e957620007e862000690565b5b8151620007fb84826020860162000788565b91505092915050565b5f6bffffffffffffffffffffffff82169050919050565b620008268162000804565b811462000831575f80fd5b50565b5f8151905062000844816200081b565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000875826200084a565b9050919050565b620008878162000869565b811462000892575f80fd5b50565b5f81519050620008a5816200087c565b92915050565b5f805f8060808587031215620008c657620008c562000688565b5b5f85015167ffffffffffffffff811115620008e657620008e56200068c565b5b620008f487828801620007d2565b945050602085015167ffffffffffffffff8111156200091857620009176200068c565b5b6200092687828801620007d2565b9350506040620009398782880162000834565b92505060606200094c8782880162000895565b91505092959194509250565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620009a757607f821691505b602082108103620009bd57620009bc62000962565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000a217fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620009e4565b62000a2d8683620009e4565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000a7762000a7162000a6b8462000a45565b62000a4e565b62000a45565b9050919050565b5f819050919050565b62000a928362000a57565b62000aaa62000aa18262000a7e565b848454620009f0565b825550505050565b5f90565b62000ac062000ab2565b62000acd81848462000a87565b505050565b5b8181101562000af45762000ae85f8262000ab6565b60018101905062000ad3565b5050565b601f82111562000b435762000b0d81620009c3565b62000b1884620009d5565b8101602085101562000b28578190505b62000b4062000b3785620009d5565b83018262000ad2565b50505b505050565b5f82821c905092915050565b5f62000b655f198460080262000b48565b1980831691505092915050565b5f62000b7f838362000b54565b9150826002028217905092915050565b62000b9a8262000958565b67ffffffffffffffff81111562000bb65762000bb5620006a8565b5b62000bc282546200098f565b62000bcf82828562000af8565b5f60209050601f83116001811462000c05575f841562000bf0578287015190505b62000bfc858262000b72565b86555062000c6b565b601f19841662000c1586620009c3565b5f5b8281101562000c3e5784890151825560018201915060208501945060208101905062000c17565b8683101562000c5e578489015162000c5a601f89168262000b54565b8355505b6001600288020188555050505b505050505050565b62000c7e8162000869565b82525050565b5f60208201905062000c995f83018462000c73565b92915050565b62000caa8162000a45565b82525050565b5f60208201905062000cc55f83018462000c9f565b92915050565b5f8115159050919050565b62000ce18162000ccb565b82525050565b5f60208201905062000cfc5f83018462000cd6565b92915050565b60805161394962000d1b5f395f611ca801526139495ff3fe608060405260043610610143575f3560e01c806354d1f13d116100b5578063a9059cbb1161006e578063a9059cbb14610b6c578063c87b56dd14610ba8578063dd62ed3e14610be4578063f04e283e14610c20578063f2fde38b14610c3c578063fee81cf414610c585761014a565b806354d1f13d14610aa057806355f804b314610aaa57806370a0823114610ad2578063715018a614610b0e5780638da5cb5b14610b1857806395d89b4114610b425761014a565b8063274e430b11610107578063274e430b146109aa5780632a6a935d146109e6578063313ce56714610a0e5780633ccfd60b14610a3857806340c10f1914610a4e5780634ef41efc14610a765761014a565b806306fdde03146108d4578063095ea7b3146108fe57806318160ddd1461093a57806323b872dd1461096457806325692962146109a05761014a565b3661014a57005b5f610153610c94565b90505f60e06101615f610ca4565b901c905063e985e9c581036102c457816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101f8576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60445f3690501015610208575f80fd5b5f6102136004610ca4565b90505f6102206024610ca4565b90506102c1846003015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166102b6575f6102b9565b60015b60ff16610cae565b50505b636352211e810361039d57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610357576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f3690501015610367575f80fd5b5f6103726004610ca4565b905061039b61038082610cb6565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b505b63e5eb36c8810361048f57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610430576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60845f3690501015610440575f80fd5b5f61044b6004610ca4565b90505f6104586024610ca4565b90505f6104656044610ca4565b90505f6104726064610ca4565b905061048084848484610d06565b61048a6001610cae565b505050505b63813500fc810361057557816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610522576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60645f3690501015610532575f80fd5b5f61053d6004610ca4565b90505f8061054b6024610ca4565b141590505f61055a6044610ca4565b90506105678383836112e1565b6105716001610cae565b5050505b63d10b6e0c810361066c57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610608576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60645f3690501015610618575f80fd5b5f6106236004610ca4565b90505f6106306024610ca4565b90505f61063d6044610ca4565b905061066861064d84848461137e565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b5050505b63081812fc810361074557816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106ff576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f369050101561070f575f80fd5b5f61071a6004610ca4565b90506107436107288261152e565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b505b63f5b100ea810361080857816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107d8576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f36905010156107e8575f80fd5b5f6107f36004610ca4565b9050610806610801826115af565b610cae565b505b63e2c7928181036108bc57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461089b576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60045f36905010156108ab575f80fd5b6108bb6108b6611616565b610cae565b5b63b7a94eb881036108d2576108d16001610cae565b5b005b3480156108df575f80fd5b506108e861163d565b6040516108f59190612fbd565b60405180910390f35b348015610909575f80fd5b50610924600480360381019061091f9190613072565b6116cc565b60405161093191906130ca565b60405180910390f35b348015610945575f80fd5b5061094e6117c7565b60405161095b91906130f2565b60405180910390f35b34801561096f575f80fd5b5061098a6004803603810190610985919061310b565b6117fe565b60405161099791906130ca565b60405180910390f35b6109a8611983565b005b3480156109b5575f80fd5b506109d060048036038101906109cb919061315b565b6119d4565b6040516109dd91906130ca565b60405180910390f35b3480156109f1575f80fd5b50610a0c6004803603810190610a0791906131b0565b611a6f565b005b348015610a19575f80fd5b50610a22611a7c565b604051610a2f91906131f6565b60405180910390f35b348015610a43575f80fd5b50610a4c611a84565b005b348015610a59575f80fd5b50610a746004803603810190610a6f9190613072565b611a97565b005b348015610a81575f80fd5b50610a8a611aad565b604051610a97919061321e565b60405180910390f35b610aa8611ade565b005b348015610ab5575f80fd5b50610ad06004803603810190610acb9190613298565b611b17565b005b348015610add575f80fd5b50610af86004803603810190610af3919061315b565b611b35565b604051610b0591906130f2565b60405180910390f35b610b16611bac565b005b348015610b23575f80fd5b50610b2c611bbf565b604051610b39919061321e565b60405180910390f35b348015610b4d575f80fd5b50610b56611be7565b604051610b639190612fbd565b60405180910390f35b348015610b77575f80fd5b50610b926004803603810190610b8d9190613072565b611c77565b604051610b9f91906130ca565b60405180910390f35b348015610bb3575f80fd5b50610bce6004803603810190610bc991906132e3565b611c8d565b604051610bdb9190612fbd565b60405180910390f35b348015610bef575f80fd5b50610c0a6004803603810190610c05919061330e565b611d30565b604051610c1791906130f2565b60405180910390f35b610c3a6004803603810190610c35919061315b565b611dbb565b005b610c566004803603810190610c51919061315b565b611df9565b005b348015610c63575f80fd5b50610c7e6004803603810190610c79919061315b565b611e22565b604051610c8b91906130f2565b60405180910390f35b5f68a20d6e21d0e5255308905090565b5f81359050919050565b805f5260205ff35b5f610cc082611e3b565b610cf6576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cff82611e7b565b9050919050565b5f610d0f610c94565b90505f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f816002015f610d9184600701610d8c88611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610e31576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f8857816003015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610f8757816004015f8581526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f86576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b5f610f9287611f19565b90505f610f9e87611f19565b9050670de0b6b3a7640000825f0160148282829054906101000a90046bffffffffffffffffffffffff16610fd29190613390565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550670de0b6b3a7640000815f0160148282829054906101000a90046bffffffffffffffffffffffff160192506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506110768460070161106788611ee2565b611071848b611fc1565b6120b4565b836004015f8781526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f611130856006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20845f01601081819054906101000a900463ffffffff166001900391906101000a81548163ffffffff021916908363ffffffff160217905563ffffffff16611eef565b63ffffffff16905061119b856006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061118f8760070161118a8b6120e6565b611eef565b63ffffffff16836120b4565b5f825f01601081819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff16021790555063ffffffff169050611209866007016111ef846120e6565b611204896007016111ff8d6120e6565b611eef565b6120b4565b611252866006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20828a6120b4565b611268866007016112628a6120e6565b836120b4565b50508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516112cf91906130f2565b60405180910390a35050505050505050565b816112ea610c94565b6003015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550505050565b5f80611388610c94565b90505f816002015f6113a5846007016113a089611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146114d157816003015f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166114d0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b85826004015f8781526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080925050509392505050565b5f61153882611e3b565b61156e576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611576610c94565b6004015f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6115b8610c94565b6008015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160109054906101000a900463ffffffff1663ffffffff169050919050565b5f61161f610c94565b5f0160089054906101000a900463ffffffff1663ffffffff16905090565b60605f805461164b906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611677906133fc565b80156116c25780601f10611699576101008083540402835291602001916116c2565b820191905f5260205f20905b8154815290600101906020018083116116a557829003601f168201915b5050505050905090565b5f806116d6610c94565b905082816005015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516117b491906130f2565b60405180910390a3600191505092915050565b5f6117d0610c94565b5f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b5f80611808610c94565b90505f816005015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461196b57808411156118e9576040517f13be252b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838103826005015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b6119768686866120f5565b6001925050509392505050565b5f61198c612774565b67ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b5f806119de610c94565b6008015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f6001825f01600b9054906101000a900460ff161660ff1603611a4c57611a448361277e565b915050611a6a565b5f6002825f01600b9054906101000a900460ff161660ff1614159150505b919050565b611a793382612788565b50565b5f6012905090565b611a8c61283b565b611a9533612872565b565b611a9f61283b565b611aa9828261288e565b5050565b5f611ab6610c94565b6001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b611b1f61283b565b818160029182611b30929190613600565b505050565b5f611b3e610c94565b6008015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff169050919050565b611bb461283b565b611bbd5f612cf2565b565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392754905090565b606060018054611bf6906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c22906133fc565b8015611c6d5780601f10611c4457610100808354040283529160200191611c6d565b820191905f5260205f20905b815481529060010190602001808311611c5057829003601f168201915b5050505050905090565b5f611c833384846120f5565b6001905092915050565b60605f60028054611c9d906133fc565b905014611d2b575f827f0000000000000000000000000000000000000000000000000000000000000000604051602001611cd89291906136ed565b604051602081830303815290604052805190602001205f1c90506002611cfd84612db8565b611d0683612db8565b604051602001611d1893929190613866565b6040516020818303038152906040529150505b919050565b5f611d39610c94565b6005015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b611dc361283b565b63389a75e1600c52805f526020600c208054421115611de957636f5e88185f526004601cfd5b5f815550611df681612cf2565b50565b611e0161283b565b8060601b611e1657637448fbae5f526004601cfd5b611e1f81612cf2565b50565b5f63389a75e1600c52815f526020600c20549050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff16611e5c83611e7b565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b5f80611e85610c94565b9050806002015f611ea183600701611e9c87611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915050919050565b5f600182901b9050919050565b5f600560078316901b835f015f600385901c81526020019081526020015f2054901c905092915050565b5f80611f23610c94565b9050806008015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2091505f6001835f01600b9054906101000a900460ff161660ff1603611fbb575f60019050611f918461277e565b15611f9d576002811790505b80835f01600b6101000a81548160ff021916908360ff160217905550505b50919050565b5f80611fcb610c94565b9050835f01600c9054906101000a900463ffffffff1691505f8263ffffffff16036120ad57805f015f81819054906101000a900463ffffffff1661200e906138bb565b91906101000a81548163ffffffff021916908363ffffffff1602179055915081845f01600c6101000a81548163ffffffff021916908363ffffffff16021790555082816002015f8463ffffffff1663ffffffff1681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5092915050565b826020528160031c5f5260405f206007831660051b815463ffffffff8482841c188116831b8218845550505050505050565b5f60018083901b019050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f612163610c94565b90505f61216f85611f19565b90505f61217b85611f19565b9050612185612eea565b825f0160109054906101000a900463ffffffff1663ffffffff16816080018181525050815f0160109054906101000a900463ffffffff1663ffffffff168160a0018181525050825f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16816040018181525050806040015185111561223c576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b848160400181815103915081815250508060400151835f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555084825f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16018160600181815250825f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506123118160800151670de0b6b3a764000083604001518161230b5761230a6138e6565b5b04612e07565b815f0181815250505f6002835f01600b9054906101000a900460ff161660ff16036123b1578573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff160361237d57805f01518160800151038160a00181815250505b6123a7670de0b6b3a764000082606001518161239c5761239b6138e6565b5b048260a00151612e07565b8160200181815250505b5f6123c48260200151835f015101612e17565b90505f825f0151146124f7575f856006015f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f836080015190505f845f015182039050845f0151885f0160088282829054906101000a900463ffffffff160392506101000a81548163ffffffff021916908363ffffffff16021790555080875f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5f612492848460019003945084611eef565b63ffffffff1690506124a989600701825f80612e44565b886004015f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556124eb858d836001612e88565b50808203612480575050505b5f8260200151146126cc575f856006015f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f8360a0015190505f8460200151820190505f612561878c611fc1565b90505f670de0b6b3a76400008a5f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16816125a5576125a46138e6565b5b0490505f8a5f0160049054906101000a900463ffffffff1663ffffffff16905087602001518b5f0160088282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff16021790555083895f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5b5f61263a8c60070161263584611ee2565b611eef565b63ffffffff161461265d578181600101915081111561265857600190505b612624565b6126688686836120b4565b61267d8b600701828588806001019950612e44565b612689878e835f612e88565b8181600101915081111561269c57600190505b83850361262357808b5f0160046101000a81548163ffffffff021916908363ffffffff1602179055505050505050505b5f815f015151146127055761270481866001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612eaa565b5b508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161276391906130f2565b60405180910390a350505050505050565b5f6202a300905090565b5f813b9050919050565b5f61279283611f19565b90508115155f6002835f01600b9054906101000a900460ff161660ff1614151515146127e8576002815f01600b8282829054906101000a900460ff161892506101000a81548160ff021916908360ff1602179055505b8273ffffffffffffffffffffffffffffffffffffffff167fb5a1de456fff688115a4f75380060c23c8532d14ff85f687cc871456d64203938360405161282e91906130ca565b60405180910390a2505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927543314612870576382b429005f526004601cfd5b565b5f385f3847855af161288b5763b12d13eb5f526004601cfd5b50565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128f3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6128fc610c94565b90505f61290884611f19565b90505f83835f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff160190506b0de0b6b39983494c589bffff84118061295e57506b0de0b6b39983494c589bffff81115b15612995576040517fe5cfe95700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80835f01600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f84835f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1601905080835f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f6002845f01600b9054906101000a900460ff161660ff1603612c85575f846006015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f845f0160109054906101000a900463ffffffff1663ffffffff1690505f670de0b6b3a76400008481612abd57612abc6138e6565b5b0490505f612ad3612ace8385612e07565b612e17565b90505f815f01515114612c80575f670de0b6b3a7640000895f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1681612b2257612b216138e6565b5b0490505f612b30898d611fc1565b90505f8a5f0160049054906101000a900463ffffffff1663ffffffff169050835f0151518b5f0160088282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff160217905550848a5f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5b5f612bc48c600701612bbf84611ee2565b611eef565b63ffffffff1614612be75782816001019150811115612be257600190505b612bae565b612bf28787836120b4565b612c078b600701828489806001019a50612e44565b612c13848e835f612e88565b82816001019150811115612c2657600190505b848603612bad57808b5f0160046101000a81548163ffffffff021916908363ffffffff160217905550612c7c848c6001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612eaa565b5050505b505050505b50508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612ce491906130f2565b60405180910390a350505050565b612cfa612ee6565b15612d5f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3811560ff1b8217815550612db5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3818155505b50565b60606080604051019050602081016040525f8152805f19835b600115612df2578184019350600a81066030018453600a8104905080612dd1575b50828203602084039350808452505050919050565b5f81830382841102905092915050565b612e1f612f1a565b6040805101828152806020018360051b81016040528183528083602001525050919050565b8163ffffffff168160201b17846020528360021c5f5260405f206003851660061b815467ffffffffffffffff8482841c188116831b82188455505050505050505050565b8360200151818360081b8560601b171781526020810185602001525050505050565b81516040810363263c69d68152602080820152815160051b60440160208282601c85015f885af1600183511416612edf575f82fd5b5050505050565b5f90565b6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b6040518060400160405280606081526020015f81525090565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612f6a578082015181840152602081019050612f4f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612f8f82612f33565b612f998185612f3d565b9350612fa9818560208601612f4d565b612fb281612f75565b840191505092915050565b5f6020820190508181035f830152612fd58184612f85565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61300e82612fe5565b9050919050565b61301e81613004565b8114613028575f80fd5b50565b5f8135905061303981613015565b92915050565b5f819050919050565b6130518161303f565b811461305b575f80fd5b50565b5f8135905061306c81613048565b92915050565b5f806040838503121561308857613087612fdd565b5b5f6130958582860161302b565b92505060206130a68582860161305e565b9150509250929050565b5f8115159050919050565b6130c4816130b0565b82525050565b5f6020820190506130dd5f8301846130bb565b92915050565b6130ec8161303f565b82525050565b5f6020820190506131055f8301846130e3565b92915050565b5f805f6060848603121561312257613121612fdd565b5b5f61312f8682870161302b565b93505060206131408682870161302b565b92505060406131518682870161305e565b9150509250925092565b5f602082840312156131705761316f612fdd565b5b5f61317d8482850161302b565b91505092915050565b61318f816130b0565b8114613199575f80fd5b50565b5f813590506131aa81613186565b92915050565b5f602082840312156131c5576131c4612fdd565b5b5f6131d28482850161319c565b91505092915050565b5f60ff82169050919050565b6131f0816131db565b82525050565b5f6020820190506132095f8301846131e7565b92915050565b61321881613004565b82525050565b5f6020820190506132315f83018461320f565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261325857613257613237565b5b8235905067ffffffffffffffff8111156132755761327461323b565b5b6020830191508360018202830111156132915761329061323f565b5b9250929050565b5f80602083850312156132ae576132ad612fdd565b5b5f83013567ffffffffffffffff8111156132cb576132ca612fe1565b5b6132d785828601613243565b92509250509250929050565b5f602082840312156132f8576132f7612fdd565b5b5f6133058482850161305e565b91505092915050565b5f806040838503121561332457613323612fdd565b5b5f6133318582860161302b565b92505060206133428582860161302b565b9150509250929050565b5f6bffffffffffffffffffffffff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61339a8261334c565b91506133a58361334c565b925082820390506bffffffffffffffffffffffff8111156133c9576133c8613363565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061341357607f821691505b602082108103613426576134256133cf565b5b50919050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026134bf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613484565b6134c98683613484565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6135046134ff6134fa8461303f565b6134e1565b61303f565b9050919050565b5f819050919050565b61351d836134ea565b6135316135298261350b565b848454613490565b825550505050565b5f90565b613545613539565b613550818484613514565b505050565b5b81811015613573576135685f8261353d565b600181019050613556565b5050565b601f8211156135b85761358981613463565b61359284613475565b810160208510156135a1578190505b6135b56135ad85613475565b830182613555565b50505b505050565b5f82821c905092915050565b5f6135d85f19846008026135bd565b1980831691505092915050565b5f6135f083836135c9565b9150826002028217905092915050565b61360a838361342c565b67ffffffffffffffff81111561362357613622613436565b5b61362d82546133fc565b613638828285613577565b5f601f831160018114613665575f8415613653578287013590505b61365d85826135e5565b8655506136c4565b601f19841661367386613463565b5f5b8281101561369a57848901358255600182019150602085019450602081019050613675565b868310156136b757848901356136b3601f8916826135c9565b8355505b6001600288020188555050505b50505050505050565b5f819050919050565b6136e76136e28261303f565b6136cd565b82525050565b5f6136f882856136d6565b60208201915061370882846136d6565b6020820191508190509392505050565b5f81905092915050565b5f815461372e816133fc565b6137388186613718565b9450600182165f8114613752576001811461376757613799565b60ff1983168652811515820286019350613799565b61377085613463565b5f5b8381101561379157815481890152600182019150602081019050613772565b838801955050505b50505092915050565b5f6137ac82612f33565b6137b68185613718565b93506137c6818560208601612f4d565b80840191505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613806600183613718565b9150613811826137d2565b600182019050919050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f613850600583613718565b915061385b8261381c565b600582019050919050565b5f6138718286613722565b915061387d82856137a2565b9150613888826137fa565b915061389482846137a2565b915061389f82613844565b9150819050949350505050565b5f63ffffffff82169050919050565b5f6138c5826138ac565b915063ffffffff82036138db576138da613363565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220b186d093f8ba9e10264cbc03147987fbf4c66c97f1acca26705ce314f737d09964736f6c63430008180033608060405234801562000010575f80fd5b5060405162001723380380620017238339818101604052810190620000369190620001f9565b80620000476200009f60201b60201c565b6001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200009881620000af60201b60201c565b5062000229565b5f683602298b8c10b01230905090565b620000bf6200019060201b60201c565b156200013a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805415620000fb57630dc149f05f526004601cfd5b8160601b60601c9150811560ff1b82178155815f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3506200018d565b8060601b60601c9050807fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392755805f7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a35b50565b5f90565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620001c38262000198565b9050919050565b620001d581620001b7565b8114620001e0575f80fd5b50565b5f81519050620001f381620001ca565b92915050565b5f6020828403121562000211576200021062000194565b5b5f6200022084828501620001e3565b91505092915050565b6114ec80620002375f395ff3fe608060405260043610610138575f3560e01c8063715018a6116100aa578063b88d4fde1161006e578063b88d4fde146106a4578063c87b56dd146106cc578063e985e9c514610708578063f04e283e14610744578063f2fde38b14610760578063fee81cf41461077c5761013f565b8063715018a6146105f45780638da5cb5b146105fe57806395d89b411461062857806397e5311c14610652578063a22cb4651461067c5761013f565b806323b872dd116100fc57806323b872dd14610524578063256929621461054c57806342842e0e1461055657806354d1f13d146105725780636352211e1461057c57806370a08231146105b85761013f565b806301ffc9a71461043057806306fdde031461046c578063081812fc14610496578063095ea7b3146104d257806318160ddd146104fa5761013f565b3661013f57005b5f6101486107b8565b90505f60e06101565f6107c8565b901c905063263c69d6810361026a57815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101ec576040517f363cb31200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602036103d5f3e6004356024018036103d5f3e602081033560051b81018036103d5f3e5b8082146102615781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f38a4505050816020019150610210565b60015f5260205ff35b630f4599e5810361042e575f73ffffffffffffffffffffffffffffffffffffffff16826001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461035d57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661030f60046107c8565b73ffffffffffffffffffffffffffffffffffffffff161461035c576040517fc59ec47a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff16825f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103e4576040517fbf656a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060015f5260205ff35b005b34801561043b575f80fd5b5061045660048036038101906104519190611062565b6107d2565b60405161046391906110a7565b60405180910390f35b348015610477575f80fd5b506104806107f6565b60405161048d919061114a565b60405180910390f35b3480156104a1575f80fd5b506104bc60048036038101906104b7919061119d565b610849565b6040516104c99190611207565b60405180910390f35b3480156104dd575f80fd5b506104f860048036038101906104f3919061124a565b61088d565b005b348015610505575f80fd5b5061050e61090d565b60405161051b9190611297565b60405180910390f35b34801561052f575f80fd5b5061054a600480360381019061054591906112b0565b610947565b005b6105546109d3565b005b610570600480360381019061056b91906112b0565b610a24565b005b61057a610a5d565b005b348015610587575f80fd5b506105a2600480360381019061059d919061119d565b610a96565b6040516105af9190611207565b60405180910390f35b3480156105c3575f80fd5b506105de60048036038101906105d99190611300565b610ada565b6040516105eb9190611297565b60405180910390f35b6105fc610b20565b005b348015610609575f80fd5b50610612610b33565b60405161061f9190611207565b60405180910390f35b348015610633575f80fd5b5061063c610b5b565b604051610649919061114a565b60405180910390f35b34801561065d575f80fd5b50610666610bae565b6040516106739190611207565b60405180910390f35b348015610687575f80fd5b506106a2600480360381019061069d9190611355565b610c43565b005b3480156106af575f80fd5b506106ca60048036038101906106c591906113f4565b610cc2565b005b3480156106d7575f80fd5b506106f260048036038101906106ed919061119d565b610d32565b6040516106ff919061114a565b60405180910390f35b348015610713575f80fd5b5061072e60048036038101906107299190611478565b610d8b565b60405161073b91906110a7565b60405180910390f35b61075e60048036038101906107599190611300565b610de6565b005b61077a60048036038101906107759190611300565b610e24565b005b348015610787575f80fd5b506107a2600480360381019061079d9190611300565b610e4d565b6040516107af9190611297565b60405180910390f35b5f683602298b8c10b01230905090565b5f81359050919050565b5f8160e01c635b5e139f81146380ac58cd82146301ffc9a783141717915050919050565b60605f610801610bae565b905060405191506306fdde035f525f806004601c845afa610824573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f80610853610bae565b905063081812fc5f528260205260205f6024601c845afa601f3d111661087f573d5f6040513e3d604051fd5b600c5160601c915050919050565b5f610896610bae565b90508260601b60601c925060405163d10b6e0c5f5283602052826040523360605260205f6064601c34865af1601f3d11166108d3573d5f823e3d81fd5b806040525f6060528284600c5160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f38a450505050565b5f80610917610bae565b905063e2c792815f5260205f6004601c845afa601f3d111661093f573d5f6040513e3d604051fd5b5f5191505090565b5f610950610bae565b90508360601b60601c93508260601b60601c925060405163e5eb36c881528460208201528360408201528260608201523360808201526020816084601c840134865af16001825114166109a5573d5f823e3d81fd5b8284867fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f38a45050505050565b5f6109dc610e66565b67ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b610a2f838383610947565b610a3882610e70565b15610a5857610a5783838360405180602001604052805f815250610e7a565b5b505050565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b5f80610aa0610bae565b9050636352211e5f528260205260205f6024601c845afa601f3d1116610acc573d5f6040513e3d604051fd5b600c5160601c915050919050565b5f80610ae4610bae565b90508260601b60601c60205263f5b100ea5f5260205f6024601c845afa601f3d1116610b16573d5f6040513e3d604051fd5b5f51915050919050565b610b28610f04565b610b315f610f3b565b565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392754905090565b60605f610b66610bae565b905060405191506395d89b415f525f806004601c845afa610b89573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f610bb76107b8565b5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c40576040517f5b2a47ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b90565b5f610c4c610bae565b90508260601b60601c925060405163813500fc5f52836020528215156040523360605260205f6064601c34865af160015f511416610c8c573d5f823e3d81fd5b83337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206040a3806040525f60605250505050565b610ccd858585610947565b610cd684610e70565b15610d2b57610d2a85858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f82011690508083019250505050505050610e7a565b5b5050505050565b60605f610d3d610bae565b905060405191508260205263c87b56dd5f525f806024601c845afa610d64573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e8151602083010160405250919050565b5f80610d95610bae565b9050604051836040528460601b602c526fe985e9c5000000000000000000000000600c5260205f6044601c855afa601f3d1116610dd4573d5f823e3d81fd5b806040525f5115159250505092915050565b610dee610f04565b63389a75e1600c52805f526020600c208054421115610e1457636f5e88185f526004601cfd5b5f815550610e2181610f3b565b50565b610e2c610f04565b8060601b610e4157637448fbae5f526004601cfd5b610e4a81610f3b565b50565b5f63389a75e1600c52815f526020600c20549050919050565b5f6202a300905090565b5f813b9050919050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610ec1578060c08401826020870160045afa505b60208360a48301601c86015f8a5af1610ee3573d15610ee2573d5f843e3d83fd5b5b8160e01b835114610efb5763d1a57ed65f526004601cfd5b50505050505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927543314610f39576382b429005f526004601cfd5b565b610f43611001565b15610fa8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3811560ff1b8217815550610ffe565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3818155505b50565b5f90565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6110418161100d565b811461104b575f80fd5b50565b5f8135905061105c81611038565b92915050565b5f6020828403121561107757611076611005565b5b5f6110848482850161104e565b91505092915050565b5f8115159050919050565b6110a18161108d565b82525050565b5f6020820190506110ba5f830184611098565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156110f75780820151818401526020810190506110dc565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61111c826110c0565b61112681856110ca565b93506111368185602086016110da565b61113f81611102565b840191505092915050565b5f6020820190508181035f8301526111628184611112565b905092915050565b5f819050919050565b61117c8161116a565b8114611186575f80fd5b50565b5f8135905061119781611173565b92915050565b5f602082840312156111b2576111b1611005565b5b5f6111bf84828501611189565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111f1826111c8565b9050919050565b611201816111e7565b82525050565b5f60208201905061121a5f8301846111f8565b92915050565b611229816111e7565b8114611233575f80fd5b50565b5f8135905061124481611220565b92915050565b5f80604083850312156112605761125f611005565b5b5f61126d85828601611236565b925050602061127e85828601611189565b9150509250929050565b6112918161116a565b82525050565b5f6020820190506112aa5f830184611288565b92915050565b5f805f606084860312156112c7576112c6611005565b5b5f6112d486828701611236565b93505060206112e586828701611236565b92505060406112f686828701611189565b9150509250925092565b5f6020828403121561131557611314611005565b5b5f61132284828501611236565b91505092915050565b6113348161108d565b811461133e575f80fd5b50565b5f8135905061134f8161132b565b92915050565b5f806040838503121561136b5761136a611005565b5b5f61137885828601611236565b925050602061138985828601611341565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126113b4576113b3611393565b5b8235905067ffffffffffffffff8111156113d1576113d0611397565b5b6020830191508360018202830111156113ed576113ec61139b565b5b9250929050565b5f805f805f6080868803121561140d5761140c611005565b5b5f61141a88828901611236565b955050602061142b88828901611236565b945050604061143c88828901611189565b935050606086013567ffffffffffffffff81111561145d5761145c611009565b5b6114698882890161139f565b92509250509295509295909350565b5f806040838503121561148e5761148d611005565b5b5f61149b85828601611236565b92505060206114ac85828601611236565b915050925092905056fea264697066735822122024be4257ad1ca00f5d9da8963b54f628a92e3aec53a37722209b6977f3784b8a64736f6c63430008180033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000015e6a0538429d000000000000000000000000000007a851fb68e478d305395319a509790ccc4e0778c000000000000000000000000000000000000000000000000000000000000000b343034426f757175657473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b343034426f757175657473000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405260043610610143575f3560e01c806354d1f13d116100b5578063a9059cbb1161006e578063a9059cbb14610b6c578063c87b56dd14610ba8578063dd62ed3e14610be4578063f04e283e14610c20578063f2fde38b14610c3c578063fee81cf414610c585761014a565b806354d1f13d14610aa057806355f804b314610aaa57806370a0823114610ad2578063715018a614610b0e5780638da5cb5b14610b1857806395d89b4114610b425761014a565b8063274e430b11610107578063274e430b146109aa5780632a6a935d146109e6578063313ce56714610a0e5780633ccfd60b14610a3857806340c10f1914610a4e5780634ef41efc14610a765761014a565b806306fdde03146108d4578063095ea7b3146108fe57806318160ddd1461093a57806323b872dd1461096457806325692962146109a05761014a565b3661014a57005b5f610153610c94565b90505f60e06101615f610ca4565b901c905063e985e9c581036102c457816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101f8576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60445f3690501015610208575f80fd5b5f6102136004610ca4565b90505f6102206024610ca4565b90506102c1846003015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166102b6575f6102b9565b60015b60ff16610cae565b50505b636352211e810361039d57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610357576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f3690501015610367575f80fd5b5f6103726004610ca4565b905061039b61038082610cb6565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b505b63e5eb36c8810361048f57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610430576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60845f3690501015610440575f80fd5b5f61044b6004610ca4565b90505f6104586024610ca4565b90505f6104656044610ca4565b90505f6104726064610ca4565b905061048084848484610d06565b61048a6001610cae565b505050505b63813500fc810361057557816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610522576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60645f3690501015610532575f80fd5b5f61053d6004610ca4565b90505f8061054b6024610ca4565b141590505f61055a6044610ca4565b90506105678383836112e1565b6105716001610cae565b5050505b63d10b6e0c810361066c57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610608576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60645f3690501015610618575f80fd5b5f6106236004610ca4565b90505f6106306024610ca4565b90505f61063d6044610ca4565b905061066861064d84848461137e565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b5050505b63081812fc810361074557816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106ff576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f369050101561070f575f80fd5b5f61071a6004610ca4565b90506107436107288261152e565b73ffffffffffffffffffffffffffffffffffffffff16610cae565b505b63f5b100ea810361080857816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107d8576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60245f36905010156107e8575f80fd5b5f6107f36004610ca4565b9050610806610801826115af565b610cae565b505b63e2c7928181036108bc57816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461089b576040517fce5a776b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60045f36905010156108ab575f80fd5b6108bb6108b6611616565b610cae565b5b63b7a94eb881036108d2576108d16001610cae565b5b005b3480156108df575f80fd5b506108e861163d565b6040516108f59190612fbd565b60405180910390f35b348015610909575f80fd5b50610924600480360381019061091f9190613072565b6116cc565b60405161093191906130ca565b60405180910390f35b348015610945575f80fd5b5061094e6117c7565b60405161095b91906130f2565b60405180910390f35b34801561096f575f80fd5b5061098a6004803603810190610985919061310b565b6117fe565b60405161099791906130ca565b60405180910390f35b6109a8611983565b005b3480156109b5575f80fd5b506109d060048036038101906109cb919061315b565b6119d4565b6040516109dd91906130ca565b60405180910390f35b3480156109f1575f80fd5b50610a0c6004803603810190610a0791906131b0565b611a6f565b005b348015610a19575f80fd5b50610a22611a7c565b604051610a2f91906131f6565b60405180910390f35b348015610a43575f80fd5b50610a4c611a84565b005b348015610a59575f80fd5b50610a746004803603810190610a6f9190613072565b611a97565b005b348015610a81575f80fd5b50610a8a611aad565b604051610a97919061321e565b60405180910390f35b610aa8611ade565b005b348015610ab5575f80fd5b50610ad06004803603810190610acb9190613298565b611b17565b005b348015610add575f80fd5b50610af86004803603810190610af3919061315b565b611b35565b604051610b0591906130f2565b60405180910390f35b610b16611bac565b005b348015610b23575f80fd5b50610b2c611bbf565b604051610b39919061321e565b60405180910390f35b348015610b4d575f80fd5b50610b56611be7565b604051610b639190612fbd565b60405180910390f35b348015610b77575f80fd5b50610b926004803603810190610b8d9190613072565b611c77565b604051610b9f91906130ca565b60405180910390f35b348015610bb3575f80fd5b50610bce6004803603810190610bc991906132e3565b611c8d565b604051610bdb9190612fbd565b60405180910390f35b348015610bef575f80fd5b50610c0a6004803603810190610c05919061330e565b611d30565b604051610c1791906130f2565b60405180910390f35b610c3a6004803603810190610c35919061315b565b611dbb565b005b610c566004803603810190610c51919061315b565b611df9565b005b348015610c63575f80fd5b50610c7e6004803603810190610c79919061315b565b611e22565b604051610c8b91906130f2565b60405180910390f35b5f68a20d6e21d0e5255308905090565b5f81359050919050565b805f5260205ff35b5f610cc082611e3b565b610cf6576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cff82611e7b565b9050919050565b5f610d0f610c94565b90505f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610d76576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f816002015f610d9184600701610d8c88611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614610e31576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f8857816003015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610f8757816004015f8581526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f86576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b5f610f9287611f19565b90505f610f9e87611f19565b9050670de0b6b3a7640000825f0160148282829054906101000a90046bffffffffffffffffffffffff16610fd29190613390565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550670de0b6b3a7640000815f0160148282829054906101000a90046bffffffffffffffffffffffff160192506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506110768460070161106788611ee2565b611071848b611fc1565b6120b4565b836004015f8781526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f611130856006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20845f01601081819054906101000a900463ffffffff166001900391906101000a81548163ffffffff021916908363ffffffff160217905563ffffffff16611eef565b63ffffffff16905061119b856006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2061118f8760070161118a8b6120e6565b611eef565b63ffffffff16836120b4565b5f825f01601081819054906101000a900463ffffffff168092919060010191906101000a81548163ffffffff021916908363ffffffff16021790555063ffffffff169050611209866007016111ef846120e6565b611204896007016111ff8d6120e6565b611eef565b6120b4565b611252866006015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20828a6120b4565b611268866007016112628a6120e6565b836120b4565b50508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516112cf91906130f2565b60405180910390a35050505050505050565b816112ea610c94565b6003015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550505050565b5f80611388610c94565b90505f816002015f6113a5846007016113a089611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146114d157816003015f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166114d0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b85826004015f8781526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080925050509392505050565b5f61153882611e3b565b61156e576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611576610c94565b6004015f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6115b8610c94565b6008015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160109054906101000a900463ffffffff1663ffffffff169050919050565b5f61161f610c94565b5f0160089054906101000a900463ffffffff1663ffffffff16905090565b60605f805461164b906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611677906133fc565b80156116c25780601f10611699576101008083540402835291602001916116c2565b820191905f5260205f20905b8154815290600101906020018083116116a557829003601f168201915b5050505050905090565b5f806116d6610c94565b905082816005015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516117b491906130f2565b60405180910390a3600191505092915050565b5f6117d0610c94565b5f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16905090565b5f80611808610c94565b90505f816005015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461196b57808411156118e9576040517f13be252b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838103826005015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b6119768686866120f5565b6001925050509392505050565b5f61198c612774565b67ffffffffffffffff164201905063389a75e1600c52335f52806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d5f80a250565b5f806119de610c94565b6008015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f6001825f01600b9054906101000a900460ff161660ff1603611a4c57611a448361277e565b915050611a6a565b5f6002825f01600b9054906101000a900460ff161660ff1614159150505b919050565b611a793382612788565b50565b5f6012905090565b611a8c61283b565b611a9533612872565b565b611a9f61283b565b611aa9828261288e565b5050565b5f611ab6610c94565b6001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b63389a75e1600c52335f525f6020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c925f80a2565b611b1f61283b565b818160029182611b30929190613600565b505050565b5f611b3e610c94565b6008015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff169050919050565b611bb461283b565b611bbd5f612cf2565b565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff7487392754905090565b606060018054611bf6906133fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611c22906133fc565b8015611c6d5780601f10611c4457610100808354040283529160200191611c6d565b820191905f5260205f20905b815481529060010190602001808311611c5057829003601f168201915b5050505050905090565b5f611c833384846120f5565b6001905092915050565b60605f60028054611c9d906133fc565b905014611d2b575f827fc188ce74d7d035a77198ecb8f6e1abf25abebd4977ec440a856bc1e7759e2c20604051602001611cd89291906136ed565b604051602081830303815290604052805190602001205f1c90506002611cfd84612db8565b611d0683612db8565b604051602001611d1893929190613866565b6040516020818303038152906040529150505b919050565b5f611d39610c94565b6005015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b611dc361283b565b63389a75e1600c52805f526020600c208054421115611de957636f5e88185f526004601cfd5b5f815550611df681612cf2565b50565b611e0161283b565b8060601b611e1657637448fbae5f526004601cfd5b611e1f81612cf2565b50565b5f63389a75e1600c52815f526020600c20549050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff16611e5c83611e7b565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b5f80611e85610c94565b9050806002015f611ea183600701611e9c87611ee2565b611eef565b63ffffffff1663ffffffff1681526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915050919050565b5f600182901b9050919050565b5f600560078316901b835f015f600385901c81526020019081526020015f2054901c905092915050565b5f80611f23610c94565b9050806008015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2091505f6001835f01600b9054906101000a900460ff161660ff1603611fbb575f60019050611f918461277e565b15611f9d576002811790505b80835f01600b6101000a81548160ff021916908360ff160217905550505b50919050565b5f80611fcb610c94565b9050835f01600c9054906101000a900463ffffffff1691505f8263ffffffff16036120ad57805f015f81819054906101000a900463ffffffff1661200e906138bb565b91906101000a81548163ffffffff021916908363ffffffff1602179055915081845f01600c6101000a81548163ffffffff021916908363ffffffff16021790555082816002015f8463ffffffff1663ffffffff1681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5092915050565b826020528160031c5f5260405f206007831660051b815463ffffffff8482841c188116831b8218845550505050505050565b5f60018083901b019050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f612163610c94565b90505f61216f85611f19565b90505f61217b85611f19565b9050612185612eea565b825f0160109054906101000a900463ffffffff1663ffffffff16816080018181525050815f0160109054906101000a900463ffffffff1663ffffffff168160a0018181525050825f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16816040018181525050806040015185111561223c576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b848160400181815103915081815250508060400151835f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555084825f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16018160600181815250825f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506123118160800151670de0b6b3a764000083604001518161230b5761230a6138e6565b5b04612e07565b815f0181815250505f6002835f01600b9054906101000a900460ff161660ff16036123b1578573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff160361237d57805f01518160800151038160a00181815250505b6123a7670de0b6b3a764000082606001518161239c5761239b6138e6565b5b048260a00151612e07565b8160200181815250505b5f6123c48260200151835f015101612e17565b90505f825f0151146124f7575f856006015f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f836080015190505f845f015182039050845f0151885f0160088282829054906101000a900463ffffffff160392506101000a81548163ffffffff021916908363ffffffff16021790555080875f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5f612492848460019003945084611eef565b63ffffffff1690506124a989600701825f80612e44565b886004015f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556124eb858d836001612e88565b50808203612480575050505b5f8260200151146126cc575f856006015f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f8360a0015190505f8460200151820190505f612561878c611fc1565b90505f670de0b6b3a76400008a5f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16816125a5576125a46138e6565b5b0490505f8a5f0160049054906101000a900463ffffffff1663ffffffff16905087602001518b5f0160088282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff16021790555083895f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5b5f61263a8c60070161263584611ee2565b611eef565b63ffffffff161461265d578181600101915081111561265857600190505b612624565b6126688686836120b4565b61267d8b600701828588806001019950612e44565b612689878e835f612e88565b8181600101915081111561269c57600190505b83850361262357808b5f0160046101000a81548163ffffffff021916908363ffffffff1602179055505050505050505b5f815f015151146127055761270481866001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612eaa565b5b508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8760405161276391906130f2565b60405180910390a350505050505050565b5f6202a300905090565b5f813b9050919050565b5f61279283611f19565b90508115155f6002835f01600b9054906101000a900460ff161660ff1614151515146127e8576002815f01600b8282829054906101000a900460ff161892506101000a81548160ff021916908360ff1602179055505b8273ffffffffffffffffffffffffffffffffffffffff167fb5a1de456fff688115a4f75380060c23c8532d14ff85f687cc871456d64203938360405161282e91906130ca565b60405180910390a2505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927543314612870576382b429005f526004601cfd5b565b5f385f3847855af161288b5763b12d13eb5f526004601cfd5b50565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128f3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6128fc610c94565b90505f61290884611f19565b90505f83835f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff160190506b0de0b6b39983494c589bffff84118061295e57506b0de0b6b39983494c589bffff81115b15612995576040517fe5cfe95700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80835f01600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f84835f0160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1601905080835f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f6002845f01600b9054906101000a900460ff161660ff1603612c85575f846006015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f845f0160109054906101000a900463ffffffff1663ffffffff1690505f670de0b6b3a76400008481612abd57612abc6138e6565b5b0490505f612ad3612ace8385612e07565b612e17565b90505f815f01515114612c80575f670de0b6b3a7640000895f01600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1681612b2257612b216138e6565b5b0490505f612b30898d611fc1565b90505f8a5f0160049054906101000a900463ffffffff1663ffffffff169050835f0151518b5f0160088282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff160217905550848a5f0160106101000a81548163ffffffff021916908363ffffffff1602179055505b5b5f612bc48c600701612bbf84611ee2565b611eef565b63ffffffff1614612be75782816001019150811115612be257600190505b612bae565b612bf28787836120b4565b612c078b600701828489806001019a50612e44565b612c13848e835f612e88565b82816001019150811115612c2657600190505b848603612bad57808b5f0160046101000a81548163ffffffff021916908363ffffffff160217905550612c7c848c6001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612eaa565b5050505b505050505b50508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051612ce491906130f2565b60405180910390a350505050565b612cfa612ee6565b15612d5f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3811560ff1b8217815550612db5565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739278160601b60601c91508181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3818155505b50565b60606080604051019050602081016040525f8152805f19835b600115612df2578184019350600a81066030018453600a8104905080612dd1575b50828203602084039350808452505050919050565b5f81830382841102905092915050565b612e1f612f1a565b6040805101828152806020018360051b81016040528183528083602001525050919050565b8163ffffffff168160201b17846020528360021c5f5260405f206003851660061b815467ffffffffffffffff8482841c188116831b82188455505050505050505050565b8360200151818360081b8560601b171781526020810185602001525050505050565b81516040810363263c69d68152602080820152815160051b60440160208282601c85015f885af1600183511416612edf575f82fd5b5050505050565b5f90565b6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b6040518060400160405280606081526020015f81525090565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612f6a578082015181840152602081019050612f4f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612f8f82612f33565b612f998185612f3d565b9350612fa9818560208601612f4d565b612fb281612f75565b840191505092915050565b5f6020820190508181035f830152612fd58184612f85565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61300e82612fe5565b9050919050565b61301e81613004565b8114613028575f80fd5b50565b5f8135905061303981613015565b92915050565b5f819050919050565b6130518161303f565b811461305b575f80fd5b50565b5f8135905061306c81613048565b92915050565b5f806040838503121561308857613087612fdd565b5b5f6130958582860161302b565b92505060206130a68582860161305e565b9150509250929050565b5f8115159050919050565b6130c4816130b0565b82525050565b5f6020820190506130dd5f8301846130bb565b92915050565b6130ec8161303f565b82525050565b5f6020820190506131055f8301846130e3565b92915050565b5f805f6060848603121561312257613121612fdd565b5b5f61312f8682870161302b565b93505060206131408682870161302b565b92505060406131518682870161305e565b9150509250925092565b5f602082840312156131705761316f612fdd565b5b5f61317d8482850161302b565b91505092915050565b61318f816130b0565b8114613199575f80fd5b50565b5f813590506131aa81613186565b92915050565b5f602082840312156131c5576131c4612fdd565b5b5f6131d28482850161319c565b91505092915050565b5f60ff82169050919050565b6131f0816131db565b82525050565b5f6020820190506132095f8301846131e7565b92915050565b61321881613004565b82525050565b5f6020820190506132315f83018461320f565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261325857613257613237565b5b8235905067ffffffffffffffff8111156132755761327461323b565b5b6020830191508360018202830111156132915761329061323f565b5b9250929050565b5f80602083850312156132ae576132ad612fdd565b5b5f83013567ffffffffffffffff8111156132cb576132ca612fe1565b5b6132d785828601613243565b92509250509250929050565b5f602082840312156132f8576132f7612fdd565b5b5f6133058482850161305e565b91505092915050565b5f806040838503121561332457613323612fdd565b5b5f6133318582860161302b565b92505060206133428582860161302b565b9150509250929050565b5f6bffffffffffffffffffffffff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61339a8261334c565b91506133a58361334c565b925082820390506bffffffffffffffffffffffff8111156133c9576133c8613363565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061341357607f821691505b602082108103613426576134256133cf565b5b50919050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026134bf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613484565b6134c98683613484565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6135046134ff6134fa8461303f565b6134e1565b61303f565b9050919050565b5f819050919050565b61351d836134ea565b6135316135298261350b565b848454613490565b825550505050565b5f90565b613545613539565b613550818484613514565b505050565b5b81811015613573576135685f8261353d565b600181019050613556565b5050565b601f8211156135b85761358981613463565b61359284613475565b810160208510156135a1578190505b6135b56135ad85613475565b830182613555565b50505b505050565b5f82821c905092915050565b5f6135d85f19846008026135bd565b1980831691505092915050565b5f6135f083836135c9565b9150826002028217905092915050565b61360a838361342c565b67ffffffffffffffff81111561362357613622613436565b5b61362d82546133fc565b613638828285613577565b5f601f831160018114613665575f8415613653578287013590505b61365d85826135e5565b8655506136c4565b601f19841661367386613463565b5f5b8281101561369a57848901358255600182019150602085019450602081019050613675565b868310156136b757848901356136b3601f8916826135c9565b8355505b6001600288020188555050505b50505050505050565b5f819050919050565b6136e76136e28261303f565b6136cd565b82525050565b5f6136f882856136d6565b60208201915061370882846136d6565b6020820191508190509392505050565b5f81905092915050565b5f815461372e816133fc565b6137388186613718565b9450600182165f8114613752576001811461376757613799565b60ff1983168652811515820286019350613799565b61377085613463565b5f5b8381101561379157815481890152600182019150602081019050613772565b838801955050505b50505092915050565b5f6137ac82612f33565b6137b68185613718565b93506137c6818560208601612f4d565b80840191505092915050565b7f2f000000000000000000000000000000000000000000000000000000000000005f82015250565b5f613806600183613718565b9150613811826137d2565b600182019050919050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f613850600583613718565b915061385b8261381c565b600582019050919050565b5f6138718286613722565b915061387d82856137a2565b9150613888826137fa565b915061389482846137a2565b915061389f82613844565b9150819050949350505050565b5f63ffffffff82169050919050565b5f6138c5826138ac565b915063ffffffff82036138db576138da613363565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220b186d093f8ba9e10264cbc03147987fbf4c66c97f1acca26705ce314f737d09964736f6c63430008180033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000015e6a0538429d000000000000000000000000000007a851fb68e478d305395319a509790ccc4e0778c000000000000000000000000000000000000000000000000000000000000000b343034426f757175657473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b343034426f757175657473000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): 404Bouquets
Arg [1] : symbol_ (string): 404Bouquets
Arg [2] : initialTokenSupply (uint96): 404000000000000000000
Arg [3] : initialSupplyOwner (address): 0x7a851Fb68e478d305395319a509790ccC4e0778c

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000000015e6a0538429d00000
Arg [3] : 0000000000000000000000007a851fb68e478d305395319a509790ccc4e0778c
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 343034426f757175657473000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 343034426f757175657473000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

124645:1390:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116720:22;116745:18;:16;:18::i;:::-;116720:43;;116770:18;116814:3;116791:19;116805:4;116791:13;:19::i;:::-;:26;;116770:47;;116885:10;116871;:24;116867:326;;116921:1;:14;;;;;;;;;;;;116907:28;;:10;:28;;;116903:58;;116944:17;;;;;;;;;;;;;;116903:58;116989:4;116971:8;;:15;;:22;116967:36;;;116995:8;;;116967:36;117011:13;117043:19;117057:4;117043:13;:19::i;:::-;117011:53;;117070:16;117105:19;117119:4;117105:13;:19::i;:::-;117070:56;;117134:53;117142:1;:19;;:26;117162:5;117142:26;;;;;;;;;;;;;;;:36;117169:8;117142:36;;;;;;;;;;;;;;;;;;;;;;;;;:44;;117185:1;117142:44;;;117181:1;117142:44;117134:53;;:7;:53::i;:::-;116897:296;;116867:326;117241:10;117227;:24;117223:220;;117277:1;:14;;;;;;;;;;;;117263:28;;:10;:28;;;117259:58;;117300:17;;;;;;;;;;;;;;117259:58;117345:4;117327:8;;:15;;:22;117323:36;;;117351:8;;;117323:36;117367:10;117380:19;117394:4;117380:13;:19::i;:::-;117367:32;;117407:30;117423:12;117432:2;117423:8;:12::i;:::-;117407:30;;:7;:30::i;:::-;117253:190;117223:220;117523:10;117509;:24;117505:424;;117559:1;:14;;;;;;;;;;;;117545:28;;:10;:28;;;117541:58;;117582:17;;;;;;;;;;;;;;117541:58;117627:4;117609:8;;:15;;:22;117605:36;;;117633:8;;;117605:36;117649:12;117680:19;117694:4;117680:13;:19::i;:::-;117649:52;;117707:10;117736:19;117750:4;117736:13;:19::i;:::-;117707:50;;117763:10;117776:19;117790:4;117776:13;:19::i;:::-;117763:32;;117801:17;117837:19;117851:4;117837:13;:19::i;:::-;117801:57;;117866:41;117883:4;117889:2;117893;117897:9;117866:16;:41::i;:::-;117913:10;117921:1;117913:7;:10::i;:::-;117535:394;;;;117505:424;118000:10;117986;:24;117982:382;;118036:1;:14;;;;;;;;;;;;118022:28;;:10;:28;;;118018:58;;118059:17;;;;;;;;;;;;;;118018:58;118104:4;118086:8;;:15;;:22;118082:36;;;118110:8;;;118082:36;118126:15;118160:19;118174:4;118160:13;:19::i;:::-;118126:55;;118187:11;118224:1;118201:19;118215:4;118201:13;:19::i;:::-;:24;;118187:38;;118231:17;118267:19;118281:4;118267:13;:19::i;:::-;118231:57;;118296:46;118315:7;118324:6;118332:9;118296:18;:46::i;:::-;118348:10;118356:1;118348:7;:10::i;:::-;118012:352;;;117982:382;118431:10;118417;:24;118413:367;;118467:1;:14;;;;;;;;;;;;118453:28;;:10;:28;;;118449:58;;118490:17;;;;;;;;;;;;;;118449:58;118535:4;118517:8;;:15;;:22;118513:36;;;118541:8;;;118513:36;118557:15;118591:19;118605:4;118591:13;:19::i;:::-;118557:55;;118618:10;118631:19;118645:4;118631:13;:19::i;:::-;118618:32;;118656:17;118692:19;118706:4;118692:13;:19::i;:::-;118656:57;;118721:53;118737:35;118749:7;118758:2;118762:9;118737:11;:35::i;:::-;118721:53;;:7;:53::i;:::-;118443:337;;;118413:367;118832:10;118818;:24;118814:224;;118868:1;:14;;;;;;;;;;;;118854:28;;:10;:28;;;118850:58;;118891:17;;;;;;;;;;;;;;118850:58;118936:4;118918:8;;:15;;:22;118914:36;;;118942:8;;;118914:36;118958:10;118971:19;118985:4;118971:13;:19::i;:::-;118958:32;;118998:34;119014:16;119027:2;119014:12;:16::i;:::-;118998:34;;:7;:34::i;:::-;118844:194;118814:224;119091:10;119077;:24;119073:240;;119127:1;:14;;;;;;;;;;;;119113:28;;:10;:28;;;119109:58;;119150:17;;;;;;;;;;;;;;119109:58;119195:4;119177:8;;:15;;:22;119173:36;;;119201:8;;;119173:36;119217:13;119249:19;119263:4;119249:13;:19::i;:::-;119217:53;;119278:29;119286:20;119300:5;119286:13;:20::i;:::-;119278:7;:29::i;:::-;119103:210;119073:240;119361:10;119347;:24;119343:176;;119397:1;:14;;;;;;;;;;;;119383:28;;:10;:28;;;119379:58;;119420:17;;;;;;;;;;;;;;119379:58;119465:4;119447:8;;:15;;:22;119443:36;;;119471:8;;;119443:36;119487:26;119495:17;:15;:17::i;:::-;119487:7;:26::i;:::-;119343:176;119568:10;119554;:24;119550:52;;119586:10;119594:1;119586:7;:10::i;:::-;119550:52;116715:2897;125180:83;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98926:248;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98254:117;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100426:434;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67465:507;;;:::i;:::-;;111303:261;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111664:91;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98128:67;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;125939:93;;;;;;;;;;;;;:::i;:::-;;125751:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;113596:110;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;68051:391;;;:::i;:::-;;125842:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98434:134;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67218:93;;;:::i;:::-;;69545:157;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;125268:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;99645:135;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;125360:322;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98660:142;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;68624:592;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66867:289;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;69802:356;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95591:281;95650:22;95795:20;95785:30;;95591:281;:::o;122272:172::-;122333:13;122428:6;122415:20;122406:29;;122272:172;;;:::o;122531:146::-;122643:1;122637:4;122630:15;122663:4;122657;122650:18;114478:148;114539:7;114558:11;114566:2;114558:7;:11::i;:::-;114553:44;;114578:19;;;;;;;;;;;;;;114553:44;114609:12;114618:2;114609:8;:12::i;:::-;114602:19;;114478:148;;;:::o;108590:1279::-;108703:22;108728:18;:16;:18::i;:::-;108703:43;;108771:1;108757:16;;:2;:16;;;108753:52;;108782:23;;;;;;;;;;;;;;108753:52;108812:13;108828:1;:16;;:49;108845:31;108850:1;:4;;108856:19;108872:2;108856:15;:19::i;:::-;108845:4;:31::i;:::-;108828:49;;;;;;;;;;;;;;;;;;;;;;;;;108812:65;;108896:5;108888:13;;:4;:13;;;108884:54;;108910:28;;;;;;;;;;;;;;108884:54;108962:4;108949:17;;:9;:17;;;108945:187;;108979:1;:19;;:25;108999:4;108979:25;;;;;;;;;;;;;;;:36;109005:9;108979:36;;;;;;;;;;;;;;;;;;;;;;;;;108974:153;;109041:1;:16;;:20;109058:2;109041:20;;;;;;;;;;;;;;;;;;;;;109028:33;;:9;:33;;;109024:97;;109078:35;;;;;;;;;;;;;;109024:97;108974:153;108945:187;109138:35;109176:18;109189:4;109176:12;:18::i;:::-;109138:56;;109199:33;109235:16;109248:2;109235:12;:16::i;:::-;109199:52;;93158:8;109258:15;:23;;;:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;93158:8;109320:13;:21;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109365:76;109370:1;:4;;109376:19;109392:2;109376:15;:19::i;:::-;109397:43;109422:13;109437:2;109397:24;:43::i;:::-;109365:4;:76::i;:::-;109454:1;:16;;:20;109471:2;109454:20;;;;;;;;;;;;109447:27;;;;;;;;;;;109482:17;109502:50;109507:1;:7;;:13;109515:4;109507:13;;;;;;;;;;;;;;;109524:15;:27;;;109522:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109502:50;;:4;:50::i;:::-;109482:70;;;;109558:67;109563:1;:7;;:13;109571:4;109563:13;;;;;;;;;;;;;;;109578:27;109583:1;:4;;109589:15;109601:2;109589:11;:15::i;:::-;109578:4;:27::i;:::-;109558:67;;109614:9;109558:4;:67::i;:::-;109633:9;109645:13;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109633:39;;;;109678:63;109683:1;:4;;109689:22;109701:9;109689:11;:22::i;:::-;109713:27;109718:1;:4;;109724:15;109736:2;109724:11;:15::i;:::-;109713:4;:27::i;:::-;109678:4;:63::i;:::-;109747:32;109752:1;:7;;:11;109760:2;109752:11;;;;;;;;;;;;;;;109765:1;109775:2;109747:4;:32::i;:::-;109785:38;109790:1;:4;;109796:15;109808:2;109796:11;:15::i;:::-;109820:1;109785:4;:38::i;:::-;109304:525;;109855:2;109840:24;;109849:4;109840:24;;;93158:8;109840:24;;;;;;:::i;:::-;;;;;;;;108698:1171;;;;108590:1279;;;;:::o;115841:183::-;116011:8;115951:18;:16;:18::i;:::-;:36;;:47;115988:9;115951:47;;;;;;;;;;;;;;;:57;115999:8;115951:57;;;;;;;;;;;;;;;;:68;;;;;;;;;;;;;;;;;;115841:183;;;:::o;115287:437::-;115391:7;115407:22;115432:18;:16;:18::i;:::-;115407:43;;115457:13;115473:1;:16;;:49;115490:31;115495:1;:4;;115501:19;115517:2;115501:15;:19::i;:::-;115490:4;:31::i;:::-;115473:49;;;;;;;;;;;;;;;;;;;;;;;;;115457:65;;115546:5;115533:18;;:9;:18;;;115529:135;;115564:1;:19;;:26;115584:5;115564:26;;;;;;;;;;;;;;;:37;115591:9;115564:37;;;;;;;;;;;;;;;;;;;;;;;;;115559:100;;115617:35;;;;;;;;;;;;;;115559:100;115529:135;115693:7;115670:1;:16;;:20;115687:2;115670:20;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;115714:5;115707:12;;;;115287:437;;;;;:::o;114905:177::-;114970:7;114989:11;114997:2;114989:7;:11::i;:::-;114984:44;;115009:19;;;;;;;;;;;;;;114984:44;115040:18;:16;:18::i;:::-;:33;;:37;115074:2;115040:37;;;;;;;;;;;;;;;;;;;;;115033:44;;114905:177;;;:::o;113914:144::-;113983:7;114004:18;:16;:18::i;:::-;:30;;:37;114035:5;114004:37;;;;;;;;;;;;;;;:49;;;;;;;;;;;;113997:56;;;;113914:144;;;:::o;113752:117::-;113810:7;113831:18;:16;:18::i;:::-;:33;;;;;;;;;;;;113824:40;;;;113752:117;:::o;125180:83::-;125226:13;125253:5;125246:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125180:83;:::o;98926:248::-;99000:4;99011:22;99036:18;:16;:18::i;:::-;99011:43;;99096:6;99061:1;:11;;:23;99073:10;99061:23;;;;;;;;;;;;;;;:32;99085:7;99061:32;;;;;;;;;;;;;;;:41;;;;99135:7;99114:37;;99123:10;99114:37;;;99144:6;99114:37;;;;;;:::i;:::-;;;;;;;;99165:4;99158:11;;;98926:248;;;;:::o;98254:117::-;98306:7;98335:18;:16;:18::i;:::-;:30;;;;;;;;;;;;98327:39;;98320:46;;98254:117;:::o;100426:434::-;100514:4;100525:22;100550:18;:16;:18::i;:::-;100525:43;;100575:15;100593:1;:11;;:17;100605:4;100593:17;;;;;;;;;;;;;;;:29;100611:10;100593:29;;;;;;;;;;;;;;;;100575:47;;100644:17;100633:7;:28;100629:175;;100682:7;100673:6;:16;100669:52;;;100698:23;;;;;;;;;;;;;;100669:52;100786:6;100776:7;:16;100744:1;:11;;:17;100756:4;100744:17;;;;;;;;;;;;;;;:29;100762:10;100744:29;;;;;;;;;;;;;;;:48;;;;100629:175;100810:27;100820:4;100826:2;100830:6;100810:9;:27::i;:::-;100851:4;100844:11;;;;100426:434;;;;;:::o;67465:507::-;67545:15;67581:28;:26;:28::i;:::-;67563:46;;:15;:46;67545:64;;67739:19;67733:4;67726:33;67778:8;67772:4;67765:22;67823:7;67816:4;67810;67800:21;67793:38;67948:8;67901:45;67898:1;67895;67890:67;67663:300;67465:507::o;111303:261::-;111363:4;111374:21;111398:18;:16;:18::i;:::-;:30;;:33;111429:1;111398:33;;;;;;;;;;;;;;;111374:57;;111484:1;93524:6;111440:1;:7;;;;;;;;;;;;:40;:45;;;111436:69;;111494:11;111503:1;111494:8;:11::i;:::-;111487:18;;;;;111436:69;111558:1;93655:6;111517:1;:7;;;;;;;;;;;;:37;:42;;;;111510:49;;;111303:261;;;;:::o;111664:91::-;111718:32;111730:10;111742:7;111718:11;:32::i;:::-;111664:91;:::o;98128:67::-;98169:5;98188:2;98181:9;;98128:67;:::o;125939:93::-;70534:13;:11;:13::i;:::-;125981:46:::1;126016:10;125981:34;:46::i;:::-;125939:93::o:0;125751:86::-;70534:13;:11;:13::i;:::-;125815:17:::1;125821:2;125825:6;125815:5;:17::i;:::-;125751:86:::0;;:::o;113596:110::-;113649:7;113670:18;:16;:18::i;:::-;:31;;;;;;;;;;;;113663:38;;113596:110;:::o;68051:391::-;68227:19;68221:4;68214:33;68265:8;68259:4;68252:22;68309:1;68302:4;68296;68286:21;68279:32;68424:8;68378:44;68375:1;68372;68367:66;68051:391::o;125842:92::-;70534:13;:11;:13::i;:::-;125921:8:::1;;125910;:19;;;;;;;:::i;:::-;;125842:92:::0;;:::o;98434:134::-;98497:7;98518:18;:16;:18::i;:::-;:30;;:37;98549:5;98518:37;;;;;;;;;;;;;;;:45;;;;;;;;;;;;98511:52;;;;98434:134;;;:::o;67218:93::-;70534:13;:11;:13::i;:::-;67285:21:::1;67303:1;67285:9;:21::i;:::-;67218:93::o:0;69545:157::-;69591:14;69681:11;69675:18;69665:28;;69545:157;:::o;125268:87::-;125316:13;125343:7;125336:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;125268:87;:::o;99645:135::-;99715:4;99726:33;99736:10;99748:2;99752:6;99726:9;:33::i;:::-;99771:4;99764:11;;99645:135;;;;:::o;125360:322::-;125425:20;125482:1;125462:8;125456:22;;;;;:::i;:::-;;;:27;125452:226;;125491:12;125541:7;125550:4;125524:31;;;;;;;;;:::i;:::-;;;;;;;;;;;;;125514:42;;;;;;125506:51;;125491:66;;125596:8;125605:27;125624:7;125605:18;:27::i;:::-;125638:24;125657:4;125638:18;:24::i;:::-;125579:92;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;125563:109;;125485:193;125452:226;125360:322;;;:::o;98660:142::-;98732:7;98753:18;:16;:18::i;:::-;:28;;:35;98782:5;98753:35;;;;;;;;;;;;;;;:44;98789:7;98753:44;;;;;;;;;;;;;;;;98746:51;;98660:142;;;;:::o;68624:592::-;70534:13;:11;:13::i;:::-;68832:19:::1;68826:4;68819:33;68870:12;68864:4;68857:26;68924:4;68918;68908:21;69014:12;69008:19;68995:11;68992:36;68989:127;;;69049:10;69043:4;69036:24;69105:4;69099;69092:18;68989:127;69177:1;69163:12;69156:23;68766:418;69188:23;69198:12;69188:9;:23::i;:::-;68624:592:::0;:::o;66867:289::-;70534:13;:11;:13::i;:::-;67021:8:::1;67017:2;67013:17;67003:120;;67052:10;67046:4;67039:24;67112:4;67106;67099:18;67003:120;67132:19;67142:8;67132:9;:19::i;:::-;66867:289:::0;:::o;69802:356::-;69901:14;70024:19;70018:4;70011:33;70062:12;70056:4;70049:26;70143:4;70137;70127:21;70121:28;70111:38;;69802:356;;;:::o;114672:109::-;114732:4;114774:1;114750:26;;:12;114759:2;114750:8;:12::i;:::-;:26;;;;114743:33;;114672:109;;;:::o;114188:184::-;114249:7;114263:22;114288:18;:16;:18::i;:::-;114263:43;;114318:1;:16;;:49;114335:31;114340:1;:4;;114346:19;114362:2;114346:15;:19::i;:::-;114335:4;:31::i;:::-;114318:49;;;;;;;;;;;;;;;;;;;;;;;;;114311:56;;;114188:184;;;:::o;122926:90::-;122984:7;123010:1;123005;:6;;122998:13;;122926:90;;;:::o;123231:157::-;123305:13;123380:1;123374;123366:5;:9;123365:16;;123341:3;:7;;:19;123358:1;123349:5;:10;;123341:19;;;;;;;;;;;;:41;;123325:58;;123231:157;;;;:::o;112368:353::-;112427:21;112455:22;112480:18;:16;:18::i;:::-;112455:43;;112507:1;:13;;:16;112521:1;112507:16;;;;;;;;;;;;;;;112503:20;;112578:1;93524:6;112534:1;:7;;;;;;;;;;;;:40;:45;;;112530:187;;112587:11;93524:6;112587:44;;112641:11;112650:1;112641:8;:11::i;:::-;112637:53;;;93655:6;112654:36;;;;112637:53;112706:5;112696:1;:7;;;:15;;;;;;;;;;;;;;;;;;112581:136;112530:187;112450:271;112368:353;;;:::o;112875:394::-;112991:19;113019:22;113044:18;:16;:18::i;:::-;113019:43;;113082:13;:26;;;;;;;;;;;;113067:41;;113133:1;113117:12;:17;;;113113:152;;113159:1;:12;;;113157:14;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;113142:29;;113206:12;113177:13;:26;;;:41;;;;;;;;;;;;;;;;;;113257:2;113224:1;:16;;:30;113241:12;113224:30;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;113113:152;113014:255;112875:394;;;;:::o;123450:458::-;123595:8;123589:4;123582:22;123629:5;123626:1;123622:13;123616:4;123609:27;123666:4;123660;123650:21;123720:1;123713:5;123709:13;123706:1;123702:21;123774:1;123768:8;123813:10;123889:5;123885:1;123882;123878:9;123874:21;123871:1;123867:29;123864:1;123860:37;123857:1;123853:45;123850:1;123843:56;123576:328;;;;123450:458;;;:::o;123056:113::-;123110:7;123158:1;123153;123148;:6;;123147:12;123140:19;;123056:113;;;:::o;105569:2632::-;105670:1;105656:16;;:2;:16;;;105652:52;;105681:23;;;;;;;;;;;;;;105652:52;105711:22;105736:18;:16;:18::i;:::-;105711:43;;105761:35;105799:18;105812:4;105799:12;:18::i;:::-;105761:56;;105822:33;105858:16;105871:2;105858:12;:16::i;:::-;105822:52;;105881:23;;:::i;:::-;105929:15;:27;;;;;;;;;;;;105909:47;;:1;:17;;:47;;;;;105979:13;:25;;;;;;;;;;;;105961:43;;:1;:15;;:43;;;;;106025:15;:23;;;;;;;;;;;;106009:39;;:1;:13;;:39;;;;;106068:1;:13;;;106059:6;:22;106055:56;;;106090:21;;;;;;;;;;;;;;106055:56;106151:6;106134:1;:13;;:23;;;;;;;;;;;106196:1;:13;;;106163:15;:23;;;:47;;;;;;;;;;;;;;;;;;106285:6;106261:13;:21;;;;;;;;;;;;:30;;;106247:1;:11;;:44;;;;106216:13;:21;;;:76;;;;;;;;;;;;;;;;;;106320:54;106334:1;:17;;;93158:8;106353:1;:13;;;:20;;;;;:::i;:::-;;;106320:13;:54::i;:::-;106300:1;:17;;:74;;;;;106439:1;93655:6;106386:13;:19;;;;;;;;;;;;:49;:54;;;106382:222;;106461:2;106453:10;;:4;:10;;;106449:71;;106503:1;:17;;;106483:1;:17;;;:37;106465:1;:15;;:55;;;;;106449:71;106547:50;93158:8;106561:1;:11;;;:18;;;;;:::i;:::-;;;106581:1;:15;;;106547:13;:50::i;:::-;106527:1;:17;;:70;;;;;106382:222;106611:29;106643:56;106681:1;:17;;;106661:1;:17;;;:37;106643:17;:56::i;:::-;106611:88;;106732:1;106711;:17;;;:22;106707:538;;106742:27;106772:1;:7;;:13;106780:4;106772:13;;;;;;;;;;;;;;;106742:43;;106792:17;106812:1;:17;;;106792:37;;106836:15;106866:1;:17;;;106854:9;:29;106836:47;;106917:1;:17;;;106890:1;:16;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106979:7;106942:15;:27;;;:45;;;;;;;;;;;;;;;;;;107013:226;107024:10;107037:28;107042:9;107053:11;;;;;;;107037:4;:28::i;:::-;107024:41;;;;107073:43;107101:1;:4;;107107:2;107111:1;107114;107073:27;:43::i;:::-;107131:1;:16;;:20;107148:2;107131:20;;;;;;;;;;;;107124:27;;;;;;;;;;;107159:42;107177:10;107189:4;107195:2;107199:1;107159:17;:42::i;:::-;107016:193;107230:7;107217:9;:20;107013:226;;106735:510;;;106707:538;107277:1;107256;:17;;;:22;107252:807;;107287:25;107315:1;:7;;:11;107323:2;107315:11;;;;;;;;;;;;;;;107287:39;;107333:15;107351:1;:15;;;107333:33;;107373:13;107399:1;:17;;;107389:7;:27;107373:43;;107423:14;107440:43;107465:13;107480:2;107440:24;:43::i;:::-;107423:60;;107490:16;93158:8;107509:1;:13;;;;;;;;;;;;:20;;;;;;;:::i;:::-;;;107490:39;;107536:10;107549:1;:13;;;;;;;;;;;;107536:26;;;;107596:1;:17;;;107569:1;:16;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107656:5;107621:13;:25;;;:41;;;;;;;;;;;;;;;;;;107688:332;107699:90;107741:1;107706:31;107711:1;:4;;107717:19;107733:2;107717:15;:19::i;:::-;107706:4;:31::i;:::-;:36;;;107699:90;;107764:8;107757:4;;;;;;:15;107753:27;;;107779:1;107774:6;;107753:27;107699:90;;;107796:34;107801:7;107810;107826:2;107796:4;:34::i;:::-;107838:65;107866:1;:4;;107872:2;107876:7;107892:9;;;;;;107838:27;:65::i;:::-;107911:40;107929:10;107941:2;107945;107949:1;107911:17;:40::i;:::-;107970:8;107963:4;;;;;;:15;107959:27;;;107985:1;107980:6;;107959:27;108013:5;108002:7;:16;107688:332;;108049:2;108026:1;:13;;;:26;;;;;;;;;;;;;;;;;;107280:779;;;;;;107252:807;108096:1;108070:10;:15;;;:22;:27;108066:90;;108106:43;108122:10;108134:1;:14;;;;;;;;;;;;108106:15;:43::i;:::-;108066:90;106118:2043;108185:2;108170:26;;108179:4;108170:26;;;108189:6;108170:26;;;;;;:::i;:::-;;;;;;;;105647:2554;;;;105569:2632;;;:::o;66412:103::-;66481:6;66501:9;66494:16;;66412:103;:::o;122029:187::-;122080:11;122173:1;122161:14;122151:24;;122029:187;;;:::o;111956:253::-;112022:21;112046:15;112059:1;112046:12;:15::i;:::-;112022:39;;112118:5;112070:53;;112112:1;93655:6;112071:1;:7;;;;;;;;;;;;:37;:42;;;;112070:53;;;112066:109;;93655:6;112131:1;:7;;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112066:109;112195:1;112184:20;;;112198:5;112184:20;;;;;;:::i;:::-;;;;;;;;112017:192;111956:253;;:::o;65896:292::-;66082:11;66076:18;66066:8;66063:32;66053:126;;66117:10;66111:4;66104:24;66168:4;66162;66155:18;66053:126;65896:292::o;3485:343::-;3725:4;3713:10;3707:4;3695:10;3680:13;3676:2;3669:5;3664:66;3654:165;;3752:10;3746:4;3739:24;3808:4;3802;3795:18;3654:165;3485:343;:::o;101399:1676::-;101482:1;101468:16;;:2;:16;;;101464:52;;101493:23;;;;;;;;;;;;;;101464:52;101523:22;101548:18;:16;:18::i;:::-;101523:43;;101573:33;101609:16;101622:2;101609:12;:16::i;:::-;101573:52;;101648:26;101702:6;101685:1;:13;;;;;;;;;;;;101677:22;;:31;101648:60;;93368:25;101718:6;:20;:56;;;;93368:25;101742:18;:32;101718:56;101714:104;;;101790:21;;;;;;;;;;;;;;101714:104;101846:18;101823:1;:13;;;:42;;;;;;;;;;;;;;;;;;101873:17;101917:6;101893:13;:21;;;;;;;;;;;;:30;;;101873:50;;101960:9;101929:13;:21;;;:41;;;;;;;;;;;;;;;;;;102035:1;93655:6;101982:13;:19;;;;;;;;;;;;:49;:54;;;101978:1046;;102045:25;102073:1;:7;;:11;102081:2;102073:11;;;;;;;;;;;;;;;102045:39;;102091:15;102109:13;:25;;;;;;;;;;;;102091:43;;;;102141:13;93158:8;102157:9;:16;;;;;:::i;:::-;;;102141:32;;102180:29;102212:48;102230:29;102244:5;102251:7;102230:13;:29::i;:::-;102212:17;:48::i;:::-;102180:80;;102299:1;102273:10;:15;;;:22;:27;102269:749;;102310:16;93158:8;102329:1;:13;;;;;;;;;;;;:20;;;;;;;:::i;:::-;;;102310:39;;102357:14;102374:43;102399:13;102414:2;102374:24;:43::i;:::-;102357:60;;102425:10;102438:1;:13;;;;;;;;;;;;102425:26;;;;102486:10;:15;;;:22;102459:1;:16;;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102552:5;102517:13;:25;;;:41;;;;;;;;;;;;;;;;;;102586:340;102598:92;102640:1;102605:31;102610:1;:4;;102616:19;102632:2;102616:15;:19::i;:::-;102605:4;:31::i;:::-;:36;;;102598:92;;102664:8;102657:4;;;;;;:15;102653:27;;;102679:1;102674:6;;102653:27;102598:92;;;102698:34;102703:7;102712;102728:2;102698:4;:34::i;:::-;102741:65;102769:1;:4;;102775:2;102779:7;102795:9;;;;;;102741:27;:65::i;:::-;102815:40;102833:10;102845:2;102849;102853:1;102815:17;:40::i;:::-;102875:8;102868:4;;;;;;:15;102864:27;;;102890:1;102885:6;;102864:27;102919:5;102908:7;:16;102586:340;;102956:2;102933:1;:13;;;:26;;;;;;;;;;;;;;;;;;102967:43;102983:10;102995:1;:14;;;;;;;;;;;;102967:15;:43::i;:::-;102302:716;;;102269:749;102038:986;;;;101978:1046;101632:1397;;103059:2;103038:32;;103055:1;103038:32;;;103063:6;103038:32;;;;;;:::i;:::-;;;;;;;;101459:1616;;101399:1676;;:::o;64971:870::-;65034:23;:21;:23::i;:::-;65030:807;;;65137:11;65215:8;65211:2;65207:17;65203:2;65199:26;65187:38;;65347:8;65335:9;65329:16;65289:38;65286:1;65283;65278:78;65438:8;65431:16;65426:3;65422:26;65412:8;65409:40;65398:9;65391:59;65113:343;65030:807;;;65545:11;65623:8;65619:2;65615:17;65611:2;65607:26;65595:38;;65755:8;65743:9;65737:16;65697:38;65694:1;65691;65686:78;65817:8;65806:9;65799:27;65521:311;65030:807;64971:870;:::o;17699:1382::-;17755:17;18150:4;18143;18137:11;18133:22;18126:29;;18233:4;18228:3;18224:14;18218:4;18211:28;18298:1;18293:3;18286:14;18384:3;18407:1;18403:6;18592:5;18574:317;18600:1;18574:317;;;18628:1;18623:3;18619:11;18612:18;;18781:2;18775:4;18771:13;18767:2;18763:22;18758:3;18750:36;18851:2;18845:4;18841:13;18833:21;;18870:4;18574:317;18860:25;18574:317;18578:21;18921:3;18916;18912:13;19018:4;19013:3;19009:14;19002:21;;19065:6;19060:3;19053:19;17826:1251;;;17699:1382;;;:::o;122718:174::-;122785:9;122880:1;122877;122873:9;122869:1;122866;122863:8;122859:24;122854:29;;122718:174;;;;:::o;120301:375::-;120361:20;;:::i;:::-;120470:4;120463;120457:11;120453:22;120537:1;120531:4;120524:15;120568:4;120562;120558:15;120610:1;120607;120603:9;120595:6;120591:22;120585:4;120578:36;120629:4;120626:1;120619:15;120660:6;120656:1;120650:4;120646:12;120639:28;120435:237;;120301:375;;;:::o;123975:588::-;124219:9;124207:10;124203:26;124190:10;124186:2;124182:19;124179:51;124248:8;124242:4;124235:22;124282:2;124279:1;124275:10;124269:4;124262:24;124316:4;124310;124300:21;124367:1;124363:2;124359:10;124356:1;124352:18;124421:1;124415:8;124460:18;124544:5;124540:1;124537;124533:9;124529:21;124526:1;124522:29;124519:1;124515:37;124512:1;124508:45;124505:1;124498:56;124160:399;;;;;123975:588;;;;:::o;120776:314::-;120974:1;120968:4;120964:12;120958:19;121028:7;121022:2;121019:1;121015:10;121011:1;121007:2;121003:10;121000:26;120997:39;120989:6;120982:55;121075:4;121067:6;121063:17;121059:1;121053:4;121049:12;121042:39;120938:148;120776:314;;;;:::o;121183:538::-;121330:1;121324:8;121356:4;121350;121346:15;121406:10;121403:1;121396:21;121472:4;121465;121462:1;121458:12;121451:26;121559:4;121553:11;121550:1;121546:19;121540:4;121536:30;121676:4;121673:1;121670;121663:4;121660:1;121656:12;121653:1;121645:6;121638:5;121633:48;121629:1;121625;121619:8;121616:15;121612:70;121602:110;;121701:4;121698:1;121691:15;121602:110;121306:411;;;121183:538;;:::o;63450:78::-;63514:10;63450:78;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;7:99:1:-;59:6;93:5;87:12;77:22;;7:99;;;:::o;112:169::-;196:11;230:6;225:3;218:19;270:4;265:3;261:14;246:29;;112:169;;;;:::o;287:246::-;368:1;378:113;392:6;389:1;386:13;378:113;;;477:1;472:3;468:11;462:18;458:1;453:3;449:11;442:39;414:2;411:1;407:10;402:15;;378:113;;;525:1;516:6;511:3;507:16;500:27;349:184;287:246;;;:::o;539:102::-;580:6;631:2;627:7;622:2;615:5;611:14;607:28;597:38;;539:102;;;:::o;647:377::-;735:3;763:39;796:5;763:39;:::i;:::-;818:71;882:6;877:3;818:71;:::i;:::-;811:78;;898:65;956:6;951:3;944:4;937:5;933:16;898:65;:::i;:::-;988:29;1010:6;988:29;:::i;:::-;983:3;979:39;972:46;;739:285;647:377;;;;:::o;1030:313::-;1143:4;1181:2;1170:9;1166:18;1158:26;;1230:9;1224:4;1220:20;1216:1;1205:9;1201:17;1194:47;1258:78;1331:4;1322:6;1258:78;:::i;:::-;1250:86;;1030:313;;;;:::o;1430:117::-;1539:1;1536;1529:12;1553:117;1662:1;1659;1652:12;1676:126;1713:7;1753:42;1746:5;1742:54;1731:65;;1676:126;;;:::o;1808:96::-;1845:7;1874:24;1892:5;1874:24;:::i;:::-;1863:35;;1808:96;;;:::o;1910:122::-;1983:24;2001:5;1983:24;:::i;:::-;1976:5;1973:35;1963:63;;2022:1;2019;2012:12;1963:63;1910:122;:::o;2038:139::-;2084:5;2122:6;2109:20;2100:29;;2138:33;2165:5;2138:33;:::i;:::-;2038:139;;;;:::o;2183:77::-;2220:7;2249:5;2238:16;;2183:77;;;:::o;2266:122::-;2339:24;2357:5;2339:24;:::i;:::-;2332:5;2329:35;2319:63;;2378:1;2375;2368:12;2319:63;2266:122;:::o;2394:139::-;2440:5;2478:6;2465:20;2456:29;;2494:33;2521:5;2494:33;:::i;:::-;2394:139;;;;:::o;2539:474::-;2607:6;2615;2664:2;2652:9;2643:7;2639:23;2635:32;2632:119;;;2670:79;;:::i;:::-;2632:119;2790:1;2815:53;2860:7;2851:6;2840:9;2836:22;2815:53;:::i;:::-;2805:63;;2761:117;2917:2;2943:53;2988:7;2979:6;2968:9;2964:22;2943:53;:::i;:::-;2933:63;;2888:118;2539:474;;;;;:::o;3019:90::-;3053:7;3096:5;3089:13;3082:21;3071:32;;3019:90;;;:::o;3115:109::-;3196:21;3211:5;3196:21;:::i;:::-;3191:3;3184:34;3115:109;;:::o;3230:210::-;3317:4;3355:2;3344:9;3340:18;3332:26;;3368:65;3430:1;3419:9;3415:17;3406:6;3368:65;:::i;:::-;3230:210;;;;:::o;3446:118::-;3533:24;3551:5;3533:24;:::i;:::-;3528:3;3521:37;3446:118;;:::o;3570:222::-;3663:4;3701:2;3690:9;3686:18;3678:26;;3714:71;3782:1;3771:9;3767:17;3758:6;3714:71;:::i;:::-;3570:222;;;;:::o;3798:619::-;3875:6;3883;3891;3940:2;3928:9;3919:7;3915:23;3911:32;3908:119;;;3946:79;;:::i;:::-;3908:119;4066:1;4091:53;4136:7;4127:6;4116:9;4112:22;4091:53;:::i;:::-;4081:63;;4037:117;4193:2;4219:53;4264:7;4255:6;4244:9;4240:22;4219:53;:::i;:::-;4209:63;;4164:118;4321:2;4347:53;4392:7;4383:6;4372:9;4368:22;4347:53;:::i;:::-;4337:63;;4292:118;3798:619;;;;;:::o;4423:329::-;4482:6;4531:2;4519:9;4510:7;4506:23;4502:32;4499:119;;;4537:79;;:::i;:::-;4499:119;4657:1;4682:53;4727:7;4718:6;4707:9;4703:22;4682:53;:::i;:::-;4672:63;;4628:117;4423:329;;;;:::o;4758:116::-;4828:21;4843:5;4828:21;:::i;:::-;4821:5;4818:32;4808:60;;4864:1;4861;4854:12;4808:60;4758:116;:::o;4880:133::-;4923:5;4961:6;4948:20;4939:29;;4977:30;5001:5;4977:30;:::i;:::-;4880:133;;;;:::o;5019:323::-;5075:6;5124:2;5112:9;5103:7;5099:23;5095:32;5092:119;;;5130:79;;:::i;:::-;5092:119;5250:1;5275:50;5317:7;5308:6;5297:9;5293:22;5275:50;:::i;:::-;5265:60;;5221:114;5019:323;;;;:::o;5348:86::-;5383:7;5423:4;5416:5;5412:16;5401:27;;5348:86;;;:::o;5440:112::-;5523:22;5539:5;5523:22;:::i;:::-;5518:3;5511:35;5440:112;;:::o;5558:214::-;5647:4;5685:2;5674:9;5670:18;5662:26;;5698:67;5762:1;5751:9;5747:17;5738:6;5698:67;:::i;:::-;5558:214;;;;:::o;5778:118::-;5865:24;5883:5;5865:24;:::i;:::-;5860:3;5853:37;5778:118;;:::o;5902:222::-;5995:4;6033:2;6022:9;6018:18;6010:26;;6046:71;6114:1;6103:9;6099:17;6090:6;6046:71;:::i;:::-;5902:222;;;;:::o;6130:117::-;6239:1;6236;6229:12;6253:117;6362:1;6359;6352:12;6376:117;6485:1;6482;6475:12;6513:553;6571:8;6581:6;6631:3;6624:4;6616:6;6612:17;6608:27;6598:122;;6639:79;;:::i;:::-;6598:122;6752:6;6739:20;6729:30;;6782:18;6774:6;6771:30;6768:117;;;6804:79;;:::i;:::-;6768:117;6918:4;6910:6;6906:17;6894:29;;6972:3;6964:4;6956:6;6952:17;6942:8;6938:32;6935:41;6932:128;;;6979:79;;:::i;:::-;6932:128;6513:553;;;;;:::o;7072:529::-;7143:6;7151;7200:2;7188:9;7179:7;7175:23;7171:32;7168:119;;;7206:79;;:::i;:::-;7168:119;7354:1;7343:9;7339:17;7326:31;7384:18;7376:6;7373:30;7370:117;;;7406:79;;:::i;:::-;7370:117;7519:65;7576:7;7567:6;7556:9;7552:22;7519:65;:::i;:::-;7501:83;;;;7297:297;7072:529;;;;;:::o;7607:329::-;7666:6;7715:2;7703:9;7694:7;7690:23;7686:32;7683:119;;;7721:79;;:::i;:::-;7683:119;7841:1;7866:53;7911:7;7902:6;7891:9;7887:22;7866:53;:::i;:::-;7856:63;;7812:117;7607:329;;;;:::o;7942:474::-;8010:6;8018;8067:2;8055:9;8046:7;8042:23;8038:32;8035:119;;;8073:79;;:::i;:::-;8035:119;8193:1;8218:53;8263:7;8254:6;8243:9;8239:22;8218:53;:::i;:::-;8208:63;;8164:117;8320:2;8346:53;8391:7;8382:6;8371:9;8367:22;8346:53;:::i;:::-;8336:63;;8291:118;7942:474;;;;;:::o;8422:109::-;8458:7;8498:26;8491:5;8487:38;8476:49;;8422:109;;;:::o;8537:180::-;8585:77;8582:1;8575:88;8682:4;8679:1;8672:15;8706:4;8703:1;8696:15;8723:216;8762:4;8782:19;8799:1;8782:19;:::i;:::-;8777:24;;8815:19;8832:1;8815:19;:::i;:::-;8810:24;;8858:1;8855;8851:9;8843:17;;8882:26;8876:4;8873:36;8870:62;;;8912:18;;:::i;:::-;8870:62;8723:216;;;;:::o;8945:180::-;8993:77;8990:1;8983:88;9090:4;9087:1;9080:15;9114:4;9111:1;9104:15;9131:320;9175:6;9212:1;9206:4;9202:12;9192:22;;9259:1;9253:4;9249:12;9280:18;9270:81;;9336:4;9328:6;9324:17;9314:27;;9270:81;9398:2;9390:6;9387:14;9367:18;9364:38;9361:84;;9417:18;;:::i;:::-;9361:84;9182:269;9131:320;;;:::o;9457:97::-;9516:6;9544:3;9534:13;;9457:97;;;;:::o;9560:180::-;9608:77;9605:1;9598:88;9705:4;9702:1;9695:15;9729:4;9726:1;9719:15;9746:141;9795:4;9818:3;9810:11;;9841:3;9838:1;9831:14;9875:4;9872:1;9862:18;9854:26;;9746:141;;;:::o;9893:93::-;9930:6;9977:2;9972;9965:5;9961:14;9957:23;9947:33;;9893:93;;;:::o;9992:107::-;10036:8;10086:5;10080:4;10076:16;10055:37;;9992:107;;;;:::o;10105:393::-;10174:6;10224:1;10212:10;10208:18;10247:97;10277:66;10266:9;10247:97;:::i;:::-;10365:39;10395:8;10384:9;10365:39;:::i;:::-;10353:51;;10437:4;10433:9;10426:5;10422:21;10413:30;;10486:4;10476:8;10472:19;10465:5;10462:30;10452:40;;10181:317;;10105:393;;;;;:::o;10504:60::-;10532:3;10553:5;10546:12;;10504:60;;;:::o;10570:142::-;10620:9;10653:53;10671:34;10680:24;10698:5;10680:24;:::i;:::-;10671:34;:::i;:::-;10653:53;:::i;:::-;10640:66;;10570:142;;;:::o;10718:75::-;10761:3;10782:5;10775:12;;10718:75;;;:::o;10799:269::-;10909:39;10940:7;10909:39;:::i;:::-;10970:91;11019:41;11043:16;11019:41;:::i;:::-;11011:6;11004:4;10998:11;10970:91;:::i;:::-;10964:4;10957:105;10875:193;10799:269;;;:::o;11074:73::-;11119:3;11074:73;:::o;11153:189::-;11230:32;;:::i;:::-;11271:65;11329:6;11321;11315:4;11271:65;:::i;:::-;11206:136;11153:189;;:::o;11348:186::-;11408:120;11425:3;11418:5;11415:14;11408:120;;;11479:39;11516:1;11509:5;11479:39;:::i;:::-;11452:1;11445:5;11441:13;11432:22;;11408:120;;;11348:186;;:::o;11540:543::-;11641:2;11636:3;11633:11;11630:446;;;11675:38;11707:5;11675:38;:::i;:::-;11759:29;11777:10;11759:29;:::i;:::-;11749:8;11745:44;11942:2;11930:10;11927:18;11924:49;;;11963:8;11948:23;;11924:49;11986:80;12042:22;12060:3;12042:22;:::i;:::-;12032:8;12028:37;12015:11;11986:80;:::i;:::-;11645:431;;11630:446;11540:543;;;:::o;12089:117::-;12143:8;12193:5;12187:4;12183:16;12162:37;;12089:117;;;;:::o;12212:169::-;12256:6;12289:51;12337:1;12333:6;12325:5;12322:1;12318:13;12289:51;:::i;:::-;12285:56;12370:4;12364;12360:15;12350:25;;12263:118;12212:169;;;;:::o;12386:295::-;12462:4;12608:29;12633:3;12627:4;12608:29;:::i;:::-;12600:37;;12670:3;12667:1;12663:11;12657:4;12654:21;12646:29;;12386:295;;;;:::o;12686:1403::-;12810:44;12850:3;12845;12810:44;:::i;:::-;12919:18;12911:6;12908:30;12905:56;;;12941:18;;:::i;:::-;12905:56;12985:38;13017:4;13011:11;12985:38;:::i;:::-;13070:67;13130:6;13122;13116:4;13070:67;:::i;:::-;13164:1;13193:2;13185:6;13182:14;13210:1;13205:632;;;;13881:1;13898:6;13895:84;;;13954:9;13949:3;13945:19;13932:33;13923:42;;13895:84;14005:67;14065:6;14058:5;14005:67;:::i;:::-;13999:4;13992:81;13854:229;13175:908;;13205:632;13257:4;13253:9;13245:6;13241:22;13291:37;13323:4;13291:37;:::i;:::-;13350:1;13364:215;13378:7;13375:1;13372:14;13364:215;;;13464:9;13459:3;13455:19;13442:33;13434:6;13427:49;13515:1;13507:6;13503:14;13493:24;;13562:2;13551:9;13547:18;13534:31;;13401:4;13398:1;13394:12;13389:17;;13364:215;;;13607:6;13598:7;13595:19;13592:186;;;13672:9;13667:3;13663:19;13650:33;13715:48;13757:4;13749:6;13745:17;13734:9;13715:48;:::i;:::-;13707:6;13700:64;13615:163;13592:186;13824:1;13820;13812:6;13808:14;13804:22;13798:4;13791:36;13212:625;;;13175:908;;12785:1304;;;12686:1403;;;:::o;14095:79::-;14134:7;14163:5;14152:16;;14095:79;;;:::o;14180:157::-;14285:45;14305:24;14323:5;14305:24;:::i;:::-;14285:45;:::i;:::-;14280:3;14273:58;14180:157;;:::o;14343:397::-;14483:3;14498:75;14569:3;14560:6;14498:75;:::i;:::-;14598:2;14593:3;14589:12;14582:19;;14611:75;14682:3;14673:6;14611:75;:::i;:::-;14711:2;14706:3;14702:12;14695:19;;14731:3;14724:10;;14343:397;;;;;:::o;14746:148::-;14848:11;14885:3;14870:18;;14746:148;;;;:::o;14924:874::-;15027:3;15064:5;15058:12;15093:36;15119:9;15093:36;:::i;:::-;15145:89;15227:6;15222:3;15145:89;:::i;:::-;15138:96;;15265:1;15254:9;15250:17;15281:1;15276:166;;;;15456:1;15451:341;;;;15243:549;;15276:166;15360:4;15356:9;15345;15341:25;15336:3;15329:38;15422:6;15415:14;15408:22;15400:6;15396:35;15391:3;15387:45;15380:52;;15276:166;;15451:341;15518:38;15550:5;15518:38;:::i;:::-;15578:1;15592:154;15606:6;15603:1;15600:13;15592:154;;;15680:7;15674:14;15670:1;15665:3;15661:11;15654:35;15730:1;15721:7;15717:15;15706:26;;15628:4;15625:1;15621:12;15616:17;;15592:154;;;15775:6;15770:3;15766:16;15759:23;;15458:334;;15243:549;;15031:767;;14924:874;;;;:::o;15804:390::-;15910:3;15938:39;15971:5;15938:39;:::i;:::-;15993:89;16075:6;16070:3;15993:89;:::i;:::-;15986:96;;16091:65;16149:6;16144:3;16137:4;16130:5;16126:16;16091:65;:::i;:::-;16181:6;16176:3;16172:16;16165:23;;15914:280;15804:390;;;;:::o;16200:151::-;16340:3;16336:1;16328:6;16324:14;16317:27;16200:151;:::o;16357:400::-;16517:3;16538:84;16620:1;16615:3;16538:84;:::i;:::-;16531:91;;16631:93;16720:3;16631:93;:::i;:::-;16749:1;16744:3;16740:11;16733:18;;16357:400;;;:::o;16763:155::-;16903:7;16899:1;16891:6;16887:14;16880:31;16763:155;:::o;16924:400::-;17084:3;17105:84;17187:1;17182:3;17105:84;:::i;:::-;17098:91;;17198:93;17287:3;17198:93;:::i;:::-;17316:1;17311:3;17307:11;17300:18;;16924:400;;;:::o;17330:1121::-;17757:3;17779:92;17867:3;17858:6;17779:92;:::i;:::-;17772:99;;17888:95;17979:3;17970:6;17888:95;:::i;:::-;17881:102;;18000:148;18144:3;18000:148;:::i;:::-;17993:155;;18165:95;18256:3;18247:6;18165:95;:::i;:::-;18158:102;;18277:148;18421:3;18277:148;:::i;:::-;18270:155;;18442:3;18435:10;;17330:1121;;;;;;:::o;18457:93::-;18493:7;18533:10;18526:5;18522:22;18511:33;;18457:93;;;:::o;18556:175::-;18594:3;18617:23;18634:5;18617:23;:::i;:::-;18608:32;;18662:10;18655:5;18652:21;18649:47;;18676:18;;:::i;:::-;18649:47;18723:1;18716:5;18712:13;18705:20;;18556:175;;;:::o;18737:180::-;18785:77;18782:1;18775:88;18882:4;18879:1;18872:15;18906:4;18903:1;18896:15

Swarm Source

ipfs://24be4257ad1ca00f5d9da8963b54f628a92e3aec53a37722209b6977f3784b8a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.