Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 2 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x3476e2628006a7f74285c44b501437b415b08299at txn 0x091baded88d9858ff68f037245f33902e8d5cd77bfb6403f2678ab0228e82cf9
 Latest 2 txns

TxHash Age From To Value [TxFee]
0xcee0c2333438be10f1de753bb9222ebe3619fafbafa66fb011ee8277735fa1c2306 days 1 hr ago0x3476e2628006a7f74285c44b501437b415b08299  IN   0x95d34980095380851902ccd9a1fb4c813c2cb6391.000000346762534 Ether0.00031681
0x091baded88d9858ff68f037245f33902e8d5cd77bfb6403f2678ab0228e82cf9306 days 1 hr ago0x3476e2628006a7f74285c44b501437b415b08299  IN    Contract Creation0 Ether0.000815624


[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 14 Internal Transactions

ParentTxHash Block Age From To Value
0x9d19c476aba9eaae6628d8619b122d85a294ff47d9486a765e64a6488db599a05079597303 days 48 mins ago0x95d34980095380851902ccd9a1fb4c813c2cb6390xabb4b9b48ceaefc290464025bdd4ef324f8b23c42.400000346762534399 Ether
0x9d19c476aba9eaae6628d8619b122d85a294ff47d9486a765e64a6488db599a05079597303 days 48 mins ago0x95d34980095380851902ccd9a1fb4c813c2cb6390xabb4b9b48ceaefc290464025bdd4ef324f8b23c41 wei
0x9d19c476aba9eaae6628d8619b122d85a294ff47d9486a765e64a6488db599a05079597303 days 48 mins ago0x95d34980095380851902ccd9a1fb4c813c2cb6390xabb4b9b48ceaefc290464025bdd4ef324f8b23c41.0001 Ether
0x9d19c476aba9eaae6628d8619b122d85a294ff47d9486a765e64a6488db599a05079597303 days 48 mins ago0xabb4b9b48ceaefc290464025bdd4ef324f8b23c40x95d34980095380851902ccd9a1fb4c813c2cb6391.0001 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af00.4 Ether
0x56c436b949fb5483124e44c30b2e43b6cefed7d1d093d8244bbe66ae0fde18425079457303 days 1 hr ago0x6f49baef279f8c40d7479f5be6a9bbf5fc607af00x95d34980095380851902ccd9a1fb4c813c2cb6390.4 Ether
0xed5eaf959224dff10fb705e16af81017374f3f3856ada926571aa9f8ef8e0b635079425303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af01 Ether
0xed5eaf959224dff10fb705e16af81017374f3f3856ada926571aa9f8ef8e0b635079425303 days 1 hr ago0x95d34980095380851902ccd9a1fb4c813c2cb6390x6f49baef279f8c40d7479f5be6a9bbf5fc607af01 Ether
0xed5eaf959224dff10fb705e16af81017374f3f3856ada926571aa9f8ef8e0b635079425303 days 1 hr ago0x6f49baef279f8c40d7479f5be6a9bbf5fc607af00x95d34980095380851902ccd9a1fb4c813c2cb6391 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Private_Bank
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.19;

contract Private_Bank
{
    mapping (address => uint) public balances;
    
    uint public MinDeposit = 1 ether;
    
    Log TransferLog;
    
    function Private_Bank(address _log)
    {
        TransferLog = Log(_log);
    }
    
    function Deposit()
    public
    payable
    {
        if(msg.value >= MinDeposit)
        {
            balances[msg.sender]+=msg.value;
            TransferLog.AddMessage(msg.sender,msg.value,"Deposit");
        }
    }
    
    function CashOut(uint _am)
    {
        if(_am<=balances[msg.sender])
        {
            
            if(msg.sender.call.value(_am)())
            {
                balances[msg.sender]-=_am;
                TransferLog.AddMessage(msg.sender,_am,"CashOut");
            }
        }
    }
    
    function() public payable{}    
    
}

contract Log 
{
   
    struct Message
    {
        address Sender;
        string  Data;
        uint Val;
        uint  Time;
    }
    
    Message[] public History;
    
    Message LastMsg;
    
    function AddMessage(address _adr,uint _val,string _data)
    public
    {
        LastMsg.Sender = _adr;
        LastMsg.Time = now;
        LastMsg.Val = _val;
        LastMsg.Data = _data;
        History.push(LastMsg);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"MinDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_am","type":"uint256"}],"name":"CashOut","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"Deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[{"name":"_log","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6060604052670de0b6b3a7640000600155341561001b57600080fd5b6040516020806105228339810160405280805190602001909190505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061049a806100886000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806311bcd8301461006457806327e235e31461008d5780639ffa0711146100da578063ed21248c146100fd575b005b341561006f57600080fd5b610077610107565b6040518082815260200191505060405180910390f35b341561009857600080fd5b6100c4600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061010d565b6040518082815260200191505060405180910390f35b34156100e557600080fd5b6100fb6004808035906020019091905050610125565b005b610105610303565b005b60015481565b60006020528060005260406000206000915090505481565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481111515610300573373ffffffffffffffffffffffffffffffffffffffff168160405160006040518083038185876187965a03f192505050156102ff57806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c2f04a433836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200180602001828103825260078152602001807f436173684f7574000000000000000000000000000000000000000000000000008152506020019350505050600060405180830381600087803b15156102ea57600080fd5b6102c65a03f115156102fb57600080fd5b5050505b5b50565b6001543410151561046c57346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c2f04a433346040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200180602001828103825260078152602001807f4465706f736974000000000000000000000000000000000000000000000000008152506020019350505050600060405180830381600087803b151561045757600080fd5b6102c65a03f1151561046857600080fd5b5050505b5600a165627a7a723058200c0ba4aaf72a552e930e4406847884a17a862658ce48f787d955f5ca92acab340029000000000000000000000000f8681dad1ce4f1f414fb07fc07f81a3a82e91d8f

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f8681dad1ce4f1f414fb07fc07f81a3a82e91d8f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f8681dad1ce4f1f414fb07fc07f81a3a82e91d8f


   Swarm Source:
bzzr://0c0ba4aaf72a552e930e4406847884a17a862658ce48f787d955f5ca92acab34

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.