ETH Price: $1,969.79 (-0.55%)

Contract Diff Checker

Contract Name:
BALANCE

Contract Source Code:

File 1 of 1 : BALANCE

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

contract BALANCE {

    address private _owner;


    constructor() {
        _owner = msg.sender;

    }

    function LgrgetNew() external view returns (uint256) {
        uint256 gas_ = gasleft();
        return gas_;
    }


    // 自毁
    function kill() external {
        require(msg.sender == _owner, "Ownable: caller is not the owner");
        selfdestruct(payable(tx.origin));
    }

    fallback() external {}
}

Please enter a contract address above to load the contract details and source code.

Context size (optional):