remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/libs/remix-debug/test/decoder/contracts/mappingStorage.ts

15 lines
359 B

7 years ago
module.exports = {
contract: `
contract SimpleMappingState {
uint _num;
mapping(string => uint) _iBreakSolidityState;
mapping(uint => uint) _iBreakSolidityStateInt;
6 years ago
function updateNum(uint num, string memory str) public {
7 years ago
_num = num;
_iBreakSolidityState[str] = num;
_iBreakSolidityStateInt[num] = num;
7 years ago
}
}
`
}