Variable TransactionDataConst
TransactionData: ObjectSchema<{ commands: ArraySchema<EnumSchema<{ $Intent: ObjectSchema<{ data: RecordSchema<StringSchema<string>, UnknownSchema<unknown>, {}>; inputs: RecordSchema<StringSchema<string>, UnionSchema<((...
) | (...
))[], { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; } | (...
)[]>, {}>; name: StringSchema<string>; }, undefined, { data: {}; inputs: {}; name: string; }>; MakeMoveVec: ObjectSchema<{ elements: ArraySchema<BaseSchema<{ GasCoin: ...
; } | { Input: ...
; type?: ...
; } | { Result: ...
; } | { NestedResult: ...
; }, { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; }>, ({ $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; })[]>; type: NullableSchema<StringSchema<string>, undefined, null | string>; }, undefined, { elements: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; type: null | string; }>; MergeCoins: ObjectSchema<{ destination: BaseSchema<{ GasCoin: true; } | { Input: number; type?: (...
) | (...
) | (...
); } | { Result: number; } | { NestedResult: [(...
), (...
)]; }, { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; }>; sources: ArraySchema<BaseSchema<{ GasCoin: ...
; } | { Input: ...
; type?: ...
; } | { Result: ...
; } | { NestedResult: ...
; }, { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; }>, ({ $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; })[]>; }, undefined, { destination: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; sources: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; }>; MoveCall: ObjectSchema<{ _argumentTypes: OptionalSchema<NullableSchema<ArraySchema<ObjectSchema<(...
), (...
), (...
)>, (...
)[]>, undefined, null | (...
)[]>, undefined, undefined | null | { body: ...
; ref: ...
; }[]>; arguments: ArraySchema<BaseSchema<{ GasCoin: ...
; } | { Input: ...
; type?: ...
; } | { Result: ...
; } | { NestedResult: ...
; }, { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; }>, ({ $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; })[]>; function: StringSchema<string>; module: StringSchema<string>; package: SchemaWithTransform<StringSchema<string>, string>; typeArguments: ArraySchema<StringSchema<string>, string[]>; }, undefined, { _argumentTypes?: null | { body: OpenMoveTypeSignatureBody; ref: (...
) | (...
) | (...
); }[]; arguments: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; function: string; module: string; package: string; typeArguments: string[]; }>; Publish: ObjectSchema<{ dependencies: ArraySchema<SchemaWithTransform<StringSchema<string>, string>, string[]>; modules: ArraySchema<StringSchema<string>, string[]>; }, undefined, { dependencies: string[]; modules: string[]; }>; SplitCoins: ObjectSchema<{ amounts: ArraySchema<BaseSchema<{ GasCoin: ...
; } | { Input: ...
; type?: ...
; } | { Result: ...
; } | { NestedResult: ...
; }, { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; }>, ({ $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; })[]>; coin: BaseSchema<{ GasCoin: true; } | { Input: number; type?: (...
) | (...
) | (...
); } | { Result: number; } | { NestedResult: [(...
), (...
)]; }, { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; }>; }, undefined, { amounts: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; coin: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }>; TransferObjects: ObjectSchema<{ address: BaseSchema<{ GasCoin: true; } | { Input: number; type?: (...
) | (...
) | (...
); } | { Result: number; } | { NestedResult: [(...
), (...
)]; }, { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; }>; objects: ArraySchema<BaseSchema<{ GasCoin: ...
; } | { Input: ...
; type?: ...
; } | { Result: ...
; } | { NestedResult: ...
; }, { $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; }>, ({ $kind: ...
; GasCoin: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Input: ...
; type?: ...
; } | { $kind: ...
; Result: ...
; } | { $kind: ...
; NestedResult: ...
; })[]>; }, undefined, { address: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; objects: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; }>; Upgrade: ObjectSchema<{ dependencies: ArraySchema<SchemaWithTransform<StringSchema<string>, string>, string[]>; modules: ArraySchema<StringSchema<string>, string[]>; package: SchemaWithTransform<StringSchema<string>, string>; ticket: BaseSchema<{ GasCoin: true; } | { Input: number; type?: (...
) | (...
) | (...
); } | { Result: number; } | { NestedResult: [(...
), (...
)]; }, { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; }>; }, undefined, { dependencies: string[]; modules: string[]; package: string; ticket: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }>; }>, EnumOutputShapeWithKeys<{ $Intent: { data: {}; inputs: {}; name: string; }; MakeMoveVec: { elements: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; type: null | string; }; MergeCoins: { destination: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; sources: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; }; MoveCall: { _argumentTypes?: null | { body: OpenMoveTypeSignatureBody; ref: (...
) | (...
) | (...
); }[]; arguments: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; function: string; module: string; package: string; typeArguments: string[]; }; Publish: { dependencies: string[]; modules: string[]; }; SplitCoins: { amounts: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; coin: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }; TransferObjects: { address: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; objects: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Input"; Input: number; type?: (...
) | (...
); } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [(...
), (...
)]; })[]; }; Upgrade: { dependencies: string[]; modules: string[]; package: string; ticket: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }; }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]>; expiration: NullishSchema<EnumSchema<{ Epoch: UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>; None: LiteralSchema<true, true>; }>, undefined, undefined | null | EnumOutputShapeWithKeys<{ Epoch: string | number; None: true; }, "None" | "Epoch">>; gasData: ObjectSchema<{ budget: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>; owner: NullableSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, null | string>; payment: NullableSchema<ArraySchema<ObjectSchema<{ digest: StringSchema<string>; objectId: SchemaWithTransform<StringSchema<string>, string>; version: UnionSchema<((...
) | (...
))[], string | number>; }, undefined, { digest: string; objectId: string; version: string | number; }>, { digest: string; objectId: string; version: string | number; }[]>, undefined, null | { digest: string; objectId: string; version: string | number; }[]>; price: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>; }, undefined, { budget: null | string | number; owner: null | string; payment: null | { digest: string; objectId: string; version: string | number; }[]; price: null | string | number; }>; inputs: ArraySchema<EnumSchema<{ Object: EnumSchema<{ ImmOrOwnedObject: ObjectSchema<{ digest: StringSchema<string>; objectId: SchemaWithTransform<StringSchema<(...
)>, string>; version: UnionSchema<(...
)[], (...
) | (...
)>; }, undefined, { digest: string; objectId: string; version: string | number; }>; Receiving: ObjectSchema<{ digest: StringSchema<string>; objectId: SchemaWithTransform<StringSchema<(...
)>, string>; version: UnionSchema<(...
)[], (...
) | (...
)>; }, undefined, { digest: string; objectId: string; version: string | number; }>; SharedObject: ObjectSchema<{ initialSharedVersion: UnionSchema<(...
)[], (...
) | (...
)>; mutable: BooleanSchema<boolean>; objectId: SchemaWithTransform<StringSchema<(...
)>, string>; }, undefined, { initialSharedVersion: string | number; mutable: boolean; objectId: string; }>; }>; Pure: ObjectSchema<{ bytes: StringSchema<string>; }, undefined, { bytes: string; }>; UnresolvedObject: ObjectSchema<{ digest: OptionalSchema<NullableSchema<StringSchema<string>, undefined, null | string>, undefined, undefined | null | string>; initialSharedVersion: OptionalSchema<NullableSchema<UnionSchema<(...
)[], (...
) | (...
)>, undefined, null | string | number>, undefined, undefined | null | string | number>; objectId: SchemaWithTransform<StringSchema<string>, string>; version: OptionalSchema<NullableSchema<UnionSchema<(...
)[], (...
) | (...
)>, undefined, null | string | number>, undefined, undefined | null | string | number>; }, undefined, { digest?: null | string; initialSharedVersion?: null | string | number; objectId: string; version?: null | string | number; }>; UnresolvedPure: ObjectSchema<{ value: UnknownSchema<unknown>; }, undefined, { value: unknown; }>; }>, EnumOutputShapeWithKeys<{ Object: EnumOutputShapeWithKeys<{ ImmOrOwnedObject: { digest: string; objectId: string; version: string | number; }; Receiving: { digest: string; objectId: string; version: string | number; }; SharedObject: { initialSharedVersion: string | number; mutable: boolean; objectId: string; }; }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">; Pure: { bytes: string; }; UnresolvedObject: { digest?: null | string; initialSharedVersion?: null | string | number; objectId: string; version?: null | string | number; }; UnresolvedPure: { value: unknown; }; }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]>; sender: NullishSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, undefined | null | string>; version: LiteralSchema<2, 2>; }, undefined, { commands: EnumOutputShapeWithKeys<{ $Intent: { data: {}; inputs: {}; name: string; }; MakeMoveVec: { elements: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })[]; type: null | string; }; MergeCoins: { destination: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; sources: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })[]; }; MoveCall: { _argumentTypes?: null | { body: OpenMoveTypeSignatureBody; ref: null | "&" | "&mut"; }[]; arguments: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })[]; function: string; module: string; package: string; typeArguments: string[]; }; Publish: { dependencies: string[]; modules: string[]; }; SplitCoins: { amounts: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })[]; coin: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }; TransferObjects: { address: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; objects: ({ $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })[]; }; Upgrade: { dependencies: string[]; modules: string[]; package: string; ticket: { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }; }; }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]; expiration: undefined | null | EnumOutputShapeWithKeys<{ Epoch: string | number; None: true; }, "None" | "Epoch">; gasData: { budget: null | string | number; owner: null | string; payment: null | { digest: string; objectId: string; version: string | number; }[]; price: null | string | number; }; inputs: EnumOutputShapeWithKeys<{ Object: EnumOutputShapeWithKeys<{ ImmOrOwnedObject: { digest: string; objectId: string; version: string | number; }; Receiving: { digest: string; objectId: string; version: string | number; }; SharedObject: { initialSharedVersion: string | number; mutable: boolean; objectId: string; }; }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">; Pure: { bytes: string; }; UnresolvedObject: { digest?: null | string; initialSharedVersion?: null | string | number; objectId: string; version?: null | string | number; }; UnresolvedPure: { value: unknown; }; }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]; sender: undefined | null | string; version: 2; }> = ... Type declaration
commands: ArraySchema<EnumSchema<{
$Intent: ObjectSchema<{
data: RecordSchema<StringSchema<string>, UnknownSchema<unknown>, {}>;
inputs: RecordSchema<StringSchema<string>, UnionSchema<((...) | (...))[], {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
} | (...)[]>, {}>;
name: StringSchema<string>;
}, undefined, {
data: {};
inputs: {};
name: string;
}>;
MakeMoveVec: ObjectSchema<{
elements: ArraySchema<BaseSchema<{
GasCoin: ...;
} | {
Input: ...;
type?: ...;
} | {
Result: ...;
} | {
NestedResult: ...;
}, {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
}>, ({
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
})[]>;
type: NullableSchema<StringSchema<string>, undefined, null | string>;
}, undefined, {
elements: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
type: null | string;
}>;
MergeCoins: ObjectSchema<{
destination: BaseSchema<{
GasCoin: true;
} | {
Input: number;
type?: (...) | (...) | (...);
} | {
Result: number;
} | {
NestedResult: [(...), (...)];
}, {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
}>;
sources: ArraySchema<BaseSchema<{
GasCoin: ...;
} | {
Input: ...;
type?: ...;
} | {
Result: ...;
} | {
NestedResult: ...;
}, {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
}>, ({
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
})[]>;
}, undefined, {
destination: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
sources: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
}>;
MoveCall: ObjectSchema<{
_argumentTypes: OptionalSchema<NullableSchema<ArraySchema<ObjectSchema<(...), (...), (...)>, (...)[]>, undefined, null | (...)[]>, undefined, undefined | null | {
body: ...;
ref: ...;
}[]>;
arguments: ArraySchema<BaseSchema<{
GasCoin: ...;
} | {
Input: ...;
type?: ...;
} | {
Result: ...;
} | {
NestedResult: ...;
}, {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
}>, ({
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
})[]>;
function: StringSchema<string>;
module: StringSchema<string>;
package: SchemaWithTransform<StringSchema<string>, string>;
typeArguments: ArraySchema<StringSchema<string>, string[]>;
}, undefined, {
_argumentTypes?: null | {
body: OpenMoveTypeSignatureBody;
ref: (...) | (...) | (...);
}[];
arguments: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
function: string;
module: string;
package: string;
typeArguments: string[];
}>;
Publish: ObjectSchema<{
dependencies: ArraySchema<SchemaWithTransform<StringSchema<string>, string>, string[]>;
modules: ArraySchema<StringSchema<string>, string[]>;
}, undefined, {
dependencies: string[];
modules: string[];
}>;
SplitCoins: ObjectSchema<{
amounts: ArraySchema<BaseSchema<{
GasCoin: ...;
} | {
Input: ...;
type?: ...;
} | {
Result: ...;
} | {
NestedResult: ...;
}, {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
}>, ({
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
})[]>;
coin: BaseSchema<{
GasCoin: true;
} | {
Input: number;
type?: (...) | (...) | (...);
} | {
Result: number;
} | {
NestedResult: [(...), (...)];
}, {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
}>;
}, undefined, {
amounts: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
coin: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
}>;
TransferObjects: ObjectSchema<{
address: BaseSchema<{
GasCoin: true;
} | {
Input: number;
type?: (...) | (...) | (...);
} | {
Result: number;
} | {
NestedResult: [(...), (...)];
}, {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
}>;
objects: ArraySchema<BaseSchema<{
GasCoin: ...;
} | {
Input: ...;
type?: ...;
} | {
Result: ...;
} | {
NestedResult: ...;
}, {
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
}>, ({
$kind: ...;
GasCoin: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Input: ...;
type?: ...;
} | {
$kind: ...;
Result: ...;
} | {
$kind: ...;
NestedResult: ...;
})[]>;
}, undefined, {
address: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
objects: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
}>;
Upgrade: ObjectSchema<{
dependencies: ArraySchema<SchemaWithTransform<StringSchema<string>, string>, string[]>;
modules: ArraySchema<StringSchema<string>, string[]>;
package: SchemaWithTransform<StringSchema<string>, string>;
ticket: BaseSchema<{
GasCoin: true;
} | {
Input: number;
type?: (...) | (...) | (...);
} | {
Result: number;
} | {
NestedResult: [(...), (...)];
}, {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
}>;
}, undefined, {
dependencies: string[];
modules: string[];
package: string;
ticket: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
}>;
}>, EnumOutputShapeWithKeys<{
$Intent: {
data: {};
inputs: {};
name: string;
};
MakeMoveVec: {
elements: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
type: null | string;
};
MergeCoins: {
destination: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
sources: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
};
MoveCall: {
_argumentTypes?: null | {
body: OpenMoveTypeSignatureBody;
ref: (...) | (...) | (...);
}[];
arguments: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
function: string;
module: string;
package: string;
typeArguments: string[];
};
Publish: {
dependencies: string[];
modules: string[];
};
SplitCoins: {
amounts: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
coin: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
};
TransferObjects: {
address: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
objects: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Input";
Input: number;
type?: (...) | (...);
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [(...), (...)];
})[];
};
Upgrade: {
dependencies: string[];
modules: string[];
package: string;
ticket: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
};
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]>
expiration: NullishSchema<EnumSchema<{
Epoch: UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>;
None: LiteralSchema<true, true>;
}>, undefined, undefined | null | EnumOutputShapeWithKeys<{
Epoch: string | number;
None: true;
}, "None" | "Epoch">>
gasData: ObjectSchema<{
budget: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
owner: NullableSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, null | string>;
payment: NullableSchema<ArraySchema<ObjectSchema<{
digest: StringSchema<string>;
objectId: SchemaWithTransform<StringSchema<string>, string>;
version: UnionSchema<((...) | (...))[], string | number>;
}, undefined, {
digest: string;
objectId: string;
version: string | number;
}>, {
digest: string;
objectId: string;
version: string | number;
}[]>, undefined, null | {
digest: string;
objectId: string;
version: string | number;
}[]>;
price: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
}, undefined, {
budget: null | string | number;
owner: null | string;
payment: null | {
digest: string;
objectId: string;
version: string | number;
}[];
price: null | string | number;
}>
inputs: ArraySchema<EnumSchema<{
Object: EnumSchema<{
ImmOrOwnedObject: ObjectSchema<{
digest: StringSchema<string>;
objectId: SchemaWithTransform<StringSchema<(...)>, string>;
version: UnionSchema<(...)[], (...) | (...)>;
}, undefined, {
digest: string;
objectId: string;
version: string | number;
}>;
Receiving: ObjectSchema<{
digest: StringSchema<string>;
objectId: SchemaWithTransform<StringSchema<(...)>, string>;
version: UnionSchema<(...)[], (...) | (...)>;
}, undefined, {
digest: string;
objectId: string;
version: string | number;
}>;
SharedObject: ObjectSchema<{
initialSharedVersion: UnionSchema<(...)[], (...) | (...)>;
mutable: BooleanSchema<boolean>;
objectId: SchemaWithTransform<StringSchema<(...)>, string>;
}, undefined, {
initialSharedVersion: string | number;
mutable: boolean;
objectId: string;
}>;
}>;
Pure: ObjectSchema<{
bytes: StringSchema<string>;
}, undefined, {
bytes: string;
}>;
UnresolvedObject: ObjectSchema<{
digest: OptionalSchema<NullableSchema<StringSchema<string>, undefined, null | string>, undefined, undefined | null | string>;
initialSharedVersion: OptionalSchema<NullableSchema<UnionSchema<(...)[], (...) | (...)>, undefined, null | string | number>, undefined, undefined | null | string | number>;
objectId: SchemaWithTransform<StringSchema<string>, string>;
version: OptionalSchema<NullableSchema<UnionSchema<(...)[], (...) | (...)>, undefined, null | string | number>, undefined, undefined | null | string | number>;
}, undefined, {
digest?: null | string;
initialSharedVersion?: null | string | number;
objectId: string;
version?: null | string | number;
}>;
UnresolvedPure: ObjectSchema<{
value: UnknownSchema<unknown>;
}, undefined, {
value: unknown;
}>;
}>, EnumOutputShapeWithKeys<{
Object: EnumOutputShapeWithKeys<{
ImmOrOwnedObject: {
digest: string;
objectId: string;
version: string | number;
};
Receiving: {
digest: string;
objectId: string;
version: string | number;
};
SharedObject: {
initialSharedVersion: string | number;
mutable: boolean;
objectId: string;
};
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
Pure: {
bytes: string;
};
UnresolvedObject: {
digest?: null | string;
initialSharedVersion?: null | string | number;
objectId: string;
version?: null | string | number;
};
UnresolvedPure: {
value: unknown;
};
}, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]>
sender: NullishSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, undefined | null | string>
version: LiteralSchema<2, 2>
Type declaration
commands: EnumOutputShapeWithKeys<{
$Intent: {
data: {};
inputs: {};
name: string;
};
MakeMoveVec: {
elements: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
})[];
type: null | string;
};
MergeCoins: {
destination: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
sources: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
})[];
};
MoveCall: {
_argumentTypes?: null | {
body: OpenMoveTypeSignatureBody;
ref: null | "&" | "&mut";
}[];
arguments: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
})[];
function: string;
module: string;
package: string;
typeArguments: string[];
};
Publish: {
dependencies: string[];
modules: string[];
};
SplitCoins: {
amounts: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
})[];
coin: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
};
TransferObjects: {
address: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
objects: ({
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
})[];
};
Upgrade: {
dependencies: string[];
modules: string[];
package: string;
ticket: {
$kind: "GasCoin";
GasCoin: true;
} | {
$kind: "Input";
Input: number;
type?: "pure";
} | {
$kind: "Input";
Input: number;
type?: "object";
} | {
$kind: "Result";
Result: number;
} | {
$kind: "NestedResult";
NestedResult: [number, number];
};
};
}, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]
expiration: undefined | null | EnumOutputShapeWithKeys<{
Epoch: string | number;
None: true;
}, "None" | "Epoch">
gasData: {
budget: null | string | number;
owner: null | string;
payment: null | {
digest: string;
objectId: string;
version: string | number;
}[];
price: null | string | number;
}
budget: null | string | number
owner: null | string
payment: null | {
digest: string;
objectId: string;
version: string | number;
}[]
price: null | string | number
inputs: EnumOutputShapeWithKeys<{
Object: EnumOutputShapeWithKeys<{
ImmOrOwnedObject: {
digest: string;
objectId: string;
version: string | number;
};
Receiving: {
digest: string;
objectId: string;
version: string | number;
};
SharedObject: {
initialSharedVersion: string | number;
mutable: boolean;
objectId: string;
};
}, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
Pure: {
bytes: string;
};
UnresolvedObject: {
digest?: null | string;
initialSharedVersion?: null | string | number;
objectId: string;
version?: null | string | number;
};
UnresolvedPure: {
value: unknown;
};
}, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]
sender: undefined | null | string
version: 2