Add different output formats (#185)

* Add different output formats

* Add the mode to the output
This commit is contained in:
Omar authored and GitHub committed 2025-10-09 14:24:14 +00:00
1 parent 21e25f09e6
commit ebc24a588b
7 files changed
+181 -72

No files matched your search

@@ -7,7 +7,10 @@ pragma solidity >=0.6.9;
import "./callable.sol";
contract Main {
function main(uint[1] calldata p1, Callable callable) public returns(uint) {
function main(
uint[1] calldata p1,
Callable callable
) public pure returns (uint) {
return callable.f(p1);
}
}