xDAI Price: $0.999966 (-0.01%)
Gas: 1 GWei

Contract

0x2e1d01C297294b601975fC19cfEbb5a15Dd5Ae93

Overview

xDAI Balance

Gnosis Chain LogoGnosis Chain LogoGnosis Chain Logo0 xDAI

xDAI Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...377871432024-12-30 11:05:50114 days ago1735556750IN
0x2e1d01C2...15Dd5Ae93
0 xDAI0.000071562.5

Latest 4 internal transactions

Parent Transaction Hash Block From To
393560792025-04-02 18:33:2520 days ago1743618805
0x2e1d01C2...15Dd5Ae93
1 xDAI
393560792025-04-02 18:33:2520 days ago1743618805
0x2e1d01C2...15Dd5Ae93
1 xDAI
386960152025-02-22 18:07:2559 days ago1740247645
0x2e1d01C2...15Dd5Ae93
1 xDAI
386960152025-02-22 18:07:2559 days ago1740247645
0x2e1d01C2...15Dd5Ae93
1 xDAI
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x84cFE1e4...B5aEe3857
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SimpleForwarder

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 3 : SimpleForwarder.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title Forwards arbitrary calls
 * @dev The purpose of this contract is to let accounts forward arbitrary calls,
 * without themselves being the msg.sender from the perspective of the call target.
 * This is necessary for security reasons if the calling account has privileged access anywhere.
 */
contract SimpleForwarder is Ownable {
    /**
     * @dev Forwards a call for which msg.sender doesn't matter
     * @param target The target contract to call
     * @param data The call data
     * Note: restricted to `onlyOwner` in order to minimize attack surface
     */
    function forwardCall(address target, bytes calldata data)
        external payable onlyOwner
        returns (bool success, bytes memory returnData)
    {
        // solhint-disable-next-line avoid-low-level-calls
        (success, returnData) = target.call{value: msg.value}(data);
    }

    /**
     * @dev Allows to withdraw native tokens (ETH) which got stuck in this contract.
     * This could happen if a call fails, but the caller doesn't revert the tx.
     */
    function withdrawLostNativeTokens(address payable receiver) external onlyOwner {
        receiver.transfer(address(this).balance);
    }
}

File 2 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 3 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"forwardCall","outputs":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"returnData","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"}],"name":"withdrawLostNativeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x60806040526004361061004a5760003560e01c806322bee4941461004f578063715018a6146100795780638da5cb5b14610090578063a2852784146100b8578063f2fde38b146100d8575b600080fd5b61006261005d366004610300565b6100f8565b604051610070929190610387565b60405180910390f35b34801561008557600080fd5b5061008e61016e565b005b34801561009c57600080fd5b506000546040516001600160a01b039091168152602001610070565b3480156100c457600080fd5b5061008e6100d33660046103de565b610182565b3480156100e457600080fd5b5061008e6100f33660046103de565b6101c3565b60006060610104610241565b846001600160a01b031634858560405161011f929190610402565b60006040518083038185875af1925050503d806000811461015c576040519150601f19603f3d011682016040523d82523d6000602084013e610161565b606091505b5090969095509350505050565b610176610241565b610180600061029b565b565b61018a610241565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156101bf573d6000803e3d6000fd5b5050565b6101cb610241565b6001600160a01b0381166102355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61023e8161029b565b50565b6000546001600160a01b031633146101805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161022c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461023e57600080fd5b60008060006040848603121561031557600080fd5b8335610320816102eb565b9250602084013567ffffffffffffffff81111561033c57600080fd5b8401601f8101861361034d57600080fd5b803567ffffffffffffffff81111561036457600080fd5b86602082840101111561037657600080fd5b939660209190910195509293505050565b8215158152604060208201526000825180604084015260005b818110156103bd57602081860181015160608684010152016103a0565b506000606082850101526060601f19601f8301168401019150509392505050565b6000602082840312156103f057600080fd5b81356103fb816102eb565b9392505050565b818382376000910190815291905056fea2646970667358221220cef1d80bfc05214f813663c6b7c68eb2ad43314df6c45a1b06ae908ab19b0d3164736f6c634300081a0033

Block Transaction Gas Used Reward
view all blocks validated

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
[ 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.