ETH Price: $3,271.80 (+1.08%)

Contract

0x01f182dd393A4d5C250953d4A23604d13e4fC5c6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer155690172022-09-19 17:23:35845 days ago1663608215IN
0x01f182dd...13e4fC5c6
0.07317019 ETH0.001019429.18852563
Transfer154204762022-08-27 8:20:32868 days ago1661588432IN
0x01f182dd...13e4fC5c6
0.2033944 ETH0.000210816.03619829
Transfer151009582022-07-08 8:55:38918 days ago1657270538IN
0x01f182dd...13e4fC5c6
0.2040506 ETH0.0009409826.94309054
Flush138867652021-12-27 10:31:311111 days ago1640601091IN
0x01f182dd...13e4fC5c6
0 ETH0.0015196546.67254353
Transfer137925582021-12-12 20:38:151126 days ago1639341495IN
0x01f182dd...13e4fC5c6
0.00841661 ETH0.0019536193.02947825
Transfer137820872021-12-11 5:46:341128 days ago1639201594IN
0x01f182dd...13e4fC5c6
0.00907882 ETH0.0009397144.74817246
Transfer137723162021-12-09 17:17:111129 days ago1639070231IN
0x01f182dd...13e4fC5c6
0.00985454 ETH0.0017910585.28815487
Transfer137660362021-12-08 17:12:181130 days ago1638983538IN
0x01f182dd...13e4fC5c6
0.01045465 ETH0.001766684.12388892
Transfer137596932021-12-07 16:57:381131 days ago1638896258IN
0x01f182dd...13e4fC5c6
0.01074041 ETH0.00211832100.8724058
Transfer137534402021-12-06 16:50:181132 days ago1638809418IN
0x01f182dd...13e4fC5c6
0.01172592 ETH0.0020022895.34672542
Transfer137466622021-12-05 14:48:041133 days ago1638715684IN
0x01f182dd...13e4fC5c6
0.01133906 ETH0.0019313491.96871467
Transfer137403652021-12-04 14:40:541134 days ago1638628854IN
0x01f182dd...13e4fC5c6
0.01272935 ETH0.0019077190.8435291
Transfer137340592021-12-03 14:17:391135 days ago1638541059IN
0x01f182dd...13e4fC5c6
0.0109927 ETH0.0019809494.33075376
Transfer137277342021-12-02 13:57:011136 days ago1638453421IN
0x01f182dd...13e4fC5c6
0.01134227 ETH0.0020666398.41138338
Transfer137213952021-12-01 13:41:411137 days ago1638366101IN
0x01f182dd...13e4fC5c6
0.01143344 ETH0.0019819394.37805531
Transfer137149572021-11-30 13:10:511138 days ago1638277851IN
0x01f182dd...13e4fC5c6
0.01160406 ETH0.0016416478.17363705
Transfer137087832021-11-29 13:07:251139 days ago1638191245IN
0x01f182dd...13e4fC5c6
0.01101786 ETH0.001683680.17189468
Transfer137025282021-11-28 12:59:091140 days ago1638104349IN
0x01f182dd...13e4fC5c6
0.01122385 ETH0.0014830970.62368785
Transfer136961622021-11-27 12:50:241141 days ago1638017424IN
0x01f182dd...13e4fC5c6
0.01260285 ETH0.0015043371.63508361
Transfer136898062021-11-26 12:46:521142 days ago1637930812IN
0x01f182dd...13e4fC5c6
0.0127871 ETH0.0020106195.74362948
Transfer136832712021-11-25 11:46:151143 days ago1637840775IN
0x01f182dd...13e4fC5c6
0.01175988 ETH0.0019165791.26535921
Transfer136769992021-11-24 11:36:191144 days ago1637753779IN
0x01f182dd...13e4fC5c6
0.01200904 ETH0.0017367682.70322483
Transfer136705912021-11-23 11:31:311145 days ago1637667091IN
0x01f182dd...13e4fC5c6
0.01177501 ETH0.0015465773.64647728
Transfer136641932021-11-22 11:18:091146 days ago1637579889IN
0x01f182dd...13e4fC5c6
0.01111836 ETH0.0019404192.40063279
Transfer136578332021-11-21 11:12:591147 days ago1637493179IN
0x01f182dd...13e4fC5c6
0.01106145 ETH0.0017030281.0962912
View all transactions

