ERC-721
Overview
Max Total Supply
3,333 DGB
Holders
581
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DGBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenBen
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-12 */ // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ```solidity * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File: royalties_enforcement/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: royalties_enforcement/OperatorFilterer.sol pragma solidity ^0.8.13; contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } } // File: royalties_enforcement/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // 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/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // 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.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { 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/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.0) (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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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.9.0) (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.9.0) (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, 1); // 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, 1); } /** * @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, 1); // 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, 1); } /** * @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, 1); // 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, 1); } /** * @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 token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: royalties_enforcement/DegenBen.sol pragma solidity ^0.8.15; contract DegenBen is ERC721A, Ownable, DefaultOperatorFilterer{ using Counters for Counters.Counter; using Strings for uint256; Counters.Counter private _tokenIdCounter; uint256 public MINT_PRICE = 0.033 ether; uint256 public WHITELIST_MINT_PRICE = 0.029 ether; string public baseExtension = ".json"; string private baseURI = "ipfs://bafybeifn7y6yh3zuw76layhxp6ccvvmw345bde5mh56t4our6hegrcq5qe/"; uint256 public maxSupply = 3333; bool public paused = false; mapping(address => bool) private whitelist; bool public whitelistMintsEnabled; constructor() ERC721A("DegenBen", "DGB") { _tokenIdCounter.increment(); } function _startTokenId() internal override view virtual returns (uint256){ return 1; } function airdropNFTs(address[] memory recipients) public onlyOwner { require(recipients.length > 0, "Must provide at least one recipient"); // Check if there is enough supply to airdrop 1 NFT to each recipient uint256 totalSupply = totalSupply(); require(maxSupply >= totalSupply + recipients.length, "Not enough supply to airdrop"); for (uint256 i = 0; i < recipients.length; i++) { _mint(recipients[i], 1); } } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) external onlyOwner { baseURI = newBaseURI; } function enableWhitelistMints() external onlyOwner { whitelistMintsEnabled = true; } function disableWhitelistMints() external onlyOwner { whitelistMintsEnabled = false; } function addToWhitelist(address[] memory addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelist[addresses[i]] = true; } } function removeFromWhitelist(address[] memory addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { delete whitelist[addresses[i]]; } } function isWhitelisted(address addr) public view returns (bool) { return whitelist[addr]; } function mint(address to, uint256 amount) public payable { // require(!paused(), "Contract is paused, please try again later"); require(!paused); require(amount > 0); uint256 supply = totalSupply(); require(supply + amount <= maxSupply); if (whitelistMintsEnabled && isWhitelisted(msg.sender)) { require(msg.value >= WHITELIST_MINT_PRICE * amount); } else { require(msg.value >= MINT_PRICE * amount); } _mint(to, amount); require(payable(owner()).send(address(this).balance)); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } function updateMintPrice(uint256 newPrice) public onlyOwner { MINT_PRICE = newPrice; } function updateWhitelistMintPrice(uint256 newPrice) public onlyOwner { WHITELIST_MINT_PRICE = newPrice; } function withdraw() public onlyOwner() { require(address(this).balance > 0, "Balance is zero"); payable(owner()).transfer(address(this).balance); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } }
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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"airdropNFTs","outputs":[],"stateMutability":"nonpayable","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":"disableWhitelistMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableWhitelistMints","outputs":[],"stateMutability":"nonpayable","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":"address","name":"addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","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":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateWhitelistMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266753d533d968000600a5566670758aa7c8000600b556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908162000060919062000715565b5060405180608001604052806043815260200162003e4f60439139600d90816200008b919062000715565b50610d05600e556000600f60006101000a81548160ff021916908315150217905550348015620000ba57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020017f446567656e42656e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f444742000000000000000000000000000000000000000000000000000000000081525081600290816200014f919062000715565b50806003908162000161919062000715565b5062000172620003ae60201b60201c565b60008190555050506200019a6200018e620003b760201b60201c565b620003bf60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200038f57801562000255576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200021b92919062000841565b600060405180830381600087803b1580156200023657600080fd5b505af11580156200024b573d6000803e3d6000fd5b505050506200038e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200030f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002d592919062000841565b600060405180830381600087803b158015620002f057600080fd5b505af115801562000305573d6000803e3d6000fd5b505050506200038d565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200035891906200086e565b600060405180830381600087803b1580156200037357600080fd5b505af115801562000388573d6000803e3d6000fd5b505050505b5b5b5050620003a860096200048560201b620017741760201c565b6200088b565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051d57607f821691505b602082108103620005335762000532620004d5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200059d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200055e565b620005a986836200055e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005f6620005f0620005ea84620005c1565b620005cb565b620005c1565b9050919050565b6000819050919050565b6200061283620005d5565b6200062a6200062182620005fd565b8484546200056b565b825550505050565b600090565b6200064162000632565b6200064e81848462000607565b505050565b5b8181101562000676576200066a60008262000637565b60018101905062000654565b5050565b601f821115620006c5576200068f8162000539565b6200069a846200054e565b81016020851015620006aa578190505b620006c2620006b9856200054e565b83018262000653565b50505b505050565b600082821c905092915050565b6000620006ea60001984600802620006ca565b1980831691505092915050565b6000620007058383620006d7565b9150826002028217905092915050565b62000720826200049b565b67ffffffffffffffff8111156200073c576200073b620004a6565b5b62000748825462000504565b620007558282856200067a565b600060209050601f8311600181146200078d576000841562000778578287015190505b620007848582620006f7565b865550620007f4565b601f1984166200079d8662000539565b60005b82811015620007c757848901518255600182019150602085019450602081019050620007a0565b86831015620007e75784890151620007e3601f891682620006d7565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200082982620007fc565b9050919050565b6200083b816200081c565b82525050565b600060408201905062000858600083018562000830565b62000867602083018462000830565b9392505050565b600060208201905062000885600083018462000830565b92915050565b6135b4806200089b6000396000f3fe6080604052600436106101f85760003560e01c806370a082311161010d578063aca9938d116100a0578063c87b56dd1161006f578063c87b56dd1461068f578063d5abeb01146106cc578063e985e9c5146106f7578063eb980abf14610734578063f2fde38b1461075d576101f8565b8063aca9938d146105f2578063b88d4fde1461061d578063c002d23d14610639578063c668286214610664576101f8565b806394e1105c116100dc57806394e1105c1461057057806395d89b41146105875780639ee253ff146105b2578063a22cb465146105c9576101f8565b806370a08231146104c8578063715018a6146105055780637f6497831461051c5780638da5cb5b14610545576101f8565b80633af32abf116101905780634909be911161015f5780634909be91146103e5578063548db1741461040e57806355f804b3146104375780635c975abb146104605780636352211e1461048b576101f8565b80633af32abf146103595780633ccfd60b1461039657806340c10f19146103ad57806342842e0e146103c9576101f8565b8063081812fc116101cc578063081812fc146102b9578063095ea7b3146102f657806318160ddd1461031257806323b872dd1461033d576101f8565b8062728e46146101fd57806301ffc9a71461022657806306fdde031461026357806307a6ef091461028e575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f91906124b2565b610786565b005b34801561023257600080fd5b5061024d60048036038101906102489190612537565b610798565b60405161025a919061257f565b60405180910390f35b34801561026f57600080fd5b5061027861082a565b604051610285919061262a565b60405180910390f35b34801561029a57600080fd5b506102a36108bc565b6040516102b0919061257f565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906124b2565b6108cf565b6040516102ed919061268d565b60405180910390f35b610310600480360381019061030b91906126d4565b61094e565b005b34801561031e57600080fd5b50610327610a92565b6040516103349190612723565b60405180910390f35b6103576004803603810190610352919061273e565b610aa9565b005b34801561036557600080fd5b50610380600480360381019061037b9190612791565b610bb5565b60405161038d919061257f565b60405180910390f35b3480156103a257600080fd5b506103ab610c0b565b005b6103c760048036038101906103c291906126d4565b610ca6565b005b6103e360048036038101906103de919061273e565b610da7565b005b3480156103f157600080fd5b5061040c60048036038101906104079190612906565b610eb3565b005b34801561041a57600080fd5b5061043560048036038101906104309190612906565b610fa5565b005b34801561044357600080fd5b5061045e60048036038101906104599190612a04565b611039565b005b34801561046c57600080fd5b50610475611054565b604051610482919061257f565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad91906124b2565b611067565b6040516104bf919061268d565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190612791565b611079565b6040516104fc9190612723565b60405180910390f35b34801561051157600080fd5b5061051a611131565b005b34801561052857600080fd5b50610543600480360381019061053e9190612906565b611145565b005b34801561055157600080fd5b5061055a6111e2565b604051610567919061268d565b60405180910390f35b34801561057c57600080fd5b5061058561120c565b005b34801561059357600080fd5b5061059c611231565b6040516105a9919061262a565b60405180910390f35b3480156105be57600080fd5b506105c76112c3565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190612a79565b6112e8565b005b3480156105fe57600080fd5b506106076113f3565b6040516106149190612723565b60405180910390f35b61063760048036038101906106329190612b5a565b6113f9565b005b34801561064557600080fd5b5061064e611507565b60405161065b9190612723565b60405180910390f35b34801561067057600080fd5b5061067961150d565b604051610686919061262a565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b191906124b2565b61159b565b6040516106c3919061262a565b60405180910390f35b3480156106d857600080fd5b506106e1611645565b6040516106ee9190612723565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190612bdd565b61164b565b60405161072b919061257f565b60405180910390f35b34801561074057600080fd5b5061075b600480360381019061075691906124b2565b6116df565b005b34801561076957600080fd5b50610784600480360381019061077f9190612791565b6116f1565b005b61078e61178a565b80600a8190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108235750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461083990612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461086590612c4c565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b601160009054906101000a900460ff1681565b60006108da82611808565b610910576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095982611067565b90508073ffffffffffffffffffffffffffffffffffffffff1661097a611867565b73ffffffffffffffffffffffffffffffffffffffff16146109dd576109a6816109a1611867565b61164b565b6109dc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a9c61186f565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610ba5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610b20929190612c7d565b6020604051808303816000875af1158015610b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b639190612cbb565b610ba457336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610b9b919061268d565b60405180910390fd5b5b610bb0838383611878565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610c1361178a565b60004711610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90612d34565b60405180910390fd5b610c5e6111e2565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ca3573d6000803e3d6000fd5b50565b600f60009054906101000a900460ff1615610cc057600080fd5b60008111610ccd57600080fd5b6000610cd7610a92565b9050600e548282610ce89190612d83565b1115610cf357600080fd5b601160009054906101000a900460ff168015610d145750610d1333610bb5565b5b15610d385781600b54610d279190612db7565b341015610d3357600080fd5b610d53565b81600a54610d469190612db7565b341015610d5257600080fd5b5b610d5d8383611b9a565b610d656111e2565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610da257600080fd5b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610ea3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610e1e929190612c7d565b6020604051808303816000875af1158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e619190612cbb565b610ea257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610e99919061268d565b60405180910390fd5b5b610eae838383611d55565b505050565b610ebb61178a565b6000815111610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef690612e6b565b60405180910390fd5b6000610f09610a92565b9050815181610f189190612d83565b600e541015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390612ed7565b60405180910390fd5b60005b8251811015610fa057610f8d838281518110610f7e57610f7d612ef7565b5b60200260200101516001611b9a565b8080610f9890612f26565b915050610f5f565b505050565b610fad61178a565b60005b81518110156110355760106000838381518110610fd057610fcf612ef7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff0219169055808061102d90612f26565b915050610fb0565b5050565b61104161178a565b80600d9081611050919061311a565b5050565b600f60009054906101000a900460ff1681565b600061107282611d75565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110e0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61113961178a565b6111436000611e41565b565b61114d61178a565b60005b81518110156111de5760016010600084848151811061117257611171612ef7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806111d690612f26565b915050611150565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121461178a565b6001601160006101000a81548160ff021916908315150217905550565b60606003805461124090612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461126c90612c4c565b80156112b95780601f1061128e576101008083540402835291602001916112b9565b820191906000526020600020905b81548152906001019060200180831161129c57829003601f168201915b5050505050905090565b6112cb61178a565b6000601160006101000a81548160ff021916908315150217905550565b80600760006112f5611867565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a2611867565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113e7919061257f565b60405180910390a35050565b600b5481565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156114f5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611470929190612c7d565b6020604051808303816000875af115801561148f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b39190612cbb565b6114f457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114eb919061268d565b60405180910390fd5b5b61150184848484611f07565b50505050565b600a5481565b600c805461151a90612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461154690612c4c565b80156115935780601f1061156857610100808354040283529160200191611593565b820191906000526020600020905b81548152906001019060200180831161157657829003601f168201915b505050505081565b60606115a682611808565b6115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc9061325e565b60405180910390fd5b60006115ef611f7a565b9050600081511161160f576040518060200160405280600081525061163d565b806116198461200c565b600c60405160200161162d9392919061333d565b6040516020818303038152906040525b915050919050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116e761178a565b80600b8190555050565b6116f961178a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f906133e0565b60405180910390fd5b61177181611e41565b50565b6001816000016000828254019250508190555050565b6117926120da565b73ffffffffffffffffffffffffffffffffffffffff166117b06111e2565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd9061344c565b60405180910390fd5b565b60008161181361186f565b11158015611822575060005482105b8015611860575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600061188382611d75565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118ea576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806118f6846120e2565b9150915061190c8187611907611867565b612109565b611958576119218661191c611867565b61164b565b611957576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036119be576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119cb868686600161214d565b80156119d657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611aa485611a80888887612153565b7c02000000000000000000000000000000000000000000000000000000001761217b565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611b2a5760006001850190506000600460008381526020019081526020016000205403611b28576000548114611b27578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b9286868660016121a6565b505050505050565b60008054905060008203611bda576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611be7600084838561214d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611c5e83611c4f6000866000612153565b611c58856121ac565b1761217b565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611cff57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611cc4565b5060008203611d3a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611d5060008483856121a6565b505050565b611d70838383604051806020016040528060008152506113f9565b505050565b60008082905080611d8461186f565b11611e0a57600054811015611e095760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611e07575b60008103611dfd576004600083600190039350838152602001908152602001600020549050611dd3565b8092505050611e3c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f12848484610aa9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f7457611f3d848484846121bc565b611f73576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600d8054611f8990612c4c565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb590612c4c565b80156120025780601f10611fd757610100808354040283529160200191612002565b820191906000526020600020905b815481529060010190602001808311611fe557829003601f168201915b5050505050905090565b60606000600161201b8461230c565b01905060008167ffffffffffffffff81111561203a576120396127c3565b5b6040519080825280601f01601f19166020018201604052801561206c5781602001600182028036833780820191505090505b509050600082602001820190505b6001156120cf578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120c3576120c261346c565b5b0494506000850361207a575b819350505050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861216a86868461245f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121e2611867565b8786866040518563ffffffff1660e01b815260040161220494939291906134f0565b6020604051808303816000875af192505050801561224057506040513d601f19601f8201168201806040525081019061223d9190613551565b60015b6122b9573d8060008114612270576040519150601f19603f3d011682016040523d82523d6000602084013e612275565b606091505b5060008151036122b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061236a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816123605761235f61346c565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106123a7576d04ee2d6d415b85acef8100000000838161239d5761239c61346c565b5b0492506020810190505b662386f26fc1000083106123d657662386f26fc1000083816123cc576123cb61346c565b5b0492506010810190505b6305f5e10083106123ff576305f5e10083816123f5576123f461346c565b5b0492506008810190505b612710831061242457612710838161241a5761241961346c565b5b0492506004810190505b60648310612447576064838161243d5761243c61346c565b5b0492506002810190505b600a8310612456576001810190505b80915050919050565b60009392505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61248f8161247c565b811461249a57600080fd5b50565b6000813590506124ac81612486565b92915050565b6000602082840312156124c8576124c7612472565b5b60006124d68482850161249d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612514816124df565b811461251f57600080fd5b50565b6000813590506125318161250b565b92915050565b60006020828403121561254d5761254c612472565b5b600061255b84828501612522565b91505092915050565b60008115159050919050565b61257981612564565b82525050565b60006020820190506125946000830184612570565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125d45780820151818401526020810190506125b9565b60008484015250505050565b6000601f19601f8301169050919050565b60006125fc8261259a565b61260681856125a5565b93506126168185602086016125b6565b61261f816125e0565b840191505092915050565b6000602082019050818103600083015261264481846125f1565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126778261264c565b9050919050565b6126878161266c565b82525050565b60006020820190506126a2600083018461267e565b92915050565b6126b18161266c565b81146126bc57600080fd5b50565b6000813590506126ce816126a8565b92915050565b600080604083850312156126eb576126ea612472565b5b60006126f9858286016126bf565b925050602061270a8582860161249d565b9150509250929050565b61271d8161247c565b82525050565b60006020820190506127386000830184612714565b92915050565b60008060006060848603121561275757612756612472565b5b6000612765868287016126bf565b9350506020612776868287016126bf565b92505060406127878682870161249d565b9150509250925092565b6000602082840312156127a7576127a6612472565b5b60006127b5848285016126bf565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127fb826125e0565b810181811067ffffffffffffffff8211171561281a576128196127c3565b5b80604052505050565b600061282d612468565b905061283982826127f2565b919050565b600067ffffffffffffffff821115612859576128586127c3565b5b602082029050602081019050919050565b600080fd5b600061288261287d8461283e565b612823565b905080838252602082019050602084028301858111156128a5576128a461286a565b5b835b818110156128ce57806128ba88826126bf565b8452602084019350506020810190506128a7565b5050509392505050565b600082601f8301126128ed576128ec6127be565b5b81356128fd84826020860161286f565b91505092915050565b60006020828403121561291c5761291b612472565b5b600082013567ffffffffffffffff81111561293a57612939612477565b5b612946848285016128d8565b91505092915050565b600080fd5b600067ffffffffffffffff82111561296f5761296e6127c3565b5b612978826125e0565b9050602081019050919050565b82818337600083830152505050565b60006129a76129a284612954565b612823565b9050828152602081018484840111156129c3576129c261294f565b5b6129ce848285612985565b509392505050565b600082601f8301126129eb576129ea6127be565b5b81356129fb848260208601612994565b91505092915050565b600060208284031215612a1a57612a19612472565b5b600082013567ffffffffffffffff811115612a3857612a37612477565b5b612a44848285016129d6565b91505092915050565b612a5681612564565b8114612a6157600080fd5b50565b600081359050612a7381612a4d565b92915050565b60008060408385031215612a9057612a8f612472565b5b6000612a9e858286016126bf565b9250506020612aaf85828601612a64565b9150509250929050565b600067ffffffffffffffff821115612ad457612ad36127c3565b5b612add826125e0565b9050602081019050919050565b6000612afd612af884612ab9565b612823565b905082815260208101848484011115612b1957612b1861294f565b5b612b24848285612985565b509392505050565b600082601f830112612b4157612b406127be565b5b8135612b51848260208601612aea565b91505092915050565b60008060008060808587031215612b7457612b73612472565b5b6000612b82878288016126bf565b9450506020612b93878288016126bf565b9350506040612ba48782880161249d565b925050606085013567ffffffffffffffff811115612bc557612bc4612477565b5b612bd187828801612b2c565b91505092959194509250565b60008060408385031215612bf457612bf3612472565b5b6000612c02858286016126bf565b9250506020612c13858286016126bf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c6457607f821691505b602082108103612c7757612c76612c1d565b5b50919050565b6000604082019050612c92600083018561267e565b612c9f602083018461267e565b9392505050565b600081519050612cb581612a4d565b92915050565b600060208284031215612cd157612cd0612472565b5b6000612cdf84828501612ca6565b91505092915050565b7f42616c616e6365206973207a65726f0000000000000000000000000000000000600082015250565b6000612d1e600f836125a5565b9150612d2982612ce8565b602082019050919050565b60006020820190508181036000830152612d4d81612d11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d8e8261247c565b9150612d998361247c565b9250828201905080821115612db157612db0612d54565b5b92915050565b6000612dc28261247c565b9150612dcd8361247c565b9250828202612ddb8161247c565b91508282048414831517612df257612df1612d54565b5b5092915050565b7f4d7573742070726f76696465206174206c65617374206f6e652072656369706960008201527f656e740000000000000000000000000000000000000000000000000000000000602082015250565b6000612e556023836125a5565b9150612e6082612df9565b604082019050919050565b60006020820190508181036000830152612e8481612e48565b9050919050565b7f4e6f7420656e6f75676820737570706c7920746f2061697264726f7000000000600082015250565b6000612ec1601c836125a5565b9150612ecc82612e8b565b602082019050919050565b60006020820190508181036000830152612ef081612eb4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612f318261247c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612f6357612f62612d54565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612fd07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f93565b612fda8683612f93565b95508019841693508086168417925050509392505050565b6000819050919050565b600061301761301261300d8461247c565b612ff2565b61247c565b9050919050565b6000819050919050565b61303183612ffc565b61304561303d8261301e565b848454612fa0565b825550505050565b600090565b61305a61304d565b613065818484613028565b505050565b5b818110156130895761307e600082613052565b60018101905061306b565b5050565b601f8211156130ce5761309f81612f6e565b6130a884612f83565b810160208510156130b7578190505b6130cb6130c385612f83565b83018261306a565b50505b505050565b600082821c905092915050565b60006130f1600019846008026130d3565b1980831691505092915050565b600061310a83836130e0565b9150826002028217905092915050565b6131238261259a565b67ffffffffffffffff81111561313c5761313b6127c3565b5b6131468254612c4c565b61315182828561308d565b600060209050601f8311600181146131845760008415613172578287015190505b61317c85826130fe565b8655506131e4565b601f19841661319286612f6e565b60005b828110156131ba57848901518255600182019150602085019450602081019050613195565b868310156131d757848901516131d3601f8916826130e0565b8355505b6001600288020188555050505b505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613248602f836125a5565b9150613253826131ec565b604082019050919050565b600060208201905081810360008301526132778161323b565b9050919050565b600081905092915050565b60006132948261259a565b61329e818561327e565b93506132ae8185602086016125b6565b80840191505092915050565b600081546132c781612c4c565b6132d1818661327e565b945060018216600081146132ec576001811461330157613334565b60ff1983168652811515820286019350613334565b61330a85612f6e565b60005b8381101561332c5781548189015260018201915060208101905061330d565b838801955050505b50505092915050565b60006133498286613289565b91506133558285613289565b915061336182846132ba565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006133ca6026836125a5565b91506133d58261336e565b604082019050919050565b600060208201905081810360008301526133f9816133bd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134366020836125a5565b915061344182613400565b602082019050919050565b6000602082019050818103600083015261346581613429565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006134c28261349b565b6134cc81856134a6565b93506134dc8185602086016125b6565b6134e5816125e0565b840191505092915050565b6000608082019050613505600083018761267e565b613512602083018661267e565b61351f6040830185612714565b818103606083015261353181846134b7565b905095945050505050565b60008151905061354b8161250b565b92915050565b60006020828403121561356757613566612472565b5b60006135758482850161353c565b9150509291505056fea26469706673582212209a09a75091be1d36aba72164a1fcf9970e40b925f0b15ebf09fbf728074f7b4b64736f6c63430008120033697066733a2f2f62616679626569666e3779367968337a757737366c617968787036636376766d77333435626465356d68353674346f7572366865677263713571652f
Deployed Bytecode
0x6080604052600436106101f85760003560e01c806370a082311161010d578063aca9938d116100a0578063c87b56dd1161006f578063c87b56dd1461068f578063d5abeb01146106cc578063e985e9c5146106f7578063eb980abf14610734578063f2fde38b1461075d576101f8565b8063aca9938d146105f2578063b88d4fde1461061d578063c002d23d14610639578063c668286214610664576101f8565b806394e1105c116100dc57806394e1105c1461057057806395d89b41146105875780639ee253ff146105b2578063a22cb465146105c9576101f8565b806370a08231146104c8578063715018a6146105055780637f6497831461051c5780638da5cb5b14610545576101f8565b80633af32abf116101905780634909be911161015f5780634909be91146103e5578063548db1741461040e57806355f804b3146104375780635c975abb146104605780636352211e1461048b576101f8565b80633af32abf146103595780633ccfd60b1461039657806340c10f19146103ad57806342842e0e146103c9576101f8565b8063081812fc116101cc578063081812fc146102b9578063095ea7b3146102f657806318160ddd1461031257806323b872dd1461033d576101f8565b8062728e46146101fd57806301ffc9a71461022657806306fdde031461026357806307a6ef091461028e575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f91906124b2565b610786565b005b34801561023257600080fd5b5061024d60048036038101906102489190612537565b610798565b60405161025a919061257f565b60405180910390f35b34801561026f57600080fd5b5061027861082a565b604051610285919061262a565b60405180910390f35b34801561029a57600080fd5b506102a36108bc565b6040516102b0919061257f565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906124b2565b6108cf565b6040516102ed919061268d565b60405180910390f35b610310600480360381019061030b91906126d4565b61094e565b005b34801561031e57600080fd5b50610327610a92565b6040516103349190612723565b60405180910390f35b6103576004803603810190610352919061273e565b610aa9565b005b34801561036557600080fd5b50610380600480360381019061037b9190612791565b610bb5565b60405161038d919061257f565b60405180910390f35b3480156103a257600080fd5b506103ab610c0b565b005b6103c760048036038101906103c291906126d4565b610ca6565b005b6103e360048036038101906103de919061273e565b610da7565b005b3480156103f157600080fd5b5061040c60048036038101906104079190612906565b610eb3565b005b34801561041a57600080fd5b5061043560048036038101906104309190612906565b610fa5565b005b34801561044357600080fd5b5061045e60048036038101906104599190612a04565b611039565b005b34801561046c57600080fd5b50610475611054565b604051610482919061257f565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad91906124b2565b611067565b6040516104bf919061268d565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190612791565b611079565b6040516104fc9190612723565b60405180910390f35b34801561051157600080fd5b5061051a611131565b005b34801561052857600080fd5b50610543600480360381019061053e9190612906565b611145565b005b34801561055157600080fd5b5061055a6111e2565b604051610567919061268d565b60405180910390f35b34801561057c57600080fd5b5061058561120c565b005b34801561059357600080fd5b5061059c611231565b6040516105a9919061262a565b60405180910390f35b3480156105be57600080fd5b506105c76112c3565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190612a79565b6112e8565b005b3480156105fe57600080fd5b506106076113f3565b6040516106149190612723565b60405180910390f35b61063760048036038101906106329190612b5a565b6113f9565b005b34801561064557600080fd5b5061064e611507565b60405161065b9190612723565b60405180910390f35b34801561067057600080fd5b5061067961150d565b604051610686919061262a565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b191906124b2565b61159b565b6040516106c3919061262a565b60405180910390f35b3480156106d857600080fd5b506106e1611645565b6040516106ee9190612723565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190612bdd565b61164b565b60405161072b919061257f565b60405180910390f35b34801561074057600080fd5b5061075b600480360381019061075691906124b2565b6116df565b005b34801561076957600080fd5b50610784600480360381019061077f9190612791565b6116f1565b005b61078e61178a565b80600a8190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108235750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461083990612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461086590612c4c565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b5050505050905090565b601160009054906101000a900460ff1681565b60006108da82611808565b610910576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095982611067565b90508073ffffffffffffffffffffffffffffffffffffffff1661097a611867565b73ffffffffffffffffffffffffffffffffffffffff16146109dd576109a6816109a1611867565b61164b565b6109dc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a9c61186f565b6001546000540303905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610ba5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610b20929190612c7d565b6020604051808303816000875af1158015610b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b639190612cbb565b610ba457336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610b9b919061268d565b60405180910390fd5b5b610bb0838383611878565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610c1361178a565b60004711610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d90612d34565b60405180910390fd5b610c5e6111e2565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ca3573d6000803e3d6000fd5b50565b600f60009054906101000a900460ff1615610cc057600080fd5b60008111610ccd57600080fd5b6000610cd7610a92565b9050600e548282610ce89190612d83565b1115610cf357600080fd5b601160009054906101000a900460ff168015610d145750610d1333610bb5565b5b15610d385781600b54610d279190612db7565b341015610d3357600080fd5b610d53565b81600a54610d469190612db7565b341015610d5257600080fd5b5b610d5d8383611b9a565b610d656111e2565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610da257600080fd5b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610ea3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610e1e929190612c7d565b6020604051808303816000875af1158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e619190612cbb565b610ea257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610e99919061268d565b60405180910390fd5b5b610eae838383611d55565b505050565b610ebb61178a565b6000815111610eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef690612e6b565b60405180910390fd5b6000610f09610a92565b9050815181610f189190612d83565b600e541015610f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5390612ed7565b60405180910390fd5b60005b8251811015610fa057610f8d838281518110610f7e57610f7d612ef7565b5b60200260200101516001611b9a565b8080610f9890612f26565b915050610f5f565b505050565b610fad61178a565b60005b81518110156110355760106000838381518110610fd057610fcf612ef7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff0219169055808061102d90612f26565b915050610fb0565b5050565b61104161178a565b80600d9081611050919061311a565b5050565b600f60009054906101000a900460ff1681565b600061107282611d75565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110e0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61113961178a565b6111436000611e41565b565b61114d61178a565b60005b81518110156111de5760016010600084848151811061117257611171612ef7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806111d690612f26565b915050611150565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121461178a565b6001601160006101000a81548160ff021916908315150217905550565b60606003805461124090612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461126c90612c4c565b80156112b95780601f1061128e576101008083540402835291602001916112b9565b820191906000526020600020905b81548152906001019060200180831161129c57829003601f168201915b5050505050905090565b6112cb61178a565b6000601160006101000a81548160ff021916908315150217905550565b80600760006112f5611867565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a2611867565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113e7919061257f565b60405180910390a35050565b600b5481565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156114f5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611470929190612c7d565b6020604051808303816000875af115801561148f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b39190612cbb565b6114f457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016114eb919061268d565b60405180910390fd5b5b61150184848484611f07565b50505050565b600a5481565b600c805461151a90612c4c565b80601f016020809104026020016040519081016040528092919081815260200182805461154690612c4c565b80156115935780601f1061156857610100808354040283529160200191611593565b820191906000526020600020905b81548152906001019060200180831161157657829003601f168201915b505050505081565b60606115a682611808565b6115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc9061325e565b60405180910390fd5b60006115ef611f7a565b9050600081511161160f576040518060200160405280600081525061163d565b806116198461200c565b600c60405160200161162d9392919061333d565b6040516020818303038152906040525b915050919050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116e761178a565b80600b8190555050565b6116f961178a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f906133e0565b60405180910390fd5b61177181611e41565b50565b6001816000016000828254019250508190555050565b6117926120da565b73ffffffffffffffffffffffffffffffffffffffff166117b06111e2565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd9061344c565b60405180910390fd5b565b60008161181361186f565b11158015611822575060005482105b8015611860575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600061188382611d75565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118ea576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806118f6846120e2565b9150915061190c8187611907611867565b612109565b611958576119218661191c611867565b61164b565b611957576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036119be576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119cb868686600161214d565b80156119d657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611aa485611a80888887612153565b7c02000000000000000000000000000000000000000000000000000000001761217b565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611b2a5760006001850190506000600460008381526020019081526020016000205403611b28576000548114611b27578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b9286868660016121a6565b505050505050565b60008054905060008203611bda576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611be7600084838561214d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611c5e83611c4f6000866000612153565b611c58856121ac565b1761217b565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611cff57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611cc4565b5060008203611d3a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611d5060008483856121a6565b505050565b611d70838383604051806020016040528060008152506113f9565b505050565b60008082905080611d8461186f565b11611e0a57600054811015611e095760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611e07575b60008103611dfd576004600083600190039350838152602001908152602001600020549050611dd3565b8092505050611e3c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f12848484610aa9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f7457611f3d848484846121bc565b611f73576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600d8054611f8990612c4c565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb590612c4c565b80156120025780601f10611fd757610100808354040283529160200191612002565b820191906000526020600020905b815481529060010190602001808311611fe557829003601f168201915b5050505050905090565b60606000600161201b8461230c565b01905060008167ffffffffffffffff81111561203a576120396127c3565b5b6040519080825280601f01601f19166020018201604052801561206c5781602001600182028036833780820191505090505b509050600082602001820190505b6001156120cf578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120c3576120c261346c565b5b0494506000850361207a575b819350505050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861216a86868461245f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121e2611867565b8786866040518563ffffffff1660e01b815260040161220494939291906134f0565b6020604051808303816000875af192505050801561224057506040513d601f19601f8201168201806040525081019061223d9190613551565b60015b6122b9573d8060008114612270576040519150601f19603f3d011682016040523d82523d6000602084013e612275565b606091505b5060008151036122b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061236a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816123605761235f61346c565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106123a7576d04ee2d6d415b85acef8100000000838161239d5761239c61346c565b5b0492506020810190505b662386f26fc1000083106123d657662386f26fc1000083816123cc576123cb61346c565b5b0492506010810190505b6305f5e10083106123ff576305f5e10083816123f5576123f461346c565b5b0492506008810190505b612710831061242457612710838161241a5761241961346c565b5b0492506004810190505b60648310612447576064838161243d5761243c61346c565b5b0492506002810190505b600a8310612456576001810190505b80915050919050565b60009392505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61248f8161247c565b811461249a57600080fd5b50565b6000813590506124ac81612486565b92915050565b6000602082840312156124c8576124c7612472565b5b60006124d68482850161249d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612514816124df565b811461251f57600080fd5b50565b6000813590506125318161250b565b92915050565b60006020828403121561254d5761254c612472565b5b600061255b84828501612522565b91505092915050565b60008115159050919050565b61257981612564565b82525050565b60006020820190506125946000830184612570565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125d45780820151818401526020810190506125b9565b60008484015250505050565b6000601f19601f8301169050919050565b60006125fc8261259a565b61260681856125a5565b93506126168185602086016125b6565b61261f816125e0565b840191505092915050565b6000602082019050818103600083015261264481846125f1565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126778261264c565b9050919050565b6126878161266c565b82525050565b60006020820190506126a2600083018461267e565b92915050565b6126b18161266c565b81146126bc57600080fd5b50565b6000813590506126ce816126a8565b92915050565b600080604083850312156126eb576126ea612472565b5b60006126f9858286016126bf565b925050602061270a8582860161249d565b9150509250929050565b61271d8161247c565b82525050565b60006020820190506127386000830184612714565b92915050565b60008060006060848603121561275757612756612472565b5b6000612765868287016126bf565b9350506020612776868287016126bf565b92505060406127878682870161249d565b9150509250925092565b6000602082840312156127a7576127a6612472565b5b60006127b5848285016126bf565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127fb826125e0565b810181811067ffffffffffffffff8211171561281a576128196127c3565b5b80604052505050565b600061282d612468565b905061283982826127f2565b919050565b600067ffffffffffffffff821115612859576128586127c3565b5b602082029050602081019050919050565b600080fd5b600061288261287d8461283e565b612823565b905080838252602082019050602084028301858111156128a5576128a461286a565b5b835b818110156128ce57806128ba88826126bf565b8452602084019350506020810190506128a7565b5050509392505050565b600082601f8301126128ed576128ec6127be565b5b81356128fd84826020860161286f565b91505092915050565b60006020828403121561291c5761291b612472565b5b600082013567ffffffffffffffff81111561293a57612939612477565b5b612946848285016128d8565b91505092915050565b600080fd5b600067ffffffffffffffff82111561296f5761296e6127c3565b5b612978826125e0565b9050602081019050919050565b82818337600083830152505050565b60006129a76129a284612954565b612823565b9050828152602081018484840111156129c3576129c261294f565b5b6129ce848285612985565b509392505050565b600082601f8301126129eb576129ea6127be565b5b81356129fb848260208601612994565b91505092915050565b600060208284031215612a1a57612a19612472565b5b600082013567ffffffffffffffff811115612a3857612a37612477565b5b612a44848285016129d6565b91505092915050565b612a5681612564565b8114612a6157600080fd5b50565b600081359050612a7381612a4d565b92915050565b60008060408385031215612a9057612a8f612472565b5b6000612a9e858286016126bf565b9250506020612aaf85828601612a64565b9150509250929050565b600067ffffffffffffffff821115612ad457612ad36127c3565b5b612add826125e0565b9050602081019050919050565b6000612afd612af884612ab9565b612823565b905082815260208101848484011115612b1957612b1861294f565b5b612b24848285612985565b509392505050565b600082601f830112612b4157612b406127be565b5b8135612b51848260208601612aea565b91505092915050565b60008060008060808587031215612b7457612b73612472565b5b6000612b82878288016126bf565b9450506020612b93878288016126bf565b9350506040612ba48782880161249d565b925050606085013567ffffffffffffffff811115612bc557612bc4612477565b5b612bd187828801612b2c565b91505092959194509250565b60008060408385031215612bf457612bf3612472565b5b6000612c02858286016126bf565b9250506020612c13858286016126bf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c6457607f821691505b602082108103612c7757612c76612c1d565b5b50919050565b6000604082019050612c92600083018561267e565b612c9f602083018461267e565b9392505050565b600081519050612cb581612a4d565b92915050565b600060208284031215612cd157612cd0612472565b5b6000612cdf84828501612ca6565b91505092915050565b7f42616c616e6365206973207a65726f0000000000000000000000000000000000600082015250565b6000612d1e600f836125a5565b9150612d2982612ce8565b602082019050919050565b60006020820190508181036000830152612d4d81612d11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d8e8261247c565b9150612d998361247c565b9250828201905080821115612db157612db0612d54565b5b92915050565b6000612dc28261247c565b9150612dcd8361247c565b9250828202612ddb8161247c565b91508282048414831517612df257612df1612d54565b5b5092915050565b7f4d7573742070726f76696465206174206c65617374206f6e652072656369706960008201527f656e740000000000000000000000000000000000000000000000000000000000602082015250565b6000612e556023836125a5565b9150612e6082612df9565b604082019050919050565b60006020820190508181036000830152612e8481612e48565b9050919050565b7f4e6f7420656e6f75676820737570706c7920746f2061697264726f7000000000600082015250565b6000612ec1601c836125a5565b9150612ecc82612e8b565b602082019050919050565b60006020820190508181036000830152612ef081612eb4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612f318261247c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612f6357612f62612d54565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612fd07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f93565b612fda8683612f93565b95508019841693508086168417925050509392505050565b6000819050919050565b600061301761301261300d8461247c565b612ff2565b61247c565b9050919050565b6000819050919050565b61303183612ffc565b61304561303d8261301e565b848454612fa0565b825550505050565b600090565b61305a61304d565b613065818484613028565b505050565b5b818110156130895761307e600082613052565b60018101905061306b565b5050565b601f8211156130ce5761309f81612f6e565b6130a884612f83565b810160208510156130b7578190505b6130cb6130c385612f83565b83018261306a565b50505b505050565b600082821c905092915050565b60006130f1600019846008026130d3565b1980831691505092915050565b600061310a83836130e0565b9150826002028217905092915050565b6131238261259a565b67ffffffffffffffff81111561313c5761313b6127c3565b5b6131468254612c4c565b61315182828561308d565b600060209050601f8311600181146131845760008415613172578287015190505b61317c85826130fe565b8655506131e4565b601f19841661319286612f6e565b60005b828110156131ba57848901518255600182019150602085019450602081019050613195565b868310156131d757848901516131d3601f8916826130e0565b8355505b6001600288020188555050505b505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613248602f836125a5565b9150613253826131ec565b604082019050919050565b600060208201905081810360008301526132778161323b565b9050919050565b600081905092915050565b60006132948261259a565b61329e818561327e565b93506132ae8185602086016125b6565b80840191505092915050565b600081546132c781612c4c565b6132d1818661327e565b945060018216600081146132ec576001811461330157613334565b60ff1983168652811515820286019350613334565b61330a85612f6e565b60005b8381101561332c5781548189015260018201915060208101905061330d565b838801955050505b50505092915050565b60006133498286613289565b91506133558285613289565b915061336182846132ba565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006133ca6026836125a5565b91506133d58261336e565b604082019050919050565b600060208201905081810360008301526133f9816133bd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134366020836125a5565b915061344182613400565b602082019050919050565b6000602082019050818103600083015261346581613429565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006134c28261349b565b6134cc81856134a6565b93506134dc8185602086016125b6565b6134e5816125e0565b840191505092915050565b6000608082019050613505600083018761267e565b613512602083018661267e565b61351f6040830185612714565b818103606083015261353181846134b7565b905095945050505050565b60008151905061354b8161250b565b92915050565b60006020828403121561356757613566612472565b5b60006135758482850161353c565b9150509291505056fea26469706673582212209a09a75091be1d36aba72164a1fcf9970e40b925f0b15ebf09fbf728074f7b4b64736f6c63430008120033
Deployed Bytecode Sourcemap
129740:4274:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133228:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;35890:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36792:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130308:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43283:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42716:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32543:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132617:167;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131893:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133463:170;;;;;;;;;;;;;:::i;:::-;;132006:603;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;132792:175;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130556:488;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131687:198;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131160:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130222:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38185:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33727:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;90477:103;;;;;;;;;;;;;:::i;:::-;;131486:193;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;89836:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131272:98;;;;;;;;;;;;;:::i;:::-;;36968:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131378:100;;;;;;;;;;;;;:::i;:::-;;43841:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129983:49;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132975:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129936:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130039:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133641:370;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130184:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44232:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133336:119;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;90735:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;133228:100;89722:13;:11;:13::i;:::-;133312:8:::1;133299:10;:21;;;;133228:100:::0;:::o;35890:639::-;35975:4;36314:10;36299:25;;:11;:25;;;;:102;;;;36391:10;36376:25;;:11;:25;;;;36299:102;:179;;;;36468:10;36453:25;;:11;:25;;;;36299:179;36279:199;;35890:639;;;:::o;36792:100::-;36846:13;36879:5;36872:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36792:100;:::o;130308:33::-;;;;;;;;;;;;;:::o;43283:218::-;43359:7;43384:16;43392:7;43384;:16::i;:::-;43379:64;;43409:34;;;;;;;;;;;;;;43379:64;43463:15;:24;43479:7;43463:24;;;;;;;;;;;:30;;;;;;;;;;;;43456:37;;43283:218;;;:::o;42716:408::-;42805:13;42821:16;42829:7;42821;:16::i;:::-;42805:32;;42877:5;42854:28;;:19;:17;:19::i;:::-;:28;;;42850:175;;42902:44;42919:5;42926:19;:17;:19::i;:::-;42902:16;:44::i;:::-;42897:128;;42974:35;;;;;;;;;;;;;;42897:128;42850:175;43070:2;43037:15;:24;43053:7;43037:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;43108:7;43104:2;43088:28;;43097:5;43088:28;;;;;;;;;;;;42794:330;42716:408;;:::o;32543:323::-;32604:7;32832:15;:13;:15::i;:::-;32817:12;;32801:13;;:28;:46;32794:53;;32543:323;:::o;132617:167::-;16967:1;15793:42;16921:43;;;:47;16917:225;;;15793:42;16990:40;;;17039:4;17046:10;16990:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16985:146;;17104:10;17085:30;;;;;;;;;;;:::i;:::-;;;;;;;;16985:146;16917:225;132739:37:::1;132758:4;132764:2;132768:7;132739:18;:37::i;:::-;132617:167:::0;;;:::o;131893:105::-;131951:4;131975:9;:15;131985:4;131975:15;;;;;;;;;;;;;;;;;;;;;;;;;131968:22;;131893:105;;;:::o;133463:170::-;89722:13;:11;:13::i;:::-;133545:1:::1;133521:21;:25;133513:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;133585:7;:5;:7::i;:::-;133577:25;;:48;133603:21;133577:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;133463:170::o:0;132006:603::-;132161:6;;;;;;;;;;;132160:7;132152:16;;;;;;132196:1;132187:6;:10;132179:19;;;;;;132209:14;132226:13;:11;:13::i;:::-;132209:30;;132277:9;;132267:6;132258;:15;;;;:::i;:::-;:28;;132250:37;;;;;;132304:21;;;;;;;;;;;:50;;;;;132329:25;132343:10;132329:13;:25::i;:::-;132304:50;132300:208;;;132415:6;132392:20;;:29;;;;:::i;:::-;132379:9;:42;;132371:51;;;;;;132300:208;;;132489:6;132476:10;;:19;;;;:::i;:::-;132463:9;:32;;132455:41;;;;;;132300:208;132520:17;132526:2;132530:6;132520:5;:17::i;:::-;132564:7;:5;:7::i;:::-;132556:21;;:44;132578:21;132556:44;;;;;;;;;;;;;;;;;;;;;;;132548:53;;;;;;132063:546;132006:603;;:::o;132792:175::-;16967:1;15793:42;16921:43;;;:47;16917:225;;;15793:42;16990:40;;;17039:4;17046:10;16990:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16985:146;;17104:10;17085:30;;;;;;;;;;;:::i;:::-;;;;;;;;16985:146;16917:225;132918:41:::1;132941:4;132947:2;132951:7;132918:22;:41::i;:::-;132792:175:::0;;;:::o;130556:488::-;89722:13;:11;:13::i;:::-;130662:1:::1;130642:10;:17;:21;130634:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;130795:19;130817:13;:11;:13::i;:::-;130795:35;;130876:10;:17;130862:11;:31;;;;:::i;:::-;130849:9;;:44;;130841:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;130944:9;130939:98;130963:10;:17;130959:1;:21;130939:98;;;131002:23;131008:10;131019:1;131008:13;;;;;;;;:::i;:::-;;;;;;;;131023:1;131002:5;:23::i;:::-;130982:3;;;;;:::i;:::-;;;;130939:98;;;;130623:421;130556:488:::0;:::o;131687:198::-;89722:13;:11;:13::i;:::-;131779:9:::1;131774:104;131798:9;:16;131794:1;:20;131774:104;;;131843:9;:23;131853:9;131863:1;131853:12;;;;;;;;:::i;:::-;;;;;;;;131843:23;;;;;;;;;;;;;;;;131836:30;;;;;;;;;;;131816:3;;;;;:::i;:::-;;;;131774:104;;;;131687:198:::0;:::o;131160:104::-;89722:13;:11;:13::i;:::-;131246:10:::1;131236:7;:20;;;;;;:::i;:::-;;131160:104:::0;:::o;130222:26::-;;;;;;;;;;;;;:::o;38185:152::-;38257:7;38300:27;38319:7;38300:18;:27::i;:::-;38277:52;;38185:152;;;:::o;33727:233::-;33799:7;33840:1;33823:19;;:5;:19;;;33819:60;;33851:28;;;;;;;;;;;;;;33819:60;27886:13;33897:18;:25;33916:5;33897:25;;;;;;;;;;;;;;;;:55;33890:62;;33727:233;;;:::o;90477:103::-;89722:13;:11;:13::i;:::-;90542:30:::1;90569:1;90542:18;:30::i;:::-;90477:103::o:0;131486:193::-;89722:13;:11;:13::i;:::-;131573:9:::1;131568:104;131592:9;:16;131588:1;:20;131568:104;;;131656:4;131630:9;:23;131640:9;131650:1;131640:12;;;;;;;;:::i;:::-;;;;;;;;131630:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;131610:3;;;;;:::i;:::-;;;;131568:104;;;;131486:193:::0;:::o;89836:87::-;89882:7;89909:6;;;;;;;;;;;89902:13;;89836:87;:::o;131272:98::-;89722:13;:11;:13::i;:::-;131358:4:::1;131334:21;;:28;;;;;;;;;;;;;;;;;;131272:98::o:0;36968:104::-;37024:13;37057:7;37050:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36968:104;:::o;131378:100::-;89722:13;:11;:13::i;:::-;131465:5:::1;131441:21;;:29;;;;;;;;;;;;;;;;;;131378:100::o:0;43841:234::-;43988:8;43936:18;:39;43955:19;:17;:19::i;:::-;43936:39;;;;;;;;;;;;;;;:49;43976:8;43936:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;44048:8;44012:55;;44027:19;:17;:19::i;:::-;44012:55;;;44058:8;44012:55;;;;;;:::i;:::-;;;;;;;;43841:234;;:::o;129983:49::-;;;;:::o;132975:241::-;16967:1;15793:42;16921:43;;;:47;16917:225;;;15793:42;16990:40;;;17039:4;17046:10;16990:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16985:146;;17104:10;17085:30;;;;;;;;;;;:::i;:::-;;;;;;;;16985:146;16917:225;133161:47:::1;133184:4;133190:2;133194:7;133203:4;133161:22;:47::i;:::-;132975:241:::0;;;;:::o;129936:39::-;;;;:::o;130039:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;133641:370::-;133714:13;133748:16;133756:7;133748;:16::i;:::-;133740:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;133829:28;133860:10;:8;:10::i;:::-;133829:41;;133919:1;133894:14;133888:28;:32;:115;;;;;;;;;;;;;;;;;133947:14;133963:18;:7;:16;:18::i;:::-;133983:13;133930:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;133888:115;133881:122;;;133641:370;;;:::o;130184:31::-;;;;:::o;44232:164::-;44329:4;44353:18;:25;44372:5;44353:25;;;;;;;;;;;;;;;:35;44379:8;44353:35;;;;;;;;;;;;;;;;;;;;;;;;;44346:42;;44232:164;;;;:::o;133336:119::-;89722:13;:11;:13::i;:::-;133439:8:::1;133416:20;:31;;;;133336:119:::0;:::o;90735:201::-;89722:13;:11;:13::i;:::-;90844:1:::1;90824:22;;:8;:22;;::::0;90816:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;90900:28;90919:8;90900:18;:28::i;:::-;90735:201:::0;:::o;69915:127::-;70022:1;70004:7;:14;;;:19;;;;;;;;;;;69915:127;:::o;90001:132::-;90076:12;:10;:12::i;:::-;90065:23;;:7;:5;:7::i;:::-;:23;;;90057:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;90001:132::o;44654:282::-;44719:4;44775:7;44756:15;:13;:15::i;:::-;:26;;:66;;;;;44809:13;;44799:7;:23;44756:66;:153;;;;;44908:1;28662:8;44860:17;:26;44878:7;44860:26;;;;;;;;;;;;:44;:49;44756:153;44736:173;;44654:282;;;:::o;66962:105::-;67022:7;67049:10;67042:17;;66962:105;:::o;130445:101::-;130511:7;130537:1;130530:8;;130445:101;:::o;46922:2825::-;47064:27;47094;47113:7;47094:18;:27::i;:::-;47064:57;;47179:4;47138:45;;47154:19;47138:45;;;47134:86;;47192:28;;;;;;;;;;;;;;47134:86;47234:27;47263:23;47290:35;47317:7;47290:26;:35::i;:::-;47233:92;;;;47425:68;47450:15;47467:4;47473:19;:17;:19::i;:::-;47425:24;:68::i;:::-;47420:180;;47513:43;47530:4;47536:19;:17;:19::i;:::-;47513:16;:43::i;:::-;47508:92;;47565:35;;;;;;;;;;;;;;47508:92;47420:180;47631:1;47617:16;;:2;:16;;;47613:52;;47642:23;;;;;;;;;;;;;;47613:52;47678:43;47700:4;47706:2;47710:7;47719:1;47678:21;:43::i;:::-;47814:15;47811:160;;;47954:1;47933:19;47926:30;47811:160;48351:18;:24;48370:4;48351:24;;;;;;;;;;;;;;;;48349:26;;;;;;;;;;;;48420:18;:22;48439:2;48420:22;;;;;;;;;;;;;;;;48418:24;;;;;;;;;;;48742:146;48779:2;48828:45;48843:4;48849:2;48853:19;48828:14;:45::i;:::-;28942:8;48800:73;48742:18;:146::i;:::-;48713:17;:26;48731:7;48713:26;;;;;;;;;;;:175;;;;49059:1;28942:8;49008:19;:47;:52;49004:627;;49081:19;49113:1;49103:7;:11;49081:33;;49270:1;49236:17;:30;49254:11;49236:30;;;;;;;;;;;;:35;49232:384;;49374:13;;49359:11;:28;49355:242;;49554:19;49521:17;:30;49539:11;49521:30;;;;;;;;;;;:52;;;;49355:242;49232:384;49062:569;49004:627;49678:7;49674:2;49659:27;;49668:4;49659:27;;;;;;;;;;;;49697:42;49718:4;49724:2;49728:7;49737:1;49697:20;:42::i;:::-;47053:2694;;;46922:2825;;;:::o;54303:2966::-;54376:20;54399:13;;54376:36;;54439:1;54427:8;:13;54423:44;;54449:18;;;;;;;;;;;;;;54423:44;54480:61;54510:1;54514:2;54518:12;54532:8;54480:21;:61::i;:::-;55024:1;28024:2;54994:1;:26;;54993:32;54981:8;:45;54955:18;:22;54974:2;54955:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;55303:139;55340:2;55394:33;55417:1;55421:2;55425:1;55394:14;:33::i;:::-;55361:30;55382:8;55361:20;:30::i;:::-;:66;55303:18;:139::i;:::-;55269:17;:31;55287:12;55269:31;;;;;;;;;;;:173;;;;55459:16;55490:11;55519:8;55504:12;:23;55490:37;;56040:16;56036:2;56032:25;56020:37;;56412:12;56372:8;56331:1;56269:25;56210:1;56149;56122:335;56783:1;56769:12;56765:20;56723:346;56824:3;56815:7;56812:16;56723:346;;57042:7;57032:8;57029:1;57002:25;56999:1;56996;56991:59;56877:1;56868:7;56864:15;56853:26;;56723:346;;;56727:77;57114:1;57102:8;:13;57098:45;;57124:19;;;;;;;;;;;;;;57098:45;57176:3;57160:13;:19;;;;54729:2462;;57201:60;57230:1;57234:2;57238:12;57252:8;57201:20;:60::i;:::-;54365:2904;54303:2966;;:::o;49843:193::-;49989:39;50006:4;50012:2;50016:7;49989:39;;;;;;;;;;;;:16;:39::i;:::-;49843:193;;;:::o;39340:1275::-;39407:7;39427:12;39442:7;39427:22;;39510:4;39491:15;:13;:15::i;:::-;:23;39487:1061;;39544:13;;39537:4;:20;39533:1015;;;39582:14;39599:17;:23;39617:4;39599:23;;;;;;;;;;;;39582:40;;39716:1;28662:8;39688:6;:24;:29;39684:845;;40353:113;40370:1;40360:6;:11;40353:113;;40413:17;:25;40431:6;;;;;;;40413:25;;;;;;;;;;;;40404:34;;40353:113;;;40499:6;40492:13;;;;;;39684:845;39559:989;39533:1015;39487:1061;40576:31;;;;;;;;;;;;;;39340:1275;;;;:::o;91096:191::-;91170:16;91189:6;;;;;;;;;;;91170:25;;91215:8;91206:6;;:17;;;;;;;;;;;;;;;;;;91270:8;91239:40;;91260:8;91239:40;;;;;;;;;;;;91159:128;91096:191;:::o;50634:407::-;50809:31;50822:4;50828:2;50832:7;50809:12;:31::i;:::-;50873:1;50855:2;:14;;;:19;50851:183;;50894:56;50925:4;50931:2;50935:7;50944:5;50894:30;:56::i;:::-;50889:145;;50978:40;;;;;;;;;;;;;;50889:145;50851:183;50634:407;;;;:::o;131052:100::-;131104:13;131137:7;131130:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;131052:100;:::o;85306:716::-;85362:13;85413:14;85450:1;85430:17;85441:5;85430:10;:17::i;:::-;:21;85413:38;;85466:20;85500:6;85489:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85466:41;;85522:11;85651:6;85647:2;85643:15;85635:6;85631:28;85624:35;;85688:288;85695:4;85688:288;;;85720:5;;;;;;;;85862:8;85857:2;85850:5;85846:14;85841:30;85836:3;85828:44;85918:2;85909:11;;;;;;:::i;:::-;;;;;85952:1;85943:5;:10;85688:288;85939:21;85688:288;85997:6;85990:13;;;;;85306:716;;;:::o;88387:98::-;88440:7;88467:10;88460:17;;88387:98;:::o;45817:485::-;45919:27;45948:23;45989:38;46030:15;:24;46046:7;46030:24;;;;;;;;;;;45989:65;;46207:18;46184:41;;46264:19;46258:26;46239:45;;46169:126;45817:485;;;:::o;45045:659::-;45194:11;45359:16;45352:5;45348:28;45339:37;;45519:16;45508:9;45504:32;45491:45;;45669:15;45658:9;45655:30;45647:5;45636:9;45633:20;45630:56;45620:66;;45045:659;;;;;:::o;51703:159::-;;;;;:::o;66271:311::-;66406:7;66426:16;29066:3;66452:19;:41;;66426:68;;29066:3;66520:31;66531:4;66537:2;66541:9;66520:10;:31::i;:::-;66512:40;;:62;;66505:69;;;66271:311;;;;;:::o;41163:450::-;41243:14;41411:16;41404:5;41400:28;41391:37;;41588:5;41574:11;41549:23;41545:41;41542:52;41535:5;41532:63;41522:73;;41163:450;;;;:::o;52527:158::-;;;;;:::o;41715:324::-;41785:14;42018:1;42008:8;42005:15;41979:24;41975:46;41965:56;;41715:324;;;:::o;53125:716::-;53288:4;53334:2;53309:45;;;53355:19;:17;:19::i;:::-;53376:4;53382:7;53391:5;53309:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;53305:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53609:1;53592:6;:13;:18;53588:235;;53638:40;;;;;;;;;;;;;;53588:235;53781:6;53775:13;53766:6;53762:2;53758:15;53751:38;53305:529;53478:54;;;53468:64;;;:6;:64;;;;53461:71;;;53125:716;;;;;;:::o;82140:948::-;82193:7;82213:14;82230:1;82213:18;;82280:8;82271:5;:17;82267:106;;82318:8;82309:17;;;;;;:::i;:::-;;;;;82355:2;82345:12;;;;82267:106;82400:8;82391:5;:17;82387:106;;82438:8;82429:17;;;;;;:::i;:::-;;;;;82475:2;82465:12;;;;82387:106;82520:8;82511:5;:17;82507:106;;82558:8;82549:17;;;;;;:::i;:::-;;;;;82595:2;82585:12;;;;82507:106;82640:7;82631:5;:16;82627:103;;82677:7;82668:16;;;;;;:::i;:::-;;;;;82713:1;82703:11;;;;82627:103;82757:7;82748:5;:16;82744:103;;82794:7;82785:16;;;;;;:::i;:::-;;;;;82830:1;82820:11;;;;82744:103;82874:7;82865:5;:16;82861:103;;82911:7;82902:16;;;;;;:::i;:::-;;;;;82947:1;82937:11;;;;82861:103;82991:7;82982:5;:16;82978:68;;83029:1;83019:11;;;;82978:68;83074:6;83067:13;;;82140:948;;;:::o;65972:147::-;66109:6;65972:147;;;;;:::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:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:149::-;1061:7;1101:66;1094:5;1090:78;1079:89;;1025:149;;;:::o;1180:120::-;1252:23;1269:5;1252:23;:::i;:::-;1245:5;1242:34;1232:62;;1290:1;1287;1280:12;1232:62;1180:120;:::o;1306:137::-;1351:5;1389:6;1376:20;1367:29;;1405:32;1431:5;1405:32;:::i;:::-;1306:137;;;;:::o;1449:327::-;1507:6;1556:2;1544:9;1535:7;1531:23;1527:32;1524:119;;;1562:79;;:::i;:::-;1524:119;1682:1;1707:52;1751:7;1742:6;1731:9;1727:22;1707:52;:::i;:::-;1697:62;;1653:116;1449:327;;;;:::o;1782:90::-;1816:7;1859:5;1852:13;1845:21;1834:32;;1782:90;;;:::o;1878:109::-;1959:21;1974:5;1959:21;:::i;:::-;1954:3;1947:34;1878:109;;:::o;1993:210::-;2080:4;2118:2;2107:9;2103:18;2095:26;;2131:65;2193:1;2182:9;2178:17;2169:6;2131:65;:::i;:::-;1993:210;;;;:::o;2209:99::-;2261:6;2295:5;2289:12;2279:22;;2209:99;;;:::o;2314:169::-;2398:11;2432:6;2427:3;2420:19;2472:4;2467:3;2463:14;2448:29;;2314:169;;;;:::o;2489:246::-;2570:1;2580:113;2594:6;2591:1;2588:13;2580:113;;;2679:1;2674:3;2670:11;2664:18;2660:1;2655:3;2651:11;2644:39;2616:2;2613:1;2609:10;2604:15;;2580:113;;;2727:1;2718:6;2713:3;2709:16;2702:27;2551:184;2489:246;;;:::o;2741:102::-;2782:6;2833:2;2829:7;2824:2;2817:5;2813:14;2809:28;2799:38;;2741:102;;;:::o;2849:377::-;2937:3;2965:39;2998:5;2965:39;:::i;:::-;3020:71;3084:6;3079:3;3020:71;:::i;:::-;3013:78;;3100:65;3158:6;3153:3;3146:4;3139:5;3135:16;3100:65;:::i;:::-;3190:29;3212:6;3190:29;:::i;:::-;3185:3;3181:39;3174:46;;2941:285;2849:377;;;;:::o;3232:313::-;3345:4;3383:2;3372:9;3368:18;3360:26;;3432:9;3426:4;3422:20;3418:1;3407:9;3403:17;3396:47;3460:78;3533:4;3524:6;3460:78;:::i;:::-;3452:86;;3232:313;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:329::-;5926:6;5975:2;5963:9;5954:7;5950:23;5946:32;5943:119;;;5981:79;;:::i;:::-;5943:119;6101:1;6126:53;6171:7;6162:6;6151:9;6147:22;6126:53;:::i;:::-;6116:63;;6072:117;5867:329;;;;:::o;6202:117::-;6311:1;6308;6301:12;6325:180;6373:77;6370:1;6363:88;6470:4;6467:1;6460:15;6494:4;6491:1;6484:15;6511:281;6594:27;6616:4;6594:27;:::i;:::-;6586:6;6582:40;6724:6;6712:10;6709:22;6688:18;6676:10;6673:34;6670:62;6667:88;;;6735:18;;:::i;:::-;6667:88;6775:10;6771:2;6764:22;6554:238;6511:281;;:::o;6798:129::-;6832:6;6859:20;;:::i;:::-;6849:30;;6888:33;6916:4;6908:6;6888:33;:::i;:::-;6798:129;;;:::o;6933:311::-;7010:4;7100:18;7092:6;7089:30;7086:56;;;7122:18;;:::i;:::-;7086:56;7172:4;7164:6;7160:17;7152:25;;7232:4;7226;7222:15;7214:23;;6933:311;;;:::o;7250:117::-;7359:1;7356;7349:12;7390:710;7486:5;7511:81;7527:64;7584:6;7527:64;:::i;:::-;7511:81;:::i;:::-;7502:90;;7612:5;7641:6;7634:5;7627:21;7675:4;7668:5;7664:16;7657:23;;7728:4;7720:6;7716:17;7708:6;7704:30;7757:3;7749:6;7746:15;7743:122;;;7776:79;;:::i;:::-;7743:122;7891:6;7874:220;7908:6;7903:3;7900:15;7874:220;;;7983:3;8012:37;8045:3;8033:10;8012:37;:::i;:::-;8007:3;8000:50;8079:4;8074:3;8070:14;8063:21;;7950:144;7934:4;7929:3;7925:14;7918:21;;7874:220;;;7878:21;7492:608;;7390:710;;;;;:::o;8123:370::-;8194:5;8243:3;8236:4;8228:6;8224:17;8220:27;8210:122;;8251:79;;:::i;:::-;8210:122;8368:6;8355:20;8393:94;8483:3;8475:6;8468:4;8460:6;8456:17;8393:94;:::i;:::-;8384:103;;8200:293;8123:370;;;;:::o;8499:539::-;8583:6;8632:2;8620:9;8611:7;8607:23;8603:32;8600:119;;;8638:79;;:::i;:::-;8600:119;8786:1;8775:9;8771:17;8758:31;8816:18;8808:6;8805:30;8802:117;;;8838:79;;:::i;:::-;8802:117;8943:78;9013:7;9004:6;8993:9;8989:22;8943:78;:::i;:::-;8933:88;;8729:302;8499:539;;;;:::o;9044:117::-;9153:1;9150;9143:12;9167:308;9229:4;9319:18;9311:6;9308:30;9305:56;;;9341:18;;:::i;:::-;9305:56;9379:29;9401:6;9379:29;:::i;:::-;9371:37;;9463:4;9457;9453:15;9445:23;;9167:308;;;:::o;9481:146::-;9578:6;9573:3;9568;9555:30;9619:1;9610:6;9605:3;9601:16;9594:27;9481:146;;;:::o;9633:425::-;9711:5;9736:66;9752:49;9794:6;9752:49;:::i;:::-;9736:66;:::i;:::-;9727:75;;9825:6;9818:5;9811:21;9863:4;9856:5;9852:16;9901:3;9892:6;9887:3;9883:16;9880:25;9877:112;;;9908:79;;:::i;:::-;9877:112;9998:54;10045:6;10040:3;10035;9998:54;:::i;:::-;9717:341;9633:425;;;;;:::o;10078:340::-;10134:5;10183:3;10176:4;10168:6;10164:17;10160:27;10150:122;;10191:79;;:::i;:::-;10150:122;10308:6;10295:20;10333:79;10408:3;10400:6;10393:4;10385:6;10381:17;10333:79;:::i;:::-;10324:88;;10140:278;10078:340;;;;:::o;10424:509::-;10493:6;10542:2;10530:9;10521:7;10517:23;10513:32;10510:119;;;10548:79;;:::i;:::-;10510:119;10696:1;10685:9;10681:17;10668:31;10726:18;10718:6;10715:30;10712:117;;;10748:79;;:::i;:::-;10712:117;10853:63;10908:7;10899:6;10888:9;10884:22;10853:63;:::i;:::-;10843:73;;10639:287;10424:509;;;;:::o;10939:116::-;11009:21;11024:5;11009:21;:::i;:::-;11002:5;10999:32;10989:60;;11045:1;11042;11035:12;10989:60;10939:116;:::o;11061:133::-;11104:5;11142:6;11129:20;11120:29;;11158:30;11182:5;11158:30;:::i;:::-;11061:133;;;;:::o;11200:468::-;11265:6;11273;11322:2;11310:9;11301:7;11297:23;11293:32;11290:119;;;11328:79;;:::i;:::-;11290:119;11448:1;11473:53;11518:7;11509:6;11498:9;11494:22;11473:53;:::i;:::-;11463:63;;11419:117;11575:2;11601:50;11643:7;11634:6;11623:9;11619:22;11601:50;:::i;:::-;11591:60;;11546:115;11200:468;;;;;:::o;11674:307::-;11735:4;11825:18;11817:6;11814:30;11811:56;;;11847:18;;:::i;:::-;11811:56;11885:29;11907:6;11885:29;:::i;:::-;11877:37;;11969:4;11963;11959:15;11951:23;;11674:307;;;:::o;11987:423::-;12064:5;12089:65;12105:48;12146:6;12105:48;:::i;:::-;12089:65;:::i;:::-;12080:74;;12177:6;12170:5;12163:21;12215:4;12208:5;12204:16;12253:3;12244:6;12239:3;12235:16;12232:25;12229:112;;;12260:79;;:::i;:::-;12229:112;12350:54;12397:6;12392:3;12387;12350:54;:::i;:::-;12070:340;11987:423;;;;;:::o;12429:338::-;12484:5;12533:3;12526:4;12518:6;12514:17;12510:27;12500:122;;12541:79;;:::i;:::-;12500:122;12658:6;12645:20;12683:78;12757:3;12749:6;12742:4;12734:6;12730:17;12683:78;:::i;:::-;12674:87;;12490:277;12429:338;;;;:::o;12773:943::-;12868:6;12876;12884;12892;12941:3;12929:9;12920:7;12916:23;12912:33;12909:120;;;12948:79;;:::i;:::-;12909:120;13068:1;13093:53;13138:7;13129:6;13118:9;13114:22;13093:53;:::i;:::-;13083:63;;13039:117;13195:2;13221:53;13266:7;13257:6;13246:9;13242:22;13221:53;:::i;:::-;13211:63;;13166:118;13323:2;13349:53;13394:7;13385:6;13374:9;13370:22;13349:53;:::i;:::-;13339:63;;13294:118;13479:2;13468:9;13464:18;13451:32;13510:18;13502:6;13499:30;13496:117;;;13532:79;;:::i;:::-;13496:117;13637:62;13691:7;13682:6;13671:9;13667:22;13637:62;:::i;:::-;13627:72;;13422:287;12773:943;;;;;;;:::o;13722:474::-;13790:6;13798;13847:2;13835:9;13826:7;13822:23;13818:32;13815:119;;;13853:79;;:::i;:::-;13815:119;13973:1;13998:53;14043:7;14034:6;14023:9;14019:22;13998:53;:::i;:::-;13988:63;;13944:117;14100:2;14126:53;14171:7;14162:6;14151:9;14147:22;14126:53;:::i;:::-;14116:63;;14071:118;13722:474;;;;;:::o;14202:180::-;14250:77;14247:1;14240:88;14347:4;14344:1;14337:15;14371:4;14368:1;14361:15;14388:320;14432:6;14469:1;14463:4;14459:12;14449:22;;14516:1;14510:4;14506:12;14537:18;14527:81;;14593:4;14585:6;14581:17;14571:27;;14527:81;14655:2;14647:6;14644:14;14624:18;14621:38;14618:84;;14674:18;;:::i;:::-;14618:84;14439:269;14388:320;;;:::o;14714:332::-;14835:4;14873:2;14862:9;14858:18;14850:26;;14886:71;14954:1;14943:9;14939:17;14930:6;14886:71;:::i;:::-;14967:72;15035:2;15024:9;15020:18;15011:6;14967:72;:::i;:::-;14714:332;;;;;:::o;15052:137::-;15106:5;15137:6;15131:13;15122:22;;15153:30;15177:5;15153:30;:::i;:::-;15052:137;;;;:::o;15195:345::-;15262:6;15311:2;15299:9;15290:7;15286:23;15282:32;15279:119;;;15317:79;;:::i;:::-;15279:119;15437:1;15462:61;15515:7;15506:6;15495:9;15491:22;15462:61;:::i;:::-;15452:71;;15408:125;15195:345;;;;:::o;15546:165::-;15686:17;15682:1;15674:6;15670:14;15663:41;15546:165;:::o;15717:366::-;15859:3;15880:67;15944:2;15939:3;15880:67;:::i;:::-;15873:74;;15956:93;16045:3;15956:93;:::i;:::-;16074:2;16069:3;16065:12;16058:19;;15717:366;;;:::o;16089:419::-;16255:4;16293:2;16282:9;16278:18;16270:26;;16342:9;16336:4;16332:20;16328:1;16317:9;16313:17;16306:47;16370:131;16496:4;16370:131;:::i;:::-;16362:139;;16089:419;;;:::o;16514:180::-;16562:77;16559:1;16552:88;16659:4;16656:1;16649:15;16683:4;16680:1;16673:15;16700:191;16740:3;16759:20;16777:1;16759:20;:::i;:::-;16754:25;;16793:20;16811:1;16793:20;:::i;:::-;16788:25;;16836:1;16833;16829:9;16822:16;;16857:3;16854:1;16851:10;16848:36;;;16864:18;;:::i;:::-;16848:36;16700:191;;;;:::o;16897:410::-;16937:7;16960:20;16978:1;16960:20;:::i;:::-;16955:25;;16994:20;17012:1;16994:20;:::i;:::-;16989:25;;17049:1;17046;17042:9;17071:30;17089:11;17071:30;:::i;:::-;17060:41;;17250:1;17241:7;17237:15;17234:1;17231:22;17211:1;17204:9;17184:83;17161:139;;17280:18;;:::i;:::-;17161:139;16945:362;16897:410;;;;:::o;17313:222::-;17453:34;17449:1;17441:6;17437:14;17430:58;17522:5;17517:2;17509:6;17505:15;17498:30;17313:222;:::o;17541:366::-;17683:3;17704:67;17768:2;17763:3;17704:67;:::i;:::-;17697:74;;17780:93;17869:3;17780:93;:::i;:::-;17898:2;17893:3;17889:12;17882:19;;17541:366;;;:::o;17913:419::-;18079:4;18117:2;18106:9;18102:18;18094:26;;18166:9;18160:4;18156:20;18152:1;18141:9;18137:17;18130:47;18194:131;18320:4;18194:131;:::i;:::-;18186:139;;17913:419;;;:::o;18338:178::-;18478:30;18474:1;18466:6;18462:14;18455:54;18338:178;:::o;18522:366::-;18664:3;18685:67;18749:2;18744:3;18685:67;:::i;:::-;18678:74;;18761:93;18850:3;18761:93;:::i;:::-;18879:2;18874:3;18870:12;18863:19;;18522:366;;;:::o;18894:419::-;19060:4;19098:2;19087:9;19083:18;19075:26;;19147:9;19141:4;19137:20;19133:1;19122:9;19118:17;19111:47;19175:131;19301:4;19175:131;:::i;:::-;19167:139;;18894:419;;;:::o;19319:180::-;19367:77;19364:1;19357:88;19464:4;19461:1;19454:15;19488:4;19485:1;19478:15;19505:233;19544:3;19567:24;19585:5;19567:24;:::i;:::-;19558:33;;19613:66;19606:5;19603:77;19600:103;;19683:18;;:::i;:::-;19600:103;19730:1;19723:5;19719:13;19712:20;;19505:233;;;:::o;19744:141::-;19793:4;19816:3;19808:11;;19839:3;19836:1;19829:14;19873:4;19870:1;19860:18;19852:26;;19744:141;;;:::o;19891:93::-;19928:6;19975:2;19970;19963:5;19959:14;19955:23;19945:33;;19891:93;;;:::o;19990:107::-;20034:8;20084:5;20078:4;20074:16;20053:37;;19990:107;;;;:::o;20103:393::-;20172:6;20222:1;20210:10;20206:18;20245:97;20275:66;20264:9;20245:97;:::i;:::-;20363:39;20393:8;20382:9;20363:39;:::i;:::-;20351:51;;20435:4;20431:9;20424:5;20420:21;20411:30;;20484:4;20474:8;20470:19;20463:5;20460:30;20450:40;;20179:317;;20103:393;;;;;:::o;20502:60::-;20530:3;20551:5;20544:12;;20502:60;;;:::o;20568:142::-;20618:9;20651:53;20669:34;20678:24;20696:5;20678:24;:::i;:::-;20669:34;:::i;:::-;20651:53;:::i;:::-;20638:66;;20568:142;;;:::o;20716:75::-;20759:3;20780:5;20773:12;;20716:75;;;:::o;20797:269::-;20907:39;20938:7;20907:39;:::i;:::-;20968:91;21017:41;21041:16;21017:41;:::i;:::-;21009:6;21002:4;20996:11;20968:91;:::i;:::-;20962:4;20955:105;20873:193;20797:269;;;:::o;21072:73::-;21117:3;21072:73;:::o;21151:189::-;21228:32;;:::i;:::-;21269:65;21327:6;21319;21313:4;21269:65;:::i;:::-;21204:136;21151:189;;:::o;21346:186::-;21406:120;21423:3;21416:5;21413:14;21406:120;;;21477:39;21514:1;21507:5;21477:39;:::i;:::-;21450:1;21443:5;21439:13;21430:22;;21406:120;;;21346:186;;:::o;21538:543::-;21639:2;21634:3;21631:11;21628:446;;;21673:38;21705:5;21673:38;:::i;:::-;21757:29;21775:10;21757:29;:::i;:::-;21747:8;21743:44;21940:2;21928:10;21925:18;21922:49;;;21961:8;21946:23;;21922:49;21984:80;22040:22;22058:3;22040:22;:::i;:::-;22030:8;22026:37;22013:11;21984:80;:::i;:::-;21643:431;;21628:446;21538:543;;;:::o;22087:117::-;22141:8;22191:5;22185:4;22181:16;22160:37;;22087:117;;;;:::o;22210:169::-;22254:6;22287:51;22335:1;22331:6;22323:5;22320:1;22316:13;22287:51;:::i;:::-;22283:56;22368:4;22362;22358:15;22348:25;;22261:118;22210:169;;;;:::o;22384:295::-;22460:4;22606:29;22631:3;22625:4;22606:29;:::i;:::-;22598:37;;22668:3;22665:1;22661:11;22655:4;22652:21;22644:29;;22384:295;;;;:::o;22684:1395::-;22801:37;22834:3;22801:37;:::i;:::-;22903:18;22895:6;22892:30;22889:56;;;22925:18;;:::i;:::-;22889:56;22969:38;23001:4;22995:11;22969:38;:::i;:::-;23054:67;23114:6;23106;23100:4;23054:67;:::i;:::-;23148:1;23172:4;23159:17;;23204:2;23196:6;23193:14;23221:1;23216:618;;;;23878:1;23895:6;23892:77;;;23944:9;23939:3;23935:19;23929:26;23920:35;;23892:77;23995:67;24055:6;24048:5;23995:67;:::i;:::-;23989:4;23982:81;23851:222;23186:887;;23216:618;23268:4;23264:9;23256:6;23252:22;23302:37;23334:4;23302:37;:::i;:::-;23361:1;23375:208;23389:7;23386:1;23383:14;23375:208;;;23468:9;23463:3;23459:19;23453:26;23445:6;23438:42;23519:1;23511:6;23507:14;23497:24;;23566:2;23555:9;23551:18;23538:31;;23412:4;23409:1;23405:12;23400:17;;23375:208;;;23611:6;23602:7;23599:19;23596:179;;;23669:9;23664:3;23660:19;23654:26;23712:48;23754:4;23746:6;23742:17;23731:9;23712:48;:::i;:::-;23704:6;23697:64;23619:156;23596:179;23821:1;23817;23809:6;23805:14;23801:22;23795:4;23788:36;23223:611;;;23186:887;;22776:1303;;;22684:1395;;:::o;24085:234::-;24225:34;24221:1;24213:6;24209:14;24202:58;24294:17;24289:2;24281:6;24277:15;24270:42;24085:234;:::o;24325:366::-;24467:3;24488:67;24552:2;24547:3;24488:67;:::i;:::-;24481:74;;24564:93;24653:3;24564:93;:::i;:::-;24682:2;24677:3;24673:12;24666:19;;24325:366;;;:::o;24697:419::-;24863:4;24901:2;24890:9;24886:18;24878:26;;24950:9;24944:4;24940:20;24936:1;24925:9;24921:17;24914:47;24978:131;25104:4;24978:131;:::i;:::-;24970:139;;24697:419;;;:::o;25122:148::-;25224:11;25261:3;25246:18;;25122:148;;;;:::o;25276:390::-;25382:3;25410:39;25443:5;25410:39;:::i;:::-;25465:89;25547:6;25542:3;25465:89;:::i;:::-;25458:96;;25563:65;25621:6;25616:3;25609:4;25602:5;25598:16;25563:65;:::i;:::-;25653:6;25648:3;25644:16;25637:23;;25386:280;25276:390;;;;:::o;25696:874::-;25799:3;25836:5;25830:12;25865:36;25891:9;25865:36;:::i;:::-;25917:89;25999:6;25994:3;25917:89;:::i;:::-;25910:96;;26037:1;26026:9;26022:17;26053:1;26048:166;;;;26228:1;26223:341;;;;26015:549;;26048:166;26132:4;26128:9;26117;26113:25;26108:3;26101:38;26194:6;26187:14;26180:22;26172:6;26168:35;26163:3;26159:45;26152:52;;26048:166;;26223:341;26290:38;26322:5;26290:38;:::i;:::-;26350:1;26364:154;26378:6;26375:1;26372:13;26364:154;;;26452:7;26446:14;26442:1;26437:3;26433:11;26426:35;26502:1;26493:7;26489:15;26478:26;;26400:4;26397:1;26393:12;26388:17;;26364:154;;;26547:6;26542:3;26538:16;26531:23;;26230:334;;26015:549;;25803:767;;25696:874;;;;:::o;26576:589::-;26801:3;26823:95;26914:3;26905:6;26823:95;:::i;:::-;26816:102;;26935:95;27026:3;27017:6;26935:95;:::i;:::-;26928:102;;27047:92;27135:3;27126:6;27047:92;:::i;:::-;27040:99;;27156:3;27149:10;;26576:589;;;;;;:::o;27171:225::-;27311:34;27307:1;27299:6;27295:14;27288:58;27380:8;27375:2;27367:6;27363:15;27356:33;27171:225;:::o;27402:366::-;27544:3;27565:67;27629:2;27624:3;27565:67;:::i;:::-;27558:74;;27641:93;27730:3;27641:93;:::i;:::-;27759:2;27754:3;27750:12;27743:19;;27402:366;;;:::o;27774:419::-;27940:4;27978:2;27967:9;27963:18;27955:26;;28027:9;28021:4;28017:20;28013:1;28002:9;27998:17;27991:47;28055:131;28181:4;28055:131;:::i;:::-;28047:139;;27774:419;;;:::o;28199:182::-;28339:34;28335:1;28327:6;28323:14;28316:58;28199:182;:::o;28387:366::-;28529:3;28550:67;28614:2;28609:3;28550:67;:::i;:::-;28543:74;;28626:93;28715:3;28626:93;:::i;:::-;28744:2;28739:3;28735:12;28728:19;;28387:366;;;:::o;28759:419::-;28925:4;28963:2;28952:9;28948:18;28940:26;;29012:9;29006:4;29002:20;28998:1;28987:9;28983:17;28976:47;29040:131;29166:4;29040:131;:::i;:::-;29032:139;;28759:419;;;:::o;29184:180::-;29232:77;29229:1;29222:88;29329:4;29326:1;29319:15;29353:4;29350:1;29343:15;29370:98;29421:6;29455:5;29449:12;29439:22;;29370:98;;;:::o;29474:168::-;29557:11;29591:6;29586:3;29579:19;29631:4;29626:3;29622:14;29607:29;;29474:168;;;;:::o;29648:373::-;29734:3;29762:38;29794:5;29762:38;:::i;:::-;29816:70;29879:6;29874:3;29816:70;:::i;:::-;29809:77;;29895:65;29953:6;29948:3;29941:4;29934:5;29930:16;29895:65;:::i;:::-;29985:29;30007:6;29985:29;:::i;:::-;29980:3;29976:39;29969:46;;29738:283;29648:373;;;;:::o;30027:640::-;30222:4;30260:3;30249:9;30245:19;30237:27;;30274:71;30342:1;30331:9;30327:17;30318:6;30274:71;:::i;:::-;30355:72;30423:2;30412:9;30408:18;30399:6;30355:72;:::i;:::-;30437;30505:2;30494:9;30490:18;30481:6;30437:72;:::i;:::-;30556:9;30550:4;30546:20;30541:2;30530:9;30526:18;30519:48;30584:76;30655:4;30646:6;30584:76;:::i;:::-;30576:84;;30027:640;;;;;;;:::o;30673:141::-;30729:5;30760:6;30754:13;30745:22;;30776:32;30802:5;30776:32;:::i;:::-;30673:141;;;;:::o;30820:349::-;30889:6;30938:2;30926:9;30917:7;30913:23;30909:32;30906:119;;;30944:79;;:::i;:::-;30906:119;31064:1;31089:63;31144:7;31135:6;31124:9;31120:22;31089:63;:::i;:::-;31079:73;;31035:127;30820:349;;;;:::o
Swarm Source
ipfs://9a09a75091be1d36aba72164a1fcf9970e40b925f0b15ebf09fbf728074f7b4b
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.