ETH Price: $2,018.52 (+1.44%)

Contract

0xae2Dc1036424B20a51bbe0aF58f65BE5Ceba1dB8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer227118602025-06-15 18:55:47286 days ago1750013747IN
0xae2Dc103...5Ceba1dB8
0.12702881 ETH0.000058921.49420488
Transfer226656342025-06-09 7:49:11292 days ago1749455351IN
0xae2Dc103...5Ceba1dB8
0.03675 ETH0.000063141.60095617
Transfer226443472025-06-06 8:24:23295 days ago1749198263IN
0xae2Dc103...5Ceba1dB8
0.01422295 ETH0.00012593.19241396
Transfer226257102025-06-03 17:46:59298 days ago1748972819IN
0xae2Dc103...5Ceba1dB8
0.00914954 ETH0.0002766.99819804
Transfer225873222025-05-29 8:49:35303 days ago1748508575IN
0xae2Dc103...5Ceba1dB8
0.05391218 ETH0.000100532.54911808
Transfer225670492025-05-26 12:45:11306 days ago1748263511IN
0xae2Dc103...5Ceba1dB8
0.07979696 ETH0.000151343.83750223
Transfer225229742025-05-20 8:34:11312 days ago1747730051IN
0xae2Dc103...5Ceba1dB8
0.04464731 ETH0.000078261.98447714
Transfer224800432025-05-14 7:52:35318 days ago1747209155IN
0xae2Dc103...5Ceba1dB8
0.00211441 ETH0.00016984.30548259
Transfer224664372025-05-12 9:52:35320 days ago1747043555IN
0xae2Dc103...5Ceba1dB8
0.06099525 ETH0.000271496.88386756
Transfer224661812025-05-12 9:00:23320 days ago1747040423IN
0xae2Dc103...5Ceba1dB8
1.07691087 ETH0.000331328.40083145
Transfer223965072025-05-02 13:46:35330 days ago1746193595IN
0xae2Dc103...5Ceba1dB8
0.06188759 ETH0.000079392.01314834
Transfer223400342025-04-24 16:23:59338 days ago1745511839IN
0xae2Dc103...5Ceba1dB8
0.03838494 ETH0.000184724.68378023
Transfer222761642025-04-15 18:26:47347 days ago1744741607IN
0xae2Dc103...5Ceba1dB8
0.04207485 ETH0.000071181.80489446
Transfer222657512025-04-14 7:31:23348 days ago1744615883IN
0xae2Dc103...5Ceba1dB8
0.0421276 ETH0.000057961.46980836
Transfer222171232025-04-07 12:48:35355 days ago1744030115IN
0xae2Dc103...5Ceba1dB8
0.02700612 ETH0.0005022212.73413244
Transfer222171162025-04-07 12:47:11355 days ago1744030031IN
0xae2Dc103...5Ceba1dB8
0.02785725 ETH0.0003915416.45962739
Transfer222169912025-04-07 12:21:59355 days ago1744028519IN
0xae2Dc103...5Ceba1dB8
0.02954979 ETH0.000203955.17147968
Transfer222166452025-04-07 11:11:59355 days ago1744024319IN
0xae2Dc103...5Ceba1dB8
0.02783453 ETH0.000206435.23431527
Transfer222152252025-04-07 6:25:47355 days ago1744007147IN
0xae2Dc103...5Ceba1dB8
0.01043795 ETH0.0013637534.578793
Transfer221809452025-04-02 11:30:59360 days ago1743593459IN
0xae2Dc103...5Ceba1dB8
0.00576047 ETH0.000099832.53148753
Transfer221653462025-03-31 7:16:47362 days ago1743405407IN
0xae2Dc103...5Ceba1dB8
0.02406779 ETH0.000023830.60423346
Transfer221517642025-03-29 9:47:35364 days ago1743241655IN
0xae2Dc103...5Ceba1dB8
0.00579893 ETH0.000214215.43154398
Transfer221301492025-03-26 9:21:59367 days ago1742980919IN
0xae2Dc103...5Ceba1dB8
0.10470888 ETH0.000098412.49542721
Transfer220963472025-03-21 16:09:47372 days ago1742573387IN
0xae2Dc103...5Ceba1dB8
0.05535292 ETH0.000129413.28149338
Transfer220725682025-03-18 8:27:11375 days ago1742286431IN
0xae2Dc103...5Ceba1dB8
0.00287132 ETH0.00002670.67713722
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer227118602025-06-15 18:55:47286 days ago1750013747
0xae2Dc103...5Ceba1dB8
0.12702881 ETH
Transfer226656342025-06-09 7:49:11292 days ago1749455351
0xae2Dc103...5Ceba1dB8
0.03675 ETH
Transfer226443472025-06-06 8:24:23295 days ago1749198263
0xae2Dc103...5Ceba1dB8
0.01422295 ETH
Transfer226300412025-06-04 8:19:23297 days ago1749025163
0xae2Dc103...5Ceba1dB8
0.06528575 ETH
Transfer226300412025-06-04 8:19:23297 days ago1749025163
0xae2Dc103...5Ceba1dB8
0.06528575 ETH
Transfer226265112025-06-03 20:27:59297 days ago1748982479
0xae2Dc103...5Ceba1dB8
0.0903557 ETH
Transfer226265112025-06-03 20:27:59297 days ago1748982479
0xae2Dc103...5Ceba1dB8
0.0903557 ETH
Transfer226257102025-06-03 17:46:59298 days ago1748972819
0xae2Dc103...5Ceba1dB8
0.00914954 ETH
Transfer225873222025-05-29 8:49:35303 days ago1748508575
0xae2Dc103...5Ceba1dB8
0.05391218 ETH
Transfer225670492025-05-26 12:45:11306 days ago1748263511
0xae2Dc103...5Ceba1dB8
0.07979696 ETH
Transfer225229742025-05-20 8:34:11312 days ago1747730051
0xae2Dc103...5Ceba1dB8
0.04464731 ETH
Transfer224800432025-05-14 7:52:35318 days ago1747209155
0xae2Dc103...5Ceba1dB8
0.00211441 ETH
Transfer224664372025-05-12 9:52:35320 days ago1747043555
0xae2Dc103...5Ceba1dB8
0.06099525 ETH
Transfer224661812025-05-12 9:00:23320 days ago1747040423
0xae2Dc103...5Ceba1dB8
1.07691087 ETH
Transfer223965072025-05-02 13:46:35330 days ago1746193595
0xae2Dc103...5Ceba1dB8
0.06188759 ETH
Transfer223400342025-04-24 16:23:59338 days ago1745511839
0xae2Dc103...5Ceba1dB8
0.03838494 ETH
Transfer222761642025-04-15 18:26:47347 days ago1744741607
0xae2Dc103...5Ceba1dB8
0.04207485 ETH
Transfer222657512025-04-14 7:31:23348 days ago1744615883
0xae2Dc103...5Ceba1dB8
0.0421276 ETH
Transfer222171232025-04-07 12:48:35355 days ago1744030115
0xae2Dc103...5Ceba1dB8
0.02700612 ETH
Transfer222169912025-04-07 12:21:59355 days ago1744028519
0xae2Dc103...5Ceba1dB8
0.02954979 ETH
Transfer222166452025-04-07 11:11:59355 days ago1744024319
0xae2Dc103...5Ceba1dB8
0.02783453 ETH
Transfer222152252025-04-07 6:25:47355 days ago1744007147
0xae2Dc103...5Ceba1dB8
0.01043795 ETH
Transfer221809452025-04-02 11:30:59360 days ago1743593459
0xae2Dc103...5Ceba1dB8
0.00576047 ETH
Transfer221653462025-03-31 7:16:47362 days ago1743405407
0xae2Dc103...5Ceba1dB8
0.02406779 ETH
Transfer221517642025-03-29 9:47:35364 days ago1743241655
0xae2Dc103...5Ceba1dB8
0.00579893 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Minimal Proxy Contract for 0x059ffafdc6ef594230de44f824e2bd0a51ca5ded

