ETH Price: $3,102.95 (-3.30%)
Gas: 7 Gwei

Contract

0x1A0a589f19544cCE54EC381D30180A24300F41CF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer167388202023-03-02 5:30:23490 days ago1677735023IN
0x1A0a589f...4300F41CF
0 ETH0.0004667222.22505807
Transfer153855672022-08-21 18:36:11683 days ago1661106971IN
0x1A0a589f...4300F41CF
0 ETH0.000165527.8821081
Set Current Tier153807662022-08-21 0:19:38684 days ago1661041178IN
0x1A0a589f...4300F41CF
0 ETH0.000047662.01
Public Mint153320482022-08-13 7:15:25691 days ago1660374925IN
0x1A0a589f...4300F41CF
0 ETH0.000117435
Public Mint153158142022-08-10 17:57:58694 days ago1660154278IN
0x1A0a589f...4300F41CF
0 ETH0.0010274843.74863107
Public Mint153157272022-08-10 17:39:08694 days ago1660153148IN
0x1A0a589f...4300F41CF
0 ETH0.0012024851.19993498
Mint153155282022-08-10 16:55:23694 days ago1660150523IN
0x1A0a589f...4300F41CF
0 ETH0.00330312120
Public Mint153154662022-08-10 16:42:35694 days ago1660149755IN
0x1A0a589f...4300F41CF
0 ETH0.0035229150
Public Mint153154612022-08-10 16:41:41694 days ago1660149701IN
0x1A0a589f...4300F41CF
0 ETH0.0035229150
Public Mint153154462022-08-10 16:37:58694 days ago1660149478IN
0x1A0a589f...4300F41CF
0 ETH0.00308433131.32672176
Public Mint153154132022-08-10 16:30:54694 days ago1660149054IN
0x1A0a589f...4300F41CF
0 ETH0.0016440270
Public Mint153154132022-08-10 16:30:54694 days ago1660149054IN
0x1A0a589f...4300F41CF
0 ETH0.0016440270
Public Mint153154132022-08-10 16:30:54694 days ago1660149054IN
0x1A0a589f...4300F41CF
0 ETH0.0016440270
Public Mint153154132022-08-10 16:30:54694 days ago1660149054IN
0x1A0a589f...4300F41CF
0 ETH0.0016440270
Public Mint153154132022-08-10 16:30:54694 days ago1660149054IN
0x1A0a589f...4300F41CF
0 ETH0.0016440270
Public Mint153154082022-08-10 16:30:14694 days ago1660149014IN
0x1A0a589f...4300F41CF
0 ETH0.0020015485.22287856
Public Mint153154062022-08-10 16:29:41694 days ago1660148981IN
0x1A0a589f...4300F41CF
0 ETH0.0018537678.93081244
Public Mint153154062022-08-10 16:29:41694 days ago1660148981IN
0x1A0a589f...4300F41CF
0 ETH0.0018537678.93081244
Public Mint153154062022-08-10 16:29:41694 days ago1660148981IN
0x1A0a589f...4300F41CF
0 ETH0.0018537678.93081244
Public Mint153154062022-08-10 16:29:41694 days ago1660148981IN
0x1A0a589f...4300F41CF
0 ETH0.0018537678.93081244
Spawn153153982022-08-10 16:28:18694 days ago1660148898IN
0x1A0a589f...4300F41CF
0 ETH0.0021488100
Spawn153153982022-08-10 16:28:18694 days ago1660148898IN
0x1A0a589f...4300F41CF
0 ETH0.0021488100
Public Mint153153962022-08-10 16:28:12694 days ago1660148892IN
0x1A0a589f...4300F41CF
0 ETH0.00260694111
Public Mint153153932022-08-10 16:28:00694 days ago1660148880IN
0x1A0a589f...4300F41CF
0 ETH0.0035229150
Public Mint153153932022-08-10 16:28:00694 days ago1660148880IN
0x1A0a589f...4300F41CF
0 ETH0.0035229150
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:
$8liensSpawner

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 7 : 8liensSpawner.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {SignedAllowance} from "@0xdievardump/signed-allowances/contracts/SignedAllowance.sol";
import {OriginValidator} from "./utils/OriginValidator.sol";

