账户
0xff...b6db
0xff...b6Db

0xff...b6Db

$500
此合同的源代码已经过验证!
合同元数据
编译器
0.8.14+commit.80d49f37
语言
Solidity
合同源代码
文件 1 的 1:ETHForwarder.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;

contract ETHForwarder {
    function sendTo(address payable recipient) public payable {
        recipient.transfer(msg.value);
    }
}
设置
{
  "compilationTarget": {
    "ETHForwarder.sol": "ETHForwarder"
  },
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": []
}
ABI
[{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"sendTo","outputs":[],"stateMutability":"payable","type":"function"}]