ETH Price: $3,250.04 (-2.51%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer202203922024-07-02 17:42:59204 days ago1719942179IN
0x5B45c7De...f44745572
0.03720225 ETH0.000103674.35832293
Transfer200604152024-06-10 9:03:35226 days ago1718010215IN
0x5B45c7De...f44745572
0.003 ETH0.000210665.34152538
Transfer200603732024-06-10 8:55:11226 days ago1718009711IN
0x5B45c7De...f44745572
0.00367542 ETH0.000102364.30342073
Transfer199705182024-05-28 19:40:47239 days ago1716925247IN
0x5B45c7De...f44745572
0.0065487 ETH0.0004584511.62447108
Transfer199686812024-05-28 13:31:47239 days ago1716903107IN
0x5B45c7De...f44745572
0.00836117 ETH0.0005231121.99084288
Transfer199686672024-05-28 13:28:59239 days ago1716902939IN
0x5B45c7De...f44745572
0.00907516 ETH0.0004906520.62598007
Transfer199601382024-05-27 8:53:11240 days ago1716799991IN
0x5B45c7De...f44745572
0.01109136 ETH0.0004078410.34111604
Transfer174607772023-06-12 1:40:11590 days ago1686534011IN
0x5B45c7De...f44745572
0.11383879 ETH0.0005681614.40626759
Transfer174439682023-06-09 16:51:47593 days ago1686329507IN
0x5B45c7De...f44745572
0.01 ETH0.0008674621.99522828
Transfer173811012023-05-31 20:04:23602 days ago1685563463IN
0x5B45c7De...f44745572
0.03 ETH0.0021840355.3774498
Transfer173457282023-05-26 20:45:11607 days ago1685133911IN
0x5B45c7De...f44745572
0.45009593 ETH0.0013832835.07395674
Transfer172917962023-05-19 6:34:59614 days ago1684478099IN
0x5B45c7De...f44745572
0.43647098 ETH0.0013265333.63512126
Transfer171328402023-04-26 20:42:35637 days ago1682541755IN
0x5B45c7De...f44745572
0.07344183 ETH0.0017838345.23027943
Transfer171248662023-04-25 17:50:11638 days ago1682445011IN
0x5B45c7De...f44745572
0.05610272 ETH0.0014592437
Transfer171124592023-04-24 0:03:47639 days ago1682294627IN
0x5B45c7De...f44745572
0.05012025 ETH0.001394235.35084511
Transfer170979432023-04-21 23:13:47641 days ago1682118827IN
0x5B45c7De...f44745572
0.08 ETH0.0015459639.19894031
Transfer170508662023-04-15 7:13:23648 days ago1681542803IN
0x5B45c7De...f44745572
0.10151986 ETH0.0008914822.60405821
Transfer170507252023-04-15 6:44:11648 days ago1681541051IN
0x5B45c7De...f44745572
0.15 ETH0.0008572921.73711615
Transfer170389012023-04-13 13:48:11650 days ago1681393691IN
0x5B45c7De...f44745572
0.10452692 ETH0.0014785737.49006994
Transfer170276522023-04-11 21:59:59652 days ago1681250399IN
0x5B45c7De...f44745572
0.082086 ETH0.0009450823.96310589
Transfer170236772023-04-11 8:29:11652 days ago1681201751IN
0x5B45c7De...f44745572
0.38280598 ETH0.0007843519.88780226
Transfer169474452023-03-31 13:22:35663 days ago1680268955IN
0x5B45c7De...f44745572
0.06924582 ETH0.0010960127.79021888
Transfer169344892023-03-29 17:40:47665 days ago1680111647IN
0x5B45c7De...f44745572
0.1242575 ETH0.0015417139.09122873
Transfer169082212023-03-26 1:05:11668 days ago1679792711IN
0x5B45c7De...f44745572
0.12787095 ETH0.0005486813.91235139
Transfer169062912023-03-25 18:35:35669 days ago1679769335IN
0x5B45c7De...f44745572
0.1 ETH0.0008965122.73173095
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
200604152024-06-10 9:03:35226 days ago1718010215
0x5B45c7De...f44745572
0.003 ETH
199705182024-05-28 19:40:47239 days ago1716925247
0x5B45c7De...f44745572
0.0065487 ETH
199601382024-05-27 8:53:11240 days ago1716799991
0x5B45c7De...f44745572
0.01109136 ETH
174607772023-06-12 1:40:11590 days ago1686534011
0x5B45c7De...f44745572
0.11383879 ETH
174439682023-06-09 16:51:47593 days ago1686329507
0x5B45c7De...f44745572
0.01 ETH
173811012023-05-31 20:04:23602 days ago1685563463
0x5B45c7De...f44745572
0.03 ETH
173457282023-05-26 20:45:11607 days ago1685133911
0x5B45c7De...f44745572
0.45009593 ETH
172917962023-05-19 6:34:59614 days ago1684478099
0x5B45c7De...f44745572
0.43647098 ETH
171328402023-04-26 20:42:35637 days ago1682541755
0x5B45c7De...f44745572
0.07344183 ETH
171248662023-04-25 17:50:11638 days ago1682445011
0x5B45c7De...f44745572
0.05610272 ETH
171124592023-04-24 0:03:47639 days ago1682294627
0x5B45c7De...f44745572
0.05012025 ETH
170979432023-04-21 23:13:47641 days ago1682118827
0x5B45c7De...f44745572
0.08 ETH
170508662023-04-15 7:13:23648 days ago1681542803
0x5B45c7De...f44745572
0.10151986 ETH
170507252023-04-15 6:44:11648 days ago1681541051
0x5B45c7De...f44745572
0.15 ETH
170389012023-04-13 13:48:11650 days ago1681393691
0x5B45c7De...f44745572
0.10452692 ETH
170276522023-04-11 21:59:59652 days ago1681250399
0x5B45c7De...f44745572
0.082086 ETH
170236772023-04-11 8:29:11652 days ago1681201751
0x5B45c7De...f44745572
0.38280598 ETH
169474452023-03-31 13:22:35663 days ago1680268955
0x5B45c7De...f44745572
0.06924582 ETH
169344892023-03-29 17:40:47665 days ago1680111647
0x5B45c7De...f44745572
0.1242575 ETH
169082212023-03-26 1:05:11668 days ago1679792711
0x5B45c7De...f44745572
0.12787095 ETH
169062912023-03-25 18:35:35669 days ago1679769335
0x5B45c7De...f44745572
0.1 ETH
168923562023-03-23 19:36:35671 days ago1679600195
0x5B45c7De...f44745572
0.0487835 ETH
168776612023-03-21 18:02:35673 days ago1679421755
0x5B45c7De...f44745572
0.11382298 ETH
168763412023-03-21 13:35:11673 days ago1679405711
0x5B45c7De...f44745572
0.06051501 ETH
168424652023-03-16 19:24:47678 days ago1678994687
0x5B45c7De...f44745572
0.05484789 ETH
View All Internal Transactions
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
/**
 *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

[{"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 Transaction Difficulty Gas Used Reward
View All Blocks Produced

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