/// @title 8liensSpawner
/// @author 8liens (https://twitter.com/8liensNFT)
/// @author Developer: dievardump (https://twitter.com/dievardump, [email protected])
contract $8liensSpawner is Ownable, OriginValidator, SignedAllowance {
    error AlreadyMinted();
    error TooEarly();
    error AlreadyMintedAllowance();

    string public constant name = "8liens Spawner";

    address public $8liensContract;

    uint256 public currentTier;

    /// @notice if an account has already minted during public mint
    mapping(address => bool) public hasPublicMinted;

    constructor(address signer_) {
        _setAllowancesSigner(signer_);
    }

    /////////////////////////////////////////////////////////
    // Getters                                             //
    /////////////////////////////////////////////////////////

    /// @notice easy getter for number minted
    /// @param account the account to check for
    /// @return the amount the account minted
    function numberMinted(address account) public view returns (uint256) {
        return I8liens($8liensContract).numberMinted(account);
    }

    /////////////////////////////////////////////////////////
    // Public                                              //
    /////////////////////////////////////////////////////////

    /// @notice Mint with allowance
    /// @param nonce the nonce to be signed (it's also the allocation for this address)
    /// @param signature of the validator
    function mint(uint256 nonce, bytes calldata signature) external {
        mintTo(msg.sender, nonce, nonce, signature);
    }

    /// @notice Mint `amount` to `to` with allowance check
    /// @param to address to mint to
    /// @param amount the amount to mint
    /// @param nonce the nonce to be signed
    /// @param signature of the validator
    function mintTo(
        address to,
        uint256 amount,
        uint256 nonce,
        bytes calldata signature
    ) public {
        if (currentTier < 1) {
            revert TooEarly();
        }

        validateSignature(to, nonce, signature);

        uint256 alreadyMinted = numberMinted(to);
        if ((alreadyMinted + amount) > nonce) {
            revert AlreadyMintedAllowance();
        }

        I8liens($8liensContract).mintTo(to, amount);
    }

    /// @notice Public Mint
    function publicMint() external validateOrigin {
        if (currentTier < 2) {
            revert TooEarly();
        }

        if (hasPublicMinted[msg.sender]) {
            revert AlreadyMinted();
        }

        hasPublicMinted[msg.sender] = true;
        return I8liens($8liensContract).mintTo(msg.sender, 1);
    }

    /////////////////////////////////////////////////////////
    // Gated Owner                                         //
    /////////////////////////////////////////////////////////

    /// @notice allows owner to mint `amount` items to `to`
    /// @param to the address to mint to
    /// @param amount the amount to mint
    function teamMint(address to, uint256 amount) external onlyOwner {
        return I8liens($8liensContract).mintTo(to, amount);
    }

    /// @notice allows owner to set the 8lien contract
    /// @param new8liensContract the new 8liens contract address
    function set8liens(address new8liensContract) external onlyOwner {
        $8liensContract = new8liensContract;
    }

    /// @notice allows owner to set the signer for allowances
    /// @param newSigner the new signer address
    function setAllowancesSigner(address newSigner) external onlyOwner {
        _setAllowancesSigner(newSigner);
    }

    /// @notice allows owner to set the current tier for mints (0 = no mint; 1 = allow list; 2 = public)
    /// @param newTier the new tier
    function setCurrentTier(uint256 newTier) external onlyOwner {
        currentTier = newTier;
    }
}

interface I8liens {
    function mintTo(address to, uint256 amount) external;

    function numberMinted(address account) external view returns (uint256);
}

File 2 of 7 : SignedAllowance.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';

