Implementation
static InvokeHostFuncOpBuilder forInvokingContract(
String contractID, String functionName,
{List<XdrSCVal>? functionArguments,
XdrLedgerFootprint? footprint,
List<ContractAuth>? contractAuth}) {
InvokeHostFuncOpBuilder builder = InvokeHostFuncOpBuilder(
XdrHostFunctionType.HOST_FUNCTION_TYPE_INVOKE_CONTRACT);
builder._contractID = contractID;
builder._functionName = functionName;
builder._arguments = functionArguments;
builder._footprint = footprint;
if (contractAuth != null) {
builder.contractAuth = contractAuth;
}
return builder;
}