shnae·2024년 1월 4일
0
post-thumbnail
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


Solidity

Receivable

method ID 가 없을 때, 돈을 받기 위해 사용하는 예약어
methodID는 함수에 대한 고유한 이름이라고 생각하면 된다 (bytes)

컨트랙트는 from, to 에서 to의 위치에 가면 인자가 하나 더 필요한데, 그것이 바로 method ID다.
transfer는 돈을 보내는 기능이다.

fallback


Blockchain

머클 트리

머클 패트리시아 트리

https://github.com/zhangchiqing/merkle-patricia-trie?source=post_page-----ae3ac6a7e123--------------------------------
https://ethereum.github.io/yellowpaper/paper.pdf

0개의 댓글