ERC-721
Overview
Max Total Supply
888 LOVE
Holders
254
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LOVELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LoveLetters
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Multiple files format)
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@ @@@@@@@@@@@@ @@@@@@@@* @@@@@@@@ @@@ @@@@ &@@@@@@@@@@@@ @@@@@ // @@@@@ @@@@@@@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@@@ @@@@@@ // @@@@@ #@ @@@@@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@. @@@@@@@ @@@@@@@@ // @@@@@ #@@ @@@@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@ @@@@ @@@@@@@@@ // @@@@@ #@@@@ @@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ & @@@@@@@@@@@ // @@@@@ #@@@@@ @@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ *@@@@@@@@@@@@ // @@@@@ #@@@@@@@ @@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ // @@@@@ #@@@@@@@@@ &@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ // @@@@@ #@@@@@@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ // @@@@@ #@@@@@@@@@@@@ @@@@@@@@* @@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@@ @@ // @@@ @@@@@@@@ .@@@@@@@@ @@@@@@ @@@@@ @@@@@@@@@@@@@@ @@@@@* &@@@@@@@@@@@@ @@ // @@@ @@@@@@@@@ @@@@@@@@@ @@@@@@ @@@@@ @@@@@@@@@@@@@@@@@@ @@@@@* /@@@@@@@@@@@@@@@@@@ @@ // @@@ @@@@@*@@@, @@@@ @@@@@ @@@@@@ @@@@@ @@@@@ @@@@@ @@@@@* @@@@@@, @@@@@@ @@ // @@@ @@@@@ @@@@ @@@@ @@@@@ @@@@@@ @@@@@ @@@@@ @@@@@* @@@@@@ @@@@@@ @@ // @@@ @@@@@ @@@@ @@@@ @@@@@ @@@@@@ @@@@@ %@@@@@@@@@@@ @@@@@* @@@@@ @@ // @@@ @@@@@ @@@@ @@@@ @@@@@ @@@@@@ @@@@@ @@@@@@@@@@@@@@@@ @@@@@* &@@@@@ @@ // @@@ @@@@@ @@@@ @@@@ @@@@@ @@@@@@ @@@@@ @@@@@@@@@@ @@@@@* @@@@@ @@ // @@@ @@@@@ @@@@ ,@@@ @@@@@ @@@@@@ @@@@@ @@@@@@ @@@@@ @@@@@* @@@@@@ @@@@@@ @@ // @@@ @@@@@ @@@@@@@@ @@@@@ @@@@@@@ @@@@@@ @@@@@# ,@@@@@ @@@@@* @@@@@@@ @@@@@@ @@ // @@@ @@@@@ &@@@@@@ @@@@@ /@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@* @@@@@@@@@@@@@@@@@ @@ // @@@ @@@@@ @@@@@@ @@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@* @@@@@@@@@@@* @@ // @@@ @@ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721A.sol"; import "./ERC721ABurnable.sol"; import "./Ownable.sol"; import "./MerkleProof.sol"; import "./PaymentSplitter.sol"; import "./Strings.sol"; import "./ERC2981.sol"; import "./ReentrancyGuard.sol"; contract LoveLetters is ERC721A, ERC721ABurnable, Ownable, PaymentSplitter, ERC2981, ReentrancyGuard { using Strings for uint256; // The total tokens minted to an address. Does not matter if tokens are transferred out mapping(address => uint256) public addressPublicMintCount; mapping(address => uint256) public addressWLMintCount; mapping(address => bool) public freeMintClaimed; mapping(address => uint256) public referralCount; string public baseTokenURI; // Can be combined with the tokenId to create the metadata URI uint256 public mintPhase = 0; // 0 = closed, 1 = WL sale, 2 = public sale bool public allowBurn = false; // Admin toggle for allowing the burning of tokens uint256 public constant MINT_PRICE = 0.08 ether; // Public mint price uint256 public constant REFERRAL_MINT_PRICE = 0.068 ether; // Public mint price uint256 public constant ALLOWLIST_MINT_PRICE = 0.052 ether; // Mint price for allowlisted addresses only uint256 public constant MAX_TOTAL_SUPPLY = 888; // The maximum total supply of tokens uint256 public constant MAX_MINT_COUNT = 10; // The maximum number of tokens any one address can mint uint256 public constant REFERRER_FEE = 15000000000000000; // The amount sent to the referrer on each mint uint256 public maxWLMintCount = 20; // The maximum number of tokens a whitelisted address can mint bytes32 public merkleroot; // The merkle tree root. Used for verifying allowlist addresses uint256 private constant MAX_TOKEN_ITERATIONS = 40; // Used to prevent out-of-gas errors when looping event SetBaseURI(address _from); event MintPhaseChanged(address _from, uint newPhase); event ToggleAllowBurn(bool isAllowed); event ReferralMint(address _referrer, string _eid, uint count); constructor(string memory _baseUri, bytes32 _merkleroot, address[] memory _payees, uint256[] memory _shares) ERC721A("Love Letters", "LOVE") PaymentSplitter(_payees, _shares) { baseTokenURI = _baseUri; merkleroot = _merkleroot; _setDefaultRoyalty(address(this), 1000); } // Allows the contract owner to update the merkle root (allowlist) function setMerkleRoot(bytes32 _merkleroot) external onlyOwner { merkleroot = _merkleroot; } // Allows the contract owner to set a new base URI string function setBaseURI(string calldata _baseURI) external onlyOwner { baseTokenURI = _baseURI; emit SetBaseURI(msg.sender); } // Allows the contract owner to set the wl cap function setWLCap(uint _newCap) external onlyOwner { maxWLMintCount = _newCap; } // Overrides the tokenURI function so that the base URI can be returned function tokenURI(uint256 _tokenId) public view override returns (string memory) { string memory baseURI = baseTokenURI; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString())) : ""; } function _mintTo(address _recipient, uint256 _amount) internal { uint256 supply = totalSupply(); uint256 mintCount = addressPublicMintCount[_recipient]; require(mintPhase==2, "Public sale is not yet active"); require(_amount > 0, "Mint amount can't be zero"); require(mintCount + _amount <= MAX_MINT_COUNT, "Exceeded max mint count"); require(supply + _amount <= MAX_TOTAL_SUPPLY, "Max mint supply has been reached"); addressPublicMintCount[_recipient] = mintCount + _amount; _safeMint(_recipient, _amount); } function mintNoReferrer(address _recipient, uint256 _amount) external payable { require(_amount * MINT_PRICE == msg.value, "Check mint price"); _mintTo(_recipient, _amount); } function mintReferrer(address _recipient, uint256 _amount, address payable _referrer, string memory _eid) external payable nonReentrant { require(_referrer != _recipient, "Referrer cannot be the same as sender"); require(_amount * REFERRAL_MINT_PRICE == msg.value, "Check mint price"); referralCount[_referrer] += _amount; emit ReferralMint(_referrer, _eid, _amount); _mintTo(_recipient, _amount); _payReferrer(_referrer, _amount); } // Only accessible by the contract owner. This function is used to mint tokens for the team. function ownerMint(uint256 _amount, address _recipient) external onlyOwner { uint256 supply = totalSupply(); require(_amount > 0, "Mint amount can't be zero"); require(_amount <= MAX_TOKEN_ITERATIONS, "You cannot mint this many in one transaction"); // Used to avoid OOG errors. require(supply + _amount <= MAX_TOTAL_SUPPLY, "Max supply is reached"); _safeMint(_recipient, _amount); } // Minting function for addresses on the allowlist only function mintAllowList(address _recipient, uint256 _amount, bytes32[] calldata _proof) public payable { uint256 supply = totalSupply(); uint256 mintCount = addressWLMintCount[_recipient]; require(_verify(_leaf(_recipient, false), _proof, merkleroot), "Wallet not on allowlist"); require(mintCount + _amount <= maxWLMintCount, "Exceeded whitelist allowance."); require(mintPhase==1, "Allowlist sale is not active"); require(_amount > 0, "Mint amount can't be zero"); require(_amount <= MAX_TOKEN_ITERATIONS, "You cannot mint this many in one transaction."); // Used to avoid OOG errors require(supply + _amount <= MAX_TOTAL_SUPPLY, "Max supply is reached"); require(_amount * ALLOWLIST_MINT_PRICE == msg.value, "Incorrect price"); addressWLMintCount[_recipient] = mintCount + _amount; _safeMint(_recipient, _amount); } function mintAllowListReferrer(address _recipient, uint256 _amount, address payable _referrer, string memory _eid, bytes32[] calldata _proof) external payable nonReentrant { require(_referrer != _recipient, "Referrer cannot be the same as sender"); referralCount[_referrer] += _amount; emit ReferralMint(_referrer, _eid, _amount); mintAllowList(_recipient, _amount, _proof); _payReferrer(_referrer, _amount); } // Minting function addresses on the OG list only function mintFreeMintList(bytes32[] calldata _proof) external { uint256 supply = totalSupply(); require(!freeMintClaimed[msg.sender], "Free mint already claimed"); require(_verify(_leaf(msg.sender, true), _proof, merkleroot), "Wallet not on free mint list"); require(mintPhase==1, "Sale is not active"); require(supply + 1 <= MAX_TOTAL_SUPPLY, "Max supply is reached"); freeMintClaimed[msg.sender] = true; _safeMint(msg.sender, 1); } // An owner-only function which toggles the public sale on/off function changeMintPhase(uint256 _newPhase) external onlyOwner { mintPhase = _newPhase; emit MintPhaseChanged(msg.sender, _newPhase); } // An owner-only function which toggles the allowBurn variable function toggleAllowBurn() external onlyOwner { allowBurn = !allowBurn; emit ToggleAllowBurn(allowBurn); } function _payReferrer(address payable _referrer, uint256 _amount) internal { payable(_referrer).transfer(REFERRER_FEE * _amount); } // Used to construct a merkle tree leaf function _leaf(address _account, bool _isFreeMintList) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_account, _isFreeMintList)); } // Verifies a leaf is part of the tree function _verify(bytes32 leaf, bytes32[] memory _proof, bytes32 _root) pure internal returns (bool) { return MerkleProof.verify(_proof, _root, leaf); } // Overrides the ERC721A burn function function burn(uint256 _tokenId) public virtual override { require(allowBurn, "Burning is not currently allowed"); _burn(_tokenId, true); } /** @notice Sets the contract-wide royalty info. */ function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(receiver, feeBasisPoints); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // 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); } } } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "./IERC2981.sol"; import "./ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word 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: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721ABurnable.sol'; import './ERC721A.sol'; /** * @title ERC721ABurnable. * * @dev ERC721A token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // 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) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "./SafeERC20.sol"; import "./Address.sol"; import "./Context.sol"; /** * @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_); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./draft-IERC20Permit.sol"; import "./Address.sol"; /** * @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"); } } }
// SPDX-License-Identifier: MIT // 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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"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":"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":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"newPhase","type":"uint256"}],"name":"MintPhaseChanged","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":false,"internalType":"address","name":"_referrer","type":"address"},{"indexed":false,"internalType":"string","name":"_eid","type":"string"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ReferralMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"ToggleAllowBurn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ALLOWLIST_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFERRAL_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFERRER_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressPublicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressWLMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPhase","type":"uint256"}],"name":"changeMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleroot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_referrer","type":"address"},{"internalType":"string","name":"_eid","type":"string"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintAllowListReferrer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintFreeMintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintNoReferrer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_referrer","type":"address"},{"internalType":"string","name":"_eid","type":"string"}],"name":"mintReferrer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"referralCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCap","type":"uint256"}],"name":"setWLCap","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":[],"name":"toggleAllowBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260006018556019805460ff191690556014601a553480156200002557600080fd5b50604051620040663803806200406683398101604081905262000048916200071c565b604080518082018252600c81526b4c6f7665204c65747465727360a01b6020808301918252835180850190945260048452634c4f564560e01b908401528151859385939290916200009c9160029162000571565b508051620000b290600390602084019062000571565b50506000805550620000c43362000230565b8051825114620001365760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001895760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200012d565b60005b8251811015620001f557620001e0838281518110620001af57620001af62000917565b6020026020010151838381518110620001cc57620001cc62000917565b60200260200101516200028260201b60201c565b80620001ec81620008e3565b9150506200018c565b505060016012555083516200021290601790602087019062000571565b50601b83905562000226306103e862000470565b5050505062000943565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002ef5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200012d565b60008111620003415760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200012d565b6001600160a01b0382166000908152600b602052604090205415620003bd5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200012d565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b60205260409020819055600954620004279082906200088b565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b6127106001600160601b0382161115620004e05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200012d565b6001600160a01b038216620005385760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200012d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b8280546200057f90620008a6565b90600052602060002090601f016020900481019282620005a35760008555620005ee565b82601f10620005be57805160ff1916838001178555620005ee565b82800160010185558215620005ee579182015b82811115620005ee578251825591602001919060010190620005d1565b50620005fc92915062000600565b5090565b5b80821115620005fc576000815560010162000601565b600082601f8301126200062957600080fd5b81516020620006426200063c8362000865565b62000832565b80838252828201915082860187848660051b89010111156200066357600080fd5b6000805b868110156200069a5782516001600160a01b038116811462000687578283fd5b8552938501939185019160010162000667565b509198975050505050505050565b600082601f830112620006ba57600080fd5b81516020620006cd6200063c8362000865565b80838252828201915082860187848660051b8901011115620006ee57600080fd5b60005b858110156200070f57815184529284019290840190600101620006f1565b5090979650505050505050565b600080600080608085870312156200073357600080fd5b84516001600160401b03808211156200074b57600080fd5b818701915087601f8301126200076057600080fd5b8151818111156200077557620007756200092d565b60206200078b601f8301601f1916820162000832565b8281528a82848701011115620007a057600080fd5b60005b83811015620007c0578581018301518282018401528201620007a3565b83811115620007d25760008385840101525b509089015160408a0151919850965092505080821115620007f257600080fd5b620008008883890162000617565b935060608701519150808211156200081757600080fd5b506200082687828801620006a8565b91505092959194509250565b604051601f8201601f191681016001600160401b03811182821017156200085d576200085d6200092d565b604052919050565b60006001600160401b038211156200088157620008816200092d565b5060051b60200190565b60008219821115620008a157620008a162000901565b500190565b600181811c90821680620008bb57607f821691505b60208210811415620008dd57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620008fa57620008fa62000901565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61371380620009536000396000f3fe60806040526004361061037a5760003560e01c8063898685c2116101d1578063c546928f11610102578063db3d2bb5116100a0578063e985e9c51161006f578063e985e9c514610aa7578063eb43d0fb14610af0578063eee85dc114610b03578063f2fde38b14610b2357600080fd5b8063db3d2bb514610a15578063db74559b14610a35578063e0ec7c3614610a62578063e33b7de314610a9257600080fd5b8063ce7c2ac2116100dc578063ce7c2ac214610974578063d52c57e0146109aa578063d547cfb7146109ca578063d79779b2146109df57600080fd5b8063c546928f1461092c578063c87b56dd1461093f578063cdf653061461095f57600080fd5b8063a22cb4651161016f578063b71eac7e11610149578063b71eac7e146108bb578063b88d4fde146108d0578063c002d23d146108f0578063c45ac0501461090c57600080fd5b8063a22cb46514610865578063a3f8eace14610885578063b6c7ecf5146108a557600080fd5b80638da5cb5b116101ab5780638da5cb5b146107cf57806395d89b41146107ed5780639852595c146108025780639a9f63741461083857600080fd5b8063898685c21461077e5780638b83209b146107995780638c2a5a1a146107b957600080fd5b8063406072a9116102ab5780635ff41a66116102495780636e46be80116102235780636e46be801461070e57806370a0823114610729578063715018a6146107495780637cb647591461075e57600080fd5b80635ff41a66146106bb578063615d166e146106ce5780636352211e146106ee57600080fd5b806348b750441161028557806348b75044146106335780634e70fbe91461065357806355f804b31461068057806357adb295146106a057600080fd5b8063406072a9146105ad57806342842e0e146105f357806342966c681461061357600080fd5b806318160ddd116103185780632a55205a116102f25780632a55205a1461052957806333039d3d1461056857806335e061fc1461057e5780633a98ef391461059857600080fd5b806318160ddd146104d057806319165587146104e957806323b872dd1461050957600080fd5b8063081812fc11610354578063081812fc14610441578063095ea7b31461047957806316f9893e1461049957806317881cbf146104ac57600080fd5b806301ffc9a7146103c857806302fa7c47146103fd57806306fdde031461041f57600080fd5b366103c3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d457600080fd5b506103e86103e33660046131f1565b610b43565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d61041836600461313f565b610b63565b005b34801561042b57600080fd5b50610434610b79565b6040516103f491906133e5565b34801561044d57600080fd5b5061046161045c3660046131d8565b610c0b565b6040516001600160a01b0390911681526020016103f4565b34801561048557600080fd5b5061041d610494366004612fbe565b610c4f565b61041d6104a7366004612fea565b610cef565b3480156104b857600080fd5b506104c260185481565b6040519081526020016103f4565b3480156104dc57600080fd5b50600154600054036104c2565b3480156104f557600080fd5b5061041d610504366004612e79565b610e52565b34801561051557600080fd5b5061041d610524366004612ecf565b610f49565b34801561053557600080fd5b506105496105443660046132db565b6110d3565b604080516001600160a01b0390931683526020830191909152016103f4565b34801561057457600080fd5b506104c261037881565b34801561058a57600080fd5b506019546103e89060ff1681565b3480156105a457600080fd5b506009546104c2565b3480156105b957600080fd5b506104c26105c8366004612e96565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105ff57600080fd5b5061041d61060e366004612ecf565b611181565b34801561061f57600080fd5b5061041d61062e3660046131d8565b6111a1565b34801561063f57600080fd5b5061041d61064e366004612e96565b611201565b34801561065f57600080fd5b506104c261066e366004612e79565b60146020526000908152604090205481565b34801561068c57600080fd5b5061041d61069b36600461322b565b611321565b3480156106ac57600080fd5b506104c266354a6ba7a1800081565b61041d6106c93660046130e3565b611366565b3480156106da57600080fd5b5061041d6106e93660046131d8565b611606565b3480156106fa57600080fd5b506104616107093660046131d8565b61164f565b34801561071a57600080fd5b506104c266b8bdb97852000081565b34801561073557600080fd5b506104c2610744366004612e79565b61165a565b34801561075557600080fd5b5061041d6116a9565b34801561076a57600080fd5b5061041d6107793660046131d8565b6116bd565b34801561078a57600080fd5b506104c266f195a3c4ba000081565b3480156107a557600080fd5b506104616107b43660046131d8565b6116ca565b3480156107c557600080fd5b506104c2601a5481565b3480156107db57600080fd5b506008546001600160a01b0316610461565b3480156107f957600080fd5b506104346116fa565b34801561080e57600080fd5b506104c261081d366004612e79565b6001600160a01b03166000908152600c602052604090205490565b34801561084457600080fd5b506104c2610853366004612e79565b60136020526000908152604090205481565b34801561087157600080fd5b5061041d610880366004612f90565b611709565b34801561089157600080fd5b506104c26108a0366004612e79565b61179f565b3480156108b157600080fd5b506104c2601b5481565b3480156108c757600080fd5b5061041d6117e7565b3480156108dc57600080fd5b5061041d6108eb366004612f10565b61183c565b3480156108fc57600080fd5b506104c267011c37937e08000081565b34801561091857600080fd5b506104c2610927366004612e96565b611886565b61041d61093a36600461304a565b611960565b34801561094b57600080fd5b5061043461095a3660046131d8565b611a70565b34801561096b57600080fd5b506104c2600a81565b34801561098057600080fd5b506104c261098f366004612e79565b6001600160a01b03166000908152600b602052604090205490565b3480156109b657600080fd5b5061041d6109c53660046132b6565b611b50565b3480156109d657600080fd5b50610434611c24565b3480156109eb57600080fd5b506104c26109fa366004612e79565b6001600160a01b03166000908152600e602052604090205490565b348015610a2157600080fd5b5061041d610a303660046131d8565b611cb2565b348015610a4157600080fd5b506104c2610a50366004612e79565b60166020526000908152604090205481565b348015610a6e57600080fd5b506103e8610a7d366004612e79565b60156020526000908152604090205460ff1681565b348015610a9e57600080fd5b50600a546104c2565b348015610ab357600080fd5b506103e8610ac2366004612e96565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61041d610afe366004612fbe565b611cbf565b348015610b0f57600080fd5b5061041d610b1e366004613179565b611d1c565b348015610b2f57600080fd5b5061041d610b3e366004612e79565b611ebf565b6000610b4e82611f35565b80610b5d5750610b5d82611f83565b92915050565b610b6b611fb8565b610b758282612012565b5050565b606060028054610b88906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb4906135c2565b8015610c015780601f10610bd657610100808354040283529160200191610c01565b820191906000526020600020905b815481529060010190602001808311610be457829003601f168201915b5050505050905090565b6000610c168261210f565b610c33576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c5a8261164f565b9050336001600160a01b03821614610c9357610c768133610ac2565b610c93576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60026012541415610d475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026012556001600160a01b038281169085161415610d785760405162461bcd60e51b8152600401610d3e906134ef565b34610d8a66f195a3c4ba000085613560565b14610dca5760405162461bcd60e51b815260206004820152601060248201526f436865636b206d696e7420707269636560801b6044820152606401610d3e565b6001600160a01b03821660009081526016602052604081208054859290610df2908490613534565b90915550506040517fc5d9441df4d9cfc9051c9b99acf67fe6ec0bc7ed48a07aaf0123f70eee8b510590610e2b90849084908790613374565b60405180910390a1610e3d8484612136565b610e4782846122b6565b505060016012555050565b6001600160a01b0381166000908152600b6020526040902054610e875760405162461bcd60e51b8152600401610d3e90613427565b6000610e928261179f565b905080610eb15760405162461bcd60e51b8152600401610d3e9061346d565b6001600160a01b0382166000908152600c602052604081208054839290610ed9908490613534565b9250508190555080600a6000828254610ef29190613534565b90915550610f02905082826122fc565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a15050565b6000610f5482612415565b9050836001600160a01b0316816001600160a01b031614610f875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054610fb38187335b6001600160a01b039081169116811491141790565b610fde57610fc18633610ac2565b610fde57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100557604051633a954ecd60e21b815260040160405180910390fd5b801561101057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661109b57600184016000818152600460205260409020546110995760005481146110995760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206136be83398151915260405160405180910390a45b505050505050565b60008281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111485750604080518082019091526010546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611167906001600160601b031687613560565b611171919061354c565b91519350909150505b9250929050565b61119c8383836040518060200160405280600081525061183c565b505050565b60195460ff166111f35760405162461bcd60e51b815260206004820181905260248201527f4275726e696e67206973206e6f742063757272656e746c7920616c6c6f7765646044820152606401610d3e565b6111fe816001612476565b50565b6001600160a01b0381166000908152600b60205260409020546112365760405162461bcd60e51b8152600401610d3e90613427565b60006112428383611886565b9050806112615760405162461bcd60e51b8152600401610d3e9061346d565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290611298908490613534565b90915550506001600160a01b0383166000908152600e6020526040812080548392906112c5908490613534565b909155506112d690508383836125a7565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611329611fb8565b61133560178383612d05565b506040513381527f9bfdd2b649e4e6b3a8a2d15283914c1356714c1eb38ccfbd28339e399c7d8e0f90602001610f3d565b60006113756001546000540390565b6001600160a01b0386166000908152601460205260408120549192506113dd906113a09088906125f9565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b54915061263f9050565b6114295760405162461bcd60e51b815260206004820152601760248201527f57616c6c6574206e6f74206f6e20616c6c6f776c6973740000000000000000006044820152606401610d3e565b601a546114368683613534565b11156114845760405162461bcd60e51b815260206004820152601d60248201527f45786365656465642077686974656c69737420616c6c6f77616e63652e0000006044820152606401610d3e565b6018546001146114d65760405162461bcd60e51b815260206004820152601c60248201527f416c6c6f776c6973742073616c65206973206e6f7420616374697665000000006044820152606401610d3e565b600085116114f65760405162461bcd60e51b8152600401610d3e906134b8565b602885111561155d5760405162461bcd60e51b815260206004820152602d60248201527f596f752063616e6e6f74206d696e742074686973206d616e7920696e206f6e6560448201526c103a3930b739b0b1ba34b7b71760991b6064820152608401610d3e565b61037861156a8684613534565b11156115885760405162461bcd60e51b8152600401610d3e906133f8565b3461159a66b8bdb97852000087613560565b146115d95760405162461bcd60e51b815260206004820152600f60248201526e496e636f727265637420707269636560881b6044820152606401610d3e565b6115e38582613534565b6001600160a01b0387166000908152601460205260409020556110cb868661264c565b61160e611fb8565b601881905560408051338152602081018390527f404267bc469b7171caef62267ff61d06404fdcec1a9366df1ee818a4ed95111c910160405180910390a150565b6000610b5d82612415565b60006001600160a01b038216611683576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6116b1611fb8565b6116bb6000612666565b565b6116c5611fb8565b601b55565b6000600d82815481106116df576116df613658565b6000918252602090912001546001600160a01b031692915050565b606060038054610b88906135c2565b6001600160a01b0382163314156117335760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806117ab600a5490565b6117b59047613534565b90506117e083826117db866001600160a01b03166000908152600c602052604090205490565b6126b8565b9392505050565b6117ef611fb8565b6019805460ff8082161560ff1990921682179092556040519116151581527f0cddf464a769089807584b30ca98e45741fa2d3d829c6eda6ade2b39f8b996c29060200160405180910390a1565b611847848484610f49565b6001600160a01b0383163b1561188057611863848484846126f6565b611880576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a082319060240160206040518083038186803b1580156118e057600080fd5b505afa1580156118f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611918919061329d565b6119229190613534565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061195890849083906126b8565b949350505050565b600260125414156119b35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d3e565b60026012556001600160a01b0384811690871614156119e45760405162461bcd60e51b8152600401610d3e906134ef565b6001600160a01b03841660009081526016602052604081208054879290611a0c908490613534565b90915550506040517fc5d9441df4d9cfc9051c9b99acf67fe6ec0bc7ed48a07aaf0123f70eee8b510590611a4590869086908990613374565b60405180910390a1611a5986868484611366565b611a6384866122b6565b5050600160125550505050565b6060600060178054611a81906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611aad906135c2565b8015611afa5780601f10611acf57610100808354040283529160200191611afa565b820191906000526020600020905b815481529060010190602001808311611add57829003601f168201915b505050505090506000815111611b1f57604051806020016040528060008152506117e0565b80611b29846127ed565b604051602001611b3a929190613345565b6040516020818303038152906040529392505050565b611b58611fb8565b6000611b676001546000540390565b905060008311611b895760405162461bcd60e51b8152600401610d3e906134b8565b6028831115611bef5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e6e6f74206d696e742074686973206d616e7920696e206f6e6560448201526b103a3930b739b0b1ba34b7b760a11b6064820152608401610d3e565b610378611bfc8483613534565b1115611c1a5760405162461bcd60e51b8152600401610d3e906133f8565b61119c828461264c565b60178054611c31906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d906135c2565b8015611caa5780601f10611c7f57610100808354040283529160200191611caa565b820191906000526020600020905b815481529060010190602001808311611c8d57829003601f168201915b505050505081565b611cba611fb8565b601a55565b34611cd267011c37937e08000083613560565b14611d125760405162461bcd60e51b815260206004820152601060248201526f436865636b206d696e7420707269636560801b6044820152606401610d3e565b610b758282612136565b6000611d2b6001546000540390565b3360009081526015602052604090205490915060ff1615611d8e5760405162461bcd60e51b815260206004820152601960248201527f46726565206d696e7420616c726561647920636c61696d6564000000000000006044820152606401610d3e565b611dd9611d9c3360016125f9565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b54915061263f9050565b611e255760405162461bcd60e51b815260206004820152601c60248201527f57616c6c6574206e6f74206f6e2066726565206d696e74206c697374000000006044820152606401610d3e565b601854600114611e6c5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610d3e565b610378611e7a826001613534565b1115611e985760405162461bcd60e51b8152600401610d3e906133f8565b336000818152601560205260409020805460ff1916600190811790915561119c919061264c565b611ec7611fb8565b6001600160a01b038116611f2c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d3e565b6111fe81612666565b60006301ffc9a760e01b6001600160e01b031983161480611f6657506380ac58cd60e01b6001600160e01b03198316145b80610b5d5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610b5d57506301ffc9a760e01b6001600160e01b0319831614610b5d565b6008546001600160a01b031633146116bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d3e565b6127106001600160601b03821611156120805760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610d3e565b6001600160a01b0382166120d65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d3e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b6000805482108015610b5d575050600090815260046020526040902054600160e01b161590565b60006121456001546000540390565b6001600160a01b038416600090815260136020526040902054601854919250906002146121b45760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c65206973206e6f7420796574206163746976650000006044820152606401610d3e565b600083116121d45760405162461bcd60e51b8152600401610d3e906134b8565b600a6121e08483613534565b111561222e5760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d6178206d696e7420636f756e740000000000000000006044820152606401610d3e565b61037861223b8484613534565b11156122895760405162461bcd60e51b815260206004820181905260248201527f4d6178206d696e7420737570706c7920686173206265656e20726561636865646044820152606401610d3e565b6122938382613534565b6001600160a01b038516600090815260136020526040902055611880848461264c565b6001600160a01b0382166108fc6122d48366354a6ba7a18000613560565b6040518115909202916000818181858888f1935050505015801561119c573d6000803e3d6000fd5b8047101561234c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d3e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612399576040519150601f19603f3d011682016040523d82523d6000602084013e61239e565b606091505b505090508061119c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d3e565b60008160005481101561245d57600081815260046020526040902054600160e01b811661245b575b806117e057506000190160008181526004602052604090205461243d565b505b604051636f96cda160e11b815260040160405180910390fd5b600061248183612415565b90508060008061249f86600090815260066020526040902080549091565b9150915084156124df576124b4818433610f9e565b6124df576124c28333610ac2565b6124df57604051632ce44b5f60e11b815260040160405180910390fd5b80156124ea57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b8416612571576001860160008181526004602052604090205461256f57600054811461256f5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206136be833981519152908390a45050600180548101905550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261119c9084906128eb565b6040805160609390931b6bffffffffffffffffffffffff191660208085019190915291151560f81b60348401528051601581850301815260359093019052815191012090565b60006119588383866129bd565b610b758282604051806020016040528060008152506129d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916126e29086613560565b6126ec919061354c565b611958919061357f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061272b9033908990889088906004016133a8565b602060405180830381600087803b15801561274557600080fd5b505af1925050508015612775575060408051601f3d908101601f191682019092526127729181019061320e565b60015b6127d0573d8080156127a3576040519150601f19603f3d011682016040523d82523d6000602084013e6127a8565b606091505b5080516127c8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816128115750506040805180820190915260018152600360fc1b602082015290565b8160005b811561283b5780612825816135fd565b91506128349050600a8361354c565b9150612815565b60008167ffffffffffffffff8111156128565761285661366e565b6040519080825280601f01601f191660200182016040528015612880576020820181803683370190505b5090505b84156119585761289560018361357f565b91506128a2600a86613618565b6128ad906030613534565b60f81b8183815181106128c2576128c2613658565b60200101906001600160f81b031916908160001a9053506128e4600a8661354c565b9450612884565b6000612940826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a409092919063ffffffff16565b80519091501561119c578080602001905181019061295e91906131bb565b61119c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d3e565b6000826129ca8584612a4f565b14949350505050565b6129dd8383612a9c565b6001600160a01b0383163b1561119c576000548281035b612a0760008683806001019450866126f6565b612a24576040516368d2bf6b60e11b815260040160405180910390fd5b8181106129f4578160005414612a3957600080fd5b5050505050565b60606119588484600085612b6f565b600081815b8451811015612a9457612a8082868381518110612a7357612a73613658565b6020026020010151612ca0565b915080612a8c816135fd565b915050612a54565b509392505050565b60005481612abd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206136be8339815191528180a4600183015b818114612b4857808360006000805160206136be833981519152600080a4600101612b22565b5081612b6657604051622e076360e81b815260040160405180910390fd5b60005550505050565b606082471015612bd05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d3e565b6001600160a01b0385163b612c275760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d3e565b600080866001600160a01b03168587604051612c439190613329565b60006040518083038185875af1925050503d8060008114612c80576040519150601f19603f3d011682016040523d82523d6000602084013e612c85565b606091505b5091509150612c95828286612ccc565b979650505050505050565b6000818310612cbc5760008281526020849052604090206117e0565b5060009182526020526040902090565b60608315612cdb5750816117e0565b825115612ceb5782518084602001fd5b8160405162461bcd60e51b8152600401610d3e91906133e5565b828054612d11906135c2565b90600052602060002090601f016020900481019282612d335760008555612d79565b82601f10612d4c5782800160ff19823516178555612d79565b82800160010185558215612d79579182015b82811115612d79578235825591602001919060010190612d5e565b50612d85929150612d89565b5090565b5b80821115612d855760008155600101612d8a565b600067ffffffffffffffff80841115612db957612db961366e565b604051601f8501601f19908116603f01168101908282118183101715612de157612de161366e565b81604052809350858152868686011115612dfa57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612e2657600080fd5b50813567ffffffffffffffff811115612e3e57600080fd5b6020830191508360208260051b850101111561117a57600080fd5b600082601f830112612e6a57600080fd5b6117e083833560208501612d9e565b600060208284031215612e8b57600080fd5b81356117e081613684565b60008060408385031215612ea957600080fd5b8235612eb481613684565b91506020830135612ec481613684565b809150509250929050565b600080600060608486031215612ee457600080fd5b8335612eef81613684565b92506020840135612eff81613684565b929592945050506040919091013590565b60008060008060808587031215612f2657600080fd5b8435612f3181613684565b93506020850135612f4181613684565b925060408501359150606085013567ffffffffffffffff811115612f6457600080fd5b8501601f81018713612f7557600080fd5b612f8487823560208401612d9e565b91505092959194509250565b60008060408385031215612fa357600080fd5b8235612fae81613684565b91506020830135612ec481613699565b60008060408385031215612fd157600080fd5b8235612fdc81613684565b946020939093013593505050565b6000806000806080858703121561300057600080fd5b843561300b81613684565b935060208501359250604085013561302281613684565b9150606085013567ffffffffffffffff81111561303e57600080fd5b612f8487828801612e59565b60008060008060008060a0878903121561306357600080fd5b863561306e81613684565b955060208701359450604087013561308581613684565b9350606087013567ffffffffffffffff808211156130a257600080fd5b6130ae8a838b01612e59565b945060808901359150808211156130c457600080fd5b506130d189828a01612e14565b979a9699509497509295939492505050565b600080600080606085870312156130f957600080fd5b843561310481613684565b935060208501359250604085013567ffffffffffffffff81111561312757600080fd5b61313387828801612e14565b95989497509550505050565b6000806040838503121561315257600080fd5b823561315d81613684565b915060208301356001600160601b0381168114612ec457600080fd5b6000806020838503121561318c57600080fd5b823567ffffffffffffffff8111156131a357600080fd5b6131af85828601612e14565b90969095509350505050565b6000602082840312156131cd57600080fd5b81516117e081613699565b6000602082840312156131ea57600080fd5b5035919050565b60006020828403121561320357600080fd5b81356117e0816136a7565b60006020828403121561322057600080fd5b81516117e0816136a7565b6000806020838503121561323e57600080fd5b823567ffffffffffffffff8082111561325657600080fd5b818501915085601f83011261326a57600080fd5b81358181111561327957600080fd5b86602082850101111561328b57600080fd5b60209290920196919550909350505050565b6000602082840312156132af57600080fd5b5051919050565b600080604083850312156132c957600080fd5b823591506020830135612ec481613684565b600080604083850312156132ee57600080fd5b50508035926020909101359150565b60008151808452613315816020860160208601613596565b601f01601f19169290920160200192915050565b6000825161333b818460208701613596565b9190910192915050565b60008351613357818460208801613596565b83519083019061336b818360208801613596565b01949350505050565b6001600160a01b0384168152606060208201819052600090613398908301856132fd565b9050826040830152949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133db908301846132fd565b9695505050505050565b6020815260006117e060208301846132fd565b60208082526015908201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526019908201527f4d696e7420616d6f756e742063616e2774206265207a65726f00000000000000604082015260600190565b60208082526025908201527f52656665727265722063616e6e6f74206265207468652073616d65206173207360408201526432b73232b960d91b606082015260800190565b600082198211156135475761354761362c565b500190565b60008261355b5761355b613642565b500490565b600081600019048311821515161561357a5761357a61362c565b500290565b6000828210156135915761359161362c565b500390565b60005b838110156135b1578181015183820152602001613599565b838111156118805750506000910152565b600181811c908216806135d657607f821691505b602082108114156135f757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136115761361161362c565b5060010190565b60008261362757613627613642565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146111fe57600080fd5b80151581146111fe57600080fd5b6001600160e01b0319811681146111fe57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204b3767a064b70cc8326f28db4a71499a6aa6249e115cd3416b2adebfbec6fd8264736f6c634300080700330000000000000000000000000000000000000000000000000000000000000080a4ff0fbc9f11cebb89a7546e6e46b7bb791ba5ab48c9fc21a049a37cc52c768000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e754d367756796d3337657a7351594474694d42586762484c5245555a4464535157446d7a4c34745a7370732f000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b5450bf3799205e19e193ac18ca220ab7840f7010000000000000000000000008dc60e1987f5c9123f5a8667916e8d6946b4657e0000000000000000000000006e0c906fea410f4b9b62dd353d6114208dca1c040000000000000000000000006438531a4c4713ee0f928fbfb087049f994394ec00000000000000000000000074a49d37d736aa5d6a4351b31b66a75c3a70faea000000000000000000000000ae1f01f1e9f72d8bc7af9e0f8f91d1566c70d49400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000003d09000000000000000000000000000000000000000000000000000000000000510e0000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000aefce0000000000000000000000000000000000000000000000000000000000030d40
Deployed Bytecode
0x60806040526004361061037a5760003560e01c8063898685c2116101d1578063c546928f11610102578063db3d2bb5116100a0578063e985e9c51161006f578063e985e9c514610aa7578063eb43d0fb14610af0578063eee85dc114610b03578063f2fde38b14610b2357600080fd5b8063db3d2bb514610a15578063db74559b14610a35578063e0ec7c3614610a62578063e33b7de314610a9257600080fd5b8063ce7c2ac2116100dc578063ce7c2ac214610974578063d52c57e0146109aa578063d547cfb7146109ca578063d79779b2146109df57600080fd5b8063c546928f1461092c578063c87b56dd1461093f578063cdf653061461095f57600080fd5b8063a22cb4651161016f578063b71eac7e11610149578063b71eac7e146108bb578063b88d4fde146108d0578063c002d23d146108f0578063c45ac0501461090c57600080fd5b8063a22cb46514610865578063a3f8eace14610885578063b6c7ecf5146108a557600080fd5b80638da5cb5b116101ab5780638da5cb5b146107cf57806395d89b41146107ed5780639852595c146108025780639a9f63741461083857600080fd5b8063898685c21461077e5780638b83209b146107995780638c2a5a1a146107b957600080fd5b8063406072a9116102ab5780635ff41a66116102495780636e46be80116102235780636e46be801461070e57806370a0823114610729578063715018a6146107495780637cb647591461075e57600080fd5b80635ff41a66146106bb578063615d166e146106ce5780636352211e146106ee57600080fd5b806348b750441161028557806348b75044146106335780634e70fbe91461065357806355f804b31461068057806357adb295146106a057600080fd5b8063406072a9146105ad57806342842e0e146105f357806342966c681461061357600080fd5b806318160ddd116103185780632a55205a116102f25780632a55205a1461052957806333039d3d1461056857806335e061fc1461057e5780633a98ef391461059857600080fd5b806318160ddd146104d057806319165587146104e957806323b872dd1461050957600080fd5b8063081812fc11610354578063081812fc14610441578063095ea7b31461047957806316f9893e1461049957806317881cbf146104ac57600080fd5b806301ffc9a7146103c857806302fa7c47146103fd57806306fdde031461041f57600080fd5b366103c3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d457600080fd5b506103e86103e33660046131f1565b610b43565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d61041836600461313f565b610b63565b005b34801561042b57600080fd5b50610434610b79565b6040516103f491906133e5565b34801561044d57600080fd5b5061046161045c3660046131d8565b610c0b565b6040516001600160a01b0390911681526020016103f4565b34801561048557600080fd5b5061041d610494366004612fbe565b610c4f565b61041d6104a7366004612fea565b610cef565b3480156104b857600080fd5b506104c260185481565b6040519081526020016103f4565b3480156104dc57600080fd5b50600154600054036104c2565b3480156104f557600080fd5b5061041d610504366004612e79565b610e52565b34801561051557600080fd5b5061041d610524366004612ecf565b610f49565b34801561053557600080fd5b506105496105443660046132db565b6110d3565b604080516001600160a01b0390931683526020830191909152016103f4565b34801561057457600080fd5b506104c261037881565b34801561058a57600080fd5b506019546103e89060ff1681565b3480156105a457600080fd5b506009546104c2565b3480156105b957600080fd5b506104c26105c8366004612e96565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105ff57600080fd5b5061041d61060e366004612ecf565b611181565b34801561061f57600080fd5b5061041d61062e3660046131d8565b6111a1565b34801561063f57600080fd5b5061041d61064e366004612e96565b611201565b34801561065f57600080fd5b506104c261066e366004612e79565b60146020526000908152604090205481565b34801561068c57600080fd5b5061041d61069b36600461322b565b611321565b3480156106ac57600080fd5b506104c266354a6ba7a1800081565b61041d6106c93660046130e3565b611366565b3480156106da57600080fd5b5061041d6106e93660046131d8565b611606565b3480156106fa57600080fd5b506104616107093660046131d8565b61164f565b34801561071a57600080fd5b506104c266b8bdb97852000081565b34801561073557600080fd5b506104c2610744366004612e79565b61165a565b34801561075557600080fd5b5061041d6116a9565b34801561076a57600080fd5b5061041d6107793660046131d8565b6116bd565b34801561078a57600080fd5b506104c266f195a3c4ba000081565b3480156107a557600080fd5b506104616107b43660046131d8565b6116ca565b3480156107c557600080fd5b506104c2601a5481565b3480156107db57600080fd5b506008546001600160a01b0316610461565b3480156107f957600080fd5b506104346116fa565b34801561080e57600080fd5b506104c261081d366004612e79565b6001600160a01b03166000908152600c602052604090205490565b34801561084457600080fd5b506104c2610853366004612e79565b60136020526000908152604090205481565b34801561087157600080fd5b5061041d610880366004612f90565b611709565b34801561089157600080fd5b506104c26108a0366004612e79565b61179f565b3480156108b157600080fd5b506104c2601b5481565b3480156108c757600080fd5b5061041d6117e7565b3480156108dc57600080fd5b5061041d6108eb366004612f10565b61183c565b3480156108fc57600080fd5b506104c267011c37937e08000081565b34801561091857600080fd5b506104c2610927366004612e96565b611886565b61041d61093a36600461304a565b611960565b34801561094b57600080fd5b5061043461095a3660046131d8565b611a70565b34801561096b57600080fd5b506104c2600a81565b34801561098057600080fd5b506104c261098f366004612e79565b6001600160a01b03166000908152600b602052604090205490565b3480156109b657600080fd5b5061041d6109c53660046132b6565b611b50565b3480156109d657600080fd5b50610434611c24565b3480156109eb57600080fd5b506104c26109fa366004612e79565b6001600160a01b03166000908152600e602052604090205490565b348015610a2157600080fd5b5061041d610a303660046131d8565b611cb2565b348015610a4157600080fd5b506104c2610a50366004612e79565b60166020526000908152604090205481565b348015610a6e57600080fd5b506103e8610a7d366004612e79565b60156020526000908152604090205460ff1681565b348015610a9e57600080fd5b50600a546104c2565b348015610ab357600080fd5b506103e8610ac2366004612e96565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61041d610afe366004612fbe565b611cbf565b348015610b0f57600080fd5b5061041d610b1e366004613179565b611d1c565b348015610b2f57600080fd5b5061041d610b3e366004612e79565b611ebf565b6000610b4e82611f35565b80610b5d5750610b5d82611f83565b92915050565b610b6b611fb8565b610b758282612012565b5050565b606060028054610b88906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb4906135c2565b8015610c015780601f10610bd657610100808354040283529160200191610c01565b820191906000526020600020905b815481529060010190602001808311610be457829003601f168201915b5050505050905090565b6000610c168261210f565b610c33576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c5a8261164f565b9050336001600160a01b03821614610c9357610c768133610ac2565b610c93576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60026012541415610d475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026012556001600160a01b038281169085161415610d785760405162461bcd60e51b8152600401610d3e906134ef565b34610d8a66f195a3c4ba000085613560565b14610dca5760405162461bcd60e51b815260206004820152601060248201526f436865636b206d696e7420707269636560801b6044820152606401610d3e565b6001600160a01b03821660009081526016602052604081208054859290610df2908490613534565b90915550506040517fc5d9441df4d9cfc9051c9b99acf67fe6ec0bc7ed48a07aaf0123f70eee8b510590610e2b90849084908790613374565b60405180910390a1610e3d8484612136565b610e4782846122b6565b505060016012555050565b6001600160a01b0381166000908152600b6020526040902054610e875760405162461bcd60e51b8152600401610d3e90613427565b6000610e928261179f565b905080610eb15760405162461bcd60e51b8152600401610d3e9061346d565b6001600160a01b0382166000908152600c602052604081208054839290610ed9908490613534565b9250508190555080600a6000828254610ef29190613534565b90915550610f02905082826122fc565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05691015b60405180910390a15050565b6000610f5482612415565b9050836001600160a01b0316816001600160a01b031614610f875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054610fb38187335b6001600160a01b039081169116811491141790565b610fde57610fc18633610ac2565b610fde57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661100557604051633a954ecd60e21b815260040160405180910390fd5b801561101057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661109b57600184016000818152600460205260409020546110995760005481146110995760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206136be83398151915260405160405180910390a45b505050505050565b60008281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111485750604080518082019091526010546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611167906001600160601b031687613560565b611171919061354c565b91519350909150505b9250929050565b61119c8383836040518060200160405280600081525061183c565b505050565b60195460ff166111f35760405162461bcd60e51b815260206004820181905260248201527f4275726e696e67206973206e6f742063757272656e746c7920616c6c6f7765646044820152606401610d3e565b6111fe816001612476565b50565b6001600160a01b0381166000908152600b60205260409020546112365760405162461bcd60e51b8152600401610d3e90613427565b60006112428383611886565b9050806112615760405162461bcd60e51b8152600401610d3e9061346d565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290611298908490613534565b90915550506001600160a01b0383166000908152600e6020526040812080548392906112c5908490613534565b909155506112d690508383836125a7565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b611329611fb8565b61133560178383612d05565b506040513381527f9bfdd2b649e4e6b3a8a2d15283914c1356714c1eb38ccfbd28339e399c7d8e0f90602001610f3d565b60006113756001546000540390565b6001600160a01b0386166000908152601460205260408120549192506113dd906113a09088906125f9565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b54915061263f9050565b6114295760405162461bcd60e51b815260206004820152601760248201527f57616c6c6574206e6f74206f6e20616c6c6f776c6973740000000000000000006044820152606401610d3e565b601a546114368683613534565b11156114845760405162461bcd60e51b815260206004820152601d60248201527f45786365656465642077686974656c69737420616c6c6f77616e63652e0000006044820152606401610d3e565b6018546001146114d65760405162461bcd60e51b815260206004820152601c60248201527f416c6c6f776c6973742073616c65206973206e6f7420616374697665000000006044820152606401610d3e565b600085116114f65760405162461bcd60e51b8152600401610d3e906134b8565b602885111561155d5760405162461bcd60e51b815260206004820152602d60248201527f596f752063616e6e6f74206d696e742074686973206d616e7920696e206f6e6560448201526c103a3930b739b0b1ba34b7b71760991b6064820152608401610d3e565b61037861156a8684613534565b11156115885760405162461bcd60e51b8152600401610d3e906133f8565b3461159a66b8bdb97852000087613560565b146115d95760405162461bcd60e51b815260206004820152600f60248201526e496e636f727265637420707269636560881b6044820152606401610d3e565b6115e38582613534565b6001600160a01b0387166000908152601460205260409020556110cb868661264c565b61160e611fb8565b601881905560408051338152602081018390527f404267bc469b7171caef62267ff61d06404fdcec1a9366df1ee818a4ed95111c910160405180910390a150565b6000610b5d82612415565b60006001600160a01b038216611683576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6116b1611fb8565b6116bb6000612666565b565b6116c5611fb8565b601b55565b6000600d82815481106116df576116df613658565b6000918252602090912001546001600160a01b031692915050565b606060038054610b88906135c2565b6001600160a01b0382163314156117335760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000806117ab600a5490565b6117b59047613534565b90506117e083826117db866001600160a01b03166000908152600c602052604090205490565b6126b8565b9392505050565b6117ef611fb8565b6019805460ff8082161560ff1990921682179092556040519116151581527f0cddf464a769089807584b30ca98e45741fa2d3d829c6eda6ade2b39f8b996c29060200160405180910390a1565b611847848484610f49565b6001600160a01b0383163b1561188057611863848484846126f6565b611880576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a082319060240160206040518083038186803b1580156118e057600080fd5b505afa1580156118f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611918919061329d565b6119229190613534565b6001600160a01b038086166000908152600f602090815260408083209388168352929052205490915061195890849083906126b8565b949350505050565b600260125414156119b35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d3e565b60026012556001600160a01b0384811690871614156119e45760405162461bcd60e51b8152600401610d3e906134ef565b6001600160a01b03841660009081526016602052604081208054879290611a0c908490613534565b90915550506040517fc5d9441df4d9cfc9051c9b99acf67fe6ec0bc7ed48a07aaf0123f70eee8b510590611a4590869086908990613374565b60405180910390a1611a5986868484611366565b611a6384866122b6565b5050600160125550505050565b6060600060178054611a81906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611aad906135c2565b8015611afa5780601f10611acf57610100808354040283529160200191611afa565b820191906000526020600020905b815481529060010190602001808311611add57829003601f168201915b505050505090506000815111611b1f57604051806020016040528060008152506117e0565b80611b29846127ed565b604051602001611b3a929190613345565b6040516020818303038152906040529392505050565b611b58611fb8565b6000611b676001546000540390565b905060008311611b895760405162461bcd60e51b8152600401610d3e906134b8565b6028831115611bef5760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e6e6f74206d696e742074686973206d616e7920696e206f6e6560448201526b103a3930b739b0b1ba34b7b760a11b6064820152608401610d3e565b610378611bfc8483613534565b1115611c1a5760405162461bcd60e51b8152600401610d3e906133f8565b61119c828461264c565b60178054611c31906135c2565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5d906135c2565b8015611caa5780601f10611c7f57610100808354040283529160200191611caa565b820191906000526020600020905b815481529060010190602001808311611c8d57829003601f168201915b505050505081565b611cba611fb8565b601a55565b34611cd267011c37937e08000083613560565b14611d125760405162461bcd60e51b815260206004820152601060248201526f436865636b206d696e7420707269636560801b6044820152606401610d3e565b610b758282612136565b6000611d2b6001546000540390565b3360009081526015602052604090205490915060ff1615611d8e5760405162461bcd60e51b815260206004820152601960248201527f46726565206d696e7420616c726561647920636c61696d6564000000000000006044820152606401610d3e565b611dd9611d9c3360016125f9565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b54915061263f9050565b611e255760405162461bcd60e51b815260206004820152601c60248201527f57616c6c6574206e6f74206f6e2066726565206d696e74206c697374000000006044820152606401610d3e565b601854600114611e6c5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610d3e565b610378611e7a826001613534565b1115611e985760405162461bcd60e51b8152600401610d3e906133f8565b336000818152601560205260409020805460ff1916600190811790915561119c919061264c565b611ec7611fb8565b6001600160a01b038116611f2c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d3e565b6111fe81612666565b60006301ffc9a760e01b6001600160e01b031983161480611f6657506380ac58cd60e01b6001600160e01b03198316145b80610b5d5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b1480610b5d57506301ffc9a760e01b6001600160e01b0319831614610b5d565b6008546001600160a01b031633146116bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d3e565b6127106001600160601b03821611156120805760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610d3e565b6001600160a01b0382166120d65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d3e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b6000805482108015610b5d575050600090815260046020526040902054600160e01b161590565b60006121456001546000540390565b6001600160a01b038416600090815260136020526040902054601854919250906002146121b45760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c65206973206e6f7420796574206163746976650000006044820152606401610d3e565b600083116121d45760405162461bcd60e51b8152600401610d3e906134b8565b600a6121e08483613534565b111561222e5760405162461bcd60e51b815260206004820152601760248201527f4578636565646564206d6178206d696e7420636f756e740000000000000000006044820152606401610d3e565b61037861223b8484613534565b11156122895760405162461bcd60e51b815260206004820181905260248201527f4d6178206d696e7420737570706c7920686173206265656e20726561636865646044820152606401610d3e565b6122938382613534565b6001600160a01b038516600090815260136020526040902055611880848461264c565b6001600160a01b0382166108fc6122d48366354a6ba7a18000613560565b6040518115909202916000818181858888f1935050505015801561119c573d6000803e3d6000fd5b8047101561234c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d3e565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612399576040519150601f19603f3d011682016040523d82523d6000602084013e61239e565b606091505b505090508061119c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d3e565b60008160005481101561245d57600081815260046020526040902054600160e01b811661245b575b806117e057506000190160008181526004602052604090205461243d565b505b604051636f96cda160e11b815260040160405180910390fd5b600061248183612415565b90508060008061249f86600090815260066020526040902080549091565b9150915084156124df576124b4818433610f9e565b6124df576124c28333610ac2565b6124df57604051632ce44b5f60e11b815260040160405180910390fd5b80156124ea57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b8416612571576001860160008181526004602052604090205461256f57600054811461256f5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206136be833981519152908390a45050600180548101905550505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261119c9084906128eb565b6040805160609390931b6bffffffffffffffffffffffff191660208085019190915291151560f81b60348401528051601581850301815260359093019052815191012090565b60006119588383866129bd565b610b758282604051806020016040528060008152506129d3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916126e29086613560565b6126ec919061354c565b611958919061357f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061272b9033908990889088906004016133a8565b602060405180830381600087803b15801561274557600080fd5b505af1925050508015612775575060408051601f3d908101601f191682019092526127729181019061320e565b60015b6127d0573d8080156127a3576040519150601f19603f3d011682016040523d82523d6000602084013e6127a8565b606091505b5080516127c8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816128115750506040805180820190915260018152600360fc1b602082015290565b8160005b811561283b5780612825816135fd565b91506128349050600a8361354c565b9150612815565b60008167ffffffffffffffff8111156128565761285661366e565b6040519080825280601f01601f191660200182016040528015612880576020820181803683370190505b5090505b84156119585761289560018361357f565b91506128a2600a86613618565b6128ad906030613534565b60f81b8183815181106128c2576128c2613658565b60200101906001600160f81b031916908160001a9053506128e4600a8661354c565b9450612884565b6000612940826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a409092919063ffffffff16565b80519091501561119c578080602001905181019061295e91906131bb565b61119c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d3e565b6000826129ca8584612a4f565b14949350505050565b6129dd8383612a9c565b6001600160a01b0383163b1561119c576000548281035b612a0760008683806001019450866126f6565b612a24576040516368d2bf6b60e11b815260040160405180910390fd5b8181106129f4578160005414612a3957600080fd5b5050505050565b60606119588484600085612b6f565b600081815b8451811015612a9457612a8082868381518110612a7357612a73613658565b6020026020010151612ca0565b915080612a8c816135fd565b915050612a54565b509392505050565b60005481612abd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206136be8339815191528180a4600183015b818114612b4857808360006000805160206136be833981519152600080a4600101612b22565b5081612b6657604051622e076360e81b815260040160405180910390fd5b60005550505050565b606082471015612bd05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d3e565b6001600160a01b0385163b612c275760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d3e565b600080866001600160a01b03168587604051612c439190613329565b60006040518083038185875af1925050503d8060008114612c80576040519150601f19603f3d011682016040523d82523d6000602084013e612c85565b606091505b5091509150612c95828286612ccc565b979650505050505050565b6000818310612cbc5760008281526020849052604090206117e0565b5060009182526020526040902090565b60608315612cdb5750816117e0565b825115612ceb5782518084602001fd5b8160405162461bcd60e51b8152600401610d3e91906133e5565b828054612d11906135c2565b90600052602060002090601f016020900481019282612d335760008555612d79565b82601f10612d4c5782800160ff19823516178555612d79565b82800160010185558215612d79579182015b82811115612d79578235825591602001919060010190612d5e565b50612d85929150612d89565b5090565b5b80821115612d855760008155600101612d8a565b600067ffffffffffffffff80841115612db957612db961366e565b604051601f8501601f19908116603f01168101908282118183101715612de157612de161366e565b81604052809350858152868686011115612dfa57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612e2657600080fd5b50813567ffffffffffffffff811115612e3e57600080fd5b6020830191508360208260051b850101111561117a57600080fd5b600082601f830112612e6a57600080fd5b6117e083833560208501612d9e565b600060208284031215612e8b57600080fd5b81356117e081613684565b60008060408385031215612ea957600080fd5b8235612eb481613684565b91506020830135612ec481613684565b809150509250929050565b600080600060608486031215612ee457600080fd5b8335612eef81613684565b92506020840135612eff81613684565b929592945050506040919091013590565b60008060008060808587031215612f2657600080fd5b8435612f3181613684565b93506020850135612f4181613684565b925060408501359150606085013567ffffffffffffffff811115612f6457600080fd5b8501601f81018713612f7557600080fd5b612f8487823560208401612d9e565b91505092959194509250565b60008060408385031215612fa357600080fd5b8235612fae81613684565b91506020830135612ec481613699565b60008060408385031215612fd157600080fd5b8235612fdc81613684565b946020939093013593505050565b6000806000806080858703121561300057600080fd5b843561300b81613684565b935060208501359250604085013561302281613684565b9150606085013567ffffffffffffffff81111561303e57600080fd5b612f8487828801612e59565b60008060008060008060a0878903121561306357600080fd5b863561306e81613684565b955060208701359450604087013561308581613684565b9350606087013567ffffffffffffffff808211156130a257600080fd5b6130ae8a838b01612e59565b945060808901359150808211156130c457600080fd5b506130d189828a01612e14565b979a9699509497509295939492505050565b600080600080606085870312156130f957600080fd5b843561310481613684565b935060208501359250604085013567ffffffffffffffff81111561312757600080fd5b61313387828801612e14565b95989497509550505050565b6000806040838503121561315257600080fd5b823561315d81613684565b915060208301356001600160601b0381168114612ec457600080fd5b6000806020838503121561318c57600080fd5b823567ffffffffffffffff8111156131a357600080fd5b6131af85828601612e14565b90969095509350505050565b6000602082840312156131cd57600080fd5b81516117e081613699565b6000602082840312156131ea57600080fd5b5035919050565b60006020828403121561320357600080fd5b81356117e0816136a7565b60006020828403121561322057600080fd5b81516117e0816136a7565b6000806020838503121561323e57600080fd5b823567ffffffffffffffff8082111561325657600080fd5b818501915085601f83011261326a57600080fd5b81358181111561327957600080fd5b86602082850101111561328b57600080fd5b60209290920196919550909350505050565b6000602082840312156132af57600080fd5b5051919050565b600080604083850312156132c957600080fd5b823591506020830135612ec481613684565b600080604083850312156132ee57600080fd5b50508035926020909101359150565b60008151808452613315816020860160208601613596565b601f01601f19169290920160200192915050565b6000825161333b818460208701613596565b9190910192915050565b60008351613357818460208801613596565b83519083019061336b818360208801613596565b01949350505050565b6001600160a01b0384168152606060208201819052600090613398908301856132fd565b9050826040830152949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133db908301846132fd565b9695505050505050565b6020815260006117e060208301846132fd565b60208082526015908201527413585e081cdd5c1c1b1e481a5cc81c995858da1959605a1b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526019908201527f4d696e7420616d6f756e742063616e2774206265207a65726f00000000000000604082015260600190565b60208082526025908201527f52656665727265722063616e6e6f74206265207468652073616d65206173207360408201526432b73232b960d91b606082015260800190565b600082198211156135475761354761362c565b500190565b60008261355b5761355b613642565b500490565b600081600019048311821515161561357a5761357a61362c565b500290565b6000828210156135915761359161362c565b500390565b60005b838110156135b1578181015183820152602001613599565b838111156118805750506000910152565b600181811c908216806135d657607f821691505b602082108114156135f757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156136115761361161362c565b5060010190565b60008261362757613627613642565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146111fe57600080fd5b80151581146111fe57600080fd5b6001600160e01b0319811681146111fe57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204b3767a064b70cc8326f28db4a71499a6aa6249e115cd3416b2adebfbec6fd8264736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000080a4ff0fbc9f11cebb89a7546e6e46b7bb791ba5ab48c9fc21a049a37cc52c768000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e754d367756796d3337657a7351594474694d42586762484c5245555a4464535157446d7a4c34745a7370732f000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000b5450bf3799205e19e193ac18ca220ab7840f7010000000000000000000000008dc60e1987f5c9123f5a8667916e8d6946b4657e0000000000000000000000006e0c906fea410f4b9b62dd353d6114208dca1c040000000000000000000000006438531a4c4713ee0f928fbfb087049f994394ec00000000000000000000000074a49d37d736aa5d6a4351b31b66a75c3a70faea000000000000000000000000ae1f01f1e9f72d8bc7af9e0f8f91d1566c70d49400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000003d090000000000000000000000000000000000000000000000000000000000003d09000000000000000000000000000000000000000000000000000000000000510e0000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000aefce0000000000000000000000000000000000000000000000000000000000030d40
-----Decoded View---------------
Arg [0] : _baseUri (string): ipfs://QmNuM6wVym37ezsQYDtiMBXgbHLREUZDdSQWDmzL4tZsps/
Arg [1] : _merkleroot (bytes32): 0xa4ff0fbc9f11cebb89a7546e6e46b7bb791ba5ab48c9fc21a049a37cc52c7680
Arg [2] : _payees (address[]): 0xB5450bf3799205E19E193aC18CA220AB7840F701,0x8dc60e1987f5C9123F5a8667916e8d6946B4657E,0x6E0c906fEa410F4b9b62DD353D6114208dcA1C04,0x6438531A4C4713Ee0f928FBfb087049f994394Ec,0x74a49D37D736AA5d6a4351B31B66a75c3A70FaEa,0xaE1F01F1E9F72D8bC7AF9E0f8F91D1566C70D494
Arg [3] : _shares (uint256[]): 15625,15625,20750,31250,716750,200000
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : a4ff0fbc9f11cebb89a7546e6e46b7bb791ba5ab48c9fc21a049a37cc52c7680
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d4e754d367756796d3337657a7351594474694d42586762
Arg [6] : 484c5245555a4464535157446d7a4c34745a7370732f00000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 000000000000000000000000b5450bf3799205e19e193ac18ca220ab7840f701
Arg [9] : 0000000000000000000000008dc60e1987f5c9123f5a8667916e8d6946b4657e
Arg [10] : 0000000000000000000000006e0c906fea410f4b9b62dd353d6114208dca1c04
Arg [11] : 0000000000000000000000006438531a4c4713ee0f928fbfb087049f994394ec
Arg [12] : 00000000000000000000000074a49d37d736aa5d6a4351b31b66a75c3a70faea
Arg [13] : 000000000000000000000000ae1f01f1e9f72d8bc7af9e0f8f91d1566c70d494
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [15] : 0000000000000000000000000000000000000000000000000000000000003d09
Arg [16] : 0000000000000000000000000000000000000000000000000000000000003d09
Arg [17] : 000000000000000000000000000000000000000000000000000000000000510e
Arg [18] : 0000000000000000000000000000000000000000000000000000000000007a12
Arg [19] : 00000000000000000000000000000000000000000000000000000000000aefce
Arg [20] : 0000000000000000000000000000000000000000000000000000000000030d40
Deployed Bytecode Sourcemap
3627:8501:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3336:40:13;719:10:1;3336:40:13;;;-1:-1:-1;;;;;12855:32:19;;;12837:51;;3366:9:13;12919:2:19;12904:18;;12897:34;12810:18;3336:40:13;;;;;;;3627:8501:18;;;;;11885:241;;;;;;;;;;-1:-1:-1;11885:241:18;;;;;:::i;:::-;;:::i;:::-;;;13879:14:19;;13872:22;13854:41;;13842:2;13827:18;11885:241:18;;;;;;;;11714:165;;;;;;;;;;-1:-1:-1;11714:165:18;;;;;:::i;:::-;;:::i;:::-;;9996:98:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16309:214::-;;;;;;;;;;-1:-1:-1;16309:214:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;12211:32:19;;;12193:51;;12181:2;12166:18;16309:214:4;12047:203:19;15769:390:4;;;;;;;;;;-1:-1:-1;15769:390:4;;;;;:::i;:::-;;:::i;7388:487:18:-;;;;;;:::i;:::-;;:::i;4184:28::-;;;;;;;;;;;;;;;;;;;14052:25:19;;;14040:2;14025:18;4184:28:18;13906:177:19;5851:317:4;;;;;;;;;;-1:-1:-1;6121:12:4;;5912:7;6105:13;:28;5851:317;;5782:441:13;;;;;;;;;;-1:-1:-1;5782:441:13;;;;;:::i;:::-;;:::i;19918:2756:4:-;;;;;;;;;;-1:-1:-1;19918:2756:4;;;;;:::i;:::-;;:::i;1632:432:3:-;;;;;;;;;;-1:-1:-1;1632:432:3;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;12855:32:19;;;12837:51;;12919:2;12904:18;;12897:34;;;;12810:18;1632:432:3;12655:282:19;4615:46:18;;;;;;;;;;;;4658:3;4615:46;;4262:29;;;;;;;;;;-1:-1:-1;4262:29:18;;;;;;;;3461:89:13;;;;;;;;;;-1:-1:-1;3531:12:13;;3461:89;;4553:133;;;;;;;;;;-1:-1:-1;4553:133:13;;;;;:::i;:::-;-1:-1:-1;;;;;4649:21:13;;;4623:7;4649:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;4553:133;22765:179:4;;;;;;;;;;-1:-1:-1;22765:179:4;;;;;:::i;:::-;;:::i;11485:158:18:-;;;;;;;;;;-1:-1:-1;11485:158:18;;;;;:::i;:::-;;:::i;6484:502:13:-;;;;;;;;;;-1:-1:-1;6484:502:13;;;;;:::i;:::-;;:::i;3922:53:18:-;;;;;;;;;;-1:-1:-1;3922:53:18;;;;;:::i;:::-;;;;;;;;;;;;;;5981:142;;;;;;;;;;-1:-1:-1;5981:142:18;;;;;:::i;:::-;;:::i;4811:56::-;;;;;;;;;;;;4850:17;4811:56;;8481:919;;;;;;:::i;:::-;;:::i;10490:155::-;;;;;;;;;;-1:-1:-1;10490:155:18;;;;;:::i;:::-;;:::i;11348:150:4:-;;;;;;;;;;-1:-1:-1;11348:150:4;;;;;:::i;:::-;;:::i;4506:58:18:-;;;;;;;;;;;;4553:11;4506:58;;7002:230:4;;;;;;;;;;-1:-1:-1;7002:230:4;;;;;:::i;:::-;;:::i;1824:101:12:-;;;;;;;;;;;;;:::i;5809:104:18:-;;;;;;;;;;-1:-1:-1;5809:104:18;;;;;:::i;:::-;;:::i;4422:57::-;;;;;;;;;;;;4468:11;4422:57;;4772:98:13;;;;;;;;;;-1:-1:-1;4772:98:13;;;;;:::i;:::-;;:::i;4921:34:18:-;;;;;;;;;;;;;;;;1194:85:12;;;;;;;;;;-1:-1:-1;1266:6:12;;-1:-1:-1;;;;;1266:6:12;1194:85;;10165:102:4;;;;;;;;;;;;;:::i;4283:107:13:-;;;;;;;;;;-1:-1:-1;4283:107:13;;;;;:::i;:::-;-1:-1:-1;;;;;4365:18:13;4339:7;4365:18;;;:9;:18;;;;;;;4283:107;3859:57:18;;;;;;;;;;-1:-1:-1;3859:57:18;;;;;:::i;:::-;;;;;;;;;;;;;;16850:303:4;;;;;;;;;;-1:-1:-1;16850:303:4;;;;;:::i;:::-;;:::i;4955:222:13:-;;;;;;;;;;-1:-1:-1;4955:222:13;;;;;:::i;:::-;;:::i;5024:25:18:-;;;;;;;;;;;;;;;;10718:126;;;;;;;;;;;;;:::i;23525:388:4:-;;;;;;;;;;-1:-1:-1;23525:388:4;;;;;:::i;:::-;;:::i;4348:47:18:-;;;;;;;;;;;;4385:10;4348:47;;5331:257:13;;;;;;;;;;-1:-1:-1;5331:257:13;;;;;:::i;:::-;;:::i;9406:456:18:-;;;;;;:::i;:::-;;:::i;6354:238::-;;;;;;;;;;-1:-1:-1;6354:238:18;;;;;:::i;:::-;;:::i;4705:43::-;;;;;;;;;;;;4746:2;4705:43;;4086:103:13;;;;;;;;;;-1:-1:-1;4086:103:13;;;;;:::i;:::-;-1:-1:-1;;;;;4166:16:13;4140:7;4166:16;;;:7;:16;;;;;;;4086:103;7978:437:18;;;;;;;;;;-1:-1:-1;7978:437:18;;;;;:::i;:::-;;:::i;4089:26::-;;;;;;;;;;;;;:::i;3883:117:13:-;;;;;;;;;;-1:-1:-1;3883:117:13;;;;;:::i;:::-;-1:-1:-1;;;;;3967:26:13;3941:7;3967:26;;;:19;:26;;;;;;;3883:117;6180:92:18;;;;;;;;;;-1:-1:-1;6180:92:18;;;;;:::i;:::-;;:::i;4034:48::-;;;;;;;;;;-1:-1:-1;4034:48:18;;;;;:::i;:::-;;;;;;;;;;;;;;3981:47;;;;;;;;;;-1:-1:-1;3981:47:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;3639:93:13;;;;;;;;;;-1:-1:-1;3711:14:13;;3639:93;;17303:162:4;;;;;;;;;;-1:-1:-1;17303:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;17423:25:4;;;17400:4;17423:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17303:162;7187:195:18;;;;;;:::i;:::-;;:::i;9922:495::-;;;;;;;;;;-1:-1:-1;9922:495:18;;;;;:::i;:::-;;:::i;2074:198:12:-;;;;;;;;;;-1:-1:-1;2074:198:12;;;;;:::i;:::-;;:::i;11885:241:18:-;12012:4;12039:38;12065:11;12039:25;:38::i;:::-;:80;;;;12081:38;12107:11;12081:25;:38::i;:::-;12032:87;11885:241;-1:-1:-1;;11885:241:18:o;11714:165::-;1087:13:12;:11;:13::i;:::-;11828:44:18::1;11847:8;11857:14;11828:18;:44::i;:::-;11714:165:::0;;:::o;9996:98:4:-;10050:13;10082:5;10075:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9996:98;:::o;16309:214::-;16385:7;16409:16;16417:7;16409;:16::i;:::-;16404:64;;16434:34;;-1:-1:-1;;;16434:34:4;;;;;;;;;;;16404:64;-1:-1:-1;16486:24:4;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16486:30:4;;16309:214::o;15769:390::-;15849:13;15865:16;15873:7;15865;:16::i;:::-;15849:32;-1:-1:-1;719:10:1;-1:-1:-1;;;;;15896:28:4;;;15892:172;;15943:44;15960:5;719:10:1;17303:162:4;:::i;15943:44::-;15938:126;;16014:35;;-1:-1:-1;;;16014:35:4;;;;;;;;;;;15938:126;16074:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16074:35:4;-1:-1:-1;;;;;16074:35:4;;;;;;;;;16124:28;;16074:24;;16124:28;;;;;;;15839:320;15769:390;;:::o;7388:487:18:-;1744:1:14;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:14;;23898:2:19;2317:63:14;;;23880:21:19;23937:2;23917:18;;;23910:30;23976:33;23956:18;;;23949:61;24027:18;;2317:63:14;;;;;;;;;1744:1;2455:7;:18;-1:-1:-1;;;;;7542:23:18;;::::1;::::0;;::::1;;;7534:73;;;;-1:-1:-1::0;;;7534:73:18::1;;;;;;;:::i;:::-;7658:9;7625:29;4468:11;7625:7:::0;:29:::1;:::i;:::-;:42;7617:71;;;::::0;-1:-1:-1;;;7617:71:18;;19466:2:19;7617:71:18::1;::::0;::::1;19448:21:19::0;19505:2;19485:18;;;19478:30;-1:-1:-1;;;19524:18:19;;;19517:46;19580:18;;7617:71:18::1;19264:340:19::0;7617:71:18::1;-1:-1:-1::0;;;;;7699:24:18;::::1;;::::0;;;:13:::1;:24;::::0;;;;:35;;7727:7;;7699:24;:35:::1;::::0;7727:7;;7699:35:::1;:::i;:::-;::::0;;;-1:-1:-1;;7749:38:18::1;::::0;::::1;::::0;::::1;::::0;7762:9;;7773:4;;7779:7;;7749:38:::1;:::i;:::-;;;;;;;;7798:28;7806:10;7818:7;7798;:28::i;:::-;7836:32;7849:9;7860:7;7836:12;:32::i;:::-;-1:-1:-1::0;;1701:1:14;2628:7;:22;-1:-1:-1;;7388:487:18:o;5782:441:13:-;-1:-1:-1;;;;;5857:16:13;;5876:1;5857:16;;;:7;:16;;;;;;5849:71;;;;-1:-1:-1;;;5849:71:13;;;;;;;:::i;:::-;5931:15;5949:19;5960:7;5949:10;:19::i;:::-;5931:37;-1:-1:-1;5987:12:13;5979:68;;;;-1:-1:-1;;;5979:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;6058:18:13;;;;;;:9;:18;;;;;:29;;6080:7;;6058:18;:29;;6080:7;;6058:29;:::i;:::-;;;;;;;;6115:7;6097:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;6133:35:13;;-1:-1:-1;6151:7:13;6160;6133:17;:35::i;:::-;6183:33;;;-1:-1:-1;;;;;12855:32:19;;12837:51;;12919:2;12904:18;;12897:34;;;6183:33:13;;12810:18:19;6183:33:13;;;;;;;;5839:384;5782:441;:::o;19918:2756:4:-;20047:27;20077;20096:7;20077:18;:27::i;:::-;20047:57;;20160:4;-1:-1:-1;;;;;20119:45:4;20135:19;-1:-1:-1;;;;;20119:45:4;;20115:86;;20173:28;;-1:-1:-1;;;20173:28:4;;;;;;;;;;;20115:86;20213:27;19057:24;;;:15;:24;;;;;19275:26;;20401:68;19275:26;20443:4;719:10:1;20449:19:4;-1:-1:-1;;;;;18545:32:4;;;18391:28;;18672:20;;18694:30;;18669:56;;18095:646;20401:68;20396:179;;20488:43;20505:4;719:10:1;17303:162:4;:::i;20488:43::-;20483:92;;20540:35;;-1:-1:-1;;;20540:35:4;;;;;;;;;;;20483:92;-1:-1:-1;;;;;20590:16:4;;20586:52;;20615:23;;-1:-1:-1;;;20615:23:4;;;;;;;;;;;20586:52;20781:15;20778:157;;;20919:1;20898:19;20891:30;20778:157;-1:-1:-1;;;;;21307:24:4;;;;;;;:18;:24;;;;;;21305:26;;-1:-1:-1;;21305:26:4;;;21375:22;;;;;;;;;21373:24;;-1:-1:-1;21373:24:4;;;14660:11;14635:23;14631:41;14618:63;-1:-1:-1;;;14618:63:4;21661:26;;;;:17;:26;;;;;:172;-1:-1:-1;;;21950:47:4;;21946:617;;22054:1;22044:11;;22022:19;22175:30;;;:17;:30;;;;;;22171:378;;22311:13;;22296:11;:28;22292:239;;22456:30;;;;:17;:30;;;;;:52;;;22292:239;22004:559;21946:617;22607:7;22603:2;-1:-1:-1;;;;;22588:27:4;22597:4;-1:-1:-1;;;;;22588:27:4;-1:-1:-1;;;;;;;;;;;22588:27:4;;;;;;;;;22625:42;20037:2637;;;19918:2756;;;:::o;1632:432:3:-;1729:7;1786:27;;;:17;:27;;;;;;;;1757:56;;;;;;;;;-1:-1:-1;;;;;1757:56:3;;;;;-1:-1:-1;;;1757:56:3;;;-1:-1:-1;;;;;1757:56:3;;;;;;;;1729:7;;1824:90;;-1:-1:-1;1874:29:3;;;;;;;;;1884:19;1874:29;-1:-1:-1;;;;;1874:29:3;;;;-1:-1:-1;;;1874:29:3;;-1:-1:-1;;;;;1874:29:3;;;;;1824:90;1962:23;;;;1924:21;;2422:5;;1949:36;;-1:-1:-1;;;;;1949:36:3;:10;:36;:::i;:::-;1948:58;;;;:::i;:::-;2025:16;;;-1:-1:-1;1924:82:3;;-1:-1:-1;;1632:432:3;;;;;;:::o;22765:179:4:-;22898:39;22915:4;22921:2;22925:7;22898:39;;;;;;;;;;;;:16;:39::i;:::-;22765:179;;;:::o;11485:158:18:-;11559:9;;;;11551:54;;;;-1:-1:-1;;;11551:54:18;;16022:2:19;11551:54:18;;;16004:21:19;;;16041:18;;;16034:30;16100:34;16080:18;;;16073:62;16152:18;;11551:54:18;15820:356:19;11551:54:18;11615:21;11621:8;11631:4;11615:5;:21::i;:::-;11485:158;:::o;6484:502:13:-;-1:-1:-1;;;;;6565:16:13;;6584:1;6565:16;;;:7;:16;;;;;;6557:71;;;;-1:-1:-1;;;6557:71:13;;;;;;;:::i;:::-;6639:15;6657:26;6668:5;6675:7;6657:10;:26::i;:::-;6639:44;-1:-1:-1;6702:12:13;6694:68;;;;-1:-1:-1;;;6694:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;6773:21:13;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;6807:7;;6773:21;:41;;6807:7;;6773:41;:::i;:::-;;;;-1:-1:-1;;;;;;;6824:26:13;;;;;;:19;:26;;;;;:37;;6854:7;;6824:26;:37;;6854:7;;6824:37;:::i;:::-;;;;-1:-1:-1;6872:47:13;;-1:-1:-1;6895:5:13;6902:7;6911;6872:22;:47::i;:::-;6934:45;;;-1:-1:-1;;;;;12855:32:19;;;12837:51;;12919:2;12904:18;;12897:34;;;6934:45:13;;;;;12810:18:19;6934:45:13;;;;;;;6547:439;6484:502;;:::o;5981:142:18:-;1087:13:12;:11;:13::i;:::-;6056:23:18::1;:12;6071:8:::0;;6056:23:::1;:::i;:::-;-1:-1:-1::0;6094:22:18::1;::::0;6105:10:::1;12193:51:19::0;;6094:22:18::1;::::0;12181:2:19;12166:18;6094:22:18::1;12047:203:19::0;8481:919:18;8593:14;8610:13;6121:12:4;;5912:7;6105:13;:28;;5851:317;8610:13:18;-1:-1:-1;;;;;8653:30:18;;8633:17;8653:30;;;:18;:30;;;;;;8593;;-1:-1:-1;8701:53:18;;8709:24;;8672:10;;8709:5;:24::i;:::-;8735:6;;8701:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8743:10:18;;;-1:-1:-1;8701:7:18;;-1:-1:-1;8701:53:18:i;:::-;8693:89;;;;-1:-1:-1;;;8693:89:18;;24664:2:19;8693:89:18;;;24646:21:19;24703:2;24683:18;;;24676:30;24742:25;24722:18;;;24715:53;24785:18;;8693:89:18;24462:347:19;8693:89:18;8823:14;;8800:19;8812:7;8800:9;:19;:::i;:::-;:37;;8792:79;;;;-1:-1:-1;;;8792:79:18;;23540:2:19;8792:79:18;;;23522:21:19;23579:2;23559:18;;;23552:30;23618:31;23598:18;;;23591:59;23667:18;;8792:79:18;23338:353:19;8792:79:18;8889:9;;8900:1;8889:12;8881:53;;;;-1:-1:-1;;;8881:53:18;;18334:2:19;8881:53:18;;;18316:21:19;18373:2;18353:18;;;18346:30;18412;18392:18;;;18385:58;18460:18;;8881:53:18;18132:352:19;8881:53:18;8962:1;8952:7;:11;8944:49;;;;-1:-1:-1;;;8944:49:18;;;;;;;:::i;:::-;5168:2;9011:7;:31;;9003:89;;;;-1:-1:-1;;;9003:89:18;;19052:2:19;9003:89:18;;;19034:21:19;19091:2;19071:18;;;19064:30;19130:34;19110:18;;;19103:62;-1:-1:-1;;;19181:18:19;;;19174:43;19234:19;;9003:89:18;18850:409:19;9003:89:18;4658:3;9138:16;9147:7;9138:6;:16;:::i;:::-;:36;;9130:70;;;;-1:-1:-1;;;9130:70:18;;;;;;;:::i;:::-;9252:9;9218:30;4553:11;9218:7;:30;:::i;:::-;:43;9210:71;;;;-1:-1:-1;;;9210:71:18;;15271:2:19;9210:71:18;;;15253:21:19;15310:2;15290:18;;;15283:30;-1:-1:-1;;;15329:18:19;;;15322:45;15384:18;;9210:71:18;15069:339:19;9210:71:18;9325:19;9337:7;9325:9;:19;:::i;:::-;-1:-1:-1;;;;;9292:30:18;;;;;;:18;:30;;;;;:52;9363:30;9311:10;9385:7;9363:9;:30::i;10490:155::-;1087:13:12;:11;:13::i;:::-;10563:9:18::1;:21:::0;;;10599:39:::1;::::0;;10616:10:::1;12837:51:19::0;;12919:2;12904:18;;12897:34;;;10599:39:18::1;::::0;12810:18:19;10599:39:18::1;;;;;;;10490:155:::0;:::o;11348:150:4:-;11420:7;11462:27;11481:7;11462:18;:27::i;7002:230::-;7074:7;-1:-1:-1;;;;;7097:19:4;;7093:60;;7125:28;;-1:-1:-1;;;7125:28:4;;;;;;;;;;;7093:60;-1:-1:-1;;;;;;7170:25:4;;;;;:18;:25;;;;;;1317:13;7170:55;;7002:230::o;1824:101:12:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;5809:104:18:-;1087:13:12;:11;:13::i;:::-;5882:10:18::1;:24:::0;5809:104::o;4772:98:13:-;4823:7;4849;4857:5;4849:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;4849:14:13;;4772:98;-1:-1:-1;;4772:98:13:o;10165:102:4:-;10221:13;10253:7;10246:14;;;;;:::i;16850:303::-;-1:-1:-1;;;;;16948:31:4;;719:10:1;16948:31:4;16944:61;;;16988:17;;-1:-1:-1;;;16988:17:4;;;;;;;;;;;16944:61;719:10:1;17016:39:4;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17016:49:4;;;;;;;;;;;;:60;;-1:-1:-1;;17016:60:4;;;;;;;;;;17091:55;;13854:41:19;;;17016:49:4;;719:10:1;17091:55:4;;13827:18:19;17091:55:4;;;;;;;16850:303;;:::o;4955:222:13:-;5013:7;5032:21;5080:15;3711:14;;;3639:93;5080:15;5056:39;;:21;:39;:::i;:::-;5032:63;;5112:58;5128:7;5137:13;5152:17;5161:7;-1:-1:-1;;;;;4365:18:13;4339:7;4365:18;;;:9;:18;;;;;;;4283:107;5152:17;5112:15;:58::i;:::-;5105:65;4955:222;-1:-1:-1;;;4955:222:13:o;10718:126:18:-;1087:13:12;:11;:13::i;:::-;10787:9:18::1;::::0;;::::1;::::0;;::::1;10786:10;-1:-1:-1::0;;10774:22:18;;::::1;::::0;::::1;::::0;;;10811:26:::1;::::0;10827:9;;13879:14:19;13872:22;13854:41;;10811:26:18::1;::::0;13842:2:19;13827:18;10811:26:18::1;;;;;;;10718:126::o:0;23525:388:4:-;23686:31;23699:4;23705:2;23709:7;23686:12;:31::i;:::-;-1:-1:-1;;;;;23731:14:4;;;:19;23727:180;;23769:56;23800:4;23806:2;23810:7;23819:5;23769:30;:56::i;:::-;23764:143;;23852:40;;-1:-1:-1;;;23852:40:4;;;;;;;;;;;23764:143;23525:388;;;;:::o;5331:257:13:-;-1:-1:-1;;;;;3967:26:13;;5403:7;3967:26;;;:19;:26;;;;;;5403:7;;5446:30;;-1:-1:-1;;;5446:30:13;;5470:4;5446:30;;;12193:51:19;-1:-1:-1;;;;;5446:15:13;;;;;12166:18:19;;5446:30:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;4649:21:13;;;4623:7;4649:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;5422:77;;-1:-1:-1;5516:65:13;;5532:7;;5422:77;;5112:15;:58::i;5516:65::-;5509:72;5331:257;-1:-1:-1;;;;5331:257:13:o;9406:456:18:-;1744:1:14;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:14;;23898:2:19;2317:63:14;;;23880:21:19;23937:2;23917:18;;;23910:30;23976:33;23956:18;;;23949:61;24027:18;;2317:63:14;23696:355:19;2317:63:14;1744:1;2455:7;:18;-1:-1:-1;;;;;9596:23:18;;::::1;::::0;;::::1;;;9588:73;;;;-1:-1:-1::0;;;9588:73:18::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;9672:24:18;::::1;;::::0;;;:13:::1;:24;::::0;;;;:35;;9700:7;;9672:24;:35:::1;::::0;9700:7;;9672:35:::1;:::i;:::-;::::0;;;-1:-1:-1;;9722:38:18::1;::::0;::::1;::::0;::::1;::::0;9735:9;;9746:4;;9752:7;;9722:38:::1;:::i;:::-;;;;;;;;9771:42;9785:10;9797:7;9806:6;;9771:13;:42::i;:::-;9823:32;9836:9;9847:7;9823:12;:32::i;:::-;-1:-1:-1::0;;1701:1:14;2628:7;:22;-1:-1:-1;;;;9406:456:18:o;6354:238::-;6420:13;6445:21;6469:12;6445:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6522:1;6504:7;6498:21;:25;:87;;;;;;;;;;;;;;;;;6550:7;6559:19;:8;:17;:19::i;:::-;6533:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6491:94;6354:238;-1:-1:-1;;;6354:238:18:o;7978:437::-;1087:13:12;:11;:13::i;:::-;8063:14:18::1;8080:13;6121:12:4::0;;5912:7;6105:13;:28;;5851:317;8080:13:18::1;8063:30;;8121:1;8111:7;:11;8103:49;;;;-1:-1:-1::0;;;8103:49:18::1;;;;;;;:::i;:::-;5168:2;8170:7;:31;;8162:88;;;::::0;-1:-1:-1;;;8162:88:18;;20165:2:19;8162:88:18::1;::::0;::::1;20147:21:19::0;20204:2;20184:18;;;20177:30;20243:34;20223:18;;;20216:62;-1:-1:-1;;;20294:18:19;;;20287:42;20346:19;;8162:88:18::1;19963:408:19::0;8162:88:18::1;4658:3;8297:16;8306:7:::0;8297:6;:16:::1;:::i;:::-;:36;;8289:70;;;;-1:-1:-1::0;;;8289:70:18::1;;;;;;;:::i;:::-;8378:30;8388:10;8400:7;8378:9;:30::i;4089:26::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6180:92::-;1087:13:12;:11;:13::i;:::-;6241:14:18::1;:24:::0;6180:92::o;7187:195::-;7307:9;7283:20;4385:10;7283:7;:20;:::i;:::-;:33;7275:62;;;;-1:-1:-1;;;7275:62:18;;19466:2:19;7275:62:18;;;19448:21:19;19505:2;19485:18;;;19478:30;-1:-1:-1;;;19524:18:19;;;19517:46;19580:18;;7275:62:18;19264:340:19;7275:62:18;7347:28;7355:10;7367:7;7347;:28::i;9922:495::-;9994:14;10011:13;6121:12:4;;5912:7;6105:13;:28;;5851:317;10011:13:18;10059:10;10043:27;;;;:15;:27;;;;;;9994:30;;-1:-1:-1;10043:27:18;;10042:28;10034:66;;;;-1:-1:-1;;;10034:66:18;;22012:2:19;10034:66:18;;;21994:21:19;22051:2;22031:18;;;22024:30;22090:27;22070:18;;;22063:55;22135:18;;10034:66:18;21810:349:19;10034:66:18;10118:52;10126:23;10132:10;10144:4;10126:5;:23::i;:::-;10151:6;;10118:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10159:10:18;;;-1:-1:-1;10118:7:18;;-1:-1:-1;10118:52:18:i;:::-;10110:93;;;;-1:-1:-1;;;10110:93:18;;20578:2:19;10110:93:18;;;20560:21:19;20617:2;20597:18;;;20590:30;20656;20636:18;;;20629:58;20704:18;;10110:93:18;20376:352:19;10110:93:18;10221:9;;10232:1;10221:12;10213:43;;;;-1:-1:-1;;;10213:43:18;;16383:2:19;10213:43:18;;;16365:21:19;16422:2;16402:18;;;16395:30;-1:-1:-1;;;16441:18:19;;;16434:48;16499:18;;10213:43:18;16181:342:19;10213:43:18;4658:3;10274:10;:6;10283:1;10274:10;:::i;:::-;:30;;10266:64;;;;-1:-1:-1;;;10266:64:18;;;;;;;:::i;:::-;10357:10;10341:27;;;;:15;:27;;;;;:34;;-1:-1:-1;;10341:34:18;10371:4;10341:34;;;;;;10386:24;;10357:10;10386:9;:24::i;2074:198:12:-;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:12;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:12;;14864:2:19;2154:73:12::1;::::0;::::1;14846:21:19::0;14903:2;14883:18;;;14876:30;14942:34;14922:18;;;14915:62;-1:-1:-1;;;14993:18:19;;;14986:36;15039:19;;2154:73:12::1;14662:402:19::0;2154:73:12::1;2237:28;2256:8;2237:18;:28::i;9112:630:4:-:0;9197:4;-1:-1:-1;;;;;;;;;9515:25:4;;;;:101;;-1:-1:-1;;;;;;;;;;9591:25:4;;;9515:101;:177;;;-1:-1:-1;;;;;;;;9667:25:4;-1:-1:-1;;;9667:25:4;;9112:630::o;1369:213:3:-;1471:4;-1:-1:-1;;;;;;1494:41:3;;-1:-1:-1;;;1494:41:3;;:81;;-1:-1:-1;;;;;;;;;;937:40:2;;;1539:36:3;829:155:2;1352:130:12;1266:6;;-1:-1:-1;;;;;1266:6:12;719:10:1;1415:23:12;1407:68;;;;-1:-1:-1;;;1407:68:12;;18691:2:19;1407:68:12;;;18673:21:19;;;18710:18;;;18703:30;18769:34;18749:18;;;18742:62;18821:18;;1407:68:12;18489:356:19;2695:327:3;2422:5;-1:-1:-1;;;;;2797:33:3;;;;2789:88;;;;-1:-1:-1;;;2789:88:3;;22366:2:19;2789:88:3;;;22348:21:19;22405:2;22385:18;;;22378:30;22444:34;22424:18;;;22417:62;-1:-1:-1;;;22495:18:19;;;22488:40;22545:19;;2789:88:3;22164:406:19;2789:88:3;-1:-1:-1;;;;;2895:22:3;;2887:60;;;;-1:-1:-1;;;2887:60:3;;25016:2:19;2887:60:3;;;24998:21:19;25055:2;25035:18;;;25028:30;25094:27;25074:18;;;25067:55;25139:18;;2887:60:3;24814:349:19;2887:60:3;2980:35;;;;;;;;;-1:-1:-1;;;;;2980:35:3;;;;;;-1:-1:-1;;;;;2980:35:3;;;;;;;;;;-1:-1:-1;;;2958:57:3;;;;:19;:57;2695:327::o;17714:277:4:-;17779:4;17866:13;;17856:7;:23;17814:151;;;;-1:-1:-1;;17916:26:4;;;;:17;:26;;;;;;-1:-1:-1;;;17916:44:4;:49;;17714:277::o;6599:582:18:-;6672:14;6689:13;6121:12:4;;5912:7;6105:13;:28;;5851:317;6689:13:18;-1:-1:-1;;;;;6732:34:18;;6712:17;6732:34;;;:22;:34;;;;;;6784:9;;6672:30;;-1:-1:-1;6732:34:18;6795:1;6784:12;6776:54;;;;-1:-1:-1;;;6776:54:18;;21296:2:19;6776:54:18;;;21278:21:19;21335:2;21315:18;;;21308:30;21374:31;21354:18;;;21347:59;21423:18;;6776:54:18;21094:353:19;6776:54:18;6858:1;6848:7;:11;6840:49;;;;-1:-1:-1;;;6840:49:18;;;;;;;:::i;:::-;4746:2;6907:19;6919:7;6907:9;:19;:::i;:::-;:37;;6899:73;;;;-1:-1:-1;;;6899:73:18;;23188:2:19;6899:73:18;;;23170:21:19;23227:2;23207:18;;;23200:30;23266:25;23246:18;;;23239:53;23309:18;;6899:73:18;22986:347:19;6899:73:18;4658:3;6990:16;6999:7;6990:6;:16;:::i;:::-;:36;;6982:81;;;;-1:-1:-1;;;6982:81:18;;20935:2:19;6982:81:18;;;20917:21:19;;;20954:18;;;20947:30;21013:34;20993:18;;;20986:62;21065:18;;6982:81:18;20733:356:19;6982:81:18;7111:19;7123:7;7111:9;:19;:::i;:::-;-1:-1:-1;;;;;7074:34:18;;;;;;:22;:34;;;;;:56;7144:30;7097:10;7166:7;7144:9;:30::i;10850:143::-;-1:-1:-1;;;;;10935:27:18;;:51;10963:22;10978:7;4850:17;10963:22;:::i;:::-;10935:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2412:312:0;2526:6;2501:21;:31;;2493:73;;;;-1:-1:-1;;;2493:73:0;;17157:2:19;2493:73:0;;;17139:21:19;17196:2;17176:18;;;17169:30;17235:31;17215:18;;;17208:59;17284:18;;2493:73:0;16955:353:19;2493:73:0;2578:12;2596:9;-1:-1:-1;;;;;2596:14:0;2618:6;2596:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2577:52;;;2647:7;2639:78;;;;-1:-1:-1;;;2639:78:0;;16730:2:19;2639:78:0;;;16712:21:19;16769:2;16749:18;;;16742:30;16808:34;16788:18;;;16781:62;16879:28;16859:18;;;16852:56;16925:19;;2639:78:0;16528:422:19;12472:1249:4;12539:7;12573;12671:13;;12664:4;:20;12660:997;;;12708:14;12725:23;;;:17;:23;;;;;;-1:-1:-1;;;12812:24:4;;12808:831;;13467:111;13474:11;13467:111;;-1:-1:-1;;;13544:6:4;13526:25;;;;:17;:25;;;;;;13467:111;;12808:831;12686:971;12660:997;13683:31;;-1:-1:-1;;;13683:31:4;;;;;;;;;;;33580:3015;33659:27;33689;33708:7;33689:18;:27::i;:::-;33659:57;-1:-1:-1;33659:57:4;33727:12;;33847:35;33874:7;18948:27;19057:24;;;:15;:24;;;;;19275:26;;19057:24;;18849:468;33847:35;33790:92;;;;33897:13;33893:312;;;34016:68;34041:15;34058:4;719:10:1;34064:19:4;640:96:1;34016:68:4;34011:183;;34107:43;34124:4;719:10:1;17303:162:4;:::i;34107:43::-;34102:92;;34159:35;;-1:-1:-1;;;34159:35:4;;;;;;;;;;;34102:92;34355:15;34352:157;;;34493:1;34472:19;34465:30;34352:157;-1:-1:-1;;;;;35098:24:4;;;;;;:18;:24;;;;;:60;;35126:32;35098:60;;;14660:11;14635:23;14631:41;14618:63;-1:-1:-1;;;14618:63:4;35389:26;;;;:17;:26;;;;;:202;-1:-1:-1;;;35708:47:4;;35704:617;;35812:1;35802:11;;35780:19;35933:30;;;:17;:30;;;;;;35929:378;;36069:13;;36054:11;:28;36050:239;;36214:30;;;;:17;:30;;;;;:52;;;36050:239;35762:559;35704:617;36346:35;;36373:7;;36369:1;;-1:-1:-1;;;;;36346:35:4;;;-1:-1:-1;;;;;;;;;;;36346:35:4;36369:1;;36346:35;-1:-1:-1;;36564:12:4;:14;;;;;;-1:-1:-1;;;;33580:3015:4:o;737:205:15:-;876:58;;;-1:-1:-1;;;;;12855:32:19;;876:58:15;;;12837:51:19;12904:18;;;;12897:34;;;876:58:15;;;;;;;;;;12810:18:19;;;;876:58:15;;;;;;;;-1:-1:-1;;;;;876:58:15;-1:-1:-1;;;876:58:15;;;849:86;;869:5;;849:19;:86::i;11043:173:18:-;11165:43;;;10935:2:19;10931:15;;;;-1:-1:-1;;10927:53:19;11165:43:18;;;;10915:66:19;;;;11027:14;;11020:22;11015:3;11011:32;10997:12;;;10990:54;11165:43:18;;;;;;;;;11060:12:19;;;;11165:43:18;;11155:54;;;;;;11043:173::o;11265:171::-;11363:4;11390:39;11409:6;11417:5;11424:4;11390:18;:39::i;32908:110:4:-;32984:27;32994:2;32998:8;32984:27;;;;;;;;;;;;:9;:27::i;2426:187:12:-;2518:6;;;-1:-1:-1;;;;;2534:17:12;;;-1:-1:-1;;;;;;2534:17:12;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;7158:242:13:-;7363:12;;-1:-1:-1;;;;;7343:16:13;;7300:7;7343:16;;;:7;:16;;;;;;7300:7;;7378:15;;7327:32;;:13;:32;:::i;:::-;7326:49;;;;:::i;:::-;:67;;;;:::i;25939:697:4:-;26117:88;;-1:-1:-1;;;26117:88:4;;26097:4;;-1:-1:-1;;;;;26117:45:4;;;;;:88;;719:10:1;;26184:4:4;;26190:7;;26199:5;;26117:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26117:88:4;;;;;;;;-1:-1:-1;;26117:88:4;;;;;;;;;;;;:::i;:::-;;;26113:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26395:13:4;;26391:229;;26440:40;;-1:-1:-1;;;26440:40:4;;;;;;;;;;;26391:229;26580:6;26574:13;26565:6;26561:2;26557:15;26550:38;26113:517;-1:-1:-1;;;;;;26273:64:4;-1:-1:-1;;;26273:64:4;;-1:-1:-1;25939:697:4;;;;;;:::o;392:703:16:-;448:13;665:10;661:51;;-1:-1:-1;;691:10:16;;;;;;;;;;;;-1:-1:-1;;;691:10:16;;;;;392:703::o;661:51::-;736:5;721:12;775:75;782:9;;775:75;;807:8;;;;:::i;:::-;;-1:-1:-1;829:10:16;;-1:-1:-1;837:2:16;829:10;;:::i;:::-;;;775:75;;;859:19;891:6;881:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;881:17:16;;859:39;;908:150;915:10;;908:150;;941:11;951:1;941:11;;:::i;:::-;;-1:-1:-1;1009:10:16;1017:2;1009:5;:10;:::i;:::-;996:24;;:2;:24;:::i;:::-;983:39;;966:6;973;966:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;966:56:16;;;;;;;;-1:-1:-1;1036:11:16;1045:2;1036:11;;:::i;:::-;;;908:150;;3721:706:15;4140:23;4166:69;4194:4;4166:69;;;;;;;;;;;;;;;;;4174:5;-1:-1:-1;;;;;4166:27:15;;;:69;;;;;:::i;:::-;4249:17;;4140:95;;-1:-1:-1;4249:21:15;4245:176;;4344:10;4333:30;;;;;;;;;;;;:::i;:::-;4325:85;;;;-1:-1:-1;;;4325:85:15;;22777:2:19;4325:85:15;;;22759:21:19;22816:2;22796:18;;;22789:30;22855:34;22835:18;;;22828:62;-1:-1:-1;;;22906:18:19;;;22899:40;22956:19;;4325:85:15;22575:406:19;1153:184:11;1274:4;1326;1297:25;1310:5;1317:4;1297:12;:25::i;:::-;:33;;1153:184;-1:-1:-1;;;;1153:184:11:o;32160:669:4:-;32286:19;32292:2;32296:8;32286:5;:19::i;:::-;-1:-1:-1;;;;;32344:14:4;;;:19;32340:473;;32383:11;32397:13;32444:14;;;32476:229;32506:62;32545:1;32549:2;32553:7;;;;;;32562:5;32506:30;:62::i;:::-;32501:165;;32603:40;;-1:-1:-1;;;32603:40:4;;;;;;;;;;;32501:165;32700:3;32692:5;:11;32476:229;;32785:3;32768:13;;:20;32764:34;;32790:8;;;32764:34;32365:448;;32160:669;;;:::o;3861:223:0:-;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;1991:290:11:-;2074:7;2116:4;2074:7;2130:116;2154:5;:12;2150:1;:16;2130:116;;;2202:33;2212:12;2226:5;2232:1;2226:8;;;;;;;;:::i;:::-;;;;;;;2202:9;:33::i;:::-;2187:48;-1:-1:-1;2168:3:11;;;;:::i;:::-;;;;2130:116;;;-1:-1:-1;2262:12:11;1991:290;-1:-1:-1;;;1991:290:11:o;27082:2396:4:-;27154:20;27177:13;27204;27200:44;;27226:18;;-1:-1:-1;;;27226:18:4;;;;;;;;;;;27200:44;-1:-1:-1;;;;;27719:22:4;;;;;;:18;:22;;;;1452:2;27719:22;;;:71;;27757:32;27745:45;;27719:71;;;28026:31;;;:17;:31;;;;;-1:-1:-1;15080:15:4;;15054:24;15050:46;14660:11;14635:23;14631:41;14628:52;14618:63;;28026:170;;28255:23;;;;28026:31;;27719:22;;-1:-1:-1;;;;;;;;;;;27719:22:4;;28600:328;29005:1;28991:12;28987:20;28946:339;29045:3;29036:7;29033:16;28946:339;;29259:7;29249:8;29246:1;-1:-1:-1;;;;;;;;;;;29216:1:4;29213;29208:59;29097:1;29084:15;28946:339;;;-1:-1:-1;29316:13:4;29312:45;;29338:19;;-1:-1:-1;;;29338:19:4;;;;;;;;;;;29312:45;29372:13;:19;-1:-1:-1;22765:179:4;;;:::o;4948:499:0:-;5113:12;5170:5;5145:21;:30;;5137:81;;;;-1:-1:-1;;;5137:81:0;;17515:2:19;5137:81:0;;;17497:21:19;17554:2;17534:18;;;17527:30;17593:34;17573:18;;;17566:62;-1:-1:-1;;;17644:18:19;;;17637:36;17690:19;;5137:81:0;17313:402:19;5137:81:0;-1:-1:-1;;;;;1465:19:0;;;5228:60;;;;-1:-1:-1;;;5228:60:0;;21654:2:19;5228:60:0;;;21636:21:19;21693:2;21673:18;;;21666:30;21732:31;21712:18;;;21705:59;21781:18;;5228:60:0;21452:353:19;5228:60:0;5300:12;5314:23;5341:6;-1:-1:-1;;;;;5341:11:0;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;5389:16;:51::i;:::-;5382:58;4948:499;-1:-1:-1;;;;;;;4948:499:0:o;8054:147:11:-;8117:7;8147:1;8143;:5;:51;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8143:51;;;-1:-1:-1;8275:13:11;8366:15;;;8401:4;8394:15;8447:4;8431:21;;;8054:147::o;7561:742:0:-;7707:12;7735:7;7731:566;;;-1:-1:-1;7765:10:0;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;7872:415;8259:12;8252:20;;-1:-1:-1;;;8252:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:19;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:19;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:367::-;713:8;723:6;777:3;770:4;762:6;758:17;754:27;744:55;;795:1;792;785:12;744:55;-1:-1:-1;818:20:19;;861:18;850:30;;847:50;;;893:1;890;883:12;847:50;930:4;922:6;918:17;906:29;;990:3;983:4;973:6;970:1;966:14;958:6;954:27;950:38;947:47;944:67;;;1007:1;1004;997:12;1022:221;1065:5;1118:3;1111:4;1103:6;1099:17;1095:27;1085:55;;1136:1;1133;1126:12;1085:55;1158:79;1233:3;1224:6;1211:20;1204:4;1196:6;1192:17;1158:79;:::i;1248:247::-;1307:6;1360:2;1348:9;1339:7;1335:23;1331:32;1328:52;;;1376:1;1373;1366:12;1328:52;1415:9;1402:23;1434:31;1459:5;1434:31;:::i;1760:388::-;1828:6;1836;1889:2;1877:9;1868:7;1864:23;1860:32;1857:52;;;1905:1;1902;1895:12;1857:52;1944:9;1931:23;1963:31;1988:5;1963:31;:::i;:::-;2013:5;-1:-1:-1;2070:2:19;2055:18;;2042:32;2083:33;2042:32;2083:33;:::i;:::-;2135:7;2125:17;;;1760:388;;;;;:::o;2153:456::-;2230:6;2238;2246;2299:2;2287:9;2278:7;2274:23;2270:32;2267:52;;;2315:1;2312;2305:12;2267:52;2354:9;2341:23;2373:31;2398:5;2373:31;:::i;:::-;2423:5;-1:-1:-1;2480:2:19;2465:18;;2452:32;2493:33;2452:32;2493:33;:::i;:::-;2153:456;;2545:7;;-1:-1:-1;;;2599:2:19;2584:18;;;;2571:32;;2153:456::o;2614:794::-;2709:6;2717;2725;2733;2786:3;2774:9;2765:7;2761:23;2757:33;2754:53;;;2803:1;2800;2793:12;2754:53;2842:9;2829:23;2861:31;2886:5;2861:31;:::i;:::-;2911:5;-1:-1:-1;2968:2:19;2953:18;;2940:32;2981:33;2940:32;2981:33;:::i;:::-;3033:7;-1:-1:-1;3087:2:19;3072:18;;3059:32;;-1:-1:-1;3142:2:19;3127:18;;3114:32;3169:18;3158:30;;3155:50;;;3201:1;3198;3191:12;3155:50;3224:22;;3277:4;3269:13;;3265:27;-1:-1:-1;3255:55:19;;3306:1;3303;3296:12;3255:55;3329:73;3394:7;3389:2;3376:16;3371:2;3367;3363:11;3329:73;:::i;:::-;3319:83;;;2614:794;;;;;;;:::o;3413:382::-;3478:6;3486;3539:2;3527:9;3518:7;3514:23;3510:32;3507:52;;;3555:1;3552;3545:12;3507:52;3594:9;3581:23;3613:31;3638:5;3613:31;:::i;:::-;3663:5;-1:-1:-1;3720:2:19;3705:18;;3692:32;3733:30;3692:32;3733:30;:::i;3800:315::-;3868:6;3876;3929:2;3917:9;3908:7;3904:23;3900:32;3897:52;;;3945:1;3942;3935:12;3897:52;3984:9;3971:23;4003:31;4028:5;4003:31;:::i;:::-;4053:5;4105:2;4090:18;;;;4077:32;;-1:-1:-1;;;3800:315:19:o;4120:675::-;4224:6;4232;4240;4248;4301:3;4289:9;4280:7;4276:23;4272:33;4269:53;;;4318:1;4315;4308:12;4269:53;4357:9;4344:23;4376:31;4401:5;4376:31;:::i;:::-;4426:5;-1:-1:-1;4478:2:19;4463:18;;4450:32;;-1:-1:-1;4534:2:19;4519:18;;4506:32;4547:33;4506:32;4547:33;:::i;:::-;4599:7;-1:-1:-1;4657:2:19;4642:18;;4629:32;4684:18;4673:30;;4670:50;;;4716:1;4713;4706:12;4670:50;4739;4781:7;4772:6;4761:9;4757:22;4739:50;:::i;4800:1012::-;4940:6;4948;4956;4964;4972;4980;5033:3;5021:9;5012:7;5008:23;5004:33;5001:53;;;5050:1;5047;5040:12;5001:53;5089:9;5076:23;5108:31;5133:5;5108:31;:::i;:::-;5158:5;-1:-1:-1;5210:2:19;5195:18;;5182:32;;-1:-1:-1;5266:2:19;5251:18;;5238:32;5279:33;5238:32;5279:33;:::i;:::-;5331:7;-1:-1:-1;5389:2:19;5374:18;;5361:32;5412:18;5442:14;;;5439:34;;;5469:1;5466;5459:12;5439:34;5492:50;5534:7;5525:6;5514:9;5510:22;5492:50;:::i;:::-;5482:60;;5595:3;5584:9;5580:19;5567:33;5551:49;;5625:2;5615:8;5612:16;5609:36;;;5641:1;5638;5631:12;5609:36;;5680:72;5744:7;5733:8;5722:9;5718:24;5680:72;:::i;:::-;4800:1012;;;;-1:-1:-1;4800:1012:19;;-1:-1:-1;4800:1012:19;;5771:8;;4800:1012;-1:-1:-1;;;4800:1012:19:o;5817:640::-;5921:6;5929;5937;5945;5998:2;5986:9;5977:7;5973:23;5969:32;5966:52;;;6014:1;6011;6004:12;5966:52;6053:9;6040:23;6072:31;6097:5;6072:31;:::i;:::-;6122:5;-1:-1:-1;6174:2:19;6159:18;;6146:32;;-1:-1:-1;6229:2:19;6214:18;;6201:32;6256:18;6245:30;;6242:50;;;6288:1;6285;6278:12;6242:50;6327:70;6389:7;6380:6;6369:9;6365:22;6327:70;:::i;:::-;5817:640;;;;-1:-1:-1;6416:8:19;-1:-1:-1;;;;5817:640:19:o;6462:435::-;6529:6;6537;6590:2;6578:9;6569:7;6565:23;6561:32;6558:52;;;6606:1;6603;6596:12;6558:52;6645:9;6632:23;6664:31;6689:5;6664:31;:::i;:::-;6714:5;-1:-1:-1;6771:2:19;6756:18;;6743:32;-1:-1:-1;;;;;6806:40:19;;6794:53;;6784:81;;6861:1;6858;6851:12;6902:437;6988:6;6996;7049:2;7037:9;7028:7;7024:23;7020:32;7017:52;;;7065:1;7062;7055:12;7017:52;7105:9;7092:23;7138:18;7130:6;7127:30;7124:50;;;7170:1;7167;7160:12;7124:50;7209:70;7271:7;7262:6;7251:9;7247:22;7209:70;:::i;:::-;7298:8;;7183:96;;-1:-1:-1;6902:437:19;-1:-1:-1;;;;6902:437:19:o;7344:245::-;7411:6;7464:2;7452:9;7443:7;7439:23;7435:32;7432:52;;;7480:1;7477;7470:12;7432:52;7512:9;7506:16;7531:28;7553:5;7531:28;:::i;7594:180::-;7653:6;7706:2;7694:9;7685:7;7681:23;7677:32;7674:52;;;7722:1;7719;7712:12;7674:52;-1:-1:-1;7745:23:19;;7594:180;-1:-1:-1;7594:180:19:o;7779:245::-;7837:6;7890:2;7878:9;7869:7;7865:23;7861:32;7858:52;;;7906:1;7903;7896:12;7858:52;7945:9;7932:23;7964:30;7988:5;7964:30;:::i;8029:249::-;8098:6;8151:2;8139:9;8130:7;8126:23;8122:32;8119:52;;;8167:1;8164;8157:12;8119:52;8199:9;8193:16;8218:30;8242:5;8218:30;:::i;8958:592::-;9029:6;9037;9090:2;9078:9;9069:7;9065:23;9061:32;9058:52;;;9106:1;9103;9096:12;9058:52;9146:9;9133:23;9175:18;9216:2;9208:6;9205:14;9202:34;;;9232:1;9229;9222:12;9202:34;9270:6;9259:9;9255:22;9245:32;;9315:7;9308:4;9304:2;9300:13;9296:27;9286:55;;9337:1;9334;9327:12;9286:55;9377:2;9364:16;9403:2;9395:6;9392:14;9389:34;;;9419:1;9416;9409:12;9389:34;9464:7;9459:2;9450:6;9446:2;9442:15;9438:24;9435:37;9432:57;;;9485:1;9482;9475:12;9432:57;9516:2;9508:11;;;;;9538:6;;-1:-1:-1;8958:592:19;;-1:-1:-1;;;;8958:592:19:o;9740:184::-;9810:6;9863:2;9851:9;9842:7;9838:23;9834:32;9831:52;;;9879:1;9876;9869:12;9831:52;-1:-1:-1;9902:16:19;;9740:184;-1:-1:-1;9740:184:19:o;9929:315::-;9997:6;10005;10058:2;10046:9;10037:7;10033:23;10029:32;10026:52;;;10074:1;10071;10064:12;10026:52;10110:9;10097:23;10087:33;;10170:2;10159:9;10155:18;10142:32;10183:31;10208:5;10183:31;:::i;10249:248::-;10317:6;10325;10378:2;10366:9;10357:7;10353:23;10349:32;10346:52;;;10394:1;10391;10384:12;10346:52;-1:-1:-1;;10417:23:19;;;10487:2;10472:18;;;10459:32;;-1:-1:-1;10249:248:19:o;10502:257::-;10543:3;10581:5;10575:12;10608:6;10603:3;10596:19;10624:63;10680:6;10673:4;10668:3;10664:14;10657:4;10650:5;10646:16;10624:63;:::i;:::-;10741:2;10720:15;-1:-1:-1;;10716:29:19;10707:39;;;;10748:4;10703:50;;10502:257;-1:-1:-1;;10502:257:19:o;11083:274::-;11212:3;11250:6;11244:13;11266:53;11312:6;11307:3;11300:4;11292:6;11288:17;11266:53;:::i;:::-;11335:16;;;;;11083:274;-1:-1:-1;;11083:274:19:o;11362:470::-;11541:3;11579:6;11573:13;11595:53;11641:6;11636:3;11629:4;11621:6;11617:17;11595:53;:::i;:::-;11711:13;;11670:16;;;;11733:57;11711:13;11670:16;11767:4;11755:17;;11733:57;:::i;:::-;11806:20;;11362:470;-1:-1:-1;;;;11362:470:19:o;12255:395::-;-1:-1:-1;;;;;12468:32:19;;12450:51;;12537:2;12532;12517:18;;12510:30;;;-1:-1:-1;;12557:44:19;;12582:18;;12574:6;12557:44;:::i;:::-;12549:52;;12637:6;12632:2;12621:9;12617:18;12610:34;12255:395;;;;;;:::o;12942:488::-;-1:-1:-1;;;;;13211:15:19;;;13193:34;;13263:15;;13258:2;13243:18;;13236:43;13310:2;13295:18;;13288:34;;;13358:3;13353:2;13338:18;;13331:31;;;13136:4;;13379:45;;13404:19;;13396:6;13379:45;:::i;:::-;13371:53;12942:488;-1:-1:-1;;;;;;12942:488:19:o;14088:219::-;14237:2;14226:9;14219:21;14200:4;14257:44;14297:2;14286:9;14282:18;14274:6;14257:44;:::i;14312:345::-;14514:2;14496:21;;;14553:2;14533:18;;;14526:30;-1:-1:-1;;;14587:2:19;14572:18;;14565:51;14648:2;14633:18;;14312:345::o;15413:402::-;15615:2;15597:21;;;15654:2;15634:18;;;15627:30;15693:34;15688:2;15673:18;;15666:62;-1:-1:-1;;;15759:2:19;15744:18;;15737:36;15805:3;15790:19;;15413:402::o;17720:407::-;17922:2;17904:21;;;17961:2;17941:18;;;17934:30;18000:34;17995:2;17980:18;;17973:62;-1:-1:-1;;;18066:2:19;18051:18;;18044:41;18117:3;18102:19;;17720:407::o;19609:349::-;19811:2;19793:21;;;19850:2;19830:18;;;19823:30;19889:27;19884:2;19869:18;;19862:55;19949:2;19934:18;;19609:349::o;24056:401::-;24258:2;24240:21;;;24297:2;24277:18;;;24270:30;24336:34;24331:2;24316:18;;24309:62;-1:-1:-1;;;24402:2:19;24387:18;;24380:35;24447:3;24432:19;;24056:401::o;25350:128::-;25390:3;25421:1;25417:6;25414:1;25411:13;25408:39;;;25427:18;;:::i;:::-;-1:-1:-1;25463:9:19;;25350:128::o;25483:120::-;25523:1;25549;25539:35;;25554:18;;:::i;:::-;-1:-1:-1;25588:9:19;;25483:120::o;25608:168::-;25648:7;25714:1;25710;25706:6;25702:14;25699:1;25696:21;25691:1;25684:9;25677:17;25673:45;25670:71;;;25721:18;;:::i;:::-;-1:-1:-1;25761:9:19;;25608:168::o;25781:125::-;25821:4;25849:1;25846;25843:8;25840:34;;;25854:18;;:::i;:::-;-1:-1:-1;25891:9:19;;25781:125::o;25911:258::-;25983:1;25993:113;26007:6;26004:1;26001:13;25993:113;;;26083:11;;;26077:18;26064:11;;;26057:39;26029:2;26022:10;25993:113;;;26124:6;26121:1;26118:13;26115:48;;;-1:-1:-1;;26159:1:19;26141:16;;26134:27;25911:258::o;26174:380::-;26253:1;26249:12;;;;26296;;;26317:61;;26371:4;26363:6;26359:17;26349:27;;26317:61;26424:2;26416:6;26413:14;26393:18;26390:38;26387:161;;;26470:10;26465:3;26461:20;26458:1;26451:31;26505:4;26502:1;26495:15;26533:4;26530:1;26523:15;26387:161;;26174:380;;;:::o;26559:135::-;26598:3;-1:-1:-1;;26619:17:19;;26616:43;;;26639:18;;:::i;:::-;-1:-1:-1;26686:1:19;26675:13;;26559:135::o;26699:112::-;26731:1;26757;26747:35;;26762:18;;:::i;:::-;-1:-1:-1;26796:9:19;;26699:112::o;26816:127::-;26877:10;26872:3;26868:20;26865:1;26858:31;26908:4;26905:1;26898:15;26932:4;26929:1;26922:15;26948:127;27009:10;27004:3;27000:20;26997:1;26990:31;27040:4;27037:1;27030:15;27064:4;27061:1;27054:15;27080:127;27141:10;27136:3;27132:20;27129:1;27122:31;27172:4;27169:1;27162:15;27196:4;27193:1;27186:15;27212:127;27273:10;27268:3;27264:20;27261:1;27254:31;27304:4;27301:1;27294:15;27328:4;27325:1;27318:15;27344:131;-1:-1:-1;;;;;27419:31:19;;27409:42;;27399:70;;27465:1;27462;27455:12;27480:118;27566:5;27559:13;27552:21;27545:5;27542:32;27532:60;;27588:1;27585;27578:12;27603:131;-1:-1:-1;;;;;;27677:32:19;;27667:43;;27657:71;;27724:1;27721;27714:12
Swarm Source
ipfs://4b3767a064b70cc8326f28db4a71499a6aa6249e115cd3416b2adebfbec6fd82
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.