ETH Price: $2,472.51 (+1.27%)

Contract

0xFEe3140BEdAe5B3904eceAc3FB50A534012a54Fa
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Spend Love166184362023-02-13 7:46:35569 days ago1676274395IN
0xFEe3140B...4012a54Fa
0 ETH0.0007773115.1080851
Spend Love166184322023-02-13 7:45:47569 days ago1676274347IN
0xFEe3140B...4012a54Fa
0 ETH0.0007882515.31720929
Spend Love166170992023-02-13 3:17:59569 days ago1676258279IN
0xFEe3140B...4012a54Fa
0 ETH0.0008904117.31048082
Spend Love166170952023-02-13 3:17:11569 days ago1676258231IN
0xFEe3140B...4012a54Fa
0 ETH0.0008056515.64933009
Spend Love166110882023-02-12 7:08:35570 days ago1676185715IN
0xFEe3140B...4012a54Fa
0 ETH0.0008537316.5870332
Spend Love166075902023-02-11 19:24:47570 days ago1676143487IN
0xFEe3140B...4012a54Fa
0 ETH0.000849816.51718356
Spend Love166075822023-02-11 19:23:11570 days ago1676143391IN
0xFEe3140B...4012a54Fa
0 ETH0.0007989215.51856402
Spend Love166074052023-02-11 18:47:47570 days ago1676141267IN
0xFEe3140B...4012a54Fa
0 ETH0.0011384722.1192043
Spend Love166074032023-02-11 18:47:23570 days ago1676141243IN
0xFEe3140B...4012a54Fa
0 ETH0.0009270118.00656584
Spend Love166061562023-02-11 14:36:35571 days ago1676126195IN
0xFEe3140B...4012a54Fa
0 ETH0.0010621420.63137387
Spend Love159967572022-11-18 11:59:47656 days ago1668772787IN
0xFEe3140B...4012a54Fa
0 ETH0.0007302714.19379002
Spend Love159911002022-11-17 17:01:11657 days ago1668704471IN
0xFEe3140B...4012a54Fa
0 ETH0.0011693222.72737618
Spend Love159897222022-11-17 12:24:23657 days ago1668687863IN
0xFEe3140B...4012a54Fa
0 ETH0.0007611814.79245073
Spend Love158607242022-10-30 11:57:47675 days ago1667131067IN
0xFEe3140B...4012a54Fa
0 ETH0.0005356410.40689293
Spend Love158345332022-10-26 20:07:11678 days ago1666814831IN
0xFEe3140B...4012a54Fa
0 ETH0.0014260427.71701031
Spend Love158334602022-10-26 16:31:47679 days ago1666801907IN
0xFEe3140B...4012a54Fa
0 ETH0.0014052227.31237652
Spend Love158330602022-10-26 15:11:35679 days ago1666797095IN
0xFEe3140B...4012a54Fa
0 ETH0.0039153676.10620939
Spend Love154181182022-08-26 22:55:42739 days ago1661554542IN
0xFEe3140B...4012a54Fa
0 ETH0.000461278.96557994
Spend Love154148152022-08-26 10:21:16740 days ago1661509276IN
0xFEe3140B...4012a54Fa
0 ETH0.000322596.27011926
Spend Love154083062022-08-25 9:23:07741 days ago1661419387IN
0xFEe3140B...4012a54Fa
0 ETH0.000375827.30459245
Spend Love154078462022-08-25 7:36:37741 days ago1661412997IN
0xFEe3140B...4012a54Fa
0 ETH0.000391447.60820429
Spend Love154060372022-08-25 0:28:50741 days ago1661387330IN
0xFEe3140B...4012a54Fa
0 ETH0.000344786.7002759
Spend Love154033042022-08-24 13:56:36742 days ago1661349396IN
0xFEe3140B...4012a54Fa
0 ETH0.000438498.52283367
Spend Love154031542022-08-24 13:22:04742 days ago1661347324IN
0xFEe3140B...4012a54Fa
0 ETH0.000671213.04573534
Spend Love153669152022-08-18 19:47:19747 days ago1660852039IN
0xFEe3140B...4012a54Fa
0 ETH0.0007665314.89630521
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MallowAuctionsV2

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 10: MallowAuctionV2.sol
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.4;

