2023-08-09 16:16:14 +00:00
|
|
|
contract test {
|
|
|
|
/// @notice this is a really nice constructor
|
|
|
|
constructor(uint a, uint second) { }
|
|
|
|
/// another multiplier
|
|
|
|
function mul(uint a, uint second) public returns(uint d) { return a * 7 + second; }
|
|
|
|
}
|
|
|
|
|
|
|
|
// ----
|
|
|
|
// ----
|
2023-08-21 10:32:33 +00:00
|
|
|
// :test devdoc
|
|
|
|
// {
|
|
|
|
// "kind": "dev",
|
|
|
|
// "methods": {},
|
|
|
|
// "version": 1
|
|
|
|
// }
|
|
|
|
//
|
2023-08-09 16:16:14 +00:00
|
|
|
// :test userdoc
|
|
|
|
// {
|
2023-08-09 17:33:35 +00:00
|
|
|
// "kind": "user",
|
2023-08-09 16:16:14 +00:00
|
|
|
// "methods":
|
|
|
|
// {
|
|
|
|
// "constructor":
|
|
|
|
// {
|
|
|
|
// "notice": "this is a really nice constructor"
|
|
|
|
// },
|
|
|
|
// "mul(uint256,uint256)":
|
|
|
|
// {
|
|
|
|
// "notice": "another multiplier"
|
|
|
|
// }
|
2023-08-09 17:33:35 +00:00
|
|
|
// },
|
|
|
|
// "version": 1
|
2023-08-09 16:16:14 +00:00
|
|
|
// }
|