Source Code
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 7753296 | 2511 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x7CA55ee5...57C2C7C26 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Forwarder
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Multiple files format)
pragma solidity ^0.4.18;
import "./DelegateProxy.sol";
contract Forwarder is DelegateProxy {
// After compiling contract, `beefbeef...` is replaced in the bytecode by the real target address
address public constant target = 0x1ed7fc52ac5a37aa3ff6d9b94c894724e2f992b1; // checksumed to silence warning
/*
* @dev Forwards all calls to target
*/
function() payable {
delegatedFwd(target, msg.data);
}
}pragma solidity ^0.4.18;
contract DelegateProxy {
/**
* @dev Performs a delegatecall and returns whatever the delegatecall returned (entire context execution will return!)
* @param _dst Destination address to perform the delegatecall
* @param _calldata Calldata for the delegatecall
*/
function delegatedFwd(address _dst, bytes _calldata) internal {
require(isContract(_dst));
assembly {
let result := delegatecall(sub(gas, 10000), _dst, add(_calldata, 0x20), mload(_calldata), 0, 0)
let size := returndatasize
let ptr := mload(0x40)
returndatacopy(ptr, 0, size)
// revert instead of invalid() bc if the underlying call failed with invalid() it already wasted gas.
// if the call returned error data, forward it
switch result case 0 {revert(ptr, size)}
default {return (ptr, size)}
}
}
function isContract(address _target) internal view returns (bool) {
uint256 size;
assembly {size := extcodesize(_target)}
return size > 0;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"target","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]Contract Creation Code
0x608060405234801561001057600080fd5b50610180806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063d4b8399214610094575b610092731ed7fc52ac5a37aa3ff6d9b94c894724e2f992b16000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506100eb565b005b3480156100a057600080fd5b506100a9610129565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f482610141565b15156100ff57600080fd5b600080825160208401856127105a03f43d604051816000823e8260008114610125578282f35b8282fd5b731ed7fc52ac5a37aa3ff6d9b94c894724e2f992b181565b600080823b9050600081119150509190505600a165627a7a72305820e526dcd2443997c0ec25f281427290eac2cd8e69aff6f6ca89a7f656eb75adc70029
Deployed Bytecode
0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063d4b8399214610094575b610092731ed7fc52ac5a37aa3ff6d9b94c894724e2f992b16000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506100eb565b005b3480156100a057600080fd5b506100a9610129565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100f482610141565b15156100ff57600080fd5b600080825160208401856127105a03f43d604051816000823e8260008114610125578282f35b8282fd5b731ed7fc52ac5a37aa3ff6d9b94c894724e2f992b181565b600080823b9050600081119150509190505600a165627a7a72305820e526dcd2443997c0ec25f281427290eac2cd8e69aff6f6ca89a7f656eb75adc70029
Deployed Bytecode Sourcemap
57:363:1:-;;;;;;;;;;;;;;;;;;;;;383:30;230:42;404:8;;383:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:30::i;:::-;57:363;197:75;;8:9:-1;5:2;;;30:1;27;20:12;5:2;197:75:1;;;;;;;;;;;;;;;;;;;;;;;;;;;299:559:0;375:16;386:4;375:10;:16::i;:::-;367:25;;;;;;;;508:1;505;493:9;487:16;480:4;469:9;465:20;459:4;451:5;446:3;442:15;429:81;529:14;568:4;562:11;603:4;600:1;595:3;580:28;780:6;792:1;787:26;;;;842:4;837:3;829:18;787:26;807:4;802:3;795:17;197:75:1;230:42;197:75;:::o;862:154:0:-;922:4;934:12;982:7;970:20;962:28;;1010:1;1003:4;:8;996:15;;862:154;;;;:::o
Swarm Source
bzzr://e526dcd2443997c0ec25f281427290eac2cd8e69aff6f6ca89a7f656eb75adc7
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 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.