Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 57 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Flush Tokens | 19856924 | 113 days ago | IN | 0 ETH | 0.00016044 | ||||
Transfer | 19832322 | 116 days ago | IN | 0.00960585 ETH | 0.00014918 | ||||
Transfer | 19829043 | 117 days ago | IN | 0.01154902 ETH | 0.00014205 | ||||
Flush Tokens | 19828965 | 117 days ago | IN | 0 ETH | 0.00019692 | ||||
Flush Tokens | 19798986 | 121 days ago | IN | 0 ETH | 0.00030818 | ||||
Flush Tokens | 19756152 | 127 days ago | IN | 0 ETH | 0.00040962 | ||||
Transfer | 19720436 | 132 days ago | IN | 0.00878006 ETH | 0.00063822 | ||||
Flush Tokens | 19718496 | 132 days ago | IN | 0 ETH | 0.00091285 | ||||
Flush Tokens | 19713229 | 133 days ago | IN | 0 ETH | 0.00056364 | ||||
Flush Tokens | 19676243 | 138 days ago | IN | 0 ETH | 0.00197447 | ||||
Transfer | 19540546 | 157 days ago | IN | 0.02860543 ETH | 0.00141747 | ||||
Flush Tokens | 19521565 | 160 days ago | IN | 0 ETH | 0.00168672 | ||||
Flush Tokens | 19508206 | 162 days ago | IN | 0 ETH | 0.00083781 | ||||
Transfer | 19507966 | 162 days ago | IN | 0.01888982 ETH | 0.00064168 | ||||
Transfer | 19472334 | 167 days ago | IN | 0.01576798 ETH | 0.0011699 | ||||
Flush Tokens | 19471624 | 167 days ago | IN | 0 ETH | 0.00191793 | ||||
Transfer | 19470520 | 167 days ago | IN | 0.01811685 ETH | 0.00112715 | ||||
Transfer | 19446958 | 170 days ago | IN | 0.01295726 ETH | 0.00103799 | ||||
Flush Tokens | 19443039 | 171 days ago | IN | 0 ETH | 0.00227478 | ||||
Transfer | 19436418 | 172 days ago | IN | 0.02667495 ETH | 0.00171622 | ||||
Flush Tokens | 19429575 | 173 days ago | IN | 0 ETH | 0.00294908 | ||||
Transfer | 19428031 | 173 days ago | IN | 0.00999898 ETH | 0.00230513 | ||||
Flush Tokens | 19422589 | 174 days ago | IN | 0 ETH | 0.00243109 | ||||
Flush Tokens | 19408776 | 176 days ago | IN | 0 ETH | 0.00253479 | ||||
Transfer | 19389764 | 178 days ago | IN | 0.0056947 ETH | 0.00176907 |
Latest 16 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19832322 | 116 days ago | 0.00960585 ETH | ||||
19829043 | 117 days ago | 0.01154902 ETH | ||||
19720436 | 132 days ago | 0.00878006 ETH | ||||
19540546 | 157 days ago | 0.02860543 ETH | ||||
19507966 | 162 days ago | 0.01888982 ETH | ||||
19472334 | 167 days ago | 0.01576798 ETH | ||||
19470520 | 167 days ago | 0.01811685 ETH | ||||
19446958 | 170 days ago | 0.01295726 ETH | ||||
19436418 | 172 days ago | 0.02667495 ETH | ||||
19428031 | 173 days ago | 0.00999898 ETH | ||||
19389764 | 178 days ago | 0.0056947 ETH | ||||
19328063 | 187 days ago | 0.0064481 ETH | ||||
19307968 | 190 days ago | 0.01013943 ETH | ||||
19304120 | 190 days ago | 0.00695404 ETH | ||||
19075610 | 222 days ago | 0.05869985 ETH | ||||
18929914 | 243 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Minimal Proxy Contract for 0x3a5fb753285ac3a67c6b0d03e121921b2a1428be
Contract Name:
Forwarder
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-12 */ // File: @uniswap/lib/contracts/libraries/TransferHelper.sol pragma solidity >=0.6.0; // 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'); } } // File: ManualForwarder/ERC20Interface.sol pragma solidity ^0.8.0; /** * 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); } // File: ManualForwarder/Forwarder.sol pragma solidity ^0.8.19; contract Forwarder { address private parentAddress; address private owner; event ForwarderDeposited(address from, uint256 value, bytes data); function initialize(address _owner, address initAddress) public onlyUninitialized { require(initAddress != address(0), "Invalid parent address"); require(_owner != address(0), "Invalid owner address"); owner = _owner; parentAddress = initAddress; } modifier onlyUninitialized { require(parentAddress == address(0x0), "Already initialized"); _; } modifier onlyOwner { require(msg.sender == owner, "Only Owner"); _; } function getParentAddress() public view onlyOwner returns (address) { return parentAddress; } function getOwner() public view onlyOwner returns (address) { return owner; } fallback() external payable { flush(); } receive() external payable { flush(); } function setParentAddress(address newAddress) public onlyOwner { require(newAddress != address(0), "Invalid parent address"); parentAddress = newAddress; } function flush() private { uint256 value = payable(address(this)).balance; if (value == 0) { return; } (bool success, ) = parentAddress.call{ value: value }(""); require(success, "Flush failed"); emit ForwarderDeposited(msg.sender, value, msg.data); } function getERC20Balance( address tokenContractAddress ) public view returns (uint256) { ERC20Interface instance = ERC20Interface(tokenContractAddress); address forwarderAddress = address(this); uint256 forwarderBalance = instance.balanceOf(forwarderAddress); if (forwarderBalance == 0) { return 0; } return forwarderBalance; } function flushTokens(address tokenContractAddress) external onlyOwner { ERC20Interface instance = ERC20Interface(tokenContractAddress); address forwarderAddress = address(this); uint256 forwarderBalance = instance.balanceOf(forwarderAddress); if (forwarderBalance == 0) { return; } TransferHelper.safeTransfer( tokenContractAddress, parentAddress, forwarderBalance ); } }
[{"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":[{"internalType":"address","name":"tokenContractAddress","type":"address"}],"name":"flushTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContractAddress","type":"address"}],"name":"getERC20Balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getParentAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"initAddress","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setParentAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.