import "./Ownable.sol";
import "./ECDSA.sol";
import "./LOVE.sol";
import "./Strings.sol";

contract MallowAuctionsV2 is Ownable{

    event buy(address indexed _wallet, uint256 indexed _auctionId, uint256 indexed _price);
    address signer = 0xeFB45a786C8A9fE6D53DdE0E3A4DB6aF54C73DA7;

    LOVE public loveContract;   

    function setDependencies(address _loveAddress) external onlyOwner{
        loveContract = LOVE(_loveAddress);
    }
  
    function updateSigner(address _newSigner) external onlyOwner{
        signer = _newSigner;
    }
    
    function spendLove(uint256 _auctionId, uint256 _price, bytes calldata _signature) external {
        require(ECDSA.recover(keccak256(abi.encodePacked(_auctionId, msg.sender, _price)), _signature) == signer, "INVALID SIGNATURE");
        loveContract.burn(msg.sender, _price * 1 ether);
        emit buy(msg.sender, _auctionId, _price);
    }
    
    

}

File 2 of 10: Address.sol
// 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);
            }
        }
    }
}

File 3 of 10: Context.sol
// 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;
    }
}

File 4 of 10: ECDSA.sol
// 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));
    }
}

File 5 of 10: ERC20.sol
// 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 {}
}

File 6 of 10: IERC20.sol
// 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);
}

File 7 of 10: IERC20Metadata.sol
// 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);
}

File 8 of 10: LOVE.sol
// 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;
    }
    
}

File 9 of 10: Ownable.sol
// 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);
    }
}

File 10 of 10: Strings.sol
// 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

Contract ABI

