EtherWeiConverter
// SPDX-License-Identifier: MITpragma solidity ^0.8.0;contract EtherWeiConverter { // wei를 ether로 변환 function weiToEther(uint256 weiAmount) public pure returns (uint256) { return weiAmount / 1 ether; } // ether를 wei로 변환 function etherToWei(uint256 etherAmount) public pure returns (uint256) { return etherAmount * 1 ether; // 1 ether == (10**18) } // wei를 gwei로 변..
2025.01.09