Closed rooot044 closed 9 months ago
We need implement this function
FunctionsModule.encode(["uint256", "string", "int256"], [1, "test", -1]);
Because many production app needs multiple value response. it able to decode multiple value like this
function fulfillRequest(bytes32 requestId, bytes memory response, bytes memory err) internal override { abi.decode(response, (uint256, string, int256)); }
@rooot044 Thanks for the feature suggestion! I am going to close this issue, but know that your suggestion has been recorded internally.
We need implement this function
FunctionsModule.encode(["uint256", "string", "int256"], [1, "test", -1]);
Because many production app needs multiple value response. it able to decode multiple value like this
function fulfillRequest(bytes32 requestId, bytes memory response, bytes memory err) internal override { abi.decode(response, (uint256, string, int256)); }