[英]What does the parameter “i” represent in the callable functions in Ride4dApps?
我对Ride4dApps完全不熟悉,在尝试编写可调用函数时,我不明白i
在这里代表@Callable(i)
的参数是什么?
You need to use @callable(i)
to be able to access the data for an invoked function. 您需要使用
@callable(i)
来访问调用函数的数据。
The parameter i
is of type Invocation and basically Invocation is a data structure of: 参数
i
是Invocation类型,基本上Invocation是一个数据结构:
caller: Address.
payment: Payment|Un, where Payment consist of amount: Long and assetId: ByteVector | Unit.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.