Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,686 3DCat
Holders
932
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 3DCatLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTCollectionContract
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-03 */ // File: 3dCat/3dCat.sol pragma solidity ^0.8.0; // ERC721A Contracts v4.2.2 // Creator: Chiru Labs // ERC721A Contracts v4.2.2 // Creator: Chiru Labs /** * @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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @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); // ============================================================= // 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); } /** * @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 { // Reference type for token approval. 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 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 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 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 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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) } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @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); } } // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol) /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!Address.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original * initialization step. This is essential to configure modules that are added through upgrades and that require * initialization. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } } // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC165, IERC2981 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981).interfaceId; } } /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; // solium-disable-next-line security/no-inline-assembly assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } } contract NFTCollection is ERC721A, ERC2981, AccessControl, Initializable { using Address for address payable; using Strings for uint256; /// Fixed at deployment time struct DeploymentConfig { // Name of the NFT contract. string name; // Symbol of the NFT contract. string symbol; // The contract owner address. If you wish to own the contract, then set it as your wallet address. // This is also the wallet that can manage the contract on NFT marketplaces. Use `transferOwnership()` // to update the contract owner. address owner; // The maximum number of tokens that can be minted in this collection. uint256 maxSupply; // The number of free token mints reserved for the contract owner uint256 reservedSupply; // Treasury address is the address where minting fees can be withdrawn to. // Use `withdrawFees()` to transfer the entire contract balance to the treasury address. address payable treasuryAddress; } /// Updatable by admins and owner struct RuntimeConfig { // Metadata base URI for tokens, NFTs minted in this contract will have metadata URI of `baseURI` + `tokenID`. // Set this to reveal token metadata. string baseURI; // If true, the base URI of the NFTs minted in the specified contract can be updated after minting (token URIs // are not frozen on the contract level). This is useful for revealing NFTs after the drop. If false, all the // NFTs minted in this contract are frozen by default which means token URIs are non-updatable. bool metadataUpdatable; /// The maximum number of tokens the user can mint per transaction. uint256 tokensPerMint; // Minting price per token for public minting uint256 publicMintPrice; // Flag for freezing the public mint price bool publicMintPriceFrozen; // Minting price per token for presale minting uint256 presaleMintPrice; // Flag for freezing the presale mint price bool presaleMintPriceFrozen; // Starting timestamp for public minting. uint256 publicMintStart; // Starting timestamp for whitelisted/presale minting. uint256 presaleMintStart; // Pre-reveal token URI for placholder metadata. This will be returned for all token IDs until a `baseURI` // has been set. string prerevealTokenURI; // Root of the Merkle tree of whitelisted addresses. This is used to check if a wallet has been whitelisted // for presale minting. bytes32 presaleMerkleRoot; // Secondary market royalties in basis points (100 bps = 1%) uint256 royaltiesBps; // Address for royalties address royaltiesAddress; } struct ContractInfo { uint256 version; DeploymentConfig deploymentConfig; RuntimeConfig runtimeConfig; } event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /************* * Constants * *************/ /// Contract version, semver-style uint X_YY_ZZ uint256 public constant VERSION = 1_03_00; /// Admin role bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); // Basis for calculating royalties. // This has to be 10k for royaltiesBps to be in basis points. uint16 public constant ROYALTIES_BASIS = 10000; /******************** * Public variables * ********************/ /// The number of tokens remaining in the reserve /// @dev Managed by the contract uint256 public reserveRemaining; /*************************** * Contract initialization * ***************************/ constructor() ERC721A("", "") { _preventInitialization = true; } /// Contract initializer function initialize( DeploymentConfig memory deploymentConfig, RuntimeConfig memory runtimeConfig ) public initializer { require(!_preventInitialization, "Cannot be initialized"); _validateDeploymentConfig(deploymentConfig); _grantRole(ADMIN_ROLE, msg.sender); _transferOwnership(deploymentConfig.owner); _deploymentConfig = deploymentConfig; _runtimeConfig = runtimeConfig; reserveRemaining = deploymentConfig.reservedSupply; } /**************** * User actions * ****************/ /// Mint tokens function mint(uint256 amount) external payable paymentProvided(amount * _runtimeConfig.publicMintPrice) { require(mintingActive(), "Minting has not started yet"); _mintTokens(msg.sender, amount); } /// Mint tokens if the wallet has been whitelisted function presaleMint(uint256 amount, bytes32[] calldata proof) external payable paymentProvided(amount * _runtimeConfig.presaleMintPrice) { require(presaleActive(), "Presale has not started yet"); require( isWhitelisted(msg.sender, proof), "Not whitelisted for presale" ); _presaleMinted[msg.sender] = true; _mintTokens(msg.sender, amount); } /****************** * View functions * ******************/ /// Check if public minting is active function mintingActive() public view returns (bool) { // We need to rely on block.timestamp since it's // asier to configure across different chains // solhint-disable-next-line not-rely-on-time return block.timestamp > _runtimeConfig.publicMintStart; } /// Check if presale minting is active function presaleActive() public view returns (bool) { // We need to rely on block.timestamp since it's // easier to configure across different chains // solhint-disable-next-line not-rely-on-time return block.timestamp > _runtimeConfig.presaleMintStart; } /// Get the number of tokens still available for minting function availableSupply() public view returns (uint256) { return _deploymentConfig.maxSupply - totalSupply() - reserveRemaining; } /// Check if the wallet is whitelisted for the presale function isWhitelisted(address wallet, bytes32[] calldata proof) public view returns (bool) { require(!_presaleMinted[wallet], "Already minted"); bytes32 leaf = keccak256(abi.encodePacked(wallet)); return MerkleProof.verify(proof, _runtimeConfig.presaleMerkleRoot, leaf); } /// 判断是否已经presaleMint address function didPresaleMinted(address wallet) public view returns (bool) { return _presaleMinted[wallet]; } /// Contract owner address /// @dev Required for easy integration with OpenSea function owner() public view returns (address) { return _deploymentConfig.owner; } /******************* * Access controls * *******************/ /// Transfer contract ownership function transferOwnership(address newOwner) external onlyRole(DEFAULT_ADMIN_ROLE) { require(newOwner != _deploymentConfig.owner, "Already the owner"); _transferOwnership(newOwner); } /// Transfer contract ownership function transferAdminRights(address to) external onlyRole(ADMIN_ROLE) { require(!hasRole(ADMIN_ROLE, to), "Already an admin"); require(msg.sender != _deploymentConfig.owner, "Use transferOwnership"); _revokeRole(ADMIN_ROLE, msg.sender); _grantRole(ADMIN_ROLE, to); } /***************** * Admin actions * *****************/ /// Mint a token from the reserve function reserveMint(address to, uint256 amount) external onlyRole(ADMIN_ROLE) { require(amount <= reserveRemaining, "Not enough reserved"); reserveRemaining -= amount; _mintTokens(to, amount); } /// Get full contract information /// @dev Convenience helper function getInfo() external view returns (ContractInfo memory info) { info.version = VERSION; info.deploymentConfig = _deploymentConfig; info.runtimeConfig = _runtimeConfig; } /// Update contract configuration /// @dev Callable by admin roles only function updateConfig(RuntimeConfig calldata newConfig) external onlyRole(ADMIN_ROLE) { _validateRuntimeConfig(newConfig); _runtimeConfig = newConfig; } /// Withdraw minting fees to the treasury address /// @dev Callable by admin roles only function withdrawFees() external onlyRole(ADMIN_ROLE) { _deploymentConfig.treasuryAddress.sendValue(address(this).balance); } /************* * Internals * *************/ /// Contract configuration RuntimeConfig internal _runtimeConfig; DeploymentConfig internal _deploymentConfig; /// Flag for disabling initalization for template contracts bool internal _preventInitialization; /// Mapping for tracking presale mint status mapping(address => bool) internal _presaleMinted; /// @dev Internal function for performing token mints function _mintTokens(address to, uint256 amount) internal { require(amount <= _runtimeConfig.tokensPerMint, "Amount too large"); require(amount <= availableSupply(), "Not enough tokens left"); _safeMint(to, amount); } /// Validate deployment config function _validateDeploymentConfig(DeploymentConfig memory config) internal pure { require(config.maxSupply > 0, "Maximum supply must be non-zero"); require( config.treasuryAddress != address(0), "Treasury address cannot be null" ); require(config.owner != address(0), "Contract must have an owner"); require( config.reservedSupply <= config.maxSupply, "Reserve greater than supply" ); } /// Validate a runtime configuration change function _validateRuntimeConfig(RuntimeConfig calldata config) internal view { // Can't set royalties to more than 100% require(config.royaltiesBps <= ROYALTIES_BASIS, "Royalties too high"); require(config.tokensPerMint > 0, "Tokens per mint must be non-zero"); // Validate mint price changes _validatePublicMintPrice(config); _validatePresaleMintPrice(config); // Validate metadata changes _validateMetadata(config); } function _validatePublicMintPrice(RuntimeConfig calldata config) internal view { // As long as public mint price is not frozen, all changes are valid if (!_runtimeConfig.publicMintPriceFrozen) return; // Can't change public mint price once frozen require( _runtimeConfig.publicMintPrice == config.publicMintPrice, "publicMintPrice is frozen" ); // Can't unfreeze public mint price require( config.publicMintPriceFrozen, "publicMintPriceFrozen is frozen" ); } function _validatePresaleMintPrice(RuntimeConfig calldata config) internal view { // As long as presale mint price is not frozen, all changes are valid if (!_runtimeConfig.presaleMintPriceFrozen) return; // Can't change presale mint price once frozen require( _runtimeConfig.presaleMintPrice == config.presaleMintPrice, "presaleMintPrice is frozen" ); // Can't unfreeze presale mint price require( config.presaleMintPriceFrozen, "presaleMintPriceFrozen is frozen" ); } function _validateMetadata(RuntimeConfig calldata config) internal view { // If metadata is updatable, we don't have any other limitations if (_runtimeConfig.metadataUpdatable) return; // If it isn't, we can't allow the flag to change anymore require(!config.metadataUpdatable, "Cannot unfreeze metadata"); // We also can't allow base URI to change require( keccak256(abi.encodePacked(_runtimeConfig.baseURI)) == keccak256(abi.encodePacked(config.baseURI)), "Metadata is frozen" ); } /// Internal function without any checks for performing the ownership transfer function _transferOwnership(address newOwner) internal { address previousOwner = _deploymentConfig.owner; _revokeRole(ADMIN_ROLE, previousOwner); _revokeRole(DEFAULT_ADMIN_ROLE, previousOwner); _deploymentConfig.owner = newOwner; _grantRole(ADMIN_ROLE, newOwner); _grantRole(DEFAULT_ADMIN_ROLE, newOwner); emit OwnershipTransferred(previousOwner, newOwner); } /// @dev See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view override(ERC721A, AccessControl, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || AccessControl.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } /// Get the token metadata URI function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Token does not exist"); return bytes(_runtimeConfig.baseURI).length > 0 ? string( abi.encodePacked(_runtimeConfig.baseURI, tokenId.toString()) ) : _runtimeConfig.prerevealTokenURI; } /// @dev Need name() to support setting it in the initializer instead of constructor function name() public view override returns (string memory) { return _deploymentConfig.name; } /// @dev Need symbol() to support setting it in the initializer instead of constructor function symbol() public view override returns (string memory) { return _deploymentConfig.symbol; } /// @dev ERC2981 token royalty info function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { receiver = _runtimeConfig.royaltiesAddress; royaltyAmount = (_runtimeConfig.royaltiesBps * salePrice) / ROYALTIES_BASIS; } /// @dev OpenSea contract metadata function contractURI() external view returns (string memory) { string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"seller_fee_basis_points": ', // solhint-disable-line quotes _runtimeConfig.royaltiesBps.toString(), ', "fee_recipient": "', // solhint-disable-line quotes uint256(uint160(_runtimeConfig.royaltiesAddress)) .toHexString(20), '"}' // solhint-disable-line quotes ) ) ) ); string memory output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } /// Check if enough payment was provided modifier paymentProvided(uint256 payment) { require(msg.value >= payment, "Payment too small"); _; } /*********************** * Convenience getters * ***********************/ function maxSupply() public view returns (uint256) { return _deploymentConfig.maxSupply; } function reservedSupply() public view returns (uint256) { return _deploymentConfig.reservedSupply; } function publicMintPrice() public view returns (uint256) { return _runtimeConfig.publicMintPrice; } function presaleMintPrice() public view returns (uint256) { return _runtimeConfig.presaleMintPrice; } function tokensPerMint() public view returns (uint256) { return _runtimeConfig.tokensPerMint; } function treasuryAddress() public view returns (address) { return _deploymentConfig.treasuryAddress; } function publicMintStart() public view returns (uint256) { return _runtimeConfig.publicMintStart; } function presaleMintStart() public view returns (uint256) { return _runtimeConfig.presaleMintStart; } function presaleMerkleRoot() public view returns (bytes32) { return _runtimeConfig.presaleMerkleRoot; } function baseURI() public view returns (string memory) { return _runtimeConfig.baseURI; } function metadataUpdatable() public view returns (bool) { return _runtimeConfig.metadataUpdatable; } function prerevealTokenURI() public view returns (string memory) { return _runtimeConfig.prerevealTokenURI; } } contract NFTCollectionContract is NFTCollection { constructor( DeploymentConfig memory deploymentConfig, RuntimeConfig memory runtimeConfig ) { _preventInitialization = false; initialize(deploymentConfig, runtimeConfig); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"reservedSupply","type":"uint256"},{"internalType":"address payable","name":"treasuryAddress","type":"address"}],"internalType":"struct NFTCollection.DeploymentConfig","name":"deploymentConfig","type":"tuple"},{"components":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bool","name":"metadataUpdatable","type":"bool"},{"internalType":"uint256","name":"tokensPerMint","type":"uint256"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"bool","name":"publicMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"bool","name":"presaleMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"string","name":"prerevealTokenURI","type":"string"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"royaltiesBps","type":"uint256"},{"internalType":"address","name":"royaltiesAddress","type":"address"}],"internalType":"struct NFTCollection.RuntimeConfig","name":"runtimeConfig","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTIES_BASIS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"didPresaleMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInfo","outputs":[{"components":[{"internalType":"uint256","name":"version","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"reservedSupply","type":"uint256"},{"internalType":"address payable","name":"treasuryAddress","type":"address"}],"internalType":"struct NFTCollection.DeploymentConfig","name":"deploymentConfig","type":"tuple"},{"components":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bool","name":"metadataUpdatable","type":"bool"},{"internalType":"uint256","name":"tokensPerMint","type":"uint256"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"bool","name":"publicMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"bool","name":"presaleMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"string","name":"prerevealTokenURI","type":"string"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"royaltiesBps","type":"uint256"},{"internalType":"address","name":"royaltiesAddress","type":"address"}],"internalType":"struct NFTCollection.RuntimeConfig","name":"runtimeConfig","type":"tuple"}],"internalType":"struct NFTCollection.ContractInfo","name":"info","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"reservedSupply","type":"uint256"},{"internalType":"address payable","name":"treasuryAddress","type":"address"}],"internalType":"struct NFTCollection.DeploymentConfig","name":"deploymentConfig","type":"tuple"},{"components":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bool","name":"metadataUpdatable","type":"bool"},{"internalType":"uint256","name":"tokensPerMint","type":"uint256"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"bool","name":"publicMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"bool","name":"presaleMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"string","name":"prerevealTokenURI","type":"string"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"royaltiesBps","type":"uint256"},{"internalType":"address","name":"royaltiesAddress","type":"address"}],"internalType":"struct NFTCollection.RuntimeConfig","name":"runtimeConfig","type":"tuple"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"wallet","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"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":[],"name":"metadataUpdatable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"prerevealTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMintStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"tokensPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"transferAdminRights","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bool","name":"metadataUpdatable","type":"bool"},{"internalType":"uint256","name":"tokensPerMint","type":"uint256"},{"internalType":"uint256","name":"publicMintPrice","type":"uint256"},{"internalType":"bool","name":"publicMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"presaleMintPrice","type":"uint256"},{"internalType":"bool","name":"presaleMintPriceFrozen","type":"bool"},{"internalType":"uint256","name":"publicMintStart","type":"uint256"},{"internalType":"uint256","name":"presaleMintStart","type":"uint256"},{"internalType":"string","name":"prerevealTokenURI","type":"string"},{"internalType":"bytes32","name":"presaleMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"royaltiesBps","type":"uint256"},{"internalType":"address","name":"royaltiesAddress","type":"address"}],"internalType":"struct NFTCollection.RuntimeConfig","name":"newConfig","type":"tuple"}],"name":"updateConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620048d9380380620048d9833981016040819052620000349162000a4a565b60408051602080820180845260008084528451928301909452928152815191929091620000649160029162000732565b5080516200007a90600390602084019062000732565b50600080555050601e805460ff191690556200009782826200009f565b505062000b85565b600954610100900460ff1615808015620000c05750600954600160ff909116105b80620000f05750620000dd30620003d460201b62001c521760201c565b158015620000f0575060095460ff166001145b620001595760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6009805460ff1916600117905580156200017d576009805461ff0019166101001790555b601e5460ff1615620001d25760405162461bcd60e51b815260206004820152601560248201527f43616e6e6f7420626520696e697469616c697a65640000000000000000000000604482015260640162000150565b620001dd83620003e3565b620001f8600080516020620048b9833981519152336200054e565b60408301516200020890620005f3565b8251805184916018916200022491839160209091019062000732565b5060208281015180516200023f926001850192019062000732565b5060408201516002820180546001600160a01b03199081166001600160a01b0393841617909155606084015160038401556080840151600484015560a090930151600590920180549093169116179055815180518391600b91620002ab91839160209091019062000732565b5060208281015160018301805491151560ff199283161790556040840151600284015560608401516003840155608084015160048401805491151591831691909117905560a0840151600584015560c08401516006840180549115159190921617905560e08301516007830155610100830151600883015561012083015180516200033d926009850192019062000732565b50610140820151600a82810191909155610160830151600b83015561018090920151600c90910180546001600160a01b0319166001600160a01b03909216919091179055608084015190558015620003cf576009805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b03163b151590565b6000816060015111620004395760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c79206d757374206265206e6f6e2d7a65726f00604482015260640162000150565b60a08101516001600160a01b0316620004955760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265206e756c6c00604482015260640162000150565b60408101516001600160a01b0316620004f15760405162461bcd60e51b815260206004820152601b60248201527f436f6e7472616374206d757374206861766520616e206f776e65720000000000604482015260640162000150565b8060600151816080015111156200054b5760405162461bcd60e51b815260206004820152601b60248201527f526573657276652067726561746572207468616e20737570706c790000000000604482015260640162000150565b50565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16620005ef5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620005ae3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b601a546001600160a01b03166200061a600080516020620048b983398151915282620006ae565b62000627600082620006ae565b601a80546001600160a01b0319166001600160a01b0384161790556200065d600080516020620048b9833981519152836200054e565b6200066a6000836200054e565b816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff1615620005ef5760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b828054620007409062000b48565b90600052602060002090601f016020900481019282620007645760008555620007af565b82601f106200077f57805160ff1916838001178555620007af565b82800160010185558215620007af579182015b82811115620007af57825182559160200191906001019062000792565b50620007bd929150620007c1565b5090565b5b80821115620007bd5760008155600101620007c2565b634e487b7160e01b600052604160045260246000fd5b6040516101a081016001600160401b0381118282101715620008145762000814620007d8565b60405290565b60405160c081016001600160401b0381118282101715620008145762000814620007d8565b604051601f8201601f191681016001600160401b03811182821017156200086a576200086a620007d8565b604052919050565b600082601f8301126200088457600080fd5b81516001600160401b03811115620008a057620008a0620007d8565b6020620008b6601f8301601f191682016200083f565b8281528582848701011115620008cb57600080fd5b60005b83811015620008eb578581018301518282018401528201620008ce565b83811115620008fd5760008385840101525b5095945050505050565b80516001600160a01b03811681146200091f57600080fd5b919050565b805180151581146200091f57600080fd5b60006101a082840312156200094957600080fd5b62000953620007ee565b82519091506001600160401b03808211156200096e57600080fd5b6200097c8583860162000872565b83526200098c6020850162000924565b60208401526040840151604084015260608401516060840152620009b36080850162000924565b608084015260a084015160a0840152620009d060c0850162000924565b60c084015260e084015160e0840152610100915081840151828401526101209150818401518181111562000a0357600080fd5b62000a118682870162000872565b8385015250505061014080830151818301525061016080830151818301525061018062000a4081840162000907565b9082015292915050565b6000806040838503121562000a5e57600080fd5b82516001600160401b038082111562000a7657600080fd5b9084019060c0828703121562000a8b57600080fd5b62000a956200081a565b82518281111562000aa557600080fd5b62000ab38882860162000872565b82525060208301518281111562000ac957600080fd5b62000ad78882860162000872565b60208301525062000aeb6040840162000907565b6040820152606083015160608201526080830151608082015262000b1260a0840162000907565b60a0820152602086015190945091508082111562000b2f57600080fd5b5062000b3e8582860162000935565b9150509250929050565b600181811c9082168062000b5d57607f821691505b6020821081141562000b7f57634e487b7160e01b600052602260045260246000fd5b50919050565b613d248062000b956000396000f3fe60806040526004361061031a5760003560e01c806375b238fc116101ab578063c5f956af116100f7578063e3e1e8ef11610095578063f2fde38b1161006f578063f2fde38b146108fc578063f4ad0f971461091c578063f70c40bc14610931578063ffa1ad741461096a57600080fd5b8063e3e1e8ef1461088b578063e8a3d4851461089e578063e985e9c5146108b357600080fd5b8063d547741f116100d1578063d547741f14610821578063d5abeb0114610841578063dc53fd9214610856578063dff3401d1461086b57600080fd5b8063c5f956af146107c3578063c87b56dd146107e1578063cc774eb31461080157600080fd5b80639da5b0a511610164578063a22cb4651161013e578063a22cb46514610743578063b0ea180214610763578063b5106add14610783578063b88d4fde146107a357600080fd5b80639da5b0a5146106f2578063a0712d681461071b578063a217fddf1461072e57600080fd5b806375b238fc146106535780637ecc2b56146106755780638cfec4c01461068a5780638da5cb5b1461069f57806391d14854146106bd57806395d89b41146106dd57600080fd5b806342842e0e1161026a5780635a23dd99116102235780635c629f4c116101fd5780635c629f4c146105e85780636352211e146105fe5780636c0360eb1461061e57806370a082311461063357600080fd5b80635a23dd99146105915780635a9b0b89146105b15780635be50521146105d357600080fd5b806342842e0e1461050357806344d19d2b146105235780634653124b14610538578063476343ee1461054d5780634e6f9dd61461056257806353135ca01461057a57600080fd5b806322212e2b116102d75780632a55205a116102b15780632a55205a1461046d5780632f2ff15d146104ac57806331f9c919146104cc57806336568abe146104e357600080fd5b806322212e2b1461040857806323b872dd1461041d578063248a9ca31461043d57600080fd5b806301ffc9a71461031f57806306fdde03146103545780630807b9e214610376578063081812fc14610395578063095ea7b3146103cd57806318160ddd146103ef575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612e67565b610980565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b506103696109bb565b60405161034b9190612edc565b34801561038257600080fd5b50600d545b60405190815260200161034b565b3480156103a157600080fd5b506103b56103b0366004612eef565b610a50565b6040516001600160a01b03909116815260200161034b565b3480156103d957600080fd5b506103ed6103e8366004612f2d565b610a94565b005b3480156103fb57600080fd5b5060015460005403610387565b34801561041457600080fd5b50601554610387565b34801561042957600080fd5b506103ed610438366004612f59565b610b34565b34801561044957600080fd5b50610387610458366004612eef565b60009081526008602052604090206001015490565b34801561047957600080fd5b5061048d610488366004612f9a565b610cc6565b604080516001600160a01b03909316835260208301919091520161034b565b3480156104b857600080fd5b506103ed6104c7366004612fbc565b610cfd565b3480156104d857600080fd5b50601254421161033f565b3480156104ef57600080fd5b506103ed6104fe366004612fbc565b610d27565b34801561050f57600080fd5b506103ed61051e366004612f59565b610daa565b34801561052f57600080fd5b50601c54610387565b34801561054457600080fd5b50601354610387565b34801561055957600080fd5b506103ed610dc5565b34801561056e57600080fd5b50600c5460ff1661033f565b34801561058657600080fd5b50601354421161033f565b34801561059d57600080fd5b5061033f6105ac366004613037565b610df6565b3480156105bd57600080fd5b506105c6610ed4565b60405161034b919061316d565b3480156105df57600080fd5b50601054610387565b3480156105f457600080fd5b50610387600a5481565b34801561060a57600080fd5b506103b5610619366004612eef565b61121e565b34801561062a57600080fd5b50610369611229565b34801561063f57600080fd5b5061038761064e366004613212565b61123b565b34801561065f57600080fd5b50610387600080516020613ccf83398151915281565b34801561068157600080fd5b50610387611289565b34801561069657600080fd5b50601254610387565b3480156106ab57600080fd5b50601a546001600160a01b03166103b5565b3480156106c957600080fd5b5061033f6106d8366004612fbc565b6112b7565b3480156106e957600080fd5b506103696112e2565b3480156106fe57600080fd5b5061070861271081565b60405161ffff909116815260200161034b565b6103ed610729366004612eef565b6112f4565b34801561073a57600080fd5b50610387600081565b34801561074f57600080fd5b506103ed61075e366004613248565b6113a0565b34801561076f57600080fd5b506103ed61077e366004612f2d565b61140c565b34801561078f57600080fd5b506103ed61079e366004613212565b61148e565b3480156107af57600080fd5b506103ed6107be36600461334c565b611581565b3480156107cf57600080fd5b50601d546001600160a01b03166103b5565b3480156107ed57600080fd5b506103696107fc366004612eef565b6115cb565b34801561080d57600080fd5b506103ed61081c3660046134ec565b6116f3565b34801561082d57600080fd5b506103ed61083c366004612fbc565b6119ee565b34801561084d57600080fd5b50601b54610387565b34801561086257600080fd5b50600e54610387565b34801561087757600080fd5b506103ed6108863660046135d7565b611a13565b6103ed610899366004613612565b611a41565b3480156108aa57600080fd5b50610369611b5e565b3480156108bf57600080fd5b5061033f6108ce366004613644565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090857600080fd5b506103ed610917366004613212565b611bda565b34801561092857600080fd5b50610369611c40565b34801561093d57600080fd5b5061033f61094c366004613212565b6001600160a01b03166000908152601f602052604090205460ff1690565b34801561097657600080fd5b5061038761283c81565b600061098b82611c61565b8061099a575061099a82611caf565b806109b5575063152a902d60e11b6001600160e01b03198316145b92915050565b6060601860000180546109cd90613672565b80601f01602080910402602001604051908101604052809291908181526020018280546109f990613672565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b82611ce4565b610a78576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a9f8261121e565b9050336001600160a01b03821614610ad857610abb81336108ce565b610ad8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b3f82611d0b565b9050836001600160a01b0316816001600160a01b031614610b725760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610bbf57610ba286336108ce565b610bbf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610be657604051633a954ecd60e21b815260040160405180910390fd5b8015610bf157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c7c5760018401600081815260046020526040902054610c7a576000548114610c7a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6017546016546001600160a01b039091169060009061271090610cea9085906136c3565b610cf491906136f8565b90509250929050565b600082815260086020526040902060010154610d1881611d73565b610d228383611d7d565b505050565b6001600160a01b0381163314610d9c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610da68282611e03565b5050565b610d2283838360405180602001604052806000815250611581565b600080516020613ccf833981519152610ddd81611d73565b601d54610df3906001600160a01b031647611e6a565b50565b6001600160a01b0383166000908152601f602052604081205460ff1615610e505760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d93565b6040516bffffffffffffffffffffffff19606086901b166020820152600090603401604051602081830303815290604052805190602001209050610ecb848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611f83565b95945050505050565b610edc612cd4565b61283c81526040805160c081019091526018805482908290610efd90613672565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2990613672565b8015610f765780601f10610f4b57610100808354040283529160200191610f76565b820191906000526020600020905b815481529060010190602001808311610f5957829003601f168201915b50505050508152602001600182018054610f8f90613672565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbb90613672565b80156110085780601f10610fdd57610100808354040283529160200191611008565b820191906000526020600020905b815481529060010190602001808311610feb57829003601f168201915b505050918352505060028201546001600160a01b0390811660208084019190915260038401546040808501919091526004850154606085015260059094015490911660809092019190915283019190915280516101a08101909152600b80548290829061107490613672565b80601f01602080910402602001604051908101604052809291908181526020018280546110a090613672565b80156110ed5780601f106110c2576101008083540402835291602001916110ed565b820191906000526020600020905b8154815290600101906020018083116110d057829003601f168201915b5050509183525050600182015460ff9081161515602083015260028301546040830152600383015460608301526004830154811615156080830152600583015460a0830152600683015416151560c0820152600782015460e082015260088201546101008201526009820180546101209092019161116a90613672565b80601f016020809104026020016040519081016040528092919081815260200182805461119690613672565b80156111e35780601f106111b8576101008083540402835291602001916111e3565b820191906000526020600020905b8154815290600101906020018083116111c657829003601f168201915b5050509183525050600a8201546020820152600b820154604080830191909152600c909201546001600160a01b031660609091015282015290565b60006109b582611d0b565b6060600b60000180546109cd90613672565b60006001600160a01b038216611264576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6000600a5461129b6001546000540390565b601b546112a8919061370c565b6112b2919061370c565b905090565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060601860010180546109cd90613672565b600e5461130190826136c3565b803410156113455760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081d1bdbc81cdb585b1b607a1b6044820152606401610d93565b60125442116113965760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e6720686173206e6f7420737461727465642079657400000000006044820152606401610d93565b610da63383611f99565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020613ccf83398151915261142481611d73565b600a5482111561146c5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da081c995cd95c9d9959606a1b6044820152606401610d93565b81600a600082825461147e919061370c565b90915550610d2290508383611f99565b600080516020613ccf8339815191526114a681611d73565b6114be600080516020613ccf833981519152836112b7565b156114fe5760405162461bcd60e51b815260206004820152601060248201526f20b63932b0b23c9030b71030b236b4b760811b6044820152606401610d93565b601a546001600160a01b03163314156115515760405162461bcd60e51b81526020600482015260156024820152740557365207472616e736665724f776e65727368697605c1b6044820152606401610d93565b611569600080516020613ccf83398151915233611e03565b610da6600080516020613ccf83398151915283611d7d565b61158c848484610b34565b6001600160a01b0383163b156115c5576115a884848484612038565b6115c5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606115d682611ce4565b6116195760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610d93565b6000600b600001805461162b90613672565b9050116116c2576014805461163f90613672565b80601f016020809104026020016040519081016040528092919081815260200182805461166b90613672565b80156116b85780601f1061168d576101008083540402835291602001916116b8565b820191906000526020600020905b81548152906001019060200180831161169b57829003601f168201915b50505050506109b5565b600b6116cd83612121565b6040516020016116de929190613792565b60405160208183030381529060405292915050565b600954610100900460ff16158080156117135750600954600160ff909116105b8061172d5750303b15801561172d575060095460ff166001145b6117905760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610d93565b6009805460ff1916600117905580156117b3576009805461ff0019166101001790555b601e5460ff16156117fe5760405162461bcd60e51b815260206004820152601560248201527410d85b9b9bdd081899481a5b9a5d1a585b1a5e9959605a1b6044820152606401610d93565b6118078361221e565b61181f600080516020613ccf83398151915233611d7d565b61182c836040015161237e565b825180518491601891611846918391602090910190612db8565b50602082810151805161185f9260018501920190612db8565b5060408201516002820180546001600160a01b03199081166001600160a01b0393841617909155606084015160038401556080840151600484015560a090930151600590920180549093169116179055815180518391600b916118c9918391602090910190612db8565b5060208281015160018301805491151560ff199283161790556040840151600284015560608401516003840155608084015160048401805491151591831691909117905560a0840151600584015560c08401516006840180549115159190921617905560e08301516007830155610100830151600883015561012083015180516119599260098501920190612db8565b50610140820151600a82810191909155610160830151600b83015561018090920151600c90910180546001600160a01b0319166001600160a01b03909216919091179055608084015190558015610d22576009805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b600082815260086020526040902060010154611a0981611d73565b610d228383611e03565b600080516020613ccf833981519152611a2b81611d73565b611a348261242f565b81600b6115c5828261391c565b601054611a4e90846136c3565b80341015611a925760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081d1bdbc81cdb585b1b607a1b6044820152606401610d93565b6013544211611ae35760405162461bcd60e51b815260206004820152601b60248201527f50726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610d93565b611aee338484610df6565b611b3a5760405162461bcd60e51b815260206004820152601b60248201527f4e6f742077686974656c697374656420666f722070726573616c6500000000006044820152606401610d93565b336000818152601f60205260409020805460ff191660011790556115c59085611f99565b60606000611bae611b72600b800154612121565b601754611b89906001600160a01b031660146124ea565b604051602001611b9a929190613a46565b604051602081830303815290604052612685565b9050600081604051602001611bc39190613acd565b60408051601f198184030181529190529392505050565b6000611be581611d73565b601a546001600160a01b0383811691161415611c375760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903a34329037bbb732b960791b6044820152606401610d93565b610da68261237e565b6060600b60090180546109cd90613672565b6001600160a01b03163b151590565b60006301ffc9a760e01b6001600160e01b031983161480611c9257506380ac58cd60e01b6001600160e01b03198316145b806109b55750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b03198216637965db0b60e01b14806109b557506301ffc9a760e01b6001600160e01b03198316146109b5565b60008054821080156109b5575050600090815260046020526040902054600160e01b161590565b600081600054811015611d5a57600081815260046020526040902054600160e01b8116611d58575b80611d51575060001901600081815260046020526040902054611d33565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610df381336127ea565b611d8782826112b7565b610da65760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611dbf3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611e0d82826112b7565b15610da65760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b80471015611eba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d93565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f07576040519150601f19603f3d011682016040523d82523d6000602084013e611f0c565b606091505b5050905080610d225760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d93565b600082611f908584612843565b14949350505050565b600d54811115611fde5760405162461bcd60e51b815260206004820152601060248201526f416d6f756e7420746f6f206c6172676560801b6044820152606401610d93565b611fe6611289565b81111561202e5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610d93565b610da68282612890565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061206d903390899088908890600401613b12565b6020604051808303816000875af19250505080156120a8575060408051601f3d908101601f191682019092526120a591810190613b4f565b60015b612103573d8080156120d6576040519150601f19603f3d011682016040523d82523d6000602084013e6120db565b606091505b5080516120fb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816121455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561216f578061215981613b6c565b91506121689050600a836136f8565b9150612149565b6000816001600160401b0381111561218957612189613276565b6040519080825280601f01601f1916602001820160405280156121b3576020820181803683370190505b5090505b8415612119576121c860018361370c565b91506121d5600a86613b87565b6121e0906030613b9b565b60f81b8183815181106121f5576121f5613bb3565b60200101906001600160f81b031916908160001a905350612217600a866136f8565b94506121b7565b60008160600151116122725760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c79206d757374206265206e6f6e2d7a65726f006044820152606401610d93565b60a08101516001600160a01b03166122cc5760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265206e756c6c006044820152606401610d93565b60408101516001600160a01b03166123265760405162461bcd60e51b815260206004820152601b60248201527f436f6e7472616374206d757374206861766520616e206f776e657200000000006044820152606401610d93565b806060015181608001511115610df35760405162461bcd60e51b815260206004820152601b60248201527f526573657276652067726561746572207468616e20737570706c7900000000006044820152606401610d93565b601a546001600160a01b03166123a2600080516020613ccf83398151915282611e03565b6123ad600082611e03565b601a80546001600160a01b0319166001600160a01b0384161790556123e0600080516020613ccf83398151915283611d7d565b6123eb600083611d7d565b816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612710610160820135111561247b5760405162461bcd60e51b81526020600482015260126024820152710a4def2c2d8e8d2cae640e8dede40d0d2ced60731b6044820152606401610d93565b60008160400135116124cf5760405162461bcd60e51b815260206004820181905260248201527f546f6b656e7320706572206d696e74206d757374206265206e6f6e2d7a65726f6044820152606401610d93565b6124d8816128aa565b6124e181612968565b610df381612a26565b606060006124f98360026136c3565b612504906002613b9b565b6001600160401b0381111561251b5761251b613276565b6040519080825280601f01601f191660200182016040528015612545576020820181803683370190505b509050600360fc1b8160008151811061256057612560613bb3565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061258f5761258f613bb3565b60200101906001600160f81b031916908160001a90535060006125b38460026136c3565b6125be906001613b9b565b90505b6001811115612636576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106125f2576125f2613bb3565b1a60f81b82828151811061260857612608613bb3565b60200101906001600160f81b031916908160001a90535060049490941c9361262f81613bc9565b90506125c1565b508315611d515760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d93565b8051606090806126a5575050604080516020810190915260008152919050565b600060036126b4836002613b9b565b6126be91906136f8565b6126c99060046136c3565b905060006126d8826020613b9b565b6001600160401b038111156126ef576126ef613276565b6040519080825280601f01601f191660200182016040528015612719576020820181803683370190505b5090506000604051806060016040528060408152602001613c8f604091399050600181016020830160005b868110156127a5576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612744565b5060038606600181146127bf57600281146127d0576127dc565b613d3d60f01b6001198301526127dc565b603d60f81b6000198301525b505050918152949350505050565b6127f482826112b7565b610da65761280181612b2b565b61280c8360206124ea565b60405160200161281d929190613be0565b60408051601f198184030181529082905262461bcd60e51b8252610d9391600401612edc565b600081815b8451811015612888576128748286838151811061286757612867613bb3565b6020026020010151612b41565b91508061288081613b6c565b915050612848565b509392505050565b610da6828260405180602001604052806000815250612b70565b600f5460ff166128b75750565b600e5460608201351461290c5760405162461bcd60e51b815260206004820152601960248201527f7075626c69634d696e7450726963652069732066726f7a656e000000000000006044820152606401610d93565b61291c60a0820160808301613c55565b610df35760405162461bcd60e51b815260206004820152601f60248201527f7075626c69634d696e74507269636546726f7a656e2069732066726f7a656e006044820152606401610d93565b60115460ff166129755750565b60105460a0820135146129ca5760405162461bcd60e51b815260206004820152601a60248201527f70726573616c654d696e7450726963652069732066726f7a656e0000000000006044820152606401610d93565b6129da60e0820160c08301613c55565b610df35760405162461bcd60e51b815260206004820181905260248201527f70726573616c654d696e74507269636546726f7a656e2069732066726f7a656e6044820152606401610d93565b600c5460ff1615612a345750565b612a446040820160208301613c55565b15612a915760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e667265657a65206d6574616461746100000000000000006044820152606401610d93565b612a9b81806137b7565b604051602001612aac929190613c72565b60408051601f1981840301815290829052805160209182012091612ad391600b9101613c82565b6040516020818303038152906040528051906020012014610df35760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b6044820152606401610d93565b60606109b56001600160a01b03831660146124ea565b6000818310612b5d576000828152602084905260409020611d51565b6000838152602083905260409020611d51565b612b7a8383612bdd565b6001600160a01b0383163b15610d22576000548281035b612ba46000868380600101945086612038565b612bc1576040516368d2bf6b60e11b815260040160405180910390fd5b818110612b91578160005414612bd657600080fd5b5050505050565b60005481612bfe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612cad57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612c75565b5081612ccb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051806060016040528060008152602001612d316040518060c00160405280606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160006001600160a01b031681525090565b8152602001612db3604051806101a0016040528060608152602001600015158152602001600081526020016000815260200160001515815260200160008152602001600015158152602001600081526020016000815260200160608152602001600080191681526020016000815260200160006001600160a01b031681525090565b905290565b828054612dc490613672565b90600052602060002090601f016020900481019282612de65760008555612e2c565b82601f10612dff57805160ff1916838001178555612e2c565b82800160010185558215612e2c579182015b82811115612e2c578251825591602001919060010190612e11565b50612e38929150612e3c565b5090565b5b80821115612e385760008155600101612e3d565b6001600160e01b031981168114610df357600080fd5b600060208284031215612e7957600080fd5b8135611d5181612e51565b60005b83811015612e9f578181015183820152602001612e87565b838111156115c55750506000910152565b60008151808452612ec8816020860160208601612e84565b601f01601f19169290920160200192915050565b602081526000611d516020830184612eb0565b600060208284031215612f0157600080fd5b5035919050565b6001600160a01b0381168114610df357600080fd5b8035612f2881612f08565b919050565b60008060408385031215612f4057600080fd5b8235612f4b81612f08565b946020939093013593505050565b600080600060608486031215612f6e57600080fd5b8335612f7981612f08565b92506020840135612f8981612f08565b929592945050506040919091013590565b60008060408385031215612fad57600080fd5b50508035926020909101359150565b60008060408385031215612fcf57600080fd5b823591506020830135612fe181612f08565b809150509250929050565b60008083601f840112612ffe57600080fd5b5081356001600160401b0381111561301557600080fd5b6020830191508360208260051b850101111561303057600080fd5b9250929050565b60008060006040848603121561304c57600080fd5b833561305781612f08565b925060208401356001600160401b0381111561307257600080fd5b61307e86828701612fec565b9497909650939450505050565b60006101a082518185526130a182860182612eb0565b91505060208301516130b7602086018215159052565b50604083015160408501526060830151606085015260808301516130df608086018215159052565b5060a083015160a085015260c08301516130fd60c086018215159052565b5060e083015160e0850152610100808401518186015250610120808401518583038287015261312c8382612eb0565b9250505061014080840151818601525061016080840151818601525061018080840151613163828701826001600160a01b03169052565b5090949350505050565b60208152815160208201526000602083015160606040840152805160c0608085015261319d610140850182612eb0565b90506020820151607f198583030160a08601526131ba8282612eb0565b6040848101516001600160a01b0390811660c089015260608087015160e08a015260808701516101008a015260a09096015116610120880152870151868203601f1901948701949094529150610ecb9050818361308b565b60006020828403121561322457600080fd5b8135611d5181612f08565b8015158114610df357600080fd5b8035612f288161322f565b6000806040838503121561325b57600080fd5b823561326681612f08565b91506020830135612fe18161322f565b634e487b7160e01b600052604160045260246000fd5b6040516101a081016001600160401b03811182821017156132af576132af613276565b60405290565b60405160c081016001600160401b03811182821017156132af576132af613276565b60006001600160401b03808411156132f1576132f1613276565b604051601f8501601f19908116603f0116810190828211818310171561331957613319613276565b8160405280935085815286868601111561333257600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561336257600080fd5b843561336d81612f08565b9350602085013561337d81612f08565b92506040850135915060608501356001600160401b0381111561339f57600080fd5b8501601f810187136133b057600080fd5b6133bf878235602084016132d7565b91505092959194509250565b600082601f8301126133dc57600080fd5b611d51838335602085016132d7565b60006101a082840312156133fe57600080fd5b61340661328c565b905081356001600160401b038082111561341f57600080fd5b61342b858386016133cb565b83526134396020850161323d565b6020840152604084013560408401526060840135606084015261345e6080850161323d565b608084015260a084013560a084015261347960c0850161323d565b60c084015260e084810135908401526101008085013590840152610120915081840135818111156134a957600080fd5b6134b5868287016133cb565b838501525050506101408083013581830152506101608083013581830152506101806134e2818401612f1d565b9082015292915050565b600080604083850312156134ff57600080fd5b82356001600160401b038082111561351657600080fd5b9084019060c0828703121561352a57600080fd5b6135326132b5565b82358281111561354157600080fd5b61354d888286016133cb565b82525060208301358281111561356257600080fd5b61356e888286016133cb565b60208301525061358060408401612f1d565b604082015260608301356060820152608083013560808201526135a560a08401612f1d565b60a0820152935060208501359150808211156135c057600080fd5b506135cd858286016133eb565b9150509250929050565b6000602082840312156135e957600080fd5b81356001600160401b038111156135ff57600080fd5b82016101a08185031215611d5157600080fd5b60008060006040848603121561362757600080fd5b8335925060208401356001600160401b0381111561307257600080fd5b6000806040838503121561365757600080fd5b823561366281612f08565b91506020830135612fe181612f08565b600181811c9082168061368657607f821691505b602082108114156136a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156136dd576136dd6136ad565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613707576137076136e2565b500490565b60008282101561371e5761371e6136ad565b500390565b6000815461373081613672565b60018281168015613748576001811461375957613788565b60ff19841687528287019450613788565b8560005260208060002060005b8581101561377f5781548a820152908401908201613766565b50505082870194505b5050505092915050565b600061379e8285613723565b83516137ae818360208801612e84565b01949350505050565b6000808335601e198436030181126137ce57600080fd5b8301803591506001600160401b038211156137e857600080fd5b60200191503681900382131561303057600080fd5b601f821115610d2257600081815260208120601f850160051c810160208610156138245750805b601f850160051c820191505b81811015610cbe57828155600101613830565b6001600160401b0383111561385a5761385a613276565b61386e836138688354613672565b836137fd565b6000601f8411600181146138a2576000851561388a5750838201355b600019600387901b1c1916600186901b178355612bd6565b600083815260209020601f19861690835b828110156138d357868501358255602094850194600190920191016138b3565b50868210156138f05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600081356109b58161322f565b600081356109b581612f08565b61392682836137b7565b613931818385613843565b505061395b61394260208401613902565b6001830160ff1981541660ff8315151681178255505050565b604082013560028201556060820135600382015561399761397e60808401613902565b6004830160ff1981541660ff8315151681178255505050565b60a082013560058201556139c96139b060c08401613902565b6006830160ff1981541660ff8315151681178255505050565b60e0820135600782015561010082013560088201556139ec6101208301836137b7565b6139fa818360098601613843565b5050610140820135600a820155610160820135600b820155610da6613a22610180840161390f565b600c830180546001600160a01b0319166001600160a01b0392909216919091179055565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a2000000000815260008351613a7e81601c850160208801612e84565b731610113332b2afb932b1b4b834b2b73a111d101160611b601c918401918201528351613ab2816030840160208801612e84565b61227d60f01b60309290910191820152603201949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613b0581601d850160208701612e84565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b4590830184612eb0565b9695505050505050565b600060208284031215613b6157600080fd5b8151611d5181612e51565b6000600019821415613b8057613b806136ad565b5060010190565b600082613b9657613b966136e2565b500690565b60008219821115613bae57613bae6136ad565b500190565b634e487b7160e01b600052603260045260246000fd5b600081613bd857613bd86136ad565b506000190190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c18816017850160208801612e84565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c49816028840160208801612e84565b01602801949350505050565b600060208284031215613c6757600080fd5b8135611d518161322f565b8183823760009101908152919050565b6000611d51828461372356fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122025ad8e1779cffde03c4800cca6da85f2a9a151a2f16d1c8bb7bcc6e0a0d4985564736f6c634300080a0033a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217750000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000c70000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000000a426c61636b4361743344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005334443617400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063adb980000000000000000000000000000000000000000000000000000000006306b8a30000000000000000000000000000000000000000000000000000000000000220c0358cc09344703a1002a93e17ab5a3974cde0fd8139cdf4126ee8973f618f6000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261667962656965337837756d3633683578347134673735327a636c32657774327237717a326b32326c3567633461767a627a7161776e707837612e697066732e6e667473746f726167652e6c696e6b2f000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061031a5760003560e01c806375b238fc116101ab578063c5f956af116100f7578063e3e1e8ef11610095578063f2fde38b1161006f578063f2fde38b146108fc578063f4ad0f971461091c578063f70c40bc14610931578063ffa1ad741461096a57600080fd5b8063e3e1e8ef1461088b578063e8a3d4851461089e578063e985e9c5146108b357600080fd5b8063d547741f116100d1578063d547741f14610821578063d5abeb0114610841578063dc53fd9214610856578063dff3401d1461086b57600080fd5b8063c5f956af146107c3578063c87b56dd146107e1578063cc774eb31461080157600080fd5b80639da5b0a511610164578063a22cb4651161013e578063a22cb46514610743578063b0ea180214610763578063b5106add14610783578063b88d4fde146107a357600080fd5b80639da5b0a5146106f2578063a0712d681461071b578063a217fddf1461072e57600080fd5b806375b238fc146106535780637ecc2b56146106755780638cfec4c01461068a5780638da5cb5b1461069f57806391d14854146106bd57806395d89b41146106dd57600080fd5b806342842e0e1161026a5780635a23dd99116102235780635c629f4c116101fd5780635c629f4c146105e85780636352211e146105fe5780636c0360eb1461061e57806370a082311461063357600080fd5b80635a23dd99146105915780635a9b0b89146105b15780635be50521146105d357600080fd5b806342842e0e1461050357806344d19d2b146105235780634653124b14610538578063476343ee1461054d5780634e6f9dd61461056257806353135ca01461057a57600080fd5b806322212e2b116102d75780632a55205a116102b15780632a55205a1461046d5780632f2ff15d146104ac57806331f9c919146104cc57806336568abe146104e357600080fd5b806322212e2b1461040857806323b872dd1461041d578063248a9ca31461043d57600080fd5b806301ffc9a71461031f57806306fdde03146103545780630807b9e214610376578063081812fc14610395578063095ea7b3146103cd57806318160ddd146103ef575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612e67565b610980565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b506103696109bb565b60405161034b9190612edc565b34801561038257600080fd5b50600d545b60405190815260200161034b565b3480156103a157600080fd5b506103b56103b0366004612eef565b610a50565b6040516001600160a01b03909116815260200161034b565b3480156103d957600080fd5b506103ed6103e8366004612f2d565b610a94565b005b3480156103fb57600080fd5b5060015460005403610387565b34801561041457600080fd5b50601554610387565b34801561042957600080fd5b506103ed610438366004612f59565b610b34565b34801561044957600080fd5b50610387610458366004612eef565b60009081526008602052604090206001015490565b34801561047957600080fd5b5061048d610488366004612f9a565b610cc6565b604080516001600160a01b03909316835260208301919091520161034b565b3480156104b857600080fd5b506103ed6104c7366004612fbc565b610cfd565b3480156104d857600080fd5b50601254421161033f565b3480156104ef57600080fd5b506103ed6104fe366004612fbc565b610d27565b34801561050f57600080fd5b506103ed61051e366004612f59565b610daa565b34801561052f57600080fd5b50601c54610387565b34801561054457600080fd5b50601354610387565b34801561055957600080fd5b506103ed610dc5565b34801561056e57600080fd5b50600c5460ff1661033f565b34801561058657600080fd5b50601354421161033f565b34801561059d57600080fd5b5061033f6105ac366004613037565b610df6565b3480156105bd57600080fd5b506105c6610ed4565b60405161034b919061316d565b3480156105df57600080fd5b50601054610387565b3480156105f457600080fd5b50610387600a5481565b34801561060a57600080fd5b506103b5610619366004612eef565b61121e565b34801561062a57600080fd5b50610369611229565b34801561063f57600080fd5b5061038761064e366004613212565b61123b565b34801561065f57600080fd5b50610387600080516020613ccf83398151915281565b34801561068157600080fd5b50610387611289565b34801561069657600080fd5b50601254610387565b3480156106ab57600080fd5b50601a546001600160a01b03166103b5565b3480156106c957600080fd5b5061033f6106d8366004612fbc565b6112b7565b3480156106e957600080fd5b506103696112e2565b3480156106fe57600080fd5b5061070861271081565b60405161ffff909116815260200161034b565b6103ed610729366004612eef565b6112f4565b34801561073a57600080fd5b50610387600081565b34801561074f57600080fd5b506103ed61075e366004613248565b6113a0565b34801561076f57600080fd5b506103ed61077e366004612f2d565b61140c565b34801561078f57600080fd5b506103ed61079e366004613212565b61148e565b3480156107af57600080fd5b506103ed6107be36600461334c565b611581565b3480156107cf57600080fd5b50601d546001600160a01b03166103b5565b3480156107ed57600080fd5b506103696107fc366004612eef565b6115cb565b34801561080d57600080fd5b506103ed61081c3660046134ec565b6116f3565b34801561082d57600080fd5b506103ed61083c366004612fbc565b6119ee565b34801561084d57600080fd5b50601b54610387565b34801561086257600080fd5b50600e54610387565b34801561087757600080fd5b506103ed6108863660046135d7565b611a13565b6103ed610899366004613612565b611a41565b3480156108aa57600080fd5b50610369611b5e565b3480156108bf57600080fd5b5061033f6108ce366004613644565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090857600080fd5b506103ed610917366004613212565b611bda565b34801561092857600080fd5b50610369611c40565b34801561093d57600080fd5b5061033f61094c366004613212565b6001600160a01b03166000908152601f602052604090205460ff1690565b34801561097657600080fd5b5061038761283c81565b600061098b82611c61565b8061099a575061099a82611caf565b806109b5575063152a902d60e11b6001600160e01b03198316145b92915050565b6060601860000180546109cd90613672565b80601f01602080910402602001604051908101604052809291908181526020018280546109f990613672565b8015610a465780601f10610a1b57610100808354040283529160200191610a46565b820191906000526020600020905b815481529060010190602001808311610a2957829003601f168201915b5050505050905090565b6000610a5b82611ce4565b610a78576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a9f8261121e565b9050336001600160a01b03821614610ad857610abb81336108ce565b610ad8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b3f82611d0b565b9050836001600160a01b0316816001600160a01b031614610b725760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610bbf57610ba286336108ce565b610bbf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610be657604051633a954ecd60e21b815260040160405180910390fd5b8015610bf157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c7c5760018401600081815260046020526040902054610c7a576000548114610c7a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6017546016546001600160a01b039091169060009061271090610cea9085906136c3565b610cf491906136f8565b90509250929050565b600082815260086020526040902060010154610d1881611d73565b610d228383611d7d565b505050565b6001600160a01b0381163314610d9c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610da68282611e03565b5050565b610d2283838360405180602001604052806000815250611581565b600080516020613ccf833981519152610ddd81611d73565b601d54610df3906001600160a01b031647611e6a565b50565b6001600160a01b0383166000908152601f602052604081205460ff1615610e505760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d93565b6040516bffffffffffffffffffffffff19606086901b166020820152600090603401604051602081830303815290604052805190602001209050610ecb848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611f83565b95945050505050565b610edc612cd4565b61283c81526040805160c081019091526018805482908290610efd90613672565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2990613672565b8015610f765780601f10610f4b57610100808354040283529160200191610f76565b820191906000526020600020905b815481529060010190602001808311610f5957829003601f168201915b50505050508152602001600182018054610f8f90613672565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbb90613672565b80156110085780601f10610fdd57610100808354040283529160200191611008565b820191906000526020600020905b815481529060010190602001808311610feb57829003601f168201915b505050918352505060028201546001600160a01b0390811660208084019190915260038401546040808501919091526004850154606085015260059094015490911660809092019190915283019190915280516101a08101909152600b80548290829061107490613672565b80601f01602080910402602001604051908101604052809291908181526020018280546110a090613672565b80156110ed5780601f106110c2576101008083540402835291602001916110ed565b820191906000526020600020905b8154815290600101906020018083116110d057829003601f168201915b5050509183525050600182015460ff9081161515602083015260028301546040830152600383015460608301526004830154811615156080830152600583015460a0830152600683015416151560c0820152600782015460e082015260088201546101008201526009820180546101209092019161116a90613672565b80601f016020809104026020016040519081016040528092919081815260200182805461119690613672565b80156111e35780601f106111b8576101008083540402835291602001916111e3565b820191906000526020600020905b8154815290600101906020018083116111c657829003601f168201915b5050509183525050600a8201546020820152600b820154604080830191909152600c909201546001600160a01b031660609091015282015290565b60006109b582611d0b565b6060600b60000180546109cd90613672565b60006001600160a01b038216611264576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6000600a5461129b6001546000540390565b601b546112a8919061370c565b6112b2919061370c565b905090565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060601860010180546109cd90613672565b600e5461130190826136c3565b803410156113455760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081d1bdbc81cdb585b1b607a1b6044820152606401610d93565b60125442116113965760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e6720686173206e6f7420737461727465642079657400000000006044820152606401610d93565b610da63383611f99565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020613ccf83398151915261142481611d73565b600a5482111561146c5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da081c995cd95c9d9959606a1b6044820152606401610d93565b81600a600082825461147e919061370c565b90915550610d2290508383611f99565b600080516020613ccf8339815191526114a681611d73565b6114be600080516020613ccf833981519152836112b7565b156114fe5760405162461bcd60e51b815260206004820152601060248201526f20b63932b0b23c9030b71030b236b4b760811b6044820152606401610d93565b601a546001600160a01b03163314156115515760405162461bcd60e51b81526020600482015260156024820152740557365207472616e736665724f776e65727368697605c1b6044820152606401610d93565b611569600080516020613ccf83398151915233611e03565b610da6600080516020613ccf83398151915283611d7d565b61158c848484610b34565b6001600160a01b0383163b156115c5576115a884848484612038565b6115c5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606115d682611ce4565b6116195760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610d93565b6000600b600001805461162b90613672565b9050116116c2576014805461163f90613672565b80601f016020809104026020016040519081016040528092919081815260200182805461166b90613672565b80156116b85780601f1061168d576101008083540402835291602001916116b8565b820191906000526020600020905b81548152906001019060200180831161169b57829003601f168201915b50505050506109b5565b600b6116cd83612121565b6040516020016116de929190613792565b60405160208183030381529060405292915050565b600954610100900460ff16158080156117135750600954600160ff909116105b8061172d5750303b15801561172d575060095460ff166001145b6117905760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610d93565b6009805460ff1916600117905580156117b3576009805461ff0019166101001790555b601e5460ff16156117fe5760405162461bcd60e51b815260206004820152601560248201527410d85b9b9bdd081899481a5b9a5d1a585b1a5e9959605a1b6044820152606401610d93565b6118078361221e565b61181f600080516020613ccf83398151915233611d7d565b61182c836040015161237e565b825180518491601891611846918391602090910190612db8565b50602082810151805161185f9260018501920190612db8565b5060408201516002820180546001600160a01b03199081166001600160a01b0393841617909155606084015160038401556080840151600484015560a090930151600590920180549093169116179055815180518391600b916118c9918391602090910190612db8565b5060208281015160018301805491151560ff199283161790556040840151600284015560608401516003840155608084015160048401805491151591831691909117905560a0840151600584015560c08401516006840180549115159190921617905560e08301516007830155610100830151600883015561012083015180516119599260098501920190612db8565b50610140820151600a82810191909155610160830151600b83015561018090920151600c90910180546001600160a01b0319166001600160a01b03909216919091179055608084015190558015610d22576009805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b600082815260086020526040902060010154611a0981611d73565b610d228383611e03565b600080516020613ccf833981519152611a2b81611d73565b611a348261242f565b81600b6115c5828261391c565b601054611a4e90846136c3565b80341015611a925760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081d1bdbc81cdb585b1b607a1b6044820152606401610d93565b6013544211611ae35760405162461bcd60e51b815260206004820152601b60248201527f50726573616c6520686173206e6f7420737461727465642079657400000000006044820152606401610d93565b611aee338484610df6565b611b3a5760405162461bcd60e51b815260206004820152601b60248201527f4e6f742077686974656c697374656420666f722070726573616c6500000000006044820152606401610d93565b336000818152601f60205260409020805460ff191660011790556115c59085611f99565b60606000611bae611b72600b800154612121565b601754611b89906001600160a01b031660146124ea565b604051602001611b9a929190613a46565b604051602081830303815290604052612685565b9050600081604051602001611bc39190613acd565b60408051601f198184030181529190529392505050565b6000611be581611d73565b601a546001600160a01b0383811691161415611c375760405162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903a34329037bbb732b960791b6044820152606401610d93565b610da68261237e565b6060600b60090180546109cd90613672565b6001600160a01b03163b151590565b60006301ffc9a760e01b6001600160e01b031983161480611c9257506380ac58cd60e01b6001600160e01b03198316145b806109b55750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b03198216637965db0b60e01b14806109b557506301ffc9a760e01b6001600160e01b03198316146109b5565b60008054821080156109b5575050600090815260046020526040902054600160e01b161590565b600081600054811015611d5a57600081815260046020526040902054600160e01b8116611d58575b80611d51575060001901600081815260046020526040902054611d33565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610df381336127ea565b611d8782826112b7565b610da65760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611dbf3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611e0d82826112b7565b15610da65760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b80471015611eba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d93565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f07576040519150601f19603f3d011682016040523d82523d6000602084013e611f0c565b606091505b5050905080610d225760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d93565b600082611f908584612843565b14949350505050565b600d54811115611fde5760405162461bcd60e51b815260206004820152601060248201526f416d6f756e7420746f6f206c6172676560801b6044820152606401610d93565b611fe6611289565b81111561202e5760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610d93565b610da68282612890565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061206d903390899088908890600401613b12565b6020604051808303816000875af19250505080156120a8575060408051601f3d908101601f191682019092526120a591810190613b4f565b60015b612103573d8080156120d6576040519150601f19603f3d011682016040523d82523d6000602084013e6120db565b606091505b5080516120fb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816121455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561216f578061215981613b6c565b91506121689050600a836136f8565b9150612149565b6000816001600160401b0381111561218957612189613276565b6040519080825280601f01601f1916602001820160405280156121b3576020820181803683370190505b5090505b8415612119576121c860018361370c565b91506121d5600a86613b87565b6121e0906030613b9b565b60f81b8183815181106121f5576121f5613bb3565b60200101906001600160f81b031916908160001a905350612217600a866136f8565b94506121b7565b60008160600151116122725760405162461bcd60e51b815260206004820152601f60248201527f4d6178696d756d20737570706c79206d757374206265206e6f6e2d7a65726f006044820152606401610d93565b60a08101516001600160a01b03166122cc5760405162461bcd60e51b815260206004820152601f60248201527f547265617375727920616464726573732063616e6e6f74206265206e756c6c006044820152606401610d93565b60408101516001600160a01b03166123265760405162461bcd60e51b815260206004820152601b60248201527f436f6e7472616374206d757374206861766520616e206f776e657200000000006044820152606401610d93565b806060015181608001511115610df35760405162461bcd60e51b815260206004820152601b60248201527f526573657276652067726561746572207468616e20737570706c7900000000006044820152606401610d93565b601a546001600160a01b03166123a2600080516020613ccf83398151915282611e03565b6123ad600082611e03565b601a80546001600160a01b0319166001600160a01b0384161790556123e0600080516020613ccf83398151915283611d7d565b6123eb600083611d7d565b816001600160a01b0316816001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612710610160820135111561247b5760405162461bcd60e51b81526020600482015260126024820152710a4def2c2d8e8d2cae640e8dede40d0d2ced60731b6044820152606401610d93565b60008160400135116124cf5760405162461bcd60e51b815260206004820181905260248201527f546f6b656e7320706572206d696e74206d757374206265206e6f6e2d7a65726f6044820152606401610d93565b6124d8816128aa565b6124e181612968565b610df381612a26565b606060006124f98360026136c3565b612504906002613b9b565b6001600160401b0381111561251b5761251b613276565b6040519080825280601f01601f191660200182016040528015612545576020820181803683370190505b509050600360fc1b8160008151811061256057612560613bb3565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061258f5761258f613bb3565b60200101906001600160f81b031916908160001a90535060006125b38460026136c3565b6125be906001613b9b565b90505b6001811115612636576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106125f2576125f2613bb3565b1a60f81b82828151811061260857612608613bb3565b60200101906001600160f81b031916908160001a90535060049490941c9361262f81613bc9565b90506125c1565b508315611d515760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d93565b8051606090806126a5575050604080516020810190915260008152919050565b600060036126b4836002613b9b565b6126be91906136f8565b6126c99060046136c3565b905060006126d8826020613b9b565b6001600160401b038111156126ef576126ef613276565b6040519080825280601f01601f191660200182016040528015612719576020820181803683370190505b5090506000604051806060016040528060408152602001613c8f604091399050600181016020830160005b868110156127a5576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612744565b5060038606600181146127bf57600281146127d0576127dc565b613d3d60f01b6001198301526127dc565b603d60f81b6000198301525b505050918152949350505050565b6127f482826112b7565b610da65761280181612b2b565b61280c8360206124ea565b60405160200161281d929190613be0565b60408051601f198184030181529082905262461bcd60e51b8252610d9391600401612edc565b600081815b8451811015612888576128748286838151811061286757612867613bb3565b6020026020010151612b41565b91508061288081613b6c565b915050612848565b509392505050565b610da6828260405180602001604052806000815250612b70565b600f5460ff166128b75750565b600e5460608201351461290c5760405162461bcd60e51b815260206004820152601960248201527f7075626c69634d696e7450726963652069732066726f7a656e000000000000006044820152606401610d93565b61291c60a0820160808301613c55565b610df35760405162461bcd60e51b815260206004820152601f60248201527f7075626c69634d696e74507269636546726f7a656e2069732066726f7a656e006044820152606401610d93565b60115460ff166129755750565b60105460a0820135146129ca5760405162461bcd60e51b815260206004820152601a60248201527f70726573616c654d696e7450726963652069732066726f7a656e0000000000006044820152606401610d93565b6129da60e0820160c08301613c55565b610df35760405162461bcd60e51b815260206004820181905260248201527f70726573616c654d696e74507269636546726f7a656e2069732066726f7a656e6044820152606401610d93565b600c5460ff1615612a345750565b612a446040820160208301613c55565b15612a915760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e667265657a65206d6574616461746100000000000000006044820152606401610d93565b612a9b81806137b7565b604051602001612aac929190613c72565b60408051601f1981840301815290829052805160209182012091612ad391600b9101613c82565b6040516020818303038152906040528051906020012014610df35760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b6044820152606401610d93565b60606109b56001600160a01b03831660146124ea565b6000818310612b5d576000828152602084905260409020611d51565b6000838152602083905260409020611d51565b612b7a8383612bdd565b6001600160a01b0383163b15610d22576000548281035b612ba46000868380600101945086612038565b612bc1576040516368d2bf6b60e11b815260040160405180910390fd5b818110612b91578160005414612bd657600080fd5b5050505050565b60005481612bfe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612cad57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612c75565b5081612ccb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051806060016040528060008152602001612d316040518060c00160405280606081526020016060815260200160006001600160a01b03168152602001600081526020016000815260200160006001600160a01b031681525090565b8152602001612db3604051806101a0016040528060608152602001600015158152602001600081526020016000815260200160001515815260200160008152602001600015158152602001600081526020016000815260200160608152602001600080191681526020016000815260200160006001600160a01b031681525090565b905290565b828054612dc490613672565b90600052602060002090601f016020900481019282612de65760008555612e2c565b82601f10612dff57805160ff1916838001178555612e2c565b82800160010185558215612e2c579182015b82811115612e2c578251825591602001919060010190612e11565b50612e38929150612e3c565b5090565b5b80821115612e385760008155600101612e3d565b6001600160e01b031981168114610df357600080fd5b600060208284031215612e7957600080fd5b8135611d5181612e51565b60005b83811015612e9f578181015183820152602001612e87565b838111156115c55750506000910152565b60008151808452612ec8816020860160208601612e84565b601f01601f19169290920160200192915050565b602081526000611d516020830184612eb0565b600060208284031215612f0157600080fd5b5035919050565b6001600160a01b0381168114610df357600080fd5b8035612f2881612f08565b919050565b60008060408385031215612f4057600080fd5b8235612f4b81612f08565b946020939093013593505050565b600080600060608486031215612f6e57600080fd5b8335612f7981612f08565b92506020840135612f8981612f08565b929592945050506040919091013590565b60008060408385031215612fad57600080fd5b50508035926020909101359150565b60008060408385031215612fcf57600080fd5b823591506020830135612fe181612f08565b809150509250929050565b60008083601f840112612ffe57600080fd5b5081356001600160401b0381111561301557600080fd5b6020830191508360208260051b850101111561303057600080fd5b9250929050565b60008060006040848603121561304c57600080fd5b833561305781612f08565b925060208401356001600160401b0381111561307257600080fd5b61307e86828701612fec565b9497909650939450505050565b60006101a082518185526130a182860182612eb0565b91505060208301516130b7602086018215159052565b50604083015160408501526060830151606085015260808301516130df608086018215159052565b5060a083015160a085015260c08301516130fd60c086018215159052565b5060e083015160e0850152610100808401518186015250610120808401518583038287015261312c8382612eb0565b9250505061014080840151818601525061016080840151818601525061018080840151613163828701826001600160a01b03169052565b5090949350505050565b60208152815160208201526000602083015160606040840152805160c0608085015261319d610140850182612eb0565b90506020820151607f198583030160a08601526131ba8282612eb0565b6040848101516001600160a01b0390811660c089015260608087015160e08a015260808701516101008a015260a09096015116610120880152870151868203601f1901948701949094529150610ecb9050818361308b565b60006020828403121561322457600080fd5b8135611d5181612f08565b8015158114610df357600080fd5b8035612f288161322f565b6000806040838503121561325b57600080fd5b823561326681612f08565b91506020830135612fe18161322f565b634e487b7160e01b600052604160045260246000fd5b6040516101a081016001600160401b03811182821017156132af576132af613276565b60405290565b60405160c081016001600160401b03811182821017156132af576132af613276565b60006001600160401b03808411156132f1576132f1613276565b604051601f8501601f19908116603f0116810190828211818310171561331957613319613276565b8160405280935085815286868601111561333257600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561336257600080fd5b843561336d81612f08565b9350602085013561337d81612f08565b92506040850135915060608501356001600160401b0381111561339f57600080fd5b8501601f810187136133b057600080fd5b6133bf878235602084016132d7565b91505092959194509250565b600082601f8301126133dc57600080fd5b611d51838335602085016132d7565b60006101a082840312156133fe57600080fd5b61340661328c565b905081356001600160401b038082111561341f57600080fd5b61342b858386016133cb565b83526134396020850161323d565b6020840152604084013560408401526060840135606084015261345e6080850161323d565b608084015260a084013560a084015261347960c0850161323d565b60c084015260e084810135908401526101008085013590840152610120915081840135818111156134a957600080fd5b6134b5868287016133cb565b838501525050506101408083013581830152506101608083013581830152506101806134e2818401612f1d565b9082015292915050565b600080604083850312156134ff57600080fd5b82356001600160401b038082111561351657600080fd5b9084019060c0828703121561352a57600080fd5b6135326132b5565b82358281111561354157600080fd5b61354d888286016133cb565b82525060208301358281111561356257600080fd5b61356e888286016133cb565b60208301525061358060408401612f1d565b604082015260608301356060820152608083013560808201526135a560a08401612f1d565b60a0820152935060208501359150808211156135c057600080fd5b506135cd858286016133eb565b9150509250929050565b6000602082840312156135e957600080fd5b81356001600160401b038111156135ff57600080fd5b82016101a08185031215611d5157600080fd5b60008060006040848603121561362757600080fd5b8335925060208401356001600160401b0381111561307257600080fd5b6000806040838503121561365757600080fd5b823561366281612f08565b91506020830135612fe181612f08565b600181811c9082168061368657607f821691505b602082108114156136a757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156136dd576136dd6136ad565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613707576137076136e2565b500490565b60008282101561371e5761371e6136ad565b500390565b6000815461373081613672565b60018281168015613748576001811461375957613788565b60ff19841687528287019450613788565b8560005260208060002060005b8581101561377f5781548a820152908401908201613766565b50505082870194505b5050505092915050565b600061379e8285613723565b83516137ae818360208801612e84565b01949350505050565b6000808335601e198436030181126137ce57600080fd5b8301803591506001600160401b038211156137e857600080fd5b60200191503681900382131561303057600080fd5b601f821115610d2257600081815260208120601f850160051c810160208610156138245750805b601f850160051c820191505b81811015610cbe57828155600101613830565b6001600160401b0383111561385a5761385a613276565b61386e836138688354613672565b836137fd565b6000601f8411600181146138a2576000851561388a5750838201355b600019600387901b1c1916600186901b178355612bd6565b600083815260209020601f19861690835b828110156138d357868501358255602094850194600190920191016138b3565b50868210156138f05760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600081356109b58161322f565b600081356109b581612f08565b61392682836137b7565b613931818385613843565b505061395b61394260208401613902565b6001830160ff1981541660ff8315151681178255505050565b604082013560028201556060820135600382015561399761397e60808401613902565b6004830160ff1981541660ff8315151681178255505050565b60a082013560058201556139c96139b060c08401613902565b6006830160ff1981541660ff8315151681178255505050565b60e0820135600782015561010082013560088201556139ec6101208301836137b7565b6139fa818360098601613843565b5050610140820135600a820155610160820135600b820155610da6613a22610180840161390f565b600c830180546001600160a01b0319166001600160a01b0392909216919091179055565b7f7b2273656c6c65725f6665655f62617369735f706f696e7473223a2000000000815260008351613a7e81601c850160208801612e84565b731610113332b2afb932b1b4b834b2b73a111d101160611b601c918401918201528351613ab2816030840160208801612e84565b61227d60f01b60309290910191820152603201949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613b0581601d850160208701612e84565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b4590830184612eb0565b9695505050505050565b600060208284031215613b6157600080fd5b8151611d5181612e51565b6000600019821415613b8057613b806136ad565b5060010190565b600082613b9657613b966136e2565b500690565b60008219821115613bae57613bae6136ad565b500190565b634e487b7160e01b600052603260045260246000fd5b600081613bd857613bd86136ad565b506000190190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613c18816017850160208801612e84565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613c49816028840160208801612e84565b01602801949350505050565b600060208284031215613c6757600080fd5b8135611d518161322f565b8183823760009101908152919050565b6000611d51828461372356fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122025ad8e1779cffde03c4800cca6da85f2a9a151a2f16d1c8bb7bcc6e0a0d4985564736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000c70000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000000a426c61636b4361743344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005334443617400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000b1a2bc2ec500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063adb980000000000000000000000000000000000000000000000000000000006306b8a30000000000000000000000000000000000000000000000000000000000000220c0358cc09344703a1002a93e17ab5a3974cde0fd8139cdf4126ee8973f618f6000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261667962656965337837756d3633683578347134673735327a636c32657774327237717a326b32326c3567633461767a627a7161776e707837612e697066732e6e667473746f726167652e6c696e6b2f000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : deploymentConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [1] : runtimeConfig (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
30 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [6] : 00000000000000000000000000000000000000000000000000000000000000c7
Arg [7] : 0000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 426c61636b436174334400000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 3344436174000000000000000000000000000000000000000000000000000000
Arg [12] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [15] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000063adb980
Arg [20] : 000000000000000000000000000000000000000000000000000000006306b8a3
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [22] : c0358cc09344703a1002a93e17ab5a3974cde0fd8139cdf4126ee8973f618f60
Arg [23] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [24] : 0000000000000000000000001e3f83584ab4cb3c8026066a71ad3c9d2478117b
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [26] : 68747470733a2f2f6261667962656965337837756d3633683578347134673735
Arg [27] : 327a636c32657774327237717a326b32326c3567633461767a627a7161776e70
Arg [28] : 7837612e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
112506:276:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108274:350;;;;;;;;;;-1:-1:-1;108274:350:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;108274:350:0;;;;;;;;109208:109;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;111533:::-;;;;;;;;;;-1:-1:-1;111606:28:0;;111533:109;;;1585:25:1;;;1573:2;1558:18;111533:109:0;1439:177:1;25626:218:0;;;;;;;;;;-1:-1:-1;25626:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2079:32:1;;;2061:51;;2049:2;2034:18;25626:218:0;1915:203:1;25067:400:0;;;;;;;;;;-1:-1:-1;25067:400:0;;;;;:::i;:::-;;:::i;:::-;;14894:323;;;;;;;;;;-1:-1:-1;15168:12:0;;14955:7;15152:13;:28;14894:323;;112018:117;;;;;;;;;;-1:-1:-1;112095:32:0;;112018:117;;29265:2817;;;;;;;;;;-1:-1:-1;29265:2817:0;;;;;:::i;:::-;;:::i;72403:131::-;;;;;;;;;;-1:-1:-1;72403:131:0;;;;;:::i;:::-;72477:7;72504:12;;;:6;:12;;;;;:22;;;;72403:131;109579:318;;;;;;;;;;-1:-1:-1;109579:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3991:32:1;;;3973:51;;4055:2;4040:18;;4033:34;;;;3946:18;109579:318:0;3799:274:1;72844:147:0;;;;;;;;;;-1:-1:-1;72844:147:0;;;;;:::i;:::-;;:::i;100417:294::-;;;;;;;;;;-1:-1:-1;100673:30:0;;100655:15;:48;100417:294;;73988:218;;;;;;;;;;-1:-1:-1;73988:218:0;;;;;:::i;:::-;;:::i;32178:185::-;;;;;;;;;;-1:-1:-1;32178:185:0;;;;;:::i;:::-;;:::i;111167:114::-;;;;;;;;;;-1:-1:-1;111241:32:0;;111167:114;;111895:115;;;;;;;;;;-1:-1:-1;111971:31:0;;111895:115;;103826:139;;;;;;;;;;;;;:::i;112254:114::-;;;;;;;;;;-1:-1:-1;112328:32:0;;;;112254:114;;100763:296;;;;;;;;;;-1:-1:-1;101020:31:0;;101002:15;:49;100763:296;;101342:354;;;;;;;;;;-1:-1:-1;101342:354:0;;;;;:::i;:::-;;:::i;103225:207::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;111410:115::-;;;;;;;;;;-1:-1:-1;111486:31:0;;111410:115;;98631:31;;;;;;;;;;;;;;;;20536:152;;;;;;;;;;-1:-1:-1;20536:152:0;;;;;:::i;:::-;;:::i;112143:103::-;;;;;;;;;;;;;:::i;16078:233::-;;;;;;;;;;-1:-1:-1;16078:233:0;;;;;:::i;:::-;;:::i;98222:60::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;98222:60:0;;101129:145;;;;;;;;;;;;;:::i;111774:113::-;;;;;;;;;;-1:-1:-1;111849:30:0;;111774:113;;101965:96;;;;;;;;;;-1:-1:-1;102030:23:0;;-1:-1:-1;;;;;102030:23:0;101965:96;;70876:147;;;;;;;;;;-1:-1:-1;70876:147:0;;;;;:::i;:::-;;:::i;109417:113::-;;;;;;;;;;;;;:::i;98399:46::-;;;;;;;;;;;;98440:5;98399:46;;;;;8412:6:1;8400:19;;;8382:38;;8370:2;8355:18;98399:46:0;8238:188:1;99518:254:0;;;;;;:::i;:::-;;:::i;69981:49::-;;;;;;;;;;-1:-1:-1;69981:49:0;70026:4;69981:49;;26184:234;;;;;;;;;;-1:-1:-1;26184:234:0;;;;;:::i;:::-;;:::i;102893:252::-;;;;;;;;;;-1:-1:-1;102893:252:0;;;;;:::i;:::-;;:::i;102461:310::-;;;;;;;;;;-1:-1:-1;102461:310:0;;;;;:::i;:::-;;:::i;32961:399::-;;;;;;;;;;-1:-1:-1;32961:399:0;;;;;:::i;:::-;;:::i;111650:116::-;;;;;;;;;;-1:-1:-1;111725:33:0;;-1:-1:-1;;;;;111725:33:0;111650:116;;108668:442;;;;;;;;;;-1:-1:-1;108668:442:0;;;;;:::i;:::-;;:::i;98892:525::-;;;;;;;;;;-1:-1:-1;98892:525:0;;;;;:::i;:::-;;:::i;73284:149::-;;;;;;;;;;-1:-1:-1;73284:149:0;;;;;:::i;:::-;;:::i;111055:104::-;;;;;;;;;;-1:-1:-1;111124:27:0;;111055:104;;111289:113;;;;;;;;;;-1:-1:-1;111364:30:0;;111289:113;;103522:198;;;;;;;;;;-1:-1:-1;103522:198:0;;;;;:::i;:::-;;:::i;99836:452::-;;;;;;:::i;:::-;;:::i;109945:832::-;;;;;;;;;;;;;:::i;26575:164::-;;;;;;;;;;-1:-1:-1;26575:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26696:25:0;;;26672:4;26696:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26575:164;102187:229;;;;;;;;;;-1:-1:-1;102187:229:0;;;;;:::i;:::-;;:::i;112376:123::-;;;;;;;;;;;;;:::i;101751:117::-;;;;;;;;;;-1:-1:-1;101751:117:0;;;;;:::i;:::-;-1:-1:-1;;;;;101838:22:0;101814:4;101838:22;;;:14;:22;;;;;;;;;101751:117;98152:41;;;;;;;;;;;;98186:7;98152:41;;108274:350;108420:4;108462:38;108488:11;108462:25;:38::i;:::-;:99;;;;108517:44;108549:11;108517:31;:44::i;:::-;108462:154;;;-1:-1:-1;;;;;;;;;;92619:41:0;;;108578:38;108442:174;108274:350;-1:-1:-1;;108274:350:0:o;109208:109::-;109254:13;109287:17;:22;;109280:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109208:109;:::o;25626:218::-;25702:7;25727:16;25735:7;25727;:16::i;:::-;25722:64;;25752:34;;-1:-1:-1;;;25752:34:0;;;;;;;;;;;25722:64;-1:-1:-1;25806:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25806:30:0;;25626:218::o;25067:400::-;25148:13;25164:16;25172:7;25164;:16::i;:::-;25148:32;-1:-1:-1;49122:10:0;-1:-1:-1;;;;;25197:28:0;;;25193:175;;25245:44;25262:5;49122:10;26575:164;:::i;25245:44::-;25240:128;;25317:35;;-1:-1:-1;;;25317:35:0;;;;;;;;;;;25240:128;25380:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25380:35:0;-1:-1:-1;;;;;25380:35:0;;;;;;;;;25431:28;;25380:24;;25431:28;;;;;;;25137:330;25067:400;;:::o;29265:2817::-;29399:27;29429;29448:7;29429:18;:27::i;:::-;29399:57;;29514:4;-1:-1:-1;;;;;29473:45:0;29489:19;-1:-1:-1;;;;;29473:45:0;;29469:86;;29527:28;;-1:-1:-1;;;29527:28:0;;;;;;;;;;;29469:86;29569:27;28373:24;;;:15;:24;;;;;28601:26;;49122:10;27998:30;;;-1:-1:-1;;;;;27691:28:0;;27976:20;;;27973:56;29755:180;;29848:43;29865:4;49122:10;26575:164;:::i;29848:43::-;29843:92;;29900:35;;-1:-1:-1;;;29900:35:0;;;;;;;;;;;29843:92;-1:-1:-1;;;;;29952:16:0;;29948:52;;29977:23;;-1:-1:-1;;;29977:23:0;;;;;;;;;;;29948:52;30149:15;30146:160;;;30289:1;30268:19;30261:30;30146:160;-1:-1:-1;;;;;30686:24:0;;;;;;;:18;:24;;;;;;30684:26;;-1:-1:-1;;30684:26:0;;;30755:22;;;;;;;;;30753:24;;-1:-1:-1;30753:24:0;;;23925:11;23900:23;23896:41;23883:63;-1:-1:-1;;;23883:63:0;31048:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;31343:47:0;;31339:627;;31448:1;31438:11;;31416:19;31571:30;;;:17;:30;;;;;;31567:384;;31709:13;;31694:11;:28;31690:242;;31856:30;;;;:17;:30;;;;;:52;;;31690:242;31397:569;31339:627;32013:7;32009:2;-1:-1:-1;;;;;31994:27:0;32003:4;-1:-1:-1;;;;;31994:27:0;;;;;;;;;;;32032:42;29388:2694;;;29265:2817;;;:::o;109579:318::-;109746:31;;109818:27;;-1:-1:-1;;;;;109746:31:0;;;;109678:16;;98440:5;;109818:39;;109848:9;;109818:39;:::i;:::-;109817:72;;;;:::i;:::-;109788:101;;109579:318;;;;;:::o;72844:147::-;72477:7;72504:12;;;:6;:12;;;;;:22;;;70472:16;70483:4;70472:10;:16::i;:::-;72958:25:::1;72969:4;72975:7;72958:10;:25::i;:::-;72844:147:::0;;;:::o;73988:218::-;-1:-1:-1;;;;;74084:23:0;;49122:10;74084:23;74076:83;;;;-1:-1:-1;;;74076:83:0;;16514:2:1;74076:83:0;;;16496:21:1;16553:2;16533:18;;;16526:30;16592:34;16572:18;;;16565:62;-1:-1:-1;;;16643:18:1;;;16636:45;16698:19;;74076:83:0;;;;;;;;;74172:26;74184:4;74190:7;74172:11;:26::i;:::-;73988:218;;:::o;32178:185::-;32316:39;32333:4;32339:2;32343:7;32316:39;;;;;;;;;;;;:16;:39::i;103826:139::-;-1:-1:-1;;;;;;;;;;;70472:16:0;70483:4;70472:10;:16::i;:::-;103891:33;;:66:::1;::::0;-1:-1:-1;;;;;103891:33:0::1;103935:21;103891:43;:66::i;:::-;103826:139:::0;:::o;101342:354::-;-1:-1:-1;;;;;101486:22:0;;101455:4;101486:22;;;:14;:22;;;;;;;;101485:23;101477:50;;;;-1:-1:-1;;;101477:50:0;;16930:2:1;101477:50:0;;;16912:21:1;16969:2;16949:18;;;16942:30;-1:-1:-1;;;16988:18:1;;;16981:44;17042:18;;101477:50:0;16728:338:1;101477:50:0;101565:24;;-1:-1:-1;;17220:2:1;17216:15;;;17212:53;101565:24:0;;;17200:66:1;101540:12:0;;17282::1;;101565:24:0;;;;;;;;;;;;101555:35;;;;;;101540:50;;101623:65;101642:5;;101623:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;101649:32:0;;;-1:-1:-1;101683:4:0;;-1:-1:-1;101623:18:0;:65::i;:::-;101603:85;101342:354;-1:-1:-1;;;;;101342:354:0:o;103225:207::-;103267:24;;:::i;:::-;98186:7;103304:22;;103337:41;;;;;;;;;103361:17;103337:41;;;;103361:17;;103337:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;103337:41:0;;;-1:-1:-1;;103337:41:0;;;;-1:-1:-1;;;;;103337:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:21;;:41;;;;103389:35;;;;;;;;103410:14;103389:35;;;;103410:14;;103389:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;103389:35:0;;;-1:-1:-1;;103389:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;103389:35:0;;;-1:-1:-1;;103389:35:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;103389:35:0;;;;;;:18;;:35;:4;103225:207::o;20536:152::-;20608:7;20651:27;20670:7;20651:18;:27::i;112143:103::-;112183:13;112216:14;:22;;112209:29;;;;;:::i;16078:233::-;16150:7;-1:-1:-1;;;;;16174:19:0;;16170:60;;16202:28;;-1:-1:-1;;;16202:28:0;;;;;;;;;;;16170:60;-1:-1:-1;;;;;;16248:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;16248:55:0;;16078:233::o;101129:145::-;101177:7;101250:16;;101234:13;15168:12;;14955:7;15152:13;:28;;14894:323;101234:13;101204:27;;:43;;;;:::i;:::-;:62;;;;:::i;:::-;101197:69;;101129:145;:::o;70876:147::-;70962:4;70986:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;70986:29:0;;;;;;;;;;;;;;;70876:147::o;109417:113::-;109465:13;109498:17;:24;;109491:31;;;;;:::i;99518:254::-;99617:30;;99608:39;;:6;:39;:::i;:::-;110905:7;110892:9;:20;;110884:50;;;;-1:-1:-1;;;110884:50:0;;17637:2:1;110884:50:0;;;17619:21:1;17676:2;17656:18;;;17649:30;-1:-1:-1;;;17695:18:1;;;17688:47;17752:18;;110884:50:0;17435:341:1;110884:50:0;100673:30;;100655:15;:48;99665:55:::1;;;::::0;-1:-1:-1;;;99665:55:0;;17983:2:1;99665:55:0::1;::::0;::::1;17965:21:1::0;18022:2;18002:18;;;17995:30;18061:29;18041:18;;;18034:57;18108:18;;99665:55:0::1;17781:351:1::0;99665:55:0::1;99733:31;99745:10;99757:6;99733:11;:31::i;26184:234::-:0;49122:10;26279:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26279:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26279:60:0;;;;;;;;;;26355:55;;636:41:1;;;26279:49:0;;49122:10;26355:55;;609:18:1;26355:55:0;;;;;;;26184:234;;:::o;102893:252::-;-1:-1:-1;;;;;;;;;;;70472:16:0;70483:4;70472:10;:16::i;:::-;103024::::1;;103014:6;:26;;103006:58;;;::::0;-1:-1:-1;;;103006:58:0;;18339:2:1;103006:58:0::1;::::0;::::1;18321:21:1::0;18378:2;18358:18;;;18351:30;-1:-1:-1;;;18397:18:1;;;18390:49;18456:18;;103006:58:0::1;18137:343:1::0;103006:58:0::1;103097:6;103077:16;;:26;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;103114:23:0::1;::::0;-1:-1:-1;103126:2:0;103130:6;103114:11:::1;:23::i;102461:310::-:0;-1:-1:-1;;;;;;;;;;;70472:16:0;70483:4;70472:10;:16::i;:::-;102552:23:::1;-1:-1:-1::0;;;;;;;;;;;102572:2:0::1;102552:7;:23::i;:::-;102551:24;102543:53;;;::::0;-1:-1:-1;;;102543:53:0;;18687:2:1;102543:53:0::1;::::0;::::1;18669:21:1::0;18726:2;18706:18;;;18699:30;-1:-1:-1;;;18745:18:1;;;18738:46;18801:18;;102543:53:0::1;18485:340:1::0;102543:53:0::1;102629:23:::0;;-1:-1:-1;;;;;102629:23:0::1;102615:10;:37;;102607:71;;;::::0;-1:-1:-1;;;102607:71:0;;19032:2:1;102607:71:0::1;::::0;::::1;19014:21:1::0;19071:2;19051:18;;;19044:30;-1:-1:-1;;;19090:18:1;;;19083:51;19151:18;;102607:71:0::1;18830:345:1::0;102607:71:0::1;102691:35;-1:-1:-1::0;;;;;;;;;;;102715:10:0::1;102691:11;:35::i;:::-;102737:26;-1:-1:-1::0;;;;;;;;;;;102760:2:0::1;102737:10;:26::i;32961:399::-:0;33128:31;33141:4;33147:2;33151:7;33128:12;:31::i;:::-;-1:-1:-1;;;;;33174:14:0;;;:19;33170:183;;33213:56;33244:4;33250:2;33254:7;33263:5;33213:30;:56::i;:::-;33208:145;;33297:40;;-1:-1:-1;;;33297:40:0;;;;;;;;;;;33208:145;32961:399;;;;:::o;108668:442::-;108769:13;108808:16;108816:7;108808;:16::i;:::-;108800:49;;;;-1:-1:-1;;;108800:49:0;;19382:2:1;108800:49:0;;;19364:21:1;19421:2;19401:18;;;19394:30;-1:-1:-1;;;19440:18:1;;;19433:50;19500:18;;108800:49:0;19180:344:1;108800:49:0;108921:1;108888:14;:22;;108882:36;;;;;:::i;:::-;;;:40;:220;;109070:32;108882:220;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108988:14;109012:18;:7;:16;:18::i;:::-;108971:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;108862:240;108668:442;-1:-1:-1;;108668:442:0:o;98892:525::-;79353:13;;;;;;;79352:14;;79400:34;;;;-1:-1:-1;79418:12:0;;79433:1;79418:12;;;;:16;79400:34;79399:97;;;-1:-1:-1;79468:4:0;52276:19;:23;;;79440:55;;-1:-1:-1;79478:12:0;;;;;:17;79440:55;79377:193;;;;-1:-1:-1;;;79377:193:0;;20936:2:1;79377:193:0;;;20918:21:1;20975:2;20955:18;;;20948:30;21014:34;20994:18;;;20987:62;-1:-1:-1;;;21065:18:1;;;21058:44;21119:19;;79377:193:0;20734:410:1;79377:193:0;79581:12;:16;;-1:-1:-1;;79581:16:0;79596:1;79581:16;;;79608:67;;;;79643:13;:20;;-1:-1:-1;;79643:20:0;;;;;79608:67;99054:22:::1;::::0;::::1;;99053:23;99045:57;;;::::0;-1:-1:-1;;;99045:57:0;;21351:2:1;99045:57:0::1;::::0;::::1;21333:21:1::0;21390:2;21370:18;;;21363:30;-1:-1:-1;;;21409:18:1;;;21402:51;21470:18;;99045:57:0::1;21149:345:1::0;99045:57:0::1;99113:43;99139:16;99113:25;:43::i;:::-;99169:34;-1:-1:-1::0;;;;;;;;;;;99192:10:0::1;99169;:34::i;:::-;99214:42;99233:16;:22;;;99214:18;:42::i;:::-;99269:36:::0;;;;99289:16;;99269:17:::1;::::0;:36:::1;::::0;:17;;:36:::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;99269:36:0::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;99269:36:0::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;99269:36:0;;::::1;-1:-1:-1::0;;;;;99269:36:0;;::::1;;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;;::::0;;99316:30;;;;;;:14:::1;::::0;:30:::1;::::0;:14;;:30:::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;99316:30:0::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;-1:-1:-1::0;;99316:30:0;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;99316:30:0::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;99316:30:0::1;-1:-1:-1::0;;;;;99316:30:0;;::::1;::::0;;;::::1;::::0;;99378:31:::1;::::0;::::1;::::0;99359:50;;79697:102;;;;79732:13;:21;;-1:-1:-1;;79732:21:0;;;79773:14;;-1:-1:-1;21651:36:1;;79773:14:0;;21639:2:1;21624:18;79773:14:0;;;;;;;79319:487;98892:525;;:::o;73284:149::-;72477:7;72504:12;;;:6;:12;;;;;:22;;;70472:16;70483:4;70472:10;:16::i;:::-;73399:26:::1;73411:4;73417:7;73399:11;:26::i;103522:198::-:0;-1:-1:-1;;;;;;;;;;;70472:16:0;70483:4;70472:10;:16::i;:::-;103642:33:::1;103665:9;103642:22;:33::i;:::-;103703:9:::0;103686:14:::1;:26;103703:9:::0;103686:14;:26:::1;:::i;99836:452::-:0;99968:31;;99959:40;;:6;:40;:::i;:::-;110905:7;110892:9;:20;;110884:50;;;;-1:-1:-1;;;110884:50:0;;17637:2:1;110884:50:0;;;17619:21:1;17676:2;17656:18;;;17649:30;-1:-1:-1;;;17695:18:1;;;17688:47;17752:18;;110884:50:0;17435:341:1;110884:50:0;101020:31;;101002:15;:49;100017:55:::1;;;::::0;-1:-1:-1;;;100017:55:0;;26524:2:1;100017:55:0::1;::::0;::::1;26506:21:1::0;26563:2;26543:18;;;26536:30;26602:29;26582:18;;;26575:57;26649:18;;100017:55:0::1;26322:351:1::0;100017:55:0::1;100105:32;100119:10;100131:5;;100105:13;:32::i;:::-;100083:109;;;::::0;-1:-1:-1;;;100083:109:0;;26880:2:1;100083:109:0::1;::::0;::::1;26862:21:1::0;26919:2;26899:18;;;26892:30;26958:29;26938:18;;;26931:57;27005:18;;100083:109:0::1;26678:351:1::0;100083:109:0::1;100220:10;100205:26;::::0;;;:14:::1;:26;::::0;;;;:33;;-1:-1:-1;;100205:33:0::1;100234:4;100205:33;::::0;;100249:31:::1;::::0;100273:6;100249:11:::1;:31::i;109945:832::-:0;109991:13;110017:18;110038:582;110250:38;:14;:27;;;:36;:38::i;:::-;110411:31;;110395:95;;-1:-1:-1;;;;;110411:31:0;110487:2;110395:91;:95::i;:::-;110119:456;;;;;;;;;:::i;:::-;;;;;;;;;;;;;110038:13;:582::i;:::-;110017:603;;110633:20;110727:4;110677:55;;;;;;;;:::i;:::-;;;;-1:-1:-1;;110677:55:0;;;;;;;;;;109945:832;-1:-1:-1;;;109945:832:0:o;102187:229::-;70026:4;70472:16;70026:4;70472:10;:16::i;:::-;102324:23;;-1:-1:-1;;;;;102312:35:0;;::::1;102324:23:::0;::::1;102312:35;;102304:65;;;::::0;-1:-1:-1;;;102304:65:0;;28719:2:1;102304:65:0::1;::::0;::::1;28701:21:1::0;28758:2;28738:18;;;28731:30;-1:-1:-1;;;28777:18:1;;;28770:47;28834:18;;102304:65:0::1;28517:341:1::0;102304:65:0::1;102380:28;102399:8;102380:18;:28::i;112376:123::-:0;112426:13;112459:14;:32;;112452:39;;;;;:::i;51981:326::-;-1:-1:-1;;;;;52276:19:0;;:23;;;51981:326::o;18241:639::-;18326:4;-1:-1:-1;;;;;;;;;18650:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18727:25:0;;;18650:102;:179;;;-1:-1:-1;;;;;;;;18804:25:0;-1:-1:-1;;;18804:25:0;;18241:639::o;70580:204::-;70665:4;-1:-1:-1;;;;;;70689:47:0;;-1:-1:-1;;;70689:47:0;;:87;;-1:-1:-1;;;;;;;;;;68124:40:0;;;70740:36;68015:157;26997:282;27062:4;27152:13;;27142:7;:23;27099:153;;;;-1:-1:-1;;27203:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27203:44:0;:49;;26997:282::o;21691:1275::-;21758:7;21793;21895:13;;21888:4;:20;21884:1015;;;21933:14;21950:23;;;:17;:23;;;;;;-1:-1:-1;;;22039:24:0;;22035:845;;22704:113;22711:11;22704:113;;-1:-1:-1;;;22782:6:0;22764:25;;;;:17;:25;;;;;;22704:113;;;22850:6;21691:1275;-1:-1:-1;;;21691:1275:0:o;22035:845::-;21910:989;21884:1015;22927:31;;-1:-1:-1;;;22927:31:0;;;;;;;;;;;71327:105;71394:30;71405:4;49122:10;71394;:30::i;75585:238::-;75669:22;75677:4;75683:7;75669;:22::i;:::-;75664:152;;75708:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;75708:29:0;;;;;;;;;:36;;-1:-1:-1;;75708:36:0;75740:4;75708:36;;;75791:12;49122:10;;49035:105;75791:12;-1:-1:-1;;;;;75764:40:0;75782:7;-1:-1:-1;;;;;75764:40:0;75776:4;75764:40;;;;;;;;;;75585:238;;:::o;76003:239::-;76087:22;76095:4;76101:7;76087;:22::i;:::-;76083:152;;;76158:5;76126:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;76126:29:0;;;;;;;;;;:37;;-1:-1:-1;;76126:37:0;;;76183:40;49122:10;;76126:12;;76183:40;;76158:5;76183:40;76003:239;;:::o;53242:317::-;53357:6;53332:21;:31;;53324:73;;;;-1:-1:-1;;;53324:73:0;;29065:2:1;53324:73:0;;;29047:21:1;29104:2;29084:18;;;29077:30;29143:31;29123:18;;;29116:59;29192:18;;53324:73:0;28863:353:1;53324:73:0;53411:12;53429:9;-1:-1:-1;;;;;53429:14:0;53451:6;53429:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53410:52;;;53481:7;53473:78;;;;-1:-1:-1;;;53473:78:0;;29633:2:1;53473:78:0;;;29615:21:1;29672:2;29652:18;;;29645:30;29711:34;29691:18;;;29684:62;29782:28;29762:18;;;29755:56;29828:19;;53473:78:0;29431:422:1;83059:190:0;83184:4;83237;83208:25;83221:5;83228:4;83208:12;:25::i;:::-;:33;;83059:190;-1:-1:-1;;;;83059:190:0:o;104440:251::-;104527:28;;104517:38;;;104509:67;;;;-1:-1:-1;;;104509:67:0;;30060:2:1;104509:67:0;;;30042:21:1;30099:2;30079:18;;;30072:30;-1:-1:-1;;;30118:18:1;;;30111:46;30174:18;;104509:67:0;29858:340:1;104509:67:0;104605:17;:15;:17::i;:::-;104595:6;:27;;104587:62;;;;-1:-1:-1;;;104587:62:0;;30405:2:1;104587:62:0;;;30387:21:1;30444:2;30424:18;;;30417:30;-1:-1:-1;;;30463:18:1;;;30456:52;30525:18;;104587:62:0;30203:346:1;104587:62:0;104662:21;104672:2;104676:6;104662:9;:21::i;35444:716::-;35628:88;;-1:-1:-1;;;35628:88:0;;35607:4;;-1:-1:-1;;;;;35628:45:0;;;;;:88;;49122:10;;35695:4;;35701:7;;35710:5;;35628:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35628:88:0;;;;;;;;-1:-1:-1;;35628:88:0;;;;;;;;;;;;:::i;:::-;;;35624:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35911:13:0;;35907:235;;35957:40;;-1:-1:-1;;;35957:40:0;;;;;;;;;;;35907:235;36100:6;36094:13;36085:6;36081:2;36077:15;36070:38;35624:529;-1:-1:-1;;;;;;35787:64:0;-1:-1:-1;;;35787:64:0;;-1:-1:-1;35624:529:0;35444:716;;;;;;:::o;60523:723::-;60579:13;60800:10;60796:53;;-1:-1:-1;;60827:10:0;;;;;;;;;;;;-1:-1:-1;;;60827:10:0;;;;;60523:723::o;60796:53::-;60874:5;60859:12;60915:78;60922:9;;60915:78;;60948:8;;;;:::i;:::-;;-1:-1:-1;60971:10:0;;-1:-1:-1;60979:2:0;60971:10;;:::i;:::-;;;60915:78;;;61003:19;61035:6;-1:-1:-1;;;;;61025:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61025:17:0;;61003:39;;61053:154;61060:10;;61053:154;;61087:11;61097:1;61087:11;;:::i;:::-;;-1:-1:-1;61156:10:0;61164:2;61156:5;:10;:::i;:::-;61143:24;;:2;:24;:::i;:::-;61130:39;;61113:6;61120;61113:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;61113:56:0;;;;;;;;-1:-1:-1;61184:11:0;61193:2;61184:11;;:::i;:::-;;;61053:154;;104735:521;104877:1;104858:6;:16;;;:20;104850:64;;;;-1:-1:-1;;;104850:64:0;;32026:2:1;104850:64:0;;;32008:21:1;32065:2;32045:18;;;32038:30;32104:33;32084:18;;;32077:61;32155:18;;104850:64:0;31824:355:1;104850:64:0;104947:22;;;;-1:-1:-1;;;;;104947:36:0;104925:117;;;;-1:-1:-1;;;104925:117:0;;32386:2:1;104925:117:0;;;32368:21:1;32425:2;32405:18;;;32398:30;32464:33;32444:18;;;32437:61;32515:18;;104925:117:0;32184:355:1;104925:117:0;105061:12;;;;-1:-1:-1;;;;;105061:26:0;105053:66;;;;-1:-1:-1;;;105053:66:0;;32746:2:1;105053:66:0;;;32728:21:1;32785:2;32765:18;;;32758:30;32824:29;32804:18;;;32797:57;32871:18;;105053:66:0;32544:351:1;105053:66:0;105177:6;:16;;;105152:6;:21;;;:41;;105130:118;;;;-1:-1:-1;;;105130:118:0;;33102:2:1;105130:118:0;;;33084:21:1;33141:2;33121:18;;;33114:30;33180:29;33160:18;;;33153:57;33227:18;;105130:118:0;32900:351:1;107788:431:0;107878:23;;-1:-1:-1;;;;;107878:23:0;107912:38;-1:-1:-1;;;;;;;;;;;107878:23:0;107912:11;:38::i;:::-;107961:46;70026:4;107993:13;107961:11;:46::i;:::-;108020:23;:34;;-1:-1:-1;;;;;;108020:34:0;-1:-1:-1;;;;;108020:34:0;;;;;108065:32;-1:-1:-1;;;;;;;;;;;108020:34:0;108065:10;:32::i;:::-;108108:40;70026:4;108139:8;108108:10;:40::i;:::-;108202:8;-1:-1:-1;;;;;108166:45:0;108187:13;-1:-1:-1;;;;;108166:45:0;;;;;;;;;;;107843:376;107788:431;:::o;105313:523::-;98440:5;105482:19;;;;:38;;105474:69;;;;-1:-1:-1;;;105474:69:0;;33458:2:1;105474:69:0;;;33440:21:1;33497:2;33477:18;;;33470:30;-1:-1:-1;;;33516:18:1;;;33509:48;33574:18;;105474:69:0;33256:342:1;105474:69:0;105585:1;105562:6;:20;;;:24;105554:69;;;;-1:-1:-1;;;105554:69:0;;33805:2:1;105554:69:0;;;33787:21:1;;;33824:18;;;33817:30;33883:34;33863:18;;;33856:62;33935:18;;105554:69:0;33603:356:1;105554:69:0;105676:32;105701:6;105676:24;:32::i;:::-;105719:33;105745:6;105719:25;:33::i;:::-;105803:25;105821:6;105803:17;:25::i;61824:451::-;61899:13;61925:19;61957:10;61961:6;61957:1;:10;:::i;:::-;:14;;61970:1;61957:14;:::i;:::-;-1:-1:-1;;;;;61947:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61947:25:0;;61925:47;;-1:-1:-1;;;61983:6:0;61990:1;61983:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;61983:15:0;;;;;;;;;-1:-1:-1;;;62009:6:0;62016:1;62009:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;62009:15:0;;;;;;;;-1:-1:-1;62040:9:0;62052:10;62056:6;62052:1;:10;:::i;:::-;:14;;62065:1;62052:14;:::i;:::-;62040:26;;62035:135;62072:1;62068;:5;62035:135;;;-1:-1:-1;;;62120:5:0;62128:3;62120:11;62107:25;;;;;;;:::i;:::-;;;;62095:6;62102:1;62095:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;62095:37:0;;;;;;;;-1:-1:-1;62157:1:0;62147:11;;;;;62075:3;;;:::i;:::-;;;62035:135;;;-1:-1:-1;62188:10:0;;62180:55;;;;-1:-1:-1;;;62180:55:0;;34307:2:1;62180:55:0;;;34289:21:1;;;34326:18;;;34319:30;34385:34;34365:18;;;34358:62;34437:18;;62180:55:0;34105:356:1;93003:1855:0;93101:11;;93061:13;;93127:8;93123:23;;-1:-1:-1;;93137:9:0;;;;;;;;;-1:-1:-1;93137:9:0;;;93003:1855;-1:-1:-1;93003:1855:0:o;93123:23::-;93198:18;93236:1;93225:7;:3;93231:1;93225:7;:::i;:::-;93224:13;;;;:::i;:::-;93219:19;;:1;:19;:::i;:::-;93198:40;-1:-1:-1;93296:19:0;93328:15;93198:40;93341:2;93328:15;:::i;:::-;-1:-1:-1;;;;;93318:26:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93318:26:0;;93296:48;;93357:18;93378:5;;;;;;;;;;;;;;;;;93357:26;;93512:1;93505:5;93501:13;93557:2;93549:6;93545:15;93608:1;93576:960;93631:3;93628:1;93625:10;93576:960;;;93686:1;93729:12;;;;;93723:19;93824:4;93812:2;93808:14;;;;;93790:40;;93784:47;93976:2;93972:14;;;93968:25;;93954:40;;93948:47;94166:1;94162:13;;;94158:24;;94144:39;;94138:46;94347:16;;;;94333:31;;94327:38;93860:1;93856:11;;;93997:4;93944:58;;;93892:129;94046:11;;94134:57;;;94082:128;;;;94235:11;;94323:49;;94271:120;94420:3;94416:13;94449:22;;94519:1;94504:17;;;;93679:9;93576:960;;;93580:44;94568:1;94563:3;94559:11;94589:1;94584:84;;;;94687:1;94682:82;;;;94552:212;;94584:84;-1:-1:-1;;;;;94617:17:0;;94610:43;94584:84;;94682:82;-1:-1:-1;;;;;94715:17:0;;94708:41;94552:212;-1:-1:-1;;;94780:26:0;;;94787:6;93003:1855;-1:-1:-1;;;;93003:1855:0:o;71722:492::-;71811:22;71819:4;71825:7;71811;:22::i;:::-;71806:401;;71999:28;72019:7;71999:19;:28::i;:::-;72100:38;72128:4;72135:2;72100:19;:38::i;:::-;71904:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;71904:257:0;;;;;;;;;;-1:-1:-1;;;71850:345:0;;;;;;;:::i;83926:296::-;84009:7;84052:4;84009:7;84067:118;84091:5;:12;84087:1;:16;84067:118;;;84140:33;84150:12;84164:5;84170:1;84164:8;;;;;;;;:::i;:::-;;;;;;;84140:9;:33::i;:::-;84125:48;-1:-1:-1;84105:3:0;;;;:::i;:::-;;;;84067:118;;;-1:-1:-1;84202:12:0;83926:296;-1:-1:-1;;;83926:296:0:o;42867:112::-;42944:27;42954:2;42958:8;42944:27;;;;;;;;;;;;:9;:27::i;105844:614::-;106040:36;;;;106035:50;;105844:614;:::o;106035:50::-;106174:30;;106208:22;;;;106174:56;106152:131;;;;-1:-1:-1;;;106152:131:0;;35459:2:1;106152:131:0;;;35441:21:1;35498:2;35478:18;;;35471:30;35537:27;35517:18;;;35510:55;35582:18;;106152:131:0;35257:349:1;106152:131:0;106363:28;;;;;;;;:::i;:::-;106341:109;;;;-1:-1:-1;;;106341:109:0;;36059:2:1;106341:109:0;;;36041:21:1;36098:2;36078:18;;;36071:30;36137:33;36117:18;;;36110:61;36188:18;;106341:109:0;35857:355:1;106466:624:0;106664:37;;;;106659:51;;106466:624;:::o;106659:51::-;106800:31;;106835:23;;;;106800:58;106778:134;;;;-1:-1:-1;;;106778:134:0;;36419:2:1;106778:134:0;;;36401:21:1;36458:2;36438:18;;;36431:30;36497:28;36477:18;;;36470:56;36543:18;;106778:134:0;36217:350:1;106778:134:0;106993:29;;;;;;;;:::i;:::-;106971:111;;;;-1:-1:-1;;;106971:111:0;;36774:2:1;106971:111:0;;;36756:21:1;;;36793:18;;;36786:30;36852:34;36832:18;;;36825:62;36904:18;;106971:111:0;36572:356:1;107098:598:0;107259:32;;;;107255:45;;;107098:598;:::o;107255:45::-;107388:24;;;;;;;;:::i;:::-;107387:25;107379:62;;;;-1:-1:-1;;;107379:62:0;;37135:2:1;107379:62:0;;;37117:21:1;37174:2;37154:18;;;37147:30;37213:26;37193:18;;;37186:54;37257:18;;107379:62:0;36933:348:1;107379:62:0;107626:14;:6;;:14;:::i;:::-;107609:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;107609:32:0;;;;;;;;;;107599:43;;107609:32;107599:43;;;;;107537:40;;107554:14;;107537:40;;:::i;:::-;;;;;;;;;;;;;107527:51;;;;;;:115;107505:183;;;;-1:-1:-1;;;107505:183:0;;37968:2:1;107505:183:0;;;37950:21:1;38007:2;37987:18;;;37980:30;-1:-1:-1;;;38026:18:1;;;38019:48;38084:18;;107505:183:0;37766:342:1;62432:151:0;62490:13;62523:52;-1:-1:-1;;;;;62535:22:0;;60414:2;62523:11;:52::i;90133:149::-;90196:7;90227:1;90223;:5;:51;;90358:13;90452:15;;;90488:4;90481:15;;;90535:4;90519:21;;90223:51;;;90358:13;90452:15;;;90488:4;90481:15;;;90535:4;90519:21;;90231:20;90290:268;42094:689;42225:19;42231:2;42235:8;42225:5;:19::i;:::-;-1:-1:-1;;;;;42286:14:0;;;:19;42282:483;;42326:11;42340:13;42388:14;;;42421:233;42452:62;42491:1;42495:2;42499:7;;;;;;42508:5;42452:30;:62::i;:::-;42447:167;;42550:40;;-1:-1:-1;;;42550:40:0;;;;;;;;;;;42447:167;42649:3;42641:5;:11;42421:233;;42736:3;42719:13;;:20;42715:34;;42741:8;;;42715:34;42307:458;;42094:689;;;:::o;36622:2720::-;36695:20;36718:13;36746;36742:44;;36768:18;;-1:-1:-1;;;36768:18:0;;;;;;;;;;;36742:44;-1:-1:-1;;;;;37274:22:0;;;;;;:18;:22;;;;10375:2;37274:22;;;:71;;37312:32;37300:45;;37274:71;;;37588:31;;;:17;:31;;;;;-1:-1:-1;24356:15:0;;24330:24;24326:46;23925:11;23900:23;23896:41;23893:52;23883:63;;37588:173;;37823:23;;;;37588:31;;37274:22;;38588:25;37274:22;;38441:335;38856:1;38842:12;38838:20;38796:346;38897:3;38888:7;38885:16;38796:346;;39115:7;39105:8;39102:1;39075:25;39072:1;39069;39064:59;38950:1;38937:15;38796:346;;;-1:-1:-1;39175:13:0;39171:45;;39197:19;;-1:-1:-1;;;39197:19:0;;;;;;;;;;;39171:45;39233:13;:19;-1:-1:-1;72844:147:0;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1621:180::-;1680:6;1733:2;1721:9;1712:7;1708:23;1704:32;1701:52;;;1749:1;1746;1739:12;1701:52;-1:-1:-1;1772:23:1;;1621:180;-1:-1:-1;1621:180:1:o;2123:131::-;-1:-1:-1;;;;;2198:31:1;;2188:42;;2178:70;;2244:1;2241;2234:12;2259:134;2327:20;;2356:31;2327:20;2356:31;:::i;:::-;2259:134;;;:::o;2398:315::-;2466:6;2474;2527:2;2515:9;2506:7;2502:23;2498:32;2495:52;;;2543:1;2540;2533:12;2495:52;2582:9;2569:23;2601:31;2626:5;2601:31;:::i;:::-;2651:5;2703:2;2688:18;;;;2675:32;;-1:-1:-1;;;2398:315:1:o;2900:456::-;2977:6;2985;2993;3046:2;3034:9;3025:7;3021:23;3017:32;3014:52;;;3062:1;3059;3052:12;3014:52;3101:9;3088:23;3120:31;3145:5;3120:31;:::i;:::-;3170:5;-1:-1:-1;3227:2:1;3212:18;;3199:32;3240:33;3199:32;3240:33;:::i;:::-;2900:456;;3292:7;;-1:-1:-1;;;3346:2:1;3331:18;;;;3318:32;;2900:456::o;3546:248::-;3614:6;3622;3675:2;3663:9;3654:7;3650:23;3646:32;3643:52;;;3691:1;3688;3681:12;3643:52;-1:-1:-1;;3714:23:1;;;3784:2;3769:18;;;3756:32;;-1:-1:-1;3546:248:1:o;4078:315::-;4146:6;4154;4207:2;4195:9;4186:7;4182:23;4178:32;4175:52;;;4223:1;4220;4213:12;4175:52;4259:9;4246:23;4236:33;;4319:2;4308:9;4304:18;4291:32;4332:31;4357:5;4332:31;:::i;:::-;4382:5;4372:15;;;4078:315;;;;;:::o;4398:367::-;4461:8;4471:6;4525:3;4518:4;4510:6;4506:17;4502:27;4492:55;;4543:1;4540;4533:12;4492:55;-1:-1:-1;4566:20:1;;-1:-1:-1;;;;;4598:30:1;;4595:50;;;4641:1;4638;4631:12;4595:50;4678:4;4670:6;4666:17;4654:29;;4738:3;4731:4;4721:6;4718:1;4714:14;4706:6;4702:27;4698:38;4695:47;4692:67;;;4755:1;4752;4745:12;4692:67;4398:367;;;;;:::o;4770:572::-;4865:6;4873;4881;4934:2;4922:9;4913:7;4909:23;4905:32;4902:52;;;4950:1;4947;4940:12;4902:52;4989:9;4976:23;5008:31;5033:5;5008:31;:::i;:::-;5058:5;-1:-1:-1;5114:2:1;5099:18;;5086:32;-1:-1:-1;;;;;5130:30:1;;5127:50;;;5173:1;5170;5163:12;5127:50;5212:70;5274:7;5265:6;5254:9;5250:22;5212:70;:::i;:::-;4770:572;;5301:8;;-1:-1:-1;5186:96:1;;-1:-1:-1;;;;4770:572:1:o;5347:1352::-;5403:3;5431:6;5472:5;5466:12;5499:2;5494:3;5487:15;5523:45;5564:2;5559:3;5555:12;5541;5523:45;:::i;:::-;5511:57;;;5616:4;5609:5;5605:16;5599:23;5631:47;5672:4;5667:3;5663:14;5647;470:13;463:21;451:34;;400:91;5631:47;;5727:4;5720:5;5716:16;5710:23;5703:4;5698:3;5694:14;5687:47;5783:4;5776:5;5772:16;5766:23;5759:4;5754:3;5750:14;5743:47;5838:4;5831:5;5827:16;5821:23;5853:47;5894:4;5889:3;5885:14;5869;470:13;463:21;451:34;;400:91;5853:47;;5949:4;5942:5;5938:16;5932:23;5925:4;5920:3;5916:14;5909:47;6004:4;5997:5;5993:16;5987:23;6019:47;6060:4;6055:3;6051:14;6035;470:13;463:21;451:34;;400:91;6019:47;;6115:4;6108:5;6104:16;6098:23;6091:4;6086:3;6082:14;6075:47;6141:6;6194:2;6187:5;6183:14;6177:21;6172:2;6167:3;6163:12;6156:43;;6218:6;6272:2;6265:5;6261:14;6255:21;6316:3;6310:4;6306:14;6301:2;6296:3;6292:12;6285:36;6344:39;6378:4;6362:14;6344:39;:::i;:::-;6330:53;;;;6402:6;6455:2;6448:5;6444:14;6438:21;6433:2;6428:3;6424:12;6417:43;;6479:6;6532:2;6525:5;6521:14;6515:21;6510:2;6505:3;6501:12;6494:43;;6556:6;6610:2;6603:5;6599:14;6593:21;6623:48;6667:2;6662:3;6658:12;6642:14;-1:-1:-1;;;;;1872:31:1;1860:44;;1806:104;6623:48;-1:-1:-1;6687:6:1;;5347:1352;-1:-1:-1;;;;5347:1352:1:o;6704:1277::-;6893:2;6882:9;6875:21;6938:6;6932:13;6927:2;6916:9;6912:18;6905:41;6856:4;6993:2;6985:6;6981:15;6975:22;7033:4;7028:2;7017:9;7013:18;7006:32;7075:12;7069:19;7125:4;7119:3;7108:9;7104:19;7097:33;7153:54;7202:3;7191:9;7187:19;7171:14;7153:54;:::i;:::-;7139:68;;7262:2;7248:12;7244:21;7238:28;7335:3;7331:8;7319:9;7311:6;7307:22;7303:37;7297:3;7286:9;7282:19;7275:66;7364:41;7398:6;7382:14;7364:41;:::i;:::-;7460:2;7442:21;;;7436:28;-1:-1:-1;;;;;7540:23:1;;;7533:4;7518:20;;7511:53;7625:4;7607:23;;;7601:30;7595:3;7580:19;;7573:59;7693:3;7675:22;;7669:29;7663:3;7648:19;;7641:58;7491:3;7746:22;;;7740:29;7736:38;7730:3;7715:19;;7708:67;7812:15;;7806:22;7870;;;-1:-1:-1;;7866:36:1;7844:20;;;7837:66;;;;7350:55;-1:-1:-1;7920:55:1;;-1:-1:-1;7350:55:1;7806:22;7920:55;:::i;7986:247::-;8045:6;8098:2;8086:9;8077:7;8073:23;8069:32;8066:52;;;8114:1;8111;8104:12;8066:52;8153:9;8140:23;8172:31;8197:5;8172:31;:::i;8431:118::-;8517:5;8510:13;8503:21;8496:5;8493:32;8483:60;;8539:1;8536;8529:12;8554:128;8619:20;;8648:28;8619:20;8648:28;:::i;8687:382::-;8752:6;8760;8813:2;8801:9;8792:7;8788:23;8784:32;8781:52;;;8829:1;8826;8819:12;8781:52;8868:9;8855:23;8887:31;8912:5;8887:31;:::i;:::-;8937:5;-1:-1:-1;8994:2:1;8979:18;;8966:32;9007:30;8966:32;9007:30;:::i;9074:127::-;9135:10;9130:3;9126:20;9123:1;9116:31;9166:4;9163:1;9156:15;9190:4;9187:1;9180:15;9206:250;9273:2;9267:9;9315:6;9303:19;;-1:-1:-1;;;;;9337:34:1;;9373:22;;;9334:62;9331:88;;;9399:18;;:::i;:::-;9435:2;9428:22;9206:250;:::o;9461:253::-;9533:2;9527:9;9575:4;9563:17;;-1:-1:-1;;;;;9595:34:1;;9631:22;;;9592:62;9589:88;;;9657:18;;:::i;9719:631::-;9783:5;-1:-1:-1;;;;;9854:2:1;9846:6;9843:14;9840:40;;;9860:18;;:::i;:::-;9935:2;9929:9;9903:2;9989:15;;-1:-1:-1;;9985:24:1;;;10011:2;9981:33;9977:42;9965:55;;;10035:18;;;10055:22;;;10032:46;10029:72;;;10081:18;;:::i;:::-;10121:10;10117:2;10110:22;10150:6;10141:15;;10180:6;10172;10165:22;10220:3;10211:6;10206:3;10202:16;10199:25;10196:45;;;10237:1;10234;10227:12;10196:45;10287:6;10282:3;10275:4;10267:6;10263:17;10250:44;10342:1;10335:4;10326:6;10318;10314:19;10310:30;10303:41;;;;9719:631;;;;;:::o;10355:794::-;10450:6;10458;10466;10474;10527:3;10515:9;10506:7;10502:23;10498:33;10495:53;;;10544:1;10541;10534:12;10495:53;10583:9;10570:23;10602:31;10627:5;10602:31;:::i;:::-;10652:5;-1:-1:-1;10709:2:1;10694:18;;10681:32;10722:33;10681:32;10722:33;:::i;:::-;10774:7;-1:-1:-1;10828:2:1;10813:18;;10800:32;;-1:-1:-1;10883:2:1;10868:18;;10855:32;-1:-1:-1;;;;;10899:30:1;;10896:50;;;10942:1;10939;10932:12;10896:50;10965:22;;11018:4;11010:13;;11006:27;-1:-1:-1;10996:55:1;;11047:1;11044;11037:12;10996:55;11070:73;11135:7;11130:2;11117:16;11112:2;11108;11104:11;11070:73;:::i;:::-;11060:83;;;10355:794;;;;;;;:::o;11154:221::-;11197:5;11250:3;11243:4;11235:6;11231:17;11227:27;11217:55;;11268:1;11265;11258:12;11217:55;11290:79;11365:3;11356:6;11343:20;11336:4;11328:6;11324:17;11290:79;:::i;11380:1400::-;11440:5;11488:6;11476:9;11471:3;11467:19;11463:32;11460:52;;;11508:1;11505;11498:12;11460:52;11530:17;;:::i;:::-;11521:26;;11583:9;11570:23;-1:-1:-1;;;;;11653:2:1;11645:6;11642:14;11639:34;;;11669:1;11666;11659:12;11639:34;11696:46;11738:3;11729:6;11718:9;11714:22;11696:46;:::i;:::-;11689:5;11682:61;11775:35;11806:2;11795:9;11791:18;11775:35;:::i;:::-;11770:2;11763:5;11759:14;11752:59;11871:2;11860:9;11856:18;11843:32;11838:2;11831:5;11827:14;11820:56;11936:2;11925:9;11921:18;11908:32;11903:2;11896:5;11892:14;11885:56;11974:36;12005:3;11994:9;11990:19;11974:36;:::i;:::-;11968:3;11961:5;11957:15;11950:61;12072:3;12061:9;12057:19;12044:33;12038:3;12031:5;12027:15;12020:58;12111:36;12142:3;12131:9;12127:19;12111:36;:::i;:::-;12105:3;12094:15;;12087:61;12209:3;12194:19;;;12181:33;12164:15;;;12157:58;12234:3;12282:18;;;12269:32;12253:14;;;12246:56;12321:3;;-1:-1:-1;12362:18:1;;;12349:32;12393:16;;;12390:36;;;12422:1;12419;12412:12;12390:36;12458:48;12502:3;12491:8;12480:9;12476:24;12458:48;:::i;:::-;12453:2;12446:5;12442:14;12435:72;;;;12526:3;12589:2;12578:9;12574:18;12561:32;12556:2;12549:5;12545:14;12538:56;;12613:3;12676:2;12665:9;12661:18;12648:32;12643:2;12636:5;12632:14;12625:56;;12700:3;12735:38;12769:2;12758:9;12754:18;12735:38;:::i;:::-;12719:14;;;12712:62;12723:5;11380:1400;-1:-1:-1;;11380:1400:1:o;12785:1274::-;12918:6;12926;12979:2;12967:9;12958:7;12954:23;12950:32;12947:52;;;12995:1;12992;12985:12;12947:52;13035:9;13022:23;-1:-1:-1;;;;;13105:2:1;13097:6;13094:14;13091:34;;;13121:1;13118;13111:12;13091:34;13144:22;;;;13200:4;13182:16;;;13178:27;13175:47;;;13218:1;13215;13208:12;13175:47;13244:22;;:::i;:::-;13304:2;13291:16;13332:2;13322:8;13319:16;13316:36;;;13348:1;13345;13338:12;13316:36;13375:45;13412:7;13401:8;13397:2;13393:17;13375:45;:::i;:::-;13368:5;13361:60;;13467:2;13463;13459:11;13446:25;13496:2;13486:8;13483:16;13480:36;;;13512:1;13509;13502:12;13480:36;13548:45;13585:7;13574:8;13570:2;13566:17;13548:45;:::i;:::-;13543:2;13536:5;13532:14;13525:69;;13626:31;13653:2;13649;13645:11;13626:31;:::i;:::-;13621:2;13614:5;13610:14;13603:55;13711:2;13707;13703:11;13690:25;13685:2;13678:5;13674:14;13667:49;13770:3;13766:2;13762:12;13749:26;13743:3;13736:5;13732:15;13725:51;13809:32;13836:3;13832:2;13828:12;13809:32;:::i;:::-;13803:3;13792:15;;13785:57;13796:5;-1:-1:-1;13919:2:1;13904:18;;13891:32;;-1:-1:-1;13935:16:1;;;13932:36;;;13964:1;13961;13954:12;13932:36;;13987:66;14045:7;14034:8;14023:9;14019:24;13987:66;:::i;:::-;13977:76;;;12785:1274;;;;;:::o;14064:393::-;14156:6;14209:2;14197:9;14188:7;14184:23;14180:32;14177:52;;;14225:1;14222;14215:12;14177:52;14265:9;14252:23;-1:-1:-1;;;;;14290:6:1;14287:30;14284:50;;;14330:1;14327;14320:12;14284:50;14353:22;;14409:3;14391:16;;;14387:26;14384:46;;;14426:1;14423;14416:12;14462:505;14557:6;14565;14573;14626:2;14614:9;14605:7;14601:23;14597:32;14594:52;;;14642:1;14639;14632:12;14594:52;14678:9;14665:23;14655:33;;14739:2;14728:9;14724:18;14711:32;-1:-1:-1;;;;;14758:6:1;14755:30;14752:50;;;14798:1;14795;14788:12;14972:388;15040:6;15048;15101:2;15089:9;15080:7;15076:23;15072:32;15069:52;;;15117:1;15114;15107:12;15069:52;15156:9;15143:23;15175:31;15200:5;15175:31;:::i;:::-;15225:5;-1:-1:-1;15282:2:1;15267:18;;15254:32;15295:33;15254:32;15295:33;:::i;15365:380::-;15444:1;15440:12;;;;15487;;;15508:61;;15562:4;15554:6;15550:17;15540:27;;15508:61;15615:2;15607:6;15604:14;15584:18;15581:38;15578:161;;;15661:10;15656:3;15652:20;15649:1;15642:31;15696:4;15693:1;15686:15;15724:4;15721:1;15714:15;15578:161;;15365:380;;;:::o;15750:127::-;15811:10;15806:3;15802:20;15799:1;15792:31;15842:4;15839:1;15832:15;15866:4;15863:1;15856:15;15882:168;15922:7;15988:1;15984;15980:6;15976:14;15973:1;15970:21;15965:1;15958:9;15951:17;15947:45;15944:71;;;15995:18;;:::i;:::-;-1:-1:-1;16035:9:1;;15882:168::o;16055:127::-;16116:10;16111:3;16107:20;16104:1;16097:31;16147:4;16144:1;16137:15;16171:4;16168:1;16161:15;16187:120;16227:1;16253;16243:35;;16258:18;;:::i;:::-;-1:-1:-1;16292:9:1;;16187:120::o;17305:125::-;17345:4;17373:1;17370;17367:8;17364:34;;;17378:18;;:::i;:::-;-1:-1:-1;17415:9:1;;17305:125::o;19655:693::-;19705:3;19746:5;19740:12;19775:36;19801:9;19775:36;:::i;:::-;19830:1;19847:18;;;19874:104;;;;19992:1;19987:355;;;;19840:502;;19874:104;-1:-1:-1;;19907:24:1;;19895:37;;19952:16;;;;-1:-1:-1;19874:104:1;;19987:355;20018:5;20015:1;20008:16;20047:4;20092:2;20089:1;20079:16;20117:1;20131:165;20145:6;20142:1;20139:13;20131:165;;;20223:14;;20210:11;;;20203:35;20266:16;;;;20160:10;;20131:165;;;20135:3;;;20325:6;20320:3;20316:16;20309:23;;19840:502;;;;;19655:693;;;;:::o;20353:376::-;20529:3;20557:38;20591:3;20583:6;20557:38;:::i;:::-;20624:6;20618:13;20640:52;20685:6;20681:2;20674:4;20666:6;20662:17;20640:52;:::i;:::-;20708:15;;20353:376;-1:-1:-1;;;;20353:376:1:o;21698:522::-;21776:4;21782:6;21842:11;21829:25;21936:2;21932:7;21921:8;21905:14;21901:29;21897:43;21877:18;21873:68;21863:96;;21955:1;21952;21945:12;21863:96;21982:33;;22034:20;;;-1:-1:-1;;;;;;22066:30:1;;22063:50;;;22109:1;22106;22099:12;22063:50;22142:4;22130:17;;-1:-1:-1;22173:14:1;22169:27;;;22159:38;;22156:58;;;22210:1;22207;22200:12;22225:545;22327:2;22322:3;22319:11;22316:448;;;22363:1;22388:5;22384:2;22377:17;22433:4;22429:2;22419:19;22503:2;22491:10;22487:19;22484:1;22480:27;22474:4;22470:38;22539:4;22527:10;22524:20;22521:47;;;-1:-1:-1;22562:4:1;22521:47;22617:2;22612:3;22608:12;22605:1;22601:20;22595:4;22591:31;22581:41;;22672:82;22690:2;22683:5;22680:13;22672:82;;;22735:17;;;22716:1;22705:13;22672:82;;22946:1190;-1:-1:-1;;;;;23049:3:1;23046:27;23043:53;;;23076:18;;:::i;:::-;23105:94;23195:3;23155:38;23187:4;23181:11;23155:38;:::i;:::-;23149:4;23105:94;:::i;:::-;23225:1;23250:2;23245:3;23242:11;23267:1;23262:616;;;;23922:1;23939:3;23936:93;;;-1:-1:-1;23995:19:1;;;23982:33;23936:93;-1:-1:-1;;22903:1:1;22899:11;;;22895:24;22891:29;22881:40;22927:1;22923:11;;;22878:57;24042:78;;23235:895;;23262:616;19602:1;19595:14;;;19639:4;19626:18;;-1:-1:-1;;23298:17:1;;;23399:9;23421:229;23435:7;23432:1;23429:14;23421:229;;;23524:19;;;23511:33;23496:49;;23631:4;23616:20;;;;23584:1;23572:14;;;;23451:12;23421:229;;;23425:3;23678;23669:7;23666:16;23663:159;;;23802:1;23798:6;23792:3;23786;23783:1;23779:11;23775:21;23771:34;23767:39;23754:9;23749:3;23745:19;23732:33;23728:79;23720:6;23713:95;23663:159;;;23865:1;23859:3;23856:1;23852:11;23848:19;23842:4;23835:33;23235:895;;22946:1190;;;:::o;24141:170::-;24183:11;24235:3;24222:17;24248:28;24270:5;24248:28;:::i;24513:176::-;24558:11;24610:3;24597:17;24623:31;24648:5;24623:31;:::i;24894:1423::-;25077:56;25127:5;25120;25077:56;:::i;:::-;25142:91;25219:13;25206:11;25200:4;25142:91;:::i;:::-;;;25242:97;25298:40;25334:2;25327:5;25323:14;25298:40;:::i;:::-;25294:1;25288:4;25284:12;24430:3;24426:8;24419:4;24413:11;24409:26;24496:3;24487:5;24480:13;24473:21;24469:31;24460:7;24457:44;24451:4;24444:58;;24316:192;;;25242:97;25393:2;25386:5;25382:14;25369:28;25365:1;25359:4;25355:12;25348:50;25452:2;25445:5;25441:14;25428:28;25424:1;25418:4;25414:12;25407:50;25466:98;25522:41;25558:3;25551:5;25547:15;25522:41;:::i;:::-;25518:1;25512:4;25508:12;24430:3;24426:8;24419:4;24413:11;24409:26;24496:3;24487:5;24480:13;24473:21;24469:31;24460:7;24457:44;24451:4;24444:58;;24316:192;;;25466:98;25618:3;25611:5;25607:15;25594:29;25590:1;25584:4;25580:12;25573:51;25633:98;25689:41;25725:3;25718:5;25714:15;25689:41;:::i;:::-;25685:1;25679:4;25675:12;24430:3;24426:8;24419:4;24413:11;24409:26;24496:3;24487:5;24480:13;24473:21;24469:31;24460:7;24457:44;24451:4;24444:58;;24316:192;;;25633:98;25785:3;25778:5;25774:15;25761:29;25757:1;25751:4;25747:12;25740:51;25845:3;25838:5;25834:15;25821:29;25817:1;25811:4;25807:12;25800:51;25896:66;25957:3;25950:5;25946:15;25939:5;25896:66;:::i;:::-;25971:101;26058:13;26043;26039:1;26033:4;26029:12;25971:101;:::i;:::-;;;26127:3;26120:5;26116:15;26103:29;26098:2;26092:4;26088:13;26081:52;26188:3;26181:5;26177:15;26164:29;26159:2;26153:4;26149:13;26142:52;26203:108;26266:44;26305:3;26298:5;26294:15;26266:44;:::i;:::-;26261:2;26255:4;26251:13;24798:11;;-1:-1:-1;;;;;;24794:54:1;-1:-1:-1;;;;;24850:31:1;;;;24791:91;;;;24778:105;;24694:195;27034:1025;27546:66;27541:3;27534:79;27516:3;27642:6;27636:13;27658:62;27713:6;27708:2;27703:3;27699:12;27692:4;27684:6;27680:17;27658:62;:::i;:::-;-1:-1:-1;;;27779:2:1;27739:16;;;27771:11;;;27764:72;27861:13;;27883:63;27861:13;27932:2;27924:11;;27917:4;27905:17;;27883:63;:::i;:::-;-1:-1:-1;;;28006:2:1;27965:17;;;;27998:11;;;27991:35;28050:2;28042:11;;27034:1025;-1:-1:-1;;;;27034:1025:1:o;28064:448::-;28326:31;28321:3;28314:44;28296:3;28387:6;28381:13;28403:62;28458:6;28453:2;28448:3;28444:12;28437:4;28429:6;28425:17;28403:62;:::i;:::-;28485:16;;;;28503:2;28481:25;;28064:448;-1:-1:-1;;28064:448:1:o;30554:489::-;-1:-1:-1;;;;;30823:15:1;;;30805:34;;30875:15;;30870:2;30855:18;;30848:43;30922:2;30907:18;;30900:34;;;30970:3;30965:2;30950:18;;30943:31;;;30748:4;;30991:46;;31017:19;;31009:6;30991:46;:::i;:::-;30983:54;30554:489;-1:-1:-1;;;;;;30554:489:1:o;31048:249::-;31117:6;31170:2;31158:9;31149:7;31145:23;31141:32;31138:52;;;31186:1;31183;31176:12;31138:52;31218:9;31212:16;31237:30;31261:5;31237:30;:::i;31302:135::-;31341:3;-1:-1:-1;;31362:17:1;;31359:43;;;31382:18;;:::i;:::-;-1:-1:-1;31429:1:1;31418:13;;31302:135::o;31442:112::-;31474:1;31500;31490:35;;31505:18;;:::i;:::-;-1:-1:-1;31539:9:1;;31442:112::o;31559:128::-;31599:3;31630:1;31626:6;31623:1;31620:13;31617:39;;;31636:18;;:::i;:::-;-1:-1:-1;31672:9:1;;31559:128::o;31692:127::-;31753:10;31748:3;31744:20;31741:1;31734:31;31784:4;31781:1;31774:15;31808:4;31805:1;31798:15;33964:136;34003:3;34031:5;34021:39;;34040:18;;:::i;:::-;-1:-1:-1;;;34076:18:1;;33964:136::o;34466:786::-;34877:25;34872:3;34865:38;34847:3;34932:6;34926:13;34948:62;35003:6;34998:2;34993:3;34989:12;34982:4;34974:6;34970:17;34948:62;:::i;:::-;-1:-1:-1;;;35069:2:1;35029:16;;;35061:11;;;35054:40;35119:13;;35141:63;35119:13;35190:2;35182:11;;35175:4;35163:17;;35141:63;:::i;:::-;35224:17;35243:2;35220:26;;34466:786;-1:-1:-1;;;;34466:786:1:o;35611:241::-;35667:6;35720:2;35708:9;35699:7;35695:23;35691:32;35688:52;;;35736:1;35733;35726:12;35688:52;35775:9;35762:23;35794:28;35816:5;35794:28;:::i;37286:273::-;37471:6;37463;37458:3;37445:33;37427:3;37497:16;;37522:13;;;37497:16;37286:273;-1:-1:-1;37286:273:1:o;37564:197::-;37692:3;37717:38;37751:3;37743:6;37717:38;:::i
Swarm Source
ipfs://25ad8e1779cffde03c4800cca6da85f2a9a151a2f16d1c8bb7bcc6e0a0d49855
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.