AgoricContractInvitationSpec: {
    callPipe: [methodName: string, methodArgs?: any[]][];
    instancePath: string[];
    source: "agoricContract";
}

source of invitation is a chain of calls starting with an agoricName

  • the start of the pipe is a lookup of instancePath within agoricNames
  • each entry in the callPipe executes a call on the preceding result
  • the end of the pipe is expected to return an Invitation