Overview
TokenID
133
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPK
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-12 */ // SPDX-License-Identifier: MIT // NFT: Brainless Spikes // Twitter: https://twitter.com/BrainlesSpikes // Website: https://brainlesspikes.io/ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token]. // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment" // cannot overflow. _erc20TotalReleased[token] += payment; unchecked { _erc20Released[token][account] += payment; } SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev 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 simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _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} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _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 sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _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}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: contracts/BrainlessSpikes.sol pragma solidity ^0.8.13; contract SPK is Ownable, ERC721A, PaymentSplitter, ReentrancyGuard { using Strings for uint; string private baseURI; string public hiddenURI; uint256 public maxSupply = 2600; uint256 public maxMintPerTx = 3; uint256 public nftPerAddressLimit = 3; uint256 public wlprice = 0.069 ether; uint256 public pubprice = 0.0969 ether; bool public paused = true; bool public revealed = false; bool public onlyWhitelisted = true; bool public onlyPublic = false; address private royaltyReceiver; uint96 private royaltyFeesInBeeps = 700; bytes32 public merkleRoot; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; mapping(address => uint256) public addressMintedBalance; uint private teamLength; constructor( address[] memory _team, uint[] memory _teamShares, bytes32 _merkleRoot, string memory _baseURI, string memory _hiddenURI ) ERC721A ("Brainless Spikes", "SPK") PaymentSplitter(_team, _teamShares) { merkleRoot = _merkleRoot; baseURI = _baseURI; hiddenURI = _hiddenURI; teamLength = _team.length; } modifier callerIsUser() { require(tx.origin == msg.sender, "Cannot be called from another contract"); _; } // ****** Mint ****** // function mint(uint256 _mintAmount, bytes32[] calldata _proof) external payable nonReentrant callerIsUser{ require(!paused, "The contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "You need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "Max supply exceeded!"); require(_mintAmount <= maxMintPerTx, "Max mint amount per session exceeded"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "Max NFT per address exceeded"); if(onlyWhitelisted == true) { uint256 price = wlprice; require(isWhiteListed(msg.sender, _proof), "You are not whitelisted"); require(msg.value >= price * _mintAmount, "You don't have enought funds"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; } _mint(msg.sender, _mintAmount); } if(onlyPublic == true){ uint256 price = pubprice; require(msg.value >= price * _mintAmount, "You don't have enought funds"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; } _mint(msg.sender, _mintAmount); } } // ****** Miscellaneous ****** // function setMaxSupply(uint256 _limit) public onlyOwner { maxSupply = _limit; } function setmaxMintPerTx(uint256 _limit) public onlyOwner { maxMintPerTx = _limit; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setWLPrice(uint256 _limit) public onlyOwner { wlprice = _limit; } function setPubPrice(uint256 _limit) public onlyOwner { pubprice = _limit; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function setOnlyPublic(bool _state) public onlyOwner { onlyPublic = _state; } function setRevealed(bool _state) external onlyOwner { revealed = _state; } function walletOfOwner(address address_) public virtual view returns (uint256[] memory) { uint256 _balance = balanceOf(address_); uint256[] memory _tokens = new uint256[] (_balance); uint256 _index; uint256 _loopThrough = totalSupply(); for (uint256 i = 0; i < _loopThrough; i++) { bool _exists = _exists(i); if (_exists) { if (ownerOf(i) == address_) { _tokens[_index] = i; _index++; } } else if (!_exists && _tokens[_balance - 1] == 0) { _loopThrough++; } } return _tokens; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setPaused(bool _state) external onlyOwner { paused = _state; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setHiddenMetadataUri(string memory _hiddenURI) external onlyOwner { hiddenURI = _hiddenURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return hiddenURI; } string memory currentBaseURI = baseURI; return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), ".json")) : ''; } // ****** Whitelist ****** // function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function isWhiteListed(address _account, bytes32[] calldata _proof) internal view returns(bool) { return _verify(leaf(_account), _proof); } function leaf(address _account) internal pure returns(bytes32) { return keccak256(abi.encodePacked(_account)); } function _verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns(bool) { return MerkleProof.verify(_proof, merkleRoot, _leaf); } // ****** Giveaway ****** // function giveawayMint(uint256 _mintAmount, address _receiver) external onlyOwner{ uint256 supply = totalSupply(); require(_mintAmount > 0, "Giveaway need to be at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "Max supply exceeded!"); _mint(_receiver, _mintAmount); } // ****** withdrawal ****** // function withdrawalAll() external onlyOwner nonReentrant { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } // ****** Implementing Royalty Interface (EIP2981) ****** // function supportsInterface(bytes4 interfaceId) public view virtual override (ERC721A) returns (bool) { if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } // ****** RoyaltyInfo ****** // function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { require(_exists(_tokenId), "ERC2981Royality: Cannot query non-existent token"); return (royaltyReceiver, (_salePrice * royaltyFeesInBeeps) / 10000); } function calculatingRoyalties(uint256 _salePrice) view public returns (uint256) { return (_salePrice / 10000) * royaltyFeesInBeeps; } function setRoyalty(uint96 _royaltyFeesInBeeps) external onlyOwner { royaltyFeesInBeeps = _royaltyFeesInBeeps; } function setRoyaltyReceiver(address _receiver) external onlyOwner{ royaltyReceiver = _receiver; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_hiddenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculatingRoyalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenURI","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setPubPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_royaltyFeesInBeeps","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setmaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052610a286013556003601481905560155566f523226980800060165567015842095ebc40006017556018805463ffffffff191662010001179055601980546001600160601b0319166102bc1790553480156200005e57600080fd5b5060405162003a1c38038062003a1c8339810160408190526200008191620006ed565b84846040518060400160405280601081526020016f427261696e6c657373205370696b657360801b8152506040518060400160405280600381526020016253504b60e81b815250620000e2620000dc6200028e60201b60201c565b62000292565b8151620000f7906003906020850190620004d0565b5080516200010d906004906020840190620004d0565b506001805550508051825114620001865760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001d95760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200017d565b60005b8251811015620002455762000230838281518110620001ff57620001ff62000824565b60200260200101518383815181106200021c576200021c62000824565b6020026020010151620002e260201b60201c565b806200023c8162000850565b915050620001dc565b5050600160105550601a839055815162000267906011906020850190620004d0565b5080516200027d906012906020840190620004d0565b50509251601c5550620008c3915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200034f5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200017d565b60008111620003a15760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200017d565b6001600160a01b0382166000908152600b6020526040902054156200041d5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200017d565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b60205260409020819055600954620004879082906200086c565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620004de9062000887565b90600052602060002090601f0160209004810192826200050257600085556200054d565b82601f106200051d57805160ff19168380011785556200054d565b828001600101855582156200054d579182015b828111156200054d57825182559160200191906001019062000530565b506200055b9291506200055f565b5090565b5b808211156200055b576000815560010162000560565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005b757620005b762000576565b604052919050565b60006001600160401b03821115620005db57620005db62000576565b5060051b60200190565b600082601f830112620005f757600080fd5b81516020620006106200060a83620005bf565b6200058c565b82815260059290921b840181019181810190868411156200063057600080fd5b8286015b848110156200064d578051835291830191830162000634565b509695505050505050565b600082601f8301126200066a57600080fd5b81516001600160401b0381111562000686576200068662000576565b60206200069c601f8301601f191682016200058c565b8281528582848701011115620006b157600080fd5b60005b83811015620006d1578581018301518282018401528201620006b4565b83811115620006e35760008385840101525b5095945050505050565b600080600080600060a086880312156200070657600080fd5b85516001600160401b03808211156200071e57600080fd5b818801915088601f8301126200073357600080fd5b81516020620007466200060a83620005bf565b82815260059290921b8401810191818101908c8411156200076657600080fd5b948201945b838610156200079d5785516001600160a01b03811681146200078d5760008081fd5b825294820194908201906200076b565b918b0151919950909350505080821115620007b757600080fd5b620007c589838a01620005e5565b9550604088015194506060880151915080821115620007e357600080fd5b620007f189838a0162000658565b935060808801519150808211156200080857600080fd5b50620008178882890162000658565b9150509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016200086557620008656200083a565b5060010190565b600082198211156200088257620008826200083a565b500190565b600181811c908216806200089c57607f821691505b602082108103620008bd57634e487b7160e01b600052602260045260246000fd5b50919050565b61314980620008d36000396000f3fe60806040526004361061039b5760003560e01c80638b83209b116101dc578063cac9266911610102578063de7fcb1d116100a0578063f284433d1161006f578063f284433d14610b3e578063f2fde38b14610b54578063f44b79b314610b74578063f6a5b8e614610b8957600080fd5b8063de7fcb1d14610aaa578063e0a8085314610ac0578063e33b7de314610ae0578063e985e9c514610af557600080fd5b8063d5abeb01116100dc578063d5abeb0114610a28578063d79779b214610a3e578063dc544ca714610a74578063dcd5994e14610a8a57600080fd5b8063cac92669146109b2578063ce7c2ac2146109d2578063d0eb26b014610a0857600080fd5b8063a0bcfc7f1161017a578063ba41b0c611610149578063ba41b0c614610949578063ba7d2c761461095c578063c45ac05014610972578063c87b56dd1461099257600080fd5b8063a0bcfc7f146108d6578063a22cb465146108f6578063a3f8eace14610916578063b88d4fde1461093657600080fd5b80638dc251e3116101b65780638dc251e31461084b57806395d89b411461086b5780639852595c146108805780639c70b512146108b657600080fd5b80638b83209b146107f85780638cc54e7f146108185780638da5cb5b1461082d57600080fd5b8063438b6300116102c15780636352211e1161025f57806370a082311161022e57806370a0823114610783578063715018a6146107a357806379f34a10146107b85780637cb64759146107d857600080fd5b80636352211e146107035780636be560dc146107235780636d40d840146107435780636f8b44b01461076357600080fd5b80634fdd43cb1161029b5780634fdd43cb1461068957806351830227146106a95780635614b9f1146106c85780635c975abb146106e957600080fd5b8063438b63001461061c57806348b75044146106495780634c8ed2301461066957600080fd5b806319165587116103395780633a98ef39116103085780633a98ef391461058e5780633c952764146105a3578063406072a9146105c357806342842e0e1461060957600080fd5b8063191655871461050657806323b872dd146105265780632a55205a146105395780632eb4a7ab1461057857600080fd5b8063095ea7b311610375578063095ea7b31461047857806316c38b3c1461048d57806318160ddd146104ad57806318cae269146104d957600080fd5b806301ffc9a7146103e957806306fdde031461041e578063081812fc1461044057600080fd5b366103e4577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f557600080fd5b50610409610404366004612a4e565b610ba9565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bda565b6040516104159190612ac3565b34801561044c57600080fd5b5061046061045b366004612ad6565b610c6c565b6040516001600160a01b039091168152602001610415565b61048b610486366004612b04565b610cb0565b005b34801561049957600080fd5b5061048b6104a8366004612b3e565b610d50565b3480156104b957600080fd5b506104cb600254600154036000190190565b604051908152602001610415565b3480156104e557600080fd5b506104cb6104f4366004612b5b565b601b6020526000908152604090205481565b34801561051257600080fd5b5061048b610521366004612b5b565b610d6b565b61048b610534366004612b78565b610e5b565b34801561054557600080fd5b50610559610554366004612bb9565b610ff3565b604080516001600160a01b039093168352602083019190915201610415565b34801561058457600080fd5b506104cb601a5481565b34801561059a57600080fd5b506009546104cb565b3480156105af57600080fd5b5061048b6105be366004612b3e565b6110a9565b3480156105cf57600080fd5b506104cb6105de366004612bdb565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b61048b610617366004612b78565b6110cd565b34801561062857600080fd5b5061063c610637366004612b5b565b6110ed565b6040516104159190612c14565b34801561065557600080fd5b5061048b610664366004612bdb565b61122b565b34801561067557600080fd5b5061048b610684366004612c58565b61133c565b34801561069557600080fd5b5061048b6106a4366004612d09565b611410565b3480156106b557600080fd5b5060185461040990610100900460ff1681565b3480156106d457600080fd5b50601854610409906301000000900460ff1681565b3480156106f557600080fd5b506018546104099060ff1681565b34801561070f57600080fd5b5061046061071e366004612ad6565b61142f565b34801561072f57600080fd5b506104cb61073e366004612ad6565b61143a565b34801561074f57600080fd5b5061048b61075e366004612b3e565b61145f565b34801561076f57600080fd5b5061048b61077e366004612ad6565b611485565b34801561078f57600080fd5b506104cb61079e366004612b5b565b611492565b3480156107af57600080fd5b5061048b6114e1565b3480156107c457600080fd5b5061048b6107d3366004612ad6565b6114f5565b3480156107e457600080fd5b5061048b6107f3366004612ad6565b611502565b34801561080457600080fd5b50610460610813366004612ad6565b61150f565b34801561082457600080fd5b5061043361153f565b34801561083957600080fd5b506000546001600160a01b0316610460565b34801561085757600080fd5b5061048b610866366004612b5b565b6115cd565b34801561087757600080fd5b50610433611603565b34801561088c57600080fd5b506104cb61089b366004612b5b565b6001600160a01b03166000908152600c602052604090205490565b3480156108c257600080fd5b506018546104099062010000900460ff1681565b3480156108e257600080fd5b5061048b6108f1366004612d09565b611612565b34801561090257600080fd5b5061048b610911366004612d52565b61162d565b34801561092257600080fd5b506104cb610931366004612b5b565b611699565b61048b610944366004612d80565b6116e1565b61048b610957366004612e00565b61172b565b34801561096857600080fd5b506104cb60155481565b34801561097e57600080fd5b506104cb61098d366004612bdb565b611b37565b34801561099e57600080fd5b506104336109ad366004612ad6565b611c02565b3480156109be57600080fd5b5061048b6109cd366004612e7f565b611df5565b3480156109de57600080fd5b506104cb6109ed366004612b5b565b6001600160a01b03166000908152600b602052604090205490565b348015610a1457600080fd5b5061048b610a23366004612ad6565b611e24565b348015610a3457600080fd5b506104cb60135481565b348015610a4a57600080fd5b506104cb610a59366004612b5b565b6001600160a01b03166000908152600e602052604090205490565b348015610a8057600080fd5b506104cb60165481565b348015610a9657600080fd5b5061048b610aa5366004612ad6565b611e31565b348015610ab657600080fd5b506104cb60145481565b348015610acc57600080fd5b5061048b610adb366004612b3e565b611e3e565b348015610aec57600080fd5b50600a546104cb565b348015610b0157600080fd5b50610409610b10366004612bdb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610b4a57600080fd5b506104cb60175481565b348015610b6057600080fd5b5061048b610b6f366004612b5b565b611e60565b348015610b8057600080fd5b5061048b611ed9565b348015610b9557600080fd5b5061048b610ba4366004612ad6565b611f1f565b6000636ad56fd360e11b6001600160e01b0319831601610bcb57506001919050565b610bd482611f2c565b92915050565b606060038054610be990612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590612ea8565b8015610c625780601f10610c3757610100808354040283529160200191610c62565b820191906000526020600020905b815481529060010190602001808311610c4557829003601f168201915b5050505050905090565b6000610c7782611f7a565b610c94576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610cbb8261142f565b9050336001600160a01b03821614610cf457610cd78133610b10565b610cf4576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610d58611faf565b6018805460ff1916911515919091179055565b6001600160a01b0381166000908152600b6020526040902054610da95760405162461bcd60e51b8152600401610da090612ee2565b60405180910390fd5b6000610db482611699565b905080600003610dd65760405162461bcd60e51b8152600401610da090612f28565b80600a6000828254610de89190612f89565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610e158282612009565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610e6682612122565b9050836001600160a01b0316816001600160a01b031614610e995760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610ee657610ec98633610b10565b610ee657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f0d57604051633a954ecd60e21b815260040160405180910390fd5b8015610f1857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610faa57600184016000818152600560205260408120549003610fa8576001548114610fa85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080610fff84611f7a565b6110645760405162461bcd60e51b815260206004820152603060248201527f45524332393831526f79616c6974793a2043616e6e6f74207175657279206e6f60448201526f3716b2bc34b9ba32b73a103a37b5b2b760811b6064820152608401610da0565b6018546019546401000000009091046001600160a01b03169061271090611094906001600160601b031686612fa1565b61109e9190612fc0565b915091509250929050565b6110b1611faf565b60188054911515620100000262ff000019909216919091179055565b6110e8838383604051806020016040528060008152506116e1565b505050565b606060006110fa83611492565b905060008167ffffffffffffffff81111561111757611117612c7d565b604051908082528060200260200182016040528015611140578160200160208202803683370190505b509050600080611157600254600154036000190190565b905060005b8181101561122057600061116f82611f7a565b905080156111c957876001600160a01b031661118a8361142f565b6001600160a01b0316036111c457818585815181106111ab576111ab612fe2565b6020908102919091010152836111c081612ff8565b9450505b61120d565b801580156111fa5750846111de600188613011565b815181106111ee576111ee612fe2565b60200260200101516000145b1561120d578261120981612ff8565b9350505b508061121881612ff8565b91505061115c565b509195945050505050565b6001600160a01b0381166000908152600b60205260409020546112605760405162461bcd60e51b8152600401610da090612ee2565b600061126c8383611b37565b90508060000361128e5760405162461bcd60e51b8152600401610da090612f28565b6001600160a01b0383166000908152600e6020526040812080548392906112b6908490612f89565b90915550506001600160a01b038084166000908152600f602090815260408083209386168352929052208054820190556112f1838383612191565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611344611faf565b6000611357600254600154036000190190565b9050600083116113b45760405162461bcd60e51b815260206004820152602260248201527f4769766561776179206e65656420746f206265206174206c656173742031204e604482015261119560f21b6064820152608401610da0565b6013546113c18483612f89565b11156114065760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610da0565b6110e882846121e3565b611418611faf565b805161142b90601290602084019061299f565b5050565b6000610bd482612122565b6019546000906001600160601b031661145561271084612fc0565b610bd49190612fa1565b611467611faf565b6018805491151563010000000263ff00000019909216919091179055565b61148d611faf565b601355565b60006001600160a01b0382166114bb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6114e9611faf565b6114f360006122e1565b565b6114fd611faf565b601455565b61150a611faf565b601a55565b6000600d828154811061152457611524612fe2565b6000918252602090912001546001600160a01b031692915050565b6012805461154c90612ea8565b80601f016020809104026020016040519081016040528092919081815260200182805461157890612ea8565b80156115c55780601f1061159a576101008083540402835291602001916115c5565b820191906000526020600020905b8154815290600101906020018083116115a857829003601f168201915b505050505081565b6115d5611faf565b601880546001600160a01b0390921664010000000002640100000000600160c01b0319909216919091179055565b606060048054610be990612ea8565b61161a611faf565b805161142b90601190602084019061299f565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806116a5600a5490565b6116af9047612f89565b90506116da83826116d5866001600160a01b03166000908152600c602052604090205490565b612331565b9392505050565b6116ec848484610e5b565b6001600160a01b0383163b15611725576117088484848461236f565b611725576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61173361245a565b3233146117915760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f742062652063616c6c65642066726f6d20616e6f7468657220636f6044820152651b9d1c9858dd60d21b6064820152608401610da0565b60185460ff16156117dd5760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610da0565b60006117f0600254600154036000190190565b9050600084116118425760405162461bcd60e51b815260206004820152601f60248201527f596f75206e65656420746f206d696e74206174206c656173742031204e4654006044820152606401610da0565b60135461184f8583612f89565b11156118945760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610da0565b6014548411156118f25760405162461bcd60e51b8152602060048201526024808201527f4d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656044820152631959195960e21b6064820152608401610da0565b336000908152601b602052604090205460155461190f8683612f89565b111561195d5760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610da0565b60185462010000900460ff161515600103611a6f576016546119803386866124b3565b6119cc5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742077686974656c69737465640000000000000000006044820152606401610da0565b6119d68682612fa1565b341015611a255760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f756768742066756e6473000000006044820152606401610da0565b60015b868111611a6257336000908152601b60205260408120805491611a4a83612ff8565b91905055508080611a5a90612ff8565b915050611a28565b50611a6d33876121e3565b505b6018546301000000900460ff161515600103611b2b57601754611a928682612fa1565b341015611ae15760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f756768742066756e6473000000006044820152606401610da0565b60015b868111611b1e57336000908152601b60205260408120805491611b0683612ff8565b91905055508080611b1690612ff8565b915050611ae4565b50611b2933876121e3565b505b50506110e86001601055565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bba9190613028565b611bc49190612f89565b6001600160a01b038086166000908152600f6020908152604080832093881683529290522054909150611bfa9084908390612331565b949350505050565b6060611c0d82611f7a565b611c715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610da0565b601854610100900460ff161515600003611d175760128054611c9290612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054611cbe90612ea8565b8015611d0b5780601f10611ce057610100808354040283529160200191611d0b565b820191906000526020600020905b815481529060010190602001808311611cee57829003601f168201915b50505050509050919050565b600060118054611d2690612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5290612ea8565b8015611d9f5780601f10611d7457610100808354040283529160200191611d9f565b820191906000526020600020905b815481529060010190602001808311611d8257829003601f168201915b505050505090506000815111611dc457604051806020016040528060008152506116da565b80611dce84612534565b604051602001611ddf929190613041565b6040516020818303038152906040529392505050565b611dfd611faf565b601980546bffffffffffffffffffffffff19166001600160601b0392909216919091179055565b611e2c611faf565b601555565b611e39611faf565b601755565b611e46611faf565b601880549115156101000261ff0019909216919091179055565b611e68611faf565b6001600160a01b038116611ecd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610da0565b611ed6816122e1565b50565b611ee1611faf565b611ee961245a565b60005b601c54811015611f1457611f026105218261150f565b80611f0c81612ff8565b915050611eec565b506114f36001601055565b611f27611faf565b601655565b60006301ffc9a760e01b6001600160e01b031983161480611f5d57506380ac58cd60e01b6001600160e01b03198316145b80610bd45750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611f8e575060015482105b8015610bd4575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b031633146114f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610da0565b804710156120595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610da0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120a6576040519150601f19603f3d011682016040523d82523d6000602084013e6120ab565b606091505b50509050806110e85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610da0565b60008180600111612178576001548110156121785760008181526005602052604081205490600160e01b82169003612176575b806000036116da575060001901600081815260056020526040902054612155565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110e89084906125c7565b60015460008290036122085760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122b757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161227f565b50816000036122d857604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161235b9086612fa1565b6123659190612fc0565b611bfa9190613011565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123a4903390899088908890600401613080565b6020604051808303816000875af19250505080156123df575060408051601f3d908101601f191682019092526123dc918101906130bd565b60015b61243d573d80801561240d576040519150601f19603f3d011682016040523d82523d6000602084013e612412565b606091505b508051600003612435576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6002601054036124ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610da0565b6002601055565b6000611bfa6124fb856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061269992505050565b60606000612541836126a8565b600101905060008167ffffffffffffffff81111561256157612561612c7d565b6040519080825280601f01601f19166020018201604052801561258b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461259557509392505050565b600061261c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127809092919063ffffffff16565b8051909150156110e8578080602001905181019061263a91906130da565b6110e85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610da0565b60006116da82601a548561278f565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126e75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612713576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061273157662386f26fc10000830492506010015b6305f5e1008310612749576305f5e100830492506008015b612710831061275d57612710830492506004015b6064831061276f576064830492506002015b600a8310610bd45760010192915050565b6060611bfa84846000856127a5565b60008261279c8584612880565b14949350505050565b6060824710156128065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610da0565b600080866001600160a01b0316858760405161282291906130f7565b60006040518083038185875af1925050503d806000811461285f576040519150601f19603f3d011682016040523d82523d6000602084013e612864565b606091505b5091509150612875878383876128cd565b979650505050505050565b600081815b84518110156128c5576128b1828683815181106128a4576128a4612fe2565b6020026020010151612946565b9150806128bd81612ff8565b915050612885565b509392505050565b6060831561293c578251600003612935576001600160a01b0385163b6129355760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610da0565b5081611bfa565b611bfa8383612975565b60008183106129625760008281526020849052604090206116da565b60008381526020839052604090206116da565b8151156129855781518083602001fd5b8060405162461bcd60e51b8152600401610da09190612ac3565b8280546129ab90612ea8565b90600052602060002090601f0160209004810192826129cd5760008555612a13565b82601f106129e657805160ff1916838001178555612a13565b82800160010185558215612a13579182015b82811115612a135782518255916020019190600101906129f8565b50612a1f929150612a23565b5090565b5b80821115612a1f5760008155600101612a24565b6001600160e01b031981168114611ed657600080fd5b600060208284031215612a6057600080fd5b81356116da81612a38565b60005b83811015612a86578181015183820152602001612a6e565b838111156117255750506000910152565b60008151808452612aaf816020860160208601612a6b565b601f01601f19169290920160200192915050565b6020815260006116da6020830184612a97565b600060208284031215612ae857600080fd5b5035919050565b6001600160a01b0381168114611ed657600080fd5b60008060408385031215612b1757600080fd5b8235612b2281612aef565b946020939093013593505050565b8015158114611ed657600080fd5b600060208284031215612b5057600080fd5b81356116da81612b30565b600060208284031215612b6d57600080fd5b81356116da81612aef565b600080600060608486031215612b8d57600080fd5b8335612b9881612aef565b92506020840135612ba881612aef565b929592945050506040919091013590565b60008060408385031215612bcc57600080fd5b50508035926020909101359150565b60008060408385031215612bee57600080fd5b8235612bf981612aef565b91506020830135612c0981612aef565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c4c57835183529284019291840191600101612c30565b50909695505050505050565b60008060408385031215612c6b57600080fd5b823591506020830135612c0981612aef565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612cae57612cae612c7d565b604051601f8501601f19908116603f01168101908282118183101715612cd657612cd6612c7d565b81604052809350858152868686011115612cef57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612d1b57600080fd5b813567ffffffffffffffff811115612d3257600080fd5b8201601f81018413612d4357600080fd5b611bfa84823560208401612c93565b60008060408385031215612d6557600080fd5b8235612d7081612aef565b91506020830135612c0981612b30565b60008060008060808587031215612d9657600080fd5b8435612da181612aef565b93506020850135612db181612aef565b925060408501359150606085013567ffffffffffffffff811115612dd457600080fd5b8501601f81018713612de557600080fd5b612df487823560208401612c93565b91505092959194509250565b600080600060408486031215612e1557600080fd5b83359250602084013567ffffffffffffffff80821115612e3457600080fd5b818601915086601f830112612e4857600080fd5b813581811115612e5757600080fd5b8760208260051b8501011115612e6c57600080fd5b6020830194508093505050509250925092565b600060208284031215612e9157600080fd5b81356001600160601b03811681146116da57600080fd5b600181811c90821680612ebc57607f821691505b602082108103612edc57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f9c57612f9c612f73565b500190565b6000816000190483118215151615612fbb57612fbb612f73565b500290565b600082612fdd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820161300a5761300a612f73565b5060010190565b60008282101561302357613023612f73565b500390565b60006020828403121561303a57600080fd5b5051919050565b60008351613053818460208801612a6b565b835190830190613067818360208801612a6b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130b390830184612a97565b9695505050505050565b6000602082840312156130cf57600080fd5b81516116da81612a38565b6000602082840312156130ec57600080fd5b81516116da81612b30565b60008251613109818460208701612a6b565b919091019291505056fea2646970667358221220ba7d764d5b88c1471e06a5ced6a2e51782917301bc17def97574f63f2f46fd0c64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100cedef34e6fb5501de98eeff735f08513c1d521b6712ff8d8d354c072bdaeb9b6000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a713a4ce6cd2fb94d8136befcaa803f057d7f2dd00000000000000000000000096ff8e533dfd3958502a965fddee235265044f0d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005c00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d395335336279756e647161553237473959617532792f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d395335336279756e647161553237473959617532792f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061039b5760003560e01c80638b83209b116101dc578063cac9266911610102578063de7fcb1d116100a0578063f284433d1161006f578063f284433d14610b3e578063f2fde38b14610b54578063f44b79b314610b74578063f6a5b8e614610b8957600080fd5b8063de7fcb1d14610aaa578063e0a8085314610ac0578063e33b7de314610ae0578063e985e9c514610af557600080fd5b8063d5abeb01116100dc578063d5abeb0114610a28578063d79779b214610a3e578063dc544ca714610a74578063dcd5994e14610a8a57600080fd5b8063cac92669146109b2578063ce7c2ac2146109d2578063d0eb26b014610a0857600080fd5b8063a0bcfc7f1161017a578063ba41b0c611610149578063ba41b0c614610949578063ba7d2c761461095c578063c45ac05014610972578063c87b56dd1461099257600080fd5b8063a0bcfc7f146108d6578063a22cb465146108f6578063a3f8eace14610916578063b88d4fde1461093657600080fd5b80638dc251e3116101b65780638dc251e31461084b57806395d89b411461086b5780639852595c146108805780639c70b512146108b657600080fd5b80638b83209b146107f85780638cc54e7f146108185780638da5cb5b1461082d57600080fd5b8063438b6300116102c15780636352211e1161025f57806370a082311161022e57806370a0823114610783578063715018a6146107a357806379f34a10146107b85780637cb64759146107d857600080fd5b80636352211e146107035780636be560dc146107235780636d40d840146107435780636f8b44b01461076357600080fd5b80634fdd43cb1161029b5780634fdd43cb1461068957806351830227146106a95780635614b9f1146106c85780635c975abb146106e957600080fd5b8063438b63001461061c57806348b75044146106495780634c8ed2301461066957600080fd5b806319165587116103395780633a98ef39116103085780633a98ef391461058e5780633c952764146105a3578063406072a9146105c357806342842e0e1461060957600080fd5b8063191655871461050657806323b872dd146105265780632a55205a146105395780632eb4a7ab1461057857600080fd5b8063095ea7b311610375578063095ea7b31461047857806316c38b3c1461048d57806318160ddd146104ad57806318cae269146104d957600080fd5b806301ffc9a7146103e957806306fdde031461041e578063081812fc1461044057600080fd5b366103e4577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103f557600080fd5b50610409610404366004612a4e565b610ba9565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bda565b6040516104159190612ac3565b34801561044c57600080fd5b5061046061045b366004612ad6565b610c6c565b6040516001600160a01b039091168152602001610415565b61048b610486366004612b04565b610cb0565b005b34801561049957600080fd5b5061048b6104a8366004612b3e565b610d50565b3480156104b957600080fd5b506104cb600254600154036000190190565b604051908152602001610415565b3480156104e557600080fd5b506104cb6104f4366004612b5b565b601b6020526000908152604090205481565b34801561051257600080fd5b5061048b610521366004612b5b565b610d6b565b61048b610534366004612b78565b610e5b565b34801561054557600080fd5b50610559610554366004612bb9565b610ff3565b604080516001600160a01b039093168352602083019190915201610415565b34801561058457600080fd5b506104cb601a5481565b34801561059a57600080fd5b506009546104cb565b3480156105af57600080fd5b5061048b6105be366004612b3e565b6110a9565b3480156105cf57600080fd5b506104cb6105de366004612bdb565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b61048b610617366004612b78565b6110cd565b34801561062857600080fd5b5061063c610637366004612b5b565b6110ed565b6040516104159190612c14565b34801561065557600080fd5b5061048b610664366004612bdb565b61122b565b34801561067557600080fd5b5061048b610684366004612c58565b61133c565b34801561069557600080fd5b5061048b6106a4366004612d09565b611410565b3480156106b557600080fd5b5060185461040990610100900460ff1681565b3480156106d457600080fd5b50601854610409906301000000900460ff1681565b3480156106f557600080fd5b506018546104099060ff1681565b34801561070f57600080fd5b5061046061071e366004612ad6565b61142f565b34801561072f57600080fd5b506104cb61073e366004612ad6565b61143a565b34801561074f57600080fd5b5061048b61075e366004612b3e565b61145f565b34801561076f57600080fd5b5061048b61077e366004612ad6565b611485565b34801561078f57600080fd5b506104cb61079e366004612b5b565b611492565b3480156107af57600080fd5b5061048b6114e1565b3480156107c457600080fd5b5061048b6107d3366004612ad6565b6114f5565b3480156107e457600080fd5b5061048b6107f3366004612ad6565b611502565b34801561080457600080fd5b50610460610813366004612ad6565b61150f565b34801561082457600080fd5b5061043361153f565b34801561083957600080fd5b506000546001600160a01b0316610460565b34801561085757600080fd5b5061048b610866366004612b5b565b6115cd565b34801561087757600080fd5b50610433611603565b34801561088c57600080fd5b506104cb61089b366004612b5b565b6001600160a01b03166000908152600c602052604090205490565b3480156108c257600080fd5b506018546104099062010000900460ff1681565b3480156108e257600080fd5b5061048b6108f1366004612d09565b611612565b34801561090257600080fd5b5061048b610911366004612d52565b61162d565b34801561092257600080fd5b506104cb610931366004612b5b565b611699565b61048b610944366004612d80565b6116e1565b61048b610957366004612e00565b61172b565b34801561096857600080fd5b506104cb60155481565b34801561097e57600080fd5b506104cb61098d366004612bdb565b611b37565b34801561099e57600080fd5b506104336109ad366004612ad6565b611c02565b3480156109be57600080fd5b5061048b6109cd366004612e7f565b611df5565b3480156109de57600080fd5b506104cb6109ed366004612b5b565b6001600160a01b03166000908152600b602052604090205490565b348015610a1457600080fd5b5061048b610a23366004612ad6565b611e24565b348015610a3457600080fd5b506104cb60135481565b348015610a4a57600080fd5b506104cb610a59366004612b5b565b6001600160a01b03166000908152600e602052604090205490565b348015610a8057600080fd5b506104cb60165481565b348015610a9657600080fd5b5061048b610aa5366004612ad6565b611e31565b348015610ab657600080fd5b506104cb60145481565b348015610acc57600080fd5b5061048b610adb366004612b3e565b611e3e565b348015610aec57600080fd5b50600a546104cb565b348015610b0157600080fd5b50610409610b10366004612bdb565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610b4a57600080fd5b506104cb60175481565b348015610b6057600080fd5b5061048b610b6f366004612b5b565b611e60565b348015610b8057600080fd5b5061048b611ed9565b348015610b9557600080fd5b5061048b610ba4366004612ad6565b611f1f565b6000636ad56fd360e11b6001600160e01b0319831601610bcb57506001919050565b610bd482611f2c565b92915050565b606060038054610be990612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1590612ea8565b8015610c625780601f10610c3757610100808354040283529160200191610c62565b820191906000526020600020905b815481529060010190602001808311610c4557829003601f168201915b5050505050905090565b6000610c7782611f7a565b610c94576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610cbb8261142f565b9050336001600160a01b03821614610cf457610cd78133610b10565b610cf4576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610d58611faf565b6018805460ff1916911515919091179055565b6001600160a01b0381166000908152600b6020526040902054610da95760405162461bcd60e51b8152600401610da090612ee2565b60405180910390fd5b6000610db482611699565b905080600003610dd65760405162461bcd60e51b8152600401610da090612f28565b80600a6000828254610de89190612f89565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610e158282612009565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610e6682612122565b9050836001600160a01b0316816001600160a01b031614610e995760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610ee657610ec98633610b10565b610ee657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f0d57604051633a954ecd60e21b815260040160405180910390fd5b8015610f1857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610faa57600184016000818152600560205260408120549003610fa8576001548114610fa85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080610fff84611f7a565b6110645760405162461bcd60e51b815260206004820152603060248201527f45524332393831526f79616c6974793a2043616e6e6f74207175657279206e6f60448201526f3716b2bc34b9ba32b73a103a37b5b2b760811b6064820152608401610da0565b6018546019546401000000009091046001600160a01b03169061271090611094906001600160601b031686612fa1565b61109e9190612fc0565b915091509250929050565b6110b1611faf565b60188054911515620100000262ff000019909216919091179055565b6110e8838383604051806020016040528060008152506116e1565b505050565b606060006110fa83611492565b905060008167ffffffffffffffff81111561111757611117612c7d565b604051908082528060200260200182016040528015611140578160200160208202803683370190505b509050600080611157600254600154036000190190565b905060005b8181101561122057600061116f82611f7a565b905080156111c957876001600160a01b031661118a8361142f565b6001600160a01b0316036111c457818585815181106111ab576111ab612fe2565b6020908102919091010152836111c081612ff8565b9450505b61120d565b801580156111fa5750846111de600188613011565b815181106111ee576111ee612fe2565b60200260200101516000145b1561120d578261120981612ff8565b9350505b508061121881612ff8565b91505061115c565b509195945050505050565b6001600160a01b0381166000908152600b60205260409020546112605760405162461bcd60e51b8152600401610da090612ee2565b600061126c8383611b37565b90508060000361128e5760405162461bcd60e51b8152600401610da090612f28565b6001600160a01b0383166000908152600e6020526040812080548392906112b6908490612f89565b90915550506001600160a01b038084166000908152600f602090815260408083209386168352929052208054820190556112f1838383612191565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611344611faf565b6000611357600254600154036000190190565b9050600083116113b45760405162461bcd60e51b815260206004820152602260248201527f4769766561776179206e65656420746f206265206174206c656173742031204e604482015261119560f21b6064820152608401610da0565b6013546113c18483612f89565b11156114065760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610da0565b6110e882846121e3565b611418611faf565b805161142b90601290602084019061299f565b5050565b6000610bd482612122565b6019546000906001600160601b031661145561271084612fc0565b610bd49190612fa1565b611467611faf565b6018805491151563010000000263ff00000019909216919091179055565b61148d611faf565b601355565b60006001600160a01b0382166114bb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6114e9611faf565b6114f360006122e1565b565b6114fd611faf565b601455565b61150a611faf565b601a55565b6000600d828154811061152457611524612fe2565b6000918252602090912001546001600160a01b031692915050565b6012805461154c90612ea8565b80601f016020809104026020016040519081016040528092919081815260200182805461157890612ea8565b80156115c55780601f1061159a576101008083540402835291602001916115c5565b820191906000526020600020905b8154815290600101906020018083116115a857829003601f168201915b505050505081565b6115d5611faf565b601880546001600160a01b0390921664010000000002640100000000600160c01b0319909216919091179055565b606060048054610be990612ea8565b61161a611faf565b805161142b90601190602084019061299f565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806116a5600a5490565b6116af9047612f89565b90506116da83826116d5866001600160a01b03166000908152600c602052604090205490565b612331565b9392505050565b6116ec848484610e5b565b6001600160a01b0383163b15611725576117088484848461236f565b611725576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61173361245a565b3233146117915760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f742062652063616c6c65642066726f6d20616e6f7468657220636f6044820152651b9d1c9858dd60d21b6064820152608401610da0565b60185460ff16156117dd5760405162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610da0565b60006117f0600254600154036000190190565b9050600084116118425760405162461bcd60e51b815260206004820152601f60248201527f596f75206e65656420746f206d696e74206174206c656173742031204e4654006044820152606401610da0565b60135461184f8583612f89565b11156118945760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610da0565b6014548411156118f25760405162461bcd60e51b8152602060048201526024808201527f4d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656044820152631959195960e21b6064820152608401610da0565b336000908152601b602052604090205460155461190f8683612f89565b111561195d5760405162461bcd60e51b815260206004820152601c60248201527f4d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610da0565b60185462010000900460ff161515600103611a6f576016546119803386866124b3565b6119cc5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742077686974656c69737465640000000000000000006044820152606401610da0565b6119d68682612fa1565b341015611a255760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f756768742066756e6473000000006044820152606401610da0565b60015b868111611a6257336000908152601b60205260408120805491611a4a83612ff8565b91905055508080611a5a90612ff8565b915050611a28565b50611a6d33876121e3565b505b6018546301000000900460ff161515600103611b2b57601754611a928682612fa1565b341015611ae15760405162461bcd60e51b815260206004820152601c60248201527f596f7520646f6e2774206861766520656e6f756768742066756e6473000000006044820152606401610da0565b60015b868111611b1e57336000908152601b60205260408120805491611b0683612ff8565b91905055508080611b1690612ff8565b915050611ae4565b50611b2933876121e3565b505b50506110e86001601055565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bba9190613028565b611bc49190612f89565b6001600160a01b038086166000908152600f6020908152604080832093881683529290522054909150611bfa9084908390612331565b949350505050565b6060611c0d82611f7a565b611c715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610da0565b601854610100900460ff161515600003611d175760128054611c9290612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054611cbe90612ea8565b8015611d0b5780601f10611ce057610100808354040283529160200191611d0b565b820191906000526020600020905b815481529060010190602001808311611cee57829003601f168201915b50505050509050919050565b600060118054611d2690612ea8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5290612ea8565b8015611d9f5780601f10611d7457610100808354040283529160200191611d9f565b820191906000526020600020905b815481529060010190602001808311611d8257829003601f168201915b505050505090506000815111611dc457604051806020016040528060008152506116da565b80611dce84612534565b604051602001611ddf929190613041565b6040516020818303038152906040529392505050565b611dfd611faf565b601980546bffffffffffffffffffffffff19166001600160601b0392909216919091179055565b611e2c611faf565b601555565b611e39611faf565b601755565b611e46611faf565b601880549115156101000261ff0019909216919091179055565b611e68611faf565b6001600160a01b038116611ecd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610da0565b611ed6816122e1565b50565b611ee1611faf565b611ee961245a565b60005b601c54811015611f1457611f026105218261150f565b80611f0c81612ff8565b915050611eec565b506114f36001601055565b611f27611faf565b601655565b60006301ffc9a760e01b6001600160e01b031983161480611f5d57506380ac58cd60e01b6001600160e01b03198316145b80610bd45750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611f8e575060015482105b8015610bd4575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b031633146114f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610da0565b804710156120595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610da0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120a6576040519150601f19603f3d011682016040523d82523d6000602084013e6120ab565b606091505b50509050806110e85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610da0565b60008180600111612178576001548110156121785760008181526005602052604081205490600160e01b82169003612176575b806000036116da575060001901600081815260056020526040902054612155565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110e89084906125c7565b60015460008290036122085760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122b757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161227f565b50816000036122d857604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b60205260408120549091839161235b9086612fa1565b6123659190612fc0565b611bfa9190613011565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906123a4903390899088908890600401613080565b6020604051808303816000875af19250505080156123df575060408051601f3d908101601f191682019092526123dc918101906130bd565b60015b61243d573d80801561240d576040519150601f19603f3d011682016040523d82523d6000602084013e612412565b606091505b508051600003612435576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6002601054036124ac5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610da0565b6002601055565b6000611bfa6124fb856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061269992505050565b60606000612541836126a8565b600101905060008167ffffffffffffffff81111561256157612561612c7d565b6040519080825280601f01601f19166020018201604052801561258b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461259557509392505050565b600061261c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127809092919063ffffffff16565b8051909150156110e8578080602001905181019061263a91906130da565b6110e85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610da0565b60006116da82601a548561278f565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126e75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612713576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061273157662386f26fc10000830492506010015b6305f5e1008310612749576305f5e100830492506008015b612710831061275d57612710830492506004015b6064831061276f576064830492506002015b600a8310610bd45760010192915050565b6060611bfa84846000856127a5565b60008261279c8584612880565b14949350505050565b6060824710156128065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610da0565b600080866001600160a01b0316858760405161282291906130f7565b60006040518083038185875af1925050503d806000811461285f576040519150601f19603f3d011682016040523d82523d6000602084013e612864565b606091505b5091509150612875878383876128cd565b979650505050505050565b600081815b84518110156128c5576128b1828683815181106128a4576128a4612fe2565b6020026020010151612946565b9150806128bd81612ff8565b915050612885565b509392505050565b6060831561293c578251600003612935576001600160a01b0385163b6129355760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610da0565b5081611bfa565b611bfa8383612975565b60008183106129625760008281526020849052604090206116da565b60008381526020839052604090206116da565b8151156129855781518083602001fd5b8060405162461bcd60e51b8152600401610da09190612ac3565b8280546129ab90612ea8565b90600052602060002090601f0160209004810192826129cd5760008555612a13565b82601f106129e657805160ff1916838001178555612a13565b82800160010185558215612a13579182015b82811115612a135782518255916020019190600101906129f8565b50612a1f929150612a23565b5090565b5b80821115612a1f5760008155600101612a24565b6001600160e01b031981168114611ed657600080fd5b600060208284031215612a6057600080fd5b81356116da81612a38565b60005b83811015612a86578181015183820152602001612a6e565b838111156117255750506000910152565b60008151808452612aaf816020860160208601612a6b565b601f01601f19169290920160200192915050565b6020815260006116da6020830184612a97565b600060208284031215612ae857600080fd5b5035919050565b6001600160a01b0381168114611ed657600080fd5b60008060408385031215612b1757600080fd5b8235612b2281612aef565b946020939093013593505050565b8015158114611ed657600080fd5b600060208284031215612b5057600080fd5b81356116da81612b30565b600060208284031215612b6d57600080fd5b81356116da81612aef565b600080600060608486031215612b8d57600080fd5b8335612b9881612aef565b92506020840135612ba881612aef565b929592945050506040919091013590565b60008060408385031215612bcc57600080fd5b50508035926020909101359150565b60008060408385031215612bee57600080fd5b8235612bf981612aef565b91506020830135612c0981612aef565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612c4c57835183529284019291840191600101612c30565b50909695505050505050565b60008060408385031215612c6b57600080fd5b823591506020830135612c0981612aef565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612cae57612cae612c7d565b604051601f8501601f19908116603f01168101908282118183101715612cd657612cd6612c7d565b81604052809350858152868686011115612cef57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612d1b57600080fd5b813567ffffffffffffffff811115612d3257600080fd5b8201601f81018413612d4357600080fd5b611bfa84823560208401612c93565b60008060408385031215612d6557600080fd5b8235612d7081612aef565b91506020830135612c0981612b30565b60008060008060808587031215612d9657600080fd5b8435612da181612aef565b93506020850135612db181612aef565b925060408501359150606085013567ffffffffffffffff811115612dd457600080fd5b8501601f81018713612de557600080fd5b612df487823560208401612c93565b91505092959194509250565b600080600060408486031215612e1557600080fd5b83359250602084013567ffffffffffffffff80821115612e3457600080fd5b818601915086601f830112612e4857600080fd5b813581811115612e5757600080fd5b8760208260051b8501011115612e6c57600080fd5b6020830194508093505050509250925092565b600060208284031215612e9157600080fd5b81356001600160601b03811681146116da57600080fd5b600181811c90821680612ebc57607f821691505b602082108103612edc57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612f9c57612f9c612f73565b500190565b6000816000190483118215151615612fbb57612fbb612f73565b500290565b600082612fdd57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b60006001820161300a5761300a612f73565b5060010190565b60008282101561302357613023612f73565b500390565b60006020828403121561303a57600080fd5b5051919050565b60008351613053818460208801612a6b565b835190830190613067818360208801612a6b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130b390830184612a97565b9695505050505050565b6000602082840312156130cf57600080fd5b81516116da81612a38565b6000602082840312156130ec57600080fd5b81516116da81612b30565b60008251613109818460208701612a6b565b919091019291505056fea2646970667358221220ba7d764d5b88c1471e06a5ced6a2e51782917301bc17def97574f63f2f46fd0c64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000100cedef34e6fb5501de98eeff735f08513c1d521b6712ff8d8d354c072bdaeb9b6000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a713a4ce6cd2fb94d8136befcaa803f057d7f2dd00000000000000000000000096ff8e533dfd3958502a965fddee235265044f0d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005c00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d395335336279756e647161553237473959617532792f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d395335336279756e647161553237473959617532792f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0xa713A4Ce6Cd2FB94d8136BeFCAA803f057D7F2dD,0x96fF8e533Dfd3958502A965FDdEE235265044f0D
Arg [1] : _teamShares (uint256[]): 92,8
Arg [2] : _merkleRoot (bytes32): 0xcedef34e6fb5501de98eeff735f08513c1d521b6712ff8d8d354c072bdaeb9b6
Arg [3] : _baseURI (string): ipfs://QmUA7Ps7BoTws8nD9iwfh2zNM9S53byundqaU27G9Yau2y/hidden.json
Arg [4] : _hiddenURI (string): ipfs://QmUA7Ps7BoTws8nD9iwfh2zNM9S53byundqaU27G9Yau2y/hidden.json
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : cedef34e6fb5501de98eeff735f08513c1d521b6712ff8d8d354c072bdaeb9b6
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 000000000000000000000000a713a4ce6cd2fb94d8136befcaa803f057d7f2dd
Arg [7] : 00000000000000000000000096ff8e533dfd3958502a965fddee235265044f0d
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 000000000000000000000000000000000000000000000000000000000000005c
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [12] : 697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d
Arg [13] : 395335336279756e647161553237473959617532792f68696464656e2e6a736f
Arg [14] : 6e00000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [16] : 697066733a2f2f516d554137507337426f547773386e443969776668327a4e4d
Arg [17] : 395335336279756e647161553237473959617532792f68696464656e2e6a736f
Arg [18] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
111023:7577:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93092:40;67717:10;93092:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;93122:9:0;270:2:1;255:18;;248:34;161:18;93092:40:0;;;;;;;111023:7577;;;;;117500:308;;;;;;;;;;-1:-1:-1;117500:308:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;117500:308:0;;;;;;;;19630:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26121:218::-;;;;;;;;;;-1:-1:-1;26121:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1971:32:1;;;1953:51;;1941:2;1926:18;26121:218:0;1807:203:1;25554:408:0;;;;;;:::i;:::-;;:::i;:::-;;115446:85;;;;;;;;;;-1:-1:-1;115446:85:0;;;;;:::i;:::-;;:::i;15381:323::-;;;;;;;;;;;;15655:12;;115429:1;15639:13;:28;-1:-1:-1;;15639:46:0;;15381:323;;;;2986:25:1;;;2974:2;2959:18;15381:323:0;2840:177:1;111739:55:0;;;;;;;;;;-1:-1:-1;111739:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;95613:671;;;;;;;;;;-1:-1:-1;95613:671:0;;;;;:::i;:::-;;:::i;29760:2825::-;;;;;;:::i;:::-;;:::i;117859:330::-;;;;;;;;;;-1:-1:-1;117859:330:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;117859:330:0;14:274:1;111638:25:0;;;;;;;;;;;;;;;;93223:91;;;;;;;;;;-1:-1:-1;93294:12:0;;93223:91;;114410:101;;;;;;;;;;-1:-1:-1;114410:101:0;;;;;:::i;:::-;;:::i;94352:135::-;;;;;;;;;;-1:-1:-1;94352:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;94449:21:0;;;94422:7;94449:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;94352:135;32681:193;;;;;;:::i;:::-;;:::i;114715:614::-;;;;;;;;;;-1:-1:-1;114715:614:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;96552:792::-;;;;;;;;;;-1:-1:-1;96552:792:0;;;;;:::i;:::-;;:::i;116888:319::-;;;;;;;;;;-1:-1:-1;116888:319:0;;;;;:::i;:::-;;:::i;115647:116::-;;;;;;;;;;-1:-1:-1;115647:116:0;;;;;:::i;:::-;;:::i;111435:28::-;;;;;;;;;;-1:-1:-1;111435:28:0;;;;;;;;;;;111513:30;;;;;;;;;;-1:-1:-1;111513:30:0;;;;;;;;;;;111403:25;;;;;;;;;;-1:-1:-1;111403:25:0;;;;;;;;21023:152;;;;;;;;;;-1:-1:-1;21023:152:0;;;;;:::i;:::-;;:::i;118197:147::-;;;;;;;;;;-1:-1:-1;118197:147:0;;;;;:::i;:::-;;:::i;114519:91::-;;;;;;;;;;-1:-1:-1;114519:91:0;;;;;:::i;:::-;;:::i;113892:92::-;;;;;;;;;;-1:-1:-1;113892:92:0;;;;;:::i;:::-;;:::i;16565:233::-;;;;;;;;;;-1:-1:-1;16565:233:0;;;;;:::i;:::-;;:::i;69734:103::-;;;;;;;;;;;;;:::i;113992:98::-;;;;;;;;;;-1:-1:-1;113992:98:0;;;;;:::i;:::-;;:::i;116279:106::-;;;;;;;;;;-1:-1:-1;116279:106:0;;;;;:::i;:::-;;:::i;94578:100::-;;;;;;;;;;-1:-1:-1;94578:100:0;;;;;:::i;:::-;;:::i;111159:23::-;;;;;;;;;;;;;:::i;69086:87::-;;;;;;;;;;-1:-1:-1;69132:7:0;69159:6;-1:-1:-1;;;;;69159:6:0;69086:87;;118486:111;;;;;;;;;;-1:-1:-1;118486:111:0;;;;;:::i;:::-;;:::i;19806:104::-;;;;;;;;;;;;;:::i;94074:109::-;;;;;;;;;;-1:-1:-1;94074:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;94157:18:0;94130:7;94157:18;;;:9;:18;;;;;;;94074:109;111472:34;;;;;;;;;;-1:-1:-1;111472:34:0;;;;;;;;;;;115539:100;;;;;;;;;;-1:-1:-1;115539:100:0;;;;;:::i;:::-;;:::i;26679:234::-;;;;;;;;;;-1:-1:-1;26679:234:0;;;;;:::i;:::-;;:::i;94768:225::-;;;;;;;;;;-1:-1:-1;94768:225:0;;;;;:::i;:::-;;:::i;33472:407::-;;;;;;:::i;:::-;;:::i;112426:1417::-;;;;;;:::i;:::-;;:::i;111267:37::-;;;;;;;;;;;;;;;;95153:260;;;;;;;;;;-1:-1:-1;95153:260:0;;;;;:::i;:::-;;:::i;115771:463::-;;;;;;;;;;-1:-1:-1;115771:463:0;;;;;:::i;:::-;;:::i;118352:126::-;;;;;;;;;;-1:-1:-1;118352:126:0;;;;;:::i;:::-;;:::i;93870:105::-;;;;;;;;;;-1:-1:-1;93870:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;93951:16:0;93924:7;93951:16;;;:7;:16;;;;;;;93870:105;114098:110;;;;;;;;;;-1:-1:-1;114098:110:0;;;;;:::i;:::-;;:::i;111191:31::-;;;;;;;;;;;;;;;;93660:119;;;;;;;;;;-1:-1:-1;93660:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;93745:26:0;93718:7;93745:26;;;:19;:26;;;;;;;93660:119;111313:36;;;;;;;;;;;;;;;;114312:90;;;;;;;;;;-1:-1:-1;114312:90:0;;;;;:::i;:::-;;:::i;111229:31::-;;;;;;;;;;;;;;;;114618:89;;;;;;;;;;-1:-1:-1;114618:89:0;;;;;:::i;:::-;;:::i;93408:95::-;;;;;;;;;;-1:-1:-1;93481:14:0;;93408:95;;27070:164;;;;;;;;;;-1:-1:-1;27070:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27191:25:0;;;27167:4;27191:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27070:164;111356:38;;;;;;;;;;;;;;;;69992:201;;;;;;;;;;-1:-1:-1;69992:201:0;;;;;:::i;:::-;;:::i;117253:167::-;;;;;;;;;;;;;:::i;114216:88::-;;;;;;;;;;-1:-1:-1;114216:88:0;;;;;:::i;:::-;;:::i;117500:308::-;117644:4;-1:-1:-1;;;;;;;;;117671:36:0;;;117667:80;;-1:-1:-1;117731:4:0;;117500:308;-1:-1:-1;117500:308:0:o;117667:80::-;117764:36;117788:11;117764:23;:36::i;:::-;117757:43;117500:308;-1:-1:-1;;117500:308:0:o;19630:100::-;19684:13;19717:5;19710:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19630:100;:::o;26121:218::-;26197:7;26222:16;26230:7;26222;:16::i;:::-;26217:64;;26247:34;;-1:-1:-1;;;26247:34:0;;;;;;;;;;;26217:64;-1:-1:-1;26301:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26301:30:0;;26121:218::o;25554:408::-;25643:13;25659:16;25667:7;25659;:16::i;:::-;25643:32;-1:-1:-1;67717:10:0;-1:-1:-1;;;;;25692:28:0;;;25688:175;;25740:44;25757:5;67717:10;27070:164;:::i;25740:44::-;25735:128;;25812:35;;-1:-1:-1;;;25812:35:0;;;;;;;;;;;25735:128;25875:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25875:35:0;-1:-1:-1;;;;;25875:35:0;;;;;;;;;25926:28;;25875:24;;25926:28;;;;;;;25632:330;25554:408;;:::o;115446:85::-;68972:13;:11;:13::i;:::-;115508:6:::1;:15:::0;;-1:-1:-1;;115508:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;115446:85::o;95613:671::-;-1:-1:-1;;;;;95689:16:0;;95708:1;95689:16;;;:7;:16;;;;;;95681:71;;;;-1:-1:-1;;;95681:71:0;;;;;;;:::i;:::-;;;;;;;;;95765:15;95783:19;95794:7;95783:10;:19::i;:::-;95765:37;;95823:7;95834:1;95823:12;95815:68;;;;-1:-1:-1;;;95815:68:0;;;;;;;:::i;:::-;96096:7;96078:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;96139:18:0;;;;;;:9;:18;;;;;:29;;;;;;96192:35;96149:7;96161;96192:17;:35::i;:::-;96243:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;96243:33:0;;161:18:1;96243:33:0;;;;;;;95670:614;95613:671;:::o;29760:2825::-;29902:27;29932;29951:7;29932:18;:27::i;:::-;29902:57;;30017:4;-1:-1:-1;;;;;29976:45:0;29992:19;-1:-1:-1;;;;;29976:45:0;;29972:86;;30030:28;;-1:-1:-1;;;30030:28:0;;;;;;;;;;;29972:86;30072:27;28868:24;;;:15;:24;;;;;29096:26;;67717:10;28493:30;;;-1:-1:-1;;;;;28186:28:0;;28471:20;;;28468:56;30258:180;;30351:43;30368:4;67717:10;27070:164;:::i;30351:43::-;30346:92;;30403:35;;-1:-1:-1;;;30403:35:0;;;;;;;;;;;30346:92;-1:-1:-1;;;;;30455:16:0;;30451:52;;30480:23;;-1:-1:-1;;;30480:23:0;;;;;;;;;;;30451:52;30652:15;30649:160;;;30792:1;30771:19;30764:30;30649:160;-1:-1:-1;;;;;31189:24:0;;;;;;;:18;:24;;;;;;31187:26;;-1:-1:-1;;31187:26:0;;;31258:22;;;;;;;;;31256:24;;-1:-1:-1;31256:24:0;;;24412:11;24387:23;24383:41;24370:63;-1:-1:-1;;;24370:63:0;31551:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31846:47:0;;:52;;31842:627;;31951:1;31941:11;;31919:19;32074:30;;;:17;:30;;;;;;:35;;32070:384;;32212:13;;32197:11;:28;32193:242;;32359:30;;;;:17;:30;;;;;:52;;;32193:242;31900:569;31842:627;32516:7;32512:2;-1:-1:-1;;;;;32497:27:0;32506:4;-1:-1:-1;;;;;32497:27:0;;;;;;;;;;;29891:2694;;;29760:2825;;;:::o;117859:330::-;117968:16;117986:21;118033:17;118041:8;118033:7;:17::i;:::-;118025:78;;;;-1:-1:-1;;;118025:78:0;;11995:2:1;118025:78:0;;;11977:21:1;12034:2;12014:18;;;12007:30;12073:34;12053:18;;;12046:62;-1:-1:-1;;;12124:18:1;;;12117:46;12180:19;;118025:78:0;11793:412:1;118025:78:0;118122:15;;118153:18;;118122:15;;;;-1:-1:-1;;;;;118122:15:0;;118175:5;;118140:31;;-1:-1:-1;;;;;118153:18:0;118140:10;:31;:::i;:::-;118139:41;;;;:::i;:::-;118114:67;;;;117859:330;;;;;:::o;114410:101::-;68972:13;:11;:13::i;:::-;114479:15:::1;:24:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;114479:24:0;;::::1;::::0;;;::::1;::::0;;114410:101::o;32681:193::-;32827:39;32844:4;32850:2;32854:7;32827:39;;;;;;;;;;;;:16;:39::i;:::-;32681:193;;;:::o;114715:614::-;114785:16;114814;114833:19;114843:8;114833:9;:19::i;:::-;114814:38;;114863:24;114905:8;114890:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;114890:24:0;;114863:51;;114925:14;114950:20;114973:13;15655:12;;115429:1;15639:13;:28;-1:-1:-1;;15639:46:0;;15381:323;114973:13;114950:36;;115002:9;114997:300;115021:12;115017:1;:16;114997:300;;;115055:12;115070:10;115078:1;115070:7;:10::i;:::-;115055:25;;115099:7;115095:191;;;115145:8;-1:-1:-1;;;;;115131:22:0;:10;115139:1;115131:7;:10::i;:::-;-1:-1:-1;;;;;115131:22:0;;115127:62;;115175:1;115157:7;115165:6;115157:15;;;;;;;;:::i;:::-;;;;;;;;;;:19;115178:8;;;;:::i;:::-;;;;115127:62;115095:191;;;115228:7;115227:8;:38;;;;-1:-1:-1;115239:7:0;115247:12;115258:1;115247:8;:12;:::i;:::-;115239:21;;;;;;;;:::i;:::-;;;;;;;115264:1;115239:26;115227:38;115223:63;;;115269:14;;;;:::i;:::-;;;;115223:63;-1:-1:-1;115035:3:0;;;;:::i;:::-;;;;114997:300;;;-1:-1:-1;115314:7:0;;114715:614;-1:-1:-1;;;;;114715:614:0:o;96552:792::-;-1:-1:-1;;;;;96634:16:0;;96653:1;96634:16;;;:7;:16;;;;;;96626:71;;;;-1:-1:-1;;;96626:71:0;;;;;;;:::i;:::-;96710:15;96728:26;96739:5;96746:7;96728:10;:26::i;:::-;96710:44;;96775:7;96786:1;96775:12;96767:68;;;;-1:-1:-1;;;96767:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;97090:26:0;;;;;;:19;:26;;;;;:37;;97120:7;;97090:26;:37;;97120:7;;97090:37;:::i;:::-;;;;-1:-1:-1;;;;;;;97163:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;97228:47;97178:5;97185:7;97197;97228:22;:47::i;:::-;97291:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;97291:45:0;;;;;161:18:1;97291:45:0;;;;;;;96615:729;96552:792;;:::o;116888:319::-;68972:13;:11;:13::i;:::-;116979:14:::1;116996:13;15655:12:::0;;115429:1;15639:13;:28;-1:-1:-1;;15639:46:0;;15381:323;116996:13:::1;116979:30;;117042:1;117028:11;:15;117020:62;;;::::0;-1:-1:-1;;;117020:62:0;;13341:2:1;117020:62:0::1;::::0;::::1;13323:21:1::0;13380:2;13360:18;;;13353:30;13419:34;13399:18;;;13392:62;-1:-1:-1;;;13470:18:1;;;13463:32;13512:19;;117020:62:0::1;13139:398:1::0;117020:62:0::1;117125:9;::::0;117101:20:::1;117110:11:::0;117101:6;:20:::1;:::i;:::-;:33;;117093:66;;;::::0;-1:-1:-1;;;117093:66:0;;13744:2:1;117093:66:0::1;::::0;::::1;13726:21:1::0;13783:2;13763:18;;;13756:30;-1:-1:-1;;;13802:18:1;;;13795:50;13862:18;;117093:66:0::1;13542:344:1::0;117093:66:0::1;117170:29;117176:9;117187:11;117170:5;:29::i;115647:116::-:0;68972:13;:11;:13::i;:::-;115733:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;115647:116:::0;:::o;21023:152::-;21095:7;21138:27;21157:7;21138:18;:27::i;118197:147::-;118318:18;;118268:7;;-1:-1:-1;;;;;118318:18:0;118296;118309:5;118296:10;:18;:::i;:::-;118295:41;;;;:::i;114519:91::-;68972:13;:11;:13::i;:::-;114583:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;114583:19:0;;::::1;::::0;;;::::1;::::0;;114519:91::o;113892:92::-;68972:13;:11;:13::i;:::-;113958:9:::1;:18:::0;113892:92::o;16565:233::-;16637:7;-1:-1:-1;;;;;16661:19:0;;16657:60;;16689:28;;-1:-1:-1;;;16689:28:0;;;;;;;;;;;16657:60;-1:-1:-1;;;;;;16735:25:0;;;;;:18;:25;;;;;;10724:13;16735:55;;16565:233::o;69734:103::-;68972:13;:11;:13::i;:::-;69799:30:::1;69826:1;69799:18;:30::i;:::-;69734:103::o:0;113992:98::-;68972:13;:11;:13::i;:::-;114061:12:::1;:21:::0;113992:98::o;116279:106::-;68972:13;:11;:13::i;:::-;116353:10:::1;:24:::0;116279:106::o;94578:100::-;94629:7;94656;94664:5;94656:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;94656:14:0;;94578:100;-1:-1:-1;;94578:100:0:o;111159:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;118486:111::-;68972:13;:11;:13::i;:::-;118562:15:::1;:27:::0;;-1:-1:-1;;;;;118562:27:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;118562:27:0;;::::1;::::0;;;::::1;::::0;;118486:111::o;19806:104::-;19862:13;19895:7;19888:14;;;;;:::i;115539:100::-;68972:13;:11;:13::i;:::-;115613:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;26679:234::-:0;67717:10;26774:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26774:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26774:60:0;;;;;;;;;;26850:55;;819:41:1;;;26774:49:0;;67717:10;26850:55;;792:18:1;26850:55:0;;;;;;;26679:234;;:::o;94768:225::-;94826:7;94846:21;94894:15;93481:14;;;93408:95;94894:15;94870:39;;:21;:39;:::i;:::-;94846:63;;94927:58;94943:7;94952:13;94967:17;94976:7;-1:-1:-1;;;;;94157:18:0;94130:7;94157:18;;;:9;:18;;;;;;;94074:109;94967:17;94927:15;:58::i;:::-;94920:65;94768:225;-1:-1:-1;;;94768:225:0:o;33472:407::-;33647:31;33660:4;33666:2;33670:7;33647:12;:31::i;:::-;-1:-1:-1;;;;;33693:14:0;;;:19;33689:183;;33732:56;33763:4;33769:2;33773:7;33782:5;33732:30;:56::i;:::-;33727:145;;33816:40;;-1:-1:-1;;;33816:40:0;;;;;;;;;;;33727:145;33472:407;;;;:::o;112426:1417::-;100787:21;:19;:21::i;:::-;112300:9:::1;112313:10;112300:23;112292:74;;;::::0;-1:-1:-1;;;112292:74:0;;14093:2:1;112292:74:0::1;::::0;::::1;14075:21:1::0;14132:2;14112:18;;;14105:30;14171:34;14151:18;;;14144:62;-1:-1:-1;;;14222:18:1;;;14215:36;14268:19;;112292:74:0::1;13891:402:1::0;112292:74:0::1;112550:6:::2;::::0;::::2;;112549:7;112541:42;;;::::0;-1:-1:-1;;;112541:42:0;;14500:2:1;112541:42:0::2;::::0;::::2;14482:21:1::0;14539:2;14519:18;;;14512:30;-1:-1:-1;;;14558:18:1;;;14551:52;14620:18;;112541:42:0::2;14298:346:1::0;112541:42:0::2;112594:14;112611:13;15655:12:::0;;115429:1;15639:13;:28;-1:-1:-1;;15639:46:0;;15381:323;112611:13:::2;112594:30;;112657:1;112643:11;:15;112635:59;;;::::0;-1:-1:-1;;;112635:59:0;;14851:2:1;112635:59:0::2;::::0;::::2;14833:21:1::0;14890:2;14870:18;;;14863:30;14929:33;14909:18;;;14902:61;14980:18;;112635:59:0::2;14649:355:1::0;112635:59:0::2;112737:9;::::0;112713:20:::2;112722:11:::0;112713:6;:20:::2;:::i;:::-;:33;;112705:66;;;::::0;-1:-1:-1;;;112705:66:0;;13744:2:1;112705:66:0::2;::::0;::::2;13726:21:1::0;13783:2;13763:18;;;13756:30;-1:-1:-1;;;13802:18:1;;;13795:50;13862:18;;112705:66:0::2;13542:344:1::0;112705:66:0::2;112805:12;;112790:11;:27;;112782:76;;;::::0;-1:-1:-1;;;112782:76:0;;15211:2:1;112782:76:0::2;::::0;::::2;15193:21:1::0;15250:2;15230:18;;;15223:30;15289:34;15269:18;;;15262:62;-1:-1:-1;;;15340:18:1;;;15333:34;15384:19;;112782:76:0::2;15009:400:1::0;112782:76:0::2;112917:10;112869:24;112896:32:::0;;;:20:::2;:32;::::0;;;;;112981:18:::2;::::0;112947:30:::2;112966:11:::0;112896:32;112947:30:::2;:::i;:::-;:52;;112939:93;;;::::0;-1:-1:-1;;;112939:93:0;;15616:2:1;112939:93:0::2;::::0;::::2;15598:21:1::0;15655:2;15635:18;;;15628:30;15694;15674:18;;;15667:58;15742:18;;112939:93:0::2;15414:352:1::0;112939:93:0::2;113056:15;::::0;;;::::2;;;:23;;113075:4;113056:23:::0;113053:421:::2;;113112:7;::::0;113142:33:::2;113156:10;113168:6:::0;;113142:13:::2;:33::i;:::-;113134:69;;;::::0;-1:-1:-1;;;113134:69:0;;15973:2:1;113134:69:0::2;::::0;::::2;15955:21:1::0;16012:2;15992:18;;;15985:30;16051:25;16031:18;;;16024:53;16094:18;;113134:69:0::2;15771:347:1::0;113134:69:0::2;113239:19;113247:11:::0;113239:5;:19:::2;:::i;:::-;113226:9;:32;;113218:73;;;::::0;-1:-1:-1;;;113218:73:0;;16325:2:1;113218:73:0::2;::::0;::::2;16307:21:1::0;16364:2;16344:18;;;16337:30;16403;16383:18;;;16376:58;16451:18;;113218:73:0::2;16123:352:1::0;113218:73:0::2;113323:1;113306:112;113331:11;113326:1;:16;113306:112;;113389:10;113368:32;::::0;;;:20:::2;:32;::::0;;;;:34;;;::::2;::::0;::::2;:::i;:::-;;;;;;113344:3;;;;;:::i;:::-;;;;113306:112;;;;113432:30;113438:10;113450:11;113432:5;:30::i;:::-;113081:393;113053:421;113497:10;::::0;;;::::2;;;:18;;113511:4;113497:18:::0;113494:332:::2;;113547:8;::::0;113591:19:::2;113599:11:::0;113547:8;113591:19:::2;:::i;:::-;113578:9;:32;;113570:73;;;::::0;-1:-1:-1;;;113570:73:0;;16325:2:1;113570:73:0::2;::::0;::::2;16307:21:1::0;16364:2;16344:18;;;16337:30;16403;16383:18;;;16376:58;16451:18;;113570:73:0::2;16123:352:1::0;113570:73:0::2;113675:1;113658:112;113683:11;113678:1;:16;113658:112;;113741:10;113720:32;::::0;;;:20:::2;:32;::::0;;;;:34;;;::::2;::::0;::::2;:::i;:::-;;;;;;113696:3;;;;;:::i;:::-;;;;113658:112;;;;113784:30;113790:10;113802:11;113784:5;:30::i;:::-;113516:310;113494:332;112530:1313;;100831:20:::0;100225:1;101351:7;:22;101168:213;95153:260;-1:-1:-1;;;;;93745:26:0;;95225:7;93745:26;;;:19;:26;;;;;;95225:7;;95269:30;;-1:-1:-1;;;95269:30:0;;95293:4;95269:30;;;1953:51:1;-1:-1:-1;;;;;95269:15:0;;;;;1926:18:1;;95269:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;94449:21:0;;;94422:7;94449:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;95245:77;;-1:-1:-1;95340:65:0;;95356:7;;95245:77;;94927:15;:58::i;95340:65::-;95333:72;95153:260;-1:-1:-1;;;;95153:260:0:o;115771:463::-;115845:13;115879:17;115887:8;115879:7;:17::i;:::-;115871:77;;;;-1:-1:-1;;;115871:77:0;;16871:2:1;115871:77:0;;;16853:21:1;16910:2;16890:18;;;16883:30;16949:34;16929:18;;;16922:62;-1:-1:-1;;;17000:18:1;;;16993:45;17055:19;;115871:77:0;16669:411:1;115871:77:0;115965:8;;;;;;;:17;;115977:5;115965:17;115961:66;;116006:9;115999:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115771:463;;;:::o;115961:66::-;116040:28;116071:7;116040:38;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116129:1;116104:14;116098:28;:32;:128;;;;;;;;;;;;;;;;;116166:14;116182:19;:8;:17;:19::i;:::-;116149:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;116091:135;115771:463;-1:-1:-1;;;115771:463:0:o;118352:126::-;68972:13;:11;:13::i;:::-;118430:18:::1;:40:::0;;-1:-1:-1;;118430:40:0::1;-1:-1:-1::0;;;;;118430:40:0;;;::::1;::::0;;;::::1;::::0;;118352:126::o;114098:110::-;68972:13;:11;:13::i;:::-;114173:18:::1;:27:::0;114098:110::o;114312:90::-;68972:13;:11;:13::i;:::-;114377:8:::1;:17:::0;114312:90::o;114618:89::-;68972:13;:11;:13::i;:::-;114682:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;114682:17:0;;::::1;::::0;;;::::1;::::0;;114618:89::o;69992:201::-;68972:13;:11;:13::i;:::-;-1:-1:-1;;;;;70081:22:0;::::1;70073:73;;;::::0;-1:-1:-1;;;70073:73:0;;17929:2:1;70073:73:0::1;::::0;::::1;17911:21:1::0;17968:2;17948:18;;;17941:30;18007:34;17987:18;;;17980:62;-1:-1:-1;;;18058:18:1;;;18051:36;18104:19;;70073:73:0::1;17727:402:1::0;70073:73:0::1;70157:28;70176:8;70157:18;:28::i;:::-;69992:201:::0;:::o;117253:167::-;68972:13;:11;:13::i;:::-;100787:21:::1;:19;:21::i;:::-;117325:6:::2;117321:92;117342:10;;117338:1;:14;117321:92;;;117375:26;117391:8;117397:1;117391:5;:8::i;117375:26::-;117355:3:::0;::::2;::::0;::::2;:::i;:::-;;;;117321:92;;;;100831:20:::1;100225:1:::0;101351:7;:22;101168:213;114216:88;68972:13;:11;:13::i;:::-;114280:7:::1;:16:::0;114216:88::o;18728:639::-;18813:4;-1:-1:-1;;;;;;;;;19137:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19214:25:0;;;19137:102;:179;;;-1:-1:-1;;;;;;;;19291:25:0;-1:-1:-1;;;19291:25:0;;18728:639::o;27492:282::-;27557:4;27613:7;115429:1;27594:26;;:66;;;;;27647:13;;27637:7;:23;27594:66;:153;;;;-1:-1:-1;;27698:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27698:44:0;:49;;27492:282::o;69251:132::-;69132:7;69159:6;-1:-1:-1;;;;;69159:6:0;67717:10;69315:23;69307:68;;;;-1:-1:-1;;;69307:68:0;;18336:2:1;69307:68:0;;;18318:21:1;;;18355:18;;;18348:30;18414:34;18394:18;;;18387:62;18466:18;;69307:68:0;18134:356:1;73045:317:0;73160:6;73135:21;:31;;73127:73;;;;-1:-1:-1;;;73127:73:0;;18697:2:1;73127:73:0;;;18679:21:1;18736:2;18716:18;;;18709:30;18775:31;18755:18;;;18748:59;18824:18;;73127:73:0;18495:353:1;73127:73:0;73214:12;73232:9;-1:-1:-1;;;;;73232:14:0;73254:6;73232:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73213:52;;;73284:7;73276:78;;;;-1:-1:-1;;;73276:78:0;;19265:2:1;73276:78:0;;;19247:21:1;19304:2;19284:18;;;19277:30;19343:34;19323:18;;;19316:62;19414:28;19394:18;;;19387:56;19460:19;;73276:78:0;19063:422:1;22178:1275:0;22245:7;22280;;115429:1;22329:23;22325:1061;;22382:13;;22375:4;:20;22371:1015;;;22420:14;22437:23;;;:17;:23;;;;;;;-1:-1:-1;;;22526:24:0;;:29;;22522:845;;23191:113;23198:6;23208:1;23198:11;23191:113;;-1:-1:-1;;;23269:6:0;23251:25;;;;:17;:25;;;;;;23191:113;;22522:845;22397:989;22371:1015;23414:31;;-1:-1:-1;;;23414:31:0;;;;;;;;;;;85937:211;86081:58;;;-1:-1:-1;;;;;206:32:1;;86081:58:0;;;188:51:1;255:18;;;;248:34;;;86081:58:0;;;;;;;;;;161:18:1;;;;86081:58:0;;;;;;;;-1:-1:-1;;;;;86081:58:0;-1:-1:-1;;;86081:58:0;;;86054:86;;86074:5;;86054:19;:86::i;37141:2966::-;37237:13;;37214:20;37265:13;;;37261:44;;37287:18;;-1:-1:-1;;;37287:18:0;;;;;;;;;;;37261:44;-1:-1:-1;;;;;37793:22:0;;;;;;:18;:22;;;;10862:2;37793:22;;;:71;;37831:32;37819:45;;37793:71;;;38107:31;;;:17;:31;;;;;-1:-1:-1;24843:15:0;;24817:24;24813:46;24412:11;24387:23;24383:41;24380:52;24370:63;;38107:173;;38342:23;;;;38107:31;;37793:22;;39107:25;37793:22;;38960:335;39621:1;39607:12;39603:20;39561:346;39662:3;39653:7;39650:16;39561:346;;39880:7;39870:8;39867:1;39840:25;39837:1;39834;39829:59;39715:1;39702:15;39561:346;;;39565:77;39940:8;39952:1;39940:13;39936:45;;39962:19;;-1:-1:-1;;;39962:19:0;;;;;;;;;;;39936:45;39998:13;:19;-1:-1:-1;32681:193:0;;;:::o;70353:191::-;70427:16;70446:6;;-1:-1:-1;;;;;70463:17:0;;;-1:-1:-1;;;;;;70463:17:0;;;;;;70496:40;;70446:6;;;;;;;70496:40;;70427:16;70496:40;70416:128;70353:191;:::o;97522:248::-;97732:12;;-1:-1:-1;;;;;97712:16:0;;97668:7;97712:16;;;:7;:16;;;;;;97668:7;;97747:15;;97696:32;;:13;:32;:::i;:::-;97695:49;;;;:::i;:::-;:67;;;;:::i;35963:716::-;36147:88;;-1:-1:-1;;;36147:88:0;;36126:4;;-1:-1:-1;;;;;36147:45:0;;;;;:88;;67717:10;;36214:4;;36220:7;;36229:5;;36147:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36147:88:0;;;;;;;;-1:-1:-1;;36147:88:0;;;;;;;;;;;;:::i;:::-;;;36143:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36430:6;:13;36447:1;36430:18;36426:235;;36476:40;;-1:-1:-1;;;36476:40:0;;;;;;;;;;;36426:235;36619:6;36613:13;36604:6;36600:2;36596:15;36589:38;36143:529;-1:-1:-1;;;;;;36306:64:0;-1:-1:-1;;;36306:64:0;;-1:-1:-1;35963:716:0;;;;;;:::o;100867:293::-;100269:1;101001:7;;:19;100993:63;;;;-1:-1:-1;;;100993:63:0;;20440:2:1;100993:63:0;;;20422:21:1;20479:2;20459:18;;;20452:30;20518:33;20498:18;;;20491:61;20569:18;;100993:63:0;20238:355:1;100993:63:0;100269:1;101134:7;:18;100867:293::o;116393:153::-;116483:4;116507:31;116515:14;116520:8;116645:26;;-1:-1:-1;;21408:2:1;21404:15;;;21400:53;116645:26:0;;;21388:66:1;116608:7:0;;21470:12:1;;116645:26:0;;;;;;;;;;;;116635:37;;;;;;116628:44;;116554:126;;;;116515:14;116531:6;;116507:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;116507:7:0;;-1:-1:-1;;;116507:31:0:i;65064:716::-;65120:13;65171:14;65188:17;65199:5;65188:10;:17::i;:::-;65208:1;65188:21;65171:38;;65224:20;65258:6;65247:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65247:18:0;-1:-1:-1;65224:41:0;-1:-1:-1;65389:28:0;;;65405:2;65389:28;65446:288;-1:-1:-1;;65478:5:0;-1:-1:-1;;;65615:2:0;65604:14;;65599:30;65478:5;65586:44;65676:2;65667:11;;;-1:-1:-1;65697:21:0;65446:288;65697:21;-1:-1:-1;65755:6:0;65064:716;-1:-1:-1;;;65064:716:0:o;89004:::-;89428:23;89454:69;89482:4;89454:69;;;;;;;;;;;;;;;;;89462:5;-1:-1:-1;;;;;89454:27:0;;;:69;;;;;:::i;:::-;89538:17;;89428:95;;-1:-1:-1;89538:21:0;89534:179;;89635:10;89624:30;;;;;;;;;;;;:::i;:::-;89616:85;;;;-1:-1:-1;;;89616:85:0;;21050:2:1;89616:85:0;;;21032:21:1;21089:2;21069:18;;;21062:30;21128:34;21108:18;;;21101:62;-1:-1:-1;;;21179:18:1;;;21172:40;21229:19;;89616:85:0;20848:406:1;116688:156:0;116767:4;116791:45;116810:6;116818:10;;116830:5;116791:18;:45::i;61930:922::-;61983:7;;-1:-1:-1;;;62061:15:0;;62057:102;;-1:-1:-1;;;62097:15:0;;;-1:-1:-1;62141:2:0;62131:12;62057:102;62186:6;62177:5;:15;62173:102;;62222:6;62213:15;;;-1:-1:-1;62257:2:0;62247:12;62173:102;62302:6;62293:5;:15;62289:102;;62338:6;62329:15;;;-1:-1:-1;62373:2:0;62363:12;62289:102;62418:5;62409;:14;62405:99;;62453:5;62444:14;;;-1:-1:-1;62487:1:0;62477:11;62405:99;62531:5;62522;:14;62518:99;;62566:5;62557:14;;;-1:-1:-1;62600:1:0;62590:11;62518:99;62644:5;62635;:14;62631:99;;62679:5;62670:14;;;-1:-1:-1;62713:1:0;62703:11;62631:99;62757:5;62748;:14;62744:66;;62793:1;62783:11;62838:6;61930:922;-1:-1:-1;;61930:922:0:o;74541:229::-;74678:12;74710:52;74732:6;74740:4;74746:1;74749:12;74710:21;:52::i;102610:190::-;102735:4;102788;102759:25;102772:5;102779:4;102759:12;:25::i;:::-;:33;;102610:190;-1:-1:-1;;;;102610:190:0:o;75661:455::-;75831:12;75889:5;75864:21;:30;;75856:81;;;;-1:-1:-1;;;75856:81:0;;21695:2:1;75856:81:0;;;21677:21:1;21734:2;21714:18;;;21707:30;21773:34;21753:18;;;21746:62;-1:-1:-1;;;21824:18:1;;;21817:36;21870:19;;75856:81:0;21493:402:1;75856:81:0;75949:12;75963:23;75990:6;-1:-1:-1;;;;;75990:11:0;76009:5;76016:4;75990:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75948:73;;;;76039:69;76066:6;76074:7;76083:10;76095:12;76039:26;:69::i;:::-;76032:76;75661:455;-1:-1:-1;;;;;;;75661:455:0:o;103477:296::-;103560:7;103603:4;103560:7;103618:118;103642:5;:12;103638:1;:16;103618:118;;;103691:33;103701:12;103715:5;103721:1;103715:8;;;;;;;;:::i;:::-;;;;;;;103691:9;:33::i;:::-;103676:48;-1:-1:-1;103656:3:0;;;;:::i;:::-;;;;103618:118;;;-1:-1:-1;103753:12:0;103477:296;-1:-1:-1;;;103477:296:0:o;78234:644::-;78419:12;78448:7;78444:427;;;78476:10;:17;78497:1;78476:22;78472:290;;-1:-1:-1;;;;;72079:19:0;;;78686:60;;;;-1:-1:-1;;;78686:60:0;;22381:2:1;78686:60:0;;;22363:21:1;22420:2;22400:18;;;22393:30;22459:31;22439:18;;;22432:59;22508:18;;78686:60:0;22179:353:1;78686:60:0;-1:-1:-1;78783:10:0;78776:17;;78444:427;78826:33;78834:10;78846:12;78826:7;:33::i;110517:149::-;110580:7;110611:1;110607;:5;:51;;110742:13;110836:15;;;110872:4;110865:15;;;110919:4;110903:21;;110607:51;;;110742:13;110836:15;;;110872:4;110865:15;;;110919:4;110903:21;;110615:20;110674:268;79420:552;79581:17;;:21;79577:388;;79813:10;79807:17;79870:15;79857:10;79853:2;79849:19;79842:44;79577:388;79940:12;79933:20;;-1:-1:-1;;;79933:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;293:131:1;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:258::-;943:1;953:113;967:6;964:1;961:13;953:113;;;1043:11;;;1037:18;1024:11;;;1017:39;989:2;982:10;953:113;;;1084:6;1081:1;1078:13;1075:48;;;-1:-1:-1;;1119:1:1;1101:16;;1094:27;871:258::o;1134:::-;1176:3;1214:5;1208:12;1241:6;1236:3;1229:19;1257:63;1313:6;1306:4;1301:3;1297:14;1290:4;1283:5;1279:16;1257:63;:::i;:::-;1374:2;1353:15;-1:-1:-1;;1349:29:1;1340:39;;;;1381:4;1336:50;;1134:258;-1:-1:-1;;1134:258:1:o;1397:220::-;1546:2;1535:9;1528:21;1509:4;1566:45;1607:2;1596:9;1592:18;1584:6;1566:45;:::i;1622:180::-;1681:6;1734:2;1722:9;1713:7;1709:23;1705:32;1702:52;;;1750:1;1747;1740:12;1702:52;-1:-1:-1;1773:23:1;;1622:180;-1:-1:-1;1622:180:1:o;2015:131::-;-1:-1:-1;;;;;2090:31:1;;2080:42;;2070:70;;2136:1;2133;2126:12;2151:315;2219:6;2227;2280:2;2268:9;2259:7;2255:23;2251:32;2248:52;;;2296:1;2293;2286:12;2248:52;2335:9;2322:23;2354:31;2379:5;2354:31;:::i;:::-;2404:5;2456:2;2441:18;;;;2428:32;;-1:-1:-1;;;2151:315:1:o;2471:118::-;2557:5;2550:13;2543:21;2536:5;2533:32;2523:60;;2579:1;2576;2569:12;2594:241;2650:6;2703:2;2691:9;2682:7;2678:23;2674:32;2671:52;;;2719:1;2716;2709:12;2671:52;2758:9;2745:23;2777:28;2799:5;2777:28;:::i;3022:247::-;3081:6;3134:2;3122:9;3113:7;3109:23;3105:32;3102:52;;;3150:1;3147;3140:12;3102:52;3189:9;3176:23;3208:31;3233:5;3208:31;:::i;3534:456::-;3611:6;3619;3627;3680:2;3668:9;3659:7;3655:23;3651:32;3648:52;;;3696:1;3693;3686:12;3648:52;3735:9;3722:23;3754:31;3779:5;3754:31;:::i;:::-;3804:5;-1:-1:-1;3861:2:1;3846:18;;3833:32;3874:33;3833:32;3874:33;:::i;:::-;3534:456;;3926:7;;-1:-1:-1;;;3980:2:1;3965:18;;;;3952:32;;3534:456::o;3995:248::-;4063:6;4071;4124:2;4112:9;4103:7;4099:23;4095:32;4092:52;;;4140:1;4137;4130:12;4092:52;-1:-1:-1;;4163:23:1;;;4233:2;4218:18;;;4205:32;;-1:-1:-1;3995:248:1:o;4430:403::-;4513:6;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;4629:9;4616:23;4648:31;4673:5;4648:31;:::i;:::-;4698:5;-1:-1:-1;4755:2:1;4740:18;;4727:32;4768:33;4727:32;4768:33;:::i;:::-;4820:7;4810:17;;;4430:403;;;;;:::o;4838:632::-;5009:2;5061:21;;;5131:13;;5034:18;;;5153:22;;;4980:4;;5009:2;5232:15;;;;5206:2;5191:18;;;4980:4;5275:169;5289:6;5286:1;5283:13;5275:169;;;5350:13;;5338:26;;5419:15;;;;5384:12;;;;5311:1;5304:9;5275:169;;;-1:-1:-1;5461:3:1;;4838:632;-1:-1:-1;;;;;;4838:632:1:o;5475:315::-;5543:6;5551;5604:2;5592:9;5583:7;5579:23;5575:32;5572:52;;;5620:1;5617;5610:12;5572:52;5656:9;5643:23;5633:33;;5716:2;5705:9;5701:18;5688:32;5729:31;5754:5;5729:31;:::i;5795:127::-;5856:10;5851:3;5847:20;5844:1;5837:31;5887:4;5884:1;5877:15;5911:4;5908:1;5901:15;5927:632;5992:5;6022:18;6063:2;6055:6;6052:14;6049:40;;;6069:18;;:::i;:::-;6144:2;6138:9;6112:2;6198:15;;-1:-1:-1;;6194:24:1;;;6220:2;6190:33;6186:42;6174:55;;;6244:18;;;6264:22;;;6241:46;6238:72;;;6290:18;;:::i;:::-;6330:10;6326:2;6319:22;6359:6;6350:15;;6389:6;6381;6374:22;6429:3;6420:6;6415:3;6411:16;6408:25;6405:45;;;6446:1;6443;6436:12;6405:45;6496:6;6491:3;6484:4;6476:6;6472:17;6459:44;6551:1;6544:4;6535:6;6527;6523:19;6519:30;6512:41;;;;5927:632;;;;;:::o;6564:451::-;6633:6;6686:2;6674:9;6665:7;6661:23;6657:32;6654:52;;;6702:1;6699;6692:12;6654:52;6742:9;6729:23;6775:18;6767:6;6764:30;6761:50;;;6807:1;6804;6797:12;6761:50;6830:22;;6883:4;6875:13;;6871:27;-1:-1:-1;6861:55:1;;6912:1;6909;6902:12;6861:55;6935:74;7001:7;6996:2;6983:16;6978:2;6974;6970:11;6935:74;:::i;7205:382::-;7270:6;7278;7331:2;7319:9;7310:7;7306:23;7302:32;7299:52;;;7347:1;7344;7337:12;7299:52;7386:9;7373:23;7405:31;7430:5;7405:31;:::i;:::-;7455:5;-1:-1:-1;7512:2:1;7497:18;;7484:32;7525:30;7484:32;7525:30;:::i;7592:795::-;7687:6;7695;7703;7711;7764:3;7752:9;7743:7;7739:23;7735:33;7732:53;;;7781:1;7778;7771:12;7732:53;7820:9;7807:23;7839:31;7864:5;7839:31;:::i;:::-;7889:5;-1:-1:-1;7946:2:1;7931:18;;7918:32;7959:33;7918:32;7959:33;:::i;:::-;8011:7;-1:-1:-1;8065:2:1;8050:18;;8037:32;;-1:-1:-1;8120:2:1;8105:18;;8092:32;8147:18;8136:30;;8133:50;;;8179:1;8176;8169:12;8133:50;8202:22;;8255:4;8247:13;;8243:27;-1:-1:-1;8233:55:1;;8284:1;8281;8274:12;8233:55;8307:74;8373:7;8368:2;8355:16;8350:2;8346;8342:11;8307:74;:::i;:::-;8297:84;;;7592:795;;;;;;;:::o;8392:683::-;8487:6;8495;8503;8556:2;8544:9;8535:7;8531:23;8527:32;8524:52;;;8572:1;8569;8562:12;8524:52;8608:9;8595:23;8585:33;;8669:2;8658:9;8654:18;8641:32;8692:18;8733:2;8725:6;8722:14;8719:34;;;8749:1;8746;8739:12;8719:34;8787:6;8776:9;8772:22;8762:32;;8832:7;8825:4;8821:2;8817:13;8813:27;8803:55;;8854:1;8851;8844:12;8803:55;8894:2;8881:16;8920:2;8912:6;8909:14;8906:34;;;8936:1;8933;8926:12;8906:34;8989:7;8984:2;8974:6;8971:1;8967:14;8963:2;8959:23;8955:32;8952:45;8949:65;;;9010:1;9007;9000:12;8949:65;9041:2;9037;9033:11;9023:21;;9063:6;9053:16;;;;;8392:683;;;;;:::o;9080:292::-;9138:6;9191:2;9179:9;9170:7;9166:23;9162:32;9159:52;;;9207:1;9204;9197:12;9159:52;9246:9;9233:23;-1:-1:-1;;;;;9289:5:1;9285:38;9278:5;9275:49;9265:77;;9338:1;9335;9328:12;10037:380;10116:1;10112:12;;;;10159;;;10180:61;;10234:4;10226:6;10222:17;10212:27;;10180:61;10287:2;10279:6;10276:14;10256:18;10253:38;10250:161;;10333:10;10328:3;10324:20;10321:1;10314:31;10368:4;10365:1;10358:15;10396:4;10393:1;10386:15;10250:161;;10037:380;;;:::o;10422:402::-;10624:2;10606:21;;;10663:2;10643:18;;;10636:30;10702:34;10697:2;10682:18;;10675:62;-1:-1:-1;;;10768:2:1;10753:18;;10746:36;10814:3;10799:19;;10422:402::o;10829:407::-;11031:2;11013:21;;;11070:2;11050:18;;;11043:30;11109:34;11104:2;11089:18;;11082:62;-1:-1:-1;;;11175:2:1;11160:18;;11153:41;11226:3;11211:19;;10829:407::o;11241:127::-;11302:10;11297:3;11293:20;11290:1;11283:31;11333:4;11330:1;11323:15;11357:4;11354:1;11347:15;11373:128;11413:3;11444:1;11440:6;11437:1;11434:13;11431:39;;;11450:18;;:::i;:::-;-1:-1:-1;11486:9:1;;11373:128::o;12210:168::-;12250:7;12316:1;12312;12308:6;12304:14;12301:1;12298:21;12293:1;12286:9;12279:17;12275:45;12272:71;;;12323:18;;:::i;:::-;-1:-1:-1;12363:9:1;;12210:168::o;12515:217::-;12555:1;12581;12571:132;;12625:10;12620:3;12616:20;12613:1;12606:31;12660:4;12657:1;12650:15;12688:4;12685:1;12678:15;12571:132;-1:-1:-1;12717:9:1;;12515:217::o;12737:127::-;12798:10;12793:3;12789:20;12786:1;12779:31;12829:4;12826:1;12819:15;12853:4;12850:1;12843:15;12869:135;12908:3;12929:17;;;12926:43;;12949:18;;:::i;:::-;-1:-1:-1;12996:1:1;12985:13;;12869:135::o;13009:125::-;13049:4;13077:1;13074;13071:8;13068:34;;;13082:18;;:::i;:::-;-1:-1:-1;13119:9:1;;13009:125::o;16480:184::-;16550:6;16603:2;16591:9;16582:7;16578:23;16574:32;16571:52;;;16619:1;16616;16609:12;16571:52;-1:-1:-1;16642:16:1;;16480:184;-1:-1:-1;16480:184:1:o;17085:637::-;17365:3;17403:6;17397:13;17419:53;17465:6;17460:3;17453:4;17445:6;17441:17;17419:53;:::i;:::-;17535:13;;17494:16;;;;17557:57;17535:13;17494:16;17591:4;17579:17;;17557:57;:::i;:::-;-1:-1:-1;;;17636:20:1;;17665:22;;;17714:1;17703:13;;17085:637;-1:-1:-1;;;;17085:637:1:o;19490:489::-;-1:-1:-1;;;;;19759:15:1;;;19741:34;;19811:15;;19806:2;19791:18;;19784:43;19858:2;19843:18;;19836:34;;;19906:3;19901:2;19886:18;;19879:31;;;19684:4;;19927:46;;19953:19;;19945:6;19927:46;:::i;:::-;19919:54;19490:489;-1:-1:-1;;;;;;19490:489:1:o;19984:249::-;20053:6;20106:2;20094:9;20085:7;20081:23;20077:32;20074:52;;;20122:1;20119;20112:12;20074:52;20154:9;20148:16;20173:30;20197:5;20173:30;:::i;20598:245::-;20665:6;20718:2;20706:9;20697:7;20693:23;20689:32;20686:52;;;20734:1;20731;20724:12;20686:52;20766:9;20760:16;20785:28;20807:5;20785:28;:::i;21900:274::-;22029:3;22067:6;22061:13;22083:53;22129:6;22124:3;22117:4;22109:6;22105:17;22083:53;:::i;:::-;22152:16;;;;;21900:274;-1:-1:-1;;21900:274:1:o
Swarm Source
ipfs://ba7d764d5b88c1471e06a5ced6a2e51782917301bc17def97574f63f2f46fd0c
Loading...
Loading
Loading...
Loading
[ 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.