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"
]
}
}
}
}}
Submitted on: 2025-10-12 13:57:34
Comments
Log in to comment.
No comments yet.