ETH Price: $2,023.76 (-1.27%)

Contract

0x752A042A153CCFf96de52cAaBbF7AE3BD620d9fF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim168018462023-03-11 2:22:111096 days ago1678501331IN
LobsterDAO: Minter
0 ETH0.020866299.66947178
Claim165907252023-02-09 10:53:231126 days ago1675940003IN
LobsterDAO: Minter
0 ETH0.0047471822.68018031
Claim165465172023-02-03 6:38:351132 days ago1675406315IN
LobsterDAO: Minter
0 ETH0.0067869832.42213199
Claim163999432023-01-13 19:24:471152 days ago1673637887IN
LobsterDAO: Minter
0 ETH0.0068529433
Claim159202272022-11-07 19:26:351219 days ago1667849195IN
LobsterDAO: Minter
0 ETH0.0142243825.68158363
Claim157918632022-10-20 21:01:351237 days ago1666299695IN
LobsterDAO: Minter
0 ETH0.0011690530.90947424
Claim157918622022-10-20 21:01:231237 days ago1666299683IN
LobsterDAO: Minter
0 ETH0.0011711330.96446884
Claim157918612022-10-20 21:01:111237 days ago1666299671IN
LobsterDAO: Minter
0 ETH0.0063339630.49764698
Claim154989602022-09-08 21:34:511279 days ago1662672891IN
LobsterDAO: Minter
0 ETH0.006483320
Claim149849072022-06-18 12:16:451362 days ago1655554605IN
LobsterDAO: Minter
0 ETH0.0035591517
Claim147131972022-05-04 21:07:411406 days ago1651698461IN
LobsterDAO: Minter
0 ETH0.0083421239.85306335
Claim146045682022-04-17 19:13:361423 days ago1650222816IN
LobsterDAO: Minter
0 ETH0.0085385426.47380568
Claim145962662022-04-16 12:12:081425 days ago1650111128IN
LobsterDAO: Minter
0 ETH0.0052969318.26624529
Claim144761722022-03-28 18:08:201443 days ago1648490900IN
LobsterDAO: Minter
0 ETH0.0167095279.81469872
Claim143341052022-03-06 15:18:341465 days ago1646579914IN
LobsterDAO: Minter
0 ETH0.0266405934
Claim143338022022-03-06 14:11:501465 days ago1646575910IN
LobsterDAO: Minter
0 ETH0.031359131
Claim140758852022-01-25 16:39:481505 days ago1643128788IN
LobsterDAO: Minter
0 ETH0.0227873108.85828323
Claim140626192022-01-23 15:10:441507 days ago1642950644IN
LobsterDAO: Minter
0 ETH0.0187865190.47070436
Claim139450702022-01-05 11:04:411526 days ago1641380681IN
LobsterDAO: Minter
0 ETH0.00429822109.02840849
Claim139206882022-01-01 16:45:161529 days ago1641055516IN
LobsterDAO: Minter
0 ETH0.0160694277.37252985
Claim138742122021-12-25 12:01:081537 days ago1640433668IN
LobsterDAO: Minter
0 ETH0.0021845155.29445513
Claim138742072021-12-25 11:59:431537 days ago1640433583IN
LobsterDAO: Minter
0 ETH0.0142992968.29611699
Claim138247682021-12-17 20:30:461544 days ago1639773046IN
LobsterDAO: Minter
0 ETH0.0100546848.41550115
Claim138237372021-12-17 16:40:181544 days ago1639759218IN
LobsterDAO: Minter
0 ETH0.0172836782.56189678
Claim138202732021-12-17 3:41:111545 days ago1639712471IN
LobsterDAO: Minter
0 ETH0.0161225177.01813757
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LobstersMinter

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-10-08
*/

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/math/SafeMath.sol@v3.4.0

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/cryptography/MerkleProof.sol@v3.4.0

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev These functions deal with verification of Merkle trees (hash trees),
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}


