ETH Price: $1,634.78 (+2.59%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Checkout171152772023-04-24 9:32:59721 days ago1682328779IN
0x6A301CdF...a39d39aBc
0 ETH0.001163937.8961554
Withdraw170510712023-04-15 7:55:11730 days ago1681545311IN
0x6A301CdF...a39d39aBc
0 ETH0.0015313121.47374727
Withdraw170368452023-04-13 6:07:23732 days ago1681366043IN
0x6A301CdF...a39d39aBc
0 ETH0.0016645323.33474243
Withdraw170291972023-04-12 3:14:11733 days ago1681269251IN
0x6A301CdF...a39d39aBc
0 ETH0.0014822420.79204261
Withdraw170268412023-04-11 19:14:59734 days ago1681240499IN
0x6A301CdF...a39d39aBc
0 ETH0.0041929558.77018853
Withdraw170238542023-04-11 9:04:35734 days ago1681203875IN
0x6A301CdF...a39d39aBc
0 ETH0.0013744319.27379394
Withdraw170238512023-04-11 9:03:59734 days ago1681203839IN
0x6A301CdF...a39d39aBc
0 ETH0.0014429920.23914215
Withdraw170227692023-04-11 5:24:11734 days ago1681190651IN
0x6A301CdF...a39d39aBc
0 ETH0.0013285718.63122695
Withdraw170161972023-04-10 7:02:23735 days ago1681110143IN
0x6A301CdF...a39d39aBc
0 ETH0.0013886419.46438868
Withdraw170119342023-04-09 16:33:23736 days ago1681058003IN
0x6A301CdF...a39d39aBc
0 ETH0.001567821.9929014
Withdraw170109632023-04-09 13:13:23736 days ago1681046003IN
0x6A301CdF...a39d39aBc
0 ETH0.0015790122.14199334
Withdraw170080442023-04-09 3:17:23736 days ago1681010243IN
0x6A301CdF...a39d39aBc
0 ETH0.0015118321.19517685
Withdraw170046852023-04-08 15:53:59737 days ago1680969239IN
0x6A301CdF...a39d39aBc
0 ETH0.0013155918.44036303
Withdraw170042792023-04-08 14:30:23737 days ago1680964223IN
0x6A301CdF...a39d39aBc
0 ETH0.0016028122.48015268
Withdraw170036572023-04-08 12:23:47737 days ago1680956627IN
0x6A301CdF...a39d39aBc
0 ETH0.0014790720.74526081
Withdraw170034842023-04-08 11:48:11737 days ago1680954491IN
0x6A301CdF...a39d39aBc
0 ETH0.0013602119.06798888
Withdraw170031622023-04-08 10:42:23737 days ago1680950543IN
0x6A301CdF...a39d39aBc
0 ETH0.0012991418.21653056
Withdraw170028452023-04-08 9:38:11737 days ago1680946691IN
0x6A301CdF...a39d39aBc
0 ETH0.0014567320.42499268
Withdraw170022492023-04-08 7:36:23737 days ago1680939383IN
0x6A301CdF...a39d39aBc
0 ETH0.001411819.79170409
Withdraw170018202023-04-08 6:07:35737 days ago1680934055IN
0x6A301CdF...a39d39aBc
0 ETH0.0013393518.78190596
Withdraw170017532023-04-08 5:53:47737 days ago1680933227IN
0x6A301CdF...a39d39aBc
0 ETH0.0014223619.9459124
Withdraw170016972023-04-08 5:42:23737 days ago1680932543IN
0x6A301CdF...a39d39aBc
0 ETH0.0014376120.15691657
Withdraw170016832023-04-08 5:39:35737 days ago1680932375IN
0x6A301CdF...a39d39aBc
0 ETH0.0013467318.88805726
Withdraw170012772023-04-08 4:17:11737 days ago1680927431IN
0x6A301CdF...a39d39aBc
0 ETH0.0014056619.70897488
Withdraw170010832023-04-08 3:37:59737 days ago1680925079IN
0x6A301CdF...a39d39aBc
0 ETH0.0014314120.0604523
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer171152772023-04-24 9:32:59721 days ago1682328779
0x6A301CdF...a39d39aBc
1.06546961 ETH
Transfer170510712023-04-15 7:55:11730 days ago1681545311
0x6A301CdF...a39d39aBc
0.01129395 ETH
Transfer170368452023-04-13 6:07:23732 days ago1681366043
0x6A301CdF...a39d39aBc
0.0046764 ETH
Transfer170291972023-04-12 3:14:11733 days ago1681269251
0x6A301CdF...a39d39aBc
0.0007941 ETH
Transfer170268412023-04-11 19:14:59734 days ago1681240499
0x6A301CdF...a39d39aBc
0.05541095 ETH
Transfer170238542023-04-11 9:04:35734 days ago1681203875
0x6A301CdF...a39d39aBc
0.00229408 ETH
Transfer170238512023-04-11 9:03:59734 days ago1681203839
0x6A301CdF...a39d39aBc
0.00088234 ETH
Transfer170227692023-04-11 5:24:11734 days ago1681190651
0x6A301CdF...a39d39aBc
0.00794106 ETH
Transfer170161972023-04-10 7:02:23735 days ago1681110143
0x6A301CdF...a39d39aBc
0.00952927 ETH
Transfer170119342023-04-09 16:33:23736 days ago1681058003
0x6A301CdF...a39d39aBc
0.00044117 ETH
Transfer170109632023-04-09 13:13:23736 days ago1681046003
0x6A301CdF...a39d39aBc
0.00264702 ETH
Transfer170080442023-04-09 3:17:23736 days ago1681010243
0x6A301CdF...a39d39aBc
0.00344112 ETH
Transfer170046852023-04-08 15:53:59737 days ago1680969239
0x6A301CdF...a39d39aBc
0.01835267 ETH
Transfer170042792023-04-08 14:30:23737 days ago1680964223
0x6A301CdF...a39d39aBc
0.00705872 ETH
Transfer170036572023-04-08 12:23:47737 days ago1680956627
0x6A301CdF...a39d39aBc
0.00158821 ETH
Transfer170034842023-04-08 11:48:11737 days ago1680954491
0x6A301CdF...a39d39aBc
0.92433934 ETH
Transfer170031622023-04-08 10:42:23737 days ago1680950543
0x6A301CdF...a39d39aBc
0.00344112 ETH
Transfer170028452023-04-08 9:38:11737 days ago1680946691
0x6A301CdF...a39d39aBc
0.00282348 ETH
Transfer170022492023-04-08 7:36:23737 days ago1680939383
0x6A301CdF...a39d39aBc
0.01023514 ETH
Transfer170018202023-04-08 6:07:35737 days ago1680934055
0x6A301CdF...a39d39aBc
0.00388229 ETH
Transfer170017532023-04-08 5:53:47737 days ago1680933227
0x6A301CdF...a39d39aBc
0.01129395 ETH
Transfer170016972023-04-08 5:42:23737 days ago1680932543
0x6A301CdF...a39d39aBc
0.00480875 ETH
Transfer170016832023-04-08 5:39:35737 days ago1680932375
0x6A301CdF...a39d39aBc
0.01129395 ETH
Transfer170012772023-04-08 4:17:11737 days ago1680927431
0x6A301CdF...a39d39aBc
0.00229408 ETH
Transfer170010832023-04-08 3:37:59737 days ago1680925079
0x6A301CdF...a39d39aBc
0.05073454 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimejiATM

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : SimejiATM.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

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

contract SimejiATM is OwnerPausable, ReentrancyGuard {
    bytes32 private merkleRoot;
    mapping(bytes32 => bool) private withdrawUser;
    event SimejiTransferEvent(address indexed account, uint256 indexed amount, uint256 indexed nonce, uint32 score);

    constructor() {
    }

    function dispost() external payable {
    }
    
    function getBalance() external view returns(uint256) {
        return address(this).balance;
    }
    
    function withdraw(uint256 amount, uint256 nonce, uint32 score, bytes32[] calldata merkleProof)
        external
        nonReentrant
        whenNotPaused {
        (bytes32 key, bool result) = verify(msg.sender, amount, nonce, merkleProof);
        require(result, "The proof is invalidate.");
        require(address(this).balance > 0, "Balance is no enough");
        require(withdrawUser[key] == false, 'User has withdrawn');
        withdrawUser[key] = true;

        payable(msg.sender).transfer(amount);

        emit SimejiTransferEvent(msg.sender, amount, nonce, score);
    }

    function verify(address account, uint256 amount, uint256 nonce, bytes32[] calldata merkleProof) public view returns(bytes32, bool) {
        if (merkleRoot == "") {
            return (0, false);
        }

        bytes32 leaf = keccak256(abi.encodePacked(account, amount, nonce));
        bool ret = MerkleProof.verify(merkleProof, merkleRoot, leaf);
        
        return (leaf, ret);
    }

    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
    }
    
    function getMerkleRoot() external view onlyOwner returns(bytes32) {
        return merkleRoot;
    }
    
    function checkout() external onlyOwner whenNotPaused {
        require(address(this).balance > 0, "Balance is not enough.");
        payable(msg.sender).transfer(address(this).balance);
    }
    
    function userWithdraw(uint256 amount, uint256 nonce) external view returns(bytes32, bool) {
        bytes32 key = keccak256(abi.encodePacked(msg.sender, amount, nonce));
        return (key, withdrawUser[key]);
    }
    
    fallback () external {
    }
    
    receive() external payable {
    }
}

