chapter11-code2

PHOTO EMBED

Thu Mar 30 2023 10:04:28 GMT+0000 (Coordinated Universal Time)

Saved by @RareSkills

contract ExampleContract {
  // returns false by default
	mapping(uint256 => bool) public mapToBool;

	// returns 0 by default
	mapping(uint256 => uint256) public mapToUint; 

	// returns 0x0000000000000000000000000000000000000000 by default
	mapping(uint256 => address) public mapToAddress;

}
content_copyCOPY