0

我对 Ride4dApps 完全陌生,在尝试编写可调用函数时,我不明白i这里的参数代表什么@Callable(i)

4

1 回答 1

0

您需要使用@callable(i)才能访问被调用函数的数据。

参数i是 Invocation 类型,基本上 Invocation 是一个数据结构:

caller: Address.
payment: Payment|Un, where Payment consist of amount: Long and assetId: ByteVector | Unit.
于 2019-03-28T09:56:56.730 回答