Contract Name:
Forwarder

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-24
*/

pragma solidity 0.7.5;

/*
    The MIT License (MIT)
    Copyright (c) 2018 Murray Software, LLC.
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
//solhint-disable max-line-length
//solhint-disable no-inline-assembly

contract CloneFactory {
  function createClone(address target, bytes32 salt)
    internal
    returns (address payable result)
  {
    bytes20 targetBytes = bytes20(target);
    assembly {
      // load the next free memory slot as a place to store the clone contract data
      let clone := mload(0x40)

      // The bytecode block below is responsible for contract initialization
      // during deployment, it is worth noting the proxied contract constructor will not be called during
      // the cloning procedure and that is why an initialization function needs to be called after the
      // clone is created
      mstore(
        clone,
        0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
      )

      // This stores the address location of the implementation contract
      // so that the proxy knows where to delegate call logic to
      mstore(add(clone, 0x14), targetBytes)

      // The bytecode block is the actual code that is deployed for each clone created.
      // It forwards all calls to the already deployed implementation via a delegatecall
      mstore(
        add(clone, 0x28),
        0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
      )

      // deploy the contract using the CREATE2 opcode
      // this deploys the minimal proxy defined above, which will proxy all
      // calls to use the logic defined in the implementation contract `target`
      result := create2(0, clone, 0x37, salt)
    }
  }

  function isClone(address target, address query)
    internal
    view
    returns (bool result)
  {
    bytes20 targetBytes = bytes20(target);
    assembly {
      // load the next free memory slot as a place to store the comparison clone
      let clone := mload(0x40)

      // The next three lines store the expected bytecode for a miniml proxy
      // that targets `target` as its implementation contract
      mstore(
        clone,
        0x363d3d373d3d3d363d7300000000000000000000000000000000000000000000
      )
      mstore(add(clone, 0xa), targetBytes)
      mstore(
        add(clone, 0x1e),
        0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
      )

      // the next two lines store the bytecode of the contract that we are checking in memory
      let other := add(clone, 0x40)
      extcodecopy(query, other, 0, 0x2d)

      // Check if the expected bytecode equals the actual bytecode and return the result
      result := and(
        eq(mload(clone), mload(other)),
        eq(mload(add(clone, 0xd)), mload(add(other, 0xd)))
      )
    }
  }
}


/**
 * Contract that exposes the needed erc20 token functions
 */

