PtbArgument
PtbArgument
class PtbArgument
address(address:)
static func address(address: Address) -> PtbArgument
addressFromHex(hex:)
static func addressFromHex(hex: String) throws -> PtbArgument
addressVec(addresses:)
static func addressVec(addresses: [Address]) -> PtbArgument
addressVecFromHex(addresses:)
static func addressVecFromHex(addresses: [String]) throws -> PtbArgument
assigned(name:)
static func assigned(name: String) -> PtbArgument
bool(value:)
static func bool(value: Bool) -> PtbArgument
boolVec(values:)
static func boolVec(values: [Bool]) -> PtbArgument
digest(digest:)
static func digest(digest: Digest) -> PtbArgument
digestFromBase58(base58:)
static func digestFromBase58(base58: String) throws -> PtbArgument
digestVec(digests:)
static func digestVec(digests: [Digest]) -> PtbArgument
digestVecFromBase58(digests:)
static func digestVecFromBase58(digests: [String]) throws -> PtbArgument
gas()
static func gas() -> PtbArgument
moveArg(arg:)
static func moveArg(arg: MoveArg) -> PtbArgument
objectId(id:)
static func objectId(id: ObjectId) -> PtbArgument
objectIdFromHex(hex:)
static func objectIdFromHex(hex: String) throws -> PtbArgument
objectRef(id:)
static func objectRef(id: ObjectReference) -> PtbArgument
option(value:)
static func option(value: MoveArg?) -> PtbArgument
receiving(id:)
static func receiving(id: ObjectId) -> PtbArgument
receivingFromHex(hex:)
static func receivingFromHex(hex: String) throws -> PtbArgument
shared(id:)
static func shared(id: ObjectId) -> PtbArgument
sharedFromHex(hex:)
static func sharedFromHex(hex: String) throws -> PtbArgument
sharedMut(id:)
static func sharedMut(id: ObjectId) -> PtbArgument
sharedMutFromHex(hex:)
static func sharedMutFromHex(hex: String) throws -> PtbArgument
string(string:)
static func string(string: String) -> PtbArgument
u128(value:)
static func u128(value: String) throws -> PtbArgument
u128Vec(values:)
static func u128Vec(values: [String]) throws -> PtbArgument
u16(value:)
static func u16(value: UInt16) -> PtbArgument
u16Vec(values:)
static func u16Vec(values: [UInt16]) -> PtbArgument
u256(value:)
static func u256(value: String) throws -> PtbArgument
u256Vec(values:)
static func u256Vec(values: [String]) throws -> PtbArgument
u32(value:)
static func u32(value: UInt32) -> PtbArgument
u32Vec(values:)
static func u32Vec(values: [UInt32]) -> PtbArgument
u64(value:)
static func u64(value: UInt64) -> PtbArgument
u64Vec(values:)
static func u64Vec(values: [UInt64]) -> PtbArgument
u8(value:)
static func u8(value: UInt8) -> PtbArgument
u8Vec(values:)
static func u8Vec(values: Data) -> PtbArgument