ETH Price: $2,055.22 (-2.96%)

Contract

0x48b6E82f59Ca80B6Cd08E46be52d43A9c4b02Da0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Kill202893052024-07-12 8:43:59602 days ago1720773839IN
0x48b6E82f...9c4b02Da0
0 ETH0.000101383.57720521

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer202893052024-07-12 8:43:59602 days ago1720773839
0x48b6E82f...9c4b02Da0
0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
BALANCE

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-07-12
*/

// 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 {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"LgrgetNew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b0319163317905560f2806100316000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063398b510e14603457806341c0e1b514604c575b005b603a6052565b60405190815260200160405180910390f35b6032605c565b6000805a92915050565b6000546001600160a01b0316331460b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b32fffea26469706673582212206baa87ae17d70bbc77347ae1c8fb337e1d486e33123ba1a30d2f091324a625a564736f6c634300080a0033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c8063398b510e14603457806341c0e1b514604c575b005b603a6052565b60405190815260200160405180910390f35b6032605c565b6000805a92915050565b6000546001600160a01b0316331460b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b32fffea26469706673582212206baa87ae17d70bbc77347ae1c8fb337e1d486e33123ba1a30d2f091324a625a564736f6c634300080a0033

Deployed Bytecode Sourcemap

61:449:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;182:118;;;:::i;:::-;;;160:25:1;;;148:2;133:18;182:118:0;;;;;;;325:152;;;:::i;182:118::-;226:7;246:12;261:9;246:24;182:118;-1:-1:-1;;182:118:0:o;325:152::-;383:6;;-1:-1:-1;;;;;383:6:0;369:10;:20;361:65;;;;-1:-1:-1;;;361:65:0;;398:2:1;361:65:0;;;380:21:1;;;417:18;;;410:30;476:34;456:18;;;449:62;528:18;;361:65:0;;;;;;;;458:9;437:32

Swarm Source

ipfs://6baa87ae17d70bbc77347ae1c8fb337e1d486e33123ba1a30d2f091324a625a5

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.