// File @openzeppelin/contracts/cryptography/ECDSA.sol@v3.4.0

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 {
    /**
     * @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) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * 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));
    }
}


// File @openzeppelin/contracts/utils/Context.sol@v3.4.0

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/Ownable.sol@v3.4.0

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File @openzeppelin/contracts/introspection/IERC165.sol@v3.4.0

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File @openzeppelin/contracts/token/ERC721/IERC721.sol@v3.4.0

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


// File contracts/interfaces/ILobstersNft.sol

pragma solidity 0.6.12;

interface ILobstersNft {
  function mintMultiple(address _to, uint256 _count) external;
}


// File contracts/interfaces/ICryptoPunks.sol

pragma solidity 0.6.12;

interface ICryptoPunks {
  function punkIndexToAddress(uint256 _index) external view returns (address);
}


// File contracts/LobstersMinter.sol

pragma solidity 0.6.12;

contract LobstersMinter is Ownable {
  using SafeMath for uint256;

  event SetMaxClaimAllowedByCollection(address collection, uint256 count);
  event Claim(address indexed account, uint256 count, uint256 mintCount);
  event ClaimByCollection(address indexed account, address indexed collection, uint256[] tokenIds, uint256 count);

  ILobstersNft public lobstersNft;
  bytes32 public merkleRoot;

  mapping(address => uint256) public claimedCount;

  mapping(address => uint256) public maxClaimAllowedByCollection;
  mapping(address => mapping(uint256 => bool)) public claimedByCollection;

  address public constant PUNK_COLLECTION = 0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB;

  constructor(
    address _lobstersNft,
    bytes32 _merkleRoot,
    address[] memory _allowedCollections,
    uint256[] memory _allowedCollectionCounts
  ) public {
    lobstersNft = ILobstersNft(_lobstersNft);
    merkleRoot = _merkleRoot;

    uint256 len = _allowedCollections.length;
    require(len == _allowedCollectionCounts.length, "LENGTHS_NOT_MATCH");
    for (uint256 i = 0; i < len; i++) {
      maxClaimAllowedByCollection[_allowedCollections[i]] = _allowedCollectionCounts[i];
      emit SetMaxClaimAllowedByCollection(_allowedCollections[i], _allowedCollectionCounts[i]);
    }
  }

  function encode(address _account, uint256 _count) public view returns (bytes memory) {
    return abi.encodePacked(_account, _count);
  }

  function verifyClaim(
    address _account,
    uint256 _count,
    bytes32[] calldata _merkleProof
  ) public view returns (bool) {
    bytes32 node = keccak256(encode(_account, _count));
    return MerkleProof.verify(_merkleProof, merkleRoot, node);
  }

  function claim(
    address _account,
    uint256 _count,
    uint256 _mintCount,
    bytes32[] calldata _merkleProof
  ) external {
    require(verifyClaim(_account, _count, _merkleProof), "INVALID_MERKLE_PROOF");

    claimedCount[_account] = claimedCount[_account].add(_mintCount);

    require(claimedCount[_account] <= _count, "MINT_COUNT_REACHED");

    lobstersNft.mintMultiple(_account, _mintCount);
    emit Claim(_account, _count, _mintCount);
  }

  function claimByCollection(address _collection, uint256[] memory _tokenIds) external {
    uint256 len = _tokenIds.length;
    require(len > 0, "NULL_LENGTH");

    address sender = _msgSender();
    uint256 mintCount = 0;
    for (uint256 i = 0; i < len; i++) {
      if (_collection == PUNK_COLLECTION) {
        require(ICryptoPunks(_collection).punkIndexToAddress(_tokenIds[i]) == sender, "TOKEN_NOT_OWNED_BY_SENDER");
      } else {
        require(IERC721(_collection).ownerOf(_tokenIds[i]) == sender, "TOKEN_NOT_OWNED_BY_SENDER");
      }
      require(!claimedByCollection[_collection][_tokenIds[i]], "ALREADY_CLAIMED_BY_TOKEN");

      claimedByCollection[_collection][_tokenIds[i]] = true;

      maxClaimAllowedByCollection[_collection] = maxClaimAllowedByCollection[_collection].sub(1);

      mintCount = mintCount.add(1);
    }

    lobstersNft.mintMultiple(sender, mintCount);

    emit ClaimByCollection(sender, _collection, _tokenIds, len);
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_lobstersNft","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address[]","name":"_allowedCollections","type":"address[]"},{"internalType":"uint256[]","name":"_allowedCollectionCounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"collection","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ClaimByCollection","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"collection","type":"address"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"SetMaxClaimAllowedByCollection","type":"event"},{"inputs":[],"name":"PUNK_COLLECTION","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"uint256","name":"_mintCount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_collection","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimByCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedByCollection","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"encode","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lobstersNft","outputs":[{"internalType":"contract ILobstersNft","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxClaimAllowedByCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200123e3803806200123e833981810160405260808110156200003757600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006357600080fd5b9083019060208201858111156200007957600080fd5b82518660208202830111640100000000821117156200009757600080fd5b82525081516020918201928201910280838360005b83811015620000c6578181015183820152602001620000ac565b5050505090500160405260200180516040519392919084640100000000821115620000f057600080fd5b9083019060208201858111156200010657600080fd5b82518660208202830111640100000000821117156200012457600080fd5b82525081516020918201928201910280838360005b838110156200015357818101518382015260200162000139565b505050509050016040525050506000620001726200030b60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b038616179055600283905581518151811462000228576040805162461bcd60e51b81526020600482015260116024820152700988a9c8ea890a6be9c9ea8be9a82a8869607b1b604482015290519081900360640190fd5b60005b81811015620002ff578281815181106200024157fe5b6020026020010151600460008684815181106200025a57fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055507f640935582e83db761dbf6b8b67886e1eea20c2674c5c1b66304f83982b664b84848281518110620002b457fe5b6020026020010151848381518110620002c957fe5b602002602001015160405180836001600160a01b031681526020018281526020019250505060405180910390a16001016200022b565b5050505050506200030f565b3390565b610f1f806200031f6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80638da5cb5b1161008c578063aa2945db11610066578063aa2945db1461036a578063ae80ecef146103ef578063b57c39a714610415578063f2fde38b1461041d576100cf565b80638da5cb5b1461020e5780639265a93f14610216578063a4357f49146102c9576100cf565b8063172bd6de146100d45780632eb4a7ab1461016257806337dc19f71461017c57806343166d86146101bc57806360d5e437146101e2578063715018a614610206575b600080fd5b610160600480360360808110156100ea57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561012157600080fd5b82018360208201111561013357600080fd5b8035906020019184602083028401116401000000008311171561015557600080fd5b509092509050610443565b005b61016a6105d8565b60408051918252519081900360200190f35b6101a86004803603604081101561019257600080fd5b506001600160a01b0381351690602001356105de565b604080519115158252519081900360200190f35b61016a600480360360208110156101d257600080fd5b50356001600160a01b03166105fe565b6101ea610610565b604080516001600160a01b039092168252519081900360200190f35b61016061061f565b6101ea6106dd565b6101606004803603604081101561022c57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561025757600080fd5b82018360208201111561026957600080fd5b8035906020019184602083028401116401000000008311171561028b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106ec945050505050565b6102f5600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610b7d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561032f578181015183820152602001610317565b50505050905090810190601f16801561035c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a86004803603606081101561038057600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156103b057600080fd5b8201836020820111156103c257600080fd5b803590602001918460208302840111640100000000831117156103e457600080fd5b509092509050610bb9565b61016a6004803603602081101561040557600080fd5b50356001600160a01b0316610c1a565b6101ea610c2c565b6101606004803603602081101561043357600080fd5b50356001600160a01b0316610c44565b61044f85858484610bb9565b610497576040805162461bcd60e51b815260206004820152601460248201527324a72b20a624a22fa6a2a925a622afa82927a7a360611b604482015290519081900360640190fd5b6001600160a01b0385166000908152600360205260409020546104ba9084610d58565b6001600160a01b038616600090815260036020526040902081905584101561051e576040805162461bcd60e51b81526020600482015260126024820152711352539517d0d3d5539517d4915050d2115160721b604482015290519081900360640190fd5b60015460408051632cfe929360e21b81526001600160a01b038881166004830152602482018790529151919092169163b3fa4a4c91604480830192600092919082900301818387803b15801561057357600080fd5b505af1158015610587573d6000803e3d6000fd5b5050604080518781526020810187905281516001600160a01b038a1694507f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf793509081900390910190a25050505050565b60025481565b600560209081526000928352604080842090915290825290205460ff1681565b60046020526000908152604090205481565b6001546001600160a01b031681565b610627610db9565b6001600160a01b03166106386106dd565b6001600160a01b031614610693576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b80518061072e576040805162461bcd60e51b815260206004820152600b60248201526a09caa9898be988a9c8ea8960ab1b604482015290519081900360640190fd5b6000610738610db9565b90506000805b83811015610a77576001600160a01b03861673b47e3cd837ddf8e4c57f05d70ab865de6e193bbb141561085457826001600160a01b0316866001600160a01b0316635817816887848151811061079057fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156107cc57600080fd5b505afa1580156107e0573d6000803e3d6000fd5b505050506040513d60208110156107f657600080fd5b50516001600160a01b03161461084f576040805162461bcd60e51b81526020600482015260196024820152782a27a5a2a72fa727aa2fa7aba722a22fa12cafa9a2a72222a960391b604482015290519081900360640190fd5b610938565b826001600160a01b0316866001600160a01b0316636352211e87848151811061087957fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156108b557600080fd5b505afa1580156108c9573d6000803e3d6000fd5b505050506040513d60208110156108df57600080fd5b50516001600160a01b031614610938576040805162461bcd60e51b81526020600482015260196024820152782a27a5a2a72fa727aa2fa7aba722a22fa12cafa9a2a72222a960391b604482015290519081900360640190fd5b6001600160a01b0386166000908152600560205260408120865190919087908490811061096157fe5b60209081029190910181015182528101919091526040016000205460ff16156109d1576040805162461bcd60e51b815260206004820152601860248201527f414c52454144595f434c41494d45445f42595f544f4b454e0000000000000000604482015290519081900360640190fd5b6001600160a01b03861660009081526005602052604081208651600192908890859081106109fb57fe5b60209081029190910181015182528181019290925260409081016000908120805460ff1916941515949094179093556001600160a01b03891683526004909152902054610a49906001610dbd565b6001600160a01b038716600090815260046020526040902055610a6d826001610d58565b915060010161073e565b5060015460408051632cfe929360e21b81526001600160a01b038581166004830152602482018590529151919092169163b3fa4a4c91604480830192600092919082900301818387803b158015610acd57600080fd5b505af1158015610ae1573d6000803e3d6000fd5b50505050846001600160a01b0316826001600160a01b03167f83703a9d003db5fa033673642c571ad485bdd3bd0f9782d7769756ed56d2f61186866040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610b62578181015183820152602001610b4a565b50505050905001935050505060405180910390a35050505050565b6040805160609390931b6bffffffffffffffffffffffff1916602084015260348084019290925280518084039092018252605490920190915290565b600080610bc68686610b7d565b805190602001209050610c10848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150849050610e1a565b9695505050505050565b60036020526000908152604090205481565b73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b610c4c610db9565b6001600160a01b0316610c5d6106dd565b6001600160a01b031614610cb8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610cfd5760405162461bcd60e51b8152600401808060200182810382526026815260200180610ec46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610db2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b600082821115610e14576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081815b8551811015610eb8576000868281518110610e3657fe5b60200260200101519050808311610e7d5782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610eaf565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610e1f565b50909214939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220a44a2621a5ddd1ef0f1bc22249c6a66a22f6dd39cbe3deee96589408449d639264736f6c634300060c0033000000000000000000000000026224a2940bfe258d0dbe947919b62fe321f0428656b6af7c8b8843ed35442b2d25eb0e47468538926e2726f564fce1b4ce282a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d7000000000000000000000000b47e3cd837ddf8e4c57f05d70ab865de6e193bbb0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000007d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80638da5cb5b1161008c578063aa2945db11610066578063aa2945db1461036a578063ae80ecef146103ef578063b57c39a714610415578063f2fde38b1461041d576100cf565b80638da5cb5b1461020e5780639265a93f14610216578063a4357f49146102c9576100cf565b8063172bd6de146100d45780632eb4a7ab1461016257806337dc19f71461017c57806343166d86146101bc57806360d5e437146101e2578063715018a614610206575b600080fd5b610160600480360360808110156100ea57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561012157600080fd5b82018360208201111561013357600080fd5b8035906020019184602083028401116401000000008311171561015557600080fd5b509092509050610443565b005b61016a6105d8565b60408051918252519081900360200190f35b6101a86004803603604081101561019257600080fd5b506001600160a01b0381351690602001356105de565b604080519115158252519081900360200190f35b61016a600480360360208110156101d257600080fd5b50356001600160a01b03166105fe565b6101ea610610565b604080516001600160a01b039092168252519081900360200190f35b61016061061f565b6101ea6106dd565b6101606004803603604081101561022c57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561025757600080fd5b82018360208201111561026957600080fd5b8035906020019184602083028401116401000000008311171561028b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106ec945050505050565b6102f5600480360360408110156102df57600080fd5b506001600160a01b038135169060200135610b7d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561032f578181015183820152602001610317565b50505050905090810190601f16801561035c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a86004803603606081101561038057600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156103b057600080fd5b8201836020820111156103c257600080fd5b803590602001918460208302840111640100000000831117156103e457600080fd5b509092509050610bb9565b61016a6004803603602081101561040557600080fd5b50356001600160a01b0316610c1a565b6101ea610c2c565b6101606004803603602081101561043357600080fd5b50356001600160a01b0316610c44565b61044f85858484610bb9565b610497576040805162461bcd60e51b815260206004820152601460248201527324a72b20a624a22fa6a2a925a622afa82927a7a360611b604482015290519081900360640190fd5b6001600160a01b0385166000908152600360205260409020546104ba9084610d58565b6001600160a01b038616600090815260036020526040902081905584101561051e576040805162461bcd60e51b81526020600482015260126024820152711352539517d0d3d5539517d4915050d2115160721b604482015290519081900360640190fd5b60015460408051632cfe929360e21b81526001600160a01b038881166004830152602482018790529151919092169163b3fa4a4c91604480830192600092919082900301818387803b15801561057357600080fd5b505af1158015610587573d6000803e3d6000fd5b5050604080518781526020810187905281516001600160a01b038a1694507f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf793509081900390910190a25050505050565b60025481565b600560209081526000928352604080842090915290825290205460ff1681565b60046020526000908152604090205481565b6001546001600160a01b031681565b610627610db9565b6001600160a01b03166106386106dd565b6001600160a01b031614610693576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b80518061072e576040805162461bcd60e51b815260206004820152600b60248201526a09caa9898be988a9c8ea8960ab1b604482015290519081900360640190fd5b6000610738610db9565b90506000805b83811015610a77576001600160a01b03861673b47e3cd837ddf8e4c57f05d70ab865de6e193bbb141561085457826001600160a01b0316866001600160a01b0316635817816887848151811061079057fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156107cc57600080fd5b505afa1580156107e0573d6000803e3d6000fd5b505050506040513d60208110156107f657600080fd5b50516001600160a01b03161461084f576040805162461bcd60e51b81526020600482015260196024820152782a27a5a2a72fa727aa2fa7aba722a22fa12cafa9a2a72222a960391b604482015290519081900360640190fd5b610938565b826001600160a01b0316866001600160a01b0316636352211e87848151811061087957fe5b60200260200101516040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156108b557600080fd5b505afa1580156108c9573d6000803e3d6000fd5b505050506040513d60208110156108df57600080fd5b50516001600160a01b031614610938576040805162461bcd60e51b81526020600482015260196024820152782a27a5a2a72fa727aa2fa7aba722a22fa12cafa9a2a72222a960391b604482015290519081900360640190fd5b6001600160a01b0386166000908152600560205260408120865190919087908490811061096157fe5b60209081029190910181015182528101919091526040016000205460ff16156109d1576040805162461bcd60e51b815260206004820152601860248201527f414c52454144595f434c41494d45445f42595f544f4b454e0000000000000000604482015290519081900360640190fd5b6001600160a01b03861660009081526005602052604081208651600192908890859081106109fb57fe5b60209081029190910181015182528181019290925260409081016000908120805460ff1916941515949094179093556001600160a01b03891683526004909152902054610a49906001610dbd565b6001600160a01b038716600090815260046020526040902055610a6d826001610d58565b915060010161073e565b5060015460408051632cfe929360e21b81526001600160a01b038581166004830152602482018590529151919092169163b3fa4a4c91604480830192600092919082900301818387803b158015610acd57600080fd5b505af1158015610ae1573d6000803e3d6000fd5b50505050846001600160a01b0316826001600160a01b03167f83703a9d003db5fa033673642c571ad485bdd3bd0f9782d7769756ed56d2f61186866040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610b62578181015183820152602001610b4a565b50505050905001935050505060405180910390a35050505050565b6040805160609390931b6bffffffffffffffffffffffff1916602084015260348084019290925280518084039092018252605490920190915290565b600080610bc68686610b7d565b805190602001209050610c10848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150849050610e1a565b9695505050505050565b60036020526000908152604090205481565b73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b610c4c610db9565b6001600160a01b0316610c5d6106dd565b6001600160a01b031614610cb8576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610cfd5760405162461bcd60e51b8152600401808060200182810382526026815260200180610ec46026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082820183811015610db2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b600082821115610e14576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081815b8551811015610eb8576000868281518110610e3657fe5b60200260200101519050808311610e7d5782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610eaf565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610e1f565b50909214939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220a44a2621a5ddd1ef0f1bc22249c6a66a22f6dd39cbe3deee96589408449d639264736f6c634300060c0033

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

000000000000000000000000026224a2940bfe258d0dbe947919b62fe321f0428656b6af7c8b8843ed35442b2d25eb0e47468538926e2726f564fce1b4ce282a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d7000000000000000000000000b47e3cd837ddf8e4c57f05d70ab865de6e193bbb0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000007d

-----Decoded View---------------
Arg [0] : _lobstersNft (address): 0x026224A2940bFE258D0dbE947919B62fE321F042
Arg [1] : _merkleRoot (bytes32): 0x8656b6af7c8b8843ed35442b2d25eb0e47468538926e2726f564fce1b4ce282a
Arg [2] : _allowedCollections (address[]): 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D,0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7,0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB
Arg [3] : _allowedCollectionCounts (uint256[]): 75,50,125

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000026224a2940bfe258d0dbe947919b62fe321f042
Arg [1] : 8656b6af7c8b8843ed35442b2d25eb0e47468538926e2726f564fce1b4ce282a
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [6] : 000000000000000000000000ff9c1b15b16263c61d017ee9f65c50e4ae0113d7
Arg [7] : 000000000000000000000000b47e3cd837ddf8e4c57f05d70ab865de6e193bbb
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [11] : 000000000000000000000000000000000000000000000000000000000000007d


Deployed Bytecode Sourcemap

22199:3195:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23929:471;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23929:471:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23929:471:0;;-1:-1:-1;23929:471:0;-1:-1:-1;23929:471:0;:::i;:::-;;22577:25;;;:::i;:::-;;;;;;;;;;;;;;;;22730:71;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22730:71:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;22663:62;;;;;;;;;;;;;;;;-1:-1:-1;22663:62:0;-1:-1:-1;;;;;22663:62:0;;:::i;22541:31::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22541:31:0;;;;;;;;;;;;;;15647:148;;;:::i;14996:87::-;;;:::i;24406:985::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24406:985:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24406:985:0;;-1:-1:-1;24406:985:0;;-1:-1:-1;;;;;24406:985:0:i;23516:139::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23516:139:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23661:262;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23661:262:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23661:262:0;;-1:-1:-1;23661:262:0;-1:-1:-1;23661:262:0;:::i;22609:47::-;;;;;;;;;;;;;;;;-1:-1:-1;22609:47:0;-1:-1:-1;;;;;22609:47:0;;:::i;22808:84::-;;;:::i;15950:244::-;;;;;;;;;;;;;;;;-1:-1:-1;15950:244:0;-1:-1:-1;;;;;15950:244:0;;:::i;23929:471::-;24080:43;24092:8;24102:6;24110:12;;24080:11;:43::i;:::-;24072:76;;;;;-1:-1:-1;;;24072:76:0;;;;;;;;;;;;-1:-1:-1;;;24072:76:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24182:22:0;;;;;;:12;:22;;;;;;:38;;24209:10;24182:26;:38::i;:::-;-1:-1:-1;;;;;24157:22:0;;;;;;:12;:22;;;;;:63;;;24237:32;-1:-1:-1;24237:32:0;24229:63;;;;;-1:-1:-1;;;24229:63:0;;;;;;;;;;;;-1:-1:-1;;;24229:63:0;;;;;;;;;;;;;;;24301:11;;:46;;;-1:-1:-1;;;24301:46:0;;-1:-1:-1;;;;;24301:46:0;;;;;;;;;;;;;;;:11;;;;;:24;;:46;;;;;:11;;:46;;;;;;;:11;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24359:35:0;;;;;;;;;;;;;;-1:-1:-1;;;;;24359:35:0;;;-1:-1:-1;24359:35:0;;-1:-1:-1;24359:35:0;;;;;;;;;23929:471;;;;;:::o;22577:25::-;;;;:::o;22730:71::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22663:62::-;;;;;;;;;;;;;:::o;22541:31::-;;;-1:-1:-1;;;;;22541:31:0;;:::o;15647:148::-;15227:12;:10;:12::i;:::-;-1:-1:-1;;;;;15216:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15216:23:0;;15208:68;;;;;-1:-1:-1;;;15208:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15754:1:::1;15738:6:::0;;15717:40:::1;::::0;-1:-1:-1;;;;;15738:6:0;;::::1;::::0;15717:40:::1;::::0;15754:1;;15717:40:::1;15785:1;15768:19:::0;;-1:-1:-1;;;;;;15768:19:0::1;::::0;;15647:148::o;14996:87::-;15042:7;15069:6;-1:-1:-1;;;;;15069:6:0;14996:87;:::o;24406:985::-;24512:16;;24543:7;24535:31;;;;;-1:-1:-1;;;24535:31:0;;;;;;;;;;;;-1:-1:-1;;;24535:31:0;;;;;;;;;;;;;;;24575:14;24592:12;:10;:12::i;:::-;24575:29;;24611:17;24644:9;24639:627;24663:3;24659:1;:7;24639:627;;;-1:-1:-1;;;;;24686:30:0;;22850:42;24686:30;24682:280;;;24799:6;-1:-1:-1;;;;;24737:68:0;24750:11;-1:-1:-1;;;;;24737:44:0;;24782:9;24792:1;24782:12;;;;;;;;;;;;;;24737:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24737:58:0;-1:-1:-1;;;;;24737:68:0;;24729:106;;;;;-1:-1:-1;;;24729:106:0;;;;;;;;;;;;-1:-1:-1;;;24729:106:0;;;;;;;;;;;;;;;24682:280;;;24916:6;-1:-1:-1;;;;;24870:52:0;24878:11;-1:-1:-1;;;;;24870:28:0;;24899:9;24909:1;24899:12;;;;;;;;;;;;;;24870:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24870:42:0;-1:-1:-1;;;;;24870:52:0;;24862:90;;;;;-1:-1:-1;;;24862:90:0;;;;;;;;;;;;-1:-1:-1;;;24862:90:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24979:32:0;;;;;;:19;:32;;;;;25012:12;;24979:32;;;25012:9;;25022:1;;25012:12;;;;;;;;;;;;;;;;;24979:46;;;;;;;;;;-1:-1:-1;24979:46:0;;;;24978:47;24970:84;;;;;-1:-1:-1;;;24970:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25065:32:0;;;;;;:19;:32;;;;;25098:12;;25114:4;;25065:32;25098:9;;25108:1;;25098:12;;;;;;;;;;;;;;;;;25065:46;;;;;;;;;;;;;-1:-1:-1;25065:46:0;;;:53;;-1:-1:-1;;25065:53:0;;;;;;;;;;;-1:-1:-1;;;;;25172:40:0;;;;:27;:40;;;;;;:47;;-1:-1:-1;25172:44:0;:47::i;:::-;-1:-1:-1;;;;;25129:40:0;;;;;;:27;:40;;;;;:90;25242:16;:9;25256:1;25242:13;:16::i;:::-;25230:28;-1:-1:-1;24668:3:0;;24639:627;;;-1:-1:-1;25274:11:0;;:43;;;-1:-1:-1;;;25274:43:0;;-1:-1:-1;;;;;25274:43:0;;;;;;;;;;;;;;;:11;;;;;:24;;:43;;;;;:11;;:43;;;;;;;:11;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25357:11;-1:-1:-1;;;;;25331:54:0;25349:6;-1:-1:-1;;;;;25331:54:0;;25370:9;25381:3;25331:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24406:985;;;;;:::o;23516:139::-;23615:34;;;23587:12;23615:34;;;;-1:-1:-1;;23615:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23516:139::o;23661:262::-;23790:4;23803:12;23828:24;23835:8;23845:6;23828;:24::i;:::-;23818:35;;;;;;23803:50;;23867;23886:12;;23867:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23900:10:0;;;-1:-1:-1;23912:4:0;;-1:-1:-1;23867:18:0;:50::i;:::-;23860:57;23661:262;-1:-1:-1;;;;;;23661:262:0:o;22609:47::-;;;;;;;;;;;;;:::o;22808:84::-;22850:42;22808:84;:::o;15950:244::-;15227:12;:10;:12::i;:::-;-1:-1:-1;;;;;15216:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15216:23:0;;15208:68;;;;;-1:-1:-1;;;15208:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16039:22:0;::::1;16031:73;;;;-1:-1:-1::0;;;16031:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16141:6;::::0;;16120:38:::1;::::0;-1:-1:-1;;;;;16120:38:0;;::::1;::::0;16141:6;::::1;::::0;16120:38:::1;::::0;::::1;16169:6;:17:::0;;-1:-1:-1;;;;;;16169:17:0::1;-1:-1:-1::0;;;;;16169:17:0;;;::::1;::::0;;;::::1;::::0;;15950:244::o;2834:179::-;2892:7;2924:5;;;2948:6;;;;2940:46;;;;;-1:-1:-1;;;2940:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3004:1;2834:179;-1:-1:-1;;;2834:179:0:o;13527:106::-;13615:10;13527:106;:::o;3296:158::-;3354:7;3387:1;3382;:6;;3374:49;;;;;-1:-1:-1;;;3374:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3441:5:0;;;3296:158::o;8058:796::-;8149:4;8189;8149;8206:525;8230:5;:12;8226:1;:16;8206:525;;;8264:20;8287:5;8293:1;8287:8;;;;;;;;;;;;;;8264:31;;8332:12;8316;:28;8312:408;;8486:12;8500;8469:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8459:55;;;;;;8444:70;;8312:408;;;8676:12;8690;8659:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8649:55;;;;;;8634:70;;8312:408;-1:-1:-1;8244:3:0;;8206:525;;;-1:-1:-1;8826:20:0;;;;8058:796;-1:-1:-1;;;8058:796:0:o

Swarm Source

ipfs://a44a2621a5ddd1ef0f1bc22249c6a66a22f6dd39cbe3deee96589408449d6392

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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