Verified contractPartial
DepositForwarder
Address0xfe96c9b4048813011b50221981ecac87f9b074f6
- Balance
0 ETH
- Transactions
131
- Compiler
solc 0.4.7
- Same code
26 more contracts
Details
- Compiler
- solc 0.4.7+commit.822622cf
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,693,486
- Creation transaction
- 0xec31b1f533…dd591c7851
DepositForwarder.sol
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.4;
contract Upgradeable {
function getUpgradeAddress() returns (address);
function deposit(address _from) payable;
}
contract DepositForwarder {
Upgradeable target;
function () payable {
tryUpgrade();
target.deposit.value(msg.value).gas(1000)(msg.sender);
}
function tryUpgrade() {
address a = target.getUpgradeAddress();
if (a != 0) {
target = Upgradeable(a);
}
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.