Skip to content
Verified contractPartialUNLICENSED

Forwarder

Address0x42505b8dac31d70bd9d9006c7ffface81544dee6
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.33

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.33+commit.64118f21
Language
solidity
Optimization
No
EVM version
cancun
License
UNLICENSED
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,081,866
Creation transaction
0xb1cef8f226…899e12523e

Forwarder.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.33;

contract Forwarder {
    address public immutable destination;

    constructor(address _destination) {
        require(_destination != address(0), "zero dest");
        destination = _destination;
    }

    receive() external payable {
        (bool ok, ) = payable(destination).call{value: msg.value}("");
        require(ok, "forward failed");
    }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "cancun"
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.