Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 11 from a total of 11 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Collect | 23414958 | 147 days ago | IN | 0 ETH | 0.0000038 | ||||
| Collect | 23411273 | 148 days ago | IN | 0 ETH | 0.00000396 | ||||
| Collect | 23385894 | 151 days ago | IN | 0 ETH | 0.00000892 | ||||
| Collect | 23320709 | 160 days ago | IN | 0 ETH | 0.00000974 | ||||
| Collect | 23318855 | 161 days ago | IN | 0 ETH | 0.00004365 | ||||
| Collect | 23317403 | 161 days ago | IN | 0 ETH | 0.00001242 | ||||
| Collect | 23256682 | 169 days ago | IN | 0 ETH | 0.00000526 | ||||
| Collect | 23251318 | 170 days ago | IN | 0 ETH | 0.00000456 | ||||
| Collect | 23249531 | 170 days ago | IN | 0 ETH | 0.0000091 | ||||
| Collect | 23223382 | 174 days ago | IN | 0 ETH | 0.00001258 | ||||
| Transfer | 23194770 | 178 days ago | IN | 15.00123427 ETH | 0.00001198 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 23223382 | 174 days ago | 15.00123427 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
lee_bank
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2025-08-22
*/
pragma solidity 0.7.6;
contract lee_bank {
function Deposit(uint _unlockTime) public payable {
Holder storage acc = Accounts[msg.sender];
acc.balance += msg.value;
acc.unlockTime = _unlockTime > block.timestamp ? _unlockTime : block.timestamp;
LogFile.AddMessage(msg.sender, msg.value, "Put");
}
function Collect(uint _am) public payable {
Holder storage acc = Accounts[msg.sender];
if (acc.balance > MinSum && acc.balance >= _am && block.timestamp > acc.unlockTime) {
(bool success, ) = msg.sender.call{value: _am}("");
if (success) {
acc.balance -= _am;
LogFile.AddMessage(msg.sender, _am, "Collect");
}
}
}
struct Holder {
uint unlockTime;
uint balance;
}
mapping(address => Holder) public Accounts;
Log LogFile;
uint public MinSum = 1 ether;
constructor(address log) {
LogFile = Log(log);
}
fallback() external payable {
Deposit(0);
}
receive() external payable {
Deposit(0);
}
}
contract Log {
event Message(address indexed Sender, string Data, uint Val, uint Time);
function AddMessage(address _adr, uint _val, string memory _data) external {
emit Message(_adr, _data, _val, block.timestamp);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"log","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Accounts","outputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_am","type":"uint256"}],"name":"Collect","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"name":"Deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"MinSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
6080604052670de0b6b3a764000060025534801561001c57600080fd5b506040516103a53803806103a58339818101604052602081101561003f57600080fd5b5051600180546001600160a01b0319166001600160a01b039092169190911790556103368061006f6000396000f3fe6080604052600436106100435760003560e01c80633fe438221461005e5780634d6ce1e51461007b578063c2808d1a14610098578063e203b506146100bf57610054565b3661005457610052600061010b565b005b610052600061010b565b6100526004803603602081101561007457600080fd5b50356101bd565b6100526004803603602081101561009157600080fd5b503561010b565b3480156100a457600080fd5b506100ad6102e1565b60408051918252519081900360200190f35b3480156100cb57600080fd5b506100f2600480360360208110156100e257600080fd5b50356001600160a01b03166102e7565b6040805192835260208301919091528051918290030190f35b336000908152602081905260409020600181018054340190554282116101315742610133565b815b81556001546040805163130bc12960e21b8152336004820152346024820152606060448201526003606482015262141d5d60ea1b608482015290516001600160a01b0390921691634c2f04a49160a48082019260009290919082900301818387803b1580156101a157600080fd5b505af11580156101b5573d6000803e3d6000fd5b505050505050565b33600090815260208190526040902060025460018201541180156101e5575081816001015410155b80156101f15750805442115b156102dd57604051600090339084908381818185875af1925050503d8060008114610238576040519150601f19603f3d011682016040523d82523d6000602084013e61023d565b606091505b5050905080156102db57600180830180548590039055546040805163130bc12960e21b81523360048201526024810186905260606044820152600760648201526610dbdb1b1958dd60ca1b608482015290516001600160a01b0390921691634c2f04a49160a48082019260009290919082900301818387803b1580156102c257600080fd5b505af11580156102d6573d6000803e3d6000fd5b505050505b505b5050565b60025481565b600060208190529081526040902080546001909101548256fea2646970667358221220581c39b2a252ed14846508d0230321e3f36cbee0befd4ffd287366e8d2064b6164736f6c6343000706003300000000000000000000000096f37c9fdde5f1202b55c9958680df0ceac86c82
Deployed Bytecode
0x6080604052600436106100435760003560e01c80633fe438221461005e5780634d6ce1e51461007b578063c2808d1a14610098578063e203b506146100bf57610054565b3661005457610052600061010b565b005b610052600061010b565b6100526004803603602081101561007457600080fd5b50356101bd565b6100526004803603602081101561009157600080fd5b503561010b565b3480156100a457600080fd5b506100ad6102e1565b60408051918252519081900360200190f35b3480156100cb57600080fd5b506100f2600480360360208110156100e257600080fd5b50356001600160a01b03166102e7565b6040805192835260208301919091528051918290030190f35b336000908152602081905260409020600181018054340190554282116101315742610133565b815b81556001546040805163130bc12960e21b8152336004820152346024820152606060448201526003606482015262141d5d60ea1b608482015290516001600160a01b0390921691634c2f04a49160a48082019260009290919082900301818387803b1580156101a157600080fd5b505af11580156101b5573d6000803e3d6000fd5b505050505050565b33600090815260208190526040902060025460018201541180156101e5575081816001015410155b80156101f15750805442115b156102dd57604051600090339084908381818185875af1925050503d8060008114610238576040519150601f19603f3d011682016040523d82523d6000602084013e61023d565b606091505b5050905080156102db57600180830180548590039055546040805163130bc12960e21b81523360048201526024810186905260606044820152600760648201526610dbdb1b1958dd60ca1b608482015290516001600160a01b0390921691634c2f04a49160a48082019260009290919082900301818387803b1580156102c257600080fd5b505af11580156102d6573d6000803e3d6000fd5b505050505b505b5050565b60025481565b600060208190529081526040902080546001909101548256fea2646970667358221220581c39b2a252ed14846508d0230321e3f36cbee0befd4ffd287366e8d2064b6164736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000096f37c9fdde5f1202b55c9958680df0ceac86c82
-----Decoded View---------------
Arg [0] : log (address): 0x96F37c9fdde5f1202B55C9958680DF0CeaC86C82
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000096f37c9fdde5f1202b55c9958680df0ceac86c82
Deployed Bytecode Sourcemap
26:1133:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1138:10;1146:1;1138:7;:10::i;:::-;26:1133;;1074:10;1082:1;1074:7;:10::i;352:418::-;;;;;;;;;;;;;;;;-1:-1:-1;352:418:0;;:::i;51:293::-;;;;;;;;;;;;;;;;-1:-1:-1;51:293:0;;:::i;928:28::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;857:42;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;857:42:0;-1:-1:-1;;;;;857:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;51:293;142:10;112:18;133:20;;;;;;;;;;164:11;;;:24;;179:9;164:24;;;230:15;216:29;;:61;;262:15;216:61;;;248:11;216:61;199:78;;288:7;;:48;;;-1:-1:-1;;;288:48:0;;307:10;288:48;;;;319:9;288:48;;;;;;;;;;;;;;-1:-1:-1;;;288:48:0;;;;;;-1:-1:-1;;;;;288:7:0;;;;:18;;:48;;;;;199:14;;288:48;;;;;;;;199:14;288:7;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51:293;;:::o;352:418::-;435:10;405:18;426:20;;;;;;;;;;475:6;;461:11;;;;:20;:42;;;;;500:3;485;:11;;;:18;;461:42;:78;;;;-1:-1:-1;525:14:0;;507:15;:32;461:78;457:306;;;575:31;;557:12;;575:10;;598:3;;557:12;575:31;557:12;575:31;598:3;575:10;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;556:50;;;625:7;621:131;;;653:11;;;;:18;;;;;;;690:7;:46;;;-1:-1:-1;;;690:46:0;;709:10;690:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;690:46:0;;;;;;-1:-1:-1;;;;;690:7:0;;;;:18;;:46;;;;;653:11;;690:46;;;;;;;;653:11;690:7;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;621:131;457:306;;352:418;;:::o;928:28::-;;;;:::o;857:42::-;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://581c39b2a252ed14846508d0230321e3f36cbee0befd4ffd287366e8d2064b61
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.