MoveViewArg
open class MoveViewArg : Disposable, AutoCloseable, MoveViewArgInterface
An argument for a Move View Function call.
This enum represents the different types of values that can be passed as arguments to a Move View Function.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
Companion object functions
| Name | Summary |
|---|---|
| address | fun address(value: Address): MoveViewArg |
| bool | fun bool(value: Boolean): MoveViewArg |
| json | fun json(value: String): MoveViewArg |
| null | fun null(): MoveViewArg |
| objectId | fun objectId(value: ObjectId): MoveViewArg |
| option | fun option(value: MoveViewArg?): MoveViewArg |
| string | fun string(value: String): MoveViewArg |
| stringVec | fun stringVec(values: List<String>): MoveViewArg |
| u128 | fun u128(value: String): MoveViewArg |
| u16 | fun u16(value: UShort): MoveViewArg |
| u32 | fun u32(value: UInt): MoveViewArg |
| u64 | fun u64(value: ULong): MoveViewArg |
| u8 | fun u8(value: UByte): MoveViewArg |
| u8Vec | fun u8Vec(values: ByteArray): MoveViewArg |