mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
33 lines
569 B
Solidity
33 lines
569 B
Solidity
contract test {
|
|
function f(uint k) public returns (uint) {
|
|
return k;
|
|
}
|
|
}
|
|
// ----
|
|
// :test
|
|
// [
|
|
// {
|
|
// "constant": false,
|
|
// "inputs":
|
|
// [
|
|
// {
|
|
// "internalType": "uint256",
|
|
// "name": "k",
|
|
// "type": "uint256"
|
|
// }
|
|
// ],
|
|
// "name": "f",
|
|
// "outputs":
|
|
// [
|
|
// {
|
|
// "internalType": "uint256",
|
|
// "name": "",
|
|
// "type": "uint256"
|
|
// }
|
|
// ],
|
|
// "payable": false,
|
|
// "stateMutability": "nonpayable",
|
|
// "type": "function"
|
|
// }
|
|
// ]
|