chapter12-code-1
Thu Mar 30 2023 10:09:32 GMT+0000 (Coordinated Universal Time)
Saved by
@RareSkills
contract ExampleContract {
mapping(uint256 => mapping(uint256 => uint256)) public nestedMap;
function setNestedMap(uint256 key1, uint256 key2, uint256 finalValue) public {
nestedMap[key1][key2] = finalValue;
}
function getNestedMap(uint256 key1, uint256 key2, uint256 finalValue) public {
nestedMap[key1][key2] = finalValue;
}
}
content_copyCOPY
Comments