ETH Price: $2,366.12 (+2.30%)

Contract

0x515D7e5b5eDF1A0795bE957eD0cc735CBB2d5689

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

> 10 Internal Transactions and > 10 Token Transfers found.

Latest 13 internal transactions

Parent Transaction Hash Block From To
3731616292025-08-28 11:12:54158 days ago1756379574
0x515D7e5b...CBB2d5689
0.00013568 ETH
3731616292025-08-28 11:12:54158 days ago1756379574
0x515D7e5b...CBB2d5689
0.00013568 ETH
3705401502025-08-20 21:27:02165 days ago1755725222
0x515D7e5b...CBB2d5689
0.00282495 ETH
3705401502025-08-20 21:27:02165 days ago1755725222
0x515D7e5b...CBB2d5689
0.00282495 ETH
3705342612025-08-20 21:02:32165 days ago1755723752
0x515D7e5b...CBB2d5689
0.00284482 ETH
3705342612025-08-20 21:02:32165 days ago1755723752
0x515D7e5b...CBB2d5689
0.00284482 ETH
3705339492025-08-20 21:01:14165 days ago1755723674
0x515D7e5b...CBB2d5689
10 wei
3705339492025-08-20 21:01:14165 days ago1755723674
0x515D7e5b...CBB2d5689
0.00284787 ETH
3705339492025-08-20 21:01:14165 days ago1755723674
0x515D7e5b...CBB2d5689
0.00284787 ETH
3705339492025-08-20 21:01:14165 days ago1755723674
0x515D7e5b...CBB2d5689
0.00569575 ETH
3170138902025-03-18 15:04:09321 days ago1742310249
0x515D7e5b...CBB2d5689
0.007 ETH
3170138902025-03-18 15:04:09321 days ago1742310249
0x515D7e5b...CBB2d5689
0.007 ETH
3170138902025-03-18 15:04:09321 days ago1742310249  Contract Creation0 ETH

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x22CF1396...6310aC7c6
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())
            }
        }
    }
}

Settings
{
  "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

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

0x60a060405234801561001057600080fd5b506040516101cd3803806101cd83398101604081905261002f916100ca565b6001600160a01b038116608081905260408051600481526024810182526020810180516001600160e01b031663204a7f0760e21b179052905160009291610075916100fa565b600060405180830381855af49150503d80600081146100b0576040519150601f19603f3d011682016040523d82523d6000602084013e6100b5565b606091505b50509050806100c357600080fd5b5050610129565b6000602082840312156100dc57600080fd5b81516001600160a01b03811681146100f357600080fd5b9392505050565b6000825160005b8181101561011b5760208186018101518583015201610101565b506000920191825250919050565b608051608c6101416000396000600e0152608c6000f3fe608060405236600a57005b60317f00000000000000000000000000000000000000000000000000000000000000006033565b005b3660008037600080366000845af43d6000803e8080156051573d6000f35b3d6000fdfea2646970667358221220bcad68a2e23512b5c474f1f9c35678bf73e82533d18c46f4bd47bfdefc7b049564736f6c634300081200330000000000000000000000006da1e29a5fce3fe796027dbdc9e46780471313f2

Deployed Bytecode

0x608060405236600a57005b60317f0000000000000000000000006da1e29a5fce3fe796027dbdc9e46780471313f26033565b005b3660008037600080366000845af43d6000803e8080156051573d6000f35b3d6000fdfea2646970667358221220bcad68a2e23512b5c474f1f9c35678bf73e82533d18c46f4bd47bfdefc7b049564736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.