영하!! 9일차,Solidity 기초를 계속해서 이어서 하고, ERC20에 대해서 배웠다.
주소 가져오기 // SPDX-License-Identifier: GPL-3.0 // 2022.09.26 pragma solidity 0.8.0; contract B { address b; function getAddress() public view returns(address){ return address(this); } } ------------ deploy /* from 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4 to B.getAddress() 0xd8b934580fcE35a11B58C6D73aDeE468a2833fa8 execution cost 21427 gas (Cost only applies when called by a contract) input 0x38c...c4831 decoded input {} decoded output { "0": "add...