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/remix-solidity/test/decoder/contracts/mappingStorage.js

15 lines
285 B

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