ERC-721
Overview
Max Total Supply
119 DMON
Holders
69
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DMONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Decentramon
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-12 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ library MerkleProof { /** * @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} * * _Available since v4.7._ */ 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. * * _Available since v4.4._ */ 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} * * _Available since v4.7._ */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ 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} * * _Available since v4.7._ */ 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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } 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) } } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // 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(); // ============================================================= // 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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()`. * * 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; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @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) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // 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(); 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(); 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 Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // 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, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @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. * 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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @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(); 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) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not 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); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (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(); if (to == address(0)) revert TransferToZeroAddress(); _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; } } } } emit Transfer(from, to, tokenId); _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(); } } /** * @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(); } else { 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(); _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: // - `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) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // 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`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _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) ); 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(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // 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(); } _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 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(); 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) } } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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 up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (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; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); 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 (rounding == Rounding.Up && 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 down. * * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @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) { 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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); 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); } } // File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any (single) token transfer. This includes minting and burning. * See {_beforeConsecutiveTokenTransfer}. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any (single) transfer of tokens. This includes minting and burning. * See {_afterConsecutiveTokenTransfer}. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called before consecutive token transfers. * Calling conditions are similar to {_beforeTokenTransfer}. * * The default implementation include balances updates that extensions such as {ERC721Consecutive} cannot perform * directly. */ function _beforeConsecutiveTokenTransfer( address from, address to, uint256, /*first*/ uint96 size ) internal virtual { if (from != address(0)) { _balances[from] -= size; } if (to != address(0)) { _balances[to] += size; } } /** * @dev Hook that is called after consecutive token transfers. * Calling conditions are similar to {_afterTokenTransfer}. */ function _afterConsecutiveTokenTransfer( address, /*from*/ address, /*to*/ uint256, /*first*/ uint96 /*size*/ ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } // File: FinalTest.sol pragma solidity 0.8.9; contract Decentramon is ERC721A, ReentrancyGuard, Ownable { using Counters for Counters.Counter; using Address for address; using ECDSA for bytes32; // Starting and stopping sale // Empezar y parar etapas bool public saleActive = false; bool public whitelistActive = false; bool public vipActive = false; bool public forsale = false; // Reserved for the team, customs, giveaways, collabs and so on // Reservado para equipo y otros uint256 public reserved = 1; // Price of each token // Precio inicial mint uint256 public MINT_PRICE = 0.059 ether; // price //Retirofondos address payable public withdrawWallet; // Public Sale Key // Key para verificación extra string publicKey; // Will change to hash instead of int string public baseExtension = ".json"; // Maximum limit of tokens that can ever exist // Número de Tokens mapping(address => uint256) private mintCountMap; mapping(address => uint256) private allowedMintCountMap; mapping(address => uint256) public walletMints; uint256 public constant MAX_SUPPLY = 111; uint256 public constant MINT_LIMIT_PER_WALLET = 1; uint256 public constant TOTAL_SUPPLY = 0; function max(uint256 a, uint256 b) private pure returns (uint256) { return a >= b ? a : b; } function allowedMintCount(address minter) public view returns (uint256) { if (saleActive || forsale || whitelistActive || vipActive) { return ( max(allowedMintCountMap[minter], MINT_LIMIT_PER_WALLET) - mintCountMap[minter] ); } return allowedMintCountMap[minter] - mintCountMap[minter]; } function updateMintCount(address minter, uint256 count) private { mintCountMap[minter] += count; } // The base link that leads to the image / video of the token // URL del arte-metadata //string public baseTokenURI =; string public baseTokenURI = ""; // List of addresses that have a number of reserved tokens for whitelist // Lista de direcciones para Whitelist y Raffle bytes32 private _whitelistMerkleRoot = 0xdd458cd4186c0d96db060cfdd293d2fc1f1d71350fb5d843be57e716e1fd7025; bytes32 private _whitelistPayMerkleRoot = 0xdd458cd4186c0d96db060cfdd293d2fc1f1d71350fb5d843be57e716e1fd7025; constructor() ERC721A ("Decentramon", "DMON") { } // Override so the openzeppelin tokenURI() method will use this method to create the full tokenURI instead // Reemplazar URI function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Exclusive whitelist minting // Función mint con Whitelist Counters.Counter private supplyCounter; function mintWHITElist(bytes32[] memory proof, string memory _pass) public payable nonReentrant { uint256 quantity = 1; uint256 supply = totalSupply(); require( whitelistActive, "Whitelist isn't active" ); require( MerkleProof.verify( proof, _whitelistMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "Whitelist validation failed" ); require( keccak256(abi.encodePacked(publicKey)) == keccak256(abi.encodePacked(_pass)), "Key error"); // Key verifying web3 call // Key que "Verifica" la llamada al contract desde la web3 require( supply + quantity <= MAX_SUPPLY, "Can't mint more than WL supply" ); require( supply + quantity <= MAX_SUPPLY, "Can't mint more than max supply" ); require( msg.value == MINT_PRICE * quantity, "Wrong amount of ETH sent" ); if (allowedMintCount(msg.sender) >= 1) { updateMintCount(msg.sender, 1); } else { revert("Minting limit exceeded"); } _safeMint( msg.sender, quantity); } // Exclusive VIP whitelist minting // Función mint pago con VIPlist function mintVIPlist(bytes32[] memory proof, uint256 quantity, string memory _pass) public payable nonReentrant { uint256 supply = totalSupply(); require( whitelistActive, "VIPList isn't active" ); require( MerkleProof.verify( proof, _whitelistPayMerkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "VIPList validation failed" ); require( keccak256(abi.encodePacked(publicKey)) == keccak256(abi.encodePacked(_pass)), "Key error"); // Key verifying web3 call // Key que "Verifica" la llamada al contract desde la web3 require( quantity > 0, "Can't mint less than one" ); require( quantity <= 1, "Can't mint more than reserved" ); require( supply + quantity <= MAX_SUPPLY, "Can't mint more than max supply" ); require( supply + quantity <= MAX_SUPPLY, "Can't mint more than max supply" ); require( msg.value == MINT_PRICE * quantity, "Wrong amount of ETH sent" ); if (allowedMintCount(msg.sender) >= 1) { updateMintCount(msg.sender, 1); } else { revert("Minting limit exceeded"); } _safeMint( msg.sender, quantity); } // Standard mint function // Mint normal sin restricción de dirección function mint(uint256 quantity) public payable nonReentrant { require( quantity > 0, "Can't mint less than one" ); require( quantity <= 1, "Can't mint more than reserved" ); require( forsale, "Sale isn't active" ); require( msg.value == quantity * MINT_PRICE, "Wrong amount of ETH sent" ); require( TOTAL_SUPPLY + quantity <= MAX_SUPPLY, "Sold Out"); require( walletMints[msg.sender] + quantity <= MINT_LIMIT_PER_WALLET, "Exceed Max Wallet" ); for (uint256 i = 0; i < quantity; i++) { uint256 newTokenId = TOTAL_SUPPLY + 1; _safeMint(msg.sender, newTokenId); } } // Admin minting function to reserve tokens for the team, collabs, customs and giveaways // Función de minteo de los admins function mintReserved(uint256 quantity) public onlyOwner { // Limited to a publicly set amount uint256 supply = totalSupply(); require( quantity <= reserved, "Can't reserve more than set amount" ); require( supply + quantity <= MAX_SUPPLY, "Can't mint more than max supply" ); reserved -= quantity; _safeMint( msg.sender, quantity ); } function setMerkleWHITELIST(bytes32 root2) public onlyOwner { _whitelistMerkleRoot = root2; } function setMerkleVIP(bytes32 root3) public onlyOwner { _whitelistPayMerkleRoot = root3; } // Start and stop whitelist // Función que activa y desactiva el minteo por Whitelist function setWhitelistActive(bool val) public onlyOwner { whitelistActive = val; } // Start and stop raffle // Función que activa y desactiva el minteo vip function setVipMint(bool val) public onlyOwner { vipActive = val; } // Start and stop sale // Función que activa y desactiva el minteo por venta genérica function setSaleActive(bool val) public onlyOwner { saleActive = val; } function setForsale(bool val) public onlyOwner { forsale = val; } // Set new baseURI // Función para setear baseURI function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } // Set public key // Función para cambio de key publica function setPublicKey(string memory newKey) public onlyOwner { publicKey = newKey; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
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":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_LIMIT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"allowedMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forsale","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"string","name":"_pass","type":"string"}],"name":"mintVIPlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"string","name":"_pass","type":"string"}],"name":"mintWHITElist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setForsale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root3","type":"bytes32"}],"name":"setMerkleVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root2","type":"bytes32"}],"name":"setMerkleWHITELIST","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newKey","type":"string"}],"name":"setPublicKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setVipMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setWhitelistActive","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600960146101000a81548160ff0219169083151502179055506000600960156101000a81548160ff0219169083151502179055506000600960166101000a81548160ff0219169083151502179055506000600960176101000a81548160ff0219169083151502179055506001600a5566d19c2ff9bf8000600b556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e9080519060200190620000cd92919062000309565b506040518060200160405280600081525060129080519060200190620000f592919062000309565b507fdd458cd4186c0d96db060cfdd293d2fc1f1d71350fb5d843be57e716e1fd702560001b6013557fdd458cd4186c0d96db060cfdd293d2fc1f1d71350fb5d843be57e716e1fd702560001b6014553480156200015157600080fd5b506040518060400160405280600b81526020017f446563656e7472616d6f6e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f444d4f4e000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001d692919062000309565b508060039080519060200190620001ef92919062000309565b50620002006200023660201b60201c565b6000819055505050600160088190555062000230620002246200023b60201b60201c565b6200024360201b60201c565b6200041e565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200031790620003e8565b90600052602060002090601f0160209004810192826200033b576000855562000387565b82601f106200035657805160ff191683800117855562000387565b8280016001018555821562000387579182015b828111156200038657825182559160200191906001019062000369565b5b5090506200039691906200039a565b5090565b5b80821115620003b55760008160009055506001016200039b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200040157607f821691505b60208210811415620004185762000417620003b9565b5b50919050565b614314806200042e6000396000f3fe6080604052600436106102675760003560e01c806385d178f411610144578063c002d23d116100b6578063d6c336ed1161007a578063d6c336ed14610897578063dd61b616146108c2578063e985e9c5146108eb578063f0293fd314610928578063f2fde38b14610965578063fe60d12c1461098e57610267565b8063c002d23d146107b0578063c3b754dc146107db578063c668286214610804578063c87b56dd1461082f578063d547cfb71461086c57610267565b806395d89b411161010857806395d89b41146106be5780639a5d140b146106e9578063a0712d6814610712578063a22cb4651461072e578063b88d4fde14610757578063bb660c0a1461077357610267565b806385d178f4146105e957806389638cb3146106145780638da5cb5b1461063f5780638e558ff01461066a578063902d55a51461069357610267565b80633fb81301116101dd5780636352211e116101a15780636352211e146104db57806368428a1b146105185780636f6fc0771461054357806370a082311461056c578063715018a6146105a9578063841718a6146105c057610267565b80633fb813011461043557806342842e0e146104515780634340be721461046d5780634f1d3f3d1461048957806355f804b3146104b257610267565b806318160ddd1161022f57806318160ddd146103585780632174a68f1461038357806323b872dd146103ae578063270f8e8c146103ca57806332cb6b0c146103f35780633ccfd60b1461041e57610267565b806301ffc9a71461026c57806302ce5813146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612d88565b6109b9565b6040516102a09190612dd0565b60405180910390f35b3480156102b557600080fd5b506102be610a4b565b6040516102cb9190612dd0565b60405180910390f35b3480156102e057600080fd5b506102e9610a5e565b6040516102f69190612e84565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190612edc565b610af0565b6040516103339190612f4a565b60405180910390f35b61035660048036038101906103519190612f91565b610b6f565b005b34801561036457600080fd5b5061036d610cb3565b60405161037a9190612fe0565b60405180910390f35b34801561038f57600080fd5b50610398610cca565b6040516103a59190612dd0565b60405180910390f35b6103c860048036038101906103c39190612ffb565b610cdd565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613084565b611002565b005b3480156103ff57600080fd5b50610408611014565b6040516104159190612fe0565b60405180910390f35b34801561042a57600080fd5b50610433611019565b005b61044f600480360381019061044a91906132ae565b6110a1565b005b61046b60048036038101906104669190612ffb565b61136b565b005b61048760048036038101906104829190613326565b61138b565b005b34801561049557600080fd5b506104b060048036038101906104ab91906133dd565b6116d6565b005b3480156104be57600080fd5b506104d960048036038101906104d4919061340a565b6116fb565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190612edc565b61171d565b60405161050f9190612f4a565b60405180910390f35b34801561052457600080fd5b5061052d61172f565b60405161053a9190612dd0565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061340a565b611742565b005b34801561057857600080fd5b50610593600480360381019061058e9190613453565b611764565b6040516105a09190612fe0565b60405180910390f35b3480156105b557600080fd5b506105be61181d565b005b3480156105cc57600080fd5b506105e760048036038101906105e291906133dd565b611831565b005b3480156105f557600080fd5b506105fe611856565b60405161060b91906134a1565b60405180910390f35b34801561062057600080fd5b5061062961187c565b6040516106369190612dd0565b60405180910390f35b34801561064b57600080fd5b5061065461188f565b6040516106619190612f4a565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906133dd565b6118b9565b005b34801561069f57600080fd5b506106a86118de565b6040516106b59190612fe0565b60405180910390f35b3480156106ca57600080fd5b506106d36118e3565b6040516106e09190612e84565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b9190612edc565b611975565b005b61072c60048036038101906107279190612edc565b611a44565b005b34801561073a57600080fd5b50610755600480360381019061075091906134bc565b611c96565b005b610771600480360381019061076c919061359d565b611da1565b005b34801561077f57600080fd5b5061079a60048036038101906107959190613453565b611e14565b6040516107a79190612fe0565b60405180910390f35b3480156107bc57600080fd5b506107c5611f9d565b6040516107d29190612fe0565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd91906133dd565b611fa3565b005b34801561081057600080fd5b50610819611fc8565b6040516108269190612e84565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190612edc565b612056565b6040516108639190612e84565b60405180910390f35b34801561087857600080fd5b506108816120f5565b60405161088e9190612e84565b60405180910390f35b3480156108a357600080fd5b506108ac612183565b6040516108b99190612fe0565b60405180910390f35b3480156108ce57600080fd5b506108e960048036038101906108e49190613084565b612188565b005b3480156108f757600080fd5b50610912600480360381019061090d9190613620565b61219a565b60405161091f9190612dd0565b60405180910390f35b34801561093457600080fd5b5061094f600480360381019061094a9190613453565b61222e565b60405161095c9190612fe0565b60405180910390f35b34801561097157600080fd5b5061098c60048036038101906109879190613453565b612246565b005b34801561099a57600080fd5b506109a36122ca565b6040516109b09190612fe0565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a445750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600960159054906101000a900460ff1681565b606060028054610a6d9061368f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a999061368f565b8015610ae65780601f10610abb57610100808354040283529160200191610ae6565b820191906000526020600020905b815481529060010190602001808311610ac957829003601f168201915b5050505050905090565b6000610afb826122d0565b610b31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b7a8261171d565b90508073ffffffffffffffffffffffffffffffffffffffff16610b9b61232f565b73ffffffffffffffffffffffffffffffffffffffff1614610bfe57610bc781610bc261232f565b61219a565b610bfd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610cbd612337565b6001546000540303905090565b600960169054906101000a900460ff1681565b6000610ce88261233c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d4f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d5b8461240a565b91509150610d718187610d6c61232f565b612431565b610dbd57610d8686610d8161232f565b61219a565b610dbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e24576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e318686866001612475565b8015610e3c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f0a85610ee688888761247b565b7c0200000000000000000000000000000000000000000000000000000000176124a3565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610f92576000600185019050600060046000838152602001908152602001600020541415610f90576000548114610f8f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ffa86868660016124ce565b505050505050565b61100a6124d4565b8060148190555050565b606f81565b6110216124d4565b600061102b61188f565b73ffffffffffffffffffffffffffffffffffffffff164760405161104e906136f2565b60006040518083038185875af1925050503d806000811461108b576040519150601f19603f3d011682016040523d82523d6000602084013e611090565b606091505b505090508061109e57600080fd5b50565b6110a9612552565b60006001905060006110b9610cb3565b9050600960159054906101000a900460ff1661110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190613753565b60405180910390fd5b61113d846013543360405160200161112291906137bb565b604051602081830303815290604052805190602001206125a2565b61117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613822565b60405180910390fd5b8260405160200161118d919061387e565b60405160208183030381529060405280519060200120600d6040516020016111b59190613929565b604051602081830303815290604052805190602001201461120b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112029061398c565b60405180910390fd5b606f828261121991906139db565b111561125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125190613a7d565b60405180910390fd5b606f828261126891906139db565b11156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613ae9565b60405180910390fd5b81600b546112b79190613b09565b34146112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613baf565b60405180910390fd5b600161130333611e14565b10611318576113133360016125b9565b611353565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613c1b565b60405180910390fd5b61135d3383612613565b5050611367612631565b5050565b61138683838360405180602001604052806000815250611da1565b505050565b611393612552565b600061139d610cb3565b9050600960159054906101000a900460ff166113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590613c87565b60405180910390fd5b611421846014543360405160200161140691906137bb565b604051602081830303815290604052805190602001206125a2565b611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613cf3565b60405180910390fd5b81604051602001611471919061387e565b60405160208183030381529060405280519060200120600d6040516020016114999190613929565b60405160208183030381529060405280519060200120146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e69061398c565b60405180910390fd5b60008311611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613d5f565b60405180910390fd5b6001831115611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90613dcb565b60405180910390fd5b606f838261158491906139db565b11156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613ae9565b60405180910390fd5b606f83826115d391906139db565b1115611614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160b90613ae9565b60405180910390fd5b82600b546116229190613b09565b3414611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90613baf565b60405180910390fd5b600161166e33611e14565b106116835761167e3360016125b9565b6116be565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613c1b565b60405180910390fd5b6116c83384612613565b506116d1612631565b505050565b6116de6124d4565b80600960176101000a81548160ff02191690831515021790555050565b6117036124d4565b8060129080519060200190611719929190612c79565b5050565b60006117288261233c565b9050919050565b600960149054906101000a900460ff1681565b61174a6124d4565b80600d9080519060200190611760929190612c79565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118256124d4565b61182f600061263b565b565b6118396124d4565b80600960146101000a81548160ff02191690831515021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960179054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118c16124d4565b80600960166101000a81548160ff02191690831515021790555050565b600081565b6060600380546118f29061368f565b80601f016020809104026020016040519081016040528092919081815260200182805461191e9061368f565b801561196b5780601f106119405761010080835404028352916020019161196b565b820191906000526020600020905b81548152906001019060200180831161194e57829003601f168201915b5050505050905090565b61197d6124d4565b6000611987610cb3565b9050600a548211156119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590613e5d565b60405180910390fd5b606f82826119dc91906139db565b1115611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490613ae9565b60405180910390fd5b81600a6000828254611a2f9190613e7d565b92505081905550611a403383612613565b5050565b611a4c612552565b60008111611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8690613d5f565b60405180910390fd5b6001811115611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca90613dcb565b60405180910390fd5b600960179054906101000a900460ff16611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990613efd565b60405180910390fd5b600b5481611b309190613b09565b3414611b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6890613baf565b60405180910390fd5b606f816000611b8091906139db565b1115611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890613f69565b60405180910390fd5b600181601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0e91906139db565b1115611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4690613fd5565b60405180910390fd5b60005b81811015611c8a57600060016000611c6a91906139db565b9050611c763382612613565b508080611c8290613ff5565b915050611c52565b50611c93612631565b50565b8060076000611ca361232f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d5061232f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d959190612dd0565b60405180910390a35050565b611dac848484610cdd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e0e57611dd784848484612701565b611e0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000600960149054906101000a900460ff1680611e3d5750600960179054906101000a900460ff165b80611e545750600960159054906101000a900460ff165b80611e6b5750600960169054906101000a900460ff165b15611f0b57600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611efa601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546001612861565b611f049190613e7d565b9050611f98565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f959190613e7d565b90505b919050565b600b5481565b611fab6124d4565b80600960156101000a81548160ff02191690831515021790555050565b600e8054611fd59061368f565b80601f01602080910402602001604051908101604052809291908181526020018280546120019061368f565b801561204e5780601f106120235761010080835404028352916020019161204e565b820191906000526020600020905b81548152906001019060200180831161203157829003601f168201915b505050505081565b6060612061826122d0565b612097576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120a161287b565b90506000815114156120c257604051806020016040528060008152506120ed565b806120cc8461290d565b6040516020016120dd92919061403e565b6040516020818303038152906040525b915050919050565b601280546121029061368f565b80601f016020809104026020016040519081016040528092919081815260200182805461212e9061368f565b801561217b5780601f106121505761010080835404028352916020019161217b565b820191906000526020600020905b81548152906001019060200180831161215e57829003601f168201915b505050505081565b600181565b6121906124d4565b8060138190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60116020528060005260406000206000915090505481565b61224e6124d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b5906140d4565b60405180910390fd5b6122c78161263b565b50565b600a5481565b6000816122db612337565b111580156122ea575060005482105b8015612328575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061234b612337565b116123d3576000548110156123d25760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156123d0575b60008114156123c657600460008360019003935083815260200190815260200160002054905061239b565b8092505050612405565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612492868684612966565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6124dc61296f565b73ffffffffffffffffffffffffffffffffffffffff166124fa61188f565b73ffffffffffffffffffffffffffffffffffffffff1614612550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254790614140565b60405180910390fd5b565b60026008541415612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f906141ac565b60405180910390fd5b6002600881905550565b6000826125af8584612977565b1490509392505050565b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260891906139db565b925050819055505050565b61262d8282604051806020016040528060008152506129cd565b5050565b6001600881905550565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261272761232f565b8786866040518563ffffffff1660e01b81526004016127499493929190614221565b602060405180830381600087803b15801561276357600080fd5b505af192505050801561279457506040513d601f19601f820116820180604052508101906127919190614282565b60015b61280e573d80600081146127c4576040519150601f19603f3d011682016040523d82523d6000602084013e6127c9565b606091505b50600081511415612806576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000818310156128715781612873565b825b905092915050565b60606012805461288a9061368f565b80601f01602080910402602001604051908101604052809291908181526020018280546128b69061368f565b80156129035780601f106128d857610100808354040283529160200191612903565b820191906000526020600020905b8154815290600101906020018083116128e657829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561295157600184039350600a81066030018453600a810490508061294c57612951565b612926565b50828103602084039350808452505050919050565b60009392505050565b600033905090565b60008082905060005b84518110156129c2576129ad828683815181106129a05761299f6142af565b5b6020026020010151612a6a565b915080806129ba90613ff5565b915050612980565b508091505092915050565b6129d78383612a95565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a6557600080549050600083820390505b612a176000868380600101945086612701565b612a4d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a04578160005414612a6257600080fd5b50505b505050565b6000818310612a8257612a7d8284612c52565b612a8d565b612a8c8383612c52565b5b905092915050565b6000805490506000821415612ad6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ae36000848385612475565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b5a83612b4b600086600061247b565b612b5485612c69565b176124a3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612bfb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612bc0565b506000821415612c37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c4d60008483856124ce565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054612c859061368f565b90600052602060002090601f016020900481019282612ca75760008555612cee565b82601f10612cc057805160ff1916838001178555612cee565b82800160010185558215612cee579182015b82811115612ced578251825591602001919060010190612cd2565b5b509050612cfb9190612cff565b5090565b5b80821115612d18576000816000905550600101612d00565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6581612d30565b8114612d7057600080fd5b50565b600081359050612d8281612d5c565b92915050565b600060208284031215612d9e57612d9d612d26565b5b6000612dac84828501612d73565b91505092915050565b60008115159050919050565b612dca81612db5565b82525050565b6000602082019050612de56000830184612dc1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e25578082015181840152602081019050612e0a565b83811115612e34576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e5682612deb565b612e608185612df6565b9350612e70818560208601612e07565b612e7981612e3a565b840191505092915050565b60006020820190508181036000830152612e9e8184612e4b565b905092915050565b6000819050919050565b612eb981612ea6565b8114612ec457600080fd5b50565b600081359050612ed681612eb0565b92915050565b600060208284031215612ef257612ef1612d26565b5b6000612f0084828501612ec7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f3482612f09565b9050919050565b612f4481612f29565b82525050565b6000602082019050612f5f6000830184612f3b565b92915050565b612f6e81612f29565b8114612f7957600080fd5b50565b600081359050612f8b81612f65565b92915050565b60008060408385031215612fa857612fa7612d26565b5b6000612fb685828601612f7c565b9250506020612fc785828601612ec7565b9150509250929050565b612fda81612ea6565b82525050565b6000602082019050612ff56000830184612fd1565b92915050565b60008060006060848603121561301457613013612d26565b5b600061302286828701612f7c565b935050602061303386828701612f7c565b925050604061304486828701612ec7565b9150509250925092565b6000819050919050565b6130618161304e565b811461306c57600080fd5b50565b60008135905061307e81613058565b92915050565b60006020828403121561309a57613099612d26565b5b60006130a88482850161306f565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6130ee82612e3a565b810181811067ffffffffffffffff8211171561310d5761310c6130b6565b5b80604052505050565b6000613120612d1c565b905061312c82826130e5565b919050565b600067ffffffffffffffff82111561314c5761314b6130b6565b5b602082029050602081019050919050565b600080fd5b600061317561317084613131565b613116565b905080838252602082019050602084028301858111156131985761319761315d565b5b835b818110156131c157806131ad888261306f565b84526020840193505060208101905061319a565b5050509392505050565b600082601f8301126131e0576131df6130b1565b5b81356131f0848260208601613162565b91505092915050565b600080fd5b600067ffffffffffffffff821115613219576132186130b6565b5b61322282612e3a565b9050602081019050919050565b82818337600083830152505050565b600061325161324c846131fe565b613116565b90508281526020810184848401111561326d5761326c6131f9565b5b61327884828561322f565b509392505050565b600082601f830112613295576132946130b1565b5b81356132a584826020860161323e565b91505092915050565b600080604083850312156132c5576132c4612d26565b5b600083013567ffffffffffffffff8111156132e3576132e2612d2b565b5b6132ef858286016131cb565b925050602083013567ffffffffffffffff8111156133105761330f612d2b565b5b61331c85828601613280565b9150509250929050565b60008060006060848603121561333f5761333e612d26565b5b600084013567ffffffffffffffff81111561335d5761335c612d2b565b5b613369868287016131cb565b935050602061337a86828701612ec7565b925050604084013567ffffffffffffffff81111561339b5761339a612d2b565b5b6133a786828701613280565b9150509250925092565b6133ba81612db5565b81146133c557600080fd5b50565b6000813590506133d7816133b1565b92915050565b6000602082840312156133f3576133f2612d26565b5b6000613401848285016133c8565b91505092915050565b6000602082840312156134205761341f612d26565b5b600082013567ffffffffffffffff81111561343e5761343d612d2b565b5b61344a84828501613280565b91505092915050565b60006020828403121561346957613468612d26565b5b600061347784828501612f7c565b91505092915050565b600061348b82612f09565b9050919050565b61349b81613480565b82525050565b60006020820190506134b66000830184613492565b92915050565b600080604083850312156134d3576134d2612d26565b5b60006134e185828601612f7c565b92505060206134f2858286016133c8565b9150509250929050565b600067ffffffffffffffff821115613517576135166130b6565b5b61352082612e3a565b9050602081019050919050565b600061354061353b846134fc565b613116565b90508281526020810184848401111561355c5761355b6131f9565b5b61356784828561322f565b509392505050565b600082601f830112613584576135836130b1565b5b813561359484826020860161352d565b91505092915050565b600080600080608085870312156135b7576135b6612d26565b5b60006135c587828801612f7c565b94505060206135d687828801612f7c565b93505060406135e787828801612ec7565b925050606085013567ffffffffffffffff81111561360857613607612d2b565b5b6136148782880161356f565b91505092959194509250565b6000806040838503121561363757613636612d26565b5b600061364585828601612f7c565b925050602061365685828601612f7c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136a757607f821691505b602082108114156136bb576136ba613660565b5b50919050565b600081905092915050565b50565b60006136dc6000836136c1565b91506136e7826136cc565b600082019050919050565b60006136fd826136cf565b9150819050919050565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b600061373d601683612df6565b915061374882613707565b602082019050919050565b6000602082019050818103600083015261376c81613730565b9050919050565b60008160601b9050919050565b600061378b82613773565b9050919050565b600061379d82613780565b9050919050565b6137b56137b082612f29565b613792565b82525050565b60006137c782846137a4565b60148201915081905092915050565b7f57686974656c6973742076616c69646174696f6e206661696c65640000000000600082015250565b600061380c601b83612df6565b9150613817826137d6565b602082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b600081905092915050565b600061385882612deb565b6138628185613842565b9350613872818560208601612e07565b80840191505092915050565b600061388a828461384d565b915081905092915050565b60008190508160005260206000209050919050565b600081546138b78161368f565b6138c18186613842565b945060018216600081146138dc57600181146138ed57613920565b60ff19831686528186019350613920565b6138f685613895565b60005b83811015613918578154818901526001820191506020810190506138f9565b838801955050505b50505092915050565b600061393582846138aa565b915081905092915050565b7f4b6579206572726f720000000000000000000000000000000000000000000000600082015250565b6000613976600983612df6565b915061398182613940565b602082019050919050565b600060208201905081810360008301526139a581613969565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139e682612ea6565b91506139f183612ea6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a2657613a256139ac565b5b828201905092915050565b7f43616e2774206d696e74206d6f7265207468616e20574c20737570706c790000600082015250565b6000613a67601e83612df6565b9150613a7282613a31565b602082019050919050565b60006020820190508181036000830152613a9681613a5a565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e206d617820737570706c7900600082015250565b6000613ad3601f83612df6565b9150613ade82613a9d565b602082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b6000613b1482612ea6565b9150613b1f83612ea6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b5857613b576139ac565b5b828202905092915050565b7f57726f6e6720616d6f756e74206f66204554482073656e740000000000000000600082015250565b6000613b99601883612df6565b9150613ba482613b63565b602082019050919050565b60006020820190508181036000830152613bc881613b8c565b9050919050565b7f4d696e74696e67206c696d697420657863656564656400000000000000000000600082015250565b6000613c05601683612df6565b9150613c1082613bcf565b602082019050919050565b60006020820190508181036000830152613c3481613bf8565b9050919050565b7f5649504c6973742069736e277420616374697665000000000000000000000000600082015250565b6000613c71601483612df6565b9150613c7c82613c3b565b602082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b7f5649504c6973742076616c69646174696f6e206661696c656400000000000000600082015250565b6000613cdd601983612df6565b9150613ce882613ca7565b602082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f43616e2774206d696e74206c657373207468616e206f6e650000000000000000600082015250565b6000613d49601883612df6565b9150613d5482613d13565b602082019050919050565b60006020820190508181036000830152613d7881613d3c565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b6000613db5601d83612df6565b9150613dc082613d7f565b602082019050919050565b60006020820190508181036000830152613de481613da8565b9050919050565b7f43616e27742072657365727665206d6f7265207468616e2073657420616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e47602283612df6565b9150613e5282613deb565b604082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b6000613e8882612ea6565b9150613e9383612ea6565b925082821015613ea657613ea56139ac565b5b828203905092915050565b7f53616c652069736e277420616374697665000000000000000000000000000000600082015250565b6000613ee7601183612df6565b9150613ef282613eb1565b602082019050919050565b60006020820190508181036000830152613f1681613eda565b9050919050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b6000613f53600883612df6565b9150613f5e82613f1d565b602082019050919050565b60006020820190508181036000830152613f8281613f46565b9050919050565b7f457863656564204d61782057616c6c6574000000000000000000000000000000600082015250565b6000613fbf601183612df6565b9150613fca82613f89565b602082019050919050565b60006020820190508181036000830152613fee81613fb2565b9050919050565b600061400082612ea6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614033576140326139ac565b5b600182019050919050565b600061404a828561384d565b9150614056828461384d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140be602683612df6565b91506140c982614062565b604082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061412a602083612df6565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614196601f83612df6565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006141f3826141cc565b6141fd81856141d7565b935061420d818560208601612e07565b61421681612e3a565b840191505092915050565b60006080820190506142366000830187612f3b565b6142436020830186612f3b565b6142506040830185612fd1565b818103606083015261426281846141e8565b905095945050505050565b60008151905061427c81612d5c565b92915050565b60006020828403121561429857614297612d26565b5b60006142a68482850161426d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122096029bb6af6aee10a347edb8c0b4e492328e04ca1a196b15ce9b259a92de204064736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102675760003560e01c806385d178f411610144578063c002d23d116100b6578063d6c336ed1161007a578063d6c336ed14610897578063dd61b616146108c2578063e985e9c5146108eb578063f0293fd314610928578063f2fde38b14610965578063fe60d12c1461098e57610267565b8063c002d23d146107b0578063c3b754dc146107db578063c668286214610804578063c87b56dd1461082f578063d547cfb71461086c57610267565b806395d89b411161010857806395d89b41146106be5780639a5d140b146106e9578063a0712d6814610712578063a22cb4651461072e578063b88d4fde14610757578063bb660c0a1461077357610267565b806385d178f4146105e957806389638cb3146106145780638da5cb5b1461063f5780638e558ff01461066a578063902d55a51461069357610267565b80633fb81301116101dd5780636352211e116101a15780636352211e146104db57806368428a1b146105185780636f6fc0771461054357806370a082311461056c578063715018a6146105a9578063841718a6146105c057610267565b80633fb813011461043557806342842e0e146104515780634340be721461046d5780634f1d3f3d1461048957806355f804b3146104b257610267565b806318160ddd1161022f57806318160ddd146103585780632174a68f1461038357806323b872dd146103ae578063270f8e8c146103ca57806332cb6b0c146103f35780633ccfd60b1461041e57610267565b806301ffc9a71461026c57806302ce5813146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612d88565b6109b9565b6040516102a09190612dd0565b60405180910390f35b3480156102b557600080fd5b506102be610a4b565b6040516102cb9190612dd0565b60405180910390f35b3480156102e057600080fd5b506102e9610a5e565b6040516102f69190612e84565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190612edc565b610af0565b6040516103339190612f4a565b60405180910390f35b61035660048036038101906103519190612f91565b610b6f565b005b34801561036457600080fd5b5061036d610cb3565b60405161037a9190612fe0565b60405180910390f35b34801561038f57600080fd5b50610398610cca565b6040516103a59190612dd0565b60405180910390f35b6103c860048036038101906103c39190612ffb565b610cdd565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613084565b611002565b005b3480156103ff57600080fd5b50610408611014565b6040516104159190612fe0565b60405180910390f35b34801561042a57600080fd5b50610433611019565b005b61044f600480360381019061044a91906132ae565b6110a1565b005b61046b60048036038101906104669190612ffb565b61136b565b005b61048760048036038101906104829190613326565b61138b565b005b34801561049557600080fd5b506104b060048036038101906104ab91906133dd565b6116d6565b005b3480156104be57600080fd5b506104d960048036038101906104d4919061340a565b6116fb565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190612edc565b61171d565b60405161050f9190612f4a565b60405180910390f35b34801561052457600080fd5b5061052d61172f565b60405161053a9190612dd0565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061340a565b611742565b005b34801561057857600080fd5b50610593600480360381019061058e9190613453565b611764565b6040516105a09190612fe0565b60405180910390f35b3480156105b557600080fd5b506105be61181d565b005b3480156105cc57600080fd5b506105e760048036038101906105e291906133dd565b611831565b005b3480156105f557600080fd5b506105fe611856565b60405161060b91906134a1565b60405180910390f35b34801561062057600080fd5b5061062961187c565b6040516106369190612dd0565b60405180910390f35b34801561064b57600080fd5b5061065461188f565b6040516106619190612f4a565b60405180910390f35b34801561067657600080fd5b50610691600480360381019061068c91906133dd565b6118b9565b005b34801561069f57600080fd5b506106a86118de565b6040516106b59190612fe0565b60405180910390f35b3480156106ca57600080fd5b506106d36118e3565b6040516106e09190612e84565b60405180910390f35b3480156106f557600080fd5b50610710600480360381019061070b9190612edc565b611975565b005b61072c60048036038101906107279190612edc565b611a44565b005b34801561073a57600080fd5b50610755600480360381019061075091906134bc565b611c96565b005b610771600480360381019061076c919061359d565b611da1565b005b34801561077f57600080fd5b5061079a60048036038101906107959190613453565b611e14565b6040516107a79190612fe0565b60405180910390f35b3480156107bc57600080fd5b506107c5611f9d565b6040516107d29190612fe0565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd91906133dd565b611fa3565b005b34801561081057600080fd5b50610819611fc8565b6040516108269190612e84565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190612edc565b612056565b6040516108639190612e84565b60405180910390f35b34801561087857600080fd5b506108816120f5565b60405161088e9190612e84565b60405180910390f35b3480156108a357600080fd5b506108ac612183565b6040516108b99190612fe0565b60405180910390f35b3480156108ce57600080fd5b506108e960048036038101906108e49190613084565b612188565b005b3480156108f757600080fd5b50610912600480360381019061090d9190613620565b61219a565b60405161091f9190612dd0565b60405180910390f35b34801561093457600080fd5b5061094f600480360381019061094a9190613453565b61222e565b60405161095c9190612fe0565b60405180910390f35b34801561097157600080fd5b5061098c60048036038101906109879190613453565b612246565b005b34801561099a57600080fd5b506109a36122ca565b6040516109b09190612fe0565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a445750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600960159054906101000a900460ff1681565b606060028054610a6d9061368f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a999061368f565b8015610ae65780601f10610abb57610100808354040283529160200191610ae6565b820191906000526020600020905b815481529060010190602001808311610ac957829003601f168201915b5050505050905090565b6000610afb826122d0565b610b31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b7a8261171d565b90508073ffffffffffffffffffffffffffffffffffffffff16610b9b61232f565b73ffffffffffffffffffffffffffffffffffffffff1614610bfe57610bc781610bc261232f565b61219a565b610bfd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610cbd612337565b6001546000540303905090565b600960169054906101000a900460ff1681565b6000610ce88261233c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d4f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610d5b8461240a565b91509150610d718187610d6c61232f565b612431565b610dbd57610d8686610d8161232f565b61219a565b610dbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e24576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e318686866001612475565b8015610e3c57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610f0a85610ee688888761247b565b7c0200000000000000000000000000000000000000000000000000000000176124a3565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610f92576000600185019050600060046000838152602001908152602001600020541415610f90576000548114610f8f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ffa86868660016124ce565b505050505050565b61100a6124d4565b8060148190555050565b606f81565b6110216124d4565b600061102b61188f565b73ffffffffffffffffffffffffffffffffffffffff164760405161104e906136f2565b60006040518083038185875af1925050503d806000811461108b576040519150601f19603f3d011682016040523d82523d6000602084013e611090565b606091505b505090508061109e57600080fd5b50565b6110a9612552565b60006001905060006110b9610cb3565b9050600960159054906101000a900460ff1661110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190613753565b60405180910390fd5b61113d846013543360405160200161112291906137bb565b604051602081830303815290604052805190602001206125a2565b61117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390613822565b60405180910390fd5b8260405160200161118d919061387e565b60405160208183030381529060405280519060200120600d6040516020016111b59190613929565b604051602081830303815290604052805190602001201461120b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112029061398c565b60405180910390fd5b606f828261121991906139db565b111561125a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125190613a7d565b60405180910390fd5b606f828261126891906139db565b11156112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613ae9565b60405180910390fd5b81600b546112b79190613b09565b34146112f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ef90613baf565b60405180910390fd5b600161130333611e14565b10611318576113133360016125b9565b611353565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613c1b565b60405180910390fd5b61135d3383612613565b5050611367612631565b5050565b61138683838360405180602001604052806000815250611da1565b505050565b611393612552565b600061139d610cb3565b9050600960159054906101000a900460ff166113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590613c87565b60405180910390fd5b611421846014543360405160200161140691906137bb565b604051602081830303815290604052805190602001206125a2565b611460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145790613cf3565b60405180910390fd5b81604051602001611471919061387e565b60405160208183030381529060405280519060200120600d6040516020016114999190613929565b60405160208183030381529060405280519060200120146114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e69061398c565b60405180910390fd5b60008311611532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152990613d5f565b60405180910390fd5b6001831115611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90613dcb565b60405180910390fd5b606f838261158491906139db565b11156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc90613ae9565b60405180910390fd5b606f83826115d391906139db565b1115611614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160b90613ae9565b60405180910390fd5b82600b546116229190613b09565b3414611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90613baf565b60405180910390fd5b600161166e33611e14565b106116835761167e3360016125b9565b6116be565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613c1b565b60405180910390fd5b6116c83384612613565b506116d1612631565b505050565b6116de6124d4565b80600960176101000a81548160ff02191690831515021790555050565b6117036124d4565b8060129080519060200190611719929190612c79565b5050565b60006117288261233c565b9050919050565b600960149054906101000a900460ff1681565b61174a6124d4565b80600d9080519060200190611760929190612c79565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118256124d4565b61182f600061263b565b565b6118396124d4565b80600960146101000a81548160ff02191690831515021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960179054906101000a900460ff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118c16124d4565b80600960166101000a81548160ff02191690831515021790555050565b600081565b6060600380546118f29061368f565b80601f016020809104026020016040519081016040528092919081815260200182805461191e9061368f565b801561196b5780601f106119405761010080835404028352916020019161196b565b820191906000526020600020905b81548152906001019060200180831161194e57829003601f168201915b5050505050905090565b61197d6124d4565b6000611987610cb3565b9050600a548211156119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590613e5d565b60405180910390fd5b606f82826119dc91906139db565b1115611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490613ae9565b60405180910390fd5b81600a6000828254611a2f9190613e7d565b92505081905550611a403383612613565b5050565b611a4c612552565b60008111611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8690613d5f565b60405180910390fd5b6001811115611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca90613dcb565b60405180910390fd5b600960179054906101000a900460ff16611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990613efd565b60405180910390fd5b600b5481611b309190613b09565b3414611b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6890613baf565b60405180910390fd5b606f816000611b8091906139db565b1115611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890613f69565b60405180910390fd5b600181601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0e91906139db565b1115611c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4690613fd5565b60405180910390fd5b60005b81811015611c8a57600060016000611c6a91906139db565b9050611c763382612613565b508080611c8290613ff5565b915050611c52565b50611c93612631565b50565b8060076000611ca361232f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d5061232f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d959190612dd0565b60405180910390a35050565b611dac848484610cdd565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e0e57611dd784848484612701565b611e0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000600960149054906101000a900460ff1680611e3d5750600960179054906101000a900460ff165b80611e545750600960159054906101000a900460ff165b80611e6b5750600960169054906101000a900460ff165b15611f0b57600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611efa601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546001612861565b611f049190613e7d565b9050611f98565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f959190613e7d565b90505b919050565b600b5481565b611fab6124d4565b80600960156101000a81548160ff02191690831515021790555050565b600e8054611fd59061368f565b80601f01602080910402602001604051908101604052809291908181526020018280546120019061368f565b801561204e5780601f106120235761010080835404028352916020019161204e565b820191906000526020600020905b81548152906001019060200180831161203157829003601f168201915b505050505081565b6060612061826122d0565b612097576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120a161287b565b90506000815114156120c257604051806020016040528060008152506120ed565b806120cc8461290d565b6040516020016120dd92919061403e565b6040516020818303038152906040525b915050919050565b601280546121029061368f565b80601f016020809104026020016040519081016040528092919081815260200182805461212e9061368f565b801561217b5780601f106121505761010080835404028352916020019161217b565b820191906000526020600020905b81548152906001019060200180831161215e57829003601f168201915b505050505081565b600181565b6121906124d4565b8060138190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60116020528060005260406000206000915090505481565b61224e6124d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b5906140d4565b60405180910390fd5b6122c78161263b565b50565b600a5481565b6000816122db612337565b111580156122ea575060005482105b8015612328575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061234b612337565b116123d3576000548110156123d25760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156123d0575b60008114156123c657600460008360019003935083815260200190815260200160002054905061239b565b8092505050612405565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612492868684612966565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6124dc61296f565b73ffffffffffffffffffffffffffffffffffffffff166124fa61188f565b73ffffffffffffffffffffffffffffffffffffffff1614612550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254790614140565b60405180910390fd5b565b60026008541415612598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258f906141ac565b60405180910390fd5b6002600881905550565b6000826125af8584612977565b1490509392505050565b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260891906139db565b925050819055505050565b61262d8282604051806020016040528060008152506129cd565b5050565b6001600881905550565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261272761232f565b8786866040518563ffffffff1660e01b81526004016127499493929190614221565b602060405180830381600087803b15801561276357600080fd5b505af192505050801561279457506040513d601f19601f820116820180604052508101906127919190614282565b60015b61280e573d80600081146127c4576040519150601f19603f3d011682016040523d82523d6000602084013e6127c9565b606091505b50600081511415612806576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000818310156128715781612873565b825b905092915050565b60606012805461288a9061368f565b80601f01602080910402602001604051908101604052809291908181526020018280546128b69061368f565b80156129035780601f106128d857610100808354040283529160200191612903565b820191906000526020600020905b8154815290600101906020018083116128e657829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561295157600184039350600a81066030018453600a810490508061294c57612951565b612926565b50828103602084039350808452505050919050565b60009392505050565b600033905090565b60008082905060005b84518110156129c2576129ad828683815181106129a05761299f6142af565b5b6020026020010151612a6a565b915080806129ba90613ff5565b915050612980565b508091505092915050565b6129d78383612a95565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612a6557600080549050600083820390505b612a176000868380600101945086612701565b612a4d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a04578160005414612a6257600080fd5b50505b505050565b6000818310612a8257612a7d8284612c52565b612a8d565b612a8c8383612c52565b5b905092915050565b6000805490506000821415612ad6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ae36000848385612475565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b5a83612b4b600086600061247b565b612b5485612c69565b176124a3565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612bfb57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612bc0565b506000821415612c37576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c4d60008483856124ce565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b828054612c859061368f565b90600052602060002090601f016020900481019282612ca75760008555612cee565b82601f10612cc057805160ff1916838001178555612cee565b82800160010185558215612cee579182015b82811115612ced578251825591602001919060010190612cd2565b5b509050612cfb9190612cff565b5090565b5b80821115612d18576000816000905550600101612d00565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6581612d30565b8114612d7057600080fd5b50565b600081359050612d8281612d5c565b92915050565b600060208284031215612d9e57612d9d612d26565b5b6000612dac84828501612d73565b91505092915050565b60008115159050919050565b612dca81612db5565b82525050565b6000602082019050612de56000830184612dc1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e25578082015181840152602081019050612e0a565b83811115612e34576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e5682612deb565b612e608185612df6565b9350612e70818560208601612e07565b612e7981612e3a565b840191505092915050565b60006020820190508181036000830152612e9e8184612e4b565b905092915050565b6000819050919050565b612eb981612ea6565b8114612ec457600080fd5b50565b600081359050612ed681612eb0565b92915050565b600060208284031215612ef257612ef1612d26565b5b6000612f0084828501612ec7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f3482612f09565b9050919050565b612f4481612f29565b82525050565b6000602082019050612f5f6000830184612f3b565b92915050565b612f6e81612f29565b8114612f7957600080fd5b50565b600081359050612f8b81612f65565b92915050565b60008060408385031215612fa857612fa7612d26565b5b6000612fb685828601612f7c565b9250506020612fc785828601612ec7565b9150509250929050565b612fda81612ea6565b82525050565b6000602082019050612ff56000830184612fd1565b92915050565b60008060006060848603121561301457613013612d26565b5b600061302286828701612f7c565b935050602061303386828701612f7c565b925050604061304486828701612ec7565b9150509250925092565b6000819050919050565b6130618161304e565b811461306c57600080fd5b50565b60008135905061307e81613058565b92915050565b60006020828403121561309a57613099612d26565b5b60006130a88482850161306f565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6130ee82612e3a565b810181811067ffffffffffffffff8211171561310d5761310c6130b6565b5b80604052505050565b6000613120612d1c565b905061312c82826130e5565b919050565b600067ffffffffffffffff82111561314c5761314b6130b6565b5b602082029050602081019050919050565b600080fd5b600061317561317084613131565b613116565b905080838252602082019050602084028301858111156131985761319761315d565b5b835b818110156131c157806131ad888261306f565b84526020840193505060208101905061319a565b5050509392505050565b600082601f8301126131e0576131df6130b1565b5b81356131f0848260208601613162565b91505092915050565b600080fd5b600067ffffffffffffffff821115613219576132186130b6565b5b61322282612e3a565b9050602081019050919050565b82818337600083830152505050565b600061325161324c846131fe565b613116565b90508281526020810184848401111561326d5761326c6131f9565b5b61327884828561322f565b509392505050565b600082601f830112613295576132946130b1565b5b81356132a584826020860161323e565b91505092915050565b600080604083850312156132c5576132c4612d26565b5b600083013567ffffffffffffffff8111156132e3576132e2612d2b565b5b6132ef858286016131cb565b925050602083013567ffffffffffffffff8111156133105761330f612d2b565b5b61331c85828601613280565b9150509250929050565b60008060006060848603121561333f5761333e612d26565b5b600084013567ffffffffffffffff81111561335d5761335c612d2b565b5b613369868287016131cb565b935050602061337a86828701612ec7565b925050604084013567ffffffffffffffff81111561339b5761339a612d2b565b5b6133a786828701613280565b9150509250925092565b6133ba81612db5565b81146133c557600080fd5b50565b6000813590506133d7816133b1565b92915050565b6000602082840312156133f3576133f2612d26565b5b6000613401848285016133c8565b91505092915050565b6000602082840312156134205761341f612d26565b5b600082013567ffffffffffffffff81111561343e5761343d612d2b565b5b61344a84828501613280565b91505092915050565b60006020828403121561346957613468612d26565b5b600061347784828501612f7c565b91505092915050565b600061348b82612f09565b9050919050565b61349b81613480565b82525050565b60006020820190506134b66000830184613492565b92915050565b600080604083850312156134d3576134d2612d26565b5b60006134e185828601612f7c565b92505060206134f2858286016133c8565b9150509250929050565b600067ffffffffffffffff821115613517576135166130b6565b5b61352082612e3a565b9050602081019050919050565b600061354061353b846134fc565b613116565b90508281526020810184848401111561355c5761355b6131f9565b5b61356784828561322f565b509392505050565b600082601f830112613584576135836130b1565b5b813561359484826020860161352d565b91505092915050565b600080600080608085870312156135b7576135b6612d26565b5b60006135c587828801612f7c565b94505060206135d687828801612f7c565b93505060406135e787828801612ec7565b925050606085013567ffffffffffffffff81111561360857613607612d2b565b5b6136148782880161356f565b91505092959194509250565b6000806040838503121561363757613636612d26565b5b600061364585828601612f7c565b925050602061365685828601612f7c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806136a757607f821691505b602082108114156136bb576136ba613660565b5b50919050565b600081905092915050565b50565b60006136dc6000836136c1565b91506136e7826136cc565b600082019050919050565b60006136fd826136cf565b9150819050919050565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b600061373d601683612df6565b915061374882613707565b602082019050919050565b6000602082019050818103600083015261376c81613730565b9050919050565b60008160601b9050919050565b600061378b82613773565b9050919050565b600061379d82613780565b9050919050565b6137b56137b082612f29565b613792565b82525050565b60006137c782846137a4565b60148201915081905092915050565b7f57686974656c6973742076616c69646174696f6e206661696c65640000000000600082015250565b600061380c601b83612df6565b9150613817826137d6565b602082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b600081905092915050565b600061385882612deb565b6138628185613842565b9350613872818560208601612e07565b80840191505092915050565b600061388a828461384d565b915081905092915050565b60008190508160005260206000209050919050565b600081546138b78161368f565b6138c18186613842565b945060018216600081146138dc57600181146138ed57613920565b60ff19831686528186019350613920565b6138f685613895565b60005b83811015613918578154818901526001820191506020810190506138f9565b838801955050505b50505092915050565b600061393582846138aa565b915081905092915050565b7f4b6579206572726f720000000000000000000000000000000000000000000000600082015250565b6000613976600983612df6565b915061398182613940565b602082019050919050565b600060208201905081810360008301526139a581613969565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139e682612ea6565b91506139f183612ea6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a2657613a256139ac565b5b828201905092915050565b7f43616e2774206d696e74206d6f7265207468616e20574c20737570706c790000600082015250565b6000613a67601e83612df6565b9150613a7282613a31565b602082019050919050565b60006020820190508181036000830152613a9681613a5a565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e206d617820737570706c7900600082015250565b6000613ad3601f83612df6565b9150613ade82613a9d565b602082019050919050565b60006020820190508181036000830152613b0281613ac6565b9050919050565b6000613b1482612ea6565b9150613b1f83612ea6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b5857613b576139ac565b5b828202905092915050565b7f57726f6e6720616d6f756e74206f66204554482073656e740000000000000000600082015250565b6000613b99601883612df6565b9150613ba482613b63565b602082019050919050565b60006020820190508181036000830152613bc881613b8c565b9050919050565b7f4d696e74696e67206c696d697420657863656564656400000000000000000000600082015250565b6000613c05601683612df6565b9150613c1082613bcf565b602082019050919050565b60006020820190508181036000830152613c3481613bf8565b9050919050565b7f5649504c6973742069736e277420616374697665000000000000000000000000600082015250565b6000613c71601483612df6565b9150613c7c82613c3b565b602082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b7f5649504c6973742076616c69646174696f6e206661696c656400000000000000600082015250565b6000613cdd601983612df6565b9150613ce882613ca7565b602082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f43616e2774206d696e74206c657373207468616e206f6e650000000000000000600082015250565b6000613d49601883612df6565b9150613d5482613d13565b602082019050919050565b60006020820190508181036000830152613d7881613d3c565b9050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b6000613db5601d83612df6565b9150613dc082613d7f565b602082019050919050565b60006020820190508181036000830152613de481613da8565b9050919050565b7f43616e27742072657365727665206d6f7265207468616e2073657420616d6f7560008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e47602283612df6565b9150613e5282613deb565b604082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b6000613e8882612ea6565b9150613e9383612ea6565b925082821015613ea657613ea56139ac565b5b828203905092915050565b7f53616c652069736e277420616374697665000000000000000000000000000000600082015250565b6000613ee7601183612df6565b9150613ef282613eb1565b602082019050919050565b60006020820190508181036000830152613f1681613eda565b9050919050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b6000613f53600883612df6565b9150613f5e82613f1d565b602082019050919050565b60006020820190508181036000830152613f8281613f46565b9050919050565b7f457863656564204d61782057616c6c6574000000000000000000000000000000600082015250565b6000613fbf601183612df6565b9150613fca82613f89565b602082019050919050565b60006020820190508181036000830152613fee81613fb2565b9050919050565b600061400082612ea6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614033576140326139ac565b5b600182019050919050565b600061404a828561384d565b9150614056828461384d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140be602683612df6565b91506140c982614062565b604082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061412a602083612df6565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614196601f83612df6565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006141f3826141cc565b6141fd81856141d7565b935061420d818560208601612e07565b61421681612e3a565b840191505092915050565b60006080820190506142366000830187612f3b565b6142436020830186612f3b565b6142506040830185612fd1565b818103606083015261426281846141e8565b905095945050505050565b60008151905061427c81612d5c565b92915050565b60006020828403121561429857614297612d26565b5b60006142a68482850161426d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122096029bb6af6aee10a347edb8c0b4e492328e04ca1a196b15ce9b259a92de204064736f6c63430008090033
Deployed Bytecode Sourcemap
130015:8236:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27129:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130290:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28031:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34522:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33955:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23782:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130332:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38161:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;136936:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131140:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;138015:229;;;;;;;;;;;;;:::i;:::-;;132864:1181;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41082:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;134129:1308;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;137597:79;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;137738:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29424:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130253:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;137909:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24966:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91327:103;;;;;;;;;;;;;:::i;:::-;;137504:85;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130680:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130368:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90679:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;137322:81;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131243:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28207:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;136414:397;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;135532:744;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35080:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41873:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131408:366;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130599:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;137140:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130841:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28417:318;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132031:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131187:49;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;136821:107;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35471:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131075:46;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;91585:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130506:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;27129:639;27214:4;27553:10;27538:25;;:11;:25;;;;:102;;;;27630:10;27615:25;;:11;:25;;;;27538:102;:179;;;;27707:10;27692:25;;:11;:25;;;;27538:179;27518:199;;27129:639;;;:::o;130290:35::-;;;;;;;;;;;;;:::o;28031:100::-;28085:13;28118:5;28111:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28031:100;:::o;34522:218::-;34598:7;34623:16;34631:7;34623;:16::i;:::-;34618:64;;34648:34;;;;;;;;;;;;;;34618:64;34702:15;:24;34718:7;34702:24;;;;;;;;;;;:30;;;;;;;;;;;;34695:37;;34522:218;;;:::o;33955:408::-;34044:13;34060:16;34068:7;34060;:16::i;:::-;34044:32;;34116:5;34093:28;;:19;:17;:19::i;:::-;:28;;;34089:175;;34141:44;34158:5;34165:19;:17;:19::i;:::-;34141:16;:44::i;:::-;34136:128;;34213:35;;;;;;;;;;;;;;34136:128;34089:175;34309:2;34276:15;:24;34292:7;34276:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;34347:7;34343:2;34327:28;;34336:5;34327:28;;;;;;;;;;;;34033:330;33955:408;;:::o;23782:323::-;23843:7;24071:15;:13;:15::i;:::-;24056:12;;24040:13;;:28;:46;24033:53;;23782:323;:::o;130332:29::-;;;;;;;;;;;;;:::o;38161:2825::-;38303:27;38333;38352:7;38333:18;:27::i;:::-;38303:57;;38418:4;38377:45;;38393:19;38377:45;;;38373:86;;38431:28;;;;;;;;;;;;;;38373:86;38473:27;38502:23;38529:35;38556:7;38529:26;:35::i;:::-;38472:92;;;;38664:68;38689:15;38706:4;38712:19;:17;:19::i;:::-;38664:24;:68::i;:::-;38659:180;;38752:43;38769:4;38775:19;:17;:19::i;:::-;38752:16;:43::i;:::-;38747:92;;38804:35;;;;;;;;;;;;;;38747:92;38659:180;38870:1;38856:16;;:2;:16;;;38852:52;;;38881:23;;;;;;;;;;;;;;38852:52;38917:43;38939:4;38945:2;38949:7;38958:1;38917:21;:43::i;:::-;39053:15;39050:160;;;39193:1;39172:19;39165:30;39050:160;39590:18;:24;39609:4;39590:24;;;;;;;;;;;;;;;;39588:26;;;;;;;;;;;;39659:18;:22;39678:2;39659:22;;;;;;;;;;;;;;;;39657:24;;;;;;;;;;;39981:146;40018:2;40067:45;40082:4;40088:2;40092:19;40067:14;:45::i;:::-;20181:8;40039:73;39981:18;:146::i;:::-;39952:17;:26;39970:7;39952:26;;;;;;;;;;;:175;;;;40298:1;20181:8;40247:19;:47;:52;40243:627;;;40320:19;40352:1;40342:7;:11;40320:33;;40509:1;40475:17;:30;40493:11;40475:30;;;;;;;;;;;;:35;40471:384;;;40613:13;;40598:11;:28;40594:242;;40793:19;40760:17;:30;40778:11;40760:30;;;;;;;;;;;:52;;;;40594:242;40471:384;40301:569;40243:627;40917:7;40913:2;40898:27;;40907:4;40898:27;;;;;;;;;;;;40936:42;40957:4;40963:2;40967:7;40976:1;40936:20;:42::i;:::-;38292:2694;;;38161:2825;;;:::o;136936:104::-;90565:13;:11;:13::i;:::-;137027:5:::1;137001:23;:31;;;;136936:104:::0;:::o;131140:40::-;131177:3;131140:40;:::o;138015:229::-;90565:13;:11;:13::i;:::-;138066:7:::1;138087;:5;:7::i;:::-;138079:21;;138108;138079:55;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;138065:69;;;138149:2;138141:11;;;::::0;::::1;;138052:192;138015:229::o:0;132864:1181::-;63975:21;:19;:21::i;:::-;132971:16:::1;132990:1;132971:20;;133002:14;133019:13;:11;:13::i;:::-;133002:30;;133052:15;;;;;;;;;;;133043:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;133146:154;133183:5;133207:20;;133273:10;133256:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;133246:39;;;;;;133146:18;:154::i;:::-;133124:231;;;;;;;;;;;;:::i;:::-;;;;;;;;;133444:5;133427:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;133417:34;;;;;;133402:9;133385:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;133375:38;;;;;;:76;133366:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;133580:8;133571:6;:17;;;;:::i;:::-;:31;;133562:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;133670:8;133661:6;:17;;;;:::i;:::-;:31;;133652:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;133778:8;133765:10;;:21;;;;:::i;:::-;133752:9;:34;133743:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;133868:1;133836:28;133853:10;133836:16;:28::i;:::-;:33;133832:153;;133882:30;133898:10;133910:1;133882:15;:30::i;:::-;133832:153;;;133941:32;;;;;;;;;;:::i;:::-;;;;;;;;133832:153;133995:32;134006:10;134018:8;133995:9;:32::i;:::-;132960:1085;;64019:20:::0;:18;:20::i;:::-;132864:1181;;:::o;41082:193::-;41228:39;41245:4;41251:2;41255:7;41228:39;;;;;;;;;;;;:16;:39::i;:::-;41082:193;;;:::o;134129:1308::-;63975:21;:19;:21::i;:::-;134252:14:::1;134269:13;:11;:13::i;:::-;134252:30;;134302:15;;;;;;;;;;;134293:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;134394:157;134431:5;134455:23;;134524:10;134507:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;134497:39;;;;;;134394:18;:157::i;:::-;134372:232;;;;;;;;;;;;:::i;:::-;;;;;;;;;134693:5;134676:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;134666:34;;;;;;134651:9;134634:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;134624:38;;;;;;:76;134615:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;134831:1;134820:8;:12;134811:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;134905:1;134893:8;:13;;134884:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;134981:8;134972:6;:17;;;;:::i;:::-;:31;;134963:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;135072:8;135063:6;:17;;;;:::i;:::-;:31;;135054:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;135180:8;135167:10;;:21;;;;:::i;:::-;135154:9;:34;135145:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;135270:1;135238:28;135255:10;135238:16;:28::i;:::-;:33;135234:153;;135284:30;135300:10;135312:1;135284:15;:30::i;:::-;135234:153;;;135343:32;;;;;;;;;;:::i;:::-;;;;;;;;135234:153;135397:32;135408:10;135420:8;135397:9;:32::i;:::-;134241:1196;64019:20:::0;:18;:20::i;:::-;134129:1308;;;:::o;137597:79::-;90565:13;:11;:13::i;:::-;137665:3:::1;137655:7;;:13;;;;;;;;;;;;;;;;;;137597:79:::0;:::o;137738:101::-;90565:13;:11;:13::i;:::-;137824:7:::1;137809:12;:22;;;;;;;;;;;;:::i;:::-;;137738:101:::0;:::o;29424:152::-;29496:7;29539:27;29558:7;29539:18;:27::i;:::-;29516:52;;29424:152;;;:::o;130253:30::-;;;;;;;;;;;;;:::o;137909:98::-;90565:13;:11;:13::i;:::-;137993:6:::1;137981:9;:18;;;;;;;;;;;;:::i;:::-;;137909:98:::0;:::o;24966:233::-;25038:7;25079:1;25062:19;;:5;:19;;;25058:60;;;25090:28;;;;;;;;;;;;;;25058:60;19125:13;25136:18;:25;25155:5;25136:25;;;;;;;;;;;;;;;;:55;25129:62;;24966:233;;;:::o;91327:103::-;90565:13;:11;:13::i;:::-;91392:30:::1;91419:1;91392:18;:30::i;:::-;91327:103::o:0;137504:85::-;90565:13;:11;:13::i;:::-;137578:3:::1;137565:10;;:16;;;;;;;;;;;;;;;;;;137504:85:::0;:::o;130680:37::-;;;;;;;;;;;;;:::o;130368:27::-;;;;;;;;;;;;;:::o;90679:87::-;90725:7;90752:6;;;;;;;;;;;90745:13;;90679:87;:::o;137322:81::-;90565:13;:11;:13::i;:::-;137392:3:::1;137380:9;;:15;;;;;;;;;;;;;;;;;;137322:81:::0;:::o;131243:40::-;131282:1;131243:40;:::o;28207:104::-;28263:13;28296:7;28289:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28207:104;:::o;136414:397::-;90565:13;:11;:13::i;:::-;136527:14:::1;136544:13;:11;:13::i;:::-;136527:30;;136589:8;;136577;:20;;136568:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;136666:8;136657:6;:17;;;;:::i;:::-;:31;;136648:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;136751:8;136739;;:20;;;;;;;:::i;:::-;;;;;;;;136770:33;136781:10;136793:8;136770:9;:33::i;:::-;136471:340;136414:397:::0;:::o;135532:744::-;63975:21;:19;:21::i;:::-;135623:1:::1;135612:8;:12;135603:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;135697:1;135685:8;:13;;135676:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;135764:7;;;;;;;;;;;135755:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;135853:10;;135842:8;:21;;;;:::i;:::-;135829:9;:34;135820:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;131177:3;135931:8;131282:1;135916:23;;;;:::i;:::-;:37;;135907:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;131235:1;136025:8;135999:11;:23;136011:10;135999:23;;;;;;;;;;;;;;;;:34;;;;:::i;:::-;:59;;135977:126;;;;;;;;;;;;:::i;:::-;;;;;;;;;136121:9;136116:151;136140:8;136136:1;:12;136116:151;;;136170:18;136206:1;131282;136191:16;;;;:::i;:::-;136170:37;;136222:33;136232:10;136244;136222:9;:33::i;:::-;136155:112;136150:3;;;;;:::i;:::-;;;;136116:151;;;;64019:20:::0;:18;:20::i;:::-;135532:744;:::o;35080:234::-;35227:8;35175:18;:39;35194:19;:17;:19::i;:::-;35175:39;;;;;;;;;;;;;;;:49;35215:8;35175:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;35287:8;35251:55;;35266:19;:17;:19::i;:::-;35251:55;;;35297:8;35251:55;;;;;;:::i;:::-;;;;;;;;35080:234;;:::o;41873:407::-;42048:31;42061:4;42067:2;42071:7;42048:12;:31::i;:::-;42112:1;42094:2;:14;;;:19;42090:183;;42133:56;42164:4;42170:2;42174:7;42183:5;42133:30;:56::i;:::-;42128:145;;42217:40;;;;;;;;;;;;;;42128:145;42090:183;41873:407;;;;:::o;131408:366::-;131471:7;131495:10;;;;;;;;;;;:21;;;;131509:7;;;;;;;;;;;131495:21;:40;;;;131520:15;;;;;;;;;;;131495:40;:53;;;;131539:9;;;;;;;;;;;131495:53;131491:206;;;131654:12;:20;131667:6;131654:20;;;;;;;;;;;;;;;;131583:55;131587:19;:27;131607:6;131587:27;;;;;;;;;;;;;;;;131235:1;131583:3;:55::i;:::-;:91;;;;:::i;:::-;131561:124;;;;131491:206;131746:12;:20;131759:6;131746:20;;;;;;;;;;;;;;;;131716:19;:27;131736:6;131716:27;;;;;;;;;;;;;;;;:50;;;;:::i;:::-;131709:57;;131408:366;;;;:::o;130599:39::-;;;;:::o;137140:95::-;90565:13;:11;:13::i;:::-;137224:3:::1;137206:15;;:21;;;;;;;;;;;;;;;;;;137140:95:::0;:::o;130841:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28417:318::-;28490:13;28521:16;28529:7;28521;:16::i;:::-;28516:59;;28546:29;;;;;;;;;;;;;;28516:59;28588:21;28612:10;:8;:10::i;:::-;28588:34;;28665:1;28646:7;28640:21;:26;;:87;;;;;;;;;;;;;;;;;28693:7;28702:18;28712:7;28702:9;:18::i;:::-;28676:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;28640:87;28633:94;;;28417:318;;;:::o;132031:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;131187:49::-;131235:1;131187:49;:::o;136821:107::-;90565:13;:11;:13::i;:::-;136915:5:::1;136892:20;:28;;;;136821:107:::0;:::o;35471:164::-;35568:4;35592:18;:25;35611:5;35592:25;;;;;;;;;;;;;;;:35;35618:8;35592:35;;;;;;;;;;;;;;;;;;;;;;;;;35585:42;;35471:164;;;;:::o;131075:46::-;;;;;;;;;;;;;;;;;:::o;91585:201::-;90565:13;:11;:13::i;:::-;91694:1:::1;91674:22;;:8;:22;;;;91666:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;91750:28;91769:8;91750:18;:28::i;:::-;91585:201:::0;:::o;130506:27::-;;;;:::o;35893:282::-;35958:4;36014:7;35995:15;:13;:15::i;:::-;:26;;:66;;;;;36048:13;;36038:7;:23;35995:66;:153;;;;;36147:1;19901:8;36099:17;:26;36117:7;36099:26;;;;;;;;;;;;:44;:49;35995:153;35975:173;;35893:282;;;:::o;58201:105::-;58261:7;58288:10;58281:17;;58201:105;:::o;23298:92::-;23354:7;23298:92;:::o;30579:1275::-;30646:7;30666:12;30681:7;30666:22;;30749:4;30730:15;:13;:15::i;:::-;:23;30726:1061;;30783:13;;30776:4;:20;30772:1015;;;30821:14;30838:17;:23;30856:4;30838:23;;;;;;;;;;;;30821:40;;30955:1;19901:8;30927:6;:24;:29;30923:845;;;31592:113;31609:1;31599:6;:11;31592:113;;;31652:17;:25;31670:6;;;;;;;31652:25;;;;;;;;;;;;31643:34;;31592:113;;;31738:6;31731:13;;;;;;30923:845;30798:989;30772:1015;30726:1061;31815:31;;;;;;;;;;;;;;30579:1275;;;;:::o;37056:485::-;37158:27;37187:23;37228:38;37269:15;:24;37285:7;37269:24;;;;;;;;;;;37228:65;;37446:18;37423:41;;37503:19;37497:26;37478:45;;37408:126;37056:485;;;:::o;36284:659::-;36433:11;36598:16;36591:5;36587:28;36578:37;;36758:16;36747:9;36743:32;36730:45;;36908:15;36897:9;36894:30;36886:5;36875:9;36872:20;36869:56;36859:66;;36284:659;;;;;:::o;42942:159::-;;;;;:::o;57510:311::-;57645:7;57665:16;20305:3;57691:19;:41;;57665:68;;20305:3;57759:31;57770:4;57776:2;57780:9;57759:10;:31::i;:::-;57751:40;;:62;;57744:69;;;57510:311;;;;;:::o;32402:450::-;32482:14;32650:16;32643:5;32639:28;32630:37;;32827:5;32813:11;32788:23;32784:41;32781:52;32774:5;32771:63;32761:73;;32402:450;;;;:::o;43766:158::-;;;;;:::o;90844:132::-;90919:12;:10;:12::i;:::-;90908:23;;:7;:5;:7::i;:::-;:23;;;90900:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;90844:132::o;64055:293::-;63457:1;64189:7;;:19;;64181:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;63457:1;64322:7;:18;;;;64055:293::o;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;1361:40;;1219:190;;;;;:::o;131782:112::-;131881:5;131857:12;:20;131870:6;131857:20;;;;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;;;;;;;;131782:112;;:::o;52033:::-;52110:27;52120:2;52124:8;52110:27;;;;;;;;;;;;:9;:27::i;:::-;52033:112;;:::o;64356:213::-;63413:1;64539:7;:22;;;;64356:213::o;91946:191::-;92020:16;92039:6;;;;;;;;;;;92020:25;;92065:8;92056:6;;:17;;;;;;;;;;;;;;;;;;92120:8;92089:40;;92110:8;92089:40;;;;;;;;;;;;92009:128;91946:191;:::o;44364:716::-;44527:4;44573:2;44548:45;;;44594:19;:17;:19::i;:::-;44615:4;44621:7;44630:5;44548:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;44544:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44848:1;44831:6;:13;:18;44827:235;;;44877:40;;;;;;;;;;;;;;44827:235;45020:6;45014:13;45005:6;45001:2;44997:15;44990:38;44544:529;44717:54;;;44707:64;;;:6;:64;;;;44700:71;;;44364:716;;;;;;:::o;131298:102::-;131355:7;131383:1;131378;:6;;:14;;131391:1;131378:14;;;131387:1;131378:14;131371:21;;131298:102;;;;:::o;132629:113::-;132689:13;132722:12;132715:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;132629:113;:::o;58408:1745::-;58473:17;58907:4;58900;58894:11;58890:22;58999:1;58993:4;58986:15;59074:4;59071:1;59067:12;59060:19;;59156:1;59151:3;59144:14;59260:3;59499:5;59481:428;59507:1;59481:428;;;59547:1;59542:3;59538:11;59531:18;;59718:2;59712:4;59708:13;59704:2;59700:22;59695:3;59687:36;59812:2;59806:4;59802:13;59794:21;;59879:4;59869:25;;59887:5;;59869:25;59481:428;;;59485:21;59948:3;59943;59939:13;60063:4;60058:3;60054:14;60047:21;;60128:6;60123:3;60116:19;58512:1634;;;58408:1745;;;:::o;57211:147::-;57348:6;57211:147;;;;;:::o;89230:98::-;89283:7;89310:10;89303:17;;89230:98;:::o;2086:296::-;2169:7;2189:20;2212:4;2189:27;;2232:9;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;;2300:9;:33::i;:::-;2285:48;;2265:3;;;;;:::i;:::-;;;;2227:118;;;;2362:12;2355:19;;;2086:296;;;;:::o;51260:689::-;51391:19;51397:2;51401:8;51391:5;:19::i;:::-;51470:1;51452:2;:14;;;:19;51448:483;;51492:11;51506:13;;51492:27;;51538:13;51560:8;51554:3;:14;51538:30;;51587:233;51618:62;51657:1;51661:2;51665:7;;;;;;51674:5;51618:30;:62::i;:::-;51613:167;;51716:40;;;;;;;;;;;;;;51613:167;51815:3;51807:5;:11;51587:233;;51902:3;51885:13;;:20;51881:34;;51907:8;;;51881:34;51473:458;;51448:483;51260:689;;;:::o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8414:20;8429:1;8432;8414:14;:20::i;:::-;8383:51;;;8391:20;8406:1;8409;8391:14;:20::i;:::-;8383:51;8376:58;;8293:149;;;;:::o;45542:2966::-;45615:20;45638:13;;45615:36;;45678:1;45666:8;:13;45662:44;;;45688:18;;;;;;;;;;;;;;45662:44;45719:61;45749:1;45753:2;45757:12;45771:8;45719:21;:61::i;:::-;46263:1;19263:2;46233:1;:26;;46232:32;46220:8;:45;46194:18;:22;46213:2;46194:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;46542:139;46579:2;46633:33;46656:1;46660:2;46664:1;46633:14;:33::i;:::-;46600:30;46621:8;46600:20;:30::i;:::-;:66;46542:18;:139::i;:::-;46508:17;:31;46526:12;46508:31;;;;;;;;;;;:173;;;;46698:16;46729:11;46758:8;46743:12;:23;46729:37;;47279:16;47275:2;47271:25;47259:37;;47651:12;47611:8;47570:1;47508:25;47449:1;47388;47361:335;48022:1;48008:12;48004:20;47962:346;48063:3;48054:7;48051:16;47962:346;;48281:7;48271:8;48268:1;48241:25;48238:1;48235;48230:59;48116:1;48107:7;48103:15;48092:26;;47962:346;;;47966:77;48353:1;48341:8;:13;48337:45;;;48363:19;;;;;;;;;;;;;;48337:45;48415:3;48399:13;:19;;;;45968:2462;;48440:60;48469:1;48473:2;48477:12;48491:8;48440:20;:60::i;:::-;45604:2904;45542:2966;;:::o;8450:268::-;8518:13;8625:1;8619:4;8612:15;8654:1;8648:4;8641:15;8695:4;8689;8679:21;8670:30;;8450:268;;;;:::o;32954:324::-;33024:14;33257:1;33247:8;33244:15;33218:24;33214:46;33204:56;;32954:324;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:1:-;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:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:619::-;5367:6;5375;5383;5432:2;5420:9;5411:7;5407:23;5403:32;5400:119;;;5438:79;;:::i;:::-;5400:119;5558:1;5583:53;5628:7;5619:6;5608:9;5604:22;5583:53;:::i;:::-;5573:63;;5529:117;5685:2;5711:53;5756:7;5747:6;5736:9;5732:22;5711:53;:::i;:::-;5701:63;;5656:118;5813:2;5839:53;5884:7;5875:6;5864:9;5860:22;5839:53;:::i;:::-;5829:63;;5784:118;5290:619;;;;;:::o;5915:77::-;5952:7;5981:5;5970:16;;5915:77;;;:::o;5998:122::-;6071:24;6089:5;6071:24;:::i;:::-;6064:5;6061:35;6051:63;;6110:1;6107;6100:12;6051:63;5998:122;:::o;6126:139::-;6172:5;6210:6;6197:20;6188:29;;6226:33;6253:5;6226:33;:::i;:::-;6126:139;;;;:::o;6271:329::-;6330:6;6379:2;6367:9;6358:7;6354:23;6350:32;6347:119;;;6385:79;;:::i;:::-;6347:119;6505:1;6530:53;6575:7;6566:6;6555:9;6551:22;6530:53;:::i;:::-;6520:63;;6476:117;6271:329;;;;:::o;6606:117::-;6715:1;6712;6705:12;6729:180;6777:77;6774:1;6767:88;6874:4;6871:1;6864:15;6898:4;6895:1;6888:15;6915:281;6998:27;7020:4;6998:27;:::i;:::-;6990:6;6986:40;7128:6;7116:10;7113:22;7092:18;7080:10;7077:34;7074:62;7071:88;;;7139:18;;:::i;:::-;7071:88;7179:10;7175:2;7168:22;6958:238;6915:281;;:::o;7202:129::-;7236:6;7263:20;;:::i;:::-;7253:30;;7292:33;7320:4;7312:6;7292:33;:::i;:::-;7202:129;;;:::o;7337:311::-;7414:4;7504:18;7496:6;7493:30;7490:56;;;7526:18;;:::i;:::-;7490:56;7576:4;7568:6;7564:17;7556:25;;7636:4;7630;7626:15;7618:23;;7337:311;;;:::o;7654:117::-;7763:1;7760;7753:12;7794:710;7890:5;7915:81;7931:64;7988:6;7931:64;:::i;:::-;7915:81;:::i;:::-;7906:90;;8016:5;8045:6;8038:5;8031:21;8079:4;8072:5;8068:16;8061:23;;8132:4;8124:6;8120:17;8112:6;8108:30;8161:3;8153:6;8150:15;8147:122;;;8180:79;;:::i;:::-;8147:122;8295:6;8278:220;8312:6;8307:3;8304:15;8278:220;;;8387:3;8416:37;8449:3;8437:10;8416:37;:::i;:::-;8411:3;8404:50;8483:4;8478:3;8474:14;8467:21;;8354:144;8338:4;8333:3;8329:14;8322:21;;8278:220;;;8282:21;7896:608;;7794:710;;;;;:::o;8527:370::-;8598:5;8647:3;8640:4;8632:6;8628:17;8624:27;8614:122;;8655:79;;:::i;:::-;8614:122;8772:6;8759:20;8797:94;8887:3;8879:6;8872:4;8864:6;8860:17;8797:94;:::i;:::-;8788:103;;8604:293;8527:370;;;;:::o;8903:117::-;9012:1;9009;9002:12;9026:308;9088:4;9178:18;9170:6;9167:30;9164:56;;;9200:18;;:::i;:::-;9164:56;9238:29;9260:6;9238:29;:::i;:::-;9230:37;;9322:4;9316;9312:15;9304:23;;9026:308;;;:::o;9340:154::-;9424:6;9419:3;9414;9401:30;9486:1;9477:6;9472:3;9468:16;9461:27;9340:154;;;:::o;9500:412::-;9578:5;9603:66;9619:49;9661:6;9619:49;:::i;:::-;9603:66;:::i;:::-;9594:75;;9692:6;9685:5;9678:21;9730:4;9723:5;9719:16;9768:3;9759:6;9754:3;9750:16;9747:25;9744:112;;;9775:79;;:::i;:::-;9744:112;9865:41;9899:6;9894:3;9889;9865:41;:::i;:::-;9584:328;9500:412;;;;;:::o;9932:340::-;9988:5;10037:3;10030:4;10022:6;10018:17;10014:27;10004:122;;10045:79;;:::i;:::-;10004:122;10162:6;10149:20;10187:79;10262:3;10254:6;10247:4;10239:6;10235:17;10187:79;:::i;:::-;10178:88;;9994:278;9932:340;;;;:::o;10278:864::-;10381:6;10389;10438:2;10426:9;10417:7;10413:23;10409:32;10406:119;;;10444:79;;:::i;:::-;10406:119;10592:1;10581:9;10577:17;10564:31;10622:18;10614:6;10611:30;10608:117;;;10644:79;;:::i;:::-;10608:117;10749:78;10819:7;10810:6;10799:9;10795:22;10749:78;:::i;:::-;10739:88;;10535:302;10904:2;10893:9;10889:18;10876:32;10935:18;10927:6;10924:30;10921:117;;;10957:79;;:::i;:::-;10921:117;11062:63;11117:7;11108:6;11097:9;11093:22;11062:63;:::i;:::-;11052:73;;10847:288;10278:864;;;;;:::o;11148:1009::-;11260:6;11268;11276;11325:2;11313:9;11304:7;11300:23;11296:32;11293:119;;;11331:79;;:::i;:::-;11293:119;11479:1;11468:9;11464:17;11451:31;11509:18;11501:6;11498:30;11495:117;;;11531:79;;:::i;:::-;11495:117;11636:78;11706:7;11697:6;11686:9;11682:22;11636:78;:::i;:::-;11626:88;;11422:302;11763:2;11789:53;11834:7;11825:6;11814:9;11810:22;11789:53;:::i;:::-;11779:63;;11734:118;11919:2;11908:9;11904:18;11891:32;11950:18;11942:6;11939:30;11936:117;;;11972:79;;:::i;:::-;11936:117;12077:63;12132:7;12123:6;12112:9;12108:22;12077:63;:::i;:::-;12067:73;;11862:288;11148:1009;;;;;:::o;12163:116::-;12233:21;12248:5;12233:21;:::i;:::-;12226:5;12223:32;12213:60;;12269:1;12266;12259:12;12213:60;12163:116;:::o;12285:133::-;12328:5;12366:6;12353:20;12344:29;;12382:30;12406:5;12382:30;:::i;:::-;12285:133;;;;:::o;12424:323::-;12480:6;12529:2;12517:9;12508:7;12504:23;12500:32;12497:119;;;12535:79;;:::i;:::-;12497:119;12655:1;12680:50;12722:7;12713:6;12702:9;12698:22;12680:50;:::i;:::-;12670:60;;12626:114;12424:323;;;;:::o;12753:509::-;12822:6;12871:2;12859:9;12850:7;12846:23;12842:32;12839:119;;;12877:79;;:::i;:::-;12839:119;13025:1;13014:9;13010:17;12997:31;13055:18;13047:6;13044:30;13041:117;;;13077:79;;:::i;:::-;13041:117;13182:63;13237:7;13228:6;13217:9;13213:22;13182:63;:::i;:::-;13172:73;;12968:287;12753:509;;;;:::o;13268:329::-;13327:6;13376:2;13364:9;13355:7;13351:23;13347:32;13344:119;;;13382:79;;:::i;:::-;13344:119;13502:1;13527:53;13572:7;13563:6;13552:9;13548:22;13527:53;:::i;:::-;13517:63;;13473:117;13268:329;;;;:::o;13603:104::-;13648:7;13677:24;13695:5;13677:24;:::i;:::-;13666:35;;13603:104;;;:::o;13713:142::-;13816:32;13842:5;13816:32;:::i;:::-;13811:3;13804:45;13713:142;;:::o;13861:254::-;13970:4;14008:2;13997:9;13993:18;13985:26;;14021:87;14105:1;14094:9;14090:17;14081:6;14021:87;:::i;:::-;13861:254;;;;:::o;14121:468::-;14186:6;14194;14243:2;14231:9;14222:7;14218:23;14214:32;14211:119;;;14249:79;;:::i;:::-;14211:119;14369:1;14394:53;14439:7;14430:6;14419:9;14415:22;14394:53;:::i;:::-;14384:63;;14340:117;14496:2;14522:50;14564:7;14555:6;14544:9;14540:22;14522:50;:::i;:::-;14512:60;;14467:115;14121:468;;;;;:::o;14595:307::-;14656:4;14746:18;14738:6;14735:30;14732:56;;;14768:18;;:::i;:::-;14732:56;14806:29;14828:6;14806:29;:::i;:::-;14798:37;;14890:4;14884;14880:15;14872:23;;14595:307;;;:::o;14908:410::-;14985:5;15010:65;15026:48;15067:6;15026:48;:::i;:::-;15010:65;:::i;:::-;15001:74;;15098:6;15091:5;15084:21;15136:4;15129:5;15125:16;15174:3;15165:6;15160:3;15156:16;15153:25;15150:112;;;15181:79;;:::i;:::-;15150:112;15271:41;15305:6;15300:3;15295;15271:41;:::i;:::-;14991:327;14908:410;;;;;:::o;15337:338::-;15392:5;15441:3;15434:4;15426:6;15422:17;15418:27;15408:122;;15449:79;;:::i;:::-;15408:122;15566:6;15553:20;15591:78;15665:3;15657:6;15650:4;15642:6;15638:17;15591:78;:::i;:::-;15582:87;;15398:277;15337:338;;;;:::o;15681:943::-;15776:6;15784;15792;15800;15849:3;15837:9;15828:7;15824:23;15820:33;15817:120;;;15856:79;;:::i;:::-;15817:120;15976:1;16001:53;16046:7;16037:6;16026:9;16022:22;16001:53;:::i;:::-;15991:63;;15947:117;16103:2;16129:53;16174:7;16165:6;16154:9;16150:22;16129:53;:::i;:::-;16119:63;;16074:118;16231:2;16257:53;16302:7;16293:6;16282:9;16278:22;16257:53;:::i;:::-;16247:63;;16202:118;16387:2;16376:9;16372:18;16359:32;16418:18;16410:6;16407:30;16404:117;;;16440:79;;:::i;:::-;16404:117;16545:62;16599:7;16590:6;16579:9;16575:22;16545:62;:::i;:::-;16535:72;;16330:287;15681:943;;;;;;;:::o;16630:474::-;16698:6;16706;16755:2;16743:9;16734:7;16730:23;16726:32;16723:119;;;16761:79;;:::i;:::-;16723:119;16881:1;16906:53;16951:7;16942:6;16931:9;16927:22;16906:53;:::i;:::-;16896:63;;16852:117;17008:2;17034:53;17079:7;17070:6;17059:9;17055:22;17034:53;:::i;:::-;17024:63;;16979:118;16630:474;;;;;:::o;17110:180::-;17158:77;17155:1;17148:88;17255:4;17252:1;17245:15;17279:4;17276:1;17269:15;17296:320;17340:6;17377:1;17371:4;17367:12;17357:22;;17424:1;17418:4;17414:12;17445:18;17435:81;;17501:4;17493:6;17489:17;17479:27;;17435:81;17563:2;17555:6;17552:14;17532:18;17529:38;17526:84;;;17582:18;;:::i;:::-;17526:84;17347:269;17296:320;;;:::o;17622:147::-;17723:11;17760:3;17745:18;;17622:147;;;;:::o;17775:114::-;;:::o;17895:398::-;18054:3;18075:83;18156:1;18151:3;18075:83;:::i;:::-;18068:90;;18167:93;18256:3;18167:93;:::i;:::-;18285:1;18280:3;18276:11;18269:18;;17895:398;;;:::o;18299:379::-;18483:3;18505:147;18648:3;18505:147;:::i;:::-;18498:154;;18669:3;18662:10;;18299:379;;;:::o;18684:172::-;18824:24;18820:1;18812:6;18808:14;18801:48;18684:172;:::o;18862:366::-;19004:3;19025:67;19089:2;19084:3;19025:67;:::i;:::-;19018:74;;19101:93;19190:3;19101:93;:::i;:::-;19219:2;19214:3;19210:12;19203:19;;18862:366;;;:::o;19234:419::-;19400:4;19438:2;19427:9;19423:18;19415:26;;19487:9;19481:4;19477:20;19473:1;19462:9;19458:17;19451:47;19515:131;19641:4;19515:131;:::i;:::-;19507:139;;19234:419;;;:::o;19659:94::-;19692:8;19740:5;19736:2;19732:14;19711:35;;19659:94;;;:::o;19759:::-;19798:7;19827:20;19841:5;19827:20;:::i;:::-;19816:31;;19759:94;;;:::o;19859:100::-;19898:7;19927:26;19947:5;19927:26;:::i;:::-;19916:37;;19859:100;;;:::o;19965:157::-;20070:45;20090:24;20108:5;20090:24;:::i;:::-;20070:45;:::i;:::-;20065:3;20058:58;19965:157;;:::o;20128:256::-;20240:3;20255:75;20326:3;20317:6;20255:75;:::i;:::-;20355:2;20350:3;20346:12;20339:19;;20375:3;20368:10;;20128:256;;;;:::o;20390:177::-;20530:29;20526:1;20518:6;20514:14;20507:53;20390:177;:::o;20573:366::-;20715:3;20736:67;20800:2;20795:3;20736:67;:::i;:::-;20729:74;;20812:93;20901:3;20812:93;:::i;:::-;20930:2;20925:3;20921:12;20914:19;;20573:366;;;:::o;20945:419::-;21111:4;21149:2;21138:9;21134:18;21126:26;;21198:9;21192:4;21188:20;21184:1;21173:9;21169:17;21162:47;21226:131;21352:4;21226:131;:::i;:::-;21218:139;;20945:419;;;:::o;21370:148::-;21472:11;21509:3;21494:18;;21370:148;;;;:::o;21524:377::-;21630:3;21658:39;21691:5;21658:39;:::i;:::-;21713:89;21795:6;21790:3;21713:89;:::i;:::-;21706:96;;21811:52;21856:6;21851:3;21844:4;21837:5;21833:16;21811:52;:::i;:::-;21888:6;21883:3;21879:16;21872:23;;21634:267;21524:377;;;;:::o;21907:275::-;22039:3;22061:95;22152:3;22143:6;22061:95;:::i;:::-;22054:102;;22173:3;22166:10;;21907:275;;;;:::o;22188:141::-;22237:4;22260:3;22252:11;;22283:3;22280:1;22273:14;22317:4;22314:1;22304:18;22296:26;;22188:141;;;:::o;22359:845::-;22462:3;22499:5;22493:12;22528:36;22554:9;22528:36;:::i;:::-;22580:89;22662:6;22657:3;22580:89;:::i;:::-;22573:96;;22700:1;22689:9;22685:17;22716:1;22711:137;;;;22862:1;22857:341;;;;22678:520;;22711:137;22795:4;22791:9;22780;22776:25;22771:3;22764:38;22831:6;22826:3;22822:16;22815:23;;22711:137;;22857:341;22924:38;22956:5;22924:38;:::i;:::-;22984:1;22998:154;23012:6;23009:1;23006:13;22998:154;;;23086:7;23080:14;23076:1;23071:3;23067:11;23060:35;23136:1;23127:7;23123:15;23112:26;;23034:4;23031:1;23027:12;23022:17;;22998:154;;;23181:6;23176:3;23172:16;23165:23;;22864:334;;22678:520;;22466:738;;22359:845;;;;:::o;23210:269::-;23339:3;23361:92;23449:3;23440:6;23361:92;:::i;:::-;23354:99;;23470:3;23463:10;;23210:269;;;;:::o;23485:159::-;23625:11;23621:1;23613:6;23609:14;23602:35;23485:159;:::o;23650:365::-;23792:3;23813:66;23877:1;23872:3;23813:66;:::i;:::-;23806:73;;23888:93;23977:3;23888:93;:::i;:::-;24006:2;24001:3;23997:12;23990:19;;23650:365;;;:::o;24021:419::-;24187:4;24225:2;24214:9;24210:18;24202:26;;24274:9;24268:4;24264:20;24260:1;24249:9;24245:17;24238:47;24302:131;24428:4;24302:131;:::i;:::-;24294:139;;24021:419;;;:::o;24446:180::-;24494:77;24491:1;24484:88;24591:4;24588:1;24581:15;24615:4;24612:1;24605:15;24632:305;24672:3;24691:20;24709:1;24691:20;:::i;:::-;24686:25;;24725:20;24743:1;24725:20;:::i;:::-;24720:25;;24879:1;24811:66;24807:74;24804:1;24801:81;24798:107;;;24885:18;;:::i;:::-;24798:107;24929:1;24926;24922:9;24915:16;;24632:305;;;;:::o;24943:180::-;25083:32;25079:1;25071:6;25067:14;25060:56;24943:180;:::o;25129:366::-;25271:3;25292:67;25356:2;25351:3;25292:67;:::i;:::-;25285:74;;25368:93;25457:3;25368:93;:::i;:::-;25486:2;25481:3;25477:12;25470:19;;25129:366;;;:::o;25501:419::-;25667:4;25705:2;25694:9;25690:18;25682:26;;25754:9;25748:4;25744:20;25740:1;25729:9;25725:17;25718:47;25782:131;25908:4;25782:131;:::i;:::-;25774:139;;25501:419;;;:::o;25926:181::-;26066:33;26062:1;26054:6;26050:14;26043:57;25926:181;:::o;26113:366::-;26255:3;26276:67;26340:2;26335:3;26276:67;:::i;:::-;26269:74;;26352:93;26441:3;26352:93;:::i;:::-;26470:2;26465:3;26461:12;26454:19;;26113:366;;;:::o;26485:419::-;26651:4;26689:2;26678:9;26674:18;26666:26;;26738:9;26732:4;26728:20;26724:1;26713:9;26709:17;26702:47;26766:131;26892:4;26766:131;:::i;:::-;26758:139;;26485:419;;;:::o;26910:348::-;26950:7;26973:20;26991:1;26973:20;:::i;:::-;26968:25;;27007:20;27025:1;27007:20;:::i;:::-;27002:25;;27195:1;27127:66;27123:74;27120:1;27117:81;27112:1;27105:9;27098:17;27094:105;27091:131;;;27202:18;;:::i;:::-;27091:131;27250:1;27247;27243:9;27232:20;;26910:348;;;;:::o;27264:174::-;27404:26;27400:1;27392:6;27388:14;27381:50;27264:174;:::o;27444:366::-;27586:3;27607:67;27671:2;27666:3;27607:67;:::i;:::-;27600:74;;27683:93;27772:3;27683:93;:::i;:::-;27801:2;27796:3;27792:12;27785:19;;27444:366;;;:::o;27816:419::-;27982:4;28020:2;28009:9;28005:18;27997:26;;28069:9;28063:4;28059:20;28055:1;28044:9;28040:17;28033:47;28097:131;28223:4;28097:131;:::i;:::-;28089:139;;27816:419;;;:::o;28241:172::-;28381:24;28377:1;28369:6;28365:14;28358:48;28241:172;:::o;28419:366::-;28561:3;28582:67;28646:2;28641:3;28582:67;:::i;:::-;28575:74;;28658:93;28747:3;28658:93;:::i;:::-;28776:2;28771:3;28767:12;28760:19;;28419:366;;;:::o;28791:419::-;28957:4;28995:2;28984:9;28980:18;28972:26;;29044:9;29038:4;29034:20;29030:1;29019:9;29015:17;29008:47;29072:131;29198:4;29072:131;:::i;:::-;29064:139;;28791:419;;;:::o;29216:170::-;29356:22;29352:1;29344:6;29340:14;29333:46;29216:170;:::o;29392:366::-;29534:3;29555:67;29619:2;29614:3;29555:67;:::i;:::-;29548:74;;29631:93;29720:3;29631:93;:::i;:::-;29749:2;29744:3;29740:12;29733:19;;29392:366;;;:::o;29764:419::-;29930:4;29968:2;29957:9;29953:18;29945:26;;30017:9;30011:4;30007:20;30003:1;29992:9;29988:17;29981:47;30045:131;30171:4;30045:131;:::i;:::-;30037:139;;29764:419;;;:::o;30189:175::-;30329:27;30325:1;30317:6;30313:14;30306:51;30189:175;:::o;30370:366::-;30512:3;30533:67;30597:2;30592:3;30533:67;:::i;:::-;30526:74;;30609:93;30698:3;30609:93;:::i;:::-;30727:2;30722:3;30718:12;30711:19;;30370:366;;;:::o;30742:419::-;30908:4;30946:2;30935:9;30931:18;30923:26;;30995:9;30989:4;30985:20;30981:1;30970:9;30966:17;30959:47;31023:131;31149:4;31023:131;:::i;:::-;31015:139;;30742:419;;;:::o;31167:174::-;31307:26;31303:1;31295:6;31291:14;31284:50;31167:174;:::o;31347:366::-;31489:3;31510:67;31574:2;31569:3;31510:67;:::i;:::-;31503:74;;31586:93;31675:3;31586:93;:::i;:::-;31704:2;31699:3;31695:12;31688:19;;31347:366;;;:::o;31719:419::-;31885:4;31923:2;31912:9;31908:18;31900:26;;31972:9;31966:4;31962:20;31958:1;31947:9;31943:17;31936:47;32000:131;32126:4;32000:131;:::i;:::-;31992:139;;31719:419;;;:::o;32144:179::-;32284:31;32280:1;32272:6;32268:14;32261:55;32144:179;:::o;32329:366::-;32471:3;32492:67;32556:2;32551:3;32492:67;:::i;:::-;32485:74;;32568:93;32657:3;32568:93;:::i;:::-;32686:2;32681:3;32677:12;32670:19;;32329:366;;;:::o;32701:419::-;32867:4;32905:2;32894:9;32890:18;32882:26;;32954:9;32948:4;32944:20;32940:1;32929:9;32925:17;32918:47;32982:131;33108:4;32982:131;:::i;:::-;32974:139;;32701:419;;;:::o;33126:221::-;33266:34;33262:1;33254:6;33250:14;33243:58;33335:4;33330:2;33322:6;33318:15;33311:29;33126:221;:::o;33353:366::-;33495:3;33516:67;33580:2;33575:3;33516:67;:::i;:::-;33509:74;;33592:93;33681:3;33592:93;:::i;:::-;33710:2;33705:3;33701:12;33694:19;;33353:366;;;:::o;33725:419::-;33891:4;33929:2;33918:9;33914:18;33906:26;;33978:9;33972:4;33968:20;33964:1;33953:9;33949:17;33942:47;34006:131;34132:4;34006:131;:::i;:::-;33998:139;;33725:419;;;:::o;34150:191::-;34190:4;34210:20;34228:1;34210:20;:::i;:::-;34205:25;;34244:20;34262:1;34244:20;:::i;:::-;34239:25;;34283:1;34280;34277:8;34274:34;;;34288:18;;:::i;:::-;34274:34;34333:1;34330;34326:9;34318:17;;34150:191;;;;:::o;34347:167::-;34487:19;34483:1;34475:6;34471:14;34464:43;34347:167;:::o;34520:366::-;34662:3;34683:67;34747:2;34742:3;34683:67;:::i;:::-;34676:74;;34759:93;34848:3;34759:93;:::i;:::-;34877:2;34872:3;34868:12;34861:19;;34520:366;;;:::o;34892:419::-;35058:4;35096:2;35085:9;35081:18;35073:26;;35145:9;35139:4;35135:20;35131:1;35120:9;35116:17;35109:47;35173:131;35299:4;35173:131;:::i;:::-;35165:139;;34892:419;;;:::o;35317:158::-;35457:10;35453:1;35445:6;35441:14;35434:34;35317:158;:::o;35481:365::-;35623:3;35644:66;35708:1;35703:3;35644:66;:::i;:::-;35637:73;;35719:93;35808:3;35719:93;:::i;:::-;35837:2;35832:3;35828:12;35821:19;;35481:365;;;:::o;35852:419::-;36018:4;36056:2;36045:9;36041:18;36033:26;;36105:9;36099:4;36095:20;36091:1;36080:9;36076:17;36069:47;36133:131;36259:4;36133:131;:::i;:::-;36125:139;;35852:419;;;:::o;36277:167::-;36417:19;36413:1;36405:6;36401:14;36394:43;36277:167;:::o;36450:366::-;36592:3;36613:67;36677:2;36672:3;36613:67;:::i;:::-;36606:74;;36689:93;36778:3;36689:93;:::i;:::-;36807:2;36802:3;36798:12;36791:19;;36450:366;;;:::o;36822:419::-;36988:4;37026:2;37015:9;37011:18;37003:26;;37075:9;37069:4;37065:20;37061:1;37050:9;37046:17;37039:47;37103:131;37229:4;37103:131;:::i;:::-;37095:139;;36822:419;;;:::o;37247:233::-;37286:3;37309:24;37327:5;37309:24;:::i;:::-;37300:33;;37355:66;37348:5;37345:77;37342:103;;;37425:18;;:::i;:::-;37342:103;37472:1;37465:5;37461:13;37454:20;;37247:233;;;:::o;37486:435::-;37666:3;37688:95;37779:3;37770:6;37688:95;:::i;:::-;37681:102;;37800:95;37891:3;37882:6;37800:95;:::i;:::-;37793:102;;37912:3;37905:10;;37486:435;;;;;:::o;37927:225::-;38067:34;38063:1;38055:6;38051:14;38044:58;38136:8;38131:2;38123:6;38119:15;38112:33;37927:225;:::o;38158:366::-;38300:3;38321:67;38385:2;38380:3;38321:67;:::i;:::-;38314:74;;38397:93;38486:3;38397:93;:::i;:::-;38515:2;38510:3;38506:12;38499:19;;38158:366;;;:::o;38530:419::-;38696:4;38734:2;38723:9;38719:18;38711:26;;38783:9;38777:4;38773:20;38769:1;38758:9;38754:17;38747:47;38811:131;38937:4;38811:131;:::i;:::-;38803:139;;38530:419;;;:::o;38955:182::-;39095:34;39091:1;39083:6;39079:14;39072:58;38955:182;:::o;39143:366::-;39285:3;39306:67;39370:2;39365:3;39306:67;:::i;:::-;39299:74;;39382:93;39471:3;39382:93;:::i;:::-;39500:2;39495:3;39491:12;39484:19;;39143:366;;;:::o;39515:419::-;39681:4;39719:2;39708:9;39704:18;39696:26;;39768:9;39762:4;39758:20;39754:1;39743:9;39739:17;39732:47;39796:131;39922:4;39796:131;:::i;:::-;39788:139;;39515:419;;;:::o;39940:181::-;40080:33;40076:1;40068:6;40064:14;40057:57;39940:181;:::o;40127:366::-;40269:3;40290:67;40354:2;40349:3;40290:67;:::i;:::-;40283:74;;40366:93;40455:3;40366:93;:::i;:::-;40484:2;40479:3;40475:12;40468:19;;40127:366;;;:::o;40499:419::-;40665:4;40703:2;40692:9;40688:18;40680:26;;40752:9;40746:4;40742:20;40738:1;40727:9;40723:17;40716:47;40780:131;40906:4;40780:131;:::i;:::-;40772:139;;40499:419;;;:::o;40924:98::-;40975:6;41009:5;41003:12;40993:22;;40924:98;;;:::o;41028:168::-;41111:11;41145:6;41140:3;41133:19;41185:4;41180:3;41176:14;41161:29;;41028:168;;;;:::o;41202:360::-;41288:3;41316:38;41348:5;41316:38;:::i;:::-;41370:70;41433:6;41428:3;41370:70;:::i;:::-;41363:77;;41449:52;41494:6;41489:3;41482:4;41475:5;41471:16;41449:52;:::i;:::-;41526:29;41548:6;41526:29;:::i;:::-;41521:3;41517:39;41510:46;;41292:270;41202:360;;;;:::o;41568:640::-;41763:4;41801:3;41790:9;41786:19;41778:27;;41815:71;41883:1;41872:9;41868:17;41859:6;41815:71;:::i;:::-;41896:72;41964:2;41953:9;41949:18;41940:6;41896:72;:::i;:::-;41978;42046:2;42035:9;42031:18;42022:6;41978:72;:::i;:::-;42097:9;42091:4;42087:20;42082:2;42071:9;42067:18;42060:48;42125:76;42196:4;42187:6;42125:76;:::i;:::-;42117:84;;41568:640;;;;;;;:::o;42214:141::-;42270:5;42301:6;42295:13;42286:22;;42317:32;42343:5;42317:32;:::i;:::-;42214:141;;;;:::o;42361:349::-;42430:6;42479:2;42467:9;42458:7;42454:23;42450:32;42447:119;;;42485:79;;:::i;:::-;42447:119;42605:1;42630:63;42685:7;42676:6;42665:9;42661:22;42630:63;:::i;:::-;42620:73;;42576:127;42361:349;;;;:::o;42716:180::-;42764:77;42761:1;42754:88;42861:4;42858:1;42851:15;42885:4;42882:1;42875:15
Swarm Source
ipfs://96029bb6af6aee10a347edb8c0b4e492328e04ca1a196b15ce9b259a92de2040
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.