ERC-721
Overview
Max Total Supply
444 CIRCLE
Holders
322
Total Transfers
-
Market
Volume (24H)
1.25 ETH
Min Price (24H)
$1,803.71 @ 0.550000 ETH
Max Price (24H)
$2,295.64 @ 0.700000 ETH
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
OnlyInTheCircle
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; // ████████╗██╗░░██╗███████╗ ░█████╗░██╗██████╗░░█████╗░██╗░░░░░███████╗ // ╚══██╔══╝██║░░██║██╔════╝ ██╔══██╗██║██╔══██╗██╔══██╗██║░░░░░██╔════╝ // ░░░██║░░░███████║█████╗░░ ██║░░╚═╝██║██████╔╝██║░░╚═╝██║░░░░░█████╗░░ // ░░░██║░░░██╔══██║██╔══╝░░ ██║░░██╗██║██╔══██╗██║░░██╗██║░░░░░██╔══╝░░ // ░░░██║░░░██║░░██║███████╗ ╚█████╔╝██║██║░░██║╚█████╔╝███████╗███████╗ // ░░░╚═╝░░░╚═╝░░╚═╝╚══════╝ ░╚════╝░╚═╝╚═╝░░╚═╝░╚════╝░╚══════╝╚══════╝ // Powered by https://nalikes.com contract OnlyInTheCircle is ERC721AQueryable, Ownable { using Strings for uint256; uint256 public maxSupply = 444; mapping(address => bool) public freeMintClaimed; bytes32 public merkleRoot; string public baseURI; string public uriSuffix = ".json"; bool public paused = true; bool public tradingLock = true; constructor() Ownable(msg.sender) ERC721A("Circle Pass", "CIRCLE") {} //******************************* MODIFIERS modifier notPaused() { require(!paused, "The contract is paused!"); _; } modifier noBots() { require(_msgSender() == tx.origin, "No bots!"); _; } modifier mintCompliance(uint256 quantity) { require(_totalMinted() + quantity <= maxSupply, "Max Supply Exceeded."); _; } //******************************* OVERRIDES function _startTokenId() internal view virtual override returns (uint256) { return 1; } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual override { require(!tradingLock || from == address(0), "Trading is locked!"); super._beforeTokenTransfers(from, to, startTokenId, quantity); } //******************************* MINT function mint(bytes32[] calldata proof) external noBots notPaused mintCompliance(1) { require(!freeMintClaimed[_msgSender()], "Already claimed!"); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require(MerkleProof.verify(proof, merkleRoot, leaf), "Not a valid proof!"); freeMintClaimed[_msgSender()] = true; _safeMint(_msgSender(), 1); } function mintAdmin(address to, uint256 quantity) external onlyOwner mintCompliance(quantity) { _safeMint(to, quantity); } //******************************* ADMIN function setMaxSupply(uint256 _supply) external onlyOwner { require(_supply >= _totalMinted() && _supply <= maxSupply, "Invalid Max Supply."); maxSupply = _supply; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setUriSuffix(string memory _uriSuffix) external onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setTradingLock(bool _state) external onlyOwner { tradingLock = _state; } //******************************* VIEWS function tokenURI(uint256 _tokenId) public view virtual override (ERC721A, IERC721A) returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString(), uriSuffix)) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory ownership) { unchecked { if (tokenId >= _startTokenId()) { if (tokenId > _sequentialUpTo()) return _ownershipAt(tokenId); if (tokenId < _nextTokenId()) { // If the `tokenId` is within bounds, // scan backwards for the initialized ownership slot. while (!_ownershipIsInitialized(tokenId)) --tokenId; return _ownershipAt(tokenId); } } } } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { TokenOwnership[] memory ownerships; uint256 i = tokenIds.length; assembly { // Grab the free memory pointer. ownerships := mload(0x40) // Store the length. mstore(ownerships, i) // Allocate one word for the length, // `tokenIds.length` words for the pointers. i := shl(5, i) // Multiply `i` by 32. mstore(0x40, add(add(ownerships, 0x20), i)) } while (i != 0) { uint256 tokenId; assembly { i := sub(i, 0x20) tokenId := calldataload(add(tokenIds.offset, i)) } TokenOwnership memory ownership = explicitOwnershipOf(tokenId); assembly { // Store the pointer of `ownership` in the `ownerships` array. mstore(add(add(ownerships, 0x20), i), ownership) } } return ownerships; } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { return _tokensOfOwnerIn(owner, start, stop); } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { // If spot mints are enabled, full-range scan is disabled. if (_sequentialUpTo() != type(uint256).max) _revert(NotCompatibleWithSpotMints.selector); uint256 start = _startTokenId(); uint256 stop = _nextTokenId(); uint256[] memory tokenIds; if (start != stop) tokenIds = _tokensOfOwnerIn(owner, start, stop); return tokenIds; } /** * @dev Helper function for returning an array of token IDs owned by `owner`. * * Note that this function is optimized for smaller bytecode size over runtime gas, * since it is meant to be called off-chain. */ function _tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) private view returns (uint256[] memory tokenIds) { unchecked { if (start >= stop) _revert(InvalidQueryRange.selector); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) start = _startTokenId(); uint256 nextTokenId = _nextTokenId(); // If spot mints are enabled, scan all the way until the specified `stop`. uint256 stopLimit = _sequentialUpTo() != type(uint256).max ? stop : nextTokenId; // Set `stop = min(stop, stopLimit)`. if (stop >= stopLimit) stop = stopLimit; // Number of tokens to scan. uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength` to zero if the range contains no tokens. if (start >= stop) tokenIdsMaxLength = 0; // If there are one or more tokens to scan. if (tokenIdsMaxLength != 0) { // Set `tokenIdsMaxLength = min(balanceOf(owner), tokenIdsMaxLength)`. if (stop - start <= tokenIdsMaxLength) tokenIdsMaxLength = stop - start; uint256 m; // Start of available memory. assembly { // Grab the free memory pointer. tokenIds := mload(0x40) // Allocate one word for the length, and `tokenIdsMaxLength` words // for the data. `shl(5, x)` is equivalent to `mul(32, x)`. m := add(tokenIds, shl(5, add(tokenIdsMaxLength, 1))) mstore(0x40, m) } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), // initialize `currOwnershipAddr`. // `ownership.address` will not be zero, // as `start` is clamped to the valid token ID range. if (!ownership.burned) currOwnershipAddr = ownership.addr; uint256 tokenIdsIdx; // Use a do-while, which is slightly more efficient for this case, // as the array will at least contain one element. do { if (_sequentialUpTo() != type(uint256).max) { // Skip the remaining unused sequential slots. if (start == nextTokenId) start = _sequentialUpTo() + 1; // Reset `currOwnershipAddr`, as each spot-minted token is a batch of one. if (start > _sequentialUpTo()) currOwnershipAddr = address(0); } ownership = _ownershipAt(start); // This implicitly allocates memory. assembly { switch mload(add(ownership, 0x40)) // if `ownership.burned == false`. case 0 { // if `ownership.addr != address(0)`. // The `addr` already has it's upper 96 bits clearned, // since it is written to memory with regular Solidity. if mload(ownership) { currOwnershipAddr := mload(ownership) } // if `currOwnershipAddr == owner`. // The `shl(96, x)` is to make the comparison agnostic to any // dirty upper 96 bits in `owner`. if iszero(shl(96, xor(currOwnershipAddr, owner))) { tokenIdsIdx := add(tokenIdsIdx, 1) mstore(add(tokenIds, shl(5, tokenIdsIdx)), start) } } // Otherwise, reset `currOwnershipAddr`. // This handles the case of batch burned tokens // (burned bit of first slot set, remaining slots left uninitialized). default { currOwnershipAddr := 0 } start := add(start, 1) // Free temporary memory implicitly allocated for ownership // to avoid quadratic memory expansion costs. mstore(0x40, m) } } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength)); // Store the length of the array. assembly { mstore(tokenIds, tokenIdsIdx) } } } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_BURNED)) } } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC721ReceiverImplementer.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as `_burnCounter` cannot be exceed `_currentIndex + _spotMinted` times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { 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. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := 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) // prettier-ignore 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 For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"ownership","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setTradingLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526101bc600a556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e908161004e9190610524565b506001600f5f6101000a81548160ff0219169083151502179055506001600f60016101000a81548160ff02191690831515021790555034801561008f575f80fd5b50336040518060400160405280600b81526020017f436972636c6520506173730000000000000000000000000000000000000000008152506040518060400160405280600681526020017f434952434c450000000000000000000000000000000000000000000000000000815250816002908161010c9190610524565b50806003908161011c9190610524565b5061012b6101f060201b60201c565b5f8190555061013e6101f060201b60201c565b61014c6101f860201b60201c565b10156101695761016863fed8210f60e01b61021f60201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101db575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101d29190610632565b60405180910390fd5b6101ea8161022760201b60201c565b5061064b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061036557607f821691505b60208210810361037857610377610321565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026103da7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261039f565b6103e4868361039f565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61042861042361041e846103fc565b610405565b6103fc565b9050919050565b5f819050919050565b6104418361040e565b61045561044d8261042f565b8484546103ab565b825550505050565b5f90565b61046961045d565b610474818484610438565b505050565b5b818110156104975761048c5f82610461565b60018101905061047a565b5050565b601f8211156104dc576104ad8161037e565b6104b684610390565b810160208510156104c5578190505b6104d96104d185610390565b830182610479565b50505b505050565b5f82821c905092915050565b5f6104fc5f19846008026104e1565b1980831691505092915050565b5f61051483836104ed565b9150826002028217905092915050565b61052d826102ea565b67ffffffffffffffff811115610546576105456102f4565b5b610550825461034e565b61055b82828561049b565b5f60209050601f83116001811461058c575f841561057a578287015190505b6105848582610509565b8655506105eb565b601f19841661059a8661037e565b5f5b828110156105c15784890151825560018201915060208501945060208101905061059c565b868310156105de57848901516105da601f8916826104ed565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61061c826105f3565b9050919050565b61062c81610612565b82525050565b5f6020820190506106455f830184610623565b92915050565b613c72806106585f395ff3fe60806040526004361061020e575f3560e01c806370a0823111610117578063b77a147b1161009f578063c87b56dd1161006e578063c87b56dd1461075a578063d5abeb0114610796578063e0ec7c36146107c0578063e985e9c5146107fc578063f2fde38b146108385761020e565b8063b77a147b146106b2578063b88d4fde146106da578063c23dc68f146106f6578063c3a71999146107325761020e565b80638462151c116100e65780638462151c146105be5780638da5cb5b146105fa57806395d89b411461062457806399a2557a1461064e578063a22cb4651461068a5761020e565b806370a082311461051a578063715018a614610556578063779adc811461056c5780637cb64759146105965761020e565b806342558f551161019a5780635bbb2177116101695780635bbb2177146104265780635c975abb146104625780636352211e1461048c5780636c0360eb146104c85780636f8b44b0146104f25761020e565b806342558f551461039057806342842e0e146103b85780635503a0e8146103d457806355f804b3146103fe5761020e565b806316ba10e0116101e157806316ba10e0146102d057806316c38b3c146102f857806318160ddd1461032057806323b872dd1461034a5780632eb4a7ab146103665761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612844565b610860565b6040516102459190612889565b60405180910390f35b348015610259575f80fd5b506102626108f1565b60405161026f9190612912565b60405180910390f35b348015610283575f80fd5b5061029e60048036038101906102999190612965565b610981565b6040516102ab91906129cf565b60405180910390f35b6102ce60048036038101906102c99190612a12565b6109da565b005b3480156102db575f80fd5b506102f660048036038101906102f19190612b7c565b6109ea565b005b348015610303575f80fd5b5061031e60048036038101906103199190612bed565b610a05565b005b34801561032b575f80fd5b50610334610a29565b6040516103419190612c27565b60405180910390f35b610364600480360381019061035f9190612c40565b610a74565b005b348015610371575f80fd5b5061037a610d1f565b6040516103879190612ca8565b60405180910390f35b34801561039b575f80fd5b506103b660048036038101906103b19190612bed565b610d25565b005b6103d260048036038101906103cd9190612c40565b610d4a565b005b3480156103df575f80fd5b506103e8610d69565b6040516103f59190612912565b60405180910390f35b348015610409575f80fd5b50610424600480360381019061041f9190612b7c565b610df5565b005b348015610431575f80fd5b5061044c60048036038101906104479190612d1e565b610e10565b6040516104599190612ec1565b60405180910390f35b34801561046d575f80fd5b50610476610e6c565b6040516104839190612889565b60405180910390f35b348015610497575f80fd5b506104b260048036038101906104ad9190612965565b610e7e565b6040516104bf91906129cf565b60405180910390f35b3480156104d3575f80fd5b506104dc610e8f565b6040516104e99190612912565b60405180910390f35b3480156104fd575f80fd5b5061051860048036038101906105139190612965565b610f1b565b005b348015610525575f80fd5b50610540600480360381019061053b9190612ee1565b610f85565b60405161054d9190612c27565b60405180910390f35b348015610561575f80fd5b5061056a611019565b005b348015610577575f80fd5b5061058061102c565b60405161058d9190612889565b60405180910390f35b3480156105a1575f80fd5b506105bc60048036038101906105b79190612f36565b61103f565b005b3480156105c9575f80fd5b506105e460048036038101906105df9190612ee1565b611051565b6040516105f19190613018565b60405180910390f35b348015610605575f80fd5b5061060e6110ca565b60405161061b91906129cf565b60405180910390f35b34801561062f575f80fd5b506106386110f2565b6040516106459190612912565b60405180910390f35b348015610659575f80fd5b50610674600480360381019061066f9190613038565b611182565b6040516106819190613018565b60405180910390f35b348015610695575f80fd5b506106b060048036038101906106ab9190613088565b611198565b005b3480156106bd575f80fd5b506106d860048036038101906106d3919061311b565b61129e565b005b6106f460048036038101906106ef9190613204565b61157d565b005b348015610701575f80fd5b5061071c60048036038101906107179190612965565b6115ce565b60405161072991906132d7565b60405180910390f35b34801561073d575f80fd5b5061075860048036038101906107539190612a12565b611643565b005b348015610765575f80fd5b50610780600480360381019061077b9190612965565b6116b2565b60405161078d9190612912565b60405180910390f35b3480156107a1575f80fd5b506107aa61175b565b6040516107b79190612c27565b60405180910390f35b3480156107cb575f80fd5b506107e660048036038101906107e19190612ee1565b611761565b6040516107f39190612889565b60405180910390f35b348015610807575f80fd5b50610822600480360381019061081d91906132f0565b61177e565b60405161082f9190612889565b60405180910390f35b348015610843575f80fd5b5061085e60048036038101906108599190612ee1565b61180c565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ba57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109009061335b565b80601f016020809104026020016040519081016040528092919081815260200182805461092c9061335b565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b5f61098b82611890565b6109a05761099f63cf4700e460e01b611933565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109e68282600161193b565b5050565b6109f2611a65565b80600e9081610a019190613528565b5050565b610a0d611a65565b80600f5f6101000a81548160ff02191690831515021790555050565b5f610a32611aec565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610a64611af4565b14610a7157600854810190505b90565b5f610a7e82611b1b565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af357610af263a114810060e01b611933565b5b5f80610afe84611c2a565b91509150610b148187610b0f611c4d565b611c54565b610b3f57610b2986610b24611c4d565b61177e565b610b3e57610b3d6359c896be60e01b611933565b5b5b610b4c8686866001611c97565b8015610b56575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c1e85610bfa888887611d2f565b7c020000000000000000000000000000000000000000000000000000000017611d56565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c9a575f6001850190505f60045f8381526020019081526020015f205403610c98575f548114610c97578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610d0957610d0863ea553b3460e01b611933565b5b610d168787876001611d80565b50505050505050565b600c5481565b610d2d611a65565b80600f60016101000a81548160ff02191690831515021790555050565b610d6483838360405180602001604052805f81525061157d565b505050565b600e8054610d769061335b565b80601f0160208091040260200160405190810160405280929190818152602001828054610da29061335b565b8015610ded5780601f10610dc457610100808354040283529160200191610ded565b820191905f5260205f20905b815481529060010190602001808311610dd057829003601f168201915b505050505081565b610dfd611a65565b80600d9081610e0c9190613528565b5050565b6060805f84849050905060405191508082528060051b90508060208301016040525b5f8114610e61575f6020820391508186013590505f610e50826115ce565b905080836020860101525050610e32565b819250505092915050565b600f5f9054906101000a900460ff1681565b5f610e8882611b1b565b9050919050565b600d8054610e9c9061335b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec89061335b565b8015610f135780601f10610eea57610100808354040283529160200191610f13565b820191905f5260205f20905b815481529060010190602001808311610ef657829003601f168201915b505050505081565b610f23611a65565b610f2b611d86565b8110158015610f3c5750600a548111155b610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7290613641565b60405180910390fd5b80600a8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fca57610fc9638f4eb60460e01b611933565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611021611a65565b61102a5f611dcd565b565b600f60019054906101000a900460ff1681565b611047611a65565b80600c8190555050565b60607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61107c611af4565b146110925761109163bdba09d760e01b611933565b5b5f61109b611aec565b90505f6110a6611e90565b905060608183146110bf576110bc858484611e98565b90505b809350505050919050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111019061335b565b80601f016020809104026020016040519081016040528092919081815260200182805461112d9061335b565b80156111785780601f1061114f57610100808354040283529160200191611178565b820191905f5260205f20905b81548152906001019060200180831161115b57829003601f168201915b5050505050905090565b606061118f848484611e98565b90509392505050565b8060075f6111a4611c4d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661124d611c4d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112929190612889565b60405180910390a35050565b3273ffffffffffffffffffffffffffffffffffffffff166112bd612047565b73ffffffffffffffffffffffffffffffffffffffff1614611313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130a906136a9565b60405180910390fd5b600f5f9054906101000a900460ff1615611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613711565b60405180910390fd5b6001600a5481611370611d86565b61137a919061375c565b11156113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b2906137d9565b60405180910390fd5b600b5f6113c6612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390613841565b60405180910390fd5b5f611455612047565b60405160200161146591906138a4565b6040516020818303038152906040528051906020012090506114ca8484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050600c548361204e565b611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613908565b60405180910390fd5b6001600b5f611516612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611577611570612047565b6001612064565b50505050565b611588848484610a74565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146115c8576115b284848484612081565b6115c7576115c663d1a57ed660e01b611933565b5b5b50505050565b6115d6612793565b6115de611aec565b821061163d576115ec611af4565b821115611603576115fc826121ab565b905061163e565b61160b611e90565b82101561163c575b61161c826121d4565b61162c5781600190039150611613565b611635826121ab565b905061163e565b5b5b919050565b61164b611a65565b80600a5481611658611d86565b611662919061375c565b11156116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a906137d9565b60405180910390fd5b6116ad8383612064565b505050565b60606116bd82611890565b6116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613970565b60405180910390fd5b5f600d805461170a9061335b565b9050116117255760405180602001604052805f815250611754565b600d611730836121f1565b600e60405160200161174493929190613a48565b6040516020818303038152906040525b9050919050565b600a5481565b600b602052805f5260405f205f915054906101000a900460ff1681565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611814611a65565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611884575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161187b91906129cf565b60405180910390fd5b61188d81611dcd565b50565b5f8161189a611aec565b1161192d576118a7611af4565b8211156118cf576118c860045f8481526020019081526020015f20546122bb565b905061192e565b5f5482101561192c575f5b5f60045f8581526020019081526020015f20549150810361190657826118ff90613a78565b92506118da565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f61194583610e7e565b905081801561198757508073ffffffffffffffffffffffffffffffffffffffff1661196e611c4d565b73ffffffffffffffffffffffffffffffffffffffff1614155b156119b35761199d81611998611c4d565b61177e565b6119b2576119b163cfb3b94260e01b611933565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b611a6d612047565b73ffffffffffffffffffffffffffffffffffffffff16611a8b6110ca565b73ffffffffffffffffffffffffffffffffffffffff1614611aea57611aae612047565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611ae191906129cf565b60405180910390fd5b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f81611b25611aec565b11611c145760045f8381526020019081526020015f20549050611b46611af4565b821115611b6b57611b56816122bb565b611c2557611b6a63df2d9b4260e01b611933565b5b5f8103611bec575f548210611b8b57611b8a63df2d9b4260e01b611933565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611be7575f7c010000000000000000000000000000000000000000000000000000000082160315611c2557611be663df2d9b4260e01b611933565b5b611b8c565b5f7c010000000000000000000000000000000000000000000000000000000082160315611c25575b611c2463df2d9b4260e01b611933565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b600f60019054906101000a900460ff161580611cde57505f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1490613ae9565b60405180910390fd5b611d29848484846122fb565b50505050565b5f8060e883901c905060e8611d45868684612301565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f611d8f611aec565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611dbd611af4565b14611dca57600854810190505b90565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8054905090565b6060818310611eb257611eb16332c1995a60e01b611933565b5b611eba611aec565b831015611ecc57611ec9611aec565b92505b5f611ed5611e90565b90505f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611f01611af4565b03611f0c5781611f0e565b835b9050808410611f1b578093505b5f611f2587610f85565b9050848610611f32575f90505b5f811461203d578086860311611f485785850390505b5f60405194506001820160051b85019050806040525f611f67886115ce565b90505f8160400151611f7a57815f015190505b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611fa5611af4565b14611fd357868a03611fbf576001611fbb611af4565b0199505b611fc7611af4565b8a1115611fd2575f91505b5b611fdc8a6121ab565b925060408301515f8114611ff2575f9250612018565b835115611ffe57835192505b8b831860601b612017576001820191508a8260051b8a01525b5b5060018a01995083604052888a148061203057508481145b15611f7c57808852505050505b5050509392505050565b5f33905090565b5f8261205a8584612309565b1490509392505050565b61207d828260405180602001604052805f815250612357565b5050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120a6611c4d565b8786866040518563ffffffff1660e01b81526004016120c89493929190613b59565b6020604051808303815f875af192505050801561210357506040513d601f19601f820116820180604052508101906121009190613bb7565b60015b612158573d805f8114612131576040519150601f19603f3d011682016040523d82523d5f602084013e612136565b606091505b505f8151036121505761214f63d1a57ed660e01b611933565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6121b3612793565b6121cd60045f8481526020019081526020015f20546123cd565b9050919050565b5f8060045f8481526020019081526020015f205414159050919050565b60605f60016121ff84612481565b0190505f8167ffffffffffffffff81111561221d5761221c612a58565b5b6040519080825280601f01601f19166020018201604052801561224f5781602001600182028036833780820191505090505b5090505f82602001820190505b6001156122b0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816122a5576122a4613be2565b5b0494505f850361225c575b819350505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b50505050565b5f9392505050565b5f808290505f5b845181101561234c5761233d828683815181106123305761232f613c0f565b5b60200260200101516125d2565b91508080600101915050612310565b508091505092915050565b61236183836125fc565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146123c8575f805490505f83820390505b61239d5f868380600101945086612081565b6123b2576123b163d1a57ed660e01b611933565b5b81811061238b57815f54146123c5575f80fd5b50505b505050565b6123d5612793565b81815f019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff16815250505f7c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124dd577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816124d3576124d2613be2565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061251a576d04ee2d6d415b85acef810000000083816125105761250f613be2565b5b0492506020810190505b662386f26fc10000831061254957662386f26fc10000838161253f5761253e613be2565b5b0492506010810190505b6305f5e1008310612572576305f5e100838161256857612567613be2565b5b0492506008810190505b612710831061259757612710838161258d5761258c613be2565b5b0492506004810190505b606483106125ba57606483816125b0576125af613be2565b5b0492506002810190505b600a83106125c9576001810190505b80915050919050565b5f8183106125e9576125e48284612770565b6125f4565b6125f38383612770565b5b905092915050565b5f805490505f82036126195761261863b562e8dd60e01b611933565b5b6126255f848385611c97565b612643836126345f865f611d2f565b61263d85612784565b17611d56565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036126f4576126f3632e07630060e01b611933565b5b5f83830190505f839050612706611af4565b600183031115612721576127206381647e3a60e01b611933565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361272257815f8190555050505061276b5f848385611d80565b505050565b5f825f528160205260405f20905092915050565b5f6001821460e11b9050919050565b60405180608001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f67ffffffffffffffff1681526020015f151581526020015f62ffffff1681525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612823816127ef565b811461282d575f80fd5b50565b5f8135905061283e8161281a565b92915050565b5f60208284031215612859576128586127e7565b5b5f61286684828501612830565b91505092915050565b5f8115159050919050565b6128838161286f565b82525050565b5f60208201905061289c5f83018461287a565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6128e4826128a2565b6128ee81856128ac565b93506128fe8185602086016128bc565b612907816128ca565b840191505092915050565b5f6020820190508181035f83015261292a81846128da565b905092915050565b5f819050919050565b61294481612932565b811461294e575f80fd5b50565b5f8135905061295f8161293b565b92915050565b5f6020828403121561297a576129796127e7565b5b5f61298784828501612951565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6129b982612990565b9050919050565b6129c9816129af565b82525050565b5f6020820190506129e25f8301846129c0565b92915050565b6129f1816129af565b81146129fb575f80fd5b50565b5f81359050612a0c816129e8565b92915050565b5f8060408385031215612a2857612a276127e7565b5b5f612a35858286016129fe565b9250506020612a4685828601612951565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612a8e826128ca565b810181811067ffffffffffffffff82111715612aad57612aac612a58565b5b80604052505050565b5f612abf6127de565b9050612acb8282612a85565b919050565b5f67ffffffffffffffff821115612aea57612ae9612a58565b5b612af3826128ca565b9050602081019050919050565b828183375f83830152505050565b5f612b20612b1b84612ad0565b612ab6565b905082815260208101848484011115612b3c57612b3b612a54565b5b612b47848285612b00565b509392505050565b5f82601f830112612b6357612b62612a50565b5b8135612b73848260208601612b0e565b91505092915050565b5f60208284031215612b9157612b906127e7565b5b5f82013567ffffffffffffffff811115612bae57612bad6127eb565b5b612bba84828501612b4f565b91505092915050565b612bcc8161286f565b8114612bd6575f80fd5b50565b5f81359050612be781612bc3565b92915050565b5f60208284031215612c0257612c016127e7565b5b5f612c0f84828501612bd9565b91505092915050565b612c2181612932565b82525050565b5f602082019050612c3a5f830184612c18565b92915050565b5f805f60608486031215612c5757612c566127e7565b5b5f612c64868287016129fe565b9350506020612c75868287016129fe565b9250506040612c8686828701612951565b9150509250925092565b5f819050919050565b612ca281612c90565b82525050565b5f602082019050612cbb5f830184612c99565b92915050565b5f80fd5b5f80fd5b5f8083601f840112612cde57612cdd612a50565b5b8235905067ffffffffffffffff811115612cfb57612cfa612cc1565b5b602083019150836020820283011115612d1757612d16612cc5565b5b9250929050565b5f8060208385031215612d3457612d336127e7565b5b5f83013567ffffffffffffffff811115612d5157612d506127eb565b5b612d5d85828601612cc9565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612d9b816129af565b82525050565b5f67ffffffffffffffff82169050919050565b612dbd81612da1565b82525050565b612dcc8161286f565b82525050565b5f62ffffff82169050919050565b612de981612dd2565b82525050565b608082015f820151612e035f850182612d92565b506020820151612e166020850182612db4565b506040820151612e296040850182612dc3565b506060820151612e3c6060850182612de0565b50505050565b5f612e4d8383612def565b60808301905092915050565b5f602082019050919050565b5f612e6f82612d69565b612e798185612d73565b9350612e8483612d83565b805f5b83811015612eb4578151612e9b8882612e42565b9750612ea683612e59565b925050600181019050612e87565b5085935050505092915050565b5f6020820190508181035f830152612ed98184612e65565b905092915050565b5f60208284031215612ef657612ef56127e7565b5b5f612f03848285016129fe565b91505092915050565b612f1581612c90565b8114612f1f575f80fd5b50565b5f81359050612f3081612f0c565b92915050565b5f60208284031215612f4b57612f4a6127e7565b5b5f612f5884828501612f22565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612f9381612932565b82525050565b5f612fa48383612f8a565b60208301905092915050565b5f602082019050919050565b5f612fc682612f61565b612fd08185612f6b565b9350612fdb83612f7b565b805f5b8381101561300b578151612ff28882612f99565b9750612ffd83612fb0565b925050600181019050612fde565b5085935050505092915050565b5f6020820190508181035f8301526130308184612fbc565b905092915050565b5f805f6060848603121561304f5761304e6127e7565b5b5f61305c868287016129fe565b935050602061306d86828701612951565b925050604061307e86828701612951565b9150509250925092565b5f806040838503121561309e5761309d6127e7565b5b5f6130ab858286016129fe565b92505060206130bc85828601612bd9565b9150509250929050565b5f8083601f8401126130db576130da612a50565b5b8235905067ffffffffffffffff8111156130f8576130f7612cc1565b5b60208301915083602082028301111561311457613113612cc5565b5b9250929050565b5f8060208385031215613131576131306127e7565b5b5f83013567ffffffffffffffff81111561314e5761314d6127eb565b5b61315a858286016130c6565b92509250509250929050565b5f67ffffffffffffffff8211156131805761317f612a58565b5b613189826128ca565b9050602081019050919050565b5f6131a86131a384613166565b612ab6565b9050828152602081018484840111156131c4576131c3612a54565b5b6131cf848285612b00565b509392505050565b5f82601f8301126131eb576131ea612a50565b5b81356131fb848260208601613196565b91505092915050565b5f805f806080858703121561321c5761321b6127e7565b5b5f613229878288016129fe565b945050602061323a878288016129fe565b935050604061324b87828801612951565b925050606085013567ffffffffffffffff81111561326c5761326b6127eb565b5b613278878288016131d7565b91505092959194509250565b608082015f8201516132985f850182612d92565b5060208201516132ab6020850182612db4565b5060408201516132be6040850182612dc3565b5060608201516132d16060850182612de0565b50505050565b5f6080820190506132ea5f830184613284565b92915050565b5f8060408385031215613306576133056127e7565b5b5f613313858286016129fe565b9250506020613324858286016129fe565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061337257607f821691505b6020821081036133855761338461332e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026133e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133ac565b6133f186836133ac565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61342c61342761342284612932565b613409565b612932565b9050919050565b5f819050919050565b61344583613412565b61345961345182613433565b8484546133b8565b825550505050565b5f90565b61346d613461565b61347881848461343c565b505050565b5b8181101561349b576134905f82613465565b60018101905061347e565b5050565b601f8211156134e0576134b18161338b565b6134ba8461339d565b810160208510156134c9578190505b6134dd6134d58561339d565b83018261347d565b50505b505050565b5f82821c905092915050565b5f6135005f19846008026134e5565b1980831691505092915050565b5f61351883836134f1565b9150826002028217905092915050565b613531826128a2565b67ffffffffffffffff81111561354a57613549612a58565b5b613554825461335b565b61355f82828561349f565b5f60209050601f831160018114613590575f841561357e578287015190505b613588858261350d565b8655506135ef565b601f19841661359e8661338b565b5f5b828110156135c5578489015182556001820191506020850194506020810190506135a0565b868310156135e257848901516135de601f8916826134f1565b8355505b6001600288020188555050505b505050505050565b7f496e76616c6964204d617820537570706c792e000000000000000000000000005f82015250565b5f61362b6013836128ac565b9150613636826135f7565b602082019050919050565b5f6020820190508181035f8301526136588161361f565b9050919050565b7f4e6f20626f7473210000000000000000000000000000000000000000000000005f82015250565b5f6136936008836128ac565b915061369e8261365f565b602082019050919050565b5f6020820190508181035f8301526136c081613687565b9050919050565b7f54686520636f6e747261637420697320706175736564210000000000000000005f82015250565b5f6136fb6017836128ac565b9150613706826136c7565b602082019050919050565b5f6020820190508181035f830152613728816136ef565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61376682612932565b915061377183612932565b92508282019050808211156137895761378861372f565b5b92915050565b7f4d617820537570706c792045786365656465642e0000000000000000000000005f82015250565b5f6137c36014836128ac565b91506137ce8261378f565b602082019050919050565b5f6020820190508181035f8301526137f0816137b7565b9050919050565b7f416c726561647920636c61696d656421000000000000000000000000000000005f82015250565b5f61382b6010836128ac565b9150613836826137f7565b602082019050919050565b5f6020820190508181035f8301526138588161381f565b9050919050565b5f8160601b9050919050565b5f6138758261385f565b9050919050565b5f6138868261386b565b9050919050565b61389e613899826129af565b61387c565b82525050565b5f6138af828461388d565b60148201915081905092915050565b7f4e6f7420612076616c69642070726f6f662100000000000000000000000000005f82015250565b5f6138f26012836128ac565b91506138fd826138be565b602082019050919050565b5f6020820190508181035f83015261391f816138e6565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e005f82015250565b5f61395a601f836128ac565b915061396582613926565b602082019050919050565b5f6020820190508181035f8301526139878161394e565b9050919050565b5f81905092915050565b5f81546139a48161335b565b6139ae818661398e565b9450600182165f81146139c857600181146139dd57613a0f565b60ff1983168652811515820286019350613a0f565b6139e68561338b565b5f5b83811015613a07578154818901526001820191506020810190506139e8565b838801955050505b50505092915050565b5f613a22826128a2565b613a2c818561398e565b9350613a3c8185602086016128bc565b80840191505092915050565b5f613a538286613998565b9150613a5f8285613a18565b9150613a6b8284613998565b9150819050949350505050565b5f613a8282612932565b91505f8203613a9457613a9361372f565b5b600182039050919050565b7f54726164696e67206973206c6f636b65642100000000000000000000000000005f82015250565b5f613ad36012836128ac565b9150613ade82613a9f565b602082019050919050565b5f6020820190508181035f830152613b0081613ac7565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613b2b82613b07565b613b358185613b11565b9350613b458185602086016128bc565b613b4e816128ca565b840191505092915050565b5f608082019050613b6c5f8301876129c0565b613b7960208301866129c0565b613b866040830185612c18565b8181036060830152613b988184613b21565b905095945050505050565b5f81519050613bb18161281a565b92915050565b5f60208284031215613bcc57613bcb6127e7565b5b5f613bd984828501613ba3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea26469706673582212207187ad8c40d634e88adf34783cf7ca1c1d100f370d19ee1d262cff5e15fe89e664736f6c634300081a0033
Deployed Bytecode
0x60806040526004361061020e575f3560e01c806370a0823111610117578063b77a147b1161009f578063c87b56dd1161006e578063c87b56dd1461075a578063d5abeb0114610796578063e0ec7c36146107c0578063e985e9c5146107fc578063f2fde38b146108385761020e565b8063b77a147b146106b2578063b88d4fde146106da578063c23dc68f146106f6578063c3a71999146107325761020e565b80638462151c116100e65780638462151c146105be5780638da5cb5b146105fa57806395d89b411461062457806399a2557a1461064e578063a22cb4651461068a5761020e565b806370a082311461051a578063715018a614610556578063779adc811461056c5780637cb64759146105965761020e565b806342558f551161019a5780635bbb2177116101695780635bbb2177146104265780635c975abb146104625780636352211e1461048c5780636c0360eb146104c85780636f8b44b0146104f25761020e565b806342558f551461039057806342842e0e146103b85780635503a0e8146103d457806355f804b3146103fe5761020e565b806316ba10e0116101e157806316ba10e0146102d057806316c38b3c146102f857806318160ddd1461032057806323b872dd1461034a5780632eb4a7ab146103665761020e565b806301ffc9a71461021257806306fdde031461024e578063081812fc14610278578063095ea7b3146102b4575b5f80fd5b34801561021d575f80fd5b5061023860048036038101906102339190612844565b610860565b6040516102459190612889565b60405180910390f35b348015610259575f80fd5b506102626108f1565b60405161026f9190612912565b60405180910390f35b348015610283575f80fd5b5061029e60048036038101906102999190612965565b610981565b6040516102ab91906129cf565b60405180910390f35b6102ce60048036038101906102c99190612a12565b6109da565b005b3480156102db575f80fd5b506102f660048036038101906102f19190612b7c565b6109ea565b005b348015610303575f80fd5b5061031e60048036038101906103199190612bed565b610a05565b005b34801561032b575f80fd5b50610334610a29565b6040516103419190612c27565b60405180910390f35b610364600480360381019061035f9190612c40565b610a74565b005b348015610371575f80fd5b5061037a610d1f565b6040516103879190612ca8565b60405180910390f35b34801561039b575f80fd5b506103b660048036038101906103b19190612bed565b610d25565b005b6103d260048036038101906103cd9190612c40565b610d4a565b005b3480156103df575f80fd5b506103e8610d69565b6040516103f59190612912565b60405180910390f35b348015610409575f80fd5b50610424600480360381019061041f9190612b7c565b610df5565b005b348015610431575f80fd5b5061044c60048036038101906104479190612d1e565b610e10565b6040516104599190612ec1565b60405180910390f35b34801561046d575f80fd5b50610476610e6c565b6040516104839190612889565b60405180910390f35b348015610497575f80fd5b506104b260048036038101906104ad9190612965565b610e7e565b6040516104bf91906129cf565b60405180910390f35b3480156104d3575f80fd5b506104dc610e8f565b6040516104e99190612912565b60405180910390f35b3480156104fd575f80fd5b5061051860048036038101906105139190612965565b610f1b565b005b348015610525575f80fd5b50610540600480360381019061053b9190612ee1565b610f85565b60405161054d9190612c27565b60405180910390f35b348015610561575f80fd5b5061056a611019565b005b348015610577575f80fd5b5061058061102c565b60405161058d9190612889565b60405180910390f35b3480156105a1575f80fd5b506105bc60048036038101906105b79190612f36565b61103f565b005b3480156105c9575f80fd5b506105e460048036038101906105df9190612ee1565b611051565b6040516105f19190613018565b60405180910390f35b348015610605575f80fd5b5061060e6110ca565b60405161061b91906129cf565b60405180910390f35b34801561062f575f80fd5b506106386110f2565b6040516106459190612912565b60405180910390f35b348015610659575f80fd5b50610674600480360381019061066f9190613038565b611182565b6040516106819190613018565b60405180910390f35b348015610695575f80fd5b506106b060048036038101906106ab9190613088565b611198565b005b3480156106bd575f80fd5b506106d860048036038101906106d3919061311b565b61129e565b005b6106f460048036038101906106ef9190613204565b61157d565b005b348015610701575f80fd5b5061071c60048036038101906107179190612965565b6115ce565b60405161072991906132d7565b60405180910390f35b34801561073d575f80fd5b5061075860048036038101906107539190612a12565b611643565b005b348015610765575f80fd5b50610780600480360381019061077b9190612965565b6116b2565b60405161078d9190612912565b60405180910390f35b3480156107a1575f80fd5b506107aa61175b565b6040516107b79190612c27565b60405180910390f35b3480156107cb575f80fd5b506107e660048036038101906107e19190612ee1565b611761565b6040516107f39190612889565b60405180910390f35b348015610807575f80fd5b50610822600480360381019061081d91906132f0565b61177e565b60405161082f9190612889565b60405180910390f35b348015610843575f80fd5b5061085e60048036038101906108599190612ee1565b61180c565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ba57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109009061335b565b80601f016020809104026020016040519081016040528092919081815260200182805461092c9061335b565b80156109775780601f1061094e57610100808354040283529160200191610977565b820191905f5260205f20905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b5f61098b82611890565b6109a05761099f63cf4700e460e01b611933565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109e68282600161193b565b5050565b6109f2611a65565b80600e9081610a019190613528565b5050565b610a0d611a65565b80600f5f6101000a81548160ff02191690831515021790555050565b5f610a32611aec565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610a64611af4565b14610a7157600854810190505b90565b5f610a7e82611b1b565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610af357610af263a114810060e01b611933565b5b5f80610afe84611c2a565b91509150610b148187610b0f611c4d565b611c54565b610b3f57610b2986610b24611c4d565b61177e565b610b3e57610b3d6359c896be60e01b611933565b5b5b610b4c8686866001611c97565b8015610b56575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c1e85610bfa888887611d2f565b7c020000000000000000000000000000000000000000000000000000000017611d56565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610c9a575f6001850190505f60045f8381526020019081526020015f205403610c98575f548114610c97578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610d0957610d0863ea553b3460e01b611933565b5b610d168787876001611d80565b50505050505050565b600c5481565b610d2d611a65565b80600f60016101000a81548160ff02191690831515021790555050565b610d6483838360405180602001604052805f81525061157d565b505050565b600e8054610d769061335b565b80601f0160208091040260200160405190810160405280929190818152602001828054610da29061335b565b8015610ded5780601f10610dc457610100808354040283529160200191610ded565b820191905f5260205f20905b815481529060010190602001808311610dd057829003601f168201915b505050505081565b610dfd611a65565b80600d9081610e0c9190613528565b5050565b6060805f84849050905060405191508082528060051b90508060208301016040525b5f8114610e61575f6020820391508186013590505f610e50826115ce565b905080836020860101525050610e32565b819250505092915050565b600f5f9054906101000a900460ff1681565b5f610e8882611b1b565b9050919050565b600d8054610e9c9061335b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec89061335b565b8015610f135780601f10610eea57610100808354040283529160200191610f13565b820191905f5260205f20905b815481529060010190602001808311610ef657829003601f168201915b505050505081565b610f23611a65565b610f2b611d86565b8110158015610f3c5750600a548111155b610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7290613641565b60405180910390fd5b80600a8190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fca57610fc9638f4eb60460e01b611933565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611021611a65565b61102a5f611dcd565b565b600f60019054906101000a900460ff1681565b611047611a65565b80600c8190555050565b60607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61107c611af4565b146110925761109163bdba09d760e01b611933565b5b5f61109b611aec565b90505f6110a6611e90565b905060608183146110bf576110bc858484611e98565b90505b809350505050919050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111019061335b565b80601f016020809104026020016040519081016040528092919081815260200182805461112d9061335b565b80156111785780601f1061114f57610100808354040283529160200191611178565b820191905f5260205f20905b81548152906001019060200180831161115b57829003601f168201915b5050505050905090565b606061118f848484611e98565b90509392505050565b8060075f6111a4611c4d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661124d611c4d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112929190612889565b60405180910390a35050565b3273ffffffffffffffffffffffffffffffffffffffff166112bd612047565b73ffffffffffffffffffffffffffffffffffffffff1614611313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130a906136a9565b60405180910390fd5b600f5f9054906101000a900460ff1615611362576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135990613711565b60405180910390fd5b6001600a5481611370611d86565b61137a919061375c565b11156113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b2906137d9565b60405180910390fd5b600b5f6113c6612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390613841565b60405180910390fd5b5f611455612047565b60405160200161146591906138a4565b6040516020818303038152906040528051906020012090506114ca8484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f82011690508083019250505050505050600c548361204e565b611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090613908565b60405180910390fd5b6001600b5f611516612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611577611570612047565b6001612064565b50505050565b611588848484610a74565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146115c8576115b284848484612081565b6115c7576115c663d1a57ed660e01b611933565b5b5b50505050565b6115d6612793565b6115de611aec565b821061163d576115ec611af4565b821115611603576115fc826121ab565b905061163e565b61160b611e90565b82101561163c575b61161c826121d4565b61162c5781600190039150611613565b611635826121ab565b905061163e565b5b5b919050565b61164b611a65565b80600a5481611658611d86565b611662919061375c565b11156116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a906137d9565b60405180910390fd5b6116ad8383612064565b505050565b60606116bd82611890565b6116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613970565b60405180910390fd5b5f600d805461170a9061335b565b9050116117255760405180602001604052805f815250611754565b600d611730836121f1565b600e60405160200161174493929190613a48565b6040516020818303038152906040525b9050919050565b600a5481565b600b602052805f5260405f205f915054906101000a900460ff1681565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611814611a65565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611884575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161187b91906129cf565b60405180910390fd5b61188d81611dcd565b50565b5f8161189a611aec565b1161192d576118a7611af4565b8211156118cf576118c860045f8481526020019081526020015f20546122bb565b905061192e565b5f5482101561192c575f5b5f60045f8581526020019081526020015f20549150810361190657826118ff90613a78565b92506118da565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f61194583610e7e565b905081801561198757508073ffffffffffffffffffffffffffffffffffffffff1661196e611c4d565b73ffffffffffffffffffffffffffffffffffffffff1614155b156119b35761199d81611998611c4d565b61177e565b6119b2576119b163cfb3b94260e01b611933565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b611a6d612047565b73ffffffffffffffffffffffffffffffffffffffff16611a8b6110ca565b73ffffffffffffffffffffffffffffffffffffffff1614611aea57611aae612047565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611ae191906129cf565b60405180910390fd5b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f81611b25611aec565b11611c145760045f8381526020019081526020015f20549050611b46611af4565b821115611b6b57611b56816122bb565b611c2557611b6a63df2d9b4260e01b611933565b5b5f8103611bec575f548210611b8b57611b8a63df2d9b4260e01b611933565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611be7575f7c010000000000000000000000000000000000000000000000000000000082160315611c2557611be663df2d9b4260e01b611933565b5b611b8c565b5f7c010000000000000000000000000000000000000000000000000000000082160315611c25575b611c2463df2d9b4260e01b611933565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b600f60019054906101000a900460ff161580611cde57505f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b611d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1490613ae9565b60405180910390fd5b611d29848484846122fb565b50505050565b5f8060e883901c905060e8611d45868684612301565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f611d8f611aec565b5f540390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611dbd611af4565b14611dca57600854810190505b90565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8054905090565b6060818310611eb257611eb16332c1995a60e01b611933565b5b611eba611aec565b831015611ecc57611ec9611aec565b92505b5f611ed5611e90565b90505f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611f01611af4565b03611f0c5781611f0e565b835b9050808410611f1b578093505b5f611f2587610f85565b9050848610611f32575f90505b5f811461203d578086860311611f485785850390505b5f60405194506001820160051b85019050806040525f611f67886115ce565b90505f8160400151611f7a57815f015190505b5f5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611fa5611af4565b14611fd357868a03611fbf576001611fbb611af4565b0199505b611fc7611af4565b8a1115611fd2575f91505b5b611fdc8a6121ab565b925060408301515f8114611ff2575f9250612018565b835115611ffe57835192505b8b831860601b612017576001820191508a8260051b8a01525b5b5060018a01995083604052888a148061203057508481145b15611f7c57808852505050505b5050509392505050565b5f33905090565b5f8261205a8584612309565b1490509392505050565b61207d828260405180602001604052805f815250612357565b5050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026120a6611c4d565b8786866040518563ffffffff1660e01b81526004016120c89493929190613b59565b6020604051808303815f875af192505050801561210357506040513d601f19601f820116820180604052508101906121009190613bb7565b60015b612158573d805f8114612131576040519150601f19603f3d011682016040523d82523d5f602084013e612136565b606091505b505f8151036121505761214f63d1a57ed660e01b611933565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6121b3612793565b6121cd60045f8481526020019081526020015f20546123cd565b9050919050565b5f8060045f8481526020019081526020015f205414159050919050565b60605f60016121ff84612481565b0190505f8167ffffffffffffffff81111561221d5761221c612a58565b5b6040519080825280601f01601f19166020018201604052801561224f5781602001600182028036833780820191505090505b5090505f82602001820190505b6001156122b0578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816122a5576122a4613be2565b5b0494505f850361225c575b819350505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b50505050565b5f9392505050565b5f808290505f5b845181101561234c5761233d828683815181106123305761232f613c0f565b5b60200260200101516125d2565b91508080600101915050612310565b508091505092915050565b61236183836125fc565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146123c8575f805490505f83820390505b61239d5f868380600101945086612081565b6123b2576123b163d1a57ed660e01b611933565b5b81811061238b57815f54146123c5575f80fd5b50505b505050565b6123d5612793565b81815f019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff16815250505f7c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124dd577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816124d3576124d2613be2565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061251a576d04ee2d6d415b85acef810000000083816125105761250f613be2565b5b0492506020810190505b662386f26fc10000831061254957662386f26fc10000838161253f5761253e613be2565b5b0492506010810190505b6305f5e1008310612572576305f5e100838161256857612567613be2565b5b0492506008810190505b612710831061259757612710838161258d5761258c613be2565b5b0492506004810190505b606483106125ba57606483816125b0576125af613be2565b5b0492506002810190505b600a83106125c9576001810190505b80915050919050565b5f8183106125e9576125e48284612770565b6125f4565b6125f38383612770565b5b905092915050565b5f805490505f82036126195761261863b562e8dd60e01b611933565b5b6126255f848385611c97565b612643836126345f865f611d2f565b61263d85612784565b17611d56565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f81036126f4576126f3632e07630060e01b611933565b5b5f83830190505f839050612706611af4565b600183031115612721576127206381647e3a60e01b611933565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361272257815f8190555050505061276b5f848385611d80565b505050565b5f825f528160205260405f20905092915050565b5f6001821460e11b9050919050565b60405180608001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f67ffffffffffffffff1681526020015f151581526020015f62ffffff1681525090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612823816127ef565b811461282d575f80fd5b50565b5f8135905061283e8161281a565b92915050565b5f60208284031215612859576128586127e7565b5b5f61286684828501612830565b91505092915050565b5f8115159050919050565b6128838161286f565b82525050565b5f60208201905061289c5f83018461287a565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6128e4826128a2565b6128ee81856128ac565b93506128fe8185602086016128bc565b612907816128ca565b840191505092915050565b5f6020820190508181035f83015261292a81846128da565b905092915050565b5f819050919050565b61294481612932565b811461294e575f80fd5b50565b5f8135905061295f8161293b565b92915050565b5f6020828403121561297a576129796127e7565b5b5f61298784828501612951565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6129b982612990565b9050919050565b6129c9816129af565b82525050565b5f6020820190506129e25f8301846129c0565b92915050565b6129f1816129af565b81146129fb575f80fd5b50565b5f81359050612a0c816129e8565b92915050565b5f8060408385031215612a2857612a276127e7565b5b5f612a35858286016129fe565b9250506020612a4685828601612951565b9150509250929050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612a8e826128ca565b810181811067ffffffffffffffff82111715612aad57612aac612a58565b5b80604052505050565b5f612abf6127de565b9050612acb8282612a85565b919050565b5f67ffffffffffffffff821115612aea57612ae9612a58565b5b612af3826128ca565b9050602081019050919050565b828183375f83830152505050565b5f612b20612b1b84612ad0565b612ab6565b905082815260208101848484011115612b3c57612b3b612a54565b5b612b47848285612b00565b509392505050565b5f82601f830112612b6357612b62612a50565b5b8135612b73848260208601612b0e565b91505092915050565b5f60208284031215612b9157612b906127e7565b5b5f82013567ffffffffffffffff811115612bae57612bad6127eb565b5b612bba84828501612b4f565b91505092915050565b612bcc8161286f565b8114612bd6575f80fd5b50565b5f81359050612be781612bc3565b92915050565b5f60208284031215612c0257612c016127e7565b5b5f612c0f84828501612bd9565b91505092915050565b612c2181612932565b82525050565b5f602082019050612c3a5f830184612c18565b92915050565b5f805f60608486031215612c5757612c566127e7565b5b5f612c64868287016129fe565b9350506020612c75868287016129fe565b9250506040612c8686828701612951565b9150509250925092565b5f819050919050565b612ca281612c90565b82525050565b5f602082019050612cbb5f830184612c99565b92915050565b5f80fd5b5f80fd5b5f8083601f840112612cde57612cdd612a50565b5b8235905067ffffffffffffffff811115612cfb57612cfa612cc1565b5b602083019150836020820283011115612d1757612d16612cc5565b5b9250929050565b5f8060208385031215612d3457612d336127e7565b5b5f83013567ffffffffffffffff811115612d5157612d506127eb565b5b612d5d85828601612cc9565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612d9b816129af565b82525050565b5f67ffffffffffffffff82169050919050565b612dbd81612da1565b82525050565b612dcc8161286f565b82525050565b5f62ffffff82169050919050565b612de981612dd2565b82525050565b608082015f820151612e035f850182612d92565b506020820151612e166020850182612db4565b506040820151612e296040850182612dc3565b506060820151612e3c6060850182612de0565b50505050565b5f612e4d8383612def565b60808301905092915050565b5f602082019050919050565b5f612e6f82612d69565b612e798185612d73565b9350612e8483612d83565b805f5b83811015612eb4578151612e9b8882612e42565b9750612ea683612e59565b925050600181019050612e87565b5085935050505092915050565b5f6020820190508181035f830152612ed98184612e65565b905092915050565b5f60208284031215612ef657612ef56127e7565b5b5f612f03848285016129fe565b91505092915050565b612f1581612c90565b8114612f1f575f80fd5b50565b5f81359050612f3081612f0c565b92915050565b5f60208284031215612f4b57612f4a6127e7565b5b5f612f5884828501612f22565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612f9381612932565b82525050565b5f612fa48383612f8a565b60208301905092915050565b5f602082019050919050565b5f612fc682612f61565b612fd08185612f6b565b9350612fdb83612f7b565b805f5b8381101561300b578151612ff28882612f99565b9750612ffd83612fb0565b925050600181019050612fde565b5085935050505092915050565b5f6020820190508181035f8301526130308184612fbc565b905092915050565b5f805f6060848603121561304f5761304e6127e7565b5b5f61305c868287016129fe565b935050602061306d86828701612951565b925050604061307e86828701612951565b9150509250925092565b5f806040838503121561309e5761309d6127e7565b5b5f6130ab858286016129fe565b92505060206130bc85828601612bd9565b9150509250929050565b5f8083601f8401126130db576130da612a50565b5b8235905067ffffffffffffffff8111156130f8576130f7612cc1565b5b60208301915083602082028301111561311457613113612cc5565b5b9250929050565b5f8060208385031215613131576131306127e7565b5b5f83013567ffffffffffffffff81111561314e5761314d6127eb565b5b61315a858286016130c6565b92509250509250929050565b5f67ffffffffffffffff8211156131805761317f612a58565b5b613189826128ca565b9050602081019050919050565b5f6131a86131a384613166565b612ab6565b9050828152602081018484840111156131c4576131c3612a54565b5b6131cf848285612b00565b509392505050565b5f82601f8301126131eb576131ea612a50565b5b81356131fb848260208601613196565b91505092915050565b5f805f806080858703121561321c5761321b6127e7565b5b5f613229878288016129fe565b945050602061323a878288016129fe565b935050604061324b87828801612951565b925050606085013567ffffffffffffffff81111561326c5761326b6127eb565b5b613278878288016131d7565b91505092959194509250565b608082015f8201516132985f850182612d92565b5060208201516132ab6020850182612db4565b5060408201516132be6040850182612dc3565b5060608201516132d16060850182612de0565b50505050565b5f6080820190506132ea5f830184613284565b92915050565b5f8060408385031215613306576133056127e7565b5b5f613313858286016129fe565b9250506020613324858286016129fe565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061337257607f821691505b6020821081036133855761338461332e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026133e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133ac565b6133f186836133ac565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61342c61342761342284612932565b613409565b612932565b9050919050565b5f819050919050565b61344583613412565b61345961345182613433565b8484546133b8565b825550505050565b5f90565b61346d613461565b61347881848461343c565b505050565b5b8181101561349b576134905f82613465565b60018101905061347e565b5050565b601f8211156134e0576134b18161338b565b6134ba8461339d565b810160208510156134c9578190505b6134dd6134d58561339d565b83018261347d565b50505b505050565b5f82821c905092915050565b5f6135005f19846008026134e5565b1980831691505092915050565b5f61351883836134f1565b9150826002028217905092915050565b613531826128a2565b67ffffffffffffffff81111561354a57613549612a58565b5b613554825461335b565b61355f82828561349f565b5f60209050601f831160018114613590575f841561357e578287015190505b613588858261350d565b8655506135ef565b601f19841661359e8661338b565b5f5b828110156135c5578489015182556001820191506020850194506020810190506135a0565b868310156135e257848901516135de601f8916826134f1565b8355505b6001600288020188555050505b505050505050565b7f496e76616c6964204d617820537570706c792e000000000000000000000000005f82015250565b5f61362b6013836128ac565b9150613636826135f7565b602082019050919050565b5f6020820190508181035f8301526136588161361f565b9050919050565b7f4e6f20626f7473210000000000000000000000000000000000000000000000005f82015250565b5f6136936008836128ac565b915061369e8261365f565b602082019050919050565b5f6020820190508181035f8301526136c081613687565b9050919050565b7f54686520636f6e747261637420697320706175736564210000000000000000005f82015250565b5f6136fb6017836128ac565b9150613706826136c7565b602082019050919050565b5f6020820190508181035f830152613728816136ef565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61376682612932565b915061377183612932565b92508282019050808211156137895761378861372f565b5b92915050565b7f4d617820537570706c792045786365656465642e0000000000000000000000005f82015250565b5f6137c36014836128ac565b91506137ce8261378f565b602082019050919050565b5f6020820190508181035f8301526137f0816137b7565b9050919050565b7f416c726561647920636c61696d656421000000000000000000000000000000005f82015250565b5f61382b6010836128ac565b9150613836826137f7565b602082019050919050565b5f6020820190508181035f8301526138588161381f565b9050919050565b5f8160601b9050919050565b5f6138758261385f565b9050919050565b5f6138868261386b565b9050919050565b61389e613899826129af565b61387c565b82525050565b5f6138af828461388d565b60148201915081905092915050565b7f4e6f7420612076616c69642070726f6f662100000000000000000000000000005f82015250565b5f6138f26012836128ac565b91506138fd826138be565b602082019050919050565b5f6020820190508181035f83015261391f816138e6565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e005f82015250565b5f61395a601f836128ac565b915061396582613926565b602082019050919050565b5f6020820190508181035f8301526139878161394e565b9050919050565b5f81905092915050565b5f81546139a48161335b565b6139ae818661398e565b9450600182165f81146139c857600181146139dd57613a0f565b60ff1983168652811515820286019350613a0f565b6139e68561338b565b5f5b83811015613a07578154818901526001820191506020810190506139e8565b838801955050505b50505092915050565b5f613a22826128a2565b613a2c818561398e565b9350613a3c8185602086016128bc565b80840191505092915050565b5f613a538286613998565b9150613a5f8285613a18565b9150613a6b8284613998565b9150819050949350505050565b5f613a8282612932565b91505f8203613a9457613a9361372f565b5b600182039050919050565b7f54726164696e67206973206c6f636b65642100000000000000000000000000005f82015250565b5f613ad36012836128ac565b9150613ade82613a9f565b602082019050919050565b5f6020820190508181035f830152613b0081613ac7565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613b2b82613b07565b613b358185613b11565b9350613b458185602086016128bc565b613b4e816128ca565b840191505092915050565b5f608082019050613b6c5f8301876129c0565b613b7960208301866129c0565b613b866040830185612c18565b8181036060830152613b988184613b21565b905095945050505050565b5f81519050613bb18161281a565b92915050565b5f60208284031215613bcc57613bcb6127e7565b5b5f613bd984828501613ba3565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea26469706673582212207187ad8c40d634e88adf34783cf7ca1c1d100f370d19ee1d262cff5e15fe89e664736f6c634300081a0033
Deployed Bytecode Sourcemap
1630:3100:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10689:630:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11573:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18636:223;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18364:122;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4059:108:6;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4175:83;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6890:564:7;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22796:3447;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1830:25:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4266:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26334:187:7;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1896:33:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3951:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1882:1131:9;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1942:25:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;12934:150:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1868:21:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3641:188;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;8570:239:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2293:101:0;;;;;;;;;;;;;:::i;:::-;;1974:30:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3837:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4039:484:9;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1638:85:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11742:102:7;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3387:217:9;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19186:231:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3041:402:6;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;27102:405:7;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1070:659:9;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3451:135:6;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4416:311;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1735:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1774:47;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19567:162:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2543:215:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;10689:630:7;10774:4;11107:10;11092:25;;:11;:25;;;;:101;;;;11183:10;11168:25;;:11;:25;;;;11092:101;:177;;;;11259:10;11244:25;;:11;:25;;;;11092:177;11073:196;;10689:630;;;:::o;11573:98::-;11627:13;11659:5;11652:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11573:98;:::o;18636:223::-;18712:7;18736:16;18744:7;18736;:16::i;:::-;18731:73;;18754:50;18762:41;;;18754:7;:50::i;:::-;18731:73;18822:15;:24;18838:7;18822:24;;;;;;;;;;;:30;;;;;;;;;;;;18815:37;;18636:223;;;:::o;18364:122::-;18452:27;18461:2;18465:7;18474:4;18452:8;:27::i;:::-;18364:122;;:::o;4059:108:6:-;1531:13:0;:11;:13::i;:::-;4149:10:6::1;4137:9;:22;;;;;;:::i;:::-;;4059:108:::0;:::o;4175:83::-;1531:13:0;:11;:13::i;:::-;4244:6:6::1;4235;;:15;;;;;;;;;;;;;;;;;;4175:83:::0;:::o;6890:564:7:-;6951:14;7343:15;:13;:15::i;:::-;7328:12;;7312:13;;:28;:46;7303:55;;7397:17;7376;:15;:17::i;:::-;:38;7372:65;;7426:11;;7416:21;;;;7372:65;6890:564;:::o;22796:3447::-;22933:27;22963;22982:7;22963:18;:27::i;:::-;22933:57;;2943:14;23131:4;23115:22;;:41;23092:66;;23214:4;23173:45;;23189:19;23173:45;;;23169:95;;23220:44;23228:35;;;23220:7;:44::i;:::-;23169:95;23276:27;23305:23;23332:35;23359:7;23332:26;:35::i;:::-;23275:92;;;;23464:68;23489:15;23506:4;23512:19;:17;:19::i;:::-;23464:24;:68::i;:::-;23459:188;;23551:43;23568:4;23574:19;:17;:19::i;:::-;23551:16;:43::i;:::-;23546:101;;23596:51;23604:42;;;23596:7;:51::i;:::-;23546:101;23459:188;23658:43;23680:4;23686:2;23690:7;23699:1;23658:21;:43::i;:::-;23790:15;23787:157;;;23928:1;23907:19;23900:30;23787:157;24316:18;:24;24335:4;24316:24;;;;;;;;;;;;;;;;24314:26;;;;;;;;;;;;24384:18;:22;24403:2;24384:22;;;;;;;;;;;;;;;;24382:24;;;;;;;;;;;24699:143;24735:2;24783:45;24798:4;24804:2;24808:19;24783:14;:45::i;:::-;2550:8;24755:73;24699:18;:143::i;:::-;24670:17;:26;24688:7;24670:26;;;;;;;;;;;:172;;;;25010:1;2550:8;24959:19;:47;:52;24955:617;;25031:19;25063:1;25053:7;:11;25031:33;;25218:1;25184:17;:30;25202:11;25184:30;;;;;;;;;;;;:35;25180:378;;25320:13;;25305:11;:28;25301:239;;25498:19;25465:17;:30;25483:11;25465:30;;;;;;;;;;;:52;;;;25301:239;25180:378;25013:559;24955:617;25681:16;2943:14;25716:2;25700:20;;:39;25681:58;;26071:7;26036:8;26003:4;25946:25;25892:1;25836;25814:292;26141:1;26129:8;:13;26125:58;;26144:39;26152:30;;;26144:7;:39::i;:::-;26125:58;26194:42;26215:4;26221:2;26225:7;26234:1;26194:20;:42::i;:::-;22923:3320;;;;22796:3447;;;:::o;1830:25:6:-;;;;:::o;4266:95::-;1531:13:0;:11;:13::i;:::-;4347:6:6::1;4333:11;;:20;;;;;;;;;;;;;;;;;;4266:95:::0;:::o;26334:187:7:-;26475:39;26492:4;26498:2;26502:7;26475:39;;;;;;;;;;;;:16;:39::i;:::-;26334:187;;;:::o;1896:33:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3951:100::-;1531:13:0;:11;:13::i;:::-;4035:8:6::1;4025:7;:18;;;;;;:::i;:::-;;3951:100:::0;:::o;1882:1131:9:-;2021:23;2060:34;2104:9;2116:8;;:15;;2104:27;;2229:4;2223:11;2209:25;;2299:1;2287:10;2280:21;2432:1;2429;2425:9;2420:14;;2510:1;2503:4;2491:10;2487:21;2483:29;2477:4;2470:43;2532:448;2544:1;2539;:6;2532:448;;2561:15;2629:4;2626:1;2622:12;2617:17;;2696:1;2679:15;2675:23;2662:37;2651:48;;2726:31;2760:28;2780:7;2760:19;:28::i;:::-;2726:62;;2946:9;2942:1;2935:4;2923:10;2919:21;2915:29;2908:48;2811:159;;2532:448;;;2996:10;2989:17;;;;1882:1131;;;;:::o;1942:25:6:-;;;;;;;;;;;;;:::o;12934:150:7:-;13006:7;13048:27;13067:7;13048:18;:27::i;:::-;13025:52;;12934:150;;;:::o;1868:21:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3641:188::-;1531:13:0;:11;:13::i;:::-;3729:14:6::1;:12;:14::i;:::-;3718:7;:25;;:49;;;;;3758:9;;3747:7;:20;;3718:49;3710:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;3814:7;3802:9;:19;;;;3641:188:::0;:::o;8570:239:7:-;8642:7;8682:1;8665:19;;:5;:19;;;8661:69;;8686:44;8694:35;;;8686:7;:44::i;:::-;8661:69;1518:13;8747:18;:25;8766:5;8747:25;;;;;;;;;;;;;;;;:55;8740:62;;8570:239;;;:::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;1974:30:6:-;;;;;;;;;;;;;:::o;3837:106::-;1531:13:0;:11;:13::i;:::-;3924:11:6::1;3911:10;:24;;;;3837:106:::0;:::o;4039:484:9:-;4117:16;4237:17;4216;:15;:17::i;:::-;:38;4212:88;;4256:44;4264:35;;;4256:7;:44::i;:::-;4212:88;4310:13;4326:15;:13;:15::i;:::-;4310:31;;4351:12;4366:14;:12;:14::i;:::-;4351:29;;4390:25;4438:4;4429:5;:13;4425:66;;4455:36;4472:5;4479;4486:4;4455:16;:36::i;:::-;4444:47;;4425:66;4508:8;4501:15;;;;;4039:484;;;:::o;1638:85:0:-;1684:7;1710:6;;;;;;;;;;;1703:13;;1638:85;:::o;11742:102:7:-;11798:13;11830:7;11823:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11742:102;:::o;3387:217:9:-;3526:16;3561:36;3578:5;3585;3592:4;3561:16;:36::i;:::-;3554:43;;3387:217;;;;;:::o;19186:231:7:-;19332:8;19280:18;:39;19299:19;:17;:19::i;:::-;19280:39;;;;;;;;;;;;;;;:49;19320:8;19280:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;19391:8;19355:55;;19370:19;:17;:19::i;:::-;19355:55;;;19401:8;19355:55;;;;;;:::i;:::-;;;;;;;;19186:231;;:::o;3041:402:6:-;2303:9;2287:25;;:12;:10;:12::i;:::-;:25;;;2279:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;2188:6:::1;;;;;;;;;;;2187:7;2179:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;3122:1:::2;2443:9;;2431:8;2414:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:38;;2406:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;3145:15:::3;:29;3161:12;:10;:12::i;:::-;3145:29;;;;;;;;;;;;;;;;;;;;;;;;;3144:30;3136:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;3208:12;3250;:10;:12::i;:::-;3233:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;3223:41;;;;;;3208:56;;3283:43;3302:5;;3283:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3309:10;;3321:4;3283:18;:43::i;:::-;3275:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;3394:4;3362:15;:29;3378:12;:10;:12::i;:::-;3362:29;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;3409:26;3419:12;:10;:12::i;:::-;3433:1;3409:9;:26::i;:::-;3125:318;2233:1:::2;3041:402:::0;;:::o;27102:405:7:-;27271:31;27284:4;27290:2;27294:7;27271:12;:31::i;:::-;27334:1;27316:2;:14;;;:19;27312:189;;27354:56;27385:4;27391:2;27395:7;27404:5;27354:30;:56::i;:::-;27349:152;;27430:56;27438:47;;;27430:7;:56::i;:::-;27349:152;27312:189;27102:405;;;;:::o;1070:659:9:-;1194:31;;:::i;:::-;1280:15;:13;:15::i;:::-;1269:7;:26;1265:448;;1329:17;:15;:17::i;:::-;1319:7;:27;1315:61;;;1355:21;1368:7;1355:12;:21::i;:::-;1348:28;;;;1315:61;1409:14;:12;:14::i;:::-;1399:7;:24;1395:304;;;1579:51;1587:32;1611:7;1587:23;:32::i;:::-;1579:51;;1621:9;;;;;;1579:51;;;1659:21;1672:7;1659:12;:21::i;:::-;1652:28;;;;1395:304;1265:448;1070:659;;;;:::o;3451:135:6:-;1531:13:0;:11;:13::i;:::-;3534:8:6::1;2443:9;;2431:8;2414:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:38;;2406:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;3555:23:::2;3565:2;3569:8;3555:9;:23::i;:::-;1554:1:0::1;3451:135:6::0;;:::o;4416:311::-;4510:13;4544:17;4552:8;4544:7;:17::i;:::-;4536:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;4641:1;4623:7;4617:21;;;;;:::i;:::-;;;:25;:98;;;;;;;;;;;;;;;;;4669:7;4678:19;:8;:17;:19::i;:::-;4699:9;4652:57;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4617:98;4610:105;;4416:311;;;:::o;1735:30::-;;;;:::o;1774:47::-;;;;;;;;;;;;;;;;;;;;;;:::o;19567:162:7:-;19664:4;19687:18;:25;19706:5;19687:25;;;;;;;;;;;;;;;:35;19713:8;19687:35;;;;;;;;;;;;;;;;;;;;;;;;;19680:42;;19567:162;;;;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;2647:1:::1;2627:22;;:8;:22;;::::0;2623:91:::1;;2700:1;2672:31;;;;;;;;;;;:::i;:::-;;;;;;;;2623:91;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;19978:465:7:-;20043:11;20089:7;20070:15;:13;:15::i;:::-;:26;20066:371;;20126:17;:15;:17::i;:::-;20116:7;:27;20112:90;;;20152:50;20175:17;:26;20193:7;20175:26;;;;;;;;;;;;20152:22;:50::i;:::-;20145:57;;;;20112:90;20231:13;;20221:7;:23;20217:210;;;20264:14;20296:60;20344:1;20313:17;:26;20331:7;20313:26;;;;;;;;;;;;20304:35;;;20303:42;20296:60;;20347:9;;;;:::i;:::-;;;20296:60;;;20411:1;2276:8;20383:6;:24;:29;20374:38;;20246:181;20217:210;20066:371;19978:465;;;;:::o;49703:160::-;49802:13;49796:4;49789:27;49842:4;49836;49829:18;41333:460;41457:13;41473:16;41481:7;41473;:16::i;:::-;41457:32;;41504:13;:45;;;;;41544:5;41521:28;;:19;:17;:19::i;:::-;:28;;;;41504:45;41500:198;;;41568:44;41585:5;41592:19;:17;:19::i;:::-;41568:16;:44::i;:::-;41563:135;;41632:51;41640:42;;;41632:7;:51::i;:::-;41563:135;41500:198;41741:2;41708:15;:24;41724:7;41708:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;41778:7;41774:2;41758:28;;41767:5;41758:28;;;;;;;;;;;;41447:346;41333:460;;;:::o;1796:162:0:-;1866:12;:10;:12::i;:::-;1855:23;;:7;:5;:7::i;:::-;:23;;;1851:101;;1928:12;:10;:12::i;:::-;1901:40;;;;;;;;;;;:::i;:::-;;;;;;;;1851:101;1796:162::o;2556:101:6:-;2621:7;2648:1;2641:8;;2556:101;:::o;6404:108:7:-;6462:7;6488:17;6481:24;;6404:108;:::o;14380:2173::-;14447:14;14496:7;14477:15;:13;:15::i;:::-;:26;14473:2017;;14528:17;:26;14546:7;14528:26;;;;;;;;;;;;14519:35;;14583:17;:15;:17::i;:::-;14573:7;:27;14569:180;;;14624:30;14647:6;14624:22;:30::i;:::-;14656:13;14620:49;14687:47;14695:38;;;14687:7;:47::i;:::-;14569:180;14857:1;14847:6;:11;14843:1270;;14893:13;;14882:7;:24;14878:77;;14908:47;14916:38;;;14908:7;:47::i;:::-;14878:77;15502:597;15578:17;:28;15596:9;;;;;;;15578:28;;;;;;;;;;;;15569:37;;15664:1;15654:6;:11;15650:25;15667:8;15650:25;15729:1;2276:8;15701:6;:24;:29;15697:48;15732:13;15697:48;16033:47;16041:38;;;16033:7;:47::i;:::-;15502:597;;;14843:1270;16463:1;2276:8;16435:6;:24;:29;16431:48;16466:13;16431:48;14473:2017;16499:47;16507:38;;;16499:7;:47::i;:::-;14380:2173;;;;:::o;21721:474::-;21820:27;21849:23;21888:38;21929:15;:24;21945:7;21929:24;;;;;;;;;;;21888:65;;22103:18;22080:41;;22159:19;22153:26;22134:45;;22066:123;21721:474;;;:::o;47733:103::-;47793:7;47819:10;47812:17;;47733:103;:::o;20967:646::-;21112:11;21274:16;21267:5;21263:28;21254:37;;21432:16;21421:9;21417:32;21404:45;;21580:15;21569:9;21566:30;21558:5;21547:9;21544:20;21541:56;21531:66;;20967:646;;;;;:::o;2665:322:6:-;2851:11;;;;;;;;;;;2850:12;:34;;;;2882:1;2866:18;;:4;:18;;;2850:34;2842:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;2918:61;2946:4;2952:2;2956:12;2970:8;2918:27;:61::i;:::-;2665:322;;;;:::o;47060:304:7:-;47191:7;47210:16;2671:3;47236:19;:41;;47210:68;;2671:3;47303:31;47314:4;47320:2;47324:9;47303:10;:31::i;:::-;47295:40;;:62;;47288:69;;;47060:304;;;;;:::o;17086:443::-;17166:14;17331:16;17324:5;17320:28;17311:37;;17506:5;17492:11;17467:23;17463:41;17460:52;17453:5;17450:63;17440:73;;17086:443;;;;:::o;28952:153::-;;;;;:::o;7547:378::-;7602:14;7814:15;:13;:15::i;:::-;7798:13;;:31;7789:40;;7868:17;7847;:15;:17::i;:::-;:38;7843:65;;7897:11;;7887:21;;;;7843:65;7547:378;:::o;2912:187:0:-;2985:16;3004:6;;;;;;;;;;;2985:25;;3029:8;3020:6;;:17;;;;;;;;;;;;;;;;;;3083:8;3052:40;;3073:8;3052:40;;;;;;;;;;;;2975:124;2912:187;:::o;6586:101:7:-;6641:7;6667:13;;6660:20;;6586:101;:::o;4771:4906:9:-;4893:25;4967:4;4958:5;:13;4954:54;;4973:35;4981:26;;;4973:7;:35::i;:::-;4954:54;5092:15;:13;:15::i;:::-;5084:5;:23;5080:52;;;5117:15;:13;:15::i;:::-;5109:23;;5080:52;5146:19;5168:14;:12;:14::i;:::-;5146:36;;5283:17;5324;5303;:15;:17::i;:::-;:38;:59;;5351:11;5303:59;;;5344:4;5303:59;5283:79;;5438:9;5430:4;:17;5426:39;;5456:9;5449:16;;5426:39;5520:25;5548:16;5558:5;5548:9;:16::i;:::-;5520:44;;5671:4;5662:5;:13;5658:40;;5697:1;5677:21;;5658:40;5793:1;5772:17;:22;5768:3893;;5921:17;5912:5;5905:4;:12;:33;5901:71;;5967:5;5960:4;:12;5940:32;;5901:71;5990:9;6149:4;6143:11;6131:23;;6391:1;6372:17;6368:25;6365:1;6361:33;6351:8;6347:48;6342:53;;6429:1;6423:4;6416:15;6602:31;6636:26;6656:5;6636:19;:26::i;:::-;6602:60;;6680:25;6972:9;:16;;;6967:57;;7010:9;:14;;;6990:34;;6967:57;7042:19;7229:2273;7279:17;7258;:15;:17::i;:::-;:38;7254:405;;7408:11;7399:5;:20;7395:55;;7449:1;7429:17;:15;:17::i;:::-;:21;7421:29;;7395:55;7587:17;:15;:17::i;:::-;7579:5;:25;7575:61;;;7634:1;7606:30;;7575:61;7254:405;7692:19;7705:5;7692:12;:19::i;:::-;7680:31;;7833:4;7822:9;7818:20;7812:27;7928:1;7923:893;;;;9132:1;9111:22;;7805:1354;;7923:893;8202:9;8196:16;8193:121;;;8274:9;8268:16;8247:37;;8193:121;8601:5;8582:17;8578:29;8574:2;8570:38;8560:230;;8676:1;8663:11;8659:19;8644:34;;8754:5;8739:11;8736:1;8732:19;8722:8;8718:34;8711:49;8560:230;7805:1354;;9204:1;9197:5;9193:13;9184:22;;9398:1;9392:4;9385:15;9459:4;9450:5;:13;:49;;;;9482:17;9467:11;:32;9450:49;9448:52;7229:2273;;9617:11;9607:8;9600:29;9578:69;;;;5768:3893;4930:4741;;;4771:4906;;;;;:::o;656:96:1:-;709:7;735:10;728:17;;656:96;:::o;1265:154:3:-;1356:4;1408;1379:25;1392:5;1399:4;1379:12;:25::i;:::-;:33;1372:40;;1265:154;;;;;:::o;36661:110:7:-;36737:27;36747:2;36751:8;36737:27;;;;;;;;;;;;:9;:27::i;:::-;36661:110;;:::o;29533:673::-;29691:4;29736:2;29711:45;;;29757:19;:17;:19::i;:::-;29778:4;29784:7;29793:5;29711:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;29707:493;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30006:1;29989:6;:13;:18;29985:113;;30027:56;30035:47;;;30027:7;:56::i;:::-;29985:113;30168:6;30162:13;30153:6;30149:2;30145:15;30138:38;29707:493;29877:54;;;29867:64;;;:6;:64;;;;29860:71;;;29533:673;;;;;;:::o;13522:159::-;13590:21;;:::i;:::-;13630:44;13649:17;:24;13667:5;13649:24;;;;;;;;;;;;13630:18;:44::i;:::-;13623:51;;13522:159;;;:::o;13860:138::-;13939:4;13990:1;13962:17;:24;13980:5;13962:24;;;;;;;;;;;;:29;;13955:36;;13860:138;;;:::o;637:698:2:-;693:13;742:14;779:1;759:17;770:5;759:10;:17::i;:::-;:21;742:38;;794:20;828:6;817:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;794:41;;849:11;975:6;971:2;967:15;959:6;955:28;948:35;;1010:282;1017:4;1010:282;;;1041:5;;;;;;;;1180:10;1175:2;1168:5;1164:14;1159:32;1154:3;1146:46;1236:2;1227:11;;;;;;:::i;:::-;;;;;1269:1;1260:5;:10;1010:282;1256:21;1010:282;1312:6;1305:13;;;;;637:698;;;:::o;20534:329:7:-;20604:11;20830:15;20822:6;20818:28;20799:16;20791:6;20787:29;20784:63;20774:73;;20534:329;;;:::o;28151:154::-;;;;;:::o;46771:143::-;46904:6;46771:143;;;;;:::o;1967:290:3:-;2050:7;2069:20;2092:4;2069:27;;2111:9;2106:116;2130:5;:12;2126:1;:16;2106:116;;;2178:33;2188:12;2202:5;2208:1;2202:8;;;;;;;;:::i;:::-;;;;;;;;2178:9;:33::i;:::-;2163:48;;2144:3;;;;;;;2106:116;;;;2238:12;2231:19;;;1967:290;;;;:::o;35816:766:7:-;35942:19;35948:2;35952:8;35942:5;:19::i;:::-;36018:1;36000:2;:14;;;:19;35996:570;;36039:11;36053:13;;36039:27;;36084:13;36106:8;36100:3;:14;36084:30;;36132:238;36162:62;36201:1;36205:2;36209:7;;;;;;36218:5;36162:30;:62::i;:::-;36157:174;;36252:56;36260:47;;;36252:7;:56::i;:::-;36157:174;36365:3;36357:5;:11;36132:238;;36538:3;36521:13;;:20;36517:34;;36543:8;;;36517:34;36021:545;;35996:570;35816:766;;;:::o;16647:361::-;16713:31;;:::i;:::-;16789:6;16756:9;:14;;:41;;;;;;;;;;;2162:3;16841:6;:33;;16807:9;:24;;:68;;;;;;;;;;;16932:1;2276:8;16904:6;:24;:29;;16885:9;:16;;:48;;;;;;;;;;;2671:3;16972:6;:28;;16943:9;:19;;:58;;;;;;;;;;;16647:361;;;:::o;12214:916:4:-;12267:7;12286:14;12303:1;12286:18;;12351:8;12342:5;:17;12338:103;;12388:8;12379:17;;;;;;:::i;:::-;;;;;12424:2;12414:12;;;;12338:103;12467:8;12458:5;:17;12454:103;;12504:8;12495:17;;;;;;:::i;:::-;;;;;12540:2;12530:12;;;;12454:103;12583:8;12574:5;:17;12570:103;;12620:8;12611:17;;;;;;:::i;:::-;;;;;12656:2;12646:12;;;;12570:103;12699:7;12690:5;:16;12686:100;;12735:7;12726:16;;;;;;:::i;:::-;;;;;12770:1;12760:11;;;;12686:100;12812:7;12803:5;:16;12799:100;;12848:7;12839:16;;;;;;:::i;:::-;;;;;12883:1;12873:11;;;;12799:100;12925:7;12916:5;:16;12912:100;;12961:7;12952:16;;;;;;:::i;:::-;;;;;12996:1;12986:11;;;;12912:100;13038:7;13029:5;:16;13025:66;;13075:1;13065:11;;;;13025:66;13117:6;13110:13;;;12214:916;;;:::o;9229:147:3:-;9292:7;9322:1;9318;:5;:51;;9349:20;9364:1;9367;9349:14;:20::i;:::-;9318:51;;;9326:20;9341:1;9344;9326:14;:20::i;:::-;9318:51;9311:58;;9229:147;;;;:::o;30652:2343:7:-;30724:20;30747:13;;30724:36;;30786:1;30774:8;:13;30770:53;;30789:34;30797:25;;;30789:7;:34::i;:::-;30770:53;30834:61;30864:1;30868:2;30872:12;30886:8;30834:21;:61::i;:::-;31357:136;31393:2;31446:33;31469:1;31473:2;31477:1;31446:14;:33::i;:::-;31413:30;31434:8;31413:20;:30::i;:::-;:66;31357:18;:136::i;:::-;31323:17;:31;31341:12;31323:31;;;;;;;;;;;:170;;;;31773:1;1653:2;31743:1;:26;;31742:32;31730:8;:45;31704:18;:22;31723:2;31704:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;31883:16;2943:14;31918:2;31902:20;;:39;31883:58;;31972:1;31960:8;:13;31956:54;;31975:35;31983:26;;;31975:7;:35::i;:::-;31956:54;32025:11;32054:8;32039:12;:23;32025:37;;32076:15;32094:12;32076:30;;32135:17;:15;:17::i;:::-;32131:1;32125:3;:7;:27;32121:77;;;32154:44;32162:35;;;32154:7;:44::i;:::-;32121:77;32213:662;32623:7;32580:8;32536:1;32471:25;32409:1;32345;32315:351;32870:3;32857:9;;;;;;:16;32213:662;;32905:3;32889:13;:19;;;;31078:1841;;;32928:60;32957:1;32961:2;32965:12;32979:8;32928:20;:60::i;:::-;30714:2281;30652:2343;;:::o;9496:261:3:-;9564:13;9668:1;9662:4;9655:15;9696:1;9690:4;9683:15;9736:4;9730;9720:21;9711:30;;9496:261;;;;:::o;17626:318:7:-;17696:14;17925:1;17915:8;17912:15;17886:24;17882:46;17872:56;;17626:318;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7:75:11:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:139::-;1887:6;1882:3;1877;1871:23;1928:1;1919:6;1914:3;1910:16;1903:27;1798:139;;;:::o;1943:102::-;1984:6;2035:2;2031:7;2026:2;2019:5;2015:14;2011:28;2001:38;;1943:102;;;:::o;2051:377::-;2139:3;2167:39;2200:5;2167:39;:::i;:::-;2222:71;2286:6;2281:3;2222:71;:::i;:::-;2215:78;;2302:65;2360:6;2355:3;2348:4;2341:5;2337:16;2302:65;:::i;:::-;2392:29;2414:6;2392:29;:::i;:::-;2387:3;2383:39;2376:46;;2143:285;2051:377;;;;:::o;2434:313::-;2547:4;2585:2;2574:9;2570:18;2562:26;;2634:9;2628:4;2624:20;2620:1;2609:9;2605:17;2598:47;2662:78;2735:4;2726:6;2662:78;:::i;:::-;2654:86;;2434:313;;;;:::o;2753:77::-;2790:7;2819:5;2808:16;;2753:77;;;:::o;2836:122::-;2909:24;2927:5;2909:24;:::i;:::-;2902:5;2899:35;2889:63;;2948:1;2945;2938:12;2889:63;2836:122;:::o;2964:139::-;3010:5;3048:6;3035:20;3026:29;;3064:33;3091:5;3064:33;:::i;:::-;2964:139;;;;:::o;3109:329::-;3168:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:119;;;3223:79;;:::i;:::-;3185:119;3343:1;3368:53;3413:7;3404:6;3393:9;3389:22;3368:53;:::i;:::-;3358:63;;3314:117;3109:329;;;;:::o;3444:126::-;3481:7;3521:42;3514:5;3510:54;3499:65;;3444:126;;;:::o;3576:96::-;3613:7;3642:24;3660:5;3642:24;:::i;:::-;3631:35;;3576:96;;;:::o;3678:118::-;3765:24;3783:5;3765:24;:::i;:::-;3760:3;3753:37;3678:118;;:::o;3802:222::-;3895:4;3933:2;3922:9;3918:18;3910:26;;3946:71;4014:1;4003:9;3999:17;3990:6;3946:71;:::i;:::-;3802:222;;;;:::o;4030:122::-;4103:24;4121:5;4103:24;:::i;:::-;4096:5;4093:35;4083:63;;4142:1;4139;4132:12;4083:63;4030:122;:::o;4158:139::-;4204:5;4242:6;4229:20;4220:29;;4258:33;4285:5;4258:33;:::i;:::-;4158:139;;;;:::o;4303:474::-;4371:6;4379;4428:2;4416:9;4407:7;4403:23;4399:32;4396:119;;;4434:79;;:::i;:::-;4396:119;4554:1;4579:53;4624:7;4615:6;4604:9;4600:22;4579:53;:::i;:::-;4569:63;;4525:117;4681:2;4707:53;4752:7;4743:6;4732:9;4728:22;4707:53;:::i;:::-;4697:63;;4652:118;4303:474;;;;;:::o;4783:117::-;4892:1;4889;4882:12;4906:117;5015:1;5012;5005:12;5029:180;5077:77;5074:1;5067:88;5174:4;5171:1;5164:15;5198:4;5195:1;5188:15;5215:281;5298:27;5320:4;5298:27;:::i;:::-;5290:6;5286:40;5428:6;5416:10;5413:22;5392:18;5380:10;5377:34;5374:62;5371:88;;;5439:18;;:::i;:::-;5371:88;5479:10;5475:2;5468:22;5258:238;5215:281;;:::o;5502:129::-;5536:6;5563:20;;:::i;:::-;5553:30;;5592:33;5620:4;5612:6;5592:33;:::i;:::-;5502:129;;;:::o;5637:308::-;5699:4;5789:18;5781:6;5778:30;5775:56;;;5811:18;;:::i;:::-;5775:56;5849:29;5871:6;5849:29;:::i;:::-;5841:37;;5933:4;5927;5923:15;5915:23;;5637:308;;;:::o;5951:148::-;6049:6;6044:3;6039;6026:30;6090:1;6081:6;6076:3;6072:16;6065:27;5951:148;;;:::o;6105:425::-;6183:5;6208:66;6224:49;6266:6;6224:49;:::i;:::-;6208:66;:::i;:::-;6199:75;;6297:6;6290:5;6283:21;6335:4;6328:5;6324:16;6373:3;6364:6;6359:3;6355:16;6352:25;6349:112;;;6380:79;;:::i;:::-;6349:112;6470:54;6517:6;6512:3;6507;6470:54;:::i;:::-;6189:341;6105:425;;;;;:::o;6550:340::-;6606:5;6655:3;6648:4;6640:6;6636:17;6632:27;6622:122;;6663:79;;:::i;:::-;6622:122;6780:6;6767:20;6805:79;6880:3;6872:6;6865:4;6857:6;6853:17;6805:79;:::i;:::-;6796:88;;6612:278;6550:340;;;;:::o;6896:509::-;6965:6;7014:2;7002:9;6993:7;6989:23;6985:32;6982:119;;;7020:79;;:::i;:::-;6982:119;7168:1;7157:9;7153:17;7140:31;7198:18;7190:6;7187:30;7184:117;;;7220:79;;:::i;:::-;7184:117;7325:63;7380:7;7371:6;7360:9;7356:22;7325:63;:::i;:::-;7315:73;;7111:287;6896:509;;;;:::o;7411:116::-;7481:21;7496:5;7481:21;:::i;:::-;7474:5;7471:32;7461:60;;7517:1;7514;7507:12;7461:60;7411:116;:::o;7533:133::-;7576:5;7614:6;7601:20;7592:29;;7630:30;7654:5;7630:30;:::i;:::-;7533:133;;;;:::o;7672:323::-;7728:6;7777:2;7765:9;7756:7;7752:23;7748:32;7745:119;;;7783:79;;:::i;:::-;7745:119;7903:1;7928:50;7970:7;7961:6;7950:9;7946:22;7928:50;:::i;:::-;7918:60;;7874:114;7672:323;;;;:::o;8001:118::-;8088:24;8106:5;8088:24;:::i;:::-;8083:3;8076:37;8001:118;;:::o;8125:222::-;8218:4;8256:2;8245:9;8241:18;8233:26;;8269:71;8337:1;8326:9;8322:17;8313:6;8269:71;:::i;:::-;8125:222;;;;:::o;8353:619::-;8430:6;8438;8446;8495:2;8483:9;8474:7;8470:23;8466:32;8463:119;;;8501:79;;:::i;:::-;8463:119;8621:1;8646:53;8691:7;8682:6;8671:9;8667:22;8646:53;:::i;:::-;8636:63;;8592:117;8748:2;8774:53;8819:7;8810:6;8799:9;8795:22;8774:53;:::i;:::-;8764:63;;8719:118;8876:2;8902:53;8947:7;8938:6;8927:9;8923:22;8902:53;:::i;:::-;8892:63;;8847:118;8353:619;;;;;:::o;8978:77::-;9015:7;9044:5;9033:16;;8978:77;;;:::o;9061:118::-;9148:24;9166:5;9148:24;:::i;:::-;9143:3;9136:37;9061:118;;:::o;9185:222::-;9278:4;9316:2;9305:9;9301:18;9293:26;;9329:71;9397:1;9386:9;9382:17;9373:6;9329:71;:::i;:::-;9185:222;;;;:::o;9413:117::-;9522:1;9519;9512:12;9536:117;9645:1;9642;9635:12;9676:568;9749:8;9759:6;9809:3;9802:4;9794:6;9790:17;9786:27;9776:122;;9817:79;;:::i;:::-;9776:122;9930:6;9917:20;9907:30;;9960:18;9952:6;9949:30;9946:117;;;9982:79;;:::i;:::-;9946:117;10096:4;10088:6;10084:17;10072:29;;10150:3;10142:4;10134:6;10130:17;10120:8;10116:32;10113:41;10110:128;;;10157:79;;:::i;:::-;10110:128;9676:568;;;;;:::o;10250:559::-;10336:6;10344;10393:2;10381:9;10372:7;10368:23;10364:32;10361:119;;;10399:79;;:::i;:::-;10361:119;10547:1;10536:9;10532:17;10519:31;10577:18;10569:6;10566:30;10563:117;;;10599:79;;:::i;:::-;10563:117;10712:80;10784:7;10775:6;10764:9;10760:22;10712:80;:::i;:::-;10694:98;;;;10490:312;10250:559;;;;;:::o;10815:146::-;10914:6;10948:5;10942:12;10932:22;;10815:146;;;:::o;10967:216::-;11098:11;11132:6;11127:3;11120:19;11172:4;11167:3;11163:14;11148:29;;10967:216;;;;:::o;11189:164::-;11288:4;11311:3;11303:11;;11341:4;11336:3;11332:14;11324:22;;11189:164;;;:::o;11359:108::-;11436:24;11454:5;11436:24;:::i;:::-;11431:3;11424:37;11359:108;;:::o;11473:101::-;11509:7;11549:18;11542:5;11538:30;11527:41;;11473:101;;;:::o;11580:105::-;11655:23;11672:5;11655:23;:::i;:::-;11650:3;11643:36;11580:105;;:::o;11691:99::-;11762:21;11777:5;11762:21;:::i;:::-;11757:3;11750:34;11691:99;;:::o;11796:91::-;11832:7;11872:8;11865:5;11861:20;11850:31;;11796:91;;;:::o;11893:105::-;11968:23;11985:5;11968:23;:::i;:::-;11963:3;11956:36;11893:105;;:::o;12076:866::-;12227:4;12222:3;12218:14;12314:4;12307:5;12303:16;12297:23;12333:63;12390:4;12385:3;12381:14;12367:12;12333:63;:::i;:::-;12242:164;12498:4;12491:5;12487:16;12481:23;12517:61;12572:4;12567:3;12563:14;12549:12;12517:61;:::i;:::-;12416:172;12672:4;12665:5;12661:16;12655:23;12691:57;12742:4;12737:3;12733:14;12719:12;12691:57;:::i;:::-;12598:160;12845:4;12838:5;12834:16;12828:23;12864:61;12919:4;12914:3;12910:14;12896:12;12864:61;:::i;:::-;12768:167;12196:746;12076:866;;:::o;12948:307::-;13081:10;13102:110;13208:3;13200:6;13102:110;:::i;:::-;13244:4;13239:3;13235:14;13221:28;;12948:307;;;;:::o;13261:145::-;13363:4;13395;13390:3;13386:14;13378:22;;13261:145;;;:::o;13488:988::-;13671:3;13700:86;13780:5;13700:86;:::i;:::-;13802:118;13913:6;13908:3;13802:118;:::i;:::-;13795:125;;13944:88;14026:5;13944:88;:::i;:::-;14055:7;14086:1;14071:380;14096:6;14093:1;14090:13;14071:380;;;14172:6;14166:13;14199:127;14322:3;14307:13;14199:127;:::i;:::-;14192:134;;14349:92;14434:6;14349:92;:::i;:::-;14339:102;;14131:320;14118:1;14115;14111:9;14106:14;;14071:380;;;14075:14;14467:3;14460:10;;13676:800;;;13488:988;;;;:::o;14482:501::-;14689:4;14727:2;14716:9;14712:18;14704:26;;14776:9;14770:4;14766:20;14762:1;14751:9;14747:17;14740:47;14804:172;14971:4;14962:6;14804:172;:::i;:::-;14796:180;;14482:501;;;;:::o;14989:329::-;15048:6;15097:2;15085:9;15076:7;15072:23;15068:32;15065:119;;;15103:79;;:::i;:::-;15065:119;15223:1;15248:53;15293:7;15284:6;15273:9;15269:22;15248:53;:::i;:::-;15238:63;;15194:117;14989:329;;;;:::o;15324:122::-;15397:24;15415:5;15397:24;:::i;:::-;15390:5;15387:35;15377:63;;15436:1;15433;15426:12;15377:63;15324:122;:::o;15452:139::-;15498:5;15536:6;15523:20;15514:29;;15552:33;15579:5;15552:33;:::i;:::-;15452:139;;;;:::o;15597:329::-;15656:6;15705:2;15693:9;15684:7;15680:23;15676:32;15673:119;;;15711:79;;:::i;:::-;15673:119;15831:1;15856:53;15901:7;15892:6;15881:9;15877:22;15856:53;:::i;:::-;15846:63;;15802:117;15597:329;;;;:::o;15932:114::-;15999:6;16033:5;16027:12;16017:22;;15932:114;;;:::o;16052:184::-;16151:11;16185:6;16180:3;16173:19;16225:4;16220:3;16216:14;16201:29;;16052:184;;;;:::o;16242:132::-;16309:4;16332:3;16324:11;;16362:4;16357:3;16353:14;16345:22;;16242:132;;;:::o;16380:108::-;16457:24;16475:5;16457:24;:::i;:::-;16452:3;16445:37;16380:108;;:::o;16494:179::-;16563:10;16584:46;16626:3;16618:6;16584:46;:::i;:::-;16662:4;16657:3;16653:14;16639:28;;16494:179;;;;:::o;16679:113::-;16749:4;16781;16776:3;16772:14;16764:22;;16679:113;;;:::o;16828:732::-;16947:3;16976:54;17024:5;16976:54;:::i;:::-;17046:86;17125:6;17120:3;17046:86;:::i;:::-;17039:93;;17156:56;17206:5;17156:56;:::i;:::-;17235:7;17266:1;17251:284;17276:6;17273:1;17270:13;17251:284;;;17352:6;17346:13;17379:63;17438:3;17423:13;17379:63;:::i;:::-;17372:70;;17465:60;17518:6;17465:60;:::i;:::-;17455:70;;17311:224;17298:1;17295;17291:9;17286:14;;17251:284;;;17255:14;17551:3;17544:10;;16952:608;;;16828:732;;;;:::o;17566:373::-;17709:4;17747:2;17736:9;17732:18;17724:26;;17796:9;17790:4;17786:20;17782:1;17771:9;17767:17;17760:47;17824:108;17927:4;17918:6;17824:108;:::i;:::-;17816:116;;17566:373;;;;:::o;17945:619::-;18022:6;18030;18038;18087:2;18075:9;18066:7;18062:23;18058:32;18055:119;;;18093:79;;:::i;:::-;18055:119;18213:1;18238:53;18283:7;18274:6;18263:9;18259:22;18238:53;:::i;:::-;18228:63;;18184:117;18340:2;18366:53;18411:7;18402:6;18391:9;18387:22;18366:53;:::i;:::-;18356:63;;18311:118;18468:2;18494:53;18539:7;18530:6;18519:9;18515:22;18494:53;:::i;:::-;18484:63;;18439:118;17945:619;;;;;:::o;18570:468::-;18635:6;18643;18692:2;18680:9;18671:7;18667:23;18663:32;18660:119;;;18698:79;;:::i;:::-;18660:119;18818:1;18843:53;18888:7;18879:6;18868:9;18864:22;18843:53;:::i;:::-;18833:63;;18789:117;18945:2;18971:50;19013:7;19004:6;18993:9;18989:22;18971:50;:::i;:::-;18961:60;;18916:115;18570:468;;;;;:::o;19061:568::-;19134:8;19144:6;19194:3;19187:4;19179:6;19175:17;19171:27;19161:122;;19202:79;;:::i;:::-;19161:122;19315:6;19302:20;19292:30;;19345:18;19337:6;19334:30;19331:117;;;19367:79;;:::i;:::-;19331:117;19481:4;19473:6;19469:17;19457:29;;19535:3;19527:4;19519:6;19515:17;19505:8;19501:32;19498:41;19495:128;;;19542:79;;:::i;:::-;19495:128;19061:568;;;;;:::o;19635:559::-;19721:6;19729;19778:2;19766:9;19757:7;19753:23;19749:32;19746:119;;;19784:79;;:::i;:::-;19746:119;19932:1;19921:9;19917:17;19904:31;19962:18;19954:6;19951:30;19948:117;;;19984:79;;:::i;:::-;19948:117;20097:80;20169:7;20160:6;20149:9;20145:22;20097:80;:::i;:::-;20079:98;;;;19875:312;19635:559;;;;;:::o;20200:307::-;20261:4;20351:18;20343:6;20340:30;20337:56;;;20373:18;;:::i;:::-;20337:56;20411:29;20433:6;20411:29;:::i;:::-;20403:37;;20495:4;20489;20485:15;20477:23;;20200:307;;;:::o;20513:423::-;20590:5;20615:65;20631:48;20672:6;20631:48;:::i;:::-;20615:65;:::i;:::-;20606:74;;20703:6;20696:5;20689:21;20741:4;20734:5;20730:16;20779:3;20770:6;20765:3;20761:16;20758:25;20755:112;;;20786:79;;:::i;:::-;20755:112;20876:54;20923:6;20918:3;20913;20876:54;:::i;:::-;20596:340;20513:423;;;;;:::o;20955:338::-;21010:5;21059:3;21052:4;21044:6;21040:17;21036:27;21026:122;;21067:79;;:::i;:::-;21026:122;21184:6;21171:20;21209:78;21283:3;21275:6;21268:4;21260:6;21256:17;21209:78;:::i;:::-;21200:87;;21016:277;20955:338;;;;:::o;21299:943::-;21394:6;21402;21410;21418;21467:3;21455:9;21446:7;21442:23;21438:33;21435:120;;;21474:79;;:::i;:::-;21435:120;21594:1;21619:53;21664:7;21655:6;21644:9;21640:22;21619:53;:::i;:::-;21609:63;;21565:117;21721:2;21747:53;21792:7;21783:6;21772:9;21768:22;21747:53;:::i;:::-;21737:63;;21692:118;21849:2;21875:53;21920:7;21911:6;21900:9;21896:22;21875:53;:::i;:::-;21865:63;;21820:118;22005:2;21994:9;21990:18;21977:32;22036:18;22028:6;22025:30;22022:117;;;22058:79;;:::i;:::-;22022:117;22163:62;22217:7;22208:6;22197:9;22193:22;22163:62;:::i;:::-;22153:72;;21948:287;21299:943;;;;;;;:::o;22320:876::-;22481:4;22476:3;22472:14;22568:4;22561:5;22557:16;22551:23;22587:63;22644:4;22639:3;22635:14;22621:12;22587:63;:::i;:::-;22496:164;22752:4;22745:5;22741:16;22735:23;22771:61;22826:4;22821:3;22817:14;22803:12;22771:61;:::i;:::-;22670:172;22926:4;22919:5;22915:16;22909:23;22945:57;22996:4;22991:3;22987:14;22973:12;22945:57;:::i;:::-;22852:160;23099:4;23092:5;23088:16;23082:23;23118:61;23173:4;23168:3;23164:14;23150:12;23118:61;:::i;:::-;23022:167;22450:746;22320:876;;:::o;23202:351::-;23359:4;23397:3;23386:9;23382:19;23374:27;;23411:135;23543:1;23532:9;23528:17;23519:6;23411:135;:::i;:::-;23202:351;;;;:::o;23559:474::-;23627:6;23635;23684:2;23672:9;23663:7;23659:23;23655:32;23652:119;;;23690:79;;:::i;:::-;23652:119;23810:1;23835:53;23880:7;23871:6;23860:9;23856:22;23835:53;:::i;:::-;23825:63;;23781:117;23937:2;23963:53;24008:7;23999:6;23988:9;23984:22;23963:53;:::i;:::-;23953:63;;23908:118;23559:474;;;;;:::o;24039:180::-;24087:77;24084:1;24077:88;24184:4;24181:1;24174:15;24208:4;24205:1;24198:15;24225:320;24269:6;24306:1;24300:4;24296:12;24286:22;;24353:1;24347:4;24343:12;24374:18;24364:81;;24430:4;24422:6;24418:17;24408:27;;24364:81;24492:2;24484:6;24481:14;24461:18;24458:38;24455:84;;24511:18;;:::i;:::-;24455:84;24276:269;24225:320;;;:::o;24551:141::-;24600:4;24623:3;24615:11;;24646:3;24643:1;24636:14;24680:4;24677:1;24667:18;24659:26;;24551:141;;;:::o;24698:93::-;24735:6;24782:2;24777;24770:5;24766:14;24762:23;24752:33;;24698:93;;;:::o;24797:107::-;24841:8;24891:5;24885:4;24881:16;24860:37;;24797:107;;;;:::o;24910:393::-;24979:6;25029:1;25017:10;25013:18;25052:97;25082:66;25071:9;25052:97;:::i;:::-;25170:39;25200:8;25189:9;25170:39;:::i;:::-;25158:51;;25242:4;25238:9;25231:5;25227:21;25218:30;;25291:4;25281:8;25277:19;25270:5;25267:30;25257:40;;24986:317;;24910:393;;;;;:::o;25309:60::-;25337:3;25358:5;25351:12;;25309:60;;;:::o;25375:142::-;25425:9;25458:53;25476:34;25485:24;25503:5;25485:24;:::i;:::-;25476:34;:::i;:::-;25458:53;:::i;:::-;25445:66;;25375:142;;;:::o;25523:75::-;25566:3;25587:5;25580:12;;25523:75;;;:::o;25604:269::-;25714:39;25745:7;25714:39;:::i;:::-;25775:91;25824:41;25848:16;25824:41;:::i;:::-;25816:6;25809:4;25803:11;25775:91;:::i;:::-;25769:4;25762:105;25680:193;25604:269;;;:::o;25879:73::-;25924:3;25879:73;:::o;25958:189::-;26035:32;;:::i;:::-;26076:65;26134:6;26126;26120:4;26076:65;:::i;:::-;26011:136;25958:189;;:::o;26153:186::-;26213:120;26230:3;26223:5;26220:14;26213:120;;;26284:39;26321:1;26314:5;26284:39;:::i;:::-;26257:1;26250:5;26246:13;26237:22;;26213:120;;;26153:186;;:::o;26345:543::-;26446:2;26441:3;26438:11;26435:446;;;26480:38;26512:5;26480:38;:::i;:::-;26564:29;26582:10;26564:29;:::i;:::-;26554:8;26550:44;26747:2;26735:10;26732:18;26729:49;;;26768:8;26753:23;;26729:49;26791:80;26847:22;26865:3;26847:22;:::i;:::-;26837:8;26833:37;26820:11;26791:80;:::i;:::-;26450:431;;26435:446;26345:543;;;:::o;26894:117::-;26948:8;26998:5;26992:4;26988:16;26967:37;;26894:117;;;;:::o;27017:169::-;27061:6;27094:51;27142:1;27138:6;27130:5;27127:1;27123:13;27094:51;:::i;:::-;27090:56;27175:4;27169;27165:15;27155:25;;27068:118;27017:169;;;;:::o;27191:295::-;27267:4;27413:29;27438:3;27432:4;27413:29;:::i;:::-;27405:37;;27475:3;27472:1;27468:11;27462:4;27459:21;27451:29;;27191:295;;;;:::o;27491:1395::-;27608:37;27641:3;27608:37;:::i;:::-;27710:18;27702:6;27699:30;27696:56;;;27732:18;;:::i;:::-;27696:56;27776:38;27808:4;27802:11;27776:38;:::i;:::-;27861:67;27921:6;27913;27907:4;27861:67;:::i;:::-;27955:1;27979:4;27966:17;;28011:2;28003:6;28000:14;28028:1;28023:618;;;;28685:1;28702:6;28699:77;;;28751:9;28746:3;28742:19;28736:26;28727:35;;28699:77;28802:67;28862:6;28855:5;28802:67;:::i;:::-;28796:4;28789:81;28658:222;27993:887;;28023:618;28075:4;28071:9;28063:6;28059:22;28109:37;28141:4;28109:37;:::i;:::-;28168:1;28182:208;28196:7;28193:1;28190:14;28182:208;;;28275:9;28270:3;28266:19;28260:26;28252:6;28245:42;28326:1;28318:6;28314:14;28304:24;;28373:2;28362:9;28358:18;28345:31;;28219:4;28216:1;28212:12;28207:17;;28182:208;;;28418:6;28409:7;28406:19;28403:179;;;28476:9;28471:3;28467:19;28461:26;28519:48;28561:4;28553:6;28549:17;28538:9;28519:48;:::i;:::-;28511:6;28504:64;28426:156;28403:179;28628:1;28624;28616:6;28612:14;28608:22;28602:4;28595:36;28030:611;;;27993:887;;27583:1303;;;27491:1395;;:::o;28892:169::-;29032:21;29028:1;29020:6;29016:14;29009:45;28892:169;:::o;29067:366::-;29209:3;29230:67;29294:2;29289:3;29230:67;:::i;:::-;29223:74;;29306:93;29395:3;29306:93;:::i;:::-;29424:2;29419:3;29415:12;29408:19;;29067:366;;;:::o;29439:419::-;29605:4;29643:2;29632:9;29628:18;29620:26;;29692:9;29686:4;29682:20;29678:1;29667:9;29663:17;29656:47;29720:131;29846:4;29720:131;:::i;:::-;29712:139;;29439:419;;;:::o;29864:158::-;30004:10;30000:1;29992:6;29988:14;29981:34;29864:158;:::o;30028:365::-;30170:3;30191:66;30255:1;30250:3;30191:66;:::i;:::-;30184:73;;30266:93;30355:3;30266:93;:::i;:::-;30384:2;30379:3;30375:12;30368:19;;30028:365;;;:::o;30399:419::-;30565:4;30603:2;30592:9;30588:18;30580:26;;30652:9;30646:4;30642:20;30638:1;30627:9;30623:17;30616:47;30680:131;30806:4;30680:131;:::i;:::-;30672:139;;30399:419;;;:::o;30824:173::-;30964:25;30960:1;30952:6;30948:14;30941:49;30824:173;:::o;31003:366::-;31145:3;31166:67;31230:2;31225:3;31166:67;:::i;:::-;31159:74;;31242:93;31331:3;31242:93;:::i;:::-;31360:2;31355:3;31351:12;31344:19;;31003:366;;;:::o;31375:419::-;31541:4;31579:2;31568:9;31564:18;31556:26;;31628:9;31622:4;31618:20;31614:1;31603:9;31599:17;31592:47;31656:131;31782:4;31656:131;:::i;:::-;31648:139;;31375:419;;;:::o;31800:180::-;31848:77;31845:1;31838:88;31945:4;31942:1;31935:15;31969:4;31966:1;31959:15;31986:191;32026:3;32045:20;32063:1;32045:20;:::i;:::-;32040:25;;32079:20;32097:1;32079:20;:::i;:::-;32074:25;;32122:1;32119;32115:9;32108:16;;32143:3;32140:1;32137:10;32134:36;;;32150:18;;:::i;:::-;32134:36;31986:191;;;;:::o;32183:170::-;32323:22;32319:1;32311:6;32307:14;32300:46;32183:170;:::o;32359:366::-;32501:3;32522:67;32586:2;32581:3;32522:67;:::i;:::-;32515:74;;32598:93;32687:3;32598:93;:::i;:::-;32716:2;32711:3;32707:12;32700:19;;32359:366;;;:::o;32731:419::-;32897:4;32935:2;32924:9;32920:18;32912:26;;32984:9;32978:4;32974:20;32970:1;32959:9;32955:17;32948:47;33012:131;33138:4;33012:131;:::i;:::-;33004:139;;32731:419;;;:::o;33156:166::-;33296:18;33292:1;33284:6;33280:14;33273:42;33156:166;:::o;33328:366::-;33470:3;33491:67;33555:2;33550:3;33491:67;:::i;:::-;33484:74;;33567:93;33656:3;33567:93;:::i;:::-;33685:2;33680:3;33676:12;33669:19;;33328:366;;;:::o;33700:419::-;33866:4;33904:2;33893:9;33889:18;33881:26;;33953:9;33947:4;33943:20;33939:1;33928:9;33924:17;33917:47;33981:131;34107:4;33981:131;:::i;:::-;33973:139;;33700:419;;;:::o;34125:94::-;34158:8;34206:5;34202:2;34198:14;34177:35;;34125:94;;;:::o;34225:::-;34264:7;34293:20;34307:5;34293:20;:::i;:::-;34282:31;;34225:94;;;:::o;34325:100::-;34364:7;34393:26;34413:5;34393:26;:::i;:::-;34382:37;;34325:100;;;:::o;34431:157::-;34536:45;34556:24;34574:5;34556:24;:::i;:::-;34536:45;:::i;:::-;34531:3;34524:58;34431:157;;:::o;34594:256::-;34706:3;34721:75;34792:3;34783:6;34721:75;:::i;:::-;34821:2;34816:3;34812:12;34805:19;;34841:3;34834:10;;34594:256;;;;:::o;34856:168::-;34996:20;34992:1;34984:6;34980:14;34973:44;34856:168;:::o;35030:366::-;35172:3;35193:67;35257:2;35252:3;35193:67;:::i;:::-;35186:74;;35269:93;35358:3;35269:93;:::i;:::-;35387:2;35382:3;35378:12;35371:19;;35030:366;;;:::o;35402:419::-;35568:4;35606:2;35595:9;35591:18;35583:26;;35655:9;35649:4;35645:20;35641:1;35630:9;35626:17;35619:47;35683:131;35809:4;35683:131;:::i;:::-;35675:139;;35402:419;;;:::o;35827:181::-;35967:33;35963:1;35955:6;35951:14;35944:57;35827:181;:::o;36014:366::-;36156:3;36177:67;36241:2;36236:3;36177:67;:::i;:::-;36170:74;;36253:93;36342:3;36253:93;:::i;:::-;36371:2;36366:3;36362:12;36355:19;;36014:366;;;:::o;36386:419::-;36552:4;36590:2;36579:9;36575:18;36567:26;;36639:9;36633:4;36629:20;36625:1;36614:9;36610:17;36603:47;36667:131;36793:4;36667:131;:::i;:::-;36659:139;;36386:419;;;:::o;36811:148::-;36913:11;36950:3;36935:18;;36811:148;;;;:::o;36989:874::-;37092:3;37129:5;37123:12;37158:36;37184:9;37158:36;:::i;:::-;37210:89;37292:6;37287:3;37210:89;:::i;:::-;37203:96;;37330:1;37319:9;37315:17;37346:1;37341:166;;;;37521:1;37516:341;;;;37308:549;;37341:166;37425:4;37421:9;37410;37406:25;37401:3;37394:38;37487:6;37480:14;37473:22;37465:6;37461:35;37456:3;37452:45;37445:52;;37341:166;;37516:341;37583:38;37615:5;37583:38;:::i;:::-;37643:1;37657:154;37671:6;37668:1;37665:13;37657:154;;;37745:7;37739:14;37735:1;37730:3;37726:11;37719:35;37795:1;37786:7;37782:15;37771:26;;37693:4;37690:1;37686:12;37681:17;;37657:154;;;37840:6;37835:3;37831:16;37824:23;;37523:334;;37308:549;;37096:767;;36989:874;;;;:::o;37869:390::-;37975:3;38003:39;38036:5;38003:39;:::i;:::-;38058:89;38140:6;38135:3;38058:89;:::i;:::-;38051:96;;38156:65;38214:6;38209:3;38202:4;38195:5;38191:16;38156:65;:::i;:::-;38246:6;38241:3;38237:16;38230:23;;37979:280;37869:390;;;;:::o;38265:583::-;38487:3;38509:92;38597:3;38588:6;38509:92;:::i;:::-;38502:99;;38618:95;38709:3;38700:6;38618:95;:::i;:::-;38611:102;;38730:92;38818:3;38809:6;38730:92;:::i;:::-;38723:99;;38839:3;38832:10;;38265:583;;;;;;:::o;38854:171::-;38893:3;38916:24;38934:5;38916:24;:::i;:::-;38907:33;;38962:4;38955:5;38952:15;38949:41;;38970:18;;:::i;:::-;38949:41;39017:1;39010:5;39006:13;38999:20;;38854:171;;;:::o;39031:168::-;39171:20;39167:1;39159:6;39155:14;39148:44;39031:168;:::o;39205:366::-;39347:3;39368:67;39432:2;39427:3;39368:67;:::i;:::-;39361:74;;39444:93;39533:3;39444:93;:::i;:::-;39562:2;39557:3;39553:12;39546:19;;39205:366;;;:::o;39577:419::-;39743:4;39781:2;39770:9;39766:18;39758:26;;39830:9;39824:4;39820:20;39816:1;39805:9;39801:17;39794:47;39858:131;39984:4;39858:131;:::i;:::-;39850:139;;39577:419;;;:::o;40002:98::-;40053:6;40087:5;40081:12;40071:22;;40002:98;;;:::o;40106:168::-;40189:11;40223:6;40218:3;40211:19;40263:4;40258:3;40254:14;40239:29;;40106:168;;;;:::o;40280:373::-;40366:3;40394:38;40426:5;40394:38;:::i;:::-;40448:70;40511:6;40506:3;40448:70;:::i;:::-;40441:77;;40527:65;40585:6;40580:3;40573:4;40566:5;40562:16;40527:65;:::i;:::-;40617:29;40639:6;40617:29;:::i;:::-;40612:3;40608:39;40601:46;;40370:283;40280:373;;;;:::o;40659:640::-;40854:4;40892:3;40881:9;40877:19;40869:27;;40906:71;40974:1;40963:9;40959:17;40950:6;40906:71;:::i;:::-;40987:72;41055:2;41044:9;41040:18;41031:6;40987:72;:::i;:::-;41069;41137:2;41126:9;41122:18;41113:6;41069:72;:::i;:::-;41188:9;41182:4;41178:20;41173:2;41162:9;41158:18;41151:48;41216:76;41287:4;41278:6;41216:76;:::i;:::-;41208:84;;40659:640;;;;;;;:::o;41305:141::-;41361:5;41392:6;41386:13;41377:22;;41408:32;41434:5;41408:32;:::i;:::-;41305:141;;;;:::o;41452:349::-;41521:6;41570:2;41558:9;41549:7;41545:23;41541:32;41538:119;;;41576:79;;:::i;:::-;41538:119;41696:1;41721:63;41776:7;41767:6;41756:9;41752:22;41721:63;:::i;:::-;41711:73;;41667:127;41452:349;;;;:::o;41807:180::-;41855:77;41852:1;41845:88;41952:4;41949:1;41942:15;41976:4;41973:1;41966:15;41993:180;42041:77;42038:1;42031:88;42138:4;42135:1;42128:15;42162:4;42159:1;42152:15
Swarm Source
ipfs://7187ad8c40d634e88adf34783cf7ca1c1d100f370d19ee1d262cff5e15fe89e6
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.