/// @title SignedAllowance
/// @author Simon Fremaux (@dievardump)
contract SignedAllowance {
    using ECDSA for bytes32;

    // list of already used allowances
    mapping(bytes32 => bool) public usedAllowances;

    // address used to sign the allowances
    address private _allowancesSigner;

    /// @notice Helper to know allowancesSigner address
    /// @return the allowance signer address
    function allowancesSigner() public view virtual returns (address) {
        return _allowancesSigner;
    }

    /// @notice Helper that creates the message that signer needs to sign to allow a mint
    ///         this is usually also used when creating the allowances, to ensure "message"
    ///         is the same
    /// @param account the account to allow
    /// @param nonce the nonce
    /// @return the message to sign
    function createMessage(address account, uint256 nonce)
        public
        view
        returns (bytes32)
    {
        return keccak256(abi.encode(account, nonce, address(this)));
    }

    /// @notice Helper that creates a list of messages that signer needs to sign to allow mintings
    /// @param accounts the accounts to allow
    /// @param nonces the corresponding nonces
    /// @return messages the messages to sign
    function createMessages(address[] memory accounts, uint256[] memory nonces)
        external
        view
        returns (bytes32[] memory messages)
    {
        require(accounts.length == nonces.length, '!LENGTH_MISMATCH!');
        messages = new bytes32[](accounts.length);
        for (uint256 i; i < accounts.length; i++) {
            messages[i] = createMessage(accounts[i], nonces[i]);
        }
    }

    /// @notice This function verifies that the current request is valid
    /// @dev It ensures that _allowancesSigner signed a message containing (account, nonce, address(this))
    ///      and that this message was not already used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce associated to this allowance
    /// @param signature the signature by the allowance signer wallet
    /// @return the message to mark as used
    function validateSignature(
        address account,
        uint256 nonce,
        bytes memory signature
    ) public view returns (bytes32) {
        return
            _validateSignature(account, nonce, signature, allowancesSigner());
    }

    /// @dev It ensures that signer signed a message containing (account, nonce, address(this))
    ///      and that this message was not already used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce associated to this allowance
    /// @param signature the signature by the allowance signer wallet
    /// @param signer the signer
    /// @return the message to mark as used
    function _validateSignature(
        address account,
        uint256 nonce,
        bytes memory signature,
        address signer
    ) internal view returns (bytes32) {
        bytes32 message = createMessage(account, nonce)
            .toEthSignedMessageHash();

        // verifies that the sha3(account, nonce, address(this)) has been signed by signer
        require(message.recover(signature) == signer, '!INVALID_SIGNATURE!');

        // verifies that the allowances was not already used
        require(usedAllowances[message] == false, '!ALREADY_USED!');

        return message;
    }

    /// @notice internal function that verifies an allowance and marks it as used
    ///         this function throws if signature is wrong or this nonce for this user has already been used
    /// @param account the account the allowance is associated to
    /// @param nonce the nonce
    /// @param signature the signature by the allowance wallet
    function _useAllowance(
        address account,
        uint256 nonce,
        bytes memory signature
    ) internal {
        bytes32 message = validateSignature(account, nonce, signature);
        usedAllowances[message] = true;
    }

    /// @notice Allows to change the allowance signer. This can be used to revoke any signed allowance not already used
    /// @param newSigner the new signer address
    function _setAllowancesSigner(address newSigner) internal {
        _allowancesSigner = newSigner;
    }
}

File 3 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 7 : 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 5 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 6 of 7 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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.
            /// @solidity memory-safe-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.
            /// @solidity memory-safe-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 7 of 7 : OriginValidator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

