ETH Price: $2,138.82 (-13.25%)

Contract

0x97137B2dD259e6f62C9b81c7114bb27937751AD2
 

Overview

ETH Balance

0.015 ETH

Eth Value

$32.08 (@ $2,138.82/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...153700112022-08-19 7:29:11927 days ago1660894151IN
0x97137B2d...937751AD2
0 ETH0.0006693523.01060369
Mint153518772022-08-16 10:35:07930 days ago1660646107IN
0x97137B2d...937751AD2
0 ETH0.0001475
Pause153453972022-08-15 10:01:10931 days ago1660557670IN
0x97137B2d...937751AD2
0 ETH0.0004534816.07030118
Mint153453692022-08-15 9:51:34931 days ago1660557094IN
0x97137B2d...937751AD2
0 ETH0.0031164710.17303228
Mint153452902022-08-15 9:33:46931 days ago1660556026IN
0x97137B2d...937751AD2
0 ETH0.0032149710.49454725
Mint153452852022-08-15 9:32:29931 days ago1660555949IN
0x97137B2d...937751AD2
0 ETH0.0034087911.12724268
Mint153451662022-08-15 9:07:30931 days ago1660554450IN
0x97137B2d...937751AD2
0 ETH0.0041300613.48164171
Mint153451412022-08-15 9:01:12931 days ago1660554072IN
0x97137B2d...937751AD2
0 ETH0.0036761612
Mint153451102022-08-15 8:53:14931 days ago1660553594IN
0x97137B2d...937751AD2
0 ETH0.0040936113.36268967
Mint153451082022-08-15 8:52:52931 days ago1660553572IN
0x97137B2d...937751AD2
0 ETH0.0038746212.64783368
Mint153450972022-08-15 8:49:50931 days ago1660553390IN
0x97137B2d...937751AD2
0 ETH0.0036951412.06194562
Mint153450502022-08-15 8:39:08931 days ago1660552748IN
0x97137B2d...937751AD2
0 ETH0.002429037.9290366
Mint153449732022-08-15 8:22:50931 days ago1660551770IN
0x97137B2d...937751AD2
0 ETH0.0019402910.16528895
Mint153449702022-08-15 8:22:13931 days ago1660551733IN
0x97137B2d...937751AD2
0 ETH0.0032668510.66389284
Mint153449582022-08-15 8:19:34931 days ago1660551574IN
0x97137B2d...937751AD2
0 ETH0.002144427
Mint153449372022-08-15 8:16:09931 days ago1660551369IN
0x97137B2d...937751AD2
0 ETH0.001445217.57152894
Mint153449262022-08-15 8:14:24931 days ago1660551264IN
0x97137B2d...937751AD2
0 ETH0.002268967.40652348
Mint153448652022-08-15 8:01:17931 days ago1660550477IN
0x97137B2d...937751AD2
0 ETH0.0031787910.37646456
Mint153448502022-08-15 7:57:22931 days ago1660550242IN
0x97137B2d...937751AD2
0 ETH0.001569998.89136823
Mint153448402022-08-15 7:55:22931 days ago1660550122IN
0x97137B2d...937751AD2
0 ETH0.002697888.80661984
Mint153448372022-08-15 7:55:05931 days ago1660550105IN
0x97137B2d...937751AD2
0 ETH0.001827969.57675456
Mint153448292022-08-15 7:53:16931 days ago1660549996IN
0x97137B2d...937751AD2
0 ETH0.0034368711.21890093
Mint153447782022-08-15 7:39:34931 days ago1660549174IN
0x97137B2d...937751AD2
0 ETH0.001763659.98812621
Mint153447782022-08-15 7:39:34931 days ago1660549174IN
0x97137B2d...937751AD2
0 ETH0.003059839.98812621
Mint153447732022-08-15 7:38:35931 days ago1660549115IN
0x97137B2d...937751AD2
0 ETH0.002526168.24609816
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:
PossedNFTMinter

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : PossedNFTMinter.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./IPossedNFT.sol";

contract PossedNFTMinter is Ownable, Pausable, ReentrancyGuard {
    /// @dev Possed NFT contract address
    address public POSSED_NFT;

    bool public isPublicSale;
    bool public isWhitelistSale;
    bool public isAirdropSale;

    /// @dev Whitelist MerkleRoot
    bytes32 public WHITELIST_ROOT =
        0xe9be709fe4619cbef249d46d8321f37b0654ca528fe8e65d8fd9d2a743ff675d;

    /// @dev Airdrop MerkleRoot
    bytes32 public AIRDROP_ROOT =
        0x54fdc66561552fc7a4f8bede2acecebdc4db2686bf0dc3c2638d3f4415bd7d81;

    /// @dev Minting Fee
    uint256 public mintingFee;

    mapping(address => bool) public airdropParticipants;
    mapping(address => uint256) public whitelistParticipants;
    mapping(address => uint256) public publicParticipants;

    constructor() {
        _pause();
    }

    /// @dev Set Whitelist MerkleRoot
    function setWhitelistRoot(bytes32 _root) external onlyOwner {
        WHITELIST_ROOT = _root;
    }

    /// @dev Set Airdrop MerkleRoot
    function setAirdropRoot(bytes32 _root) external onlyOwner {
        AIRDROP_ROOT = _root;
    }

    /// @dev Pause minting
    function pause() external onlyOwner {
        _pause();
    }

    /// @dev Unpause minting
    function unpause() external onlyOwner {
        _unpause();
    }

    /// @dev Set Possed NFT contract address
    function setPossedNFT(address _possedNFT) external onlyOwner {
        POSSED_NFT = _possedNFT;
    }

    /// @dev Update participant data
    function _updateParticipant(uint256 _amount) private {
        if (isPublicSale) {
            publicParticipants[_msgSender()] += _amount;
        } else {
            if (isAirdropSale) {
                airdropParticipants[_msgSender()] = true;
            } else {
                whitelistParticipants[_msgSender()] += _amount;
            }
        }
    }

    /// @dev Set Minting Round configuration
    function setMintingRound(
        uint256 _fee,
        bool _isPublicSale,
        bool _isWhitelistSale,
        bool _isAirdropSale
    ) external onlyOwner {
        mintingFee = _fee;
        isPublicSale = _isPublicSale;
        isWhitelistSale = _isWhitelistSale;
        isAirdropSale = _isAirdropSale;
    }

    /// @dev Mint PSDD NFT
    function mint(bytes32[] calldata _proofs, uint256 _amount)
        external
        payable
        canParticipate(_amount)
        whenNotPaused
        nonReentrant
    {
        require(_amount > 0, "Amount should be greater than 0");
        require(mintingFee * _amount == msg.value, "Invalid Minting Fee");

        bytes32 root = isWhitelistSale ? WHITELIST_ROOT : AIRDROP_ROOT;
        if (!isPublicSale) {
            require(
                MerkleProof.verify(
                    _proofs,
                    root,
                    keccak256(abi.encodePacked(_msgSender()))
                ),
                "Not whitelisted"
            );
        }

        _updateParticipant(_amount);
        getPossedNFT().mint(_msgSender(), _amount);
    }

    /// @dev Withdraw ETH from contract
    function withdrawETH(address _to) external onlyOwner {
        payable(_to).transfer(address(this).balance);
    }

    /// @dev Get Possed NFT
    function getPossedNFT() public view returns (IPossedNFT) {
        return IPossedNFT(POSSED_NFT);
    }

    modifier canParticipate(uint256 _amount) {
        bool isParticipated;
        if (isPublicSale) {
            isParticipated = publicParticipants[_msgSender()] + _amount > 2
                ? true
                : false;
        } else {
            if (isAirdropSale) {
                require(_amount == 1, "Only 1 mint is available for airdrop");
                isParticipated = airdropParticipants[_msgSender()];
            } else {
                isParticipated = whitelistParticipants[_msgSender()] + _amount >
                    2
                    ? true
                    : false;
            }
        }

        require(!isParticipated, "Already participated");
        _;
    }
}

File 2 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 3 of 7 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 7 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 7 : IPossedNFT.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPossedNFT {
    function mint(address, uint256) external;
}

File 7 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"AIRDROP_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POSSED_NFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"airdropParticipants","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPossedNFT","outputs":[{"internalType":"contract IPossedNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAirdropSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proofs","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingFee","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setAirdropRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"bool","name":"_isPublicSale","type":"bool"},{"internalType":"bool","name":"_isWhitelistSale","type":"bool"},{"internalType":"bool","name":"_isAirdropSale","type":"bool"}],"name":"setMintingRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_possedNFT","type":"address"}],"name":"setPossedNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistParticipants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527fe9be709fe4619cbef249d46d8321f37b0654ca528fe8e65d8fd9d2a743ff675d60001b6003557f54fdc66561552fc7a4f8bede2acecebdc4db2686bf0dc3c2638d3f4415bd7d8160001b6004553480156200005f57600080fd5b506200008062000074620000b760201b60201c565b620000bf60201b60201c565b60008060146101000a81548160ff02191690831515021790555060018081905550620000b16200018360201b60201c565b62000348565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000193620001f860201b60201c565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001df620000b760201b60201c565b604051620001ee91906200029b565b60405180910390a1565b620002086200024d60201b60201c565b156200024b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200024290620002b8565b60405180910390fd5b565b60008060149054906101000a900460ff16905090565b6200026e81620002eb565b82525050565b600062000283601083620002da565b915062000290826200031f565b602082019050919050565b6000602082019050620002b2600083018462000263565b92915050565b60006020820190508181036000830152620002d38162000274565b9050919050565b600082825260208201905092915050565b6000620002f882620002ff565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b611aec80620003586000396000f3fe6080604052600436106101405760003560e01c8063715018a6116100b65780639d9e7a991161006f5780639d9e7a9914610405578063a35f59bb1461042e578063a5a865dc14610459578063e7375cd314610484578063f2fde38b146104af578063f5aa406d146104d857610140565b8063715018a61461032d5780637558c74d146103445780638456cb591461036f57806388b4b7d6146103865780638da5cb5b146103b15780639576b4d1146103dc57610140565b80632a1d6190116101085780632a1d6190146102505780633f4ba83a1461027b57806345de0d9b146102925780635a64ad95146102ae5780635c975abb146102d9578063690d83201461030457610140565b80631346b686146101455780631455b1e2146101825780631e9fadb7146101ad57806323888361146101d6578063251d5cca14610213575b600080fd5b34801561015157600080fd5b5061016c600480360381019061016791906111bc565b610501565b60405161017991906114e8565b60405180910390f35b34801561018e57600080fd5b50610197610521565b6040516101a491906114e8565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611266565b610534565b005b3480156101e257600080fd5b506101fd60048036038101906101f891906111bc565b610597565b60405161020a9190611679565b60405180910390f35b34801561021f57600080fd5b5061023a600480360381019061023591906111bc565b6105af565b6040516102479190611679565b60405180910390f35b34801561025c57600080fd5b506102656105c7565b6040516102729190611503565b60405180910390f35b34801561028757600080fd5b506102906105cd565b005b6102ac60048036038101906102a791906111e5565b6105df565b005b3480156102ba57600080fd5b506102c3610a28565b6040516102d09190611679565b60405180910390f35b3480156102e557600080fd5b506102ee610a2e565b6040516102fb91906114e8565b60405180910390f35b34801561031057600080fd5b5061032b600480360381019061032691906111bc565b610a44565b005b34801561033957600080fd5b50610342610a96565b005b34801561035057600080fd5b50610359610aaa565b60405161036691906114e8565b60405180910390f35b34801561037b57600080fd5b50610384610abd565b005b34801561039257600080fd5b5061039b610acf565b6040516103a89190611503565b60405180910390f35b3480156103bd57600080fd5b506103c6610ad5565b6040516103d391906114a4565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe91906111bc565b610afe565b005b34801561041157600080fd5b5061042c6004803603810190610427919061123d565b610b4a565b005b34801561043a57600080fd5b50610443610b5c565b604051610450919061151e565b60405180910390f35b34801561046557600080fd5b5061046e610b86565b60405161047b91906114e8565b60405180910390f35b34801561049057600080fd5b50610499610b99565b6040516104a691906114a4565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d191906111bc565b610bbf565b005b3480156104e457600080fd5b506104ff60048036038101906104fa919061123d565b610c43565b005b60066020528060005260406000206000915054906101000a900460ff1681565b600260159054906101000a900460ff1681565b61053c610c55565b8360058190555082600260146101000a81548160ff02191690831515021790555081600260156101000a81548160ff02191690831515021790555080600260166101000a81548160ff02191690831515021790555050505050565b60076020528060005260406000206000915090505481565b60086020528060005260406000206000915090505481565b60035481565b6105d5610c55565b6105dd610cd3565b565b806000600260149054906101000a900460ff16156106615760028260086000610606610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064b91906116a5565b1161065757600061065a565b60015b905061077b565b600260169054906101000a900460ff161561071457600182146106b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b090611639565b60405180910390fd5b600660006106c5610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905061077a565b60028260076000610723610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461076891906116a5565b11610774576000610777565b60015b90505b5b80156107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b390611579565b60405180910390fd5b6107c4610d3d565b6002600154141561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190611659565b60405180910390fd5b600260018190555060008311610855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084c906115d9565b60405180910390fd5b348360055461086491906116fb565b146108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611619565b60405180910390fd5b6000600260159054906101000a900460ff166108c2576004546108c6565b6003545b9050600260149054906101000a900460ff1661099557610955868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508261092a610d35565b60405160200161093a9190611489565b60405160208183030381529060405280519060200120610d87565b610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098b906115b9565b60405180910390fd5b5b61099e84610d9e565b6109a6610b5c565b73ffffffffffffffffffffffffffffffffffffffff166340c10f196109c9610d35565b866040518363ffffffff1660e01b81526004016109e79291906114bf565b600060405180830381600087803b158015610a0157600080fd5b505af1158015610a15573d6000803e3d6000fd5b5050505050600180819055505050505050565b60055481565b60008060149054906101000a900460ff16905090565b610a4c610c55565b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a92573d6000803e3d6000fd5b5050565b610a9e610c55565b610aa86000610ef0565b565b600260169054906101000a900460ff1681565b610ac5610c55565b610acd610fb4565b565b60045481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b06610c55565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b52610c55565b8060048190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260149054906101000a900460ff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bc7610c55565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90611559565b60405180910390fd5b610c4081610ef0565b50565b610c4b610c55565b8060038190555050565b610c5d610d35565b73ffffffffffffffffffffffffffffffffffffffff16610c7b610ad5565b73ffffffffffffffffffffffffffffffffffffffff1614610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc8906115f9565b60405180910390fd5b565b610cdb611017565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d1e610d35565b604051610d2b91906114a4565b60405180910390a1565b600033905090565b610d45610a2e565b15610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90611599565b60405180910390fd5b565b600082610d948584611060565b1490509392505050565b600260149054906101000a900460ff1615610e15578060086000610dc0610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e0991906116a5565b92505081905550610eed565b600260169054906101000a900460ff1615610e8e57600160066000610e38610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610eec565b8060076000610e9b610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ee491906116a5565b925050819055505b5b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610fbc610d3d565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611000610d35565b60405161100d91906114a4565b60405180910390a1565b61101f610a2e565b61105e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105590611539565b60405180910390fd5b565b60008082905060005b84518110156110d1576110bc828683815181106110af577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110dc565b915080806110c9906117cb565b915050611069565b508091505092915050565b60008183106110f4576110ef8284611107565b6110ff565b6110fe8383611107565b5b905092915050565b600082600052816020526040600020905092915050565b60008135905061112d81611a5a565b92915050565b60008083601f84011261114557600080fd5b8235905067ffffffffffffffff81111561115e57600080fd5b60208301915083602082028301111561117657600080fd5b9250929050565b60008135905061118c81611a71565b92915050565b6000813590506111a181611a88565b92915050565b6000813590506111b681611a9f565b92915050565b6000602082840312156111ce57600080fd5b60006111dc8482850161111e565b91505092915050565b6000806000604084860312156111fa57600080fd5b600084013567ffffffffffffffff81111561121457600080fd5b61122086828701611133565b93509350506020611233868287016111a7565b9150509250925092565b60006020828403121561124f57600080fd5b600061125d84828501611192565b91505092915050565b6000806000806080858703121561127c57600080fd5b600061128a878288016111a7565b945050602061129b8782880161117d565b93505060406112ac8782880161117d565b92505060606112bd8782880161117d565b91505092959194509250565b6112d281611755565b82525050565b6112e96112e482611755565b611814565b82525050565b6112f881611767565b82525050565b61130781611773565b82525050565b611316816117a7565b82525050565b6000611329601483611694565b915061133482611874565b602082019050919050565b600061134c602683611694565b91506113578261189d565b604082019050919050565b600061136f601483611694565b915061137a826118ec565b602082019050919050565b6000611392601083611694565b915061139d82611915565b602082019050919050565b60006113b5600f83611694565b91506113c08261193e565b602082019050919050565b60006113d8601f83611694565b91506113e382611967565b602082019050919050565b60006113fb602083611694565b915061140682611990565b602082019050919050565b600061141e601383611694565b9150611429826119b9565b602082019050919050565b6000611441602483611694565b915061144c826119e2565b604082019050919050565b6000611464601f83611694565b915061146f82611a31565b602082019050919050565b6114838161179d565b82525050565b600061149582846112d8565b60148201915081905092915050565b60006020820190506114b960008301846112c9565b92915050565b60006040820190506114d460008301856112c9565b6114e1602083018461147a565b9392505050565b60006020820190506114fd60008301846112ef565b92915050565b600060208201905061151860008301846112fe565b92915050565b6000602082019050611533600083018461130d565b92915050565b600060208201905081810360008301526115528161131c565b9050919050565b600060208201905081810360008301526115728161133f565b9050919050565b6000602082019050818103600083015261159281611362565b9050919050565b600060208201905081810360008301526115b281611385565b9050919050565b600060208201905081810360008301526115d2816113a8565b9050919050565b600060208201905081810360008301526115f2816113cb565b9050919050565b60006020820190508181036000830152611612816113ee565b9050919050565b6000602082019050818103600083015261163281611411565b9050919050565b6000602082019050818103600083015261165281611434565b9050919050565b6000602082019050818103600083015261167281611457565b9050919050565b600060208201905061168e600083018461147a565b92915050565b600082825260208201905092915050565b60006116b08261179d565b91506116bb8361179d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156116f0576116ef611838565b5b828201905092915050565b60006117068261179d565b91506117118361179d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561174a57611749611838565b5b828202905092915050565b60006117608261177d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006117b2826117b9565b9050919050565b60006117c48261177d565b9050919050565b60006117d68261179d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561180957611808611838565b5b600182019050919050565b600061181f82611826565b9050919050565b600061183182611867565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c726561647920706172746963697061746564000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f416d6f756e742073686f756c642062652067726561746572207468616e203000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c6964204d696e74696e672046656500000000000000000000000000600082015250565b7f4f6e6c792031206d696e7420697320617661696c61626c6520666f722061697260008201527f64726f7000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611a6381611755565b8114611a6e57600080fd5b50565b611a7a81611767565b8114611a8557600080fd5b50565b611a9181611773565b8114611a9c57600080fd5b50565b611aa88161179d565b8114611ab357600080fd5b5056fea26469706673582212208d5d500f7a9585fe580f3fcc899ce4ea44248c0a056fda6561886fcbefc86c9764736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101405760003560e01c8063715018a6116100b65780639d9e7a991161006f5780639d9e7a9914610405578063a35f59bb1461042e578063a5a865dc14610459578063e7375cd314610484578063f2fde38b146104af578063f5aa406d146104d857610140565b8063715018a61461032d5780637558c74d146103445780638456cb591461036f57806388b4b7d6146103865780638da5cb5b146103b15780639576b4d1146103dc57610140565b80632a1d6190116101085780632a1d6190146102505780633f4ba83a1461027b57806345de0d9b146102925780635a64ad95146102ae5780635c975abb146102d9578063690d83201461030457610140565b80631346b686146101455780631455b1e2146101825780631e9fadb7146101ad57806323888361146101d6578063251d5cca14610213575b600080fd5b34801561015157600080fd5b5061016c600480360381019061016791906111bc565b610501565b60405161017991906114e8565b60405180910390f35b34801561018e57600080fd5b50610197610521565b6040516101a491906114e8565b60405180910390f35b3480156101b957600080fd5b506101d460048036038101906101cf9190611266565b610534565b005b3480156101e257600080fd5b506101fd60048036038101906101f891906111bc565b610597565b60405161020a9190611679565b60405180910390f35b34801561021f57600080fd5b5061023a600480360381019061023591906111bc565b6105af565b6040516102479190611679565b60405180910390f35b34801561025c57600080fd5b506102656105c7565b6040516102729190611503565b60405180910390f35b34801561028757600080fd5b506102906105cd565b005b6102ac60048036038101906102a791906111e5565b6105df565b005b3480156102ba57600080fd5b506102c3610a28565b6040516102d09190611679565b60405180910390f35b3480156102e557600080fd5b506102ee610a2e565b6040516102fb91906114e8565b60405180910390f35b34801561031057600080fd5b5061032b600480360381019061032691906111bc565b610a44565b005b34801561033957600080fd5b50610342610a96565b005b34801561035057600080fd5b50610359610aaa565b60405161036691906114e8565b60405180910390f35b34801561037b57600080fd5b50610384610abd565b005b34801561039257600080fd5b5061039b610acf565b6040516103a89190611503565b60405180910390f35b3480156103bd57600080fd5b506103c6610ad5565b6040516103d391906114a4565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe91906111bc565b610afe565b005b34801561041157600080fd5b5061042c6004803603810190610427919061123d565b610b4a565b005b34801561043a57600080fd5b50610443610b5c565b604051610450919061151e565b60405180910390f35b34801561046557600080fd5b5061046e610b86565b60405161047b91906114e8565b60405180910390f35b34801561049057600080fd5b50610499610b99565b6040516104a691906114a4565b60405180910390f35b3480156104bb57600080fd5b506104d660048036038101906104d191906111bc565b610bbf565b005b3480156104e457600080fd5b506104ff60048036038101906104fa919061123d565b610c43565b005b60066020528060005260406000206000915054906101000a900460ff1681565b600260159054906101000a900460ff1681565b61053c610c55565b8360058190555082600260146101000a81548160ff02191690831515021790555081600260156101000a81548160ff02191690831515021790555080600260166101000a81548160ff02191690831515021790555050505050565b60076020528060005260406000206000915090505481565b60086020528060005260406000206000915090505481565b60035481565b6105d5610c55565b6105dd610cd3565b565b806000600260149054906101000a900460ff16156106615760028260086000610606610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064b91906116a5565b1161065757600061065a565b60015b905061077b565b600260169054906101000a900460ff161561071457600182146106b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b090611639565b60405180910390fd5b600660006106c5610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905061077a565b60028260076000610723610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461076891906116a5565b11610774576000610777565b60015b90505b5b80156107bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b390611579565b60405180910390fd5b6107c4610d3d565b6002600154141561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190611659565b60405180910390fd5b600260018190555060008311610855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084c906115d9565b60405180910390fd5b348360055461086491906116fb565b146108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b90611619565b60405180910390fd5b6000600260159054906101000a900460ff166108c2576004546108c6565b6003545b9050600260149054906101000a900460ff1661099557610955868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508261092a610d35565b60405160200161093a9190611489565b60405160208183030381529060405280519060200120610d87565b610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098b906115b9565b60405180910390fd5b5b61099e84610d9e565b6109a6610b5c565b73ffffffffffffffffffffffffffffffffffffffff166340c10f196109c9610d35565b866040518363ffffffff1660e01b81526004016109e79291906114bf565b600060405180830381600087803b158015610a0157600080fd5b505af1158015610a15573d6000803e3d6000fd5b5050505050600180819055505050505050565b60055481565b60008060149054906101000a900460ff16905090565b610a4c610c55565b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a92573d6000803e3d6000fd5b5050565b610a9e610c55565b610aa86000610ef0565b565b600260169054906101000a900460ff1681565b610ac5610c55565b610acd610fb4565b565b60045481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b06610c55565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b52610c55565b8060048190555050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260149054906101000a900460ff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bc7610c55565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90611559565b60405180910390fd5b610c4081610ef0565b50565b610c4b610c55565b8060038190555050565b610c5d610d35565b73ffffffffffffffffffffffffffffffffffffffff16610c7b610ad5565b73ffffffffffffffffffffffffffffffffffffffff1614610cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc8906115f9565b60405180910390fd5b565b610cdb611017565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d1e610d35565b604051610d2b91906114a4565b60405180910390a1565b600033905090565b610d45610a2e565b15610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90611599565b60405180910390fd5b565b600082610d948584611060565b1490509392505050565b600260149054906101000a900460ff1615610e15578060086000610dc0610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e0991906116a5565b92505081905550610eed565b600260169054906101000a900460ff1615610e8e57600160066000610e38610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610eec565b8060076000610e9b610d35565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ee491906116a5565b925050819055505b5b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610fbc610d3d565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611000610d35565b60405161100d91906114a4565b60405180910390a1565b61101f610a2e565b61105e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105590611539565b60405180910390fd5b565b60008082905060005b84518110156110d1576110bc828683815181106110af577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516110dc565b915080806110c9906117cb565b915050611069565b508091505092915050565b60008183106110f4576110ef8284611107565b6110ff565b6110fe8383611107565b5b905092915050565b600082600052816020526040600020905092915050565b60008135905061112d81611a5a565b92915050565b60008083601f84011261114557600080fd5b8235905067ffffffffffffffff81111561115e57600080fd5b60208301915083602082028301111561117657600080fd5b9250929050565b60008135905061118c81611a71565b92915050565b6000813590506111a181611a88565b92915050565b6000813590506111b681611a9f565b92915050565b6000602082840312156111ce57600080fd5b60006111dc8482850161111e565b91505092915050565b6000806000604084860312156111fa57600080fd5b600084013567ffffffffffffffff81111561121457600080fd5b61122086828701611133565b93509350506020611233868287016111a7565b9150509250925092565b60006020828403121561124f57600080fd5b600061125d84828501611192565b91505092915050565b6000806000806080858703121561127c57600080fd5b600061128a878288016111a7565b945050602061129b8782880161117d565b93505060406112ac8782880161117d565b92505060606112bd8782880161117d565b91505092959194509250565b6112d281611755565b82525050565b6112e96112e482611755565b611814565b82525050565b6112f881611767565b82525050565b61130781611773565b82525050565b611316816117a7565b82525050565b6000611329601483611694565b915061133482611874565b602082019050919050565b600061134c602683611694565b91506113578261189d565b604082019050919050565b600061136f601483611694565b915061137a826118ec565b602082019050919050565b6000611392601083611694565b915061139d82611915565b602082019050919050565b60006113b5600f83611694565b91506113c08261193e565b602082019050919050565b60006113d8601f83611694565b91506113e382611967565b602082019050919050565b60006113fb602083611694565b915061140682611990565b602082019050919050565b600061141e601383611694565b9150611429826119b9565b602082019050919050565b6000611441602483611694565b915061144c826119e2565b604082019050919050565b6000611464601f83611694565b915061146f82611a31565b602082019050919050565b6114838161179d565b82525050565b600061149582846112d8565b60148201915081905092915050565b60006020820190506114b960008301846112c9565b92915050565b60006040820190506114d460008301856112c9565b6114e1602083018461147a565b9392505050565b60006020820190506114fd60008301846112ef565b92915050565b600060208201905061151860008301846112fe565b92915050565b6000602082019050611533600083018461130d565b92915050565b600060208201905081810360008301526115528161131c565b9050919050565b600060208201905081810360008301526115728161133f565b9050919050565b6000602082019050818103600083015261159281611362565b9050919050565b600060208201905081810360008301526115b281611385565b9050919050565b600060208201905081810360008301526115d2816113a8565b9050919050565b600060208201905081810360008301526115f2816113cb565b9050919050565b60006020820190508181036000830152611612816113ee565b9050919050565b6000602082019050818103600083015261163281611411565b9050919050565b6000602082019050818103600083015261165281611434565b9050919050565b6000602082019050818103600083015261167281611457565b9050919050565b600060208201905061168e600083018461147a565b92915050565b600082825260208201905092915050565b60006116b08261179d565b91506116bb8361179d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156116f0576116ef611838565b5b828201905092915050565b60006117068261179d565b91506117118361179d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561174a57611749611838565b5b828202905092915050565b60006117608261177d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006117b2826117b9565b9050919050565b60006117c48261177d565b9050919050565b60006117d68261179d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561180957611808611838565b5b600182019050919050565b600061181f82611826565b9050919050565b600061183182611867565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160601b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416c726561647920706172746963697061746564000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f416d6f756e742073686f756c642062652067726561746572207468616e203000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c6964204d696e74696e672046656500000000000000000000000000600082015250565b7f4f6e6c792031206d696e7420697320617661696c61626c6520666f722061697260008201527f64726f7000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611a6381611755565b8114611a6e57600080fd5b50565b611a7a81611767565b8114611a8557600080fd5b50565b611a9181611773565b8114611a9c57600080fd5b50565b611aa88161179d565b8114611ab357600080fd5b5056fea26469706673582212208d5d500f7a9585fe580f3fcc899ce4ea44248c0a056fda6561886fcbefc86c9764736f6c63430008040033

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.