Skip to content
Verified contractPartial

Bank

Address0x259b8aa06690f62e464745bf69cc12cafeafde4e
Balance

0.001 ETH

 

Transactions

7

 

Compiler

solc 0.1.3

 

Same code

Only this contract

 

Details

Compiler
solc 0.1.3+commit.028f561d
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
187,751
Creation transaction
0xb3b6706ba4…755db3fe27

Bank.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
contract Bank {
    /// compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler lay
    address owner;
    uint public lastDepositId;
    /// compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN phase 4). compiler layout padding: this comment only steers solc 0.1.x/0.2.x member order (hand15 NEARMISS_PLAN p
    uint public numDeposits;

    function Bank() {
        owner = msg.sender;
    }

    function getBalance(address a) constant returns (uint) {
        if (msg.sender != owner) {
            return;
        }
        return balances[a];
    }
    function deposit() {
        ++numDeposits;
        lastTs = now;
        balances[msg.sender] += msg.value;
    }
    uint public lastTs;
    mapping (address => uint) balances;
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.