Skip to main content

MoveArg

MoveArg

class MoveArg

address(address:)

static func address(address: Address) -> MoveArg

addressFromHex(hex:)

static func addressFromHex(hex: String) throws -> MoveArg

addressFromShortHex(hex:)

static func addressFromShortHex(hex: String) throws -> MoveArg

addressVec(addresses:)

static func addressVec(addresses: [Address]) -> MoveArg

addressVecFromHex(addresses:)

static func addressVecFromHex(addresses: [String]) throws -> MoveArg

bool(value:)

static func bool(value: Bool) -> MoveArg

boolVec(values:)

static func boolVec(values: [Bool]) -> MoveArg

digest(digest:)

static func digest(digest: Digest) -> MoveArg

digestFromBase58(base58:)

static func digestFromBase58(base58: String) throws -> MoveArg

digestVec(digests:)

static func digestVec(digests: [Digest]) -> MoveArg

digestVecFromBase58(digests:)

static func digestVecFromBase58(digests: [String]) throws -> MoveArg

option(value:)

static func option(value: MoveArg?) -> MoveArg

string(string:)

static func string(string: String) -> MoveArg

stringVec(addresses:)

static func stringVec(addresses: [String]) -> MoveArg

u128(value:)

static func u128(value: String) throws -> MoveArg

u128Vec(values:)

static func u128Vec(values: [String]) throws -> MoveArg

u16(value:)

static func u16(value: UInt16) -> MoveArg

u16Vec(values:)

static func u16Vec(values: [UInt16]) -> MoveArg

u256(value:)

static func u256(value: String) throws -> MoveArg

u256Vec(values:)

static func u256Vec(values: [String]) throws -> MoveArg

u32(value:)

static func u32(value: UInt32) -> MoveArg

u32Vec(values:)

static func u32Vec(values: [UInt32]) -> MoveArg

u64(value:)

static func u64(value: UInt64) -> MoveArg

u64Vec(values:)

static func u64Vec(values: [UInt64]) -> MoveArg

u8(value:)

static func u8(value: UInt8) -> MoveArg

u8Vec(values:)

static func u8Vec(values: Data) -> MoveArg