Add different output formats

This commit is contained in:
Omar Abdulla
2025-10-09 01:03:20 +03:00
parent 6da3172581
commit 37a689a73e
7 changed files with 181 additions and 73 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);
}
}