/// @title OriginValidator
/// @author Developer: dievardump (https://twitter.com/dievardump, [email protected])
contract OriginValidator {
    error OneMintCallPerBlockForContracts();

    /// @notice last tx.origin mint block when using contracts
    mapping(address => uint256) private _contractLastBlockMinted;

    // this modifier helps to protect against people using contracts to mint
    // a big amount of NFTs in one call
    // for people minting through contracts (custom or even Gnosis-Safe)
    // we impose a limit on tx.origin of one call per block
    // ensuring a loop can not be used, but still allowing contract minting.
    // This allows Gnosis & other contracts wallets users to still be able to mint
    // This is not the perfect solution, but it's a "not perfect but I'll take it" compromise
    modifier validateOrigin() {
        if (tx.origin != msg.sender) {
            if (block.number == _contractLastBlockMinted[tx.origin]) {
                revert OneMintCallPerBlockForContracts();
            }
            _contractLastBlockMinted[tx.origin] = block.number;
        }
        _;
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signer_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"AlreadyMintedAllowance","type":"error"},{"inputs":[],"name":"OneMintCallPerBlockForContracts","type":"error"},{"inputs":[],"name":"TooEarly","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"$8liensContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowancesSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"createMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"nonces","type":"uint256[]"}],"name":"createMessages","outputs":[{"internalType":"bytes32[]","name":"messages","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasPublicMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":[],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new8liensContract","type":"address"}],"name":"set8liens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setAllowancesSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTier","type":"uint256"}],"name":"setCurrentTier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedAllowances","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"validateSignature","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516113e93803806113e983398101604081905261002f916100a9565b61003833610059565b600380546001600160a01b0319166001600160a01b038316179055506100d9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bb57600080fd5b81516001600160a01b03811681146100d257600080fd5b9392505050565b611301806100e86000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80638be61d50116100ad578063db7fd40811610071578063db7fd408146102bb578063dc33e681146102ce578063e419cae3146102e1578063f2fde38b146102f4578063feff19991461030757600080fd5b80638be61d50146102585780638da5cb5b1461027b578063add5a4fa1461028c578063bf1431741461029f578063d679677a146102b257600080fd5b80635276837c116100f45780635276837c146101d75780636c4a412c146101ea578063715018a61461020a5780638838b5c314610212578063890621da1461023757600080fd5b806306fdde0314610131578063195e8708146101745780632073447d146101a757806326092b83146101bc578063280f4e28146101c4575b600080fd5b61015e6040518060400160405280600e81526020016d1c3634b2b7399029b830bbb732b960911b81525081565b60405161016b9190610de8565b60405180910390f35b610197610182366004610e3d565b60026020526000908152604090205460ff1681565b604051901515815260200161016b565b6101ba6101b5366004610e72565b61031a565b005b6101ba610343565b6101ba6101d2366004610ed6565b610465565b6101ba6101e5366004610e3d565b610572565b6101fd6101f8366004611014565b61057f565b60405161016b91906110d4565b6101ba61068f565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016b565b61024a610245366004611118565b6106a1565b60405190815260200161016b565b610197610266366004610e72565b60066020526000908152604090205460ff1681565b6000546001600160a01b031661021f565b6101ba61029a3660046111c7565b6106c8565b6101ba6102ad366004610e72565b61073c565b61024a60055481565b6101ba6102c93660046111f1565b610766565b61024a6102dc366004610e72565b610778565b60045461021f906001600160a01b031681565b6101ba610302366004610e72565b6107f2565b61024a6103153660046111c7565b610868565b6103226108ab565b600380546001600160a01b0319166001600160a01b03831617905550565b50565b32331461038d573260009081526001602052604090205443141561037a5760405163131bdfd960e01b815260040160405180910390fd5b3260009081526001602052604090204390555b600260055410156103b15760405163085de62560e01b815260040160405180910390fd5b3360009081526006602052604090205460ff16156103e257604051631bbdf5c560e31b815260040160405180910390fd5b3360008181526006602052604090819020805460ff191660019081179091556004805492516308934a5f60e31b81529081019390935260248301526001600160a01b03169063449a52f890604401600060405180830381600087803b15801561044a57600080fd5b505af115801561045e573d6000803e3d6000fd5b505050505b565b600160055410156104895760405163085de62560e01b815260040160405180910390fd5b6104ca858484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106a192505050565b5060006104d686610778565b9050836104e38683611253565b11156105025760405163f5d0b57d60e01b815260040160405180910390fd5b600480546040516308934a5f60e31b81526001600160a01b03898116938201939093526024810188905291169063449a52f890604401600060405180830381600087803b15801561055257600080fd5b505af1158015610566573d6000803e3d6000fd5b50505050505050505050565b61057a6108ab565b600555565b606081518351146105cb5760405162461bcd60e51b8152602060048201526011602482015270214c454e4754485f4d49534d415443482160781b60448201526064015b60405180910390fd5b825167ffffffffffffffff8111156105e5576105e5610f3e565b60405190808252806020026020018201604052801561060e578160200160208202803683370190505b50905060005b8351811015610688576106598482815181106106325761063261126b565b602002602001015184838151811061064c5761064c61126b565b6020026020010151610868565b82828151811061066b5761066b61126b565b60209081029190910101528061068081611281565b915050610614565b5092915050565b6106976108ab565b6104636000610905565b60006106c08484846106bb6003546001600160a01b031690565b610955565b949350505050565b6106d06108ab565b600480546040516308934a5f60e31b81526001600160a01b03858116938201939093526024810184905291169063449a52f890604401600060405180830381600087803b15801561072057600080fd5b505af1158015610734573d6000803e3d6000fd5b505050505050565b6107446108ab565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6107733384858585610465565b505050565b6004805460405163dc33e68160e01b81526001600160a01b03848116938201939093526000929091169063dc33e68190602401602060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ec919061129c565b92915050565b6107fa6108ab565b6001600160a01b03811661085f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c2565b61034081610905565b604080516001600160a01b038416602082015290810182905230606082015260009060800160405160208183030381529060405280519060200120905092915050565b6000546001600160a01b031633146104635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806109b86109658787610868565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90506001600160a01b0383166109ce8286610a73565b6001600160a01b031614610a1a5760405162461bcd60e51b815260206004820152601360248201527221494e56414c49445f5349474e41545552452160681b60448201526064016105c2565b60008181526002602052604090205460ff1615610a6a5760405162461bcd60e51b815260206004820152600e60248201526d21414c52454144595f555345442160901b60448201526064016105c2565b95945050505050565b6000806000610a828585610a97565b91509150610a8f81610b07565b509392505050565b600080825160411415610ace5760208301516040840151606085015160001a610ac287828585610cc2565b94509450505050610b00565b825160401415610af85760208301516040840151610aed868383610daf565b935093505050610b00565b506000905060025b9250929050565b6000816004811115610b1b57610b1b6112b5565b1415610b245750565b6001816004811115610b3857610b386112b5565b1415610b865760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105c2565b6002816004811115610b9a57610b9a6112b5565b1415610be85760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105c2565b6003816004811115610bfc57610bfc6112b5565b1415610c555760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105c2565b6004816004811115610c6957610c696112b5565b14156103405760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105c2565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610cf95750600090506003610da6565b8460ff16601b14158015610d1157508460ff16601c14155b15610d225750600090506004610da6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610d76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d9f57600060019250925050610da6565b9150600090505b94509492505050565b6000806001600160ff1b03831681610dcc60ff86901c601b611253565b9050610dda87828885610cc2565b935093505050935093915050565b600060208083528351808285015260005b81811015610e1557858101830151858201604001528201610df9565b81811115610e27576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215610e4f57600080fd5b5035919050565b80356001600160a01b0381168114610e6d57600080fd5b919050565b600060208284031215610e8457600080fd5b610e8d82610e56565b9392505050565b60008083601f840112610ea657600080fd5b50813567ffffffffffffffff811115610ebe57600080fd5b602083019150836020828501011115610b0057600080fd5b600080600080600060808688031215610eee57600080fd5b610ef786610e56565b94506020860135935060408601359250606086013567ffffffffffffffff811115610f2157600080fd5b610f2d88828901610e94565b969995985093965092949392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610f7d57610f7d610f3e565b604052919050565b600067ffffffffffffffff821115610f9f57610f9f610f3e565b5060051b60200190565b600082601f830112610fba57600080fd5b81356020610fcf610fca83610f85565b610f54565b82815260059290921b84018101918181019086841115610fee57600080fd5b8286015b848110156110095780358352918301918301610ff2565b509695505050505050565b6000806040838503121561102757600080fd5b823567ffffffffffffffff8082111561103f57600080fd5b818501915085601f83011261105357600080fd5b81356020611063610fca83610f85565b82815260059290921b8401810191818101908984111561108257600080fd5b948201945b838610156110a75761109886610e56565b82529482019490820190611087565b965050860135925050808211156110bd57600080fd5b506110ca85828601610fa9565b9150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561110c578351835292840192918401916001016110f0565b50909695505050505050565b60008060006060848603121561112d57600080fd5b61113684610e56565b92506020808501359250604085013567ffffffffffffffff8082111561115b57600080fd5b818701915087601f83011261116f57600080fd5b81358181111561118157611181610f3e565b611193601f8201601f19168501610f54565b915080825288848285010111156111a957600080fd5b80848401858401376000848284010152508093505050509250925092565b600080604083850312156111da57600080fd5b6111e383610e56565b946020939093013593505050565b60008060006040848603121561120657600080fd5b83359250602084013567ffffffffffffffff81111561122457600080fd5b61123086828701610e94565b9497909650939450505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156112665761126661123d565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156112955761129561123d565b5060010190565b6000602082840312156112ae57600080fd5b5051919050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220bd5ffceb5499a53bd4be91a766801475b8bba040d52c375d900d3faddd659ac564736f6c634300080c0033000000000000000000000000f6d5c938644455005a00f5fb96a8863bc70afed5

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80638be61d50116100ad578063db7fd40811610071578063db7fd408146102bb578063dc33e681146102ce578063e419cae3146102e1578063f2fde38b146102f4578063feff19991461030757600080fd5b80638be61d50146102585780638da5cb5b1461027b578063add5a4fa1461028c578063bf1431741461029f578063d679677a146102b257600080fd5b80635276837c116100f45780635276837c146101d75780636c4a412c146101ea578063715018a61461020a5780638838b5c314610212578063890621da1461023757600080fd5b806306fdde0314610131578063195e8708146101745780632073447d146101a757806326092b83146101bc578063280f4e28146101c4575b600080fd5b61015e6040518060400160405280600e81526020016d1c3634b2b7399029b830bbb732b960911b81525081565b60405161016b9190610de8565b60405180910390f35b610197610182366004610e3d565b60026020526000908152604090205460ff1681565b604051901515815260200161016b565b6101ba6101b5366004610e72565b61031a565b005b6101ba610343565b6101ba6101d2366004610ed6565b610465565b6101ba6101e5366004610e3d565b610572565b6101fd6101f8366004611014565b61057f565b60405161016b91906110d4565b6101ba61068f565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161016b565b61024a610245366004611118565b6106a1565b60405190815260200161016b565b610197610266366004610e72565b60066020526000908152604090205460ff1681565b6000546001600160a01b031661021f565b6101ba61029a3660046111c7565b6106c8565b6101ba6102ad366004610e72565b61073c565b61024a60055481565b6101ba6102c93660046111f1565b610766565b61024a6102dc366004610e72565b610778565b60045461021f906001600160a01b031681565b6101ba610302366004610e72565b6107f2565b61024a6103153660046111c7565b610868565b6103226108ab565b600380546001600160a01b0319166001600160a01b03831617905550565b50565b32331461038d573260009081526001602052604090205443141561037a5760405163131bdfd960e01b815260040160405180910390fd5b3260009081526001602052604090204390555b600260055410156103b15760405163085de62560e01b815260040160405180910390fd5b3360009081526006602052604090205460ff16156103e257604051631bbdf5c560e31b815260040160405180910390fd5b3360008181526006602052604090819020805460ff191660019081179091556004805492516308934a5f60e31b81529081019390935260248301526001600160a01b03169063449a52f890604401600060405180830381600087803b15801561044a57600080fd5b505af115801561045e573d6000803e3d6000fd5b505050505b565b600160055410156104895760405163085de62560e01b815260040160405180910390fd5b6104ca858484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506106a192505050565b5060006104d686610778565b9050836104e38683611253565b11156105025760405163f5d0b57d60e01b815260040160405180910390fd5b600480546040516308934a5f60e31b81526001600160a01b03898116938201939093526024810188905291169063449a52f890604401600060405180830381600087803b15801561055257600080fd5b505af1158015610566573d6000803e3d6000fd5b50505050505050505050565b61057a6108ab565b600555565b606081518351146105cb5760405162461bcd60e51b8152602060048201526011602482015270214c454e4754485f4d49534d415443482160781b60448201526064015b60405180910390fd5b825167ffffffffffffffff8111156105e5576105e5610f3e565b60405190808252806020026020018201604052801561060e578160200160208202803683370190505b50905060005b8351811015610688576106598482815181106106325761063261126b565b602002602001015184838151811061064c5761064c61126b565b6020026020010151610868565b82828151811061066b5761066b61126b565b60209081029190910101528061068081611281565b915050610614565b5092915050565b6106976108ab565b6104636000610905565b60006106c08484846106bb6003546001600160a01b031690565b610955565b949350505050565b6106d06108ab565b600480546040516308934a5f60e31b81526001600160a01b03858116938201939093526024810184905291169063449a52f890604401600060405180830381600087803b15801561072057600080fd5b505af1158015610734573d6000803e3d6000fd5b505050505050565b6107446108ab565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6107733384858585610465565b505050565b6004805460405163dc33e68160e01b81526001600160a01b03848116938201939093526000929091169063dc33e68190602401602060405180830381865afa1580156107c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ec919061129c565b92915050565b6107fa6108ab565b6001600160a01b03811661085f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c2565b61034081610905565b604080516001600160a01b038416602082015290810182905230606082015260009060800160405160208183030381529060405280519060200120905092915050565b6000546001600160a01b031633146104635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806109b86109658787610868565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90506001600160a01b0383166109ce8286610a73565b6001600160a01b031614610a1a5760405162461bcd60e51b815260206004820152601360248201527221494e56414c49445f5349474e41545552452160681b60448201526064016105c2565b60008181526002602052604090205460ff1615610a6a5760405162461bcd60e51b815260206004820152600e60248201526d21414c52454144595f555345442160901b60448201526064016105c2565b95945050505050565b6000806000610a828585610a97565b91509150610a8f81610b07565b509392505050565b600080825160411415610ace5760208301516040840151606085015160001a610ac287828585610cc2565b94509450505050610b00565b825160401415610af85760208301516040840151610aed868383610daf565b935093505050610b00565b506000905060025b9250929050565b6000816004811115610b1b57610b1b6112b5565b1415610b245750565b6001816004811115610b3857610b386112b5565b1415610b865760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105c2565b6002816004811115610b9a57610b9a6112b5565b1415610be85760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105c2565b6003816004811115610bfc57610bfc6112b5565b1415610c555760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105c2565b6004816004811115610c6957610c696112b5565b14156103405760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105c2565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610cf95750600090506003610da6565b8460ff16601b14158015610d1157508460ff16601c14155b15610d225750600090506004610da6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610d76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610d9f57600060019250925050610da6565b9150600090505b94509492505050565b6000806001600160ff1b03831681610dcc60ff86901c601b611253565b9050610dda87828885610cc2565b935093505050935093915050565b600060208083528351808285015260005b81811015610e1557858101830151858201604001528201610df9565b81811115610e27576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215610e4f57600080fd5b5035919050565b80356001600160a01b0381168114610e6d57600080fd5b919050565b600060208284031215610e8457600080fd5b610e8d82610e56565b9392505050565b60008083601f840112610ea657600080fd5b50813567ffffffffffffffff811115610ebe57600080fd5b602083019150836020828501011115610b0057600080fd5b600080600080600060808688031215610eee57600080fd5b610ef786610e56565b94506020860135935060408601359250606086013567ffffffffffffffff811115610f2157600080fd5b610f2d88828901610e94565b969995985093965092949392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610f7d57610f7d610f3e565b604052919050565b600067ffffffffffffffff821115610f9f57610f9f610f3e565b5060051b60200190565b600082601f830112610fba57600080fd5b81356020610fcf610fca83610f85565b610f54565b82815260059290921b84018101918181019086841115610fee57600080fd5b8286015b848110156110095780358352918301918301610ff2565b509695505050505050565b6000806040838503121561102757600080fd5b823567ffffffffffffffff8082111561103f57600080fd5b818501915085601f83011261105357600080fd5b81356020611063610fca83610f85565b82815260059290921b8401810191818101908984111561108257600080fd5b948201945b838610156110a75761109886610e56565b82529482019490820190611087565b965050860135925050808211156110bd57600080fd5b506110ca85828601610fa9565b9150509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561110c578351835292840192918401916001016110f0565b50909695505050505050565b60008060006060848603121561112d57600080fd5b61113684610e56565b92506020808501359250604085013567ffffffffffffffff8082111561115b57600080fd5b818701915087601f83011261116f57600080fd5b81358181111561118157611181610f3e565b611193601f8201601f19168501610f54565b915080825288848285010111156111a957600080fd5b80848401858401376000848284010152508093505050509250925092565b600080604083850312156111da57600080fd5b6111e383610e56565b946020939093013593505050565b60008060006040848603121561120657600080fd5b83359250602084013567ffffffffffffffff81111561122457600080fd5b61123086828701610e94565b9497909650939450505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156112665761126661123d565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156112955761129561123d565b5060010190565b6000602082840312156112ae57600080fd5b5051919050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220bd5ffceb5499a53bd4be91a766801475b8bba040d52c375d900d3faddd659ac564736f6c634300080c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f6d5c938644455005a00f5fb96a8863bc70afed5

-----Decoded View---------------
Arg [0] : signer_ (address): 0xF6d5c938644455005A00f5fb96a8863Bc70afED5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f6d5c938644455005a00f5fb96a8863bc70afed5


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.