Latest 5 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
155690172022-09-19 17:23:35845 days ago1663608215
0x01f182dd...13e4fC5c6
0.07317019 ETH
154204762022-08-27 8:20:32868 days ago1661588432
0x01f182dd...13e4fC5c6
0.2033944 ETH
151009582022-07-08 8:55:38918 days ago1657270538
0x01f182dd...13e4fC5c6
0.2040506 ETH
138867652021-12-27 10:31:311111 days ago1640601091
0x01f182dd...13e4fC5c6
0.39371236 ETH
138865572021-12-27 9:43:131111 days ago1640598193  Contract Creation0 ETH
Loading...
Loading

Minimal Proxy Contract for 0x8adb2ddad0d11c6bacec8dcd4ef45c0e5359bbec

Contract Name:
Forwarder

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-10-03
*/

// SPDX-License-Identifier: MIT
pragma solidity >0.8.0 <0.9.0;

contract Forwarder {

    address payable immutable public destinationAddress;
    event Created(bytes32 salt, address indexed forwarder);
    event Forwarded(address addr, uint256 quantity);

    constructor(address payable destination) {
        destinationAddress = destination;
        destination.transfer(address(this).balance);
        emit Forwarded(address(this), address(this).balance);
    }

    // EIP-1167
    function derivate(bytes32 salt) external returns (address result) {
        bytes20 targetBytes = bytes20(address(this));
        assembly {
            let bs := mload(0x40)
            mstore(bs, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
            mstore(add(bs, 0x14), targetBytes)
            mstore(add(bs, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)

            let encoded_data := add(0x20, bs) // load initialization code.
            let encoded_size := mload(bs)     // load the init code's length.

            result := create2(0, bs, 0x37, salt)
        }

        emit Created(salt, result);
    }

    // Auto forward all incoming ethers
    receive() external payable {
        flush();
    }

    // Manually require to forward ethers when the forwarder has been derivated after assets have been received on the contract address
    function flush() public {
        // destinationAddress.transfer(address(this).balance);
        destinationAddress.call{value: address(this).balance}("");
        emit Forwarded(address(this), address(this).balance);
    }

    // Forward ERC20 tokens from a given contract address
    function flushTokens(address tokenContractAddress) public {
        ERC20Interface instance = ERC20Interface(tokenContractAddress);
        uint256 forwarderBalance = instance.balanceOf(address(this));
        if (forwarderBalance == 0) {
            return;
        }

        instance.transfer(destinationAddress, forwarderBalance);
        emit Forwarded(tokenContractAddress, forwarderBalance);
    }

    // Forward only a given quantity of ERC20 tokens from a the provided contract address 
    function flushTokensQuantity(address tokenContractAddress, uint256 quantity) public {
        ERC20Interface instance = ERC20Interface(tokenContractAddress);
        instance.transfer(destinationAddress, quantity);
        emit Forwarded(tokenContractAddress, quantity);
    }

    // Forward all ethers present on this contract and all ERC20 tokens from a given contract address
    function flushTokensAndBalance(address tokenContractAddress) public {
        flush();
        flushTokens(tokenContractAddress);
    }

    function requireCall(address dest, bytes memory data) public returns (bool, bytes memory) {
        require(msg.sender == destinationAddress);
        return dest.call(data);
    }
}

interface ERC20Interface {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
}

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"destination","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"},{"indexed":true,"internalType":"address","name":"forwarder","type":"address"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Forwarded","type":"event"},{"inputs":[{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"derivate","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destinationAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":"tokenContractAddress","type":"address"}],"name":"flushTokensAndBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContractAddress","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"flushTokensQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dest","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"requireCall","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","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.