nim-ethers/testnode/contracts/TestEnums.sol
2022-06-15 10:52:35 +02:00

11 lines
206 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract TestEnums {
enum SomeEnum { One, Two }
function returnValue(SomeEnum value) external pure returns (SomeEnum) {
return value;
}
}