abstract contract ERC20Interface {
  // Send _value amount of tokens to address _to
  function transfer(address _to, uint256 _value)
    public
    virtual
    returns (bool success);

  // Get the account balance of another account with address _owner
  function balanceOf(address _owner)
    public
    virtual
    view
    returns (uint256 balance);
}

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}


/**
 * Contract that will forward any incoming Ether to the creator of the contract
 *
 */
contract Forwarder {
  // Address to which any funds sent to this contract will be forwarded
  address public parentAddress;
  event ForwarderDeposited(address from, uint256 value, bytes data);

  /**
   * Initialize the contract, and sets the destination address to that of the creator
   */
  function init(address _parentAddress) external onlyUninitialized {
    parentAddress = _parentAddress;
    uint256 value = address(this).balance;

    if (value == 0) {
      return;
    }

    (bool success, ) = parentAddress.call{ value: value }('');
    require(success, 'Flush failed');
    // NOTE: since we are forwarding on initialization,
    // we don't have the context of the original sender.
    // We still emit an event about the forwarding but set
    // the sender to the forwarder itself
    emit ForwarderDeposited(address(this), value, msg.data);
  }

  /**
   * Modifier that will execute internal code block only if the sender is the parent address
   */
  modifier onlyParent {
    require(msg.sender == parentAddress, 'Only Parent');
    _;
  }

  /**
   * Modifier that will execute internal code block only if the contract has not been initialized yet
   */
  modifier onlyUninitialized {
    require(parentAddress == address(0x0), 'Already initialized');
    _;
  }

  /**
   * Default function; Gets called when data is sent but does not match any other function
   */
  fallback() external payable {
    flush();
  }

  /**
   * Default function; Gets called when Ether is deposited with no data, and forwards it to the parent address
   */
  receive() external payable {
    flush();
  }

  /**
   * Execute a token transfer of the full balance from the forwarder token to the parent address
   * @param tokenContractAddress the address of the erc20 token contract
   */
  function flushTokens(address tokenContractAddress) external onlyParent {
    ERC20Interface instance = ERC20Interface(tokenContractAddress);
    address forwarderAddress = address(this);
    uint256 forwarderBalance = instance.balanceOf(forwarderAddress);
    if (forwarderBalance == 0) {
      return;
    }

    TransferHelper.safeTransfer(
      tokenContractAddress,
      parentAddress,
      forwarderBalance
    );
  }

  /**
   * Flush the entire balance of the contract to the parent address.
   */
  function flush() public {
    uint256 value = address(this).balance;

    if (value == 0) {
      return;
    }

    (bool success, ) = parentAddress.call{ value: value }('');
    require(success, 'Flush failed');
    emit ForwarderDeposited(msg.sender, value, msg.data);
  }
}

contract ForwarderFactory is CloneFactory {
  address public implementationAddress;

  event ForwarderCreated(address newForwarderAddress, address parentAddress);

  constructor(address _implementationAddress) {
    implementationAddress = _implementationAddress;
  }

  function createForwarder(address parent, bytes32 salt) external {
    // include the signers in the salt so any contract deployed to a given address must have the same signers
    bytes32 finalSalt = keccak256(abi.encodePacked(parent, salt));

    address payable clone = createClone(implementationAddress, finalSalt);
    Forwarder(clone).init(parent);
    emit ForwarderCreated(clone, parent);
  }
}

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"ForwarderDeposited","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"flush","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContractAddress","type":"address"}],"name":"flushTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_parentAddress","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"parentAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.