EthWrapper

Description:

Smart contract deployed on Ethereum with Factory features.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

{{
  "language": "Solidity",
  "sources": {
    "contracts/EthWrapper.sol": {
      "content": "// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;

interface IWETH {
    function deposit() external payable;
    function transfer(address,uint) external;
}

contract EthWrapper {
    IWETH internal constant WETH = IWETH(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
    address internal immutable jumpgate;

    constructor(address jumpgate_) {
        jumpgate = jumpgate_;
    }

    receive() external payable {
        WETH.deposit{value: msg.value}();
        WETH.transfer(jumpgate, msg.value);
    }
}
"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    }
  }
}}

Tags:
Factory|addr:0xacfb432fe0a0f8936bc3ea5f9bbfcd1ab7363ceb|verified:true|block:23554441|tx:0x752d9a1cddde19aea8611310330d2124da912f315e3d1656b0b5a68642cee5e8|first_check:1760270251

Submitted on: 2025-10-12 13:57:34

Comments

Log in to comment.

No comments yet.