Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
No addresses found
Latest 25 from a total of 109 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Giveaway | 16440787 | 804 days ago | IN | 0 ETH | 0.00115364 | ||||
Giveaway | 15914294 | 877 days ago | IN | 0 ETH | 0.00128969 | ||||
Giveaway | 15914292 | 877 days ago | IN | 0 ETH | 0.00138955 | ||||
Giveaway | 15914290 | 877 days ago | IN | 0 ETH | 0.00132121 | ||||
Giveaway | 15914288 | 877 days ago | IN | 0 ETH | 0.00150211 | ||||
Giveaway | 15914285 | 877 days ago | IN | 0 ETH | 0.00145001 | ||||
Giveaway | 15914284 | 877 days ago | IN | 0 ETH | 0.00129863 | ||||
Giveaway | 15914277 | 877 days ago | IN | 0 ETH | 0.00106213 | ||||
Giveaway | 15914274 | 877 days ago | IN | 0 ETH | 0.00098366 | ||||
Giveaway | 15914271 | 877 days ago | IN | 0 ETH | 0.00096116 | ||||
Giveaway | 15914268 | 877 days ago | IN | 0 ETH | 0.00098367 | ||||
Giveaway | 15914264 | 877 days ago | IN | 0 ETH | 0.00114488 | ||||
Giveaway | 15914260 | 877 days ago | IN | 0 ETH | 0.00099852 | ||||
Giveaway | 15914251 | 877 days ago | IN | 0 ETH | 0.00114649 | ||||
Giveaway | 15914249 | 877 days ago | IN | 0 ETH | 0.00125614 | ||||
Giveaway | 15914246 | 877 days ago | IN | 0 ETH | 0.0010422 | ||||
Giveaway | 15914243 | 877 days ago | IN | 0 ETH | 0.00098271 | ||||
Giveaway | 15914240 | 877 days ago | IN | 0 ETH | 0.00107325 | ||||
Giveaway | 15914237 | 877 days ago | IN | 0 ETH | 0.00110746 | ||||
Giveaway | 15914234 | 877 days ago | IN | 0 ETH | 0.00107245 | ||||
Giveaway | 15914230 | 877 days ago | IN | 0 ETH | 0.00120527 | ||||
Giveaway | 15914228 | 877 days ago | IN | 0 ETH | 0.00112864 | ||||
Set Approval For... | 15762749 | 899 days ago | IN | 0 ETH | 0.00070977 | ||||
Set Approval For... | 15732141 | 903 days ago | IN | 0 ETH | 0.00070155 | ||||
Giveaway | 15691691 | 908 days ago | IN | 0 ETH | 0.00081505 |
Loading...
Loading
Contract Name:
NiftyMuslimBrother
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-25 */ // SPDX-License-Identifier: MIT // File: contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Coreibytes Inc. pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Coreibytes Inc. pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Coreibytes Inc. pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: contracts/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Coreibytes Inc. pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // 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/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.7.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/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // 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/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @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/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.7.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"); _released[account] += payment; _totalReleased += 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"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += 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/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/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/escrow/Escrow.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/escrow/Escrow.sol) pragma solidity ^0.8.0; /** * @title Escrow * @dev Base escrow contract, holds funds designated for a payee until they * withdraw them. * * Intended usage: This contract (and derived escrow contracts) should be a * standalone contract, that only interacts with the contract that instantiated * it. That way, it is guaranteed that all Ether will be handled according to * the `Escrow` rules, and there is no need to check for payable functions or * transfers in the inheritance tree. The contract that uses the escrow as its * payment method should be its owner, and provide public methods redirecting * to the escrow's deposit and withdraw. */ contract Escrow is Ownable { using Address for address payable; event Deposited(address indexed payee, uint256 weiAmount); event Withdrawn(address indexed payee, uint256 weiAmount); mapping(address => uint256) private _deposits; function depositsOf(address payee) public view returns (uint256) { return _deposits[payee]; } /** * @dev Stores the sent amount as credit to be withdrawn. * @param payee The destination address of the funds. * * Emits a {Deposited} event. */ function deposit(address payee) public payable virtual onlyOwner { uint256 amount = msg.value; _deposits[payee] += amount; emit Deposited(payee, amount); } /** * @dev Withdraw accumulated balance for a payee, forwarding all gas to the * recipient. * * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities. * Make sure you trust the recipient, or are either following the * checks-effects-interactions pattern or using {ReentrancyGuard}. * * @param payee The address whose funds will be withdrawn and transferred to. * * Emits a {Withdrawn} event. */ function withdraw(address payable payee) public virtual onlyOwner { uint256 payment = _deposits[payee]; _deposits[payee] = 0; payee.sendValue(payment); emit Withdrawn(payee, payment); } } // File: @openzeppelin/contracts/security/PullPayment.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/PullPayment.sol) pragma solidity ^0.8.0; /** * @dev Simple implementation of a * https://consensys.github.io/smart-contract-best-practices/recommendations/#favor-pull-over-push-for-external-calls[pull-payment] * strategy, where the paying contract doesn't interact directly with the * receiver account, which must withdraw its payments itself. * * Pull-payments are often considered the best practice when it comes to sending * Ether, security-wise. It prevents recipients from blocking execution, and * eliminates reentrancy concerns. * * 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]. * * To use, derive from the `PullPayment` contract, and use {_asyncTransfer} * instead of Solidity's `transfer` function. Payees can query their due * payments with {payments}, and retrieve them with {withdrawPayments}. */ abstract contract PullPayment { Escrow private immutable _escrow; constructor() { _escrow = new Escrow(); } /** * @dev Withdraw accumulated payments, forwarding all gas to the recipient. * * Note that _any_ account can call this function, not just the `payee`. * This means that contracts unaware of the `PullPayment` protocol can still * receive funds this way, by having a separate account call * {withdrawPayments}. * * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities. * Make sure you trust the recipient, or are either following the * checks-effects-interactions pattern or using {ReentrancyGuard}. * * @param payee Whose payments will be withdrawn. * * Causes the `escrow` to emit a {Withdrawn} event. */ function withdrawPayments(address payable payee) public virtual { _escrow.withdraw(payee); } /** * @dev Returns the payments owed to an address. * @param dest The creditor's address. */ function payments(address dest) public view returns (uint256) { return _escrow.depositsOf(dest); } /** * @dev Called by the payer to store the sent amount as credit to be pulled. * Funds sent in this way are stored in an intermediate {Escrow} contract, so * there is no danger of them being spent before withdrawal. * * @param dest The destination address of the funds. * @param amount The amount to transfer. * * Causes the `escrow` to emit a {Deposited} event. */ function _asyncTransfer(address dest, uint256 amount) internal virtual { _escrow.deposit{value: amount}(dest); } } // File: contracts/NiftyMuslimBrother.sol pragma solidity ^0.8.13; //zackchain contract NiftyMuslimBrother is Ownable, ERC721A, ERC721AQueryable, ReentrancyGuard, PaymentSplitter{ using Strings for uint; using Counters for Counters.Counter; enum Step { FreeMint, Presale, PublicSale, SoldOut, Reveal } string public baseURI; string public notRevealedURI; Step public sellingStep; bytes32 public merkleRoot; uint private constant MAX_SUPPLY = 10000; uint private constant MAX_FREE = 300; uint public pricePresale = 0.05 ether; uint public publicSalePrice = 0.0313 ether; uint public zero_price = 0 ether; bool public revealed = false; bool public paused = false; string public baseExtension = ".json"; Counters.Counter private _nftIdCounter; uint public saleStartTime = 1650326745; mapping(address => uint) public amountNFTsperWalletWhitelistSale; mapping(address => uint) public amountNFTperWalletFreeMint; uint private teamLength; constructor(address[] memory _team, uint[] memory _teamShares, string memory _theBaseURI, string memory _theNotRevealedURI, bytes32 _merkleRoot) ERC721A("Nifty Muslim Brother", "NMB") PaymentSplitter(_team, _teamShares) { _nftIdCounter.increment(); baseURI = _theBaseURI; notRevealedURI = _theNotRevealedURI; merkleRoot = _merkleRoot; teamLength = _team.length; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function getBalance() public view returns (uint) { return address(this).balance; } function changeMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { merkleRoot = _newMerkleRoot; } function setPaused(bool _paused) external onlyOwner { paused = _paused; } function changePricePresale(uint _pricePresale) external onlyOwner { pricePresale = _pricePresale; } function changePriceSale(uint _publicSalePrice) external onlyOwner { publicSalePrice = _publicSalePrice; } function setSaleStartTime(uint _saleStartTime) external onlyOwner { saleStartTime = _saleStartTime; } function setBaseUri(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setNotRevealURI(string memory _notRevealedURI) external onlyOwner { notRevealedURI = _notRevealedURI; } function setBaseExtension(string memory _baseExtension) external onlyOwner { baseExtension = _baseExtension; } function reveal() external onlyOwner{ revealed = true; } function _baseURI() internal view virtual onlyOwner override returns (string memory) { return baseURI; } function currentTime() internal view returns(uint) { return block.timestamp; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function freeMint(address _account, uint _quantity) external payable callerIsUser { uint price = zero_price; require(amountNFTperWalletFreeMint[msg.sender] + _quantity <= 1, "You can only get 1 NFT on the Free Mint"); require(totalSupply() + _quantity <= MAX_FREE, "There's no more supply for the Free Mint"); require(msg.value >= price * _quantity, "Not enought funds"); amountNFTperWalletFreeMint[msg.sender] += _quantity; _safeMint(_account, _quantity); } function presaleMint(address _account, uint _quantity, bytes32[] calldata _proof) external payable callerIsUser { uint price = pricePresale; require(price != 0, "Price is 0"); require(isWhiteListed(msg.sender, _proof), "Not whitelisted"); require(amountNFTsperWalletWhitelistSale[msg.sender] + _quantity <= 10, "You can only get 10 NFTs on the Whitelist Sale"); require(msg.value >= price * _quantity, "Not enought funds"); amountNFTsperWalletWhitelistSale[msg.sender] += _quantity; _safeMint(_account, _quantity); } function publicSaleMint(address _account, uint _quantity) external payable callerIsUser { uint price = publicSalePrice; require(price != 0, "Price is 0"); require(sellingStep == Step.PublicSale, "Public sale is not activated"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); require(msg.value >= price * _quantity, "Not enought funds"); _safeMint(_account, _quantity); } function Giveaway(address _to, uint _quantity) external onlyOwner { require(totalSupply() + _quantity <= MAX_SUPPLY, "Reached max Supply"); _safeMint(_to, _quantity); } 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); } function tokenURI(uint _nftId) public view override(ERC721A, IERC721A) returns (string memory) { require(_exists(_nftId), "This NFT doesn't exist."); if(revealed == false) { return string(abi.encodePacked(notRevealedURI, _nftId.toString(), baseExtension)); } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _nftId.toString(), baseExtension)) : ""; } function releaseAll() external onlyOwner nonReentrant{ for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"string","name":"_theBaseURI","type":"string"},{"internalType":"string","name":"_theNotRevealedURI","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"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":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountNFTperWalletFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountNFTsperWalletWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"changeMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePresale","type":"uint256"}],"name":"changePricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSalePrice","type":"uint256"}],"name":"changePriceSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","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":[],"name":"releaseAll","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":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum NiftyMuslimBrother.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"setSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","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":"_nftId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zero_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
66b1a2bc2ec50000601555666f332f2578400060165560006017556018805461ffff1916905560c06040526005608081905264173539b7b760d91b60a09081526200004e916019919062000500565b5063625dfcd9601b553480156200006457600080fd5b5060405162003eca38038062003eca83398101604081905262000087916200071d565b84846040518060400160405280601481526020017f4e69667479204d75736c696d2042726f74686572000000000000000000000000815250604051806040016040528060038152602001622726a160e91b815250620000f5620000ef620002b560201b60201c565b620002b9565b81516200010a90600390602085019062000500565b5080516200012090600490602084019062000500565b5060006001908155600955505080518251146200019f5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001f25760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000196565b60005b82518110156200025e576200024983828151811062000218576200021862000854565b602002602001015183838151811062000235576200023562000854565b60200260200101516200030960201b60201c565b80620002558162000880565b915050620001f5565b50505062000278601a620004f760201b6200214a1760201c565b82516200028d90601190602086019062000500565b508151620002a390601290602085019062000500565b5060145550509051601e5550620008f3565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620003765760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000196565b60008111620003c85760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000196565b6001600160a01b0382166000908152600c602052604090205415620004445760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000196565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a54620004ae9082906200089c565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b80546001019055565b8280546200050e90620008b7565b90600052602060002090601f0160209004810192826200053257600085556200057d565b82601f106200054d57805160ff19168380011785556200057d565b828001600101855582156200057d579182015b828111156200057d57825182559160200191906001019062000560565b506200058b9291506200058f565b5090565b5b808211156200058b576000815560010162000590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005e757620005e7620005a6565b604052919050565b60006001600160401b038211156200060b576200060b620005a6565b5060051b60200190565b600082601f8301126200062757600080fd5b81516020620006406200063a83620005ef565b620005bc565b82815260059290921b840181019181810190868411156200066057600080fd5b8286015b848110156200067d578051835291830191830162000664565b509695505050505050565b600082601f8301126200069a57600080fd5b81516001600160401b03811115620006b657620006b6620005a6565b6020620006cc601f8301601f19168201620005bc565b8281528582848701011115620006e157600080fd5b60005b8381101562000701578581018301518282018401528201620006e4565b83811115620007135760008385840101525b5095945050505050565b600080600080600060a086880312156200073657600080fd5b85516001600160401b03808211156200074e57600080fd5b818801915088601f8301126200076357600080fd5b81516020620007766200063a83620005ef565b82815260059290921b8401810191818101908c8411156200079657600080fd5b948201945b83861015620007cd5785516001600160a01b0381168114620007bd5760008081fd5b825294820194908201906200079b565b918b0151919950909350505080821115620007e757600080fd5b620007f589838a0162000615565b955060408801519150808211156200080c57600080fd5b6200081a89838a0162000688565b945060608801519150808211156200083157600080fd5b50620008408882890162000688565b925050608086015190509295509295909350565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016200089557620008956200086a565b5060010190565b60008219821115620008b257620008b26200086a565b500190565b600181811c90821680620008cc57607f821691505b602082108103620008ed57634e487b7160e01b600052602260045260246000fd5b50919050565b6135c780620009036000396000f3fe6080604052600436106103b15760003560e01c806372250380116101e7578063a475b5dd1161010d578063ce7c2ac2116100a0578063e985e9c51161006f578063e985e9c514610b46578063ebcea3db14610b8f578063f2fde38b14610baf578063f8dcbddb14610bcf57600080fd5b8063ce7c2ac214610aa5578063d79779b214610adb578063da3ef23f14610b11578063e33b7de314610b3157600080fd5b8063c45ac050116100dc578063c45ac05014610a29578063c668286214610a49578063c87b56dd14610a5e578063cbccefb214610a7e57600080fd5b8063a475b5dd146109b4578063ac5ae11b146109c9578063b88d4fde146109dc578063c23dc68f146109fc57600080fd5b80639852595c116101855780639b6860c8116101545780639b6860c81461093e578063a0bcfc7f14610954578063a22cb46514610974578063a3f8eace1461099457600080fd5b80639852595c146108a85780639883566e146108de57806399a2557a146108f157806399d138001461091157600080fd5b80638da5cb5b116101c15780638da5cb5b1461084c5780639147dd1b1461086a578063954dc3e31461088057806395d89b411461089357600080fd5b806372250380146107ea5780638462151c146107ff5780638b83209b1461082c57600080fd5b80633f5fbad0116102d75780635bbb21771161026a5780636c0360eb116102395780636c0360eb146107735780636df5c32d1461078857806370a08231146107b5578063715018a6146107d557600080fd5b80635bbb2177146106f25780635be7fde81461071f5780635c975abb146107345780636352211e1461075357600080fd5b806350c6fbdc116102a657806350c6fbdc146106825780635183022714610698578063525f8a5c146106b25780635accac99146106d257600080fd5b80633f5fbad0146105dc578063406072a9146105fc57806342842e0e1461064257806348b750441461066257600080fd5b8063191655871161034f57806323b872dd1161031e57806323b872dd1461057c5780632eb4a7ab1461059c5780633a98ef39146105b25780633ccfd60b146105c757600080fd5b806319165587146105065780631cbaee2d146105265780631dcfab391461053c5780632118eda21461055c57600080fd5b8063095ea7b31161038b578063095ea7b31461048e57806312065fe0146104b057806316c38b3c146104cd57806318160ddd146104ed57600080fd5b806301ffc9a7146103ff57806306fdde0314610434578063081812fc1461045657600080fd5b366103fa577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561040b57600080fd5b5061041f61041a366004612c63565b610bef565b60405190151581526020015b60405180910390f35b34801561044057600080fd5b50610449610c41565b60405161042b9190612cd8565b34801561046257600080fd5b50610476610471366004612ceb565b610cd3565b6040516001600160a01b03909116815260200161042b565b34801561049a57600080fd5b506104ae6104a9366004612d19565b610d17565b005b3480156104bc57600080fd5b50475b60405190815260200161042b565b3480156104d957600080fd5b506104ae6104e8366004612d53565b610db7565b3480156104f957600080fd5b50600254600154036104bf565b34801561051257600080fd5b506104ae610521366004612d70565b610dd9565b34801561053257600080fd5b506104bf601b5481565b34801561054857600080fd5b506104ae610557366004612ceb565b610edb565b34801561056857600080fd5b506104ae610577366004612d19565b610ee8565b34801561058857600080fd5b506104ae610597366004612d8d565b610f5c565b3480156105a857600080fd5b506104bf60145481565b3480156105be57600080fd5b50600a546104bf565b3480156105d357600080fd5b506104ae6110f4565b3480156105e857600080fd5b506104ae6105f7366004612ceb565b6111e6565b34801561060857600080fd5b506104bf610617366004612dce565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561064e57600080fd5b506104ae61065d366004612d8d565b6111f3565b34801561066e57600080fd5b506104ae61067d366004612dce565b611213565b34801561068e57600080fd5b506104bf60175481565b3480156106a457600080fd5b5060185461041f9060ff1681565b3480156106be57600080fd5b506104ae6106cd366004612ceb565b611336565b3480156106de57600080fd5b506104ae6106ed366004612ea4565b611343565b3480156106fe57600080fd5b5061071261070d366004612eec565b61135e565b60405161042b9190612fcd565b34801561072b57600080fd5b506104ae61142b565b34801561074057600080fd5b5060185461041f90610100900460ff1681565b34801561075f57600080fd5b5061047661076e366004612ceb565b6114b5565b34801561077f57600080fd5b506104496114c0565b34801561079457600080fd5b506104bf6107a3366004612d70565b601d6020526000908152604090205481565b3480156107c157600080fd5b506104bf6107d0366004612d70565b61154e565b3480156107e157600080fd5b506104ae61159c565b3480156107f657600080fd5b506104496115b0565b34801561080b57600080fd5b5061081f61081a366004612d70565b6115bd565b60405161042b919061300f565b34801561083857600080fd5b50610476610847366004612ceb565b6116c5565b34801561085857600080fd5b506000546001600160a01b0316610476565b34801561087657600080fd5b506104bf60155481565b6104ae61088e366004613047565b6116f5565b34801561089f57600080fd5b50610449611880565b3480156108b457600080fd5b506104bf6108c3366004612d70565b6001600160a01b03166000908152600d602052604090205490565b6104ae6108ec366004612d19565b61188f565b3480156108fd57600080fd5b5061081f61090c3660046130d2565b6119ff565b34801561091d57600080fd5b506104bf61092c366004612d70565b601c6020526000908152604090205481565b34801561094a57600080fd5b506104bf60165481565b34801561096057600080fd5b506104ae61096f366004612ea4565b611b78565b34801561098057600080fd5b506104ae61098f366004613107565b611b93565b3480156109a057600080fd5b506104bf6109af366004612d70565b611c28565b3480156109c057600080fd5b506104ae611c69565b6104ae6109d7366004612d19565b611c80565b3480156109e857600080fd5b506104ae6109f7366004613135565b611dd8565b348015610a0857600080fd5b50610a1c610a17366004612ceb565b611e22565b60405161042b91906131b4565b348015610a3557600080fd5b506104bf610a44366004612dce565b611e9a565b348015610a5557600080fd5b50610449611f65565b348015610a6a57600080fd5b50610449610a79366004612ceb565b611f72565b348015610a8a57600080fd5b50601354610a989060ff1681565b60405161042b91906131d8565b348015610ab157600080fd5b506104bf610ac0366004612d70565b6001600160a01b03166000908152600c602052604090205490565b348015610ae757600080fd5b506104bf610af6366004612d70565b6001600160a01b03166000908152600f602052604090205490565b348015610b1d57600080fd5b506104ae610b2c366004612ea4565b61206b565b348015610b3d57600080fd5b50600b546104bf565b348015610b5257600080fd5b5061041f610b61366004612dce565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610b9b57600080fd5b506104ae610baa366004612ceb565b612086565b348015610bbb57600080fd5b506104ae610bca366004612d70565b612093565b348015610bdb57600080fd5b506104ae610bea366004612ceb565b61210c565b60006301ffc9a760e01b6001600160e01b031983161480610c2057506380ac58cd60e01b6001600160e01b03198316145b80610c3b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610c5090613200565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7c90613200565b8015610cc95780601f10610c9e57610100808354040283529160200191610cc9565b820191906000526020600020905b815481529060010190602001808311610cac57829003601f168201915b5050505050905090565b6000610cde82612153565b610cfb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610d22826114b5565b9050336001600160a01b03821614610d5b57610d3e8133610b61565b610d5b576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610dbf61217b565b601880549115156101000261ff0019909216919091179055565b6001600160a01b0381166000908152600c6020526040902054610e175760405162461bcd60e51b8152600401610e0e9061323a565b60405180910390fd5b6000610e2282611c28565b905080600003610e445760405162461bcd60e51b8152600401610e0e90613280565b6001600160a01b0382166000908152600d602052604081208054839290610e6c9084906132e1565b9250508190555080600b6000828254610e8591906132e1565b90915550610e95905082826121d5565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610ee361217b565b601655565b610ef061217b565b61271081610f016002546001540390565b610f0b91906132e1565b1115610f4e5760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610e0e565b610f5882826122ee565b5050565b6000610f6782612308565b9050836001600160a01b0316816001600160a01b031614610f9a5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610fe757610fca8633610b61565b610fe757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100e57604051633a954ecd60e21b815260040160405180910390fd5b801561101957600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036110ab576001840160008181526005602052604081205490036110a95760015481146110a95760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6110fc61217b565b60026009540361114e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e0e565b6002600955604051600090339047908381818185875af1925050503d8060008114611195576040519150601f19603f3d011682016040523d82523d6000602084013e61119a565b606091505b50509050806111de5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610e0e565b506001600955565b6111ee61217b565b601555565b61120e83838360405180602001604052806000815250611dd8565b505050565b6001600160a01b0381166000908152600c60205260409020546112485760405162461bcd60e51b8152600401610e0e9061323a565b60006112548383611e9a565b9050806000036112765760405162461bcd60e51b8152600401610e0e90613280565b6001600160a01b038084166000908152601060209081526040808320938616835292905290812080548392906112ad9084906132e1565b90915550506001600160a01b0383166000908152600f6020526040812080548392906112da9084906132e1565b909155506112eb905083838361236f565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b61133e61217b565b601b55565b61134b61217b565b8051610f58906012906020840190612bb4565b80516060906000816001600160401b0381111561137d5761137d612e07565b6040519080825280602002602001820160405280156113cf57816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161139b5790505b50905060005b828114611423576113fe8582815181106113f1576113f16132f9565b6020026020010151611e22565b828281518110611410576114106132f9565b60209081029190910101526001016113d5565b509392505050565b61143361217b565b6002600954036114855760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e0e565b600260095560005b601e548110156111de576114a3610521826116c5565b806114ad8161330f565b91505061148d565b6000610c3b82612308565b601180546114cd90613200565b80601f01602080910402602001604051908101604052809291908181526020018280546114f990613200565b80156115465780601f1061151b57610100808354040283529160200191611546565b820191906000526020600020905b81548152906001019060200180831161152957829003601f168201915b505050505081565b60006001600160a01b038216611577576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6115a461217b565b6115ae60006123c1565b565b601280546114cd90613200565b606060008060006115cd8561154e565b90506000816001600160401b038111156115e9576115e9612e07565b604051908082528060200260200182016040528015611612578160200160208202803683370190505b50905061163f60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b8386146116b95761165281612411565b915081604001516116b15781516001600160a01b03161561167257815194505b876001600160a01b0316856001600160a01b0316036116b157808387806001019850815181106116a4576116a46132f9565b6020026020010181815250505b600101611642565b50909695505050505050565b6000600e82815481106116da576116da6132f9565b6000918252602090912001546001600160a01b031692915050565b3233146117145760405162461bcd60e51b8152600401610e0e90613328565b60155460008190036117555760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610e0e565b61176033848461244d565b61179e5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610e0e565b336000908152601c6020526040902054600a906117bc9086906132e1565b11156118215760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e206f6e6c7920676574203130204e465473206f6e207468652060448201526d57686974656c6973742053616c6560901b6064820152608401610e0e565b61182b848261335f565b34101561184a5760405162461bcd60e51b8152600401610e0e9061337e565b336000908152601c6020526040812080548692906118699084906132e1565b90915550611879905085856122ee565b5050505050565b606060048054610c5090613200565b3233146118ae5760405162461bcd60e51b8152600401610e0e90613328565b601754336000908152601d60205260409020546001906118cf9084906132e1565b111561192d5760405162461bcd60e51b815260206004820152602760248201527f596f752063616e206f6e6c79206765742031204e4654206f6e20746865204672604482015266195948135a5b9d60ca1b6064820152608401610e0e565b61012c8261193e6002546001540390565b61194891906132e1565b11156119a75760405162461bcd60e51b815260206004820152602860248201527f54686572652773206e6f206d6f726520737570706c7920666f722074686520466044820152671c995948135a5b9d60c21b6064820152608401610e0e565b6119b1828261335f565b3410156119d05760405162461bcd60e51b8152600401610e0e9061337e565b336000908152601d6020526040812080548492906119ef9084906132e1565b9091555061120e905083836122ee565b6060818310611a2157604051631960ccad60e11b815260040160405180910390fd5b600080611a2d60015490565b905080841115611a3b578093505b6000611a468761154e565b905084861015611a655785850381811015611a5f578091505b50611a69565b5060005b6000816001600160401b03811115611a8357611a83612e07565b604051908082528060200260200182016040528015611aac578160200160208202803683370190505b50905081600003611ac2579350611b7192505050565b6000611acd88611e22565b905060008160400151611ade575080515b885b888114158015611af05750848714155b15611b6557611afe81612411565b92508260400151611b5d5782516001600160a01b031615611b1e57825191505b8a6001600160a01b0316826001600160a01b031603611b5d5780848880600101995081518110611b5057611b506132f9565b6020026020010181815250505b600101611ae0565b50505092835250909150505b9392505050565b611b8061217b565b8051610f58906011906020840190612bb4565b336001600160a01b03831603611bbc5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611c34600b5490565b611c3e90476132e1565b9050611b718382611c64866001600160a01b03166000908152600d602052604090205490565b6124ce565b611c7161217b565b6018805460ff19166001179055565b323314611c9f5760405162461bcd60e51b8152600401610e0e90613328565b6016546000819003611ce05760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610e0e565b600260135460ff166004811115611cf957611cf96131c2565b14611d465760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610e0e565b61271082611d576002546001540390565b611d6191906132e1565b1115611da55760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610e0e565b611daf828261335f565b341015611dce5760405162461bcd60e51b8152600401610e0e9061337e565b61120e83836122ee565b611de3848484610f5c565b6001600160a01b0383163b15611e1c57611dff8484848461250c565b611e1c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310611e765792915050565b611e7f83612411565b9050806040015115611e915792915050565b611b71836125f7565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1d91906133a9565b611f2791906132e1565b6001600160a01b03808616600090815260106020908152604080832093881683529290522054909150611f5d90849083906124ce565b949350505050565b601980546114cd90613200565b6060611f7d82612153565b611fc95760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e0000000000000000006044820152606401610e0e565b60185460ff16151560000361200d576012611fe38361262c565b6019604051602001611ff79392919061345b565b6040516020818303038152906040529050919050565b600061201761272c565b905060008151116120375760405180602001604052806000815250611b71565b806120418461262c565b601960405160200161205593929190613483565b6040516020818303038152906040529392505050565b61207361217b565b8051610f58906019906020840190612bb4565b61208e61217b565b601455565b61209b61217b565b6001600160a01b0381166121005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e0e565b612109816123c1565b50565b61211461217b565b806004811115612126576121266131c2565b6013805460ff19166001836004811115612142576121426131c2565b021790555050565b80546001019055565b600060015482108015610c3b575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b031633146115ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0e565b804710156122255760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e0e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612272576040519150601f19603f3d011682016040523d82523d6000602084013e612277565b606091505b505090508061120e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e0e565b610f58828260405180602001604052806000815250612743565b6000816001548110156123565760008181526005602052604081205490600160e01b82169003612354575b80600003611b71575060001901600081815260056020526040902054612333565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261120e9084906127a9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260056020526040902054610c3b9061287b565b6000611f5d612495856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128c292505050565b600a546001600160a01b0384166000908152600c6020526040812054909183916124f8908661335f565b61250291906134bf565b611f5d91906134d3565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906125419033908990889088906004016134ea565b6020604051808303816000875af192505050801561257c575060408051601f3d908101601f1916820190925261257991810190613527565b60015b6125da573d8080156125aa576040519150601f19603f3d011682016040523d82523d6000602084013e6125af565b606091505b5080516000036125d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610c3b61262783612308565b61287b565b6060816000036126535750506040805180820190915260018152600360fc1b602082015290565b8160005b811561267d57806126678161330f565b91506126769050600a836134bf565b9150612657565b6000816001600160401b0381111561269757612697612e07565b6040519080825280601f01601f1916602001820160405280156126c1576020820181803683370190505b5090505b8415611f5d576126d66001836134d3565b91506126e3600a86613544565b6126ee9060306132e1565b60f81b818381518110612703576127036132f9565b60200101906001600160f81b031916908160001a905350612725600a866134bf565b94506126c5565b606061273661217b565b60118054610c5090613200565b61274d83836128d1565b6001600160a01b0383163b1561120e576001548281035b612777600086838060010194508661250c565b612794576040516368d2bf6b60e11b815260040160405180910390fd5b81811061276457816001541461187957600080fd5b60006127fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129b19092919063ffffffff16565b80519091501561120e578080602001905181019061281c9190613558565b61120e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610e0e565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611b7182601454856129c0565b6001546001600160a01b0383166128fa57604051622e076360e81b815260040160405180910390fd5b8160000361291b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106129655760015550505050565b6060611f5d84846000856129d6565b6000826129cd8584612b07565b14949350505050565b606082471015612a375760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610e0e565b6001600160a01b0385163b612a8e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e0e565b600080866001600160a01b03168587604051612aaa9190613575565b60006040518083038185875af1925050503d8060008114612ae7576040519150601f19603f3d011682016040523d82523d6000602084013e612aec565b606091505b5091509150612afc828286612b4c565b979650505050505050565b600081815b845181101561142357612b3882868381518110612b2b57612b2b6132f9565b6020026020010151612b85565b915080612b448161330f565b915050612b0c565b60608315612b5b575081611b71565b825115612b6b5782518084602001fd5b8160405162461bcd60e51b8152600401610e0e9190612cd8565b6000818310612ba1576000828152602084905260409020611b71565b6000838152602083905260409020611b71565b828054612bc090613200565b90600052602060002090601f016020900481019282612be25760008555612c28565b82601f10612bfb57805160ff1916838001178555612c28565b82800160010185558215612c28579182015b82811115612c28578251825591602001919060010190612c0d565b50612c34929150612c38565b5090565b5b80821115612c345760008155600101612c39565b6001600160e01b03198116811461210957600080fd5b600060208284031215612c7557600080fd5b8135611b7181612c4d565b60005b83811015612c9b578181015183820152602001612c83565b83811115611e1c5750506000910152565b60008151808452612cc4816020860160208601612c80565b601f01601f19169290920160200192915050565b602081526000611b716020830184612cac565b600060208284031215612cfd57600080fd5b5035919050565b6001600160a01b038116811461210957600080fd5b60008060408385031215612d2c57600080fd5b8235612d3781612d04565b946020939093013593505050565b801515811461210957600080fd5b600060208284031215612d6557600080fd5b8135611b7181612d45565b600060208284031215612d8257600080fd5b8135611b7181612d04565b600080600060608486031215612da257600080fd5b8335612dad81612d04565b92506020840135612dbd81612d04565b929592945050506040919091013590565b60008060408385031215612de157600080fd5b8235612dec81612d04565b91506020830135612dfc81612d04565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e4557612e45612e07565b604052919050565b60006001600160401b03831115612e6657612e66612e07565b612e79601f8401601f1916602001612e1d565b9050828152838383011115612e8d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612eb657600080fd5b81356001600160401b03811115612ecc57600080fd5b8201601f81018413612edd57600080fd5b611f5d84823560208401612e4d565b60006020808385031215612eff57600080fd5b82356001600160401b0380821115612f1657600080fd5b818501915085601f830112612f2a57600080fd5b813581811115612f3c57612f3c612e07565b8060051b9150612f4d848301612e1d565b8181529183018401918481019088841115612f6757600080fd5b938501935b83851015612f8557843582529385019390850190612f6c565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156116b957612ffc838551612f91565b9284019260809290920191600101612fe9565b6020808252825182820181905260009190848201906040850190845b818110156116b95783518352928401929184019160010161302b565b6000806000806060858703121561305d57600080fd5b843561306881612d04565b93506020850135925060408501356001600160401b038082111561308b57600080fd5b818701915087601f83011261309f57600080fd5b8135818111156130ae57600080fd5b8860208260051b85010111156130c357600080fd5b95989497505060200194505050565b6000806000606084860312156130e757600080fd5b83356130f281612d04565b95602085013595506040909401359392505050565b6000806040838503121561311a57600080fd5b823561312581612d04565b91506020830135612dfc81612d45565b6000806000806080858703121561314b57600080fd5b843561315681612d04565b9350602085013561316681612d04565b92506040850135915060608501356001600160401b0381111561318857600080fd5b8501601f8101871361319957600080fd5b6131a887823560208401612e4d565b91505092959194509250565b60808101610c3b8284612f91565b634e487b7160e01b600052602160045260246000fd5b60208101600583106131fa57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c9082168061321457607f821691505b60208210810361323457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156132f4576132f46132cb565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201613321576133216132cb565b5060010190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6000816000190483118215151615613379576133796132cb565b500290565b6020808252601190820152704e6f7420656e6f756768742066756e647360781b604082015260600190565b6000602082840312156133bb57600080fd5b5051919050565b8054600090600181811c90808316806133dc57607f831692505b602080841082036133fd57634e487b7160e01b600052602260045260246000fd5b81801561341157600181146134225761344f565b60ff1986168952848901965061344f565b60008881526020902060005b868110156134475781548b82015290850190830161342e565b505084890196505b50505050505092915050565b600061346782866133c2565b8451613477818360208901612c80565b612afc818301866133c2565b60008451613495818460208901612c80565b845190830190613477818360208901612c80565b634e487b7160e01b600052601260045260246000fd5b6000826134ce576134ce6134a9565b500490565b6000828210156134e5576134e56132cb565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061351d90830184612cac565b9695505050505050565b60006020828403121561353957600080fd5b8151611b7181612c4d565b600082613553576135536134a9565b500690565b60006020828403121561356a57600080fd5b8151611b7181612d45565b60008251613587818460208701612c80565b919091019291505056fea2646970667358221220d24f729085f20b2d4d800712efcbbd42d40e7eb46b437c0ec511fc27e266396a64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180cb01582405c72d2c79c735202a260f6158436712c24a29db30e6578dc45382dc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000cf2a7aa69f2334314a72fb596ed32cacced806e4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d4a4867726355625a6177744767424842385938774b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d4a4867726355625a6177744767424842385938774b2f00000000000000000000
Deployed Bytecode
0x6080604052600436106103b15760003560e01c806372250380116101e7578063a475b5dd1161010d578063ce7c2ac2116100a0578063e985e9c51161006f578063e985e9c514610b46578063ebcea3db14610b8f578063f2fde38b14610baf578063f8dcbddb14610bcf57600080fd5b8063ce7c2ac214610aa5578063d79779b214610adb578063da3ef23f14610b11578063e33b7de314610b3157600080fd5b8063c45ac050116100dc578063c45ac05014610a29578063c668286214610a49578063c87b56dd14610a5e578063cbccefb214610a7e57600080fd5b8063a475b5dd146109b4578063ac5ae11b146109c9578063b88d4fde146109dc578063c23dc68f146109fc57600080fd5b80639852595c116101855780639b6860c8116101545780639b6860c81461093e578063a0bcfc7f14610954578063a22cb46514610974578063a3f8eace1461099457600080fd5b80639852595c146108a85780639883566e146108de57806399a2557a146108f157806399d138001461091157600080fd5b80638da5cb5b116101c15780638da5cb5b1461084c5780639147dd1b1461086a578063954dc3e31461088057806395d89b411461089357600080fd5b806372250380146107ea5780638462151c146107ff5780638b83209b1461082c57600080fd5b80633f5fbad0116102d75780635bbb21771161026a5780636c0360eb116102395780636c0360eb146107735780636df5c32d1461078857806370a08231146107b5578063715018a6146107d557600080fd5b80635bbb2177146106f25780635be7fde81461071f5780635c975abb146107345780636352211e1461075357600080fd5b806350c6fbdc116102a657806350c6fbdc146106825780635183022714610698578063525f8a5c146106b25780635accac99146106d257600080fd5b80633f5fbad0146105dc578063406072a9146105fc57806342842e0e1461064257806348b750441461066257600080fd5b8063191655871161034f57806323b872dd1161031e57806323b872dd1461057c5780632eb4a7ab1461059c5780633a98ef39146105b25780633ccfd60b146105c757600080fd5b806319165587146105065780631cbaee2d146105265780631dcfab391461053c5780632118eda21461055c57600080fd5b8063095ea7b31161038b578063095ea7b31461048e57806312065fe0146104b057806316c38b3c146104cd57806318160ddd146104ed57600080fd5b806301ffc9a7146103ff57806306fdde0314610434578063081812fc1461045657600080fd5b366103fa577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561040b57600080fd5b5061041f61041a366004612c63565b610bef565b60405190151581526020015b60405180910390f35b34801561044057600080fd5b50610449610c41565b60405161042b9190612cd8565b34801561046257600080fd5b50610476610471366004612ceb565b610cd3565b6040516001600160a01b03909116815260200161042b565b34801561049a57600080fd5b506104ae6104a9366004612d19565b610d17565b005b3480156104bc57600080fd5b50475b60405190815260200161042b565b3480156104d957600080fd5b506104ae6104e8366004612d53565b610db7565b3480156104f957600080fd5b50600254600154036104bf565b34801561051257600080fd5b506104ae610521366004612d70565b610dd9565b34801561053257600080fd5b506104bf601b5481565b34801561054857600080fd5b506104ae610557366004612ceb565b610edb565b34801561056857600080fd5b506104ae610577366004612d19565b610ee8565b34801561058857600080fd5b506104ae610597366004612d8d565b610f5c565b3480156105a857600080fd5b506104bf60145481565b3480156105be57600080fd5b50600a546104bf565b3480156105d357600080fd5b506104ae6110f4565b3480156105e857600080fd5b506104ae6105f7366004612ceb565b6111e6565b34801561060857600080fd5b506104bf610617366004612dce565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b34801561064e57600080fd5b506104ae61065d366004612d8d565b6111f3565b34801561066e57600080fd5b506104ae61067d366004612dce565b611213565b34801561068e57600080fd5b506104bf60175481565b3480156106a457600080fd5b5060185461041f9060ff1681565b3480156106be57600080fd5b506104ae6106cd366004612ceb565b611336565b3480156106de57600080fd5b506104ae6106ed366004612ea4565b611343565b3480156106fe57600080fd5b5061071261070d366004612eec565b61135e565b60405161042b9190612fcd565b34801561072b57600080fd5b506104ae61142b565b34801561074057600080fd5b5060185461041f90610100900460ff1681565b34801561075f57600080fd5b5061047661076e366004612ceb565b6114b5565b34801561077f57600080fd5b506104496114c0565b34801561079457600080fd5b506104bf6107a3366004612d70565b601d6020526000908152604090205481565b3480156107c157600080fd5b506104bf6107d0366004612d70565b61154e565b3480156107e157600080fd5b506104ae61159c565b3480156107f657600080fd5b506104496115b0565b34801561080b57600080fd5b5061081f61081a366004612d70565b6115bd565b60405161042b919061300f565b34801561083857600080fd5b50610476610847366004612ceb565b6116c5565b34801561085857600080fd5b506000546001600160a01b0316610476565b34801561087657600080fd5b506104bf60155481565b6104ae61088e366004613047565b6116f5565b34801561089f57600080fd5b50610449611880565b3480156108b457600080fd5b506104bf6108c3366004612d70565b6001600160a01b03166000908152600d602052604090205490565b6104ae6108ec366004612d19565b61188f565b3480156108fd57600080fd5b5061081f61090c3660046130d2565b6119ff565b34801561091d57600080fd5b506104bf61092c366004612d70565b601c6020526000908152604090205481565b34801561094a57600080fd5b506104bf60165481565b34801561096057600080fd5b506104ae61096f366004612ea4565b611b78565b34801561098057600080fd5b506104ae61098f366004613107565b611b93565b3480156109a057600080fd5b506104bf6109af366004612d70565b611c28565b3480156109c057600080fd5b506104ae611c69565b6104ae6109d7366004612d19565b611c80565b3480156109e857600080fd5b506104ae6109f7366004613135565b611dd8565b348015610a0857600080fd5b50610a1c610a17366004612ceb565b611e22565b60405161042b91906131b4565b348015610a3557600080fd5b506104bf610a44366004612dce565b611e9a565b348015610a5557600080fd5b50610449611f65565b348015610a6a57600080fd5b50610449610a79366004612ceb565b611f72565b348015610a8a57600080fd5b50601354610a989060ff1681565b60405161042b91906131d8565b348015610ab157600080fd5b506104bf610ac0366004612d70565b6001600160a01b03166000908152600c602052604090205490565b348015610ae757600080fd5b506104bf610af6366004612d70565b6001600160a01b03166000908152600f602052604090205490565b348015610b1d57600080fd5b506104ae610b2c366004612ea4565b61206b565b348015610b3d57600080fd5b50600b546104bf565b348015610b5257600080fd5b5061041f610b61366004612dce565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610b9b57600080fd5b506104ae610baa366004612ceb565b612086565b348015610bbb57600080fd5b506104ae610bca366004612d70565b612093565b348015610bdb57600080fd5b506104ae610bea366004612ceb565b61210c565b60006301ffc9a760e01b6001600160e01b031983161480610c2057506380ac58cd60e01b6001600160e01b03198316145b80610c3b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610c5090613200565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7c90613200565b8015610cc95780601f10610c9e57610100808354040283529160200191610cc9565b820191906000526020600020905b815481529060010190602001808311610cac57829003601f168201915b5050505050905090565b6000610cde82612153565b610cfb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610d22826114b5565b9050336001600160a01b03821614610d5b57610d3e8133610b61565b610d5b576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610dbf61217b565b601880549115156101000261ff0019909216919091179055565b6001600160a01b0381166000908152600c6020526040902054610e175760405162461bcd60e51b8152600401610e0e9061323a565b60405180910390fd5b6000610e2282611c28565b905080600003610e445760405162461bcd60e51b8152600401610e0e90613280565b6001600160a01b0382166000908152600d602052604081208054839290610e6c9084906132e1565b9250508190555080600b6000828254610e8591906132e1565b90915550610e95905082826121d5565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610ee361217b565b601655565b610ef061217b565b61271081610f016002546001540390565b610f0b91906132e1565b1115610f4e5760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610e0e565b610f5882826122ee565b5050565b6000610f6782612308565b9050836001600160a01b0316816001600160a01b031614610f9a5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610fe757610fca8633610b61565b610fe757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100e57604051633a954ecd60e21b815260040160405180910390fd5b801561101957600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036110ab576001840160008181526005602052604081205490036110a95760015481146110a95760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6110fc61217b565b60026009540361114e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e0e565b6002600955604051600090339047908381818185875af1925050503d8060008114611195576040519150601f19603f3d011682016040523d82523d6000602084013e61119a565b606091505b50509050806111de5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610e0e565b506001600955565b6111ee61217b565b601555565b61120e83838360405180602001604052806000815250611dd8565b505050565b6001600160a01b0381166000908152600c60205260409020546112485760405162461bcd60e51b8152600401610e0e9061323a565b60006112548383611e9a565b9050806000036112765760405162461bcd60e51b8152600401610e0e90613280565b6001600160a01b038084166000908152601060209081526040808320938616835292905290812080548392906112ad9084906132e1565b90915550506001600160a01b0383166000908152600f6020526040812080548392906112da9084906132e1565b909155506112eb905083838361236f565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b61133e61217b565b601b55565b61134b61217b565b8051610f58906012906020840190612bb4565b80516060906000816001600160401b0381111561137d5761137d612e07565b6040519080825280602002602001820160405280156113cf57816020015b60408051608081018252600080825260208083018290529282018190526060820152825260001990920191018161139b5790505b50905060005b828114611423576113fe8582815181106113f1576113f16132f9565b6020026020010151611e22565b828281518110611410576114106132f9565b60209081029190910101526001016113d5565b509392505050565b61143361217b565b6002600954036114855760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e0e565b600260095560005b601e548110156111de576114a3610521826116c5565b806114ad8161330f565b91505061148d565b6000610c3b82612308565b601180546114cd90613200565b80601f01602080910402602001604051908101604052809291908181526020018280546114f990613200565b80156115465780601f1061151b57610100808354040283529160200191611546565b820191906000526020600020905b81548152906001019060200180831161152957829003601f168201915b505050505081565b60006001600160a01b038216611577576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6115a461217b565b6115ae60006123c1565b565b601280546114cd90613200565b606060008060006115cd8561154e565b90506000816001600160401b038111156115e9576115e9612e07565b604051908082528060200260200182016040528015611612578160200160208202803683370190505b50905061163f60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b8386146116b95761165281612411565b915081604001516116b15781516001600160a01b03161561167257815194505b876001600160a01b0316856001600160a01b0316036116b157808387806001019850815181106116a4576116a46132f9565b6020026020010181815250505b600101611642565b50909695505050505050565b6000600e82815481106116da576116da6132f9565b6000918252602090912001546001600160a01b031692915050565b3233146117145760405162461bcd60e51b8152600401610e0e90613328565b60155460008190036117555760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610e0e565b61176033848461244d565b61179e5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610e0e565b336000908152601c6020526040902054600a906117bc9086906132e1565b11156118215760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e206f6e6c7920676574203130204e465473206f6e207468652060448201526d57686974656c6973742053616c6560901b6064820152608401610e0e565b61182b848261335f565b34101561184a5760405162461bcd60e51b8152600401610e0e9061337e565b336000908152601c6020526040812080548692906118699084906132e1565b90915550611879905085856122ee565b5050505050565b606060048054610c5090613200565b3233146118ae5760405162461bcd60e51b8152600401610e0e90613328565b601754336000908152601d60205260409020546001906118cf9084906132e1565b111561192d5760405162461bcd60e51b815260206004820152602760248201527f596f752063616e206f6e6c79206765742031204e4654206f6e20746865204672604482015266195948135a5b9d60ca1b6064820152608401610e0e565b61012c8261193e6002546001540390565b61194891906132e1565b11156119a75760405162461bcd60e51b815260206004820152602860248201527f54686572652773206e6f206d6f726520737570706c7920666f722074686520466044820152671c995948135a5b9d60c21b6064820152608401610e0e565b6119b1828261335f565b3410156119d05760405162461bcd60e51b8152600401610e0e9061337e565b336000908152601d6020526040812080548492906119ef9084906132e1565b9091555061120e905083836122ee565b6060818310611a2157604051631960ccad60e11b815260040160405180910390fd5b600080611a2d60015490565b905080841115611a3b578093505b6000611a468761154e565b905084861015611a655785850381811015611a5f578091505b50611a69565b5060005b6000816001600160401b03811115611a8357611a83612e07565b604051908082528060200260200182016040528015611aac578160200160208202803683370190505b50905081600003611ac2579350611b7192505050565b6000611acd88611e22565b905060008160400151611ade575080515b885b888114158015611af05750848714155b15611b6557611afe81612411565b92508260400151611b5d5782516001600160a01b031615611b1e57825191505b8a6001600160a01b0316826001600160a01b031603611b5d5780848880600101995081518110611b5057611b506132f9565b6020026020010181815250505b600101611ae0565b50505092835250909150505b9392505050565b611b8061217b565b8051610f58906011906020840190612bb4565b336001600160a01b03831603611bbc5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611c34600b5490565b611c3e90476132e1565b9050611b718382611c64866001600160a01b03166000908152600d602052604090205490565b6124ce565b611c7161217b565b6018805460ff19166001179055565b323314611c9f5760405162461bcd60e51b8152600401610e0e90613328565b6016546000819003611ce05760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610e0e565b600260135460ff166004811115611cf957611cf96131c2565b14611d465760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610e0e565b61271082611d576002546001540390565b611d6191906132e1565b1115611da55760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610e0e565b611daf828261335f565b341015611dce5760405162461bcd60e51b8152600401610e0e9061337e565b61120e83836122ee565b611de3848484610f5c565b6001600160a01b0383163b15611e1c57611dff8484848461250c565b611e1c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506001548310611e765792915050565b611e7f83612411565b9050806040015115611e915792915050565b611b71836125f7565b6001600160a01b0382166000908152600f602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1d91906133a9565b611f2791906132e1565b6001600160a01b03808616600090815260106020908152604080832093881683529290522054909150611f5d90849083906124ce565b949350505050565b601980546114cd90613200565b6060611f7d82612153565b611fc95760405162461bcd60e51b815260206004820152601760248201527f54686973204e465420646f65736e27742065786973742e0000000000000000006044820152606401610e0e565b60185460ff16151560000361200d576012611fe38361262c565b6019604051602001611ff79392919061345b565b6040516020818303038152906040529050919050565b600061201761272c565b905060008151116120375760405180602001604052806000815250611b71565b806120418461262c565b601960405160200161205593929190613483565b6040516020818303038152906040529392505050565b61207361217b565b8051610f58906019906020840190612bb4565b61208e61217b565b601455565b61209b61217b565b6001600160a01b0381166121005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e0e565b612109816123c1565b50565b61211461217b565b806004811115612126576121266131c2565b6013805460ff19166001836004811115612142576121426131c2565b021790555050565b80546001019055565b600060015482108015610c3b575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b031633146115ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e0e565b804710156122255760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e0e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612272576040519150601f19603f3d011682016040523d82523d6000602084013e612277565b606091505b505090508061120e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e0e565b610f58828260405180602001604052806000815250612743565b6000816001548110156123565760008181526005602052604081205490600160e01b82169003612354575b80600003611b71575060001901600081815260056020526040902054612333565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261120e9084906127a9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260056020526040902054610c3b9061287b565b6000611f5d612495856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128c292505050565b600a546001600160a01b0384166000908152600c6020526040812054909183916124f8908661335f565b61250291906134bf565b611f5d91906134d3565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906125419033908990889088906004016134ea565b6020604051808303816000875af192505050801561257c575060408051601f3d908101601f1916820190925261257991810190613527565b60015b6125da573d8080156125aa576040519150601f19603f3d011682016040523d82523d6000602084013e6125af565b606091505b5080516000036125d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610c3b61262783612308565b61287b565b6060816000036126535750506040805180820190915260018152600360fc1b602082015290565b8160005b811561267d57806126678161330f565b91506126769050600a836134bf565b9150612657565b6000816001600160401b0381111561269757612697612e07565b6040519080825280601f01601f1916602001820160405280156126c1576020820181803683370190505b5090505b8415611f5d576126d66001836134d3565b91506126e3600a86613544565b6126ee9060306132e1565b60f81b818381518110612703576127036132f9565b60200101906001600160f81b031916908160001a905350612725600a866134bf565b94506126c5565b606061273661217b565b60118054610c5090613200565b61274d83836128d1565b6001600160a01b0383163b1561120e576001548281035b612777600086838060010194508661250c565b612794576040516368d2bf6b60e11b815260040160405180910390fd5b81811061276457816001541461187957600080fd5b60006127fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129b19092919063ffffffff16565b80519091501561120e578080602001905181019061281c9190613558565b61120e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610e0e565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611b7182601454856129c0565b6001546001600160a01b0383166128fa57604051622e076360e81b815260040160405180910390fd5b8160000361291b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106129655760015550505050565b6060611f5d84846000856129d6565b6000826129cd8584612b07565b14949350505050565b606082471015612a375760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610e0e565b6001600160a01b0385163b612a8e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e0e565b600080866001600160a01b03168587604051612aaa9190613575565b60006040518083038185875af1925050503d8060008114612ae7576040519150601f19603f3d011682016040523d82523d6000602084013e612aec565b606091505b5091509150612afc828286612b4c565b979650505050505050565b600081815b845181101561142357612b3882868381518110612b2b57612b2b6132f9565b6020026020010151612b85565b915080612b448161330f565b915050612b0c565b60608315612b5b575081611b71565b825115612b6b5782518084602001fd5b8160405162461bcd60e51b8152600401610e0e9190612cd8565b6000818310612ba1576000828152602084905260409020611b71565b6000838152602083905260409020611b71565b828054612bc090613200565b90600052602060002090601f016020900481019282612be25760008555612c28565b82601f10612bfb57805160ff1916838001178555612c28565b82800160010185558215612c28579182015b82811115612c28578251825591602001919060010190612c0d565b50612c34929150612c38565b5090565b5b80821115612c345760008155600101612c39565b6001600160e01b03198116811461210957600080fd5b600060208284031215612c7557600080fd5b8135611b7181612c4d565b60005b83811015612c9b578181015183820152602001612c83565b83811115611e1c5750506000910152565b60008151808452612cc4816020860160208601612c80565b601f01601f19169290920160200192915050565b602081526000611b716020830184612cac565b600060208284031215612cfd57600080fd5b5035919050565b6001600160a01b038116811461210957600080fd5b60008060408385031215612d2c57600080fd5b8235612d3781612d04565b946020939093013593505050565b801515811461210957600080fd5b600060208284031215612d6557600080fd5b8135611b7181612d45565b600060208284031215612d8257600080fd5b8135611b7181612d04565b600080600060608486031215612da257600080fd5b8335612dad81612d04565b92506020840135612dbd81612d04565b929592945050506040919091013590565b60008060408385031215612de157600080fd5b8235612dec81612d04565b91506020830135612dfc81612d04565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612e4557612e45612e07565b604052919050565b60006001600160401b03831115612e6657612e66612e07565b612e79601f8401601f1916602001612e1d565b9050828152838383011115612e8d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612eb657600080fd5b81356001600160401b03811115612ecc57600080fd5b8201601f81018413612edd57600080fd5b611f5d84823560208401612e4d565b60006020808385031215612eff57600080fd5b82356001600160401b0380821115612f1657600080fd5b818501915085601f830112612f2a57600080fd5b813581811115612f3c57612f3c612e07565b8060051b9150612f4d848301612e1d565b8181529183018401918481019088841115612f6757600080fd5b938501935b83851015612f8557843582529385019390850190612f6c565b98975050505050505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156116b957612ffc838551612f91565b9284019260809290920191600101612fe9565b6020808252825182820181905260009190848201906040850190845b818110156116b95783518352928401929184019160010161302b565b6000806000806060858703121561305d57600080fd5b843561306881612d04565b93506020850135925060408501356001600160401b038082111561308b57600080fd5b818701915087601f83011261309f57600080fd5b8135818111156130ae57600080fd5b8860208260051b85010111156130c357600080fd5b95989497505060200194505050565b6000806000606084860312156130e757600080fd5b83356130f281612d04565b95602085013595506040909401359392505050565b6000806040838503121561311a57600080fd5b823561312581612d04565b91506020830135612dfc81612d45565b6000806000806080858703121561314b57600080fd5b843561315681612d04565b9350602085013561316681612d04565b92506040850135915060608501356001600160401b0381111561318857600080fd5b8501601f8101871361319957600080fd5b6131a887823560208401612e4d565b91505092959194509250565b60808101610c3b8284612f91565b634e487b7160e01b600052602160045260246000fd5b60208101600583106131fa57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c9082168061321457607f821691505b60208210810361323457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156132f4576132f46132cb565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201613321576133216132cb565b5060010190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6000816000190483118215151615613379576133796132cb565b500290565b6020808252601190820152704e6f7420656e6f756768742066756e647360781b604082015260600190565b6000602082840312156133bb57600080fd5b5051919050565b8054600090600181811c90808316806133dc57607f831692505b602080841082036133fd57634e487b7160e01b600052602260045260246000fd5b81801561341157600181146134225761344f565b60ff1986168952848901965061344f565b60008881526020902060005b868110156134475781548b82015290850190830161342e565b505084890196505b50505050505092915050565b600061346782866133c2565b8451613477818360208901612c80565b612afc818301866133c2565b60008451613495818460208901612c80565b845190830190613477818360208901612c80565b634e487b7160e01b600052601260045260246000fd5b6000826134ce576134ce6134a9565b500490565b6000828210156134e5576134e56132cb565b500390565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061351d90830184612cac565b9695505050505050565b60006020828403121561353957600080fd5b8151611b7181612c4d565b600082613553576135536134a9565b500690565b60006020828403121561356a57600080fd5b8151611b7181612d45565b60008251613587818460208701612c80565b919091019291505056fea2646970667358221220d24f729085f20b2d4d800712efcbbd42d40e7eb46b437c0ec511fc27e266396a64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180cb01582405c72d2c79c735202a260f6158436712c24a29db30e6578dc45382dc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000cf2a7aa69f2334314a72fb596ed32cacced806e4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d4a4867726355625a6177744767424842385938774b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d4a4867726355625a6177744767424842385938774b2f00000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0xCf2a7aA69f2334314a72fB596ed32CACcED806e4
Arg [1] : _teamShares (uint256[]): 100
Arg [2] : _theBaseURI (string): ipfs://QmaRRoDA65WEoH8n12xmaWGCMJHgrcUbZawtGgBHB8Y8wK/
Arg [3] : _theNotRevealedURI (string): ipfs://QmaRRoDA65WEoH8n12xmaWGCMJHgrcUbZawtGgBHB8Y8wK/
Arg [4] : _merkleRoot (bytes32): 0xcb01582405c72d2c79c735202a260f6158436712c24a29db30e6578dc45382dc
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : cb01582405c72d2c79c735202a260f6158436712c24a29db30e6578dc45382dc
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 000000000000000000000000cf2a7aa69f2334314a72fb596ed32cacced806e4
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d
Arg [11] : 4a4867726355625a6177744767424842385938774b2f00000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [13] : 697066733a2f2f516d6152526f4441363557456f48386e3132786d615747434d
Arg [14] : 4a4867726355625a6177744767424842385938774b2f00000000000000000000
Deployed Bytecode Sourcemap
107040:6283:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91519:40;88020:10;91519:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;91549:9:0;270:2:1;255:18;;248:34;161:18;91519:40:0;;;;;;;107040:6283;;;;;14615:615;;;;;;;;;;-1:-1:-1;14615:615:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;14615:615:0;;;;;;;;20262:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22208:204::-;;;;;;;;;;-1:-1:-1;22208:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1971:32:1;;;1953:51;;1941:2;1926:18;22208:204:0;1807:203:1;21756:386:0;;;;;;;;;;-1:-1:-1;21756:386:0;;;;;:::i;:::-;;:::i;:::-;;108656:96;;;;;;;;;;-1:-1:-1;108723:21:0;108656:96;;;2617:25:1;;;2605:2;2590:18;108656:96:0;2471:177:1;108883:87:0;;;;;;;;;;-1:-1:-1;108883:87:0;;;;;:::i;:::-;;:::i;13669:315::-;;;;;;;;;;-1:-1:-1;13935:12:0;;13919:13;;:28;13669:315;;94040:453;;;;;;;;;;-1:-1:-1;94040:453:0;;;;;:::i;:::-;;:::i;107877:38::-;;;;;;;;;;;;;;;;109100:120;;;;;;;;;;-1:-1:-1;109100:120:0;;;;;:::i;:::-;;:::i;111709:191::-;;;;;;;;;;-1:-1:-1;111709:191:0;;;;;:::i;:::-;;:::i;31473:2800::-;;;;;;;;;;-1:-1:-1;31473:2800:0;;;;;:::i;:::-;;:::i;107445:25::-;;;;;;;;;;;;;;;;91650:91;;;;;;;;;;-1:-1:-1;91721:12:0;;91650:91;;113132:186;;;;;;;;;;;;;:::i;108978:114::-;;;;;;;;;;-1:-1:-1;108978:114:0;;;;;:::i;:::-;;:::i;92779:135::-;;;;;;;;;;-1:-1:-1;92779:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;92876:21:0;;;92849:7;92876:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;92779:135;23098:185;;;;;;;;;;-1:-1:-1;23098:185:0;;;;;:::i;:::-;;:::i;94761:514::-;;;;;;;;;;-1:-1:-1;94761:514:0;;;;;:::i;:::-;;:::i;107669:32::-;;;;;;;;;;;;;;;;107712:28;;;;;;;;;;-1:-1:-1;107712:28:0;;;;;;;;109228:115;;;;;;;;;;-1:-1:-1;109228:115:0;;;;;:::i;:::-;;:::i;109463:127::-;;;;;;;;;;-1:-1:-1;109463:127:0;;;;;:::i;:::-;;:::i;48805:468::-;;;;;;;;;;-1:-1:-1;48805:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;112959:163::-;;;;;;;;;;;;;:::i;107749:26::-;;;;;;;;;;-1:-1:-1;107749:26:0;;;;;;;;;;;20051:144;;;;;;;;;;-1:-1:-1;20051:144:0;;;;;:::i;:::-;;:::i;107346:21::-;;;;;;;;;;;;;:::i;107995:58::-;;;;;;;;;;-1:-1:-1;107995:58:0;;;;;:::i;:::-;;;;;;;;;;;;;;15294:224;;;;;;;;;;-1:-1:-1;15294:224:0;;;;;:::i;:::-;;:::i;100911:103::-;;;;;;;;;;;;;:::i;107376:28::-;;;;;;;;;;;;;:::i;52617:892::-;;;;;;;;;;-1:-1:-1;52617:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;93005:100::-;;;;;;;;;;-1:-1:-1;93005:100:0;;;;;:::i;:::-;;:::i;100263:87::-;;;;;;;;;;-1:-1:-1;100309:7:0;100336:6;-1:-1:-1;;;;;100336:6:0;100263:87;;107571:37;;;;;;;;;;;;;;;;110647:588;;;;;;:::i;:::-;;:::i;20431:104::-;;;;;;;;;;;;;:::i;92501:109::-;;;;;;;;;;-1:-1:-1;92501:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;92584:18:0;92557:7;92584:18;;;:9;:18;;;;;;;92501:109;110136:499;;;;;;:::i;:::-;;:::i;49663:2505::-;;;;;;;;;;-1:-1:-1;49663:2505:0;;;;;:::i;:::-;;:::i;107924:64::-;;;;;;;;;;-1:-1:-1;107924:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;107618:42;;;;;;;;;;;;;;;;109351:106;;;;;;;;;;-1:-1:-1;109351:106:0;;;;;:::i;:::-;;:::i;22484:308::-;;;;;;;;;;-1:-1:-1;22484:308:0;;;;;:::i;:::-;;:::i;93195:225::-;;;;;;;;;;-1:-1:-1;93195:225:0;;;;;:::i;:::-;;:::i;109727:70::-;;;;;;;;;;;;;:::i;111248:455::-;;;;;;:::i;:::-;;:::i;23354:399::-;;;;;;;;;;-1:-1:-1;23354:399:0;;;;;:::i;:::-;;:::i;48226:420::-;;;;;;;;;;-1:-1:-1;48226:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;93580:260::-;;;;;;;;;;-1:-1:-1;93580:260:0;;;;;:::i;:::-;;:::i;107784:37::-;;;;;;;;;;;;;:::i;112380:569::-;;;;;;;;;;-1:-1:-1;112380:569:0;;;;;:::i;:::-;;:::i;107413:23::-;;;;;;;;;;-1:-1:-1;107413:23:0;;;;;;;;;;;;;;;:::i;92297:105::-;;;;;;;;;;-1:-1:-1;92297:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;92378:16:0;92351:7;92378:16;;;:7;:16;;;;;;;92297:105;92087:119;;;;;;;;;;-1:-1:-1;92087:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;92172:26:0;92145:7;92172:26;;;:19;:26;;;;;;;92087:119;109597:124;;;;;;;;;;-1:-1:-1;109597:124:0;;;;;:::i;:::-;;:::i;91835:95::-;;;;;;;;;;-1:-1:-1;91908:14:0;;91835:95;;22863:164;;;;;;;;;;-1:-1:-1;22863:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;22984:25:0;;;22960:4;22984:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22863:164;108760:115;;;;;;;;;;-1:-1:-1;108760:115:0;;;;;:::i;:::-;;:::i;101169:201::-;;;;;;;;;;-1:-1:-1;101169:201:0;;;;;:::i;:::-;;:::i;110036:92::-;;;;;;;;;;-1:-1:-1;110036:92:0;;;;;:::i;:::-;;:::i;14615:615::-;14700:4;-1:-1:-1;;;;;;;;;15000:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15077:25:0;;;15000:102;:179;;;-1:-1:-1;;;;;;;;;;15154:25:0;;;15000:179;14980:199;14615:615;-1:-1:-1;;14615:615:0:o;20262:100::-;20316:13;20349:5;20342:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20262:100;:::o;22208:204::-;22276:7;22301:16;22309:7;22301;:16::i;:::-;22296:64;;22326:34;;-1:-1:-1;;;22326:34:0;;;;;;;;;;;22296:64;-1:-1:-1;22380:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22380:24:0;;22208:204::o;21756:386::-;21829:13;21845:16;21853:7;21845;:16::i;:::-;21829:32;-1:-1:-1;88020:10:0;-1:-1:-1;;;;;21878:28:0;;;21874:175;;21926:44;21943:5;88020:10;22863:164;:::i;21926:44::-;21921:128;;21998:35;;-1:-1:-1;;;21998:35:0;;;;;;;;;;;21921:128;22061:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22061:29:0;-1:-1:-1;;;;;22061:29:0;;;;;;;;;22106:28;;22061:24;;22106:28;;;;;;;21818:324;21756:386;;:::o;108883:87::-;100149:13;:11;:13::i;:::-;108946:6:::1;:16:::0;;;::::1;;;;-1:-1:-1::0;;108946:16:0;;::::1;::::0;;;::::1;::::0;;108883:87::o;94040:453::-;-1:-1:-1;;;;;94116:16:0;;94135:1;94116:16;;;:7;:16;;;;;;94108:71;;;;-1:-1:-1;;;94108:71:0;;;;;;;:::i;:::-;;;;;;;;;94192:15;94210:19;94221:7;94210:10;:19::i;:::-;94192:37;;94250:7;94261:1;94250:12;94242:68;;;;-1:-1:-1;;;94242:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;94323:18:0;;;;;;:9;:18;;;;;:29;;94345:7;;94323:18;:29;;94345:7;;94323:29;:::i;:::-;;;;;;;;94381:7;94363:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;94401:35:0;;-1:-1:-1;94419:7:0;94428;94401:17;:35::i;:::-;94452:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;94452:33:0;;161:18:1;94452:33:0;;;;;;;94097:396;94040:453;:::o;109100:120::-;100149:13;:11;:13::i;:::-;109178:15:::1;:34:::0;109100:120::o;111709:191::-;100149:13;:11;:13::i;:::-;107514:5:::1;111810:9;111794:13;13935:12:::0;;13919:13;;:28;;13669:315;111794:13:::1;:25;;;;:::i;:::-;:39;;111786:70;;;::::0;-1:-1:-1;;;111786:70:0;;14476:2:1;111786:70:0::1;::::0;::::1;14458:21:1::0;14515:2;14495:18;;;14488:30;-1:-1:-1;;;14534:18:1;;;14527:48;14592:18;;111786:70:0::1;14274:342:1::0;111786:70:0::1;111867:25;111877:3;111882:9;111867;:25::i;:::-;111709:191:::0;;:::o;31473:2800::-;31607:27;31637;31656:7;31637:18;:27::i;:::-;31607:57;;31722:4;-1:-1:-1;;;;;31681:45:0;31697:19;-1:-1:-1;;;;;31681:45:0;;31677:86;;31735:28;;-1:-1:-1;;;31735:28:0;;;;;;;;;;;31677:86;31777:27;30203:21;;;30030:15;30245:4;30238:36;30327:4;30311:21;;30417:26;;88020:10;31170:30;;;-1:-1:-1;;;;;30868:26:0;;31149:19;;;31146:55;31956:174;;32043:43;32060:4;88020:10;22863:164;:::i;32043:43::-;32038:92;;32095:35;;-1:-1:-1;;;32095:35:0;;;;;;;;;;;32038:92;-1:-1:-1;;;;;32147:16:0;;32143:52;;32172:23;;-1:-1:-1;;;32172:23:0;;;;;;;;;;;32143:52;32344:15;32341:160;;;32484:1;32463:19;32456:30;32341:160;-1:-1:-1;;;;;32879:24:0;;;;;;;:18;:24;;;;;;32877:26;;-1:-1:-1;;32877:26:0;;;32948:22;;;;;;;;;32946:24;;-1:-1:-1;32946:24:0;;;19950:11;19926:22;19922:40;19909:62;-1:-1:-1;;;19909:62:0;33241:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;33535:46:0;;:51;;33531:626;;33639:1;33629:11;;33607:19;33762:30;;;:17;:30;;;;;;:35;;33758:384;;33900:13;;33885:11;:28;33881:242;;34047:30;;;;:17;:30;;;;;:52;;;33881:242;33588:569;33531:626;34204:7;34200:2;-1:-1:-1;;;;;34185:27:0;34194:4;-1:-1:-1;;;;;34185:27:0;;;;;;;;;;;31596:2677;;;31473:2800;;;:::o;113132:186::-;100149:13;:11;:13::i;:::-;75092:1:::1;75690:7;;:19:::0;75682:63:::1;;;::::0;-1:-1:-1;;;75682:63:0;;14823:2:1;75682:63:0::1;::::0;::::1;14805:21:1::0;14862:2;14842:18;;;14835:30;14901:33;14881:18;;;14874:61;14952:18;;75682:63:0::1;14621:355:1::0;75682:63:0::1;75092:1;75823:7;:18:::0;113214:49:::2;::::0;113196:12:::2;::::0;113214:10:::2;::::0;113237:21:::2;::::0;113196:12;113214:49;113196:12;113214:49;113237:21;113214:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113195:68;;;113282:7;113274:36;;;::::0;-1:-1:-1;;;113274:36:0;;15393:2:1;113274:36:0::2;::::0;::::2;15375:21:1::0;15432:2;15412:18;;;15405:30;-1:-1:-1;;;15451:18:1;;;15444:46;15507:18;;113274:36:0::2;15191:340:1::0;113274:36:0::2;-1:-1:-1::0;75048:1:0::1;76002:7;:22:::0;113132:186::o;108978:114::-;100149:13;:11;:13::i;:::-;109056:12:::1;:28:::0;108978:114::o;23098:185::-;23236:39;23253:4;23259:2;23263:7;23236:39;;;;;;;;;;;;:16;:39::i;:::-;23098:185;;;:::o;94761:514::-;-1:-1:-1;;;;;94843:16:0;;94862:1;94843:16;;;:7;:16;;;;;;94835:71;;;;-1:-1:-1;;;94835:71:0;;;;;;;:::i;:::-;94919:15;94937:26;94948:5;94955:7;94937:10;:26::i;:::-;94919:44;;94984:7;94995:1;94984:12;94976:68;;;;-1:-1:-1;;;94976:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;95057:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;95091:7;;95057:21;:41;;95091:7;;95057:41;:::i;:::-;;;;-1:-1:-1;;;;;;;95109:26:0;;;;;;:19;:26;;;;;:37;;95139:7;;95109:26;:37;;95139:7;;95109:37;:::i;:::-;;;;-1:-1:-1;95159:47:0;;-1:-1:-1;95182:5:0;95189:7;95198;95159:22;:47::i;:::-;95222:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;95222:45:0;;;;;161:18:1;95222:45:0;;;;;;;94824:451;94761:514;;:::o;109228:115::-;100149:13;:11;:13::i;:::-;109305::::1;:30:::0;109228:115::o;109463:127::-;100149:13;:11;:13::i;:::-;109549:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;48805:468::-:0;48980:15;;48894:23;;48955:22;48980:15;-1:-1:-1;;;;;49047:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49047:36:0;;-1:-1:-1;;49047:36:0;;;;;;;;;;;;49010:73;;49103:9;49098:125;49119:14;49114:1;:19;49098:125;;49175:32;49195:8;49204:1;49195:11;;;;;;;;:::i;:::-;;;;;;;49175:19;:32::i;:::-;49159:10;49170:1;49159:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;49135:3;;49098:125;;;-1:-1:-1;49244:10:0;48805:468;-1:-1:-1;;;48805:468:0:o;112959:163::-;100149:13;:11;:13::i;:::-;75092:1:::1;75690:7;;:19:::0;75682:63:::1;;;::::0;-1:-1:-1;;;75682:63:0;;14823:2:1;75682:63:0::1;::::0;::::1;14805:21:1::0;14862:2;14842:18;;;14835:30;14901:33;14881:18;;;14874:61;14952:18;;75682:63:0::1;14621:355:1::0;75682:63:0::1;75092:1;75823:7;:18:::0;113027:6:::2;113023:92;113044:10;;113040:1;:14;113023:92;;;113077:26;113093:8;113099:1;113093:5;:8::i;113077:26::-;113057:3:::0;::::2;::::0;::::2;:::i;:::-;;;;113023:92;;20051:144:::0;20115:7;20158:27;20177:7;20158:18;:27::i;107346:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15294:224::-;15358:7;-1:-1:-1;;;;;15382:19:0;;15378:60;;15410:28;;-1:-1:-1;;;15410:28:0;;;;;;;;;;;15378:60;-1:-1:-1;;;;;;15456:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;15456:54:0;;15294:224::o;100911:103::-;100149:13;:11;:13::i;:::-;100976:30:::1;101003:1;100976:18;:30::i;:::-;100911:103::o:0;107376:28::-;;;;;;;:::i;52617:892::-;52687:16;52741:19;52775:25;52815:22;52840:16;52850:5;52840:9;:16::i;:::-;52815:41;;52871:25;52913:14;-1:-1:-1;;;;;52899:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52899:29:0;;52871:57;;52943:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52943:31:0;52994:9;52989:472;53038:14;53023:11;:29;52989:472;;53090:15;53103:1;53090:12;:15::i;:::-;53078:27;;53128:9;:16;;;53169:8;53124:73;53219:14;;-1:-1:-1;;;;;53219:28:0;;53215:111;;53292:14;;;-1:-1:-1;53215:111:0;53369:5;-1:-1:-1;;;;;53348:26:0;:17;-1:-1:-1;;;;;53348:26:0;;53344:102;;53425:1;53399:8;53408:13;;;;;;53399:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;53344:102;53054:3;;52989:472;;;-1:-1:-1;53482:8:0;;52617:892;-1:-1:-1;;;;;;52617:892:0:o;93005:100::-;93056:7;93083;93091:5;93083:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;93083:14:0;;93005:100;-1:-1:-1;;93005:100:0:o;110647:588::-;108570:9;108583:10;108570:23;108562:66;;;;-1:-1:-1;;;108562:66:0;;;;;;;:::i;:::-;110783:12:::1;::::0;110770:10:::1;110814::::0;;;110806:33:::1;;;::::0;-1:-1:-1;;;110806:33:0;;16369:2:1;110806:33:0::1;::::0;::::1;16351:21:1::0;16408:2;16388:18;;;16381:30;-1:-1:-1;;;16427:18:1;;;16420:40;16477:18;;110806:33:0::1;16167:334:1::0;110806:33:0::1;110858;110872:10;110884:6;;110858:13;:33::i;:::-;110850:61;;;::::0;-1:-1:-1;;;110850:61:0;;16708:2:1;110850:61:0::1;::::0;::::1;16690:21:1::0;16747:2;16727:18;;;16720:30;-1:-1:-1;;;16766:18:1;;;16759:45;16821:18;;110850:61:0::1;16506:339:1::0;110850:61:0::1;110963:10;110930:44;::::0;;;:32:::1;:44;::::0;;;;;110990:2:::1;::::0;110930:56:::1;::::0;110977:9;;110930:56:::1;:::i;:::-;:62;;110922:121;;;::::0;-1:-1:-1;;;110922:121:0;;17052:2:1;110922:121:0::1;::::0;::::1;17034:21:1::0;17091:2;17071:18;;;17064:30;17130:34;17110:18;;;17103:62;-1:-1:-1;;;17181:18:1;;;17174:44;17235:19;;110922:121:0::1;16850:410:1::0;110922:121:0::1;111075:17;111083:9:::0;111075:5;:17:::1;:::i;:::-;111062:9;:30;;111054:60;;;;-1:-1:-1::0;;;111054:60:0::1;;;;;;;:::i;:::-;111158:10;111125:44;::::0;;;:32:::1;:44;::::0;;;;:57;;111173:9;;111125:44;:57:::1;::::0;111173:9;;111125:57:::1;:::i;:::-;::::0;;;-1:-1:-1;111193:30:0::1;::::0;-1:-1:-1;111203:8:0;111213:9;111193::::1;:30::i;:::-;110759:476;110647:588:::0;;;;:::o;20431:104::-;20487:13;20520:7;20513:14;;;;;:::i;110136:499::-;108570:9;108583:10;108570:23;108562:66;;;;-1:-1:-1;;;108562:66:0;;;;;;;:::i;:::-;110239:10:::1;::::0;110292::::1;110226;110265:38:::0;;;:26:::1;:38;::::0;;;;;110319:1:::1;::::0;110265:50:::1;::::0;110306:9;;110265:50:::1;:::i;:::-;:55;;110257:107;;;::::0;-1:-1:-1;;;110257:107:0;;17986:2:1;110257:107:0::1;::::0;::::1;17968:21:1::0;18025:2;18005:18;;;17998:30;18064:34;18044:18;;;18037:62;-1:-1:-1;;;18115:18:1;;;18108:37;18162:19;;110257:107:0::1;17784:403:1::0;110257:107:0::1;107559:3;110396:9;110380:13;13935:12:::0;;13919:13;;:28;;13669:315;110380:13:::1;:25;;;;:::i;:::-;:37;;110372:90;;;::::0;-1:-1:-1;;;110372:90:0;;18394:2:1;110372:90:0::1;::::0;::::1;18376:21:1::0;18433:2;18413:18;;;18406:30;18472:34;18452:18;;;18445:62;-1:-1:-1;;;18523:18:1;;;18516:38;18571:19;;110372:90:0::1;18192:404:1::0;110372:90:0::1;110491:17;110499:9:::0;110491:5;:17:::1;:::i;:::-;110478:9;:30;;110470:60;;;;-1:-1:-1::0;;;110470:60:0::1;;;;;;;:::i;:::-;110565:10;110538:38;::::0;;;:26:::1;:38;::::0;;;;:51;;110580:9;;110538:38;:51:::1;::::0;110580:9;;110538:51:::1;:::i;:::-;::::0;;;-1:-1:-1;110597:30:0::1;::::0;-1:-1:-1;110607:8:0;110617:9;110597::::1;:30::i;49663:2505::-:0;49798:16;49865:4;49856:5;:13;49852:45;;49878:19;;-1:-1:-1;;;49878:19:0;;;;;;;;;;;49852:45;49912:19;49946:17;49966:14;13438:13;;;13364:95;49966:14;49946:34;-1:-1:-1;50217:9:0;50210:4;:16;50206:73;;;50254:9;50247:16;;50206:73;50293:25;50321:16;50331:5;50321:9;:16::i;:::-;50293:44;;50515:4;50507:5;:12;50503:278;;;50562:12;;;50597:31;;;50593:111;;;50673:11;50653:31;;50593:111;50521:198;50503:278;;;-1:-1:-1;50764:1:0;50503:278;50795:25;50837:17;-1:-1:-1;;;;;50823:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50823:32:0;;50795:60;;50874:17;50895:1;50874:22;50870:78;;50924:8;-1:-1:-1;50917:15:0;;-1:-1:-1;;;50917:15:0;50870:78;51092:31;51126:26;51146:5;51126:19;:26::i;:::-;51092:60;;51167:25;51412:9;:16;;;51407:92;;-1:-1:-1;51469:14:0;;51407:92;51530:5;51513:478;51542:4;51537:1;:9;;:45;;;;;51565:17;51550:11;:32;;51537:45;51513:478;;;51620:15;51633:1;51620:12;:15::i;:::-;51608:27;;51658:9;:16;;;51699:8;51654:73;51749:14;;-1:-1:-1;;;;;51749:28:0;;51745:111;;51822:14;;;-1:-1:-1;51745:111:0;51899:5;-1:-1:-1;;;;;51878:26:0;:17;-1:-1:-1;;;;;51878:26:0;;51874:102;;51955:1;51929:8;51938:13;;;;;;51929:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;51874:102;51584:3;;51513:478;;;-1:-1:-1;;;52076:29:0;;;-1:-1:-1;52083:8:0;;-1:-1:-1;;49663:2505:0;;;;;;:::o;109351:106::-;100149:13;:11;:13::i;:::-;109428:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;22484:308::-:0;88020:10;-1:-1:-1;;;;;22583:31:0;;;22579:61;;22623:17;;-1:-1:-1;;;22623:17:0;;;;;;;;;;;22579:61;88020:10;22653:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22653:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22653:60:0;;;;;;;;;;22729:55;;819:41:1;;;22653:49:0;;88020:10;22729:55;;792:18:1;22729:55:0;;;;;;;22484:308;;:::o;93195:225::-;93253:7;93273:21;93321:15;91908:14;;;91835:95;93321:15;93297:39;;:21;:39;:::i;:::-;93273:63;;93354:58;93370:7;93379:13;93394:17;93403:7;-1:-1:-1;;;;;92584:18:0;92557:7;92584:18;;;:9;:18;;;;;;;92501:109;93394:17;93354:15;:58::i;109727:70::-;100149:13;:11;:13::i;:::-;109774:8:::1;:15:::0;;-1:-1:-1;;109774:15:0::1;109785:4;109774:15;::::0;;109727:70::o;111248:455::-;108570:9;108583:10;108570:23;108562:66;;;;-1:-1:-1;;;108562:66:0;;;;;;;:::i;:::-;111360:15:::1;::::0;111347:10:::1;111394::::0;;;111386:33:::1;;;::::0;-1:-1:-1;;;111386:33:0;;16369:2:1;111386:33:0::1;::::0;::::1;16351:21:1::0;16408:2;16388:18;;;16381:30;-1:-1:-1;;;16427:18:1;;;16420:40;16477:18;;111386:33:0::1;16167:334:1::0;111386:33:0::1;111453:15;111438:11;::::0;::::1;;:30;::::0;::::1;;;;;;:::i;:::-;;111430:71;;;::::0;-1:-1:-1;;;111430:71:0;;18803:2:1;111430:71:0::1;::::0;::::1;18785:21:1::0;18842:2;18822:18;;;18815:30;18881;18861:18;;;18854:58;18929:18;;111430:71:0::1;18601:352:1::0;111430:71:0::1;107514:5;111536:9;111520:13;13935:12:::0;;13919:13;;:28;;13669:315;111520:13:::1;:25;;;;:::i;:::-;:39;;111512:71;;;::::0;-1:-1:-1;;;111512:71:0;;19160:2:1;111512:71:0::1;::::0;::::1;19142:21:1::0;19199:2;19179:18;;;19172:30;-1:-1:-1;;;19218:18:1;;;19211:49;19277:18;;111512:71:0::1;18958:343:1::0;111512:71:0::1;111615:17;111623:9:::0;111615:5;:17:::1;:::i;:::-;111602:9;:30;;111594:60;;;;-1:-1:-1::0;;;111594:60:0::1;;;;;;;:::i;:::-;111665:30;111675:8;111685:9;111665;:30::i;23354:399::-:0;23521:31;23534:4;23540:2;23544:7;23521:12;:31::i;:::-;-1:-1:-1;;;;;23567:14:0;;;:19;23563:183;;23606:56;23637:4;23643:2;23647:7;23656:5;23606:30;:56::i;:::-;23601:145;;23690:40;;-1:-1:-1;;;23690:40:0;;;;;;;;;;;23601:145;23354:399;;;;:::o;48226:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13438:13:0;;48411:7;:25;48378:103;;48460:9;48226:420;-1:-1:-1;;48226:420:0:o;48378:103::-;48503:21;48516:7;48503:12;:21::i;:::-;48491:33;;48539:9;:16;;;48535:65;;;48579:9;48226:420;-1:-1:-1;;48226:420:0:o;48535:65::-;48617:21;48630:7;48617:12;:21::i;93580:260::-;-1:-1:-1;;;;;92172:26:0;;93652:7;92172:26;;;:19;:26;;;;;;93652:7;;93696:30;;-1:-1:-1;;;93696:30:0;;93720:4;93696:30;;;1953:51:1;-1:-1:-1;;;;;93696:15:0;;;;;1926:18:1;;93696:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;92876:21:0;;;92849:7;92876:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;93672:77;;-1:-1:-1;93767:65:0;;93783:7;;93672:77;;93354:15;:58::i;93767:65::-;93760:72;93580:260;-1:-1:-1;;;;93580:260:0:o;107784:37::-;;;;;;;:::i;112380:569::-;112460:13;112494:15;112502:6;112494:7;:15::i;:::-;112486:51;;;;-1:-1:-1;;;112486:51:0;;19697:2:1;112486:51:0;;;19679:21:1;19736:2;19716:18;;;19709:30;19775:25;19755:18;;;19748:53;19818:18;;112486:51:0;19495:347:1;112486:51:0;112551:8;;;;:17;;:8;:17;112548:159;;112629:14;112645:17;:6;:15;:17::i;:::-;112664:13;112612:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;112583:96;;112380:569;;;:::o;112548:159::-;112727:28;112758:10;:8;:10::i;:::-;112727:41;;112831:1;112806:14;112800:28;:32;:141;;;;;;;;;;;;;;;;;112873:14;112889:17;:6;:15;:17::i;:::-;112908:13;112856:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;112779:162;112380:569;-1:-1:-1;;;112380:569:0:o;109597:124::-;100149:13;:11;:13::i;:::-;109683:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;108760:115::-:0;100149:13;:11;:13::i;:::-;108840:10:::1;:27:::0;108760:115::o;101169:201::-;100149:13;:11;:13::i;:::-;-1:-1:-1;;;;;101258:22:0;::::1;101250:73;;;::::0;-1:-1:-1;;;101250:73:0;;22169:2:1;101250:73:0::1;::::0;::::1;22151:21:1::0;22208:2;22188:18;;;22181:30;22247:34;22227:18;;;22220:62;-1:-1:-1;;;22298:18:1;;;22291:36;22344:19;;101250:73:0::1;21967:402:1::0;101250:73:0::1;101334:28;101353:8;101334:18;:28::i;:::-;101169:201:::0;:::o;110036:92::-;100149:13;:11;:13::i;:::-;110114:5:::1;110109:11;;;;;;;;:::i;:::-;110095;:25:::0;;-1:-1:-1;;110095:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;110036:92:::0;:::o;72809:127::-;72898:19;;72916:1;72898:19;;;72809:127::o;24008:273::-;24065:4;24155:13;;24145:7;:23;24102:152;;;;-1:-1:-1;;24206:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24206:43:0;:48;;24008:273::o;100428:132::-;100309:7;100336:6;-1:-1:-1;;;;;100336:6:0;88020:10;100492:23;100484:68;;;;-1:-1:-1;;;100484:68:0;;22576:2:1;100484:68:0;;;22558:21:1;;;22595:18;;;22588:30;22654:34;22634:18;;;22627:62;22706:18;;100484:68:0;22374:356:1;61252:317:0;61367:6;61342:21;:31;;61334:73;;;;-1:-1:-1;;;61334:73:0;;22937:2:1;61334:73:0;;;22919:21:1;22976:2;22956:18;;;22949:30;23015:31;22995:18;;;22988:59;23064:18;;61334:73:0;22735:353:1;61334:73:0;61421:12;61439:9;-1:-1:-1;;;;;61439:14:0;61461:6;61439:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61420:52;;;61491:7;61483:78;;;;-1:-1:-1;;;61483:78:0;;23295:2:1;61483:78:0;;;23277:21:1;23334:2;23314:18;;;23307:30;23373:34;23353:18;;;23346:62;23444:28;23424:18;;;23417:56;23490:19;;61483:78:0;23093:422:1;24365:104:0;24434:27;24444:2;24448:8;24434:27;;;;;;;;;;;;:9;:27::i;16968:1129::-;17035:7;17070;17172:13;;17165:4;:20;17161:869;;;17210:14;17227:23;;;:17;:23;;;;;;;-1:-1:-1;;;17316:23:0;;:28;;17312:699;;17835:113;17842:6;17852:1;17842:11;17835:113;;-1:-1:-1;;;17913:6:0;17895:25;;;;:17;:25;;;;;;17835:113;;17312:699;17187:843;17161:869;18058:31;;-1:-1:-1;;;18058:31:0;;;;;;;;;;;68025:211;68169:58;;;-1:-1:-1;;;;;206:32:1;;68169:58:0;;;188:51:1;255:18;;;;248:34;;;68169:58:0;;;;;;;;;;161:18:1;;;;68169:58:0;;;;;;;;-1:-1:-1;;;;;68169:58:0;-1:-1:-1;;;68169:58:0;;;68142:86;;68162:5;;68142:19;:86::i;101530:191::-;101604:16;101623:6;;-1:-1:-1;;;;;101640:17:0;;;-1:-1:-1;;;;;;101640:17:0;;;;;;101673:40;;101623:6;;;;;;;101673:40;;101604:16;101673:40;101593:128;101530:191;:::o;18645:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18765:24:0;;;;:17;:24;;;;;;18746:44;;:18;:44::i;111912:150::-;112000:4;112024:30;112032:14;112038:7;112174:25;;-1:-1:-1;;25582:2:1;25578:15;;;25574:53;112174:25:0;;;25562:66:1;112137:7:0;;25644:12:1;;112174:25:0;;;;;;;;;;;;112164:36;;;;;;112157:43;;112083:125;;;;112032:14;112048:5;;112024:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;112024:7:0;;-1:-1:-1;;;112024:30:0:i;95453:248::-;95663:12;;-1:-1:-1;;;;;95643:16:0;;95599:7;95643:16;;;:7;:16;;;;;;95599:7;;95678:15;;95627:32;;:13;:32;:::i;:::-;95626:49;;;;:::i;:::-;:67;;;;:::i;38224:716::-;38408:88;;-1:-1:-1;;;38408:88:0;;38387:4;;-1:-1:-1;;;;;38408:45:0;;;;;:88;;88020:10;;38475:4;;38481:7;;38490:5;;38408:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38408:88:0;;;;;;;;-1:-1:-1;;38408:88:0;;;;;;;;;;;;:::i;:::-;;;38404:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38691:6;:13;38708:1;38691:18;38687:235;;38737:40;;-1:-1:-1;;;38737:40:0;;;;;;;;;;;38687:235;38880:6;38874:13;38865:6;38861:2;38857:15;38850:38;38404:529;-1:-1:-1;;;;;;38567:64:0;-1:-1:-1;;;38567:64:0;;-1:-1:-1;38224:716:0;;;;;;:::o;19301:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19404:47:0;19423:27;19442:7;19423:18;:27::i;:::-;19404:18;:47::i;76469:723::-;76525:13;76746:5;76755:1;76746:10;76742:53;;-1:-1:-1;;76773:10:0;;;;;;;;;;;;-1:-1:-1;;;76773:10:0;;;;;76469:723::o;76742:53::-;76820:5;76805:12;76861:78;76868:9;;76861:78;;76894:8;;;;:::i;:::-;;-1:-1:-1;76917:10:0;;-1:-1:-1;76925:2:0;76917:10;;:::i;:::-;;;76861:78;;;76949:19;76981:6;-1:-1:-1;;;;;76971:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76971:17:0;;76949:39;;76999:154;77006:10;;76999:154;;77033:11;77043:1;77033:11;;:::i;:::-;;-1:-1:-1;77102:10:0;77110:2;77102:5;:10;:::i;:::-;77089:24;;:2;:24;:::i;:::-;77076:39;;77059:6;77066;77059:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;77059:56:0;;;;;;;;-1:-1:-1;77130:11:0;77139:2;77130:11;;:::i;:::-;;;76999:154;;109805:119;109876:13;100149;:11;:13::i;:::-;109909:7:::1;109902:14;;;;;:::i;24885:681::-:0;25008:19;25014:2;25018:8;25008:5;:19::i;:::-;-1:-1:-1;;;;;25069:14:0;;;:19;25065:483;;25123:13;;25171:14;;;25204:233;25235:62;25274:1;25278:2;25282:7;;;;;;25291:5;25235:30;:62::i;:::-;25230:167;;25333:40;;-1:-1:-1;;;25333:40:0;;;;;;;;;;;25230:167;25432:3;25424:5;:11;25204:233;;25519:3;25502:13;;:20;25498:34;;25524:8;;;71092:716;71516:23;71542:69;71570:4;71542:69;;;;;;;;;;;;;;;;;71550:5;-1:-1:-1;;;;;71542:27:0;;;:69;;;;;:::i;:::-;71626:17;;71516:95;;-1:-1:-1;71626:21:0;71622:179;;71723:10;71712:30;;;;;;;;;;;;:::i;:::-;71704:85;;;;-1:-1:-1;;;71704:85:0;;25224:2:1;71704:85:0;;;25206:21:1;25263:2;25243:18;;;25236:30;25302:34;25282:18;;;25275:62;-1:-1:-1;;;25353:18:1;;;25346:40;25403:19;;71704:85:0;25022:406:1;18191:363:0;-1:-1:-1;;;;;;;;;;;;;18301:41:0;;;;10503:3;18387:32;;;-1:-1:-1;;;;;18353:67:0;-1:-1:-1;;;18353:67:0;-1:-1:-1;;;18450:23:0;;:28;;-1:-1:-1;;;18431:47:0;;;;11020:3;18518:27;;;;-1:-1:-1;;;18489:57:0;-1:-1:-1;18191:363:0:o;112220:152::-;112297:4;112321:43;112340:5;112347:10;;112359:4;112321:18;:43::i;25839:1529::-;25927:13;;-1:-1:-1;;;;;25955:16:0;;25951:48;;25980:19;;-1:-1:-1;;;25980:19:0;;;;;;;;;;;25951:48;26014:8;26026:1;26014:13;26010:44;;26036:18;;-1:-1:-1;;;26036:18:0;;;;;;;;;;;26010:44;-1:-1:-1;;;;;26542:22:0;;;;;;:18;:22;;9986:2;26542:22;;:70;;26580:31;26568:44;;26542:70;;;19950:11;19926:22;19922:40;-1:-1:-1;21660:15:0;;21635:23;21631:45;19919:51;19909:62;26855:31;;;;:17;:31;;;;;:173;26873:12;27104:23;;;27142:101;27169:35;;27194:9;;;;;-1:-1:-1;;;;;27169:35:0;;;27186:1;;27169:35;;27186:1;;27169:35;27238:3;27228:7;:13;27142:101;;27259:13;:19;-1:-1:-1;23098:185:0;;;:::o;62736:229::-;62873:12;62905:52;62927:6;62935:4;62941:1;62944:12;62905:21;:52::i;79755:190::-;79880:4;79933;79904:25;79917:5;79924:4;79904:12;:25::i;:::-;:33;;79755:190;-1:-1:-1;;;;79755:190:0:o;63856:510::-;64026:12;64084:5;64059:21;:30;;64051:81;;;;-1:-1:-1;;;64051:81:0;;25869:2:1;64051:81:0;;;25851:21:1;25908:2;25888:18;;;25881:30;25947:34;25927:18;;;25920:62;-1:-1:-1;;;25998:18:1;;;25991:36;26044:19;;64051:81:0;25667:402:1;64051:81:0;-1:-1:-1;;;;;60286:19:0;;;64143:60;;;;-1:-1:-1;;;64143:60:0;;26276:2:1;64143:60:0;;;26258:21:1;26315:2;26295:18;;;26288:30;26354:31;26334:18;;;26327:59;26403:18;;64143:60:0;26074:353:1;64143:60:0;64217:12;64231:23;64258:6;-1:-1:-1;;;;;64258:11:0;64277:5;64284:4;64258:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64216:73;;;;64307:51;64324:7;64333:10;64345:12;64307:16;:51::i;:::-;64300:58;63856:510;-1:-1:-1;;;;;;;63856:510:0:o;80622:296::-;80705:7;80748:4;80705:7;80763:118;80787:5;:12;80783:1;:16;80763:118;;;80836:33;80846:12;80860:5;80866:1;80860:8;;;;;;;;:::i;:::-;;;;;;;80836:9;:33::i;:::-;80821:48;-1:-1:-1;80801:3:0;;;;:::i;:::-;;;;80763:118;;66542:762;66692:12;66721:7;66717:580;;;-1:-1:-1;66752:10:0;66745:17;;66717:580;66866:17;;:21;66862:424;;67114:10;67108:17;67175:15;67162:10;67158:2;67154:19;67147:44;66862:424;67257:12;67250:20;;-1:-1:-1;;;67250:20:0;;;;;;;;:::i;86829:149::-;86892:7;86923:1;86919;:5;:51;;87054:13;87148:15;;;87184:4;87177:15;;;87231:4;87215:21;;86919:51;;;87054:13;87148:15;;;87184:4;87177:15;;;87231:4;87215:21;;86927:20;86986:268;-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;2653:118::-;2739:5;2732:13;2725:21;2718:5;2715:32;2705:60;;2761:1;2758;2751:12;2776:241;2832:6;2885:2;2873:9;2864:7;2860:23;2856:32;2853:52;;;2901:1;2898;2891:12;2853:52;2940:9;2927:23;2959:28;2981:5;2959:28;:::i;3022:255::-;3089:6;3142:2;3130:9;3121:7;3117:23;3113:32;3110:52;;;3158:1;3155;3148:12;3110:52;3197:9;3184:23;3216:31;3241:5;3216:31;:::i;3282:456::-;3359:6;3367;3375;3428:2;3416:9;3407:7;3403:23;3399:32;3396:52;;;3444:1;3441;3434:12;3396:52;3483:9;3470:23;3502:31;3527:5;3502:31;:::i;:::-;3552:5;-1:-1:-1;3609:2:1;3594:18;;3581:32;3622:33;3581:32;3622:33;:::i;:::-;3282:456;;3674:7;;-1:-1:-1;;;3728:2:1;3713:18;;;;3700:32;;3282:456::o;3925:403::-;4008:6;4016;4069:2;4057:9;4048:7;4044:23;4040:32;4037:52;;;4085:1;4082;4075:12;4037:52;4124:9;4111:23;4143:31;4168:5;4143:31;:::i;:::-;4193:5;-1:-1:-1;4250:2:1;4235:18;;4222:32;4263:33;4222:32;4263:33;:::i;:::-;4315:7;4305:17;;;3925:403;;;;;:::o;4333:127::-;4394:10;4389:3;4385:20;4382:1;4375:31;4425:4;4422:1;4415:15;4449:4;4446:1;4439:15;4465:275;4536:2;4530:9;4601:2;4582:13;;-1:-1:-1;;4578:27:1;4566:40;;-1:-1:-1;;;;;4621:34:1;;4657:22;;;4618:62;4615:88;;;4683:18;;:::i;:::-;4719:2;4712:22;4465:275;;-1:-1:-1;4465:275:1:o;4745:407::-;4810:5;-1:-1:-1;;;;;4836:6:1;4833:30;4830:56;;;4866:18;;:::i;:::-;4904:57;4949:2;4928:15;;-1:-1:-1;;4924:29:1;4955:4;4920:40;4904:57;:::i;:::-;4895:66;;4984:6;4977:5;4970:21;5024:3;5015:6;5010:3;5006:16;5003:25;5000:45;;;5041:1;5038;5031:12;5000:45;5090:6;5085:3;5078:4;5071:5;5067:16;5054:43;5144:1;5137:4;5128:6;5121:5;5117:18;5113:29;5106:40;4745:407;;;;;:::o;5157:451::-;5226:6;5279:2;5267:9;5258:7;5254:23;5250:32;5247:52;;;5295:1;5292;5285:12;5247:52;5335:9;5322:23;-1:-1:-1;;;;;5360:6:1;5357:30;5354:50;;;5400:1;5397;5390:12;5354:50;5423:22;;5476:4;5468:13;;5464:27;-1:-1:-1;5454:55:1;;5505:1;5502;5495:12;5454:55;5528:74;5594:7;5589:2;5576:16;5571:2;5567;5563:11;5528:74;:::i;5613:946::-;5697:6;5728:2;5771;5759:9;5750:7;5746:23;5742:32;5739:52;;;5787:1;5784;5777:12;5739:52;5827:9;5814:23;-1:-1:-1;;;;;5897:2:1;5889:6;5886:14;5883:34;;;5913:1;5910;5903:12;5883:34;5951:6;5940:9;5936:22;5926:32;;5996:7;5989:4;5985:2;5981:13;5977:27;5967:55;;6018:1;6015;6008:12;5967:55;6054:2;6041:16;6076:2;6072;6069:10;6066:36;;;6082:18;;:::i;:::-;6128:2;6125:1;6121:10;6111:20;;6151:28;6175:2;6171;6167:11;6151:28;:::i;:::-;6213:15;;;6283:11;;;6279:20;;;6244:12;;;;6311:19;;;6308:39;;;6343:1;6340;6333:12;6308:39;6367:11;;;;6387:142;6403:6;6398:3;6395:15;6387:142;;;6469:17;;6457:30;;6420:12;;;;6507;;;;6387:142;;;6548:5;5613:946;-1:-1:-1;;;;;;;;5613:946:1:o;6564:349::-;6648:12;;-1:-1:-1;;;;;6644:38:1;6632:51;;6736:4;6725:16;;;6719:23;-1:-1:-1;;;;;6715:48:1;6699:14;;;6692:72;6827:4;6816:16;;;6810:23;6803:31;6796:39;6780:14;;;6773:63;6889:4;6878:16;;;6872:23;6897:8;6868:38;6852:14;;6845:62;6564:349::o;6918:720::-;7149:2;7201:21;;;7271:13;;7174:18;;;7293:22;;;7120:4;;7149:2;7372:15;;;;7346:2;7331:18;;;7120:4;7415:197;7429:6;7426:1;7423:13;7415:197;;;7478:52;7526:3;7517:6;7511:13;7478:52;:::i;:::-;7587:15;;;;7559:4;7550:14;;;;;7451:1;7444:9;7415:197;;7895:632;8066:2;8118:21;;;8188:13;;8091:18;;;8210:22;;;8037:4;;8066:2;8289:15;;;;8263:2;8248:18;;;8037:4;8332:169;8346:6;8343:1;8340:13;8332:169;;;8407:13;;8395:26;;8476:15;;;;8441:12;;;;8368:1;8361:9;8332:169;;8532:818;8636:6;8644;8652;8660;8713:2;8701:9;8692:7;8688:23;8684:32;8681:52;;;8729:1;8726;8719:12;8681:52;8768:9;8755:23;8787:31;8812:5;8787:31;:::i;:::-;8837:5;-1:-1:-1;8889:2:1;8874:18;;8861:32;;-1:-1:-1;8944:2:1;8929:18;;8916:32;-1:-1:-1;;;;;8997:14:1;;;8994:34;;;9024:1;9021;9014:12;8994:34;9062:6;9051:9;9047:22;9037:32;;9107:7;9100:4;9096:2;9092:13;9088:27;9078:55;;9129:1;9126;9119:12;9078:55;9169:2;9156:16;9195:2;9187:6;9184:14;9181:34;;;9211:1;9208;9201:12;9181:34;9264:7;9259:2;9249:6;9246:1;9242:14;9238:2;9234:23;9230:32;9227:45;9224:65;;;9285:1;9282;9275:12;9224:65;8532:818;;;;-1:-1:-1;;9316:2:1;9308:11;;-1:-1:-1;;;8532:818:1:o;9355:383::-;9432:6;9440;9448;9501:2;9489:9;9480:7;9476:23;9472:32;9469:52;;;9517:1;9514;9507:12;9469:52;9556:9;9543:23;9575:31;9600:5;9575:31;:::i;:::-;9625:5;9677:2;9662:18;;9649:32;;-1:-1:-1;9728:2:1;9713:18;;;9700:32;;9355:383;-1:-1:-1;;;9355:383:1:o;9743:382::-;9808:6;9816;9869:2;9857:9;9848:7;9844:23;9840:32;9837:52;;;9885:1;9882;9875:12;9837:52;9924:9;9911:23;9943:31;9968:5;9943:31;:::i;:::-;9993:5;-1:-1:-1;10050:2:1;10035:18;;10022:32;10063:30;10022:32;10063:30;:::i;10130:795::-;10225:6;10233;10241;10249;10302:3;10290:9;10281:7;10277:23;10273:33;10270:53;;;10319:1;10316;10309:12;10270:53;10358:9;10345:23;10377:31;10402:5;10377:31;:::i;:::-;10427:5;-1:-1:-1;10484:2:1;10469:18;;10456:32;10497:33;10456:32;10497:33;:::i;:::-;10549:7;-1:-1:-1;10603:2:1;10588:18;;10575:32;;-1:-1:-1;10658:2:1;10643:18;;10630:32;-1:-1:-1;;;;;10674:30:1;;10671:50;;;10717:1;10714;10707:12;10671:50;10740:22;;10793:4;10785:13;;10781:27;-1:-1:-1;10771:55:1;;10822:1;10819;10812:12;10771:55;10845:74;10911:7;10906:2;10893:16;10888:2;10884;10880:11;10845:74;:::i;:::-;10835:84;;;10130:795;;;;;;;:::o;10930:264::-;11124:3;11109:19;;11137:51;11113:9;11170:6;11137:51;:::i;11199:127::-;11260:10;11255:3;11251:20;11248:1;11241:31;11291:4;11288:1;11281:15;11315:4;11312:1;11305:15;11331:337;11472:2;11457:18;;11505:1;11494:13;;11484:144;;11550:10;11545:3;11541:20;11538:1;11531:31;11585:4;11582:1;11575:15;11613:4;11610:1;11603:15;11484:144;11637:25;;;11331:337;:::o;12518:380::-;12597:1;12593:12;;;;12640;;;12661:61;;12715:4;12707:6;12703:17;12693:27;;12661:61;12768:2;12760:6;12757:14;12737:18;12734:38;12731:161;;12814:10;12809:3;12805:20;12802:1;12795:31;12849:4;12846:1;12839:15;12877:4;12874:1;12867:15;12731:161;;12518:380;;;:::o;12903:402::-;13105:2;13087:21;;;13144:2;13124:18;;;13117:30;13183:34;13178:2;13163:18;;13156:62;-1:-1:-1;;;13249:2:1;13234:18;;13227:36;13295:3;13280:19;;12903:402::o;13310:407::-;13512:2;13494:21;;;13551:2;13531:18;;;13524:30;13590:34;13585:2;13570:18;;13563:62;-1:-1:-1;;;13656:2:1;13641:18;;13634:41;13707:3;13692:19;;13310:407::o;13722:127::-;13783:10;13778:3;13774:20;13771:1;13764:31;13814:4;13811:1;13804:15;13838:4;13835:1;13828:15;13854:128;13894:3;13925:1;13921:6;13918:1;13915:13;13912:39;;;13931:18;;:::i;:::-;-1:-1:-1;13967:9:1;;13854:128::o;15536:127::-;15597:10;15592:3;15588:20;15585:1;15578:31;15628:4;15625:1;15618:15;15652:4;15649:1;15642:15;15668:135;15707:3;15728:17;;;15725:43;;15748:18;;:::i;:::-;-1:-1:-1;15795:1:1;15784:13;;15668:135::o;15808:354::-;16010:2;15992:21;;;16049:2;16029:18;;;16022:30;16088:32;16083:2;16068:18;;16061:60;16153:2;16138:18;;15808:354::o;17265:168::-;17305:7;17371:1;17367;17363:6;17359:14;17356:1;17353:21;17348:1;17341:9;17334:17;17330:45;17327:71;;;17378:18;;:::i;:::-;-1:-1:-1;17418:9:1;;17265:168::o;17438:341::-;17640:2;17622:21;;;17679:2;17659:18;;;17652:30;-1:-1:-1;;;17713:2:1;17698:18;;17691:47;17770:2;17755:18;;17438:341::o;19306:184::-;19376:6;19429:2;19417:9;19408:7;19404:23;19400:32;19397:52;;;19445:1;19442;19435:12;19397:52;-1:-1:-1;19468:16:1;;19306:184;-1:-1:-1;19306:184:1:o;19973:973::-;20058:12;;20023:3;;20113:1;20133:18;;;;20186;;;;20213:61;;20267:4;20259:6;20255:17;20245:27;;20213:61;20293:2;20341;20333:6;20330:14;20310:18;20307:38;20304:161;;20387:10;20382:3;20378:20;20375:1;20368:31;20422:4;20419:1;20412:15;20450:4;20447:1;20440:15;20304:161;20481:18;20508:104;;;;20626:1;20621:319;;;;20474:466;;20508:104;-1:-1:-1;;20541:24:1;;20529:37;;20586:16;;;;-1:-1:-1;20508:104:1;;20621:319;19920:1;19913:14;;;19957:4;19944:18;;20715:1;20729:165;20743:6;20740:1;20737:13;20729:165;;;20821:14;;20808:11;;;20801:35;20864:16;;;;20758:10;;20729:165;;;20733:3;;20923:6;20918:3;20914:16;20907:23;;20474:466;;;;;;;19973:973;;;;:::o;20951:456::-;21172:3;21200:38;21234:3;21226:6;21200:38;:::i;:::-;21267:6;21261:13;21283:52;21328:6;21324:2;21317:4;21309:6;21305:17;21283:52;:::i;:::-;21351:50;21393:6;21389:2;21385:15;21377:6;21351:50;:::i;21412:550::-;21636:3;21674:6;21668:13;21690:53;21736:6;21731:3;21724:4;21716:6;21712:17;21690:53;:::i;:::-;21806:13;;21765:16;;;;21828:57;21806:13;21765:16;21862:4;21850:17;;21828:57;:::i;23520:127::-;23581:10;23576:3;23572:20;23569:1;23562:31;23612:4;23609:1;23602:15;23636:4;23633:1;23626:15;23652:120;23692:1;23718;23708:35;;23723:18;;:::i;:::-;-1:-1:-1;23757:9:1;;23652:120::o;23777:125::-;23817:4;23845:1;23842;23839:8;23836:34;;;23850:18;;:::i;:::-;-1:-1:-1;23887:9:1;;23777:125::o;23907:489::-;-1:-1:-1;;;;;24176:15:1;;;24158:34;;24228:15;;24223:2;24208:18;;24201:43;24275:2;24260:18;;24253:34;;;24323:3;24318:2;24303:18;;24296:31;;;24101:4;;24344:46;;24370:19;;24362:6;24344:46;:::i;:::-;24336:54;23907:489;-1:-1:-1;;;;;;23907:489:1:o;24401:249::-;24470:6;24523:2;24511:9;24502:7;24498:23;24494:32;24491:52;;;24539:1;24536;24529:12;24491:52;24571:9;24565:16;24590:30;24614:5;24590:30;:::i;24655:112::-;24687:1;24713;24703:35;;24718:18;;:::i;:::-;-1:-1:-1;24752:9:1;;24655:112::o;24772:245::-;24839:6;24892:2;24880:9;24871:7;24867:23;24863:32;24860:52;;;24908:1;24905;24898:12;24860:52;24940:9;24934:16;24959:28;24981:5;24959:28;:::i;26432:274::-;26561:3;26599:6;26593:13;26615:53;26661:6;26656:3;26649:4;26641:6;26637:17;26615:53;:::i;:::-;26684:16;;;;;26432:274;-1:-1:-1;;26432:274:1:o
Swarm Source
ipfs://d24f729085f20b2d4d800712efcbbd42d40e7eb46b437c0ec511fc27e266396a
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.