Source Code
Latest 6 from a total of 6 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Ownersh... | 9283095 | 2126 days ago | IN | 0 ETH | 0.00011298 | ||||
| Claim | 9283095 | 2126 days ago | IN | 0 ETH | 0.0000759 | ||||
| Transfer | 4672023 | 2898 days ago | IN | 0.000002 ETH | 0.0004208 | ||||
| Claim | 4457148 | 2933 days ago | IN | 0 ETH | 0.0001247 | ||||
| Transfer | 4443788 | 2935 days ago | IN | 0.07234554 ETH | 0.000441 | ||||
| Transfer | 4443345 | 2935 days ago | IN | 6.7 ETH | 0.000084 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
To
|
|||
|---|---|---|---|---|---|---|---|
| Transfer | 4457148 | 2933 days ago | 6.77234554 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SimpleWallet
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2017-10-30
*/
pragma solidity ^0.4.11;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev The Ownable constructor sets the original `owner` of the contract to the sender
* account.
*/
function Ownable() {
owner = msg.sender;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
/**
* @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
function transferOwnership(address newOwner) onlyOwner public {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
contract SimpleWallet is Ownable {
function () public payable {
}
function weiBalance() public constant returns(uint256) {
return this.balance;
}
function claim(address destination) public onlyOwner {
destination.transfer(this.balance);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"name":"destination","type":"address"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]Contract Creation Code
606060405260008054600160a060020a033316600160a060020a0319909116179055610234806100306000396000f3006060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631e83409a81146100635780632969d202146100825780638da5cb5b146100a7578063f2fde38b146100d6575b005b341561006e57600080fd5b610061600160a060020a03600435166100f5565b341561008d57600080fd5b610095610150565b60405190815260200160405180910390f35b34156100b257600080fd5b6100ba61015e565b604051600160a060020a03909116815260200160405180910390f35b34156100e157600080fd5b610061600160a060020a036004351661016d565b60005433600160a060020a0390811691161461011057600080fd5b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561014d57600080fd5b50565b600160a060020a0330163190565b600054600160a060020a031681565b60005433600160a060020a0390811691161461018857600080fd5b600160a060020a038116151561019d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058207aea7475efebdd6555f69c584caa7e634658120d5b5cc7a0325da4c218045b6f0029
Deployed Bytecode
0x6060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631e83409a81146100635780632969d202146100825780638da5cb5b146100a7578063f2fde38b146100d6575b005b341561006e57600080fd5b610061600160a060020a03600435166100f5565b341561008d57600080fd5b610095610150565b60405190815260200160405180910390f35b34156100b257600080fd5b6100ba61015e565b604051600160a060020a03909116815260200160405180910390f35b34156100e157600080fd5b610061600160a060020a036004351661016d565b60005433600160a060020a0390811691161461011057600080fd5b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561014d57600080fd5b50565b600160a060020a0330163190565b600054600160a060020a031681565b60005433600160a060020a0390811691161461018857600080fd5b600160a060020a038116151561019d57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058207aea7475efebdd6555f69c584caa7e634658120d5b5cc7a0325da4c218045b6f0029
Swarm Source
bzzr://7aea7475efebdd6555f69c584caa7e634658120d5b5cc7a0325da4c218045b6f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $3,619.72 | 0.000002 | $0.007239 |
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.