contract CHILD is DAD {
function getAddress() public view returns(address){
return address(this);
}
function fathersAddress() public view returns(address){
return super.getAddress();
}
}
이더리움 블록을 활용한 사례
이더리움을 통한 메시징 IDM
https://etherscan.io/idm
IDM을 통해 이미지 공유
https://etherscan.io/tx/0x835cd8d00625585a9bf1368181072e49d0f03191f9b1570b78c16ac37d434322
https://base64.guru/converter/decode/image
method ID 가 없을 때, 돈을 받기 위해 사용하는 예약어
methodID
는 함수에 대한 고유한 이름이라고 생각하면 된다 (bytes)
컨트랙트는 from, to 에서 to의 위치에 가면 인자가 하나 더 필요한데, 그것이 바로 method ID다.
transfer
는 돈을 보내는 기능이다.
https://github.com/zhangchiqing/merkle-patricia-trie?source=post_page-----ae3ac6a7e123--------------------------------
https://ethereum.github.io/yellowpaper/paper.pdf