Verified contractPartial
PoloniexDeposit
Address0x39a6ac6f0f9f7f04ed84aed32eecbe4064d8cd96
- Balance
0 ETH
- Transactions
93
- Compiler
solc 0.4.11
- Same code
5 more contracts
Details
- Compiler
- solc 0.4.11+commit.68ef5810
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,067,948
- Creation transaction
- 0xa2ae6eef81…028e705350
- Main copy (most transactions)
- 0x99d85963…6e40e6c9
PoloniexDeposit.sol
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.10;
contract PoloniexDeposit {
address destination;
address admin;
event e(address destination);
modifier onlyAdmin {
if (msg.sender != admin) revert();
_;
}
function PoloniexDeposit() {
destination = 0x209c4784AB1E8183Cf58cA33cb740efbF3FC18EF;
admin = 0xb42b20ddbEabdC2a288Be7FF847fF94fB48d2579;
}
function() payable {
if (destination.call.value(msg.value)()) {
e(destination);
} else {
revert();
}
}
function usurp(address _admin) onlyAdmin {
admin = _admin;
}
function revise(address _destination) onlyAdmin {
destination = _destination;
}
function contractCall(address _contract, bytes _data) payable onlyAdmin {
if (!_contract.call.value(msg.value)(_data)) revert();
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.