Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
Latest 19 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 20379367 | 583 days ago | 0.001 ETH | ||||
| Transfer | 20379367 | 583 days ago | 0.000002 ETH | ||||
| Execute With Sig... | 20379367 | 583 days ago | 0.001002 ETH | ||||
| Transfer | 20371603 | 584 days ago | 0.001 ETH | ||||
| Transfer | 20371603 | 584 days ago | 0.000002 ETH | ||||
| Execute With Sig... | 20371603 | 584 days ago | 0.001002 ETH | ||||
| Deposit | 20199941 | 608 days ago | 0.000999 ETH | ||||
| Swap ETH | 20199941 | 608 days ago | 0.00125575 ETH | ||||
| Transfer | 20199941 | 608 days ago | 0.00000199 ETH | ||||
| Transfer | 20199941 | 608 days ago | 0.000002 ETH | ||||
| Execute With Sig... | 20199941 | 608 days ago | 0.00225875 ETH | ||||
| Deposit | 20199777 | 608 days ago | 0.01 ETH | ||||
| Transfer | 20199777 | 608 days ago | 0.00001181 ETH | ||||
| Execute With Sig... | 20199777 | 608 days ago | 0.01001181 ETH | ||||
| Transfer | 20191922 | 609 days ago | 0.02009822 ETH | ||||
| Transfer | 20191922 | 609 days ago | 0.02009822 ETH | ||||
| Transfer | 20191922 | 609 days ago | 0.00004025 ETH | ||||
| Execute With Sig... | 20191922 | 609 days ago | 0.00004025 ETH | ||||
| 0x60a06040 | 20191922 | 609 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 0x0d63cd5a...C0a1B31d1 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Agent
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;
/// @title A user's agent contract created by the router
/// @notice A proxy for delegating calls to the immutable agent implementation contract
contract Agent {
address internal immutable _implementation;
/// @dev Create an initialized agent
constructor(address implementation) {
_implementation = implementation;
(bool ok, ) = implementation.delegatecall(abi.encodeWithSignature('initialize()'));
require(ok);
}
receive() external payable {}
/// @notice Delegate all function calls to `_implementation`
fallback() external payable {
_delegate(_implementation);
}
/// @notice Delegate the call to `_implementation`
/// @dev Referenced from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.1/contracts/proxy/Proxy.sol#L22
/// @param implementation The address of the implementation contract that this agent delegates calls to
function _delegate(address implementation) internal {
assembly {
// Copy msg.data. We take full control of memory in this inline assembly
// block because it will not return to Solidity code. We overwrite the
// Solidity scratch pad at memory position 0.
calldatacopy(0, 0, calldatasize())
// Call the implementation.
// out and outsize are 0 because we don't know the size yet.
let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)
// Copy the returned data.
returndatacopy(0, 0, returndatasize())
switch result
// delegatecall returns 0 on error.
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
}{
"remappings": [
"forge-std/=lib/forge-std/src/",
"create3-factory/=lib/create3-factory/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/create3-factory/lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin/=lib/create3-factory/lib/openzeppelin-contracts/contracts/",
"permit2/=lib/permit2/",
"solmate/=lib/permit2/lib/solmate/src/"
],
"optimizer": {
"enabled": true,
"runs": 1000000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x60a060405234801561001057600080fd5b506040516101cd3803806101cd83398101604081905261002f916100ca565b6001600160a01b038116608081905260408051600481526024810182526020810180516001600160e01b031663204a7f0760e21b179052905160009291610075916100fa565b600060405180830381855af49150503d80600081146100b0576040519150601f19603f3d011682016040523d82523d6000602084013e6100b5565b606091505b50509050806100c357600080fd5b5050610129565b6000602082840312156100dc57600080fd5b81516001600160a01b03811681146100f357600080fd5b9392505050565b6000825160005b8181101561011b5760208186018101518583015201610101565b506000920191825250919050565b608051608c6101416000396000600e0152608c6000f3fe608060405236600a57005b60317f00000000000000000000000000000000000000000000000000000000000000006033565b005b3660008037600080366000845af43d6000803e8080156051573d6000f35b3d6000fdfea2646970667358221220bcad68a2e23512b5c474f1f9c35678bf73e82533d18c46f4bd47bfdefc7b049564736f6c634300081200330000000000000000000000004d4c961de7140e642b7217f221b73e859e3a6482
Deployed Bytecode
0x608060405236600a57005b60317f0000000000000000000000004d4c961de7140e642b7217f221b73e859e3a64826033565b005b3660008037600080366000845af43d6000803e8080156051573d6000f35b3d6000fdfea2646970667358221220bcad68a2e23512b5c474f1f9c35678bf73e82533d18c46f4bd47bfdefc7b049564736f6c63430008120033
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 ]
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.