Add different output formats (#185)

* Add different output formats

* Add the mode to the output
This commit is contained in:
Omar
2025-10-09 17:24:14 +03:00
committed by GitHub
parent 21e25f09e6
commit ebc24a588b
7 changed files with 181 additions and 72 deletions
@@ -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);
}
}