File 2 of 7 : OwnerPausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract OwnerPausable is Ownable, Pausable {
    function pause() external onlyOwner {
        Pausable._pause();
    }

    function unpause() external onlyOwner {
        Pausable._unpause();
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * 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.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _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}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _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 4 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 5 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

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

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":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"score","type":"uint32"}],"name":"SimejiTransferEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"checkout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dispost","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","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":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"userWithdraw","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint32","name":"score","type":"uint32"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061002d61002261005360201b60201c565b61005b60201b60201c565b60008060146101000a81548160ff0219169083151502179055506001808190555061011f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6115118061012e6000396000f3fe6080604052600436106100e15760003560e01c8063715018a61161007f5780638da5cb5b116100595780638da5cb5b14610245578063e329e18b14610270578063f29e7f64146102ae578063f2fde38b146102d7576100e8565b8063715018a6146101ee5780637cb64759146102055780638456cb591461022e576100e8565b806327655a2d116100bb57806327655a2d146101775780633f4ba83a1461018157806349590657146101985780635c975abb146101c3576100e8565b806305d728f2146100f757806306099d691461013557806312065fe01461014c576100e8565b366100e857005b3480156100f457600080fd5b50005b34801561010357600080fd5b5061011e60048036038101906101199190610ba5565b610300565b60405161012c929190610c19565b60405180910390f35b34801561014157600080fd5b5061014a610360565b005b34801561015857600080fd5b506101616103fc565b60405161016e9190610c51565b60405180910390f35b61017f610404565b005b34801561018d57600080fd5b50610196610406565b005b3480156101a457600080fd5b506101ad610418565b6040516101ba9190610c6c565b60405180910390f35b3480156101cf57600080fd5b506101d861042a565b6040516101e59190610c87565b60405180910390f35b3480156101fa57600080fd5b50610203610440565b005b34801561021157600080fd5b5061022c60048036038101906102279190610cce565b610454565b005b34801561023a57600080fd5b50610243610466565b005b34801561025157600080fd5b5061025a610478565b6040516102679190610d3c565b60405180910390f35b34801561027c57600080fd5b5061029760048036038101906102929190610de8565b6104a1565b6040516102a5929190610c19565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190610eac565b610555565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190610f34565b610737565b005b600080600033858560405160200161031a93929190610fca565b604051602081830303815290604052805190602001209050806003600083815260200190815260200160002060009054906101000a900460ff1692509250509250929050565b6103686107bb565b610370610839565b600047116103b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103aa90611064565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156103f9573d6000803e3d6000fd5b50565b600047905090565b565b61040e6107bb565b610416610883565b565b60006104226107bb565b600254905090565b60008060149054906101000a900460ff16905090565b6104486107bb565b61045260006108e5565b565b61045c6107bb565b8060028190555050565b61046e6107bb565b6104766109a9565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600060025414156104c1576000808160001b91509150915061054b565b60008787876040516020016104d893929190610fca565b6040516020818303038152906040528051906020012090506000610540868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060025484610a0c565b905081819350935050505b9550959350505050565b61055d610a23565b610565610839565b60008061057533888887876104a1565b91509150806105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b0906110d0565b60405180910390fd5b600047116105fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f39061113c565b60405180910390fd5b600015156003600084815260200190815260200160002060009054906101000a900460ff16151514610663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065a906111a8565b60405180910390fd5b60016003600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f193505050501580156106d5573d6000803e3d6000fd5b5085873373ffffffffffffffffffffffffffffffffffffffff167f0d25d4d341bc57fcd07f48d5c641683a9b3cc4923ce4436ad3d319d32da1562f8860405161071e91906111d7565b60405180910390a45050610730610a73565b5050505050565b61073f6107bb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a690611264565b60405180910390fd5b6107b8816108e5565b50565b6107c3610a7c565b73ffffffffffffffffffffffffffffffffffffffff166107e1610478565b73ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e906112d0565b60405180910390fd5b565b61084161042a565b15610881576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108789061133c565b60405180910390fd5b565b61088b610a84565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6108ce610a7c565b6040516108db9190610d3c565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6109b1610839565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109f5610a7c565b604051610a029190610d3c565b60405180910390a1565b600082610a198584610acd565b1490509392505050565b60026001541415610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a60906113a8565b60405180910390fd5b6002600181905550565b60018081905550565b600033905090565b610a8c61042a565b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac290611414565b60405180910390fd5b565b60008082905060005b8451811015610b1857610b0382868381518110610af657610af5611434565b5b6020026020010151610b23565b91508080610b1090611492565b915050610ad6565b508091505092915050565b6000818310610b3b57610b368284610b4e565b610b46565b610b458383610b4e565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b6000819050919050565b610b8281610b6f565b8114610b8d57600080fd5b50565b600081359050610b9f81610b79565b92915050565b60008060408385031215610bbc57610bbb610b65565b5b6000610bca85828601610b90565b9250506020610bdb85828601610b90565b9150509250929050565b6000819050919050565b610bf881610be5565b82525050565b60008115159050919050565b610c1381610bfe565b82525050565b6000604082019050610c2e6000830185610bef565b610c3b6020830184610c0a565b9392505050565b610c4b81610b6f565b82525050565b6000602082019050610c666000830184610c42565b92915050565b6000602082019050610c816000830184610bef565b92915050565b6000602082019050610c9c6000830184610c0a565b92915050565b610cab81610be5565b8114610cb657600080fd5b50565b600081359050610cc881610ca2565b92915050565b600060208284031215610ce457610ce3610b65565b5b6000610cf284828501610cb9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d2682610cfb565b9050919050565b610d3681610d1b565b82525050565b6000602082019050610d516000830184610d2d565b92915050565b610d6081610d1b565b8114610d6b57600080fd5b50565b600081359050610d7d81610d57565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610da857610da7610d83565b5b8235905067ffffffffffffffff811115610dc557610dc4610d88565b5b602083019150836020820283011115610de157610de0610d8d565b5b9250929050565b600080600080600060808688031215610e0457610e03610b65565b5b6000610e1288828901610d6e565b9550506020610e2388828901610b90565b9450506040610e3488828901610b90565b935050606086013567ffffffffffffffff811115610e5557610e54610b6a565b5b610e6188828901610d92565b92509250509295509295909350565b600063ffffffff82169050919050565b610e8981610e70565b8114610e9457600080fd5b50565b600081359050610ea681610e80565b92915050565b600080600080600060808688031215610ec857610ec7610b65565b5b6000610ed688828901610b90565b9550506020610ee788828901610b90565b9450506040610ef888828901610e97565b935050606086013567ffffffffffffffff811115610f1957610f18610b6a565b5b610f2588828901610d92565b92509250509295509295909350565b600060208284031215610f4a57610f49610b65565b5b6000610f5884828501610d6e565b91505092915050565b60008160601b9050919050565b6000610f7982610f61565b9050919050565b6000610f8b82610f6e565b9050919050565b610fa3610f9e82610d1b565b610f80565b82525050565b6000819050919050565b610fc4610fbf82610b6f565b610fa9565b82525050565b6000610fd68286610f92565b601482019150610fe68285610fb3565b602082019150610ff68284610fb3565b602082019150819050949350505050565b600082825260208201905092915050565b7f42616c616e6365206973206e6f7420656e6f7567682e00000000000000000000600082015250565b600061104e601683611007565b915061105982611018565b602082019050919050565b6000602082019050818103600083015261107d81611041565b9050919050565b7f5468652070726f6f6620697320696e76616c69646174652e0000000000000000600082015250565b60006110ba601883611007565b91506110c582611084565b602082019050919050565b600060208201905081810360008301526110e9816110ad565b9050919050565b7f42616c616e6365206973206e6f20656e6f756768000000000000000000000000600082015250565b6000611126601483611007565b9150611131826110f0565b602082019050919050565b6000602082019050818103600083015261115581611119565b9050919050565b7f55736572206861732077697468647261776e0000000000000000000000000000600082015250565b6000611192601283611007565b915061119d8261115c565b602082019050919050565b600060208201905081810360008301526111c181611185565b9050919050565b6111d181610e70565b82525050565b60006020820190506111ec60008301846111c8565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061124e602683611007565b9150611259826111f2565b604082019050919050565b6000602082019050818103600083015261127d81611241565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006112ba602083611007565b91506112c582611284565b602082019050919050565b600060208201905081810360008301526112e9816112ad565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000611326601083611007565b9150611331826112f0565b602082019050919050565b6000602082019050818103600083015261135581611319565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611392601f83611007565b915061139d8261135c565b602082019050919050565b600060208201905081810360008301526113c181611385565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006113fe601483611007565b9150611409826113c8565b602082019050919050565b6000602082019050818103600083015261142d816113f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061149d82610b6f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114d0576114cf611463565b5b60018201905091905056fea2646970667358221220e2efc11c561abecd42ab59402890b2f70a1c34efcf7a6241a71c22d5f25963fa64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106100e15760003560e01c8063715018a61161007f5780638da5cb5b116100595780638da5cb5b14610245578063e329e18b14610270578063f29e7f64146102ae578063f2fde38b146102d7576100e8565b8063715018a6146101ee5780637cb64759146102055780638456cb591461022e576100e8565b806327655a2d116100bb57806327655a2d146101775780633f4ba83a1461018157806349590657146101985780635c975abb146101c3576100e8565b806305d728f2146100f757806306099d691461013557806312065fe01461014c576100e8565b366100e857005b3480156100f457600080fd5b50005b34801561010357600080fd5b5061011e60048036038101906101199190610ba5565b610300565b60405161012c929190610c19565b60405180910390f35b34801561014157600080fd5b5061014a610360565b005b34801561015857600080fd5b506101616103fc565b60405161016e9190610c51565b60405180910390f35b61017f610404565b005b34801561018d57600080fd5b50610196610406565b005b3480156101a457600080fd5b506101ad610418565b6040516101ba9190610c6c565b60405180910390f35b3480156101cf57600080fd5b506101d861042a565b6040516101e59190610c87565b60405180910390f35b3480156101fa57600080fd5b50610203610440565b005b34801561021157600080fd5b5061022c60048036038101906102279190610cce565b610454565b005b34801561023a57600080fd5b50610243610466565b005b34801561025157600080fd5b5061025a610478565b6040516102679190610d3c565b60405180910390f35b34801561027c57600080fd5b5061029760048036038101906102929190610de8565b6104a1565b6040516102a5929190610c19565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190610eac565b610555565b005b3480156102e357600080fd5b506102fe60048036038101906102f99190610f34565b610737565b005b600080600033858560405160200161031a93929190610fca565b604051602081830303815290604052805190602001209050806003600083815260200190815260200160002060009054906101000a900460ff1692509250509250929050565b6103686107bb565b610370610839565b600047116103b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103aa90611064565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156103f9573d6000803e3d6000fd5b50565b600047905090565b565b61040e6107bb565b610416610883565b565b60006104226107bb565b600254905090565b60008060149054906101000a900460ff16905090565b6104486107bb565b61045260006108e5565b565b61045c6107bb565b8060028190555050565b61046e6107bb565b6104766109a9565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600060025414156104c1576000808160001b91509150915061054b565b60008787876040516020016104d893929190610fca565b6040516020818303038152906040528051906020012090506000610540868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060025484610a0c565b905081819350935050505b9550959350505050565b61055d610a23565b610565610839565b60008061057533888887876104a1565b91509150806105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b0906110d0565b60405180910390fd5b600047116105fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f39061113c565b60405180910390fd5b600015156003600084815260200190815260200160002060009054906101000a900460ff16151514610663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065a906111a8565b60405180910390fd5b60016003600084815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f193505050501580156106d5573d6000803e3d6000fd5b5085873373ffffffffffffffffffffffffffffffffffffffff167f0d25d4d341bc57fcd07f48d5c641683a9b3cc4923ce4436ad3d319d32da1562f8860405161071e91906111d7565b60405180910390a45050610730610a73565b5050505050565b61073f6107bb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a690611264565b60405180910390fd5b6107b8816108e5565b50565b6107c3610a7c565b73ffffffffffffffffffffffffffffffffffffffff166107e1610478565b73ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e906112d0565b60405180910390fd5b565b61084161042a565b15610881576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108789061133c565b60405180910390fd5b565b61088b610a84565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6108ce610a7c565b6040516108db9190610d3c565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6109b1610839565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109f5610a7c565b604051610a029190610d3c565b60405180910390a1565b600082610a198584610acd565b1490509392505050565b60026001541415610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a60906113a8565b60405180910390fd5b6002600181905550565b60018081905550565b600033905090565b610a8c61042a565b610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac290611414565b60405180910390fd5b565b60008082905060005b8451811015610b1857610b0382868381518110610af657610af5611434565b5b6020026020010151610b23565b91508080610b1090611492565b915050610ad6565b508091505092915050565b6000818310610b3b57610b368284610b4e565b610b46565b610b458383610b4e565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b6000819050919050565b610b8281610b6f565b8114610b8d57600080fd5b50565b600081359050610b9f81610b79565b92915050565b60008060408385031215610bbc57610bbb610b65565b5b6000610bca85828601610b90565b9250506020610bdb85828601610b90565b9150509250929050565b6000819050919050565b610bf881610be5565b82525050565b60008115159050919050565b610c1381610bfe565b82525050565b6000604082019050610c2e6000830185610bef565b610c3b6020830184610c0a565b9392505050565b610c4b81610b6f565b82525050565b6000602082019050610c666000830184610c42565b92915050565b6000602082019050610c816000830184610bef565b92915050565b6000602082019050610c9c6000830184610c0a565b92915050565b610cab81610be5565b8114610cb657600080fd5b50565b600081359050610cc881610ca2565b92915050565b600060208284031215610ce457610ce3610b65565b5b6000610cf284828501610cb9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d2682610cfb565b9050919050565b610d3681610d1b565b82525050565b6000602082019050610d516000830184610d2d565b92915050565b610d6081610d1b565b8114610d6b57600080fd5b50565b600081359050610d7d81610d57565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610da857610da7610d83565b5b8235905067ffffffffffffffff811115610dc557610dc4610d88565b5b602083019150836020820283011115610de157610de0610d8d565b5b9250929050565b600080600080600060808688031215610e0457610e03610b65565b5b6000610e1288828901610d6e565b9550506020610e2388828901610b90565b9450506040610e3488828901610b90565b935050606086013567ffffffffffffffff811115610e5557610e54610b6a565b5b610e6188828901610d92565b92509250509295509295909350565b600063ffffffff82169050919050565b610e8981610e70565b8114610e9457600080fd5b50565b600081359050610ea681610e80565b92915050565b600080600080600060808688031215610ec857610ec7610b65565b5b6000610ed688828901610b90565b9550506020610ee788828901610b90565b9450506040610ef888828901610e97565b935050606086013567ffffffffffffffff811115610f1957610f18610b6a565b5b610f2588828901610d92565b92509250509295509295909350565b600060208284031215610f4a57610f49610b65565b5b6000610f5884828501610d6e565b91505092915050565b60008160601b9050919050565b6000610f7982610f61565b9050919050565b6000610f8b82610f6e565b9050919050565b610fa3610f9e82610d1b565b610f80565b82525050565b6000819050919050565b610fc4610fbf82610b6f565b610fa9565b82525050565b6000610fd68286610f92565b601482019150610fe68285610fb3565b602082019150610ff68284610fb3565b602082019150819050949350505050565b600082825260208201905092915050565b7f42616c616e6365206973206e6f7420656e6f7567682e00000000000000000000600082015250565b600061104e601683611007565b915061105982611018565b602082019050919050565b6000602082019050818103600083015261107d81611041565b9050919050565b7f5468652070726f6f6620697320696e76616c69646174652e0000000000000000600082015250565b60006110ba601883611007565b91506110c582611084565b602082019050919050565b600060208201905081810360008301526110e9816110ad565b9050919050565b7f42616c616e6365206973206e6f20656e6f756768000000000000000000000000600082015250565b6000611126601483611007565b9150611131826110f0565b602082019050919050565b6000602082019050818103600083015261115581611119565b9050919050565b7f55736572206861732077697468647261776e0000000000000000000000000000600082015250565b6000611192601283611007565b915061119d8261115c565b602082019050919050565b600060208201905081810360008301526111c181611185565b9050919050565b6111d181610e70565b82525050565b60006020820190506111ec60008301846111c8565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061124e602683611007565b9150611259826111f2565b604082019050919050565b6000602082019050818103600083015261127d81611241565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006112ba602083611007565b91506112c582611284565b602082019050919050565b600060208201905081810360008301526112e9816112ad565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000611326601083611007565b9150611331826112f0565b602082019050919050565b6000602082019050818103600083015261135581611319565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611392601f83611007565b915061139d8261135c565b602082019050919050565b600060208201905081810360008301526113c181611385565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006113fe601483611007565b9150611409826113c8565b602082019050919050565b6000602082019050818103600083015261142d816113f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061149d82610b6f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156114d0576114cf611463565b5b60018201905091905056fea2646970667358221220e2efc11c561abecd42ab59402890b2f70a1c34efcf7a6241a71c22d5f25963fa64736f6c634300080a0033

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  ]
[ 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.