ERC-721
Overview
Max Total Supply
2,777 MALLOW
Holders
297
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
8 MALLOWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metamallows
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.4; import "./ERC721A.sol"; import "./Ownable.sol"; import "./Firepit.sol"; import "./Strings.sol"; import "./SafeMath.sol"; import "./ECDSA.sol"; contract Metamallows is ERC721A, Ownable { using Strings for uint256; using SafeMath for uint256; enum State { CLOSED, PRESALE, PUBLIC } string public baseURI; uint256 public mintCost = 0.049 ether; uint256 public maxSupply; uint256 public maxPreSupply; uint256 public maxMintAmount = 5; uint256 airdropsNumber = 0; address private partners; address private signer = 0xeFB45a786C8A9fE6D53DdE0E3A4DB6aF54C73DA7; mapping(address => uint256) public nonces; State public saleState = State.CLOSED; Firepit firepitContract; constructor ( string memory _name, string memory _symbol, string memory _initBaseURI, uint256 _maxPreSupply, uint256 _maxSupply, uint256 _airdropsNumber, address _partners ) ERC721A(_name, _symbol){ setBaseURI(_initBaseURI); maxPreSupply = _maxPreSupply; maxSupply = _maxSupply; airdropsNumber = _airdropsNumber; partners = _partners; } function _baseURI() internal view virtual override returns (string memory){ return baseURI; } function tokenURI(uint256 token_id) public view override returns (string memory) { require(_exists(token_id), "nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, token_id.toString())) : ""; } function presaleMint(uint256 _mintAmount, bytes calldata _signature, uint256 _nonce) external payable{ require(saleState == State.PRESALE, "PRESALE unavailable"); require(_mintAmount > 0); require(ECDSA.recover(keccak256(abi.encodePacked(saleState, msg.sender, _nonce)), _signature) == signer, "Signature Invalid"); require(numberMinted(msg.sender) + _mintAmount <= maxMintAmount, "Exceeded mint amount"); require((totalSupply() + _mintAmount) <= maxPreSupply, "PreSale sold out"); require(msg.value >= (mintCost * _mintAmount), "Not enough ether to mint"); nonces[msg.sender]++; _safeMint(msg.sender, _mintAmount); } function publicMint(uint256 _mintAmount) external payable{ require(saleState == State.PUBLIC, "PUBLIC sale unavailable"); require(_mintAmount > 0); require(_mintAmount <= maxMintAmount, "Exceeded mint amount"); require((totalSupply() + _mintAmount) <= maxSupply, "Metamallows sold out"); require(msg.value >= (mintCost * _mintAmount), "Not enough ether to mint"); _safeMint(msg.sender, _mintAmount); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory){ return ownershipOf(tokenId); } function numberMinted(address _owner) public view returns (uint256) { return _numberMinted(_owner); } function airdropsBulk(address[] calldata _airdropWallets, uint256 [] calldata _airdropsNumber) external onlyOwner(){ require(_airdropWallets.length == _airdropsNumber.length, "Invalid mumber of airdrops"); require((totalSupply() + _airdropWallets.length) <= (maxSupply + airdropsNumber), "Cannot mint more"); for (uint i =0; i < _airdropWallets.length; i++) { _safeMint(_airdropWallets[i], _airdropsNumber[i]); } } function airdrop(address _airdropWallet, uint256 quantity) external onlyOwner(){ require((totalSupply() + quantity) <= (maxSupply + airdropsNumber), "Cannot mint more"); _safeMint(_airdropWallet, quantity); } function setAirdropsNumber(uint256 _newAirdropsNumber) external onlyOwner(){ airdropsNumber = _newAirdropsNumber; } function setMaxPreSupply(uint256 _newMaxPreSupply) external onlyOwner(){ require(_newMaxPreSupply <= maxSupply, "Exceeded the total supply"); maxPreSupply = _newMaxPreSupply; } function setDependecies(address _firepitAddress) external onlyOwner{ firepitContract = Firepit(_firepitAddress); } function setSale(uint8 _saleState) external onlyOwner(){ saleState = State(_saleState); } function setMaxMintAmount(uint256 _newmaxMintAmount) external onlyOwner(){ maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner(){ baseURI = _newBaseURI; } function withdrawAll() external onlyOwner(){ require(address(this).balance > 0, "No balance"); uint256 contractBalance = address(this).balance; (bool w1,) = partners.call{value: contractBalance}(""); require(w1, "Withdraw failed"); } function transferFrom( address _from, address _to, uint256 _tokenId ) public virtual override{ // if (_msgSender() != address(firepitContract)){ require(_isApprovedOrOwner(_msgSender(), _tokenId), "ERC721: transfer caller is not owner nor approved"); } _transfer(_from, _to, _tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "./Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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 v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721.sol'; import './IERC721Receiver.sol'; import './IERC721Metadata.sol'; import './IERC721Enumerable.sol'; import './Address.sol'; import './Context.sol'; import './Strings.sol'; import './ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { bool isApprovedOrOwner = _isApprovedOrOwner(_msgSender(), tokenId); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { bool isApprovedOrOwner = _isApprovedOrOwner(_msgSender(), tokenId); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); _transfer(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); TokenOwnership memory prevOwnership = ownershipOf(tokenId); return (spender == prevOwnership.addr || getApproved(tokenId) == spender || isApprovedForAll(prevOwnership.addr, spender)); } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, //address do bacano address to, //address do firepit uint256 tokenId ) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); /* bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); */ if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 {} }
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.4; import "./Ownable.sol"; import "./IERC721Receiver.sol"; import "./Metamallows.sol"; import "./LOVE.sol"; import "./INewFirepit.sol"; contract Firepit is IERC721Receiver,Ownable{ struct stakedInfo{ address owner; uint256 tokenId; uint256 lastUpdate; bool exists; } event tokenStaked(address indexed _owner, uint256 indexed _tokenId, uint256 indexed _lastUpdate); event claimedLove(uint256 indexed _tokenId, uint256 _loveEarned, bool indexed _unstake, address indexed _owner); uint256 constant public LOVE_RATE = 3 ether; uint256 public totalMalloStaked; mapping(uint256 => stakedInfo) firepit; bool public staking = false; Metamallows metamallowContract; LOVE loveContract; function stakingTokens(uint256[] calldata _tokenIds) external{ require(staking,"Staking not available yet"); for (uint i = 0; i < _tokenIds.length; i++) { require (!firepit[_tokenIds[i]].exists, 'Already in stake'); require(msg.sender == metamallowContract.ownerOf(_tokenIds[i]),"Not the owner of this token"); metamallowContract.transferFrom(msg.sender, address(this),_tokenIds[i]); uint256 timestamp = uint80(block.timestamp); firepit[_tokenIds[i]] = stakedInfo({ owner: _msgSender(), tokenId: _tokenIds[i], lastUpdate: timestamp, exists: true }); totalMalloStaked += 1; emit tokenStaked(_msgSender(), _tokenIds[i], timestamp); } } function clamingTokens(uint256[] calldata _tokenIds, bool[] calldata _unstake) external{ require(_tokenIds.length == _unstake.length,"Params must have same lenght"); uint256 reward = 0; for (uint i = 0; i < _tokenIds.length; i++) { require(firepit[_tokenIds[i]].exists,"Not in stake"); require(firepit[_tokenIds[i]].owner == msg.sender, "Not the user which has staked this token"); reward += LOVE_RATE * (block.timestamp - firepit[_tokenIds[i]].lastUpdate) / 1 days; if(_unstake[i]){ metamallowContract.safeTransferFrom(address(this), msg.sender, _tokenIds[i], ""); // Send back the NFT delete firepit[_tokenIds[i]]; totalMalloStaked -= 1; } else{ firepit[_tokenIds[i]].lastUpdate = uint80(block.timestamp); } emit claimedLove(_tokenIds[i], reward, _unstake[i], msg.sender); } loveContract.mint(msg.sender, reward); } function calculateReward(uint256[] calldata _tokenIds) external view returns (uint256){ uint256 total =0; for (uint i = 0; i < _tokenIds.length; i++) { require(firepit[_tokenIds[i]].exists,"Not in stake"); total += (LOVE_RATE * (block.timestamp - firepit[_tokenIds[i]].lastUpdate) / 1 days); } return total; } function viewfirepit (uint256 _tokenId) external view returns (stakedInfo memory){ return firepit[_tokenId]; } function isOwnerOfStakedTokens(uint256[] calldata _tokenIds, address _owner) external view returns (bool){ for(uint i =0; i <_tokenIds.length; i++){ if(firepit[_tokenIds[i]].owner != _owner){ return false; } } return true; } function setStaking(bool _state) external onlyOwner { staking = _state; } function emergencyMigration(address _newContract) external onlyOwner{ INewFirepit contractToMigrate = INewFirepit(_newContract); uint total = totalMalloStaked; for (uint i = 0; i < total; i++) { metamallowContract.safeTransferFrom(address(this), _newContract, firepit[i].tokenId, ""); // Send back the NFT contractToMigrate.migration(firepit[i].owner, firepit[i].tokenId, firepit[i].lastUpdate); delete firepit[i]; totalMalloStaked -= 1; } } function setDependencies(address _loveAddress, address _metamallowsAddress) external onlyOwner{ loveContract = LOVE(_loveAddress); metamallowContract = Metamallows(_metamallowsAddress); } function onERC721Received( address, address from, uint256, bytes calldata ) external pure override returns (bytes4) { require(from == address(0x0), "Must use staking function to send tokens to the Firepit"); return IERC721Receiver.onERC721Received.selector; } }
// 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 v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.4; interface INewFirepit{ function migration(address _owner, uint256 _tokenId, uint256 _lastUpdate) external; }
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.4; import "./ERC20.sol"; import "./Ownable.sol"; contract LOVE is ERC20, Ownable{ mapping(address => bool) public isApprovedAddress; constructor ( string memory _name, string memory _symbol )ERC20(_name,_symbol){ } modifier onlyApprovedAddresses{ require(isApprovedAddress[msg.sender], "You are not authorized!"); _; } function mint(address _to, uint256 _amount) external onlyApprovedAddresses{ _mint(_to, _amount); } function burn(address _to, uint256 _amount) external onlyApprovedAddresses{ _burn(_to, _amount); } function setApprovedAddresses(address _approvedAddress, bool _set) external onlyOwner(){ isApprovedAddress[_approvedAddress] = _set; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"uint256","name":"_maxPreSupply","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_airdropsNumber","type":"uint256"},{"internalType":"address","name":"_partners","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_airdropWallet","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropWallets","type":"address[]"},{"internalType":"uint256[]","name":"_airdropsNumber","type":"uint256[]"}],"name":"airdropsBulk","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum Metamallows.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAirdropsNumber","type":"uint256"}],"name":"setAirdropsNumber","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_firepitAddress","type":"address"}],"name":"setDependecies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPreSupply","type":"uint256"}],"name":"setMaxPreSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_saleState","type":"uint8"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266ae153d89fe8000600a556005600d556000600e55601080546001600160a01b03191673efb45a786c8a9fe6d53dde0e3a4db6af54c73da71790556012805460ff191690553480156200005657600080fd5b5060405162002e2738038062002e27833981016040819052620000799162000349565b86518790879062000092906002906020850190620001d6565b508051620000a8906003906020840190620001d6565b505050620000c5620000bf6200010860201b60201c565b6200010c565b620000d0856200015e565b600c93909355600b91909155600e55600f80546001600160a01b0319166001600160a01b039092169190911790555062000459915050565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001d2906009906020840190620001d6565b5050565b828054620001e4906200041c565b90600052602060002090601f01602090048101928262000208576000855562000253565b82601f106200022357805160ff191683800117855562000253565b8280016001018555821562000253579182015b828111156200025357825182559160200191906001019062000236565b506200026192915062000265565b5090565b5b8082111562000261576000815560010162000266565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002a457600080fd5b81516001600160401b0380821115620002c157620002c16200027c565b604051601f8301601f19908116603f01168101908282118183101715620002ec57620002ec6200027c565b816040528381526020925086838588010111156200030957600080fd5b600091505b838210156200032d57858201830151818301840152908201906200030e565b838211156200033f5760008385830101525b9695505050505050565b600080600080600080600060e0888a0312156200036557600080fd5b87516001600160401b03808211156200037d57600080fd5b6200038b8b838c0162000292565b985060208a0151915080821115620003a257600080fd5b620003b08b838c0162000292565b975060408a0151915080821115620003c757600080fd5b50620003d68a828b0162000292565b60608a015160808b015160a08c015160c08d01519399509197509550935090506001600160a01b03811681146200040c57600080fd5b8091505092959891949750929550565b600181811c908216806200043157607f821691505b602082108114156200045357634e487b7160e01b600052602260045260246000fd5b50919050565b6129be80620004696000396000f3fe60806040526004361061021a5760003560e01c806370a0823111610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e6811461062d578063ddad410c1461064d578063e985e9c51461066d578063f2fde38b146106b6578063febfec50146106d657600080fd5b8063a22cb465146105a1578063b88d4fde146105c1578063bdb4b848146105e1578063c87b56dd146105f7578063d5abeb011461061757600080fd5b80638ba4cc3c116100f25780638ba4cc3c146104e55780638da5cb5b146105055780639231ab2a146105235780639593b23b1461057957806395d89b411461058c57600080fd5b806370a082311461046e578063715018a61461048e5780637ecebe00146104a3578063853828b6146104d057600080fd5b80632db11544116101a6578063510f289411610175578063510f2894146103d257806355f804b3146103f2578063603f4d52146104125780636352211e146104395780636c0360eb1461045957600080fd5b80632db115441461036957806342842e0e1461037c5780634c6fac3f1461039c5780635001e81f146103bc57600080fd5b8063095ea7b3116101ed578063095ea7b3146102d05780630cfbad67146102f057806318160ddd14610310578063239c70ae1461033357806323b872dd1461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063088a4ed0146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612247565b6106f6565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610748565b60405161024b91906122c3565b34801561028257600080fd5b506102966102913660046122d6565b6107da565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c93660046122d6565b61081e565b005b3480156102dc57600080fd5b506102ce6102eb36600461230b565b610856565b3480156102fc57600080fd5b506102ce61030b366004612335565b6108e4565b34801561031c57600080fd5b50600154600054035b60405190815260200161024b565b34801561033f57600080fd5b50610325600d5481565b34801561035557600080fd5b506102ce610364366004612350565b610936565b6102ce6103773660046122d6565b6109d1565b34801561038857600080fd5b506102ce610397366004612350565b610b52565b3480156103a857600080fd5b506102ce6103b73660046122d6565b610b6d565b3480156103c857600080fd5b50610325600c5481565b3480156103de57600080fd5b506102ce6103ed3660046123d0565b610b9c565b3480156103fe57600080fd5b506102ce61040d3660046124c6565b610cea565b34801561041e57600080fd5b5060125461042c9060ff1681565b60405161024b9190612524565b34801561044557600080fd5b506102966104543660046122d6565b610d2b565b34801561046557600080fd5b50610269610d3d565b34801561047a57600080fd5b50610325610489366004612335565b610dcb565b34801561049a57600080fd5b506102ce610e19565b3480156104af57600080fd5b506103256104be366004612335565b60116020526000908152604090205481565b3480156104dc57600080fd5b506102ce610e4f565b3480156104f157600080fd5b506102ce61050036600461230b565b610f4f565b34801561051157600080fd5b506008546001600160a01b0316610296565b34801561052f57600080fd5b5061054361053e3660046122d6565b610fec565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161024b565b6102ce61058736600461254c565b611012565b34801561059857600080fd5b50610269611286565b3480156105ad57600080fd5b506102ce6105bc3660046125cd565b611295565b3480156105cd57600080fd5b506102ce6105dc366004612609565b61132b565b3480156105ed57600080fd5b50610325600a5481565b34801561060357600080fd5b506102696106123660046122d6565b61138b565b34801561062357600080fd5b50610325600b5481565b34801561063957600080fd5b50610325610648366004612335565b611432565b34801561065957600080fd5b506102ce6106683660046122d6565b61143d565b34801561067957600080fd5b5061023f610688366004612684565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c257600080fd5b506102ce6106d1366004612335565b6114be565b3480156106e257600080fd5b506102ce6106f13660046126b7565b611556565b60006001600160e01b031982166380ac58cd60e01b148061072757506001600160e01b03198216635b5e139f60e01b145b8061074257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610757906126da565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906126da565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b5050505050905090565b60006107e5826115b9565b610802576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146108515760405162461bcd60e51b815260040161084890612715565b60405180910390fd5b600d55565b600061086182610d2b565b9050806001600160a01b0316836001600160a01b031614156108965760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108b657506108b48133610688565b155b156108d4576040516367d9dca160e11b815260040160405180910390fd5b6108df8383836115e4565b505050565b6008546001600160a01b0316331461090e5760405162461bcd60e51b815260040161084890612715565b601280546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125461010090046001600160a01b0316336001600160a01b0316146109c6576109603382611640565b6109c65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610848565b6108df838383611730565b600260125460ff1660028111156109ea576109ea61250e565b14610a375760405162461bcd60e51b815260206004820152601760248201527f5055424c49432073616c6520756e617661696c61626c650000000000000000006044820152606401610848565b60008111610a4457600080fd5b600d54811115610a8d5760405162461bcd60e51b8152602060048201526014602482015273115e18d959591959081b5a5b9d08185b5bdd5b9d60621b6044820152606401610848565b600b5481610a9e6001546000540390565b610aa89190612760565b1115610aed5760405162461bcd60e51b815260206004820152601460248201527313595d185b585b1b1bdddcc81cdbdb19081bdd5d60621b6044820152606401610848565b80600a54610afb9190612778565b341015610b455760405162461bcd60e51b8152602060048201526018602482015277139bdd08195b9bdd59da08195d1a195c881d1bc81b5a5b9d60421b6044820152606401610848565b610b4f33826118da565b50565b6108df8383836040518060200160405280600081525061132b565b6008546001600160a01b03163314610b975760405162461bcd60e51b815260040161084890612715565b600e55565b6008546001600160a01b03163314610bc65760405162461bcd60e51b815260040161084890612715565b828114610c155760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206d756d626572206f662061697264726f70730000000000006044820152606401610848565b600e54600b54610c259190612760565b83610c336001546000540390565b610c3d9190612760565b1115610c7e5760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f74206d696e74206d6f726560801b6044820152606401610848565b60005b83811015610ce357610cd1858583818110610c9e57610c9e612797565b9050602002016020810190610cb39190612335565b848484818110610cc557610cc5612797565b905060200201356118da565b80610cdb816127ad565b915050610c81565b5050505050565b6008546001600160a01b03163314610d145760405162461bcd60e51b815260040161084890612715565b8051610d27906009906020840190612198565b5050565b6000610d36826118f4565b5192915050565b60098054610d4a906126da565b80601f0160208091040260200160405190810160405280929190818152602001828054610d76906126da565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b505050505081565b60006001600160a01b038216610df4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610e435760405162461bcd60e51b815260040161084890612715565b610e4d6000611a0d565b565b6008546001600160a01b03163314610e795760405162461bcd60e51b815260040161084890612715565b60004711610eb65760405162461bcd60e51b815260206004820152600a6024820152694e6f2062616c616e636560b01b6044820152606401610848565b600f5460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f07576040519150601f19603f3d011682016040523d82523d6000602084013e610f0c565b606091505b5050905080610d275760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b6044820152606401610848565b6008546001600160a01b03163314610f795760405162461bcd60e51b815260040161084890612715565b600e54600b54610f899190612760565b81610f976001546000540390565b610fa19190612760565b1115610fe25760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f74206d696e74206d6f726560801b6044820152606401610848565b610d2782826118da565b6040805160608101825260008082526020820181905291810191909152610742826118f4565b600160125460ff16600281111561102b5761102b61250e565b1461106e5760405162461bcd60e51b815260206004820152601360248201527250524553414c4520756e617661696c61626c6560681b6044820152606401610848565b6000841161107b57600080fd5b6010546012546040516001600160a01b03909216916110fc916110aa9160ff90911690339086906020016127c8565b6040516020818303038152906040528051906020012085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a5f92505050565b6001600160a01b0316146111465760405162461bcd60e51b815260206004820152601160248201527014da59db985d1d5c9948125b9d985b1a59607a1b6044820152606401610848565b600d548461115333611432565b61115d9190612760565b11156111a25760405162461bcd60e51b8152602060048201526014602482015273115e18d959591959081b5a5b9d08185b5bdd5b9d60621b6044820152606401610848565b600c54846111b36001546000540390565b6111bd9190612760565b11156111fe5760405162461bcd60e51b815260206004820152601060248201526f141c9954d85b19481cdbdb19081bdd5d60821b6044820152606401610848565b83600a5461120c9190612778565b3410156112565760405162461bcd60e51b8152602060048201526018602482015277139bdd08195b9bdd59da08195d1a195c881d1bc81b5a5b9d60421b6044820152606401610848565b336000908152601160205260408120805491611271836127ad565b919050555061128033856118da565b50505050565b606060038054610757906126da565b6001600160a01b0382163314156112bf5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006113373384611640565b90508061135757604051632ce44b5f60e11b815260040160405180910390fd5b611362858585611730565b61136e85858585611a83565b610ce3576040516368d2bf6b60e11b815260040160405180910390fd5b6060611396826115b9565b6113d65760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610848565b6000600980546113e5906126da565b9050116114015760405180602001604052806000815250610742565b600961140c83611b82565b60405160200161141d929190612832565b60405160208183030381529060405292915050565b600061074282611c7f565b6008546001600160a01b031633146114675760405162461bcd60e51b815260040161084890612715565b600b548111156114b95760405162461bcd60e51b815260206004820152601960248201527f45786365656465642074686520746f74616c20737570706c79000000000000006044820152606401610848565b600c55565b6008546001600160a01b031633146114e85760405162461bcd60e51b815260040161084890612715565b6001600160a01b03811661154d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610848565b610b4f81611a0d565b6008546001600160a01b031633146115805760405162461bcd60e51b815260040161084890612715565b8060ff1660028111156115955761159561250e565b6012805460ff191660018360028111156115b1576115b161250e565b021790555050565b6000805482108015610742575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061164b826115b9565b6116ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610848565b60006116b7836118f4565b905080600001516001600160a01b0316846001600160a01b031614806116f65750836001600160a01b03166116eb846107da565b6001600160a01b0316145b80611728575080516001600160a01b0390811660009081526007602090815260408083209388168352929052205460ff165b949350505050565b600061173b826118f4565b9050836001600160a01b031681600001516001600160a01b0316146117725760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03831661179957604051633a954ecd60e21b815260040160405180910390fd5b6117a960008383600001516115e4565b6001600160a01b038481166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255888616808652838620805493841693831660019081018416949094179055888652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559085018083529120549091166118935760005481101561189357815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611280565b610d27828260405180602001604052806000815250611cd4565b60408051606081018252600080825260208201819052918101829052905482908110156119f457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119f25780516001600160a01b031615611989579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156119ed579392505050565b611989565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806000611a6e8585611ce1565b91509150611a7b81611d51565b509392505050565b60006001600160a01b0384163b15611b7757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ac79033908990889088906004016128d9565b6020604051808303816000875af1925050508015611b02575060408051601f3d908101601f19168201909252611aff91810190612916565b60015b611b5d573d808015611b30576040519150601f19603f3d011682016040523d82523d6000602084013e611b35565b606091505b508051611b55576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611728565b506001949350505050565b606081611ba65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bd05780611bba816127ad565b9150611bc99050600a83612949565b9150611baa565b6000816001600160401b03811115611bea57611bea61243b565b6040519080825280601f01601f191660200182016040528015611c14576020820181803683370190505b5090505b841561172857611c2960018361295d565b9150611c36600a86612974565b611c41906030612760565b60f81b818381518110611c5657611c56612797565b60200101906001600160f81b031916908160001a905350611c78600a86612949565b9450611c18565b60006001600160a01b038216611ca8576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b6108df8383836001611f0c565b600080825160411415611d185760208301516040840151606085015160001a611d0c87828585612072565b94509450505050611d4a565b825160401415611d425760208301516040840151611d3786838361215f565b935093505050611d4a565b506000905060025b9250929050565b6000816004811115611d6557611d6561250e565b1415611d6e5750565b6001816004811115611d8257611d8261250e565b1415611dd05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610848565b6002816004811115611de457611de461250e565b1415611e325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610848565b6003816004811115611e4657611e4661250e565b1415611e9f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610848565b6004816004811115611eb357611eb361250e565b1415610b4f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610848565b6000546001600160a01b038516611f3557604051622e076360e81b815260040160405180910390fd5b83611f535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156120695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561203f575061203d6000888488611a83565b155b1561205d576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611fe8565b50600055610ce3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120a95750600090506003612156565b8460ff16601b141580156120c157508460ff16601c14155b156120d25750600090506004612156565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612126573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661214f57600060019250925050612156565b9150600090505b94509492505050565b6000806001600160ff1b0383168161217c60ff86901c601b612760565b905061218a87828885612072565b935093505050935093915050565b8280546121a4906126da565b90600052602060002090601f0160209004810192826121c6576000855561220c565b82601f106121df57805160ff191683800117855561220c565b8280016001018555821561220c579182015b8281111561220c5782518255916020019190600101906121f1565b5061221892915061221c565b5090565b5b80821115612218576000815560010161221d565b6001600160e01b031981168114610b4f57600080fd5b60006020828403121561225957600080fd5b813561226481612231565b9392505050565b60005b8381101561228657818101518382015260200161226e565b838111156112805750506000910152565b600081518084526122af81602086016020860161226b565b601f01601f19169290920160200192915050565b6020815260006122646020830184612297565b6000602082840312156122e857600080fd5b5035919050565b80356001600160a01b038116811461230657600080fd5b919050565b6000806040838503121561231e57600080fd5b612327836122ef565b946020939093013593505050565b60006020828403121561234757600080fd5b612264826122ef565b60008060006060848603121561236557600080fd5b61236e846122ef565b925061237c602085016122ef565b9150604084013590509250925092565b60008083601f84011261239e57600080fd5b5081356001600160401b038111156123b557600080fd5b6020830191508360208260051b8501011115611d4a57600080fd5b600080600080604085870312156123e657600080fd5b84356001600160401b03808211156123fd57600080fd5b6124098883890161238c565b9096509450602087013591508082111561242257600080fd5b5061242f8782880161238c565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561246b5761246b61243b565b604051601f8501601f19908116603f011681019082821181831017156124935761249361243b565b816040528093508581528686860111156124ac57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124d857600080fd5b81356001600160401b038111156124ee57600080fd5b8201601f810184136124ff57600080fd5b61172884823560208401612451565b634e487b7160e01b600052602160045260246000fd5b602081016003831061254657634e487b7160e01b600052602160045260246000fd5b91905290565b6000806000806060858703121561256257600080fd5b8435935060208501356001600160401b038082111561258057600080fd5b818701915087601f83011261259457600080fd5b8135818111156125a357600080fd5b8860208285010111156125b557600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156125e057600080fd5b6125e9836122ef565b9150602083013580151581146125fe57600080fd5b809150509250929050565b6000806000806080858703121561261f57600080fd5b612628856122ef565b9350612636602086016122ef565b92506040850135915060608501356001600160401b0381111561265857600080fd5b8501601f8101871361266957600080fd5b61267887823560208401612451565b91505092959194509250565b6000806040838503121561269757600080fd5b6126a0836122ef565b91506126ae602084016122ef565b90509250929050565b6000602082840312156126c957600080fd5b813560ff8116811461226457600080fd5b600181811c908216806126ee57607f821691505b6020821081141561270f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156127735761277361274a565b500190565b60008160001904831182151516156127925761279261274a565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127c1576127c161274a565b5060010190565b6000600385106127e857634e487b7160e01b600052602160045260246000fd5b5060f89390931b835260609190911b6bffffffffffffffffffffffff19166001830152601582015260350190565b6000815161282881856020860161226b565b9290920192915050565b600080845481600182811c91508083168061284e57607f831692505b602080841082141561286e57634e487b7160e01b86526022600452602486fd5b8180156128825760018114612893576128c0565b60ff198616895284890196506128c0565b60008b81526020902060005b868110156128b85781548b82015290850190830161289f565b505084890196505b5050505050506128d08185612816565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290c90830184612297565b9695505050505050565b60006020828403121561292857600080fd5b815161226481612231565b634e487b7160e01b600052601260045260246000fd5b60008261295857612958612933565b500490565b60008282101561296f5761296f61274a565b500390565b60008261298357612983612933565b50069056fea264697066735822122022301bfd174619ceda9ec4b77f76291b279bf47d3107c55830e3dfc2559bc4d864736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000135f000000000000000000000000000000000000000000000000000000000000135f0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000941942e6ac3799944d67b86306401f4e8c863f81000000000000000000000000000000000000000000000000000000000000000b4d6574616d616c6c6f777300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d414c4c4f5700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63616951664573334b6b7553356a764c4363765564485a434b684a3757336b744558347370454657625446772f00000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c806370a0823111610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e6811461062d578063ddad410c1461064d578063e985e9c51461066d578063f2fde38b146106b6578063febfec50146106d657600080fd5b8063a22cb465146105a1578063b88d4fde146105c1578063bdb4b848146105e1578063c87b56dd146105f7578063d5abeb011461061757600080fd5b80638ba4cc3c116100f25780638ba4cc3c146104e55780638da5cb5b146105055780639231ab2a146105235780639593b23b1461057957806395d89b411461058c57600080fd5b806370a082311461046e578063715018a61461048e5780637ecebe00146104a3578063853828b6146104d057600080fd5b80632db11544116101a6578063510f289411610175578063510f2894146103d257806355f804b3146103f2578063603f4d52146104125780636352211e146104395780636c0360eb1461045957600080fd5b80632db115441461036957806342842e0e1461037c5780634c6fac3f1461039c5780635001e81f146103bc57600080fd5b8063095ea7b3116101ed578063095ea7b3146102d05780630cfbad67146102f057806318160ddd14610310578063239c70ae1461033357806323b872dd1461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063088a4ed0146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612247565b6106f6565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610748565b60405161024b91906122c3565b34801561028257600080fd5b506102966102913660046122d6565b6107da565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c93660046122d6565b61081e565b005b3480156102dc57600080fd5b506102ce6102eb36600461230b565b610856565b3480156102fc57600080fd5b506102ce61030b366004612335565b6108e4565b34801561031c57600080fd5b50600154600054035b60405190815260200161024b565b34801561033f57600080fd5b50610325600d5481565b34801561035557600080fd5b506102ce610364366004612350565b610936565b6102ce6103773660046122d6565b6109d1565b34801561038857600080fd5b506102ce610397366004612350565b610b52565b3480156103a857600080fd5b506102ce6103b73660046122d6565b610b6d565b3480156103c857600080fd5b50610325600c5481565b3480156103de57600080fd5b506102ce6103ed3660046123d0565b610b9c565b3480156103fe57600080fd5b506102ce61040d3660046124c6565b610cea565b34801561041e57600080fd5b5060125461042c9060ff1681565b60405161024b9190612524565b34801561044557600080fd5b506102966104543660046122d6565b610d2b565b34801561046557600080fd5b50610269610d3d565b34801561047a57600080fd5b50610325610489366004612335565b610dcb565b34801561049a57600080fd5b506102ce610e19565b3480156104af57600080fd5b506103256104be366004612335565b60116020526000908152604090205481565b3480156104dc57600080fd5b506102ce610e4f565b3480156104f157600080fd5b506102ce61050036600461230b565b610f4f565b34801561051157600080fd5b506008546001600160a01b0316610296565b34801561052f57600080fd5b5061054361053e3660046122d6565b610fec565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161024b565b6102ce61058736600461254c565b611012565b34801561059857600080fd5b50610269611286565b3480156105ad57600080fd5b506102ce6105bc3660046125cd565b611295565b3480156105cd57600080fd5b506102ce6105dc366004612609565b61132b565b3480156105ed57600080fd5b50610325600a5481565b34801561060357600080fd5b506102696106123660046122d6565b61138b565b34801561062357600080fd5b50610325600b5481565b34801561063957600080fd5b50610325610648366004612335565b611432565b34801561065957600080fd5b506102ce6106683660046122d6565b61143d565b34801561067957600080fd5b5061023f610688366004612684565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106c257600080fd5b506102ce6106d1366004612335565b6114be565b3480156106e257600080fd5b506102ce6106f13660046126b7565b611556565b60006001600160e01b031982166380ac58cd60e01b148061072757506001600160e01b03198216635b5e139f60e01b145b8061074257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610757906126da565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906126da565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b5050505050905090565b60006107e5826115b9565b610802576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146108515760405162461bcd60e51b815260040161084890612715565b60405180910390fd5b600d55565b600061086182610d2b565b9050806001600160a01b0316836001600160a01b031614156108965760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108b657506108b48133610688565b155b156108d4576040516367d9dca160e11b815260040160405180910390fd5b6108df8383836115e4565b505050565b6008546001600160a01b0316331461090e5760405162461bcd60e51b815260040161084890612715565b601280546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125461010090046001600160a01b0316336001600160a01b0316146109c6576109603382611640565b6109c65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610848565b6108df838383611730565b600260125460ff1660028111156109ea576109ea61250e565b14610a375760405162461bcd60e51b815260206004820152601760248201527f5055424c49432073616c6520756e617661696c61626c650000000000000000006044820152606401610848565b60008111610a4457600080fd5b600d54811115610a8d5760405162461bcd60e51b8152602060048201526014602482015273115e18d959591959081b5a5b9d08185b5bdd5b9d60621b6044820152606401610848565b600b5481610a9e6001546000540390565b610aa89190612760565b1115610aed5760405162461bcd60e51b815260206004820152601460248201527313595d185b585b1b1bdddcc81cdbdb19081bdd5d60621b6044820152606401610848565b80600a54610afb9190612778565b341015610b455760405162461bcd60e51b8152602060048201526018602482015277139bdd08195b9bdd59da08195d1a195c881d1bc81b5a5b9d60421b6044820152606401610848565b610b4f33826118da565b50565b6108df8383836040518060200160405280600081525061132b565b6008546001600160a01b03163314610b975760405162461bcd60e51b815260040161084890612715565b600e55565b6008546001600160a01b03163314610bc65760405162461bcd60e51b815260040161084890612715565b828114610c155760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206d756d626572206f662061697264726f70730000000000006044820152606401610848565b600e54600b54610c259190612760565b83610c336001546000540390565b610c3d9190612760565b1115610c7e5760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f74206d696e74206d6f726560801b6044820152606401610848565b60005b83811015610ce357610cd1858583818110610c9e57610c9e612797565b9050602002016020810190610cb39190612335565b848484818110610cc557610cc5612797565b905060200201356118da565b80610cdb816127ad565b915050610c81565b5050505050565b6008546001600160a01b03163314610d145760405162461bcd60e51b815260040161084890612715565b8051610d27906009906020840190612198565b5050565b6000610d36826118f4565b5192915050565b60098054610d4a906126da565b80601f0160208091040260200160405190810160405280929190818152602001828054610d76906126da565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b505050505081565b60006001600160a01b038216610df4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610e435760405162461bcd60e51b815260040161084890612715565b610e4d6000611a0d565b565b6008546001600160a01b03163314610e795760405162461bcd60e51b815260040161084890612715565b60004711610eb65760405162461bcd60e51b815260206004820152600a6024820152694e6f2062616c616e636560b01b6044820152606401610848565b600f5460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610f07576040519150601f19603f3d011682016040523d82523d6000602084013e610f0c565b606091505b5050905080610d275760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b6044820152606401610848565b6008546001600160a01b03163314610f795760405162461bcd60e51b815260040161084890612715565b600e54600b54610f899190612760565b81610f976001546000540390565b610fa19190612760565b1115610fe25760405162461bcd60e51b815260206004820152601060248201526f43616e6e6f74206d696e74206d6f726560801b6044820152606401610848565b610d2782826118da565b6040805160608101825260008082526020820181905291810191909152610742826118f4565b600160125460ff16600281111561102b5761102b61250e565b1461106e5760405162461bcd60e51b815260206004820152601360248201527250524553414c4520756e617661696c61626c6560681b6044820152606401610848565b6000841161107b57600080fd5b6010546012546040516001600160a01b03909216916110fc916110aa9160ff90911690339086906020016127c8565b6040516020818303038152906040528051906020012085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a5f92505050565b6001600160a01b0316146111465760405162461bcd60e51b815260206004820152601160248201527014da59db985d1d5c9948125b9d985b1a59607a1b6044820152606401610848565b600d548461115333611432565b61115d9190612760565b11156111a25760405162461bcd60e51b8152602060048201526014602482015273115e18d959591959081b5a5b9d08185b5bdd5b9d60621b6044820152606401610848565b600c54846111b36001546000540390565b6111bd9190612760565b11156111fe5760405162461bcd60e51b815260206004820152601060248201526f141c9954d85b19481cdbdb19081bdd5d60821b6044820152606401610848565b83600a5461120c9190612778565b3410156112565760405162461bcd60e51b8152602060048201526018602482015277139bdd08195b9bdd59da08195d1a195c881d1bc81b5a5b9d60421b6044820152606401610848565b336000908152601160205260408120805491611271836127ad565b919050555061128033856118da565b50505050565b606060038054610757906126da565b6001600160a01b0382163314156112bf5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006113373384611640565b90508061135757604051632ce44b5f60e11b815260040160405180910390fd5b611362858585611730565b61136e85858585611a83565b610ce3576040516368d2bf6b60e11b815260040160405180910390fd5b6060611396826115b9565b6113d65760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610848565b6000600980546113e5906126da565b9050116114015760405180602001604052806000815250610742565b600961140c83611b82565b60405160200161141d929190612832565b60405160208183030381529060405292915050565b600061074282611c7f565b6008546001600160a01b031633146114675760405162461bcd60e51b815260040161084890612715565b600b548111156114b95760405162461bcd60e51b815260206004820152601960248201527f45786365656465642074686520746f74616c20737570706c79000000000000006044820152606401610848565b600c55565b6008546001600160a01b031633146114e85760405162461bcd60e51b815260040161084890612715565b6001600160a01b03811661154d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610848565b610b4f81611a0d565b6008546001600160a01b031633146115805760405162461bcd60e51b815260040161084890612715565b8060ff1660028111156115955761159561250e565b6012805460ff191660018360028111156115b1576115b161250e565b021790555050565b6000805482108015610742575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061164b826115b9565b6116ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610848565b60006116b7836118f4565b905080600001516001600160a01b0316846001600160a01b031614806116f65750836001600160a01b03166116eb846107da565b6001600160a01b0316145b80611728575080516001600160a01b0390811660009081526007602090815260408083209388168352929052205460ff165b949350505050565b600061173b826118f4565b9050836001600160a01b031681600001516001600160a01b0316146117725760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03831661179957604051633a954ecd60e21b815260040160405180910390fd5b6117a960008383600001516115e4565b6001600160a01b038481166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255888616808652838620805493841693831660019081018416949094179055888652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559085018083529120549091166118935760005481101561189357815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611280565b610d27828260405180602001604052806000815250611cd4565b60408051606081018252600080825260208201819052918101829052905482908110156119f457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119f25780516001600160a01b031615611989579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156119ed579392505050565b611989565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806000611a6e8585611ce1565b91509150611a7b81611d51565b509392505050565b60006001600160a01b0384163b15611b7757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ac79033908990889088906004016128d9565b6020604051808303816000875af1925050508015611b02575060408051601f3d908101601f19168201909252611aff91810190612916565b60015b611b5d573d808015611b30576040519150601f19603f3d011682016040523d82523d6000602084013e611b35565b606091505b508051611b55576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611728565b506001949350505050565b606081611ba65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bd05780611bba816127ad565b9150611bc99050600a83612949565b9150611baa565b6000816001600160401b03811115611bea57611bea61243b565b6040519080825280601f01601f191660200182016040528015611c14576020820181803683370190505b5090505b841561172857611c2960018361295d565b9150611c36600a86612974565b611c41906030612760565b60f81b818381518110611c5657611c56612797565b60200101906001600160f81b031916908160001a905350611c78600a86612949565b9450611c18565b60006001600160a01b038216611ca8576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b6108df8383836001611f0c565b600080825160411415611d185760208301516040840151606085015160001a611d0c87828585612072565b94509450505050611d4a565b825160401415611d425760208301516040840151611d3786838361215f565b935093505050611d4a565b506000905060025b9250929050565b6000816004811115611d6557611d6561250e565b1415611d6e5750565b6001816004811115611d8257611d8261250e565b1415611dd05760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610848565b6002816004811115611de457611de461250e565b1415611e325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610848565b6003816004811115611e4657611e4661250e565b1415611e9f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610848565b6004816004811115611eb357611eb361250e565b1415610b4f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610848565b6000546001600160a01b038516611f3557604051622e076360e81b815260040160405180910390fd5b83611f535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156120695760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561203f575061203d6000888488611a83565b155b1561205d576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611fe8565b50600055610ce3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120a95750600090506003612156565b8460ff16601b141580156120c157508460ff16601c14155b156120d25750600090506004612156565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612126573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661214f57600060019250925050612156565b9150600090505b94509492505050565b6000806001600160ff1b0383168161217c60ff86901c601b612760565b905061218a87828885612072565b935093505050935093915050565b8280546121a4906126da565b90600052602060002090601f0160209004810192826121c6576000855561220c565b82601f106121df57805160ff191683800117855561220c565b8280016001018555821561220c579182015b8281111561220c5782518255916020019190600101906121f1565b5061221892915061221c565b5090565b5b80821115612218576000815560010161221d565b6001600160e01b031981168114610b4f57600080fd5b60006020828403121561225957600080fd5b813561226481612231565b9392505050565b60005b8381101561228657818101518382015260200161226e565b838111156112805750506000910152565b600081518084526122af81602086016020860161226b565b601f01601f19169290920160200192915050565b6020815260006122646020830184612297565b6000602082840312156122e857600080fd5b5035919050565b80356001600160a01b038116811461230657600080fd5b919050565b6000806040838503121561231e57600080fd5b612327836122ef565b946020939093013593505050565b60006020828403121561234757600080fd5b612264826122ef565b60008060006060848603121561236557600080fd5b61236e846122ef565b925061237c602085016122ef565b9150604084013590509250925092565b60008083601f84011261239e57600080fd5b5081356001600160401b038111156123b557600080fd5b6020830191508360208260051b8501011115611d4a57600080fd5b600080600080604085870312156123e657600080fd5b84356001600160401b03808211156123fd57600080fd5b6124098883890161238c565b9096509450602087013591508082111561242257600080fd5b5061242f8782880161238c565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561246b5761246b61243b565b604051601f8501601f19908116603f011681019082821181831017156124935761249361243b565b816040528093508581528686860111156124ac57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124d857600080fd5b81356001600160401b038111156124ee57600080fd5b8201601f810184136124ff57600080fd5b61172884823560208401612451565b634e487b7160e01b600052602160045260246000fd5b602081016003831061254657634e487b7160e01b600052602160045260246000fd5b91905290565b6000806000806060858703121561256257600080fd5b8435935060208501356001600160401b038082111561258057600080fd5b818701915087601f83011261259457600080fd5b8135818111156125a357600080fd5b8860208285010111156125b557600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156125e057600080fd5b6125e9836122ef565b9150602083013580151581146125fe57600080fd5b809150509250929050565b6000806000806080858703121561261f57600080fd5b612628856122ef565b9350612636602086016122ef565b92506040850135915060608501356001600160401b0381111561265857600080fd5b8501601f8101871361266957600080fd5b61267887823560208401612451565b91505092959194509250565b6000806040838503121561269757600080fd5b6126a0836122ef565b91506126ae602084016122ef565b90509250929050565b6000602082840312156126c957600080fd5b813560ff8116811461226457600080fd5b600181811c908216806126ee57607f821691505b6020821081141561270f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156127735761277361274a565b500190565b60008160001904831182151516156127925761279261274a565b500290565b634e487b7160e01b600052603260045260246000fd5b60006000198214156127c1576127c161274a565b5060010190565b6000600385106127e857634e487b7160e01b600052602160045260246000fd5b5060f89390931b835260609190911b6bffffffffffffffffffffffff19166001830152601582015260350190565b6000815161282881856020860161226b565b9290920192915050565b600080845481600182811c91508083168061284e57607f831692505b602080841082141561286e57634e487b7160e01b86526022600452602486fd5b8180156128825760018114612893576128c0565b60ff198616895284890196506128c0565b60008b81526020902060005b868110156128b85781548b82015290850190830161289f565b505084890196505b5050505050506128d08185612816565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061290c90830184612297565b9695505050505050565b60006020828403121561292857600080fd5b815161226481612231565b634e487b7160e01b600052601260045260246000fd5b60008261295857612958612933565b500490565b60008282101561296f5761296f61274a565b500390565b60008261298357612983612933565b50069056fea264697066735822122022301bfd174619ceda9ec4b77f76291b279bf47d3107c55830e3dfc2559bc4d864736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000135f000000000000000000000000000000000000000000000000000000000000135f0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000941942e6ac3799944d67b86306401f4e8c863f81000000000000000000000000000000000000000000000000000000000000000b4d6574616d616c6c6f777300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064d414c4c4f5700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63616951664573334b6b7553356a764c4363765564485a434b684a3757336b744558347370454657625446772f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Metamallows
Arg [1] : _symbol (string): MALLOW
Arg [2] : _initBaseURI (string): ipfs://QmcaiQfEs3KkuS5jvLCcvUdHZCKhJ7W3ktEX4spEFWbTFw/
Arg [3] : _maxPreSupply (uint256): 4959
Arg [4] : _maxSupply (uint256): 4959
Arg [5] : _airdropsNumber (uint256): 40
Arg [6] : _partners (address): 0x941942e6Ac3799944d67B86306401F4e8c863f81
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000000000000000000000000000000000000000135f
Arg [4] : 000000000000000000000000000000000000000000000000000000000000135f
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [6] : 000000000000000000000000941942e6ac3799944d67b86306401f4e8c863f81
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [8] : 4d6574616d616c6c6f7773000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 4d414c4c4f570000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d63616951664573334b6b7553356a764c4363765564485a
Arg [13] : 434b684a3757336b744558347370454657625446772f00000000000000000000
Deployed Bytecode Sourcemap
219:5136:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3915:305:5;;;;;;;;;;-1:-1:-1;3915:305:5;;;;;:::i;:::-;;:::i;:::-;;;565:14:20;;558:22;540:41;;528:2;513:18;3915:305:5;;;;;;;;7275:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;8778:204::-;;;;;;;;;;-1:-1:-1;8778:204:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:20;;;1696:51;;1684:2;1669:18;8778:204:5;1550:203:20;4481:125:16;;;;;;;;;;-1:-1:-1;4481:125:16;;;;;:::i;:::-;;:::i;:::-;;8341:371:5;;;;;;;;;;-1:-1:-1;8341:371:5;;;;;:::i;:::-;;:::i;4234:128:16:-;;;;;;;;;;-1:-1:-1;4234:128:16;;;;;:::i;:::-;;:::i;3572:271:5:-;;;;;;;;;;-1:-1:-1;3808:12:5;;3616:7;3792:13;:28;3572:271;;;2532:25:20;;;2520:2;2505:18;3572:271:5;2386:177:20;556:32:16;;;;;;;;;;;;;;;;5014:338;;;;;;;;;;-1:-1:-1;5014:338:16;;;;;:::i;:::-;;:::i;2428:466::-;;;;;;:::i;:::-;;:::i;10030:185:5:-;;;;;;;;;;-1:-1:-1;10030:185:5;;;;;:::i;:::-;;:::i;3890:129:16:-;;;;;;;;;;-1:-1:-1;3890:129:16;;;;;:::i;:::-;;:::i;522:27::-;;;;;;;;;;;;;;;;3175:468;;;;;;;;;;-1:-1:-1;3175:468:16;;;;;:::i;:::-;;:::i;4614:105::-;;;;;;;;;;-1:-1:-1;4614:105:16;;;;;:::i;:::-;;:::i;791:37::-;;;;;;;;;;-1:-1:-1;791:37:16;;;;;;;;;;;;;;;:::i;7084:124:5:-;;;;;;;;;;-1:-1:-1;7084:124:5;;;;;:::i;:::-;;:::i;413:21:16:-;;;;;;;;;;;;;:::i;4284:206:5:-;;;;;;;;;;-1:-1:-1;4284:206:5;;;;;:::i;:::-;;:::i;1660:101:17:-;;;;;;;;;;;;;:::i;741:41:16:-;;;;;;;;;;-1:-1:-1;741:41:16;;;;;:::i;:::-;;;;;;;;;;;;;;4727:279;;;;;;;;;;;;;:::i;3651:231::-;;;;;;;;;;-1:-1:-1;3651:231:16;;;;;:::i;:::-;;:::i;1028:85:17:-;;;;;;;;;;-1:-1:-1;1100:6:17;;-1:-1:-1;;;;;1100:6:17;1028:85;;2910:134:16;;;;;;;;;;-1:-1:-1;2910:134:16;;;;;:::i;:::-;;:::i;:::-;;;;5983:13:20;;-1:-1:-1;;;;;5979:39:20;5961:58;;6079:4;6067:17;;;6061:24;-1:-1:-1;;;;;6057:49:20;6035:20;;;6028:79;6165:17;;;6159:24;6152:32;6145:40;6123:20;;;6116:70;5949:2;5934:18;2910:134:16;5751:441:20;1722:698:16;;;;;;:::i;:::-;;:::i;7444:104:5:-;;;;;;;;;;;;;:::i;9054:279::-;;;;;;;;;;-1:-1:-1;9054:279:5;;;;;:::i;:::-;;:::i;10286:496::-;;;;;;;;;;-1:-1:-1;10286:496:5;;;;;:::i;:::-;;:::i;443:37:16:-;;;;;;;;;;;;;;;;1452:262;;;;;;;;;;-1:-1:-1;1452:262:16;;;;;:::i;:::-;;:::i;491:24::-;;;;;;;;;;;;;;;;3052:115;;;;;;;;;;-1:-1:-1;3052:115:16;;;;;:::i;:::-;;:::i;4027:199::-;;;;;;;;;;-1:-1:-1;4027:199:16;;;;;:::i;:::-;;:::i;9404:164:5:-;;;;;;;;;;-1:-1:-1;9404:164:5;;;;;:::i;:::-;-1:-1:-1;;;;;9525:25:5;;;9501:4;9525:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9404:164;1910:198:17;;;;;;;;;;-1:-1:-1;1910:198:17;;;;;:::i;:::-;;:::i;4370:103:16:-;;;;;;;;;;-1:-1:-1;4370:103:16;;;;;:::i;:::-;;:::i;3915:305:5:-;4017:4;-1:-1:-1;;;;;;4054:40:5;;-1:-1:-1;;;4054:40:5;;:105;;-1:-1:-1;;;;;;;4111:48:5;;-1:-1:-1;;;4111:48:5;4054:105;:158;;;-1:-1:-1;;;;;;;;;;937:40:3;;;4176:36:5;4034:178;3915:305;-1:-1:-1;;3915:305:5:o;7275:100::-;7329:13;7362:5;7355:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7275:100;:::o;8778:204::-;8846:7;8871:16;8879:7;8871;:16::i;:::-;8866:64;;8896:34;;-1:-1:-1;;;8896:34:5;;;;;;;;;;;8866:64;-1:-1:-1;8950:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;8950:24:5;;8778:204::o;4481:125:16:-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;;;;;;;;;4565:13:16::1;:33:::0;4481:125::o;8341:371:5:-;8414:13;8430:24;8446:7;8430:15;:24::i;:::-;8414:40;;8475:5;-1:-1:-1;;;;;8469:11:5;:2;-1:-1:-1;;;;;8469:11:5;;8465:48;;;8489:24;;-1:-1:-1;;;8489:24:5;;;;;;;;;;;8465:48;719:10:1;-1:-1:-1;;;;;8530:21:5;;;;;;:63;;-1:-1:-1;8556:37:5;8573:5;719:10:1;9404:164:5;:::i;8556:37::-;8555:38;8530:63;8526:138;;;8617:35;;-1:-1:-1;;;8617:35:5;;;;;;;;;;;8526:138;8676:28;8685:2;8689:7;8698:5;8676:8;:28::i;:::-;8403:309;8341:371;;:::o;4234:128:16:-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;4312:15:16::1;:42:::0;;-1:-1:-1;;;;;4312:42:16;;::::1;;;-1:-1:-1::0;;;;;;4312:42:16;;::::1;::::0;;;::::1;::::0;;4234:128::o;5014:338::-;5171:15;;;;;-1:-1:-1;;;;;5171:15:16;719:10:1;-1:-1:-1;;;;;5147:40:16;;5143:166;;5205:42;719:10:1;5238:8:16;5205:18;:42::i;:::-;5197:104;;;;-1:-1:-1;;;5197:104:16;;9440:2:20;5197:104:16;;;9422:21:20;9479:2;9459:18;;;9452:30;9518:34;9498:18;;;9491:62;-1:-1:-1;;;9569:18:20;;;9562:47;9626:19;;5197:104:16;9238:413:20;5197:104:16;5315:31;5325:5;5332:3;5337:8;5315:9;:31::i;2428:466::-;2518:12;2505:9;;;;:25;;;;;;;;:::i;:::-;;2497:61;;;;-1:-1:-1;;;2497:61:16;;9858:2:20;2497:61:16;;;9840:21:20;9897:2;9877:18;;;9870:30;9936:25;9916:18;;;9909:53;9979:18;;2497:61:16;9656:347:20;2497:61:16;2592:1;2578:11;:15;2570:24;;;;;;2628:13;;2613:11;:28;;2605:61;;;;-1:-1:-1;;;2605:61:16;;10210:2:20;2605:61:16;;;10192:21:20;10249:2;10229:18;;;10222:30;-1:-1:-1;;;10268:18:20;;;10261:50;10328:18;;2605:61:16;10008:344:20;2605:61:16;2719:9;;2703:11;2687:13;3808:12:5;;3616:7;3792:13;:28;;3572:271;2687:13:16;:27;;;;:::i;:::-;2686:42;;2678:75;;;;-1:-1:-1;;;2678:75:16;;10824:2:20;2678:75:16;;;10806:21:20;10863:2;10843:18;;;10836:30;-1:-1:-1;;;10882:18:20;;;10875:50;10942:18;;2678:75:16;10622:344:20;2678:75:16;2798:11;2787:8;;:22;;;;:::i;:::-;2773:9;:37;;2765:74;;;;-1:-1:-1;;;2765:74:16;;11346:2:20;2765:74:16;;;11328:21:20;11385:2;11365:18;;;11358:30;-1:-1:-1;;;11404:18:20;;;11397:54;11468:18;;2765:74:16;11144:348:20;2765:74:16;2851:34;2861:10;2873:11;2851:9;:34::i;:::-;2428:466;:::o;10030:185:5:-;10168:39;10185:4;10191:2;10195:7;10168:39;;;;;;;;;;;;:16;:39::i;3890:129:16:-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;3976:14:16::1;:35:::0;3890:129::o;3175:468::-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;3309:48:16;;::::1;3301:87;;;::::0;-1:-1:-1;;;3301:87:16;;11699:2:20;3301:87:16::1;::::0;::::1;11681:21:20::0;11738:2;11718:18;;;11711:30;11777:28;11757:18;;;11750:56;11823:18;;3301:87:16::1;11497:350:20::0;3301:87:16::1;3464:14;;3452:9;;:26;;;;:::i;:::-;3424:15:::0;3408:13:::1;3808:12:5::0;;3616:7;3792:13;:28;;3572:271;3408:13:16::1;:38;;;;:::i;:::-;3407:72;;3399:101;;;::::0;-1:-1:-1;;;3399:101:16;;12054:2:20;3399:101:16::1;::::0;::::1;12036:21:20::0;12093:2;12073:18;;;12066:30;-1:-1:-1;;;12112:18:20;;;12105:46;12168:18;;3399:101:16::1;11852:340:20::0;3399:101:16::1;3516:6;3511:125;3527:26:::0;;::::1;3511:125;;;3575:49;3585:15;;3601:1;3585:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;3605:15;;3621:1;3605:18;;;;;;;:::i;:::-;;;;;;;3575:9;:49::i;:::-;3555:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3511:125;;;;3175:468:::0;;;;:::o;4614:105::-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;4690:21:16;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;4614:105:::0;:::o;7084:124:5:-;7148:7;7175:20;7187:7;7175:11;:20::i;:::-;:25;;7084:124;-1:-1:-1;;7084:124:5:o;413:21:16:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4284:206:5:-;4348:7;-1:-1:-1;;;;;4372:19:5;;4368:60;;4400:28;;-1:-1:-1;;;4400:28:5;;;;;;;;;;;4368:60;-1:-1:-1;;;;;;4454:19:5;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;4454:27:5;;4284:206::o;1660:101:17:-;1100:6;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;1724:30:::1;1751:1;1724:18;:30::i;:::-;1660:101::o:0;4727:279:16:-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;4813:1:16::1;4789:21;:25;4781:48;;;::::0;-1:-1:-1;;;4781:48:16;;12671:2:20;4781:48:16::1;::::0;::::1;12653:21:20::0;12710:2;12690:18;;;12683:30;-1:-1:-1;;;12729:18:20;;;12722:40;12779:18;;4781:48:16::1;12469:334:20::0;4781:48:16::1;4913:8;::::0;:41:::1;::::0;4866:21:::1;::::0;4840:23:::1;::::0;-1:-1:-1;;;;;4913:8:16;;::::1;::::0;4866:21;;4840:23;4913:41;4840:23;4913:41;4866:21;4913:8;:41:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4900:54;;;4976:2;4968:30;;;::::0;-1:-1:-1;;;4968:30:16;;13220:2:20;4968:30:16::1;::::0;::::1;13202:21:20::0;13259:2;13239:18;;;13232:30;-1:-1:-1;;;13278:18:20;;;13271:45;13333:18;;4968:30:16::1;13018:339:20::0;3651:231:16;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;3792:14:16::1;;3780:9;;:26;;;;:::i;:::-;3766:8;3750:13;3808:12:5::0;;3616:7;3792:13;:28;;3572:271;3750:13:16::1;:24;;;;:::i;:::-;3749:58;;3741:87;;;::::0;-1:-1:-1;;;3741:87:16;;12054:2:20;3741:87:16::1;::::0;::::1;12036:21:20::0;12093:2;12073:18;;;12066:30;-1:-1:-1;;;12112:18:20;;;12105:46;12168:18;;3741:87:16::1;11852:340:20::0;3741:87:16::1;3839:35;3849:14;3865:8;3839:9;:35::i;2910:134::-:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;3016:20:16;3028:7;3016:11;:20::i;1722:698::-;1856:13;1843:9;;;;:26;;;;;;;;:::i;:::-;;1835:58;;;;-1:-1:-1;;;1835:58:16;;13564:2:20;1835:58:16;;;13546:21:20;13603:2;13583:18;;;13576:30;-1:-1:-1;;;13622:18:20;;;13615:49;13681:18;;1835:58:16;13362:343:20;1835:58:16;1927:1;1913:11;:15;1905:24;;;;;;2037:6;;1989:9;;1972:47;;-1:-1:-1;;;;;2037:6:16;;;;1948:85;;1972:47;;1989:9;;;;;2000:10;;2012:6;;1972:47;;;:::i;:::-;;;;;;;;;;;;;1962:58;;;;;;2022:10;;1948:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1948:13:16;;-1:-1:-1;;;1948:85:16:i;:::-;-1:-1:-1;;;;;1948:95:16;;1940:125;;;;-1:-1:-1;;;1940:125:16;;14446:2:20;1940:125:16;;;14428:21:20;14485:2;14465:18;;;14458:30;-1:-1:-1;;;14504:18:20;;;14497:47;14561:18;;1940:125:16;14244:341:20;1940:125:16;2126:13;;2111:11;2084:24;2097:10;2084:12;:24::i;:::-;:38;;;;:::i;:::-;:55;;2076:88;;;;-1:-1:-1;;;2076:88:16;;10210:2:20;2076:88:16;;;10192:21:20;10249:2;10229:18;;;10222:30;-1:-1:-1;;;10268:18:20;;;10261:50;10328:18;;2076:88:16;10008:344:20;2076:88:16;2216:12;;2200:11;2184:13;3808:12:5;;3616:7;3792:13;:28;;3572:271;2184:13:16;:27;;;;:::i;:::-;2183:45;;2175:74;;;;-1:-1:-1;;;2175:74:16;;14792:2:20;2175:74:16;;;14774:21:20;14831:2;14811:18;;;14804:30;-1:-1:-1;;;14850:18:20;;;14843:46;14906:18;;2175:74:16;14590:340:20;2175:74:16;2294:11;2283:8;;:22;;;;:::i;:::-;2269:9;:37;;2261:74;;;;-1:-1:-1;;;2261:74:16;;11346:2:20;2261:74:16;;;11328:21:20;11385:2;11365:18;;;11358:30;-1:-1:-1;;;11404:18:20;;;11397:54;11468:18;;2261:74:16;11144:348:20;2261:74:16;2353:10;2346:18;;;;:6;:18;;;;;:20;;;;;;:::i;:::-;;;;;;2377:34;2387:10;2399:11;2377:9;:34::i;:::-;1722:698;;;;:::o;7444:104:5:-;7500:13;7533:7;7526:14;;;;;:::i;9054:279::-;-1:-1:-1;;;;;9145:24:5;;719:10:1;9145:24:5;9141:54;;;9178:17;;-1:-1:-1;;;9178:17:5;;;;;;;;;;;9141:54;719:10:1;9208:32:5;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;9208:42:5;;;;;;;;;;;;:53;;-1:-1:-1;;9208:53:5;;;;;;;;;;9277:48;;540:41:20;;;9208:42:5;;719:10:1;9277:48:5;;513:18:20;9277:48:5;;;;;;;9054:279;;:::o;10286:496::-;10453:22;10478:41;719:10:1;10511:7:5;10478:18;:41::i;:::-;10453:66;;10535:17;10530:66;;10561:35;;-1:-1:-1;;;10561:35:5;;;;;;;;;;;10530:66;10607:28;10617:4;10623:2;10627:7;10607:9;:28::i;:::-;10651:48;10674:4;10680:2;10684:7;10693:5;10651:22;:48::i;:::-;10646:129;;10723:40;;-1:-1:-1;;;10723:40:5;;;;;;;;;;;1452:262:16;1518:13;1552:17;1560:8;1552:7;:17::i;:::-;1544:47;;;;-1:-1:-1;;;1544:47:16;;15137:2:20;1544:47:16;;;15119:21:20;15176:2;15156:18;;;15149:30;-1:-1:-1;;;15195:18:20;;;15188:47;15252:18;;1544:47:16;14935:341:20;1544:47:16;1633:1;1615:7;1609:21;;;;;:::i;:::-;;;:25;:97;;;;;;;;;;;;;;;;;1671:7;1680:19;:8;:17;:19::i;:::-;1654:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1602:104;1452:262;-1:-1:-1;;1452:262:16:o;3052:115::-;3111:7;3138:21;3152:6;3138:13;:21::i;4027:199::-;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;4137:9:16::1;;4117:16;:29;;4109:67;;;::::0;-1:-1:-1;;;4109:67:16;;16978:2:20;4109:67:16::1;::::0;::::1;16960:21:20::0;17017:2;16997:18;;;16990:30;17056:27;17036:18;;;17029:55;17101:18;;4109:67:16::1;16776:349:20::0;4109:67:16::1;4187:12;:31:::0;4027:199::o;1910:198:17:-;1100:6;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;-1:-1:-1;;;;;1998:22:17;::::1;1990:73;;;::::0;-1:-1:-1;;;1990:73:17;;17332:2:20;1990:73:17::1;::::0;::::1;17314:21:20::0;17371:2;17351:18;;;17344:30;17410:34;17390:18;;;17383:62;-1:-1:-1;;;17461:18:20;;;17454:36;17507:19;;1990:73:17::1;17130:402:20::0;1990:73:17::1;2073:28;2092:8;2073:18;:28::i;4370:103:16:-:0;1100:6:17;;-1:-1:-1;;;;;1100:6:17;719:10:1;1240:23:17;1232:68;;;;-1:-1:-1;;;1232:68:17;;;;;;;:::i;:::-;4454:10:16::1;4448:17;;;;;;;;;;:::i;:::-;4436:9;:29:::0;;-1:-1:-1;;4436:29:16::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;4370:103:::0;:::o;11037:144:5:-;11094:4;11128:13;;11118:7;:23;:55;;;;-1:-1:-1;;11146:20:5;;;;:11;:20;;;;;:27;-1:-1:-1;;;11146:27:5;;;;11145:28;;11037:144::o;18879:196::-;18994:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;18994:29:5;-1:-1:-1;;;;;18994:29:5;;;;;;;;;19039:28;;18994:24;;19039:28;;;;;;;18879:196;;;:::o;11346:403::-;11439:4;11464:16;11472:7;11464;:16::i;:::-;11456:73;;;;-1:-1:-1;;;11456:73:5;;17739:2:20;11456:73:5;;;17721:21:20;17778:2;17758:18;;;17751:30;17817:34;17797:18;;;17790:62;-1:-1:-1;;;17868:18:20;;;17861:42;17920:19;;11456:73:5;17537:408:20;11456:73:5;11540:35;11578:20;11590:7;11578:11;:20::i;:::-;11540:58;;11628:13;:18;;;-1:-1:-1;;;;;11617:29:5;:7;-1:-1:-1;;;;;11617:29:5;;:64;;;;11674:7;-1:-1:-1;;;;;11650:31:5;:20;11662:7;11650:11;:20::i;:::-;-1:-1:-1;;;;;11650:31:5;;11617:64;:123;;;-1:-1:-1;11712:18:5;;-1:-1:-1;;;;;9525:25:5;;;9501:4;9525:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;11695:45;11609:132;11346:403;-1:-1:-1;;;;11346:403:5:o;14312:2180::-;14479:35;14517:20;14529:7;14517:11;:20::i;:::-;14479:58;;14863:4;-1:-1:-1;;;;;14841:26:5;:13;:18;;;-1:-1:-1;;;;;14841:26:5;;14837:67;;14876:28;;-1:-1:-1;;;14876:28:5;;;;;;;;;;;14837:67;-1:-1:-1;;;;;14919:16:5;;14915:52;;14944:23;;-1:-1:-1;;;14944:23:5;;;;;;;;;;;14915:52;15088:49;15105:1;15109:7;15118:13;:18;;;15088:8;:49::i;:::-;-1:-1:-1;;;;;15433:18:5;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;15433:31:5;;;-1:-1:-1;;;;;15433:31:5;;;-1:-1:-1;;15433:31:5;;;;;;;15479:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;15479:29:5;;;;;;;;;;;15525:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;15570:61:5;;;;-1:-1:-1;;;15615:15:5;15570:61;;;;;;;;;;;15905:11;;;15935:24;;;;;:29;15905:11;;15935:29;15931:445;;16160:13;;16146:11;:27;16142:219;;;16230:18;;;16198:24;;;:11;:24;;;;;;;;:50;;16313:28;;;;-1:-1:-1;;;;;16271:70:5;-1:-1:-1;;;16271:70:5;-1:-1:-1;;;;;;16271:70:5;;;-1:-1:-1;;;;;16198:50:5;;;16271:70;;;;;;;16142:219;15408:979;16423:7;16419:2;-1:-1:-1;;;;;16404:27:5;16413:4;-1:-1:-1;;;;;16404:27:5;;;;;;;;;;;16442:42;1722:698:16;11757:104:5;11826:27;11836:2;11840:8;11826:27;;;;;;;;;;;;:9;:27::i;5939:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;6105:13:5;;6049:7;;6098:20;;6094:861;;;6139:31;6173:17;;;:11;:17;;;;;;;;;6139:51;;;;;;;;;-1:-1:-1;;;;;6139:51:5;;;;-1:-1:-1;;;6139:51:5;;-1:-1:-1;;;;;6139:51:5;;;;;;;;-1:-1:-1;;;6139:51:5;;;;;;;;;;;;;;6209:731;;6259:14;;-1:-1:-1;;;;;6259:28:5;;6255:101;;6323:9;5939:1083;-1:-1:-1;;;5939:1083:5:o;6255:101::-;-1:-1:-1;;;6700:6:5;6745:17;;;;:11;:17;;;;;;;;;6733:29;;;;;;;;;-1:-1:-1;;;;;6733:29:5;;;;;-1:-1:-1;;;6733:29:5;;-1:-1:-1;;;;;6733:29:5;;;;;;;;-1:-1:-1;;;6733:29:5;;;;;;;;;;;;;6793:28;6789:109;;6861:9;5939:1083;-1:-1:-1;;;5939:1083:5:o;6789:109::-;6660:261;;;6120:835;6094:861;6983:31;;-1:-1:-1;;;6983:31:5;;;;;;;;;;;2262:187:17;2354:6;;;-1:-1:-1;;;;;2370:17:17;;;-1:-1:-1;;;;;;2370:17:17;;;;;;;2402:40;;2354:6;;;2370:17;2354:6;;2402:40;;2335:16;;2402:40;2325:124;2262:187;:::o;4408:231:2:-;4486:7;4507:17;4526:18;4548:27;4559:4;4565:9;4548:10;:27::i;:::-;4506:69;;;;4586:18;4598:5;4586:11;:18::i;:::-;-1:-1:-1;4622:9:2;4408:231;-1:-1:-1;;;4408:231:2:o;19640:790:5:-;19795:4;-1:-1:-1;;;;;19816:13:5;;1087:20:0;1133:8;19812:611:5;;19852:72;;-1:-1:-1;;;19852:72:5;;-1:-1:-1;;;;;19852:36:5;;;;;:72;;719:10:1;;19903:4:5;;19909:7;;19918:5;;19852:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19852:72:5;;;;;;;;-1:-1:-1;;19852:72:5;;;;;;;;;;;;:::i;:::-;;;19848:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20098:13:5;;20094:259;;20148:40;;-1:-1:-1;;;20148:40:5;;;;;;;;;;;20094:259;20303:6;20297:13;20288:6;20284:2;20280:15;20273:38;19848:520;-1:-1:-1;;;;;;19975:55:5;-1:-1:-1;;;19975:55:5;;-1:-1:-1;19968:62:5;;19812:611;-1:-1:-1;20407:4:5;19640:790;;;;;;:::o;328:703:19:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:19;;;;;;;;;;;;-1:-1:-1;;;627:10:19;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:19;;-1:-1:-1;773:2:19;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:19;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:19;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:19;;;;;;;;-1:-1:-1;972:11:19;981:2;972:11;;:::i;:::-;;;844:150;;4572:207:5;4633:7;-1:-1:-1;;;;;4657:19:5;;4653:59;;4685:27;;-1:-1:-1;;;4685:27:5;;;;;;;;;;;4653:59;-1:-1:-1;;;;;;4738:19:5;;;;;:12;:19;;;;;:32;-1:-1:-1;;;4738:32:5;;-1:-1:-1;;;;;4738:32:5;;4572:207::o;12224:163::-;12347:32;12353:2;12357:8;12367:5;12374:4;12347:5;:32::i;2298:1308:2:-;2379:7;2388:12;2613:9;:16;2633:2;2613:22;2609:990;;;2909:4;2894:20;;2888:27;2959:4;2944:20;;2938:27;3017:4;3002:20;;2996:27;2652:9;2988:36;3060:25;3071:4;2988:36;2888:27;2938;3060:10;:25::i;:::-;3053:32;;;;;;;;;2609:990;3107:9;:16;3127:2;3107:22;3103:496;;;3382:4;3367:20;;3361:27;3433:4;3418:20;;3412:27;3475:23;3486:4;3361:27;3412;3475:10;:23::i;:::-;3468:30;;;;;;;;3103:496;-1:-1:-1;3547:1:2;;-1:-1:-1;3551:35:2;3103:496;2298:1308;;;;;:::o;569:643::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:571;;;569:643;:::o;634:571::-;745:29;736:5;:38;;;;;;;;:::i;:::-;;732:473;;;791:34;;-1:-1:-1;;;791:34:2;;19415:2:20;791:34:2;;;19397:21:20;19454:2;19434:18;;;19427:30;19493:26;19473:18;;;19466:54;19537:18;;791:34:2;19213:348:20;732:473:2;856:35;847:5;:44;;;;;;;;:::i;:::-;;843:362;;;908:41;;-1:-1:-1;;;908:41:2;;19768:2:20;908:41:2;;;19750:21:20;19807:2;19787:18;;;19780:30;19846:33;19826:18;;;19819:61;19897:18;;908:41:2;19566:355:20;843:362:2;980:30;971:5;:39;;;;;;;;:::i;:::-;;967:238;;;1027:44;;-1:-1:-1;;;1027:44:2;;20128:2:20;1027:44:2;;;20110:21:20;20167:2;20147:18;;;20140:30;20206:34;20186:18;;;20179:62;-1:-1:-1;;;20257:18:20;;;20250:32;20299:19;;1027:44:2;19926:398:20;967:238:2;1102:30;1093:5;:39;;;;;;;;:::i;:::-;;1089:116;;;1149:44;;-1:-1:-1;;;1149:44:2;;20531:2:20;1149:44:2;;;20513:21:20;20570:2;20550:18;;;20543:30;20609:34;20589:18;;;20582:62;-1:-1:-1;;;20660:18:20;;;20653:32;20702:19;;1149:44:2;20329:398:20;12646:1412:5;12785:20;12808:13;-1:-1:-1;;;;;12836:16:5;;12832:48;;12861:19;;-1:-1:-1;;;12861:19:5;;;;;;;;;;;12832:48;12895:13;12891:44;;12917:18;;-1:-1:-1;;;12917:18:5;;;;;;;;;;;12891:44;-1:-1:-1;;;;;13286:16:5;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;13345:49:5;;-1:-1:-1;;;;;13286:44:5;;;;;;;13345:49;;;-1:-1:-1;;;;;13286:44:5;;;;;;13345:49;;;;;;;;;;;;;;;;13411:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;13461:66:5;;;;-1:-1:-1;;;13511:15:5;13461:66;;;;;;;;;;;13411:25;;13596:328;13616:8;13612:1;:12;13596:328;;;13655:38;;13680:12;;-1:-1:-1;;;;;13655:38:5;;;13672:1;;13655:38;;13672:1;;13655:38;13716:4;:68;;;;;13725:59;13756:1;13760:2;13764:12;13778:5;13725:22;:59::i;:::-;13724:60;13716:68;13712:164;;;13816:40;;-1:-1:-1;;;13816:40:5;;;;;;;;;;;13712:164;13894:14;;;;;13626:3;13596:328;;;-1:-1:-1;13940:13:5;:28;13990:60;1722:698:16;5860:1632:2;5991:7;;6925:66;6912:79;;6908:163;;;-1:-1:-1;7024:1:2;;-1:-1:-1;7028:30:2;7008:51;;6908:163;7085:1;:7;;7090:2;7085:7;;:18;;;;;7096:1;:7;;7101:2;7096:7;;7085:18;7081:102;;;-1:-1:-1;7136:1:2;;-1:-1:-1;7140:30:2;7120:51;;7081:102;7297:24;;;7280:14;7297:24;;;;;;;;;20959:25:20;;;21032:4;21020:17;;21000:18;;;20993:45;;;;21054:18;;;21047:34;;;21097:18;;;21090:34;;;7297:24:2;;20931:19:20;;7297:24:2;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7297:24:2;;-1:-1:-1;;7297:24:2;;;-1:-1:-1;;;;;;;7336:20:2;;7332:103;;7389:1;7393:29;7373:50;;;;;;;7332:103;7455:6;-1:-1:-1;7463:20:2;;-1:-1:-1;5860:1632:2;;;;;;;;:::o;4902:344::-;5016:7;;-1:-1:-1;;;;;5062:80:2;;5016:7;5169:25;5185:3;5170:18;;;5192:2;5169:25;:::i;:::-;5153:42;;5213:25;5224:4;5230:1;5233;5236;5213:10;:25::i;:::-;5206:32;;;;;;4902:344;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:20;-1:-1:-1;;;;;;88:32:20;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:20:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:20;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:20;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:20:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:20;;1365:180;-1:-1:-1;1365:180:20:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:20;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:20:o;2195:186::-;2254:6;2307:2;2295:9;2286:7;2282:23;2278:32;2275:52;;;2323:1;2320;2313:12;2275:52;2346:29;2365:9;2346:29;:::i;2568:328::-;2645:6;2653;2661;2714:2;2702:9;2693:7;2689:23;2685:32;2682:52;;;2730:1;2727;2720:12;2682:52;2753:29;2772:9;2753:29;:::i;:::-;2743:39;;2801:38;2835:2;2824:9;2820:18;2801:38;:::i;:::-;2791:48;;2886:2;2875:9;2871:18;2858:32;2848:42;;2568:328;;;;;:::o;2901:367::-;2964:8;2974:6;3028:3;3021:4;3013:6;3009:17;3005:27;2995:55;;3046:1;3043;3036:12;2995:55;-1:-1:-1;3069:20:20;;-1:-1:-1;;;;;3101:30:20;;3098:50;;;3144:1;3141;3134:12;3098:50;3181:4;3173:6;3169:17;3157:29;;3241:3;3234:4;3224:6;3221:1;3217:14;3209:6;3205:27;3201:38;3198:47;3195:67;;;3258:1;3255;3248:12;3273:773;3395:6;3403;3411;3419;3472:2;3460:9;3451:7;3447:23;3443:32;3440:52;;;3488:1;3485;3478:12;3440:52;3528:9;3515:23;-1:-1:-1;;;;;3598:2:20;3590:6;3587:14;3584:34;;;3614:1;3611;3604:12;3584:34;3653:70;3715:7;3706:6;3695:9;3691:22;3653:70;:::i;:::-;3742:8;;-1:-1:-1;3627:96:20;-1:-1:-1;3830:2:20;3815:18;;3802:32;;-1:-1:-1;3846:16:20;;;3843:36;;;3875:1;3872;3865:12;3843:36;;3914:72;3978:7;3967:8;3956:9;3952:24;3914:72;:::i;:::-;3273:773;;;;-1:-1:-1;4005:8:20;-1:-1:-1;;;;3273:773:20:o;4051:127::-;4112:10;4107:3;4103:20;4100:1;4093:31;4143:4;4140:1;4133:15;4167:4;4164:1;4157:15;4183:632;4248:5;-1:-1:-1;;;;;4319:2:20;4311:6;4308:14;4305:40;;;4325:18;;:::i;:::-;4400:2;4394:9;4368:2;4454:15;;-1:-1:-1;;4450:24:20;;;4476:2;4446:33;4442:42;4430:55;;;4500:18;;;4520:22;;;4497:46;4494:72;;;4546:18;;:::i;:::-;4586:10;4582:2;4575:22;4615:6;4606:15;;4645:6;4637;4630:22;4685:3;4676:6;4671:3;4667:16;4664:25;4661:45;;;4702:1;4699;4692:12;4661:45;4752:6;4747:3;4740:4;4732:6;4728:17;4715:44;4807:1;4800:4;4791:6;4783;4779:19;4775:30;4768:41;;;;4183:632;;;;;:::o;4820:451::-;4889:6;4942:2;4930:9;4921:7;4917:23;4913:32;4910:52;;;4958:1;4955;4948:12;4910:52;4998:9;4985:23;-1:-1:-1;;;;;5023:6:20;5020:30;5017:50;;;5063:1;5060;5053:12;5017:50;5086:22;;5139:4;5131:13;;5127:27;-1:-1:-1;5117:55:20;;5168:1;5165;5158:12;5117:55;5191:74;5257:7;5252:2;5239:16;5234:2;5230;5226:11;5191:74;:::i;5276:127::-;5337:10;5332:3;5328:20;5325:1;5318:31;5368:4;5365:1;5358:15;5392:4;5389:1;5382:15;5408:338;5550:2;5535:18;;5583:1;5572:13;;5562:144;;5628:10;5623:3;5619:20;5616:1;5609:31;5663:4;5660:1;5653:15;5691:4;5688:1;5681:15;5562:144;5715:25;;;5408:338;:::o;6197:727::-;6285:6;6293;6301;6309;6362:2;6350:9;6341:7;6337:23;6333:32;6330:52;;;6378:1;6375;6368:12;6330:52;6414:9;6401:23;6391:33;;6475:2;6464:9;6460:18;6447:32;-1:-1:-1;;;;;6539:2:20;6531:6;6528:14;6525:34;;;6555:1;6552;6545:12;6525:34;6593:6;6582:9;6578:22;6568:32;;6638:7;6631:4;6627:2;6623:13;6619:27;6609:55;;6660:1;6657;6650:12;6609:55;6700:2;6687:16;6726:2;6718:6;6715:14;6712:34;;;6742:1;6739;6732:12;6712:34;6787:7;6782:2;6773:6;6769:2;6765:15;6761:24;6758:37;6755:57;;;6808:1;6805;6798:12;6755:57;6197:727;;6839:2;6831:11;;;;;-1:-1:-1;6861:6:20;;6914:2;6899:18;6886:32;;-1:-1:-1;6197:727:20;-1:-1:-1;;;6197:727:20:o;6929:347::-;6994:6;7002;7055:2;7043:9;7034:7;7030:23;7026:32;7023:52;;;7071:1;7068;7061:12;7023:52;7094:29;7113:9;7094:29;:::i;:::-;7084:39;;7173:2;7162:9;7158:18;7145:32;7220:5;7213:13;7206:21;7199:5;7196:32;7186:60;;7242:1;7239;7232:12;7186:60;7265:5;7255:15;;;6929:347;;;;;:::o;7281:667::-;7376:6;7384;7392;7400;7453:3;7441:9;7432:7;7428:23;7424:33;7421:53;;;7470:1;7467;7460:12;7421:53;7493:29;7512:9;7493:29;:::i;:::-;7483:39;;7541:38;7575:2;7564:9;7560:18;7541:38;:::i;:::-;7531:48;;7626:2;7615:9;7611:18;7598:32;7588:42;;7681:2;7670:9;7666:18;7653:32;-1:-1:-1;;;;;7700:6:20;7697:30;7694:50;;;7740:1;7737;7730:12;7694:50;7763:22;;7816:4;7808:13;;7804:27;-1:-1:-1;7794:55:20;;7845:1;7842;7835:12;7794:55;7868:74;7934:7;7929:2;7916:16;7911:2;7907;7903:11;7868:74;:::i;:::-;7858:84;;;7281:667;;;;;;;:::o;7953:260::-;8021:6;8029;8082:2;8070:9;8061:7;8057:23;8053:32;8050:52;;;8098:1;8095;8088:12;8050:52;8121:29;8140:9;8121:29;:::i;:::-;8111:39;;8169:38;8203:2;8192:9;8188:18;8169:38;:::i;:::-;8159:48;;7953:260;;;;;:::o;8218:269::-;8275:6;8328:2;8316:9;8307:7;8303:23;8299:32;8296:52;;;8344:1;8341;8334:12;8296:52;8383:9;8370:23;8433:4;8426:5;8422:16;8415:5;8412:27;8402:55;;8453:1;8450;8443:12;8492:380;8571:1;8567:12;;;;8614;;;8635:61;;8689:4;8681:6;8677:17;8667:27;;8635:61;8742:2;8734:6;8731:14;8711:18;8708:38;8705:161;;;8788:10;8783:3;8779:20;8776:1;8769:31;8823:4;8820:1;8813:15;8851:4;8848:1;8841:15;8705:161;;8492:380;;;:::o;8877:356::-;9079:2;9061:21;;;9098:18;;;9091:30;9157:34;9152:2;9137:18;;9130:62;9224:2;9209:18;;8877:356::o;10357:127::-;10418:10;10413:3;10409:20;10406:1;10399:31;10449:4;10446:1;10439:15;10473:4;10470:1;10463:15;10489:128;10529:3;10560:1;10556:6;10553:1;10550:13;10547:39;;;10566:18;;:::i;:::-;-1:-1:-1;10602:9:20;;10489:128::o;10971:168::-;11011:7;11077:1;11073;11069:6;11065:14;11062:1;11059:21;11054:1;11047:9;11040:17;11036:45;11033:71;;;11084:18;;:::i;:::-;-1:-1:-1;11124:9:20;;10971:168::o;12197:127::-;12258:10;12253:3;12249:20;12246:1;12239:31;12289:4;12286:1;12279:15;12313:4;12310:1;12303:15;12329:135;12368:3;-1:-1:-1;;12389:17:20;;12386:43;;;12409:18;;:::i;:::-;-1:-1:-1;12456:1:20;12445:13;;12329:135::o;13710:529::-;13885:3;13924:1;13916:6;13913:13;13903:144;;13969:10;13964:3;13960:20;13957:1;13950:31;14004:4;14001:1;13994:15;14032:4;14029:1;14022:15;13903:144;-1:-1:-1;14072:3:20;14068:16;;;;14056:29;;14122:2;14118:15;;;;-1:-1:-1;;14114:53:20;14110:1;14101:11;;14094:74;14193:2;14184:12;;14177:28;14230:2;14221:12;;13710:529::o;15407:185::-;15449:3;15487:5;15481:12;15502:52;15547:6;15542:3;15535:4;15528:5;15524:16;15502:52;:::i;:::-;15570:16;;;;;15407:185;-1:-1:-1;;15407:185:20:o;15597:1174::-;15773:3;15802:1;15835:6;15829:13;15865:3;15887:1;15915:9;15911:2;15907:18;15897:28;;15975:2;15964:9;15960:18;15997;15987:61;;16041:4;16033:6;16029:17;16019:27;;15987:61;16067:2;16115;16107:6;16104:14;16084:18;16081:38;16078:165;;;-1:-1:-1;;;16142:33:20;;16198:4;16195:1;16188:15;16228:4;16149:3;16216:17;16078:165;16259:18;16286:104;;;;16404:1;16399:320;;;;16252:467;;16286:104;-1:-1:-1;;16319:24:20;;16307:37;;16364:16;;;;-1:-1:-1;16286:104:20;;16399:320;15354:1;15347:14;;;15391:4;15378:18;;16494:1;16508:165;16522:6;16519:1;16516:13;16508:165;;;16600:14;;16587:11;;;16580:35;16643:16;;;;16537:10;;16508:165;;;16512:3;;16702:6;16697:3;16693:16;16686:23;;16252:467;;;;;;;16735:30;16761:3;16753:6;16735:30;:::i;:::-;16728:37;15597:1174;-1:-1:-1;;;;;15597:1174:20:o;17950:500::-;-1:-1:-1;;;;;18219:15:20;;;18201:34;;18271:15;;18266:2;18251:18;;18244:43;18318:2;18303:18;;18296:34;;;18366:3;18361:2;18346:18;;18339:31;;;18144:4;;18387:57;;18424:19;;18416:6;18387:57;:::i;:::-;18379:65;17950:500;-1:-1:-1;;;;;;17950:500:20:o;18455:249::-;18524:6;18577:2;18565:9;18556:7;18552:23;18548:32;18545:52;;;18593:1;18590;18583:12;18545:52;18625:9;18619:16;18644:30;18668:5;18644:30;:::i;18709:127::-;18770:10;18765:3;18761:20;18758:1;18751:31;18801:4;18798:1;18791:15;18825:4;18822:1;18815:15;18841:120;18881:1;18907;18897:35;;18912:18;;:::i;:::-;-1:-1:-1;18946:9:20;;18841:120::o;18966:125::-;19006:4;19034:1;19031;19028:8;19025:34;;;19039:18;;:::i;:::-;-1:-1:-1;19076:9:20;;18966:125::o;19096:112::-;19128:1;19154;19144:35;;19159:18;;:::i;:::-;-1:-1:-1;19193:9:20;;19096:112::o
Swarm Source
ipfs://22301bfd174619ceda9ec4b77f76291b279bf47d3107c55830e3dfc2559bc4d8
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.