Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Ride4dApps 完全陌生,在尝试编写可调用函数时,我不明白i这里的参数代表什么@Callable(i)?
i
@Callable(i)
您需要使用@callable(i)才能访问被调用函数的数据。
@callable(i)
参数i是 Invocation 类型,基本上 Invocation 是一个数据结构:
caller: Address. payment: Payment|Un, where Payment consist of amount: Long and assetId: ByteVector | Unit.