[{"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":"_wallet","type":"address"},{"indexed":true,"internalType":"uint256","name":"_auctionId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"buy","type":"event"},{"inputs":[],"name":"loveContract","outputs":[{"internalType":"contract LOVE","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_loveAddress","type":"address"}],"name":"setDependencies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_auctionId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"spendLove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600180546001600160a01b03191673efb45a786c8a9fe6d53dde0e3a4db6af54c73da717905534801561003657600080fd5b5061004033610045565b610095565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61095d806100a46000396000f3fe608060405234801561001057600080fd5b506004361061007c5760003560e01c80638389cb181161005b5780638389cb18146100cd5780638da5cb5b146100e0578063a7ecd37e146100f1578063f2fde38b1461010457600080fd5b806232aa9914610081578063701e79a8146100b0578063715018a6146100c5575b600080fd5b600254610094906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100c36100be3660046107df565b610117565b005b6100c36102b1565b6100c36100db36600461085f565b6102e7565b6000546001600160a01b0316610094565b6100c36100ff36600461085f565b610333565b6100c361011236600461085f565b61037f565b60015460408051602081018790526bffffffffffffffffffffffff193360601b1691810191909152605481018590526001600160a01b03909116906101ab906074016040516020818303038152906040528051906020012084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061041a92505050565b6001600160a01b0316146101fa5760405162461bcd60e51b8152602060048201526011602482015270494e56414c4944205349474e415455524560781b60448201526064015b60405180910390fd5b6002546001600160a01b0316639dc29fac3361021e86670de0b6b3a76400006108a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561026457600080fd5b505af1158015610278573d6000803e3d6000fd5b505060405185925086915033907fa59ac6dd8b1d00e4c8ba9abba262aaac3d4d05e77324205b07a39a002e479b5f90600090a450505050565b6000546001600160a01b031633146102db5760405162461bcd60e51b81526004016101f1906108c4565b6102e5600061043e565b565b6000546001600160a01b031633146103115760405162461bcd60e51b81526004016101f1906108c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461035d5760405162461bcd60e51b81526004016101f1906108c4565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103a95760405162461bcd60e51b81526004016101f1906108c4565b6001600160a01b03811661040e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101f1565b6104178161043e565b50565b6000806000610429858561048e565b91509150610436816104fe565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808251604114156104c55760208301516040840151606085015160001a6104b9878285856106b9565b945094505050506104f7565b8251604014156104ef57602083015160408401516104e48683836107a6565b9350935050506104f7565b506000905060025b9250929050565b6000816004811115610512576105126108f9565b141561051b5750565b600181600481111561052f5761052f6108f9565b141561057d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016101f1565b6002816004811115610591576105916108f9565b14156105df5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016101f1565b60038160048111156105f3576105f36108f9565b141561064c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016101f1565b6004816004811115610660576106606108f9565b14156104175760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016101f1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156106f0575060009050600361079d565b8460ff16601b1415801561070857508460ff16601c14155b15610719575060009050600461079d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561076d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107965760006001925092505061079d565b9150600090505b94509492505050565b6000806001600160ff1b038316816107c360ff86901c601b61090f565b90506107d1878288856106b9565b935093505050935093915050565b600080600080606085870312156107f557600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561081b57600080fd5b818701915087601f83011261082f57600080fd5b81358181111561083e57600080fd5b88602082850101111561085057600080fd5b95989497505060200194505050565b60006020828403121561087157600080fd5b81356001600160a01b038116811461088857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156108bf576108bf61088f565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052602160045260246000fd5b600082198211156109225761092261088f565b50019056fea26469706673582212204769d5d1882a65c92668eb94ca9e8b448acb6295b7e44055cdd7a58382e1e7fb64736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007c5760003560e01c80638389cb181161005b5780638389cb18146100cd5780638da5cb5b146100e0578063a7ecd37e146100f1578063f2fde38b1461010457600080fd5b806232aa9914610081578063701e79a8146100b0578063715018a6146100c5575b600080fd5b600254610094906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100c36100be3660046107df565b610117565b005b6100c36102b1565b6100c36100db36600461085f565b6102e7565b6000546001600160a01b0316610094565b6100c36100ff36600461085f565b610333565b6100c361011236600461085f565b61037f565b60015460408051602081018790526bffffffffffffffffffffffff193360601b1691810191909152605481018590526001600160a01b03909116906101ab906074016040516020818303038152906040528051906020012084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061041a92505050565b6001600160a01b0316146101fa5760405162461bcd60e51b8152602060048201526011602482015270494e56414c4944205349474e415455524560781b60448201526064015b60405180910390fd5b6002546001600160a01b0316639dc29fac3361021e86670de0b6b3a76400006108a5565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561026457600080fd5b505af1158015610278573d6000803e3d6000fd5b505060405185925086915033907fa59ac6dd8b1d00e4c8ba9abba262aaac3d4d05e77324205b07a39a002e479b5f90600090a450505050565b6000546001600160a01b031633146102db5760405162461bcd60e51b81526004016101f1906108c4565b6102e5600061043e565b565b6000546001600160a01b031633146103115760405162461bcd60e51b81526004016101f1906108c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461035d5760405162461bcd60e51b81526004016101f1906108c4565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103a95760405162461bcd60e51b81526004016101f1906108c4565b6001600160a01b03811661040e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101f1565b6104178161043e565b50565b6000806000610429858561048e565b91509150610436816104fe565b509392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000808251604114156104c55760208301516040840151606085015160001a6104b9878285856106b9565b945094505050506104f7565b8251604014156104ef57602083015160408401516104e48683836107a6565b9350935050506104f7565b506000905060025b9250929050565b6000816004811115610512576105126108f9565b141561051b5750565b600181600481111561052f5761052f6108f9565b141561057d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016101f1565b6002816004811115610591576105916108f9565b14156105df5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016101f1565b60038160048111156105f3576105f36108f9565b141561064c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016101f1565b6004816004811115610660576106606108f9565b14156104175760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016101f1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156106f0575060009050600361079d565b8460ff16601b1415801561070857508460ff16601c14155b15610719575060009050600461079d565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561076d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107965760006001925092505061079d565b9150600090505b94509492505050565b6000806001600160ff1b038316816107c360ff86901c601b61090f565b90506107d1878288856106b9565b935093505050935093915050565b600080600080606085870312156107f557600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561081b57600080fd5b818701915087601f83011261082f57600080fd5b81358181111561083e57600080fd5b88602082850101111561085057600080fd5b95989497505060200194505050565b60006020828403121561087157600080fd5b81356001600160a01b038116811461088857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156108bf576108bf61088f565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052602160045260246000fd5b600082198211156109225761092261088f565b50019056fea26469706673582212204769d5d1882a65c92668eb94ca9e8b448acb6295b7e44055cdd7a58382e1e7fb64736f6c634300080a0033

Deployed Bytecode Sourcemap

165:841:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;371:24;;;;;-1:-1:-1;;;;;371:24:7;;;;;;-1:-1:-1;;;;;191:32:10;;;173:51;;161:2;146:18;371:24:7;;;;;;;644:345;;;;;;:::i;:::-;;:::i;:::-;;1660:101:8;;;:::i;407:117:7:-;;;;;;:::i;:::-;;:::i;1028:85:8:-;1074:7;1100:6;-1:-1:-1;;;;;1100:6:8;1028:85;;534:98:7;;;;;;:::i;:::-;;:::i;1910:198:8:-;;;;;;:::i;:::-;;:::i;644:345:7:-;844:6;;778:48;;;;;;1651:19:10;;;-1:-1:-1;;807:10:7;1708:2:10;1704:15;1700:53;1686:12;;;1679:75;;;;1770:12;;;1763:28;;;-1:-1:-1;;;;;844:6:7;;;;754:86;;1807:12:10;;778:48:7;;;;;;;;;;;;768:59;;;;;;829:10;;754:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;754:13:7;;-1:-1:-1;;;754:86:7:i;:::-;-1:-1:-1;;;;;754:96:7;;746:126;;;;-1:-1:-1;;;746:126:7;;2032:2:10;746:126:7;;;2014:21:10;2071:2;2051:18;;;2044:30;-1:-1:-1;;;2090:18:10;;;2083:47;2147:18;;746:126:7;;;;;;;;;883:12;;-1:-1:-1;;;;;883:12:7;:17;901:10;913:16;:6;922:7;913:16;:::i;:::-;883:47;;-1:-1:-1;;;;;;883:47:7;;;;;;;-1:-1:-1;;;;;2673:32:10;;;883:47:7;;;2655:51:10;2722:18;;;2715:34;2628:18;;883:47:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;946:35:7;;974:6;;-1:-1:-1;962:10:7;;-1:-1:-1;950:10:7;;946:35;;;;;644:345;;;;:::o;1660:101:8:-;1074:7;1100:6;-1:-1:-1;;;;;1100:6:8;719:10:1;1240:23:8;1232:68;;;;-1:-1:-1;;;1232:68:8;;;;;;;:::i;:::-;1724:30:::1;1751:1;1724:18;:30::i;:::-;1660:101::o:0;407:117:7:-;1074:7:8;1100:6;-1:-1:-1;;;;;1100:6:8;719:10:1;1240:23:8;1232:68;;;;-1:-1:-1;;;1232:68:8;;;;;;;:::i;:::-;483:12:7::1;:33:::0;;-1:-1:-1;;;;;;483:33:7::1;-1:-1:-1::0;;;;;483:33:7;;;::::1;::::0;;;::::1;::::0;;407:117::o;534:98::-;1074:7:8;1100:6;-1:-1:-1;;;;;1100:6:8;719:10:1;1240:23:8;1232:68;;;;-1:-1:-1;;;1232:68:8;;;;;;;:::i;:::-;605:6:7::1;:19:::0;;-1:-1:-1;;;;;;605:19:7::1;-1:-1:-1::0;;;;;605:19:7;;;::::1;::::0;;;::::1;::::0;;534:98::o;1910:198:8:-;1074:7;1100:6;-1:-1:-1;;;;;1100:6:8;719:10:1;1240:23:8;1232:68;;;;-1:-1:-1;;;1232:68:8;;;;;;;:::i;:::-;-1:-1:-1;;;;;1998:22:8;::::1;1990:73;;;::::0;-1:-1:-1;;;1990:73:8;;3323:2:10;1990:73:8::1;::::0;::::1;3305:21:10::0;3362:2;3342:18;;;3335:30;3401:34;3381:18;;;3374:62;-1:-1:-1;;;3452:18:10;;;3445:36;3498:19;;1990:73:8::1;3121:402:10::0;1990:73:8::1;2073:28;2092:8;2073:18;:28::i;:::-;1910:198:::0;:::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;2262:187:8:-;2335:16;2354:6;;-1:-1:-1;;;;;2370:17:8;;;-1:-1:-1;;;;;;2370:17:8;;;;;;2402:40;;2354:6;;;;;;;2402:40;;2335:16;2402:40;2325:124;2262:187;:::o;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;;3862:2:10;791:34:2;;;3844:21:10;3901:2;3881:18;;;3874:30;3940:26;3920:18;;;3913:54;3984:18;;791:34:2;3660:348:10;732:473:2;856:35;847:5;:44;;;;;;;;:::i;:::-;;843:362;;;908:41;;-1:-1:-1;;;908:41:2;;4215:2:10;908:41:2;;;4197:21:10;4254:2;4234:18;;;4227:30;4293:33;4273:18;;;4266:61;4344:18;;908:41:2;4013:355:10;843:362:2;980:30;971:5;:39;;;;;;;;:::i;:::-;;967:238;;;1027:44;;-1:-1:-1;;;1027:44:2;;4575:2:10;1027:44:2;;;4557:21:10;4614:2;4594:18;;;4587:30;4653:34;4633:18;;;4626:62;-1:-1:-1;;;4704:18:10;;;4697:32;4746:19;;1027:44:2;4373:398:10;967:238:2;1102:30;1093:5;:39;;;;;;;;:::i;:::-;;1089:116;;;1149:44;;-1:-1:-1;;;1149:44:2;;4978:2:10;1149:44:2;;;4960:21:10;5017:2;4997:18;;;4990:30;5056:34;5036:18;;;5029:62;-1:-1:-1;;;5107:18:10;;;5100:32;5149:19;;1149:44:2;4776:398:10;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;;;;;;;;;5406:25:10;;;5479:4;5467:17;;5447:18;;;5440:45;;;;5501:18;;;5494:34;;;5544:18;;;5537:34;;;7297:24:2;;5378:19:10;;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;235:727:10:-;323:6;331;339;347;400:2;388:9;379:7;375:23;371:32;368:52;;;416:1;413;406:12;368:52;452:9;439:23;429:33;;509:2;498:9;494:18;481:32;471:42;;564:2;553:9;549:18;536:32;587:18;628:2;620:6;617:14;614:34;;;644:1;641;634:12;614:34;682:6;671:9;667:22;657:32;;727:7;720:4;716:2;712:13;708:27;698:55;;749:1;746;739:12;698:55;789:2;776:16;815:2;807:6;804:14;801:34;;;831:1;828;821:12;801:34;876:7;871:2;862:6;858:2;854:15;850:24;847:37;844:57;;;897:1;894;887:12;844:57;235:727;;;;-1:-1:-1;;928:2:10;920:11;;-1:-1:-1;;;235:727:10:o;967:286::-;1026:6;1079:2;1067:9;1058:7;1054:23;1050:32;1047:52;;;1095:1;1092;1085:12;1047:52;1121:23;;-1:-1:-1;;;;;1173:31:10;;1163:42;;1153:70;;1219:1;1216;1209:12;1153:70;1242:5;967:286;-1:-1:-1;;;967:286:10:o;2176:127::-;2237:10;2232:3;2228:20;2225:1;2218:31;2268:4;2265:1;2258:15;2292:4;2289:1;2282:15;2308:168;2348:7;2414:1;2410;2406:6;2402:14;2399:1;2396:21;2391:1;2384:9;2377:17;2373:45;2370:71;;;2421:18;;:::i;:::-;-1:-1:-1;2461:9:10;;2308:168::o;2760:356::-;2962:2;2944:21;;;2981:18;;;2974:30;3040:34;3035:2;3020:18;;3013:62;3107:2;3092:18;;2760:356::o;3528:127::-;3589:10;3584:3;3580:20;3577:1;3570:31;3620:4;3617:1;3610:15;3644:4;3641:1;3634:15;5582:128;5622:3;5653:1;5649:6;5646:1;5643:13;5640:39;;;5659:18;;:::i;:::-;-1:-1:-1;5695:9:10;;5582:128::o

Swarm Source

ipfs://4769d5d1882a65c92668eb94ca9e8b448acb6295b7e44055cdd7a58382e1e7fb

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.