Address Contract Partially Verified
Address
0xac83EdFD549ca5eAF55b21FE936Dd9529403152a
Balance
0 ETH
Nonce
1
Code Size
506 bytes
Creator
0x018c3457...dF6E at tx 0x6d167ce9...56b7a8
Last Active
Indexed Transactions
9 (10,611,424 → 10,736,491)
Value (indexed)
↓ 0.160981 ETH
Gas Used (indexed)
201,360
Contract Bytecode
506 bytes
0x6060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166349649fbf81146100955780638da5cb5b146100bc578063c1075329146100eb575b33600160a060020a03167ff32a9f77675fd5917534c7746608fd3e309eac68fbdcbf5925e24ca97a7043963460405190815260200160405180910390a2005b34156100a057600080fd5b6100a861010d565b604051901515815260200160405180910390f35b34156100c757600080fd5b6100cf610139565b604051600160a060020a03909116815260200160405180910390f35b34156100f657600080fd5b6100a8600160a060020a0360043516602435610148565b6000805433600160a060020a0390811691161461012957600080fd5b610134336000610148565b905090565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461016457600080fd5b600160a060020a033016318290106101c45781151561018b5730600160a060020a03163191505b600160a060020a03831682156108fc0283604051600060405180830381858888f1935050505015156101bc57600080fd5b5060016101c8565b5060005b929150505600a165627a7a72305820ff12333a79ecbbd352d581544d7b1f802d2dd615b9cabc2ec8123c5c4e7ede890029
Verified Source Code Partial Match
Compiler: v0.4.20+commit.3155dd80
Optimization: Yes (200 runs)
Merchant.sol 50 lines
pragma solidity ^0.4.18;
contract Merchant {
// Владелец контракта
address public owner;
// Публичные уведомления клиента о переводе
event ReceiveEther(address indexed from, uint256 value);
/**
* Модификатор только владелец
*/
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
/**
* Конструктор определяет владельца контракта
*/
function Merchant() public {
owner = msg.sender;
}
/**
* Обработчик входящих платежей
*/
function () public payable {
ReceiveEther(msg.sender, msg.value);
}
/**
* Снятие произвольной суммы на произвольный адрес, только для владельца
*/
function withdrawFunds(address withdrawAddress, uint256 amount) onlyOwner public returns (bool) {
if(this.balance >= amount) {
if(amount == 0) amount = this.balance;
withdrawAddress.transfer(amount);
return true;
}
return false;
}
/**
* Снятие всех средств на адрес владельца контракта
*/
function withdrawAllFunds() onlyOwner public returns (bool) {
return withdrawFunds(msg.sender, 0);
}
}
Read Contract
owner 0x8da5cb5b → address
Write Contract 2 functions
These functions modify contract state and require a wallet transaction to execute.
withdrawAllFunds 0x49649fbf
No parameters
returns: bool
withdrawFunds 0xc1075329
address withdrawAddress
uint256 amount
returns: bool
Top Interactions
| Address | Txns | Sent | Received |
|---|---|---|---|
| 0xDE365950...5B57 | 2 | 2 | |
| 0xe2376F3a...1C07 | 2 | 2 | |
| 0xA1900910...F238 | 2 | 2 | |
| 0x18c0aB2f...1E5B | 1 | 1 | |
| 0x868f1198...662D | 1 | 1 | |
| 0x14aE11d4...83F0 | 1 | 1 |
Token Balances (1)
View Transfers →Recent Transactions
|
| Hash | Block | Age | From/To | Value | |
|---|---|---|---|---|---|
| 0x7ef86581...83b6b8 | 10,736,491 | IN | 0xDE365950...5B57 | 0.028102 ETH | |
| 0xa7092f53...20796f | 10,734,642 | IN | 0x14aE11d4...83F0 | 0.003521 ETH | |
| 0x4cee67df...cb10ce | 10,729,210 | IN | 0xDE365950...5B57 | 0.033883 ETH | |
| 0xea4d4d7d...29d1c8 | 10,703,489 | IN | 0x18c0aB2f...1E5B | 0.005044 ETH | |
| 0x1c59fa41...737f61 | 10,700,449 | IN | 0xA1900910...F238 | 0.046213 ETH | |
| 0x6d21eb09...831587 | 10,626,873 | IN | 0xe2376F3a...1C07 | 0.005140 ETH | |
| 0x1f6c5fa6...56a343 Fail | 10,626,834 | IN | 0xe2376F3a...1C07 | 0.002568 ETH | |
| 0xd5d2bea1...75aa35 | 10,620,756 | IN | 0xA1900910...F238 | 0.024359 ETH | |
| 0x4a790152...02975b | 10,611,424 | IN | 0x868f1198...662D | 0.012151 ETH |