https://discord.com/channels/491256308461207573/1434790135345451098/1434790135345451098
Example:
@contract({ name: 'ContractOne' })
export class ContractOne extends Contract {
receiver(appId: Application) {
...
}
}
@contract({ name: 'ContractTwo' })
export class ContractTwo extends Contract {
test(appId: Application) {
// unknown contract error thrown here
const result = abiCall<typeof ContractOne.prototype.receiver>({ appId, args: [appId] })
return result.returnValue
}
}