@mysten/sui 1.37.0 → 1.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/bcs/bcs.d.ts +563 -869
  3. package/dist/cjs/bcs/effects.d.ts +419 -729
  4. package/dist/cjs/bcs/index.d.ts +1005 -1591
  5. package/dist/cjs/bcs/index.js +3 -0
  6. package/dist/cjs/bcs/index.js.map +2 -2
  7. package/dist/cjs/client/index.d.ts +1 -1
  8. package/dist/cjs/client/index.js +0 -2
  9. package/dist/cjs/client/index.js.map +2 -2
  10. package/dist/cjs/client/types/index.d.ts +6 -6
  11. package/dist/cjs/client/types/index.js +0 -7
  12. package/dist/cjs/client/types/index.js.map +2 -2
  13. package/dist/cjs/graphql/schemas/2024.1/index.d.ts +1 -1
  14. package/dist/cjs/graphql/schemas/2024.1/index.js +0 -2
  15. package/dist/cjs/graphql/schemas/2024.1/index.js.map +2 -2
  16. package/dist/cjs/graphql/schemas/2024.4/index.d.ts +1 -1
  17. package/dist/cjs/graphql/schemas/2024.4/index.js +0 -2
  18. package/dist/cjs/graphql/schemas/2024.4/index.js.map +2 -2
  19. package/dist/cjs/graphql/schemas/latest/index.d.ts +1 -1
  20. package/dist/cjs/graphql/schemas/latest/index.js +0 -2
  21. package/dist/cjs/graphql/schemas/latest/index.js.map +2 -2
  22. package/dist/cjs/version.d.ts +2 -2
  23. package/dist/cjs/version.js +2 -2
  24. package/dist/cjs/version.js.map +1 -1
  25. package/dist/cjs/zklogin/bcs.d.ts +21 -37
  26. package/dist/esm/bcs/bcs.d.ts +563 -869
  27. package/dist/esm/bcs/effects.d.ts +419 -729
  28. package/dist/esm/bcs/index.d.ts +1005 -1591
  29. package/dist/esm/bcs/index.js +4 -1
  30. package/dist/esm/bcs/index.js.map +2 -2
  31. package/dist/esm/client/index.d.ts +1 -1
  32. package/dist/esm/client/index.js +0 -1
  33. package/dist/esm/client/index.js.map +2 -2
  34. package/dist/esm/client/types/index.d.ts +6 -6
  35. package/dist/esm/client/types/index.js +0 -6
  36. package/dist/esm/client/types/index.js.map +3 -3
  37. package/dist/esm/graphql/schemas/2024.1/index.d.ts +1 -1
  38. package/dist/esm/graphql/schemas/2024.1/index.js +0 -1
  39. package/dist/esm/graphql/schemas/2024.1/index.js.map +2 -2
  40. package/dist/esm/graphql/schemas/2024.4/index.d.ts +1 -1
  41. package/dist/esm/graphql/schemas/2024.4/index.js +0 -1
  42. package/dist/esm/graphql/schemas/2024.4/index.js.map +2 -2
  43. package/dist/esm/graphql/schemas/latest/index.d.ts +1 -1
  44. package/dist/esm/graphql/schemas/latest/index.js +0 -1
  45. package/dist/esm/graphql/schemas/latest/index.js.map +2 -2
  46. package/dist/esm/version.d.ts +2 -2
  47. package/dist/esm/version.js +2 -2
  48. package/dist/esm/version.js.map +1 -1
  49. package/dist/esm/zklogin/bcs.d.ts +21 -37
  50. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +2 -2
  53. package/src/bcs/index.ts +1 -1
  54. package/src/client/index.ts +1 -1
  55. package/src/client/types/index.ts +6 -6
  56. package/src/graphql/schemas/2024.1/index.ts +1 -1
  57. package/src/graphql/schemas/2024.4/index.ts +1 -1
  58. package/src/graphql/schemas/latest/index.ts +1 -1
  59. package/src/version.ts +2 -2
@@ -1,29 +1,29 @@
1
- export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
2
- V1: {
3
- status: import("@mysten/bcs").EnumOutputShapeWithKeys<{
4
- Success: true;
5
- Failed: {
6
- error: import("@mysten/bcs").EnumOutputShapeWithKeys<{
7
- InsufficientGas: true;
8
- InvalidGasObject: true;
9
- InvariantViolation: true;
10
- FeatureNotYetSupported: true;
11
- MoveObjectTooBig: {
12
- objectSize: string;
13
- maxObjectSize: string;
14
- };
15
- MovePackageTooBig: {
16
- objectSize: string;
17
- maxObjectSize: string;
18
- };
19
- CircularObjectOwnership: {
20
- object: string;
21
- };
22
- InsufficientCoinBalance: true;
23
- CoinBalanceOverflow: true;
24
- PublishErrorNonZeroAddress: true;
25
- SuiMoveVerificationError: true;
26
- MovePrimitiveRuntimeError: {
1
+ export declare const TransactionEffects: import("@mysten/bcs").BcsEnum<{
2
+ V1: import("@mysten/bcs").BcsStruct<{
3
+ status: import("@mysten/bcs").BcsEnum<{
4
+ Success: null;
5
+ Failed: import("@mysten/bcs").BcsStruct<{
6
+ error: import("@mysten/bcs").BcsEnum<{
7
+ InsufficientGas: null;
8
+ InvalidGasObject: null;
9
+ InvariantViolation: null;
10
+ FeatureNotYetSupported: null;
11
+ MoveObjectTooBig: import("@mysten/bcs").BcsStruct<{
12
+ objectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
13
+ maxObjectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
14
+ }, string>;
15
+ MovePackageTooBig: import("@mysten/bcs").BcsStruct<{
16
+ objectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
17
+ maxObjectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
18
+ }, string>;
19
+ CircularObjectOwnership: import("@mysten/bcs").BcsStruct<{
20
+ object: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
21
+ }, string>;
22
+ InsufficientCoinBalance: null;
23
+ CoinBalanceOverflow: null;
24
+ PublishErrorNonZeroAddress: null;
25
+ SuiMoveVerificationError: null;
26
+ MovePrimitiveRuntimeError: import("@mysten/bcs").BcsType<{
27
27
  module: {
28
28
  address: string;
29
29
  name: string;
@@ -31,142 +31,146 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
31
31
  function: number;
32
32
  instruction: number;
33
33
  functionName: string | null;
34
- } | null;
35
- MoveAbort: [{
34
+ } | null, {
36
35
  module: {
37
- address: string;
36
+ address: string | Uint8Array<ArrayBufferLike>;
38
37
  name: string;
39
38
  };
40
39
  function: number;
41
40
  instruction: number;
42
- functionName: string | null;
43
- }, string];
44
- VMVerificationOrDeserializationError: true;
45
- VMInvariantViolation: true;
46
- FunctionNotFound: true;
47
- ArityMismatch: true;
48
- TypeArityMismatch: true;
49
- NonEntryFunctionInvoked: true;
50
- CommandArgumentError: {
51
- argIdx: number;
52
- kind: import("@mysten/bcs").EnumOutputShapeWithKeys<{
53
- TypeMismatch: true;
54
- InvalidBCSBytes: true;
55
- InvalidUsageOfPureArg: true;
56
- InvalidArgumentToPrivateEntryFunction: true;
57
- IndexOutOfBounds: {
58
- idx: number;
59
- };
60
- SecondaryIndexOutOfBounds: {
61
- resultIdx: number;
62
- secondaryIdx: number;
63
- };
64
- InvalidResultArity: {
65
- resultIdx: number;
66
- };
67
- InvalidGasCoinUsage: true;
68
- InvalidValueUsage: true;
69
- InvalidObjectByValue: true;
70
- InvalidObjectByMutRef: true;
71
- SharedObjectOperationNotAllowed: true;
72
- }, "TypeMismatch" | "InvalidBCSBytes" | "InvalidUsageOfPureArg" | "InvalidArgumentToPrivateEntryFunction" | "IndexOutOfBounds" | "SecondaryIndexOutOfBounds" | "InvalidResultArity" | "InvalidGasCoinUsage" | "InvalidValueUsage" | "InvalidObjectByValue" | "InvalidObjectByMutRef" | "SharedObjectOperationNotAllowed">;
73
- };
74
- TypeArgumentError: {
75
- argumentIdx: number;
76
- kind: import("@mysten/bcs").EnumOutputShapeWithKeys<{
77
- TypeNotFound: true;
78
- ConstraintNotSatisfied: true;
79
- }, "TypeNotFound" | "ConstraintNotSatisfied">;
80
- };
81
- UnusedValueWithoutDrop: {
82
- resultIdx: number;
83
- secondaryIdx: number;
84
- };
85
- InvalidPublicFunctionReturnType: {
86
- idx: number;
87
- };
88
- InvalidTransferObject: true;
89
- EffectsTooLarge: {
90
- currentSize: string;
91
- maxSize: string;
92
- };
93
- PublishUpgradeMissingDependency: true;
94
- PublishUpgradeDependencyDowngrade: true;
95
- PackageUpgradeError: {
96
- upgradeError: import("@mysten/bcs").EnumOutputShapeWithKeys<{
97
- UnableToFetchPackage: {
98
- packageId: string;
99
- };
100
- NotAPackage: {
101
- objectId: string;
102
- };
103
- IncompatibleUpgrade: true;
104
- DigestDoesNotMatch: {
105
- digest: number[];
106
- };
107
- UnknownUpgradePolicy: {
108
- policy: number;
109
- };
110
- PackageIDDoesNotMatch: {
111
- packageId: string;
112
- ticketId: string;
113
- };
114
- }, "UnableToFetchPackage" | "NotAPackage" | "IncompatibleUpgrade" | "DigestDoesNotMatch" | "UnknownUpgradePolicy" | "PackageIDDoesNotMatch">;
115
- };
116
- WrittenObjectsTooLarge: {
117
- currentSize: string;
118
- maxSize: string;
119
- };
120
- CertificateDenied: true;
121
- SuiMoveVerificationTimedout: true;
122
- SharedObjectOperationNotAllowed: true;
123
- InputObjectDeleted: true;
124
- ExecutionCancelledDueToSharedObjectCongestion: {
125
- congestedObjects: string[];
126
- };
127
- AddressDeniedForCoin: {
128
- address: string;
129
- coinType: string;
130
- };
131
- CoinTypeGlobalPause: {
132
- coinType: string;
133
- };
134
- ExecutionCancelledDueToRandomnessUnavailable: true;
135
- }, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted" | "ExecutionCancelledDueToSharedObjectCongestion" | "AddressDeniedForCoin" | "CoinTypeGlobalPause" | "ExecutionCancelledDueToRandomnessUnavailable">;
136
- command: string | null;
137
- };
138
- }, "Success" | "Failed">;
139
- executedEpoch: string;
140
- gasUsed: {
141
- computationCost: string;
142
- storageCost: string;
143
- storageRebate: string;
144
- nonRefundableStorageFee: string;
145
- };
146
- modifiedAtVersions: [string, string][];
147
- sharedObjects: {
41
+ functionName: string | null | undefined;
42
+ } | null | undefined, `Option<${string}>`>;
43
+ MoveAbort: import("@mysten/bcs").BcsTuple<readonly [import("@mysten/bcs").BcsStruct<{
44
+ module: import("@mysten/bcs").BcsStruct<{
45
+ address: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
46
+ name: import("@mysten/bcs").BcsType<string, string, "string">;
47
+ }, string>;
48
+ function: import("@mysten/bcs").BcsType<number, number, "u16">;
49
+ instruction: import("@mysten/bcs").BcsType<number, number, "u16">;
50
+ functionName: import("@mysten/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
51
+ }, string>, import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">], string>;
52
+ VMVerificationOrDeserializationError: null;
53
+ VMInvariantViolation: null;
54
+ FunctionNotFound: null;
55
+ ArityMismatch: null;
56
+ TypeArityMismatch: null;
57
+ NonEntryFunctionInvoked: null;
58
+ CommandArgumentError: import("@mysten/bcs").BcsStruct<{
59
+ argIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
60
+ kind: import("@mysten/bcs").BcsEnum<{
61
+ TypeMismatch: null;
62
+ InvalidBCSBytes: null;
63
+ InvalidUsageOfPureArg: null;
64
+ InvalidArgumentToPrivateEntryFunction: null;
65
+ IndexOutOfBounds: import("@mysten/bcs").BcsStruct<{
66
+ idx: import("@mysten/bcs").BcsType<number, number, "u16">;
67
+ }, string>;
68
+ SecondaryIndexOutOfBounds: import("@mysten/bcs").BcsStruct<{
69
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
70
+ secondaryIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
71
+ }, string>;
72
+ InvalidResultArity: import("@mysten/bcs").BcsStruct<{
73
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
74
+ }, string>;
75
+ InvalidGasCoinUsage: null;
76
+ InvalidValueUsage: null;
77
+ InvalidObjectByValue: null;
78
+ InvalidObjectByMutRef: null;
79
+ SharedObjectOperationNotAllowed: null;
80
+ }, "CommandArgumentError">;
81
+ }, string>;
82
+ TypeArgumentError: import("@mysten/bcs").BcsStruct<{
83
+ argumentIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
84
+ kind: import("@mysten/bcs").BcsEnum<{
85
+ TypeNotFound: null;
86
+ ConstraintNotSatisfied: null;
87
+ }, "TypeArgumentError">;
88
+ }, string>;
89
+ UnusedValueWithoutDrop: import("@mysten/bcs").BcsStruct<{
90
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
91
+ secondaryIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
92
+ }, string>;
93
+ InvalidPublicFunctionReturnType: import("@mysten/bcs").BcsStruct<{
94
+ idx: import("@mysten/bcs").BcsType<number, number, "u16">;
95
+ }, string>;
96
+ InvalidTransferObject: null;
97
+ EffectsTooLarge: import("@mysten/bcs").BcsStruct<{
98
+ currentSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
99
+ maxSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
100
+ }, string>;
101
+ PublishUpgradeMissingDependency: null;
102
+ PublishUpgradeDependencyDowngrade: null;
103
+ PackageUpgradeError: import("@mysten/bcs").BcsStruct<{
104
+ upgradeError: import("@mysten/bcs").BcsEnum<{
105
+ UnableToFetchPackage: import("@mysten/bcs").BcsStruct<{
106
+ packageId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
107
+ }, string>;
108
+ NotAPackage: import("@mysten/bcs").BcsStruct<{
109
+ objectId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
110
+ }, string>;
111
+ IncompatibleUpgrade: null;
112
+ DigestDoesNotMatch: import("@mysten/bcs").BcsStruct<{
113
+ digest: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
114
+ length: number;
115
+ }, string>;
116
+ }, string>;
117
+ UnknownUpgradePolicy: import("@mysten/bcs").BcsStruct<{
118
+ policy: import("@mysten/bcs").BcsType<number, number, "u8">;
119
+ }, string>;
120
+ PackageIDDoesNotMatch: import("@mysten/bcs").BcsStruct<{
121
+ packageId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
122
+ ticketId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
123
+ }, string>;
124
+ }, "PackageUpgradeError">;
125
+ }, string>;
126
+ WrittenObjectsTooLarge: import("@mysten/bcs").BcsStruct<{
127
+ currentSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
128
+ maxSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
129
+ }, string>;
130
+ CertificateDenied: null;
131
+ SuiMoveVerificationTimedout: null;
132
+ SharedObjectOperationNotAllowed: null;
133
+ InputObjectDeleted: null;
134
+ ExecutionCancelledDueToSharedObjectCongestion: import("@mysten/bcs").BcsStruct<{
135
+ congestedObjects: import("@mysten/bcs").BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
136
+ length: number;
137
+ }, string>;
138
+ }, string>;
139
+ AddressDeniedForCoin: import("@mysten/bcs").BcsStruct<{
140
+ address: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
141
+ coinType: import("@mysten/bcs").BcsType<string, string, "string">;
142
+ }, string>;
143
+ CoinTypeGlobalPause: import("@mysten/bcs").BcsStruct<{
144
+ coinType: import("@mysten/bcs").BcsType<string, string, "string">;
145
+ }, string>;
146
+ ExecutionCancelledDueToRandomnessUnavailable: null;
147
+ }, "ExecutionFailureStatus">;
148
+ command: import("@mysten/bcs").BcsType<string | null, string | number | bigint | null | undefined, "Option<u64>">;
149
+ }, string>;
150
+ }, "ExecutionStatus">;
151
+ executedEpoch: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
152
+ gasUsed: import("@mysten/bcs").BcsStruct<{
153
+ computationCost: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
154
+ storageCost: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
155
+ storageRebate: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
156
+ nonRefundableStorageFee: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
157
+ }, string>;
158
+ modifiedAtVersions: import("@mysten/bcs").BcsType<[string, string][], Iterable<readonly [string | Uint8Array<ArrayBufferLike>, string | number | bigint]> & {
159
+ length: number;
160
+ }, string>;
161
+ sharedObjects: import("@mysten/bcs").BcsType<{
148
162
  objectId: string;
149
163
  version: string;
150
164
  digest: string;
151
- }[];
152
- transactionDigest: string;
153
- created: [{
154
- objectId: string;
155
- version: string;
165
+ }[], Iterable<{
166
+ objectId: string | Uint8Array<ArrayBufferLike>;
167
+ version: string | number | bigint;
156
168
  digest: string;
157
- }, import("@mysten/bcs").EnumOutputShapeWithKeys<{
158
- AddressOwner: string;
159
- ObjectOwner: string;
160
- Shared: {
161
- initialSharedVersion: string;
162
- };
163
- Immutable: true;
164
- ConsensusAddressOwner: {
165
- owner: string;
166
- startVersion: string;
167
- };
168
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][];
169
- mutated: [{
169
+ }> & {
170
+ length: number;
171
+ }, string>;
172
+ transactionDigest: import("@mysten/bcs").BcsType<string, string, "ObjectDigest">;
173
+ created: import("@mysten/bcs").BcsType<[{
170
174
  objectId: string;
171
175
  version: string;
172
176
  digest: string;
@@ -181,39 +185,25 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
181
185
  owner: string;
182
186
  startVersion: string;
183
187
  };
184
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][];
185
- unwrapped: [{
186
- objectId: string;
187
- version: string;
188
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
189
+ objectId: string | Uint8Array<ArrayBufferLike>;
190
+ version: string | number | bigint;
188
191
  digest: string;
189
- }, import("@mysten/bcs").EnumOutputShapeWithKeys<{
190
- AddressOwner: string;
191
- ObjectOwner: string;
192
+ }, import("@mysten/bcs").EnumInputShape<{
193
+ AddressOwner: string | Uint8Array<ArrayBufferLike>;
194
+ ObjectOwner: string | Uint8Array<ArrayBufferLike>;
192
195
  Shared: {
193
- initialSharedVersion: string;
196
+ initialSharedVersion: string | number | bigint;
194
197
  };
195
- Immutable: true;
198
+ Immutable: boolean | object | null;
196
199
  ConsensusAddressOwner: {
197
- owner: string;
198
- startVersion: string;
200
+ owner: string | Uint8Array<ArrayBufferLike>;
201
+ startVersion: string | number | bigint;
199
202
  };
200
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][];
201
- deleted: {
202
- objectId: string;
203
- version: string;
204
- digest: string;
205
- }[];
206
- unwrappedThenDeleted: {
207
- objectId: string;
208
- version: string;
209
- digest: string;
210
- }[];
211
- wrapped: {
212
- objectId: string;
213
- version: string;
214
- digest: string;
215
- }[];
216
- gasObject: [{
203
+ }>]> & {
204
+ length: number;
205
+ }, string>;
206
+ mutated: import("@mysten/bcs").BcsType<[{
217
207
  objectId: string;
218
208
  version: string;
219
209
  digest: string;
@@ -228,367 +218,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
228
218
  owner: string;
229
219
  startVersion: string;
230
220
  };
231
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
232
- eventsDigest: string | null;
233
- dependencies: string[];
234
- };
235
- V2: {
236
- status: import("@mysten/bcs").EnumOutputShapeWithKeys<{
237
- Success: true;
238
- Failed: {
239
- error: import("@mysten/bcs").EnumOutputShapeWithKeys<{
240
- InsufficientGas: true;
241
- InvalidGasObject: true;
242
- InvariantViolation: true;
243
- FeatureNotYetSupported: true;
244
- MoveObjectTooBig: {
245
- objectSize: string;
246
- maxObjectSize: string;
247
- };
248
- MovePackageTooBig: {
249
- objectSize: string;
250
- maxObjectSize: string;
251
- };
252
- CircularObjectOwnership: {
253
- object: string;
254
- };
255
- InsufficientCoinBalance: true;
256
- CoinBalanceOverflow: true;
257
- PublishErrorNonZeroAddress: true;
258
- SuiMoveVerificationError: true;
259
- MovePrimitiveRuntimeError: {
260
- module: {
261
- address: string;
262
- name: string;
263
- };
264
- function: number;
265
- instruction: number;
266
- functionName: string | null;
267
- } | null;
268
- MoveAbort: [{
269
- module: {
270
- address: string;
271
- name: string;
272
- };
273
- function: number;
274
- instruction: number;
275
- functionName: string | null;
276
- }, string];
277
- VMVerificationOrDeserializationError: true;
278
- VMInvariantViolation: true;
279
- FunctionNotFound: true;
280
- ArityMismatch: true;
281
- TypeArityMismatch: true;
282
- NonEntryFunctionInvoked: true;
283
- CommandArgumentError: {
284
- argIdx: number;
285
- kind: import("@mysten/bcs").EnumOutputShapeWithKeys<{
286
- TypeMismatch: true;
287
- InvalidBCSBytes: true;
288
- InvalidUsageOfPureArg: true;
289
- InvalidArgumentToPrivateEntryFunction: true;
290
- IndexOutOfBounds: {
291
- idx: number;
292
- };
293
- SecondaryIndexOutOfBounds: {
294
- resultIdx: number;
295
- secondaryIdx: number;
296
- };
297
- InvalidResultArity: {
298
- resultIdx: number;
299
- };
300
- InvalidGasCoinUsage: true;
301
- InvalidValueUsage: true;
302
- InvalidObjectByValue: true;
303
- InvalidObjectByMutRef: true;
304
- SharedObjectOperationNotAllowed: true;
305
- }, "TypeMismatch" | "InvalidBCSBytes" | "InvalidUsageOfPureArg" | "InvalidArgumentToPrivateEntryFunction" | "IndexOutOfBounds" | "SecondaryIndexOutOfBounds" | "InvalidResultArity" | "InvalidGasCoinUsage" | "InvalidValueUsage" | "InvalidObjectByValue" | "InvalidObjectByMutRef" | "SharedObjectOperationNotAllowed">;
306
- };
307
- TypeArgumentError: {
308
- argumentIdx: number;
309
- kind: import("@mysten/bcs").EnumOutputShapeWithKeys<{
310
- TypeNotFound: true;
311
- ConstraintNotSatisfied: true;
312
- }, "TypeNotFound" | "ConstraintNotSatisfied">;
313
- };
314
- UnusedValueWithoutDrop: {
315
- resultIdx: number;
316
- secondaryIdx: number;
317
- };
318
- InvalidPublicFunctionReturnType: {
319
- idx: number;
320
- };
321
- InvalidTransferObject: true;
322
- EffectsTooLarge: {
323
- currentSize: string;
324
- maxSize: string;
325
- };
326
- PublishUpgradeMissingDependency: true;
327
- PublishUpgradeDependencyDowngrade: true;
328
- PackageUpgradeError: {
329
- upgradeError: import("@mysten/bcs").EnumOutputShapeWithKeys<{
330
- UnableToFetchPackage: {
331
- packageId: string;
332
- };
333
- NotAPackage: {
334
- objectId: string;
335
- };
336
- IncompatibleUpgrade: true;
337
- DigestDoesNotMatch: {
338
- digest: number[];
339
- };
340
- UnknownUpgradePolicy: {
341
- policy: number;
342
- };
343
- PackageIDDoesNotMatch: {
344
- packageId: string;
345
- ticketId: string;
346
- };
347
- }, "UnableToFetchPackage" | "NotAPackage" | "IncompatibleUpgrade" | "DigestDoesNotMatch" | "UnknownUpgradePolicy" | "PackageIDDoesNotMatch">;
348
- };
349
- WrittenObjectsTooLarge: {
350
- currentSize: string;
351
- maxSize: string;
352
- };
353
- CertificateDenied: true;
354
- SuiMoveVerificationTimedout: true;
355
- SharedObjectOperationNotAllowed: true;
356
- InputObjectDeleted: true;
357
- ExecutionCancelledDueToSharedObjectCongestion: {
358
- congestedObjects: string[];
359
- };
360
- AddressDeniedForCoin: {
361
- address: string;
362
- coinType: string;
363
- };
364
- CoinTypeGlobalPause: {
365
- coinType: string;
366
- };
367
- ExecutionCancelledDueToRandomnessUnavailable: true;
368
- }, "PackageUpgradeError" | "SharedObjectOperationNotAllowed" | "CommandArgumentError" | "TypeArgumentError" | "InsufficientGas" | "InvalidGasObject" | "InvariantViolation" | "FeatureNotYetSupported" | "MoveObjectTooBig" | "MovePackageTooBig" | "CircularObjectOwnership" | "InsufficientCoinBalance" | "CoinBalanceOverflow" | "PublishErrorNonZeroAddress" | "SuiMoveVerificationError" | "MovePrimitiveRuntimeError" | "MoveAbort" | "VMVerificationOrDeserializationError" | "VMInvariantViolation" | "FunctionNotFound" | "ArityMismatch" | "TypeArityMismatch" | "NonEntryFunctionInvoked" | "UnusedValueWithoutDrop" | "InvalidPublicFunctionReturnType" | "InvalidTransferObject" | "EffectsTooLarge" | "PublishUpgradeMissingDependency" | "PublishUpgradeDependencyDowngrade" | "WrittenObjectsTooLarge" | "CertificateDenied" | "SuiMoveVerificationTimedout" | "InputObjectDeleted" | "ExecutionCancelledDueToSharedObjectCongestion" | "AddressDeniedForCoin" | "CoinTypeGlobalPause" | "ExecutionCancelledDueToRandomnessUnavailable">;
369
- command: string | null;
370
- };
371
- }, "Success" | "Failed">;
372
- executedEpoch: string;
373
- gasUsed: {
374
- computationCost: string;
375
- storageCost: string;
376
- storageRebate: string;
377
- nonRefundableStorageFee: string;
378
- };
379
- transactionDigest: string;
380
- gasObjectIndex: number | null;
381
- eventsDigest: string | null;
382
- dependencies: string[];
383
- lamportVersion: string;
384
- changedObjects: [string, {
385
- inputState: import("@mysten/bcs").EnumOutputShapeWithKeys<{
386
- NotExist: true;
387
- Exist: [[string, string], import("@mysten/bcs").EnumOutputShapeWithKeys<{
388
- AddressOwner: string;
389
- ObjectOwner: string;
390
- Shared: {
391
- initialSharedVersion: string;
392
- };
393
- Immutable: true;
394
- ConsensusAddressOwner: {
395
- owner: string;
396
- startVersion: string;
397
- };
398
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
399
- }, "NotExist" | "Exist">;
400
- outputState: import("@mysten/bcs").EnumOutputShapeWithKeys<{
401
- NotExist: true;
402
- ObjectWrite: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
403
- AddressOwner: string;
404
- ObjectOwner: string;
405
- Shared: {
406
- initialSharedVersion: string;
407
- };
408
- Immutable: true;
409
- ConsensusAddressOwner: {
410
- owner: string;
411
- startVersion: string;
412
- };
413
- }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
414
- PackageWrite: [string, string];
415
- }, "NotExist" | "ObjectWrite" | "PackageWrite">;
416
- idOperation: import("@mysten/bcs").EnumOutputShapeWithKeys<{
417
- None: true;
418
- Created: true;
419
- Deleted: true;
420
- }, "None" | "Created" | "Deleted">;
421
- }][];
422
- unchangedSharedObjects: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
423
- ReadOnlyRoot: [string, string];
424
- MutateDeleted: string;
425
- ReadDeleted: string;
426
- Cancelled: string;
427
- PerEpochConfig: true;
428
- }, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted" | "Cancelled" | "PerEpochConfig">][];
429
- auxDataDigest: string | null;
430
- };
431
- }, "V1" | "V2">, import("@mysten/bcs").EnumInputShape<{
432
- V1: {
433
- status: import("@mysten/bcs").EnumInputShape<{
434
- Success: boolean | object | null;
435
- Failed: {
436
- error: import("@mysten/bcs").EnumInputShape<{
437
- InsufficientGas: boolean | object | null;
438
- InvalidGasObject: boolean | object | null;
439
- InvariantViolation: boolean | object | null;
440
- FeatureNotYetSupported: boolean | object | null;
441
- MoveObjectTooBig: {
442
- objectSize: string | number | bigint;
443
- maxObjectSize: string | number | bigint;
444
- };
445
- MovePackageTooBig: {
446
- objectSize: string | number | bigint;
447
- maxObjectSize: string | number | bigint;
448
- };
449
- CircularObjectOwnership: {
450
- object: string | Uint8Array<ArrayBufferLike>;
451
- };
452
- InsufficientCoinBalance: boolean | object | null;
453
- CoinBalanceOverflow: boolean | object | null;
454
- PublishErrorNonZeroAddress: boolean | object | null;
455
- SuiMoveVerificationError: boolean | object | null;
456
- MovePrimitiveRuntimeError: {
457
- module: {
458
- address: string | Uint8Array<ArrayBufferLike>;
459
- name: string;
460
- };
461
- function: number;
462
- instruction: number;
463
- functionName: string | null | undefined;
464
- } | null | undefined;
465
- MoveAbort: readonly [{
466
- module: {
467
- address: string | Uint8Array<ArrayBufferLike>;
468
- name: string;
469
- };
470
- function: number;
471
- instruction: number;
472
- functionName: string | null | undefined;
473
- }, string | number | bigint];
474
- VMVerificationOrDeserializationError: boolean | object | null;
475
- VMInvariantViolation: boolean | object | null;
476
- FunctionNotFound: boolean | object | null;
477
- ArityMismatch: boolean | object | null;
478
- TypeArityMismatch: boolean | object | null;
479
- NonEntryFunctionInvoked: boolean | object | null;
480
- CommandArgumentError: {
481
- argIdx: number;
482
- kind: import("@mysten/bcs").EnumInputShape<{
483
- TypeMismatch: boolean | object | null;
484
- InvalidBCSBytes: boolean | object | null;
485
- InvalidUsageOfPureArg: boolean | object | null;
486
- InvalidArgumentToPrivateEntryFunction: boolean | object | null;
487
- IndexOutOfBounds: {
488
- idx: number;
489
- };
490
- SecondaryIndexOutOfBounds: {
491
- resultIdx: number;
492
- secondaryIdx: number;
493
- };
494
- InvalidResultArity: {
495
- resultIdx: number;
496
- };
497
- InvalidGasCoinUsage: boolean | object | null;
498
- InvalidValueUsage: boolean | object | null;
499
- InvalidObjectByValue: boolean | object | null;
500
- InvalidObjectByMutRef: boolean | object | null;
501
- SharedObjectOperationNotAllowed: boolean | object | null;
502
- }>;
503
- };
504
- TypeArgumentError: {
505
- argumentIdx: number;
506
- kind: import("@mysten/bcs").EnumInputShape<{
507
- TypeNotFound: boolean | object | null;
508
- ConstraintNotSatisfied: boolean | object | null;
509
- }>;
510
- };
511
- UnusedValueWithoutDrop: {
512
- resultIdx: number;
513
- secondaryIdx: number;
514
- };
515
- InvalidPublicFunctionReturnType: {
516
- idx: number;
517
- };
518
- InvalidTransferObject: boolean | object | null;
519
- EffectsTooLarge: {
520
- currentSize: string | number | bigint;
521
- maxSize: string | number | bigint;
522
- };
523
- PublishUpgradeMissingDependency: boolean | object | null;
524
- PublishUpgradeDependencyDowngrade: boolean | object | null;
525
- PackageUpgradeError: {
526
- upgradeError: import("@mysten/bcs").EnumInputShape<{
527
- UnableToFetchPackage: {
528
- packageId: string | Uint8Array<ArrayBufferLike>;
529
- };
530
- NotAPackage: {
531
- objectId: string | Uint8Array<ArrayBufferLike>;
532
- };
533
- IncompatibleUpgrade: boolean | object | null;
534
- DigestDoesNotMatch: {
535
- digest: Iterable<number> & {
536
- length: number;
537
- };
538
- };
539
- UnknownUpgradePolicy: {
540
- policy: number;
541
- };
542
- PackageIDDoesNotMatch: {
543
- packageId: string | Uint8Array<ArrayBufferLike>;
544
- ticketId: string | Uint8Array<ArrayBufferLike>;
545
- };
546
- }>;
547
- };
548
- WrittenObjectsTooLarge: {
549
- currentSize: string | number | bigint;
550
- maxSize: string | number | bigint;
551
- };
552
- CertificateDenied: boolean | object | null;
553
- SuiMoveVerificationTimedout: boolean | object | null;
554
- SharedObjectOperationNotAllowed: boolean | object | null;
555
- InputObjectDeleted: boolean | object | null;
556
- ExecutionCancelledDueToSharedObjectCongestion: {
557
- congestedObjects: Iterable<string | Uint8Array<ArrayBufferLike>> & {
558
- length: number;
559
- };
560
- };
561
- AddressDeniedForCoin: {
562
- address: string | Uint8Array<ArrayBufferLike>;
563
- coinType: string;
564
- };
565
- CoinTypeGlobalPause: {
566
- coinType: string;
567
- };
568
- ExecutionCancelledDueToRandomnessUnavailable: boolean | object | null;
569
- }>;
570
- command: string | number | bigint | null | undefined;
571
- };
572
- }>;
573
- executedEpoch: string | number | bigint;
574
- gasUsed: {
575
- computationCost: string | number | bigint;
576
- storageCost: string | number | bigint;
577
- storageRebate: string | number | bigint;
578
- nonRefundableStorageFee: string | number | bigint;
579
- };
580
- modifiedAtVersions: Iterable<readonly [string | Uint8Array<ArrayBufferLike>, string | number | bigint]> & {
581
- length: number;
582
- };
583
- sharedObjects: Iterable<{
584
- objectId: string | Uint8Array<ArrayBufferLike>;
585
- version: string | number | bigint;
586
- digest: string;
587
- }> & {
588
- length: number;
589
- };
590
- transactionDigest: string;
591
- created: Iterable<readonly [{
221
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
592
222
  objectId: string | Uint8Array<ArrayBufferLike>;
593
223
  version: string | number | bigint;
594
224
  digest: string;
@@ -605,26 +235,23 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
605
235
  };
606
236
  }>]> & {
607
237
  length: number;
608
- };
609
- mutated: Iterable<readonly [{
610
- objectId: string | Uint8Array<ArrayBufferLike>;
611
- version: string | number | bigint;
238
+ }, string>;
239
+ unwrapped: import("@mysten/bcs").BcsType<[{
240
+ objectId: string;
241
+ version: string;
612
242
  digest: string;
613
- }, import("@mysten/bcs").EnumInputShape<{
614
- AddressOwner: string | Uint8Array<ArrayBufferLike>;
615
- ObjectOwner: string | Uint8Array<ArrayBufferLike>;
243
+ }, import("@mysten/bcs").EnumOutputShapeWithKeys<{
244
+ AddressOwner: string;
245
+ ObjectOwner: string;
616
246
  Shared: {
617
- initialSharedVersion: string | number | bigint;
247
+ initialSharedVersion: string;
618
248
  };
619
- Immutable: boolean | object | null;
249
+ Immutable: true;
620
250
  ConsensusAddressOwner: {
621
- owner: string | Uint8Array<ArrayBufferLike>;
622
- startVersion: string | number | bigint;
251
+ owner: string;
252
+ startVersion: string;
623
253
  };
624
- }>]> & {
625
- length: number;
626
- };
627
- unwrapped: Iterable<readonly [{
254
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">][], Iterable<readonly [{
628
255
  objectId: string | Uint8Array<ArrayBufferLike>;
629
256
  version: string | number | bigint;
630
257
  digest: string;
@@ -641,83 +268,94 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
641
268
  };
642
269
  }>]> & {
643
270
  length: number;
644
- };
645
- deleted: Iterable<{
271
+ }, string>;
272
+ deleted: import("@mysten/bcs").BcsType<{
273
+ objectId: string;
274
+ version: string;
275
+ digest: string;
276
+ }[], Iterable<{
646
277
  objectId: string | Uint8Array<ArrayBufferLike>;
647
278
  version: string | number | bigint;
648
279
  digest: string;
649
280
  }> & {
650
281
  length: number;
651
- };
652
- unwrappedThenDeleted: Iterable<{
282
+ }, string>;
283
+ unwrappedThenDeleted: import("@mysten/bcs").BcsType<{
284
+ objectId: string;
285
+ version: string;
286
+ digest: string;
287
+ }[], Iterable<{
653
288
  objectId: string | Uint8Array<ArrayBufferLike>;
654
289
  version: string | number | bigint;
655
290
  digest: string;
656
291
  }> & {
657
292
  length: number;
658
- };
659
- wrapped: Iterable<{
293
+ }, string>;
294
+ wrapped: import("@mysten/bcs").BcsType<{
295
+ objectId: string;
296
+ version: string;
297
+ digest: string;
298
+ }[], Iterable<{
660
299
  objectId: string | Uint8Array<ArrayBufferLike>;
661
300
  version: string | number | bigint;
662
301
  digest: string;
663
302
  }> & {
664
303
  length: number;
665
- };
666
- gasObject: readonly [{
667
- objectId: string | Uint8Array<ArrayBufferLike>;
668
- version: string | number | bigint;
669
- digest: string;
670
- }, import("@mysten/bcs").EnumInputShape<{
671
- AddressOwner: string | Uint8Array<ArrayBufferLike>;
672
- ObjectOwner: string | Uint8Array<ArrayBufferLike>;
673
- Shared: {
674
- initialSharedVersion: string | number | bigint;
675
- };
676
- Immutable: boolean | object | null;
677
- ConsensusAddressOwner: {
678
- owner: string | Uint8Array<ArrayBufferLike>;
679
- startVersion: string | number | bigint;
680
- };
681
- }>];
682
- eventsDigest: string | null | undefined;
683
- dependencies: Iterable<string> & {
304
+ }, string>;
305
+ gasObject: import("@mysten/bcs").BcsTuple<readonly [import("@mysten/bcs").BcsStruct<{
306
+ objectId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
307
+ version: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
308
+ digest: import("@mysten/bcs").BcsType<string, string, "ObjectDigest">;
309
+ }, string>, import("@mysten/bcs").BcsEnum<{
310
+ AddressOwner: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
311
+ ObjectOwner: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
312
+ Shared: import("@mysten/bcs").BcsStruct<{
313
+ initialSharedVersion: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
314
+ }, string>;
315
+ Immutable: null;
316
+ ConsensusAddressOwner: import("@mysten/bcs").BcsStruct<{
317
+ owner: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
318
+ startVersion: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
319
+ }, string>;
320
+ }, "Owner">], string>;
321
+ eventsDigest: import("@mysten/bcs").BcsType<string | null, string | null | undefined, "Option<ObjectDigest>">;
322
+ dependencies: import("@mysten/bcs").BcsType<string[], Iterable<string> & {
684
323
  length: number;
685
- };
686
- };
687
- V2: {
688
- status: import("@mysten/bcs").EnumInputShape<{
689
- Success: boolean | object | null;
690
- Failed: {
691
- error: import("@mysten/bcs").EnumInputShape<{
692
- InsufficientGas: boolean | object | null;
693
- InvalidGasObject: boolean | object | null;
694
- InvariantViolation: boolean | object | null;
695
- FeatureNotYetSupported: boolean | object | null;
696
- MoveObjectTooBig: {
697
- objectSize: string | number | bigint;
698
- maxObjectSize: string | number | bigint;
699
- };
700
- MovePackageTooBig: {
701
- objectSize: string | number | bigint;
702
- maxObjectSize: string | number | bigint;
703
- };
704
- CircularObjectOwnership: {
705
- object: string | Uint8Array<ArrayBufferLike>;
706
- };
707
- InsufficientCoinBalance: boolean | object | null;
708
- CoinBalanceOverflow: boolean | object | null;
709
- PublishErrorNonZeroAddress: boolean | object | null;
710
- SuiMoveVerificationError: boolean | object | null;
711
- MovePrimitiveRuntimeError: {
324
+ }, string>;
325
+ }, string>;
326
+ V2: import("@mysten/bcs").BcsStruct<{
327
+ status: import("@mysten/bcs").BcsEnum<{
328
+ Success: null;
329
+ Failed: import("@mysten/bcs").BcsStruct<{
330
+ error: import("@mysten/bcs").BcsEnum<{
331
+ InsufficientGas: null;
332
+ InvalidGasObject: null;
333
+ InvariantViolation: null;
334
+ FeatureNotYetSupported: null;
335
+ MoveObjectTooBig: import("@mysten/bcs").BcsStruct<{
336
+ objectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
337
+ maxObjectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
338
+ }, string>;
339
+ MovePackageTooBig: import("@mysten/bcs").BcsStruct<{
340
+ objectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
341
+ maxObjectSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
342
+ }, string>;
343
+ CircularObjectOwnership: import("@mysten/bcs").BcsStruct<{
344
+ object: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
345
+ }, string>;
346
+ InsufficientCoinBalance: null;
347
+ CoinBalanceOverflow: null;
348
+ PublishErrorNonZeroAddress: null;
349
+ SuiMoveVerificationError: null;
350
+ MovePrimitiveRuntimeError: import("@mysten/bcs").BcsType<{
712
351
  module: {
713
- address: string | Uint8Array<ArrayBufferLike>;
352
+ address: string;
714
353
  name: string;
715
354
  };
716
355
  function: number;
717
356
  instruction: number;
718
- functionName: string | null | undefined;
719
- } | null | undefined;
720
- MoveAbort: readonly [{
357
+ functionName: string | null;
358
+ } | null, {
721
359
  module: {
722
360
  address: string | Uint8Array<ArrayBufferLike>;
723
361
  name: string;
@@ -725,121 +363,167 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
725
363
  function: number;
726
364
  instruction: number;
727
365
  functionName: string | null | undefined;
728
- }, string | number | bigint];
729
- VMVerificationOrDeserializationError: boolean | object | null;
730
- VMInvariantViolation: boolean | object | null;
731
- FunctionNotFound: boolean | object | null;
732
- ArityMismatch: boolean | object | null;
733
- TypeArityMismatch: boolean | object | null;
734
- NonEntryFunctionInvoked: boolean | object | null;
735
- CommandArgumentError: {
736
- argIdx: number;
737
- kind: import("@mysten/bcs").EnumInputShape<{
738
- TypeMismatch: boolean | object | null;
739
- InvalidBCSBytes: boolean | object | null;
740
- InvalidUsageOfPureArg: boolean | object | null;
741
- InvalidArgumentToPrivateEntryFunction: boolean | object | null;
742
- IndexOutOfBounds: {
743
- idx: number;
744
- };
745
- SecondaryIndexOutOfBounds: {
746
- resultIdx: number;
747
- secondaryIdx: number;
748
- };
749
- InvalidResultArity: {
750
- resultIdx: number;
751
- };
752
- InvalidGasCoinUsage: boolean | object | null;
753
- InvalidValueUsage: boolean | object | null;
754
- InvalidObjectByValue: boolean | object | null;
755
- InvalidObjectByMutRef: boolean | object | null;
756
- SharedObjectOperationNotAllowed: boolean | object | null;
757
- }>;
758
- };
759
- TypeArgumentError: {
760
- argumentIdx: number;
761
- kind: import("@mysten/bcs").EnumInputShape<{
762
- TypeNotFound: boolean | object | null;
763
- ConstraintNotSatisfied: boolean | object | null;
764
- }>;
765
- };
766
- UnusedValueWithoutDrop: {
767
- resultIdx: number;
768
- secondaryIdx: number;
769
- };
770
- InvalidPublicFunctionReturnType: {
771
- idx: number;
772
- };
773
- InvalidTransferObject: boolean | object | null;
774
- EffectsTooLarge: {
775
- currentSize: string | number | bigint;
776
- maxSize: string | number | bigint;
777
- };
778
- PublishUpgradeMissingDependency: boolean | object | null;
779
- PublishUpgradeDependencyDowngrade: boolean | object | null;
780
- PackageUpgradeError: {
781
- upgradeError: import("@mysten/bcs").EnumInputShape<{
782
- UnableToFetchPackage: {
783
- packageId: string | Uint8Array<ArrayBufferLike>;
784
- };
785
- NotAPackage: {
786
- objectId: string | Uint8Array<ArrayBufferLike>;
787
- };
788
- IncompatibleUpgrade: boolean | object | null;
789
- DigestDoesNotMatch: {
790
- digest: Iterable<number> & {
366
+ } | null | undefined, `Option<${string}>`>;
367
+ MoveAbort: import("@mysten/bcs").BcsTuple<readonly [import("@mysten/bcs").BcsStruct<{
368
+ module: import("@mysten/bcs").BcsStruct<{
369
+ address: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
370
+ name: import("@mysten/bcs").BcsType<string, string, "string">;
371
+ }, string>;
372
+ function: import("@mysten/bcs").BcsType<number, number, "u16">;
373
+ instruction: import("@mysten/bcs").BcsType<number, number, "u16">;
374
+ functionName: import("@mysten/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
375
+ }, string>, import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">], string>;
376
+ VMVerificationOrDeserializationError: null;
377
+ VMInvariantViolation: null;
378
+ FunctionNotFound: null;
379
+ ArityMismatch: null;
380
+ TypeArityMismatch: null;
381
+ NonEntryFunctionInvoked: null;
382
+ CommandArgumentError: import("@mysten/bcs").BcsStruct<{
383
+ argIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
384
+ kind: import("@mysten/bcs").BcsEnum<{
385
+ TypeMismatch: null;
386
+ InvalidBCSBytes: null;
387
+ InvalidUsageOfPureArg: null;
388
+ InvalidArgumentToPrivateEntryFunction: null;
389
+ IndexOutOfBounds: import("@mysten/bcs").BcsStruct<{
390
+ idx: import("@mysten/bcs").BcsType<number, number, "u16">;
391
+ }, string>;
392
+ SecondaryIndexOutOfBounds: import("@mysten/bcs").BcsStruct<{
393
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
394
+ secondaryIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
395
+ }, string>;
396
+ InvalidResultArity: import("@mysten/bcs").BcsStruct<{
397
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
398
+ }, string>;
399
+ InvalidGasCoinUsage: null;
400
+ InvalidValueUsage: null;
401
+ InvalidObjectByValue: null;
402
+ InvalidObjectByMutRef: null;
403
+ SharedObjectOperationNotAllowed: null;
404
+ }, "CommandArgumentError">;
405
+ }, string>;
406
+ TypeArgumentError: import("@mysten/bcs").BcsStruct<{
407
+ argumentIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
408
+ kind: import("@mysten/bcs").BcsEnum<{
409
+ TypeNotFound: null;
410
+ ConstraintNotSatisfied: null;
411
+ }, "TypeArgumentError">;
412
+ }, string>;
413
+ UnusedValueWithoutDrop: import("@mysten/bcs").BcsStruct<{
414
+ resultIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
415
+ secondaryIdx: import("@mysten/bcs").BcsType<number, number, "u16">;
416
+ }, string>;
417
+ InvalidPublicFunctionReturnType: import("@mysten/bcs").BcsStruct<{
418
+ idx: import("@mysten/bcs").BcsType<number, number, "u16">;
419
+ }, string>;
420
+ InvalidTransferObject: null;
421
+ EffectsTooLarge: import("@mysten/bcs").BcsStruct<{
422
+ currentSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
423
+ maxSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
424
+ }, string>;
425
+ PublishUpgradeMissingDependency: null;
426
+ PublishUpgradeDependencyDowngrade: null;
427
+ PackageUpgradeError: import("@mysten/bcs").BcsStruct<{
428
+ upgradeError: import("@mysten/bcs").BcsEnum<{
429
+ UnableToFetchPackage: import("@mysten/bcs").BcsStruct<{
430
+ packageId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
431
+ }, string>;
432
+ NotAPackage: import("@mysten/bcs").BcsStruct<{
433
+ objectId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
434
+ }, string>;
435
+ IncompatibleUpgrade: null;
436
+ DigestDoesNotMatch: import("@mysten/bcs").BcsStruct<{
437
+ digest: import("@mysten/bcs").BcsType<number[], Iterable<number> & {
791
438
  length: number;
792
- };
793
- };
794
- UnknownUpgradePolicy: {
795
- policy: number;
796
- };
797
- PackageIDDoesNotMatch: {
798
- packageId: string | Uint8Array<ArrayBufferLike>;
799
- ticketId: string | Uint8Array<ArrayBufferLike>;
800
- };
801
- }>;
802
- };
803
- WrittenObjectsTooLarge: {
804
- currentSize: string | number | bigint;
805
- maxSize: string | number | bigint;
806
- };
807
- CertificateDenied: boolean | object | null;
808
- SuiMoveVerificationTimedout: boolean | object | null;
809
- SharedObjectOperationNotAllowed: boolean | object | null;
810
- InputObjectDeleted: boolean | object | null;
811
- ExecutionCancelledDueToSharedObjectCongestion: {
812
- congestedObjects: Iterable<string | Uint8Array<ArrayBufferLike>> & {
439
+ }, string>;
440
+ }, string>;
441
+ UnknownUpgradePolicy: import("@mysten/bcs").BcsStruct<{
442
+ policy: import("@mysten/bcs").BcsType<number, number, "u8">;
443
+ }, string>;
444
+ PackageIDDoesNotMatch: import("@mysten/bcs").BcsStruct<{
445
+ packageId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
446
+ ticketId: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
447
+ }, string>;
448
+ }, "PackageUpgradeError">;
449
+ }, string>;
450
+ WrittenObjectsTooLarge: import("@mysten/bcs").BcsStruct<{
451
+ currentSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
452
+ maxSize: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
453
+ }, string>;
454
+ CertificateDenied: null;
455
+ SuiMoveVerificationTimedout: null;
456
+ SharedObjectOperationNotAllowed: null;
457
+ InputObjectDeleted: null;
458
+ ExecutionCancelledDueToSharedObjectCongestion: import("@mysten/bcs").BcsStruct<{
459
+ congestedObjects: import("@mysten/bcs").BcsType<string[], Iterable<string | Uint8Array<ArrayBufferLike>> & {
813
460
  length: number;
814
- };
461
+ }, string>;
462
+ }, string>;
463
+ AddressDeniedForCoin: import("@mysten/bcs").BcsStruct<{
464
+ address: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
465
+ coinType: import("@mysten/bcs").BcsType<string, string, "string">;
466
+ }, string>;
467
+ CoinTypeGlobalPause: import("@mysten/bcs").BcsStruct<{
468
+ coinType: import("@mysten/bcs").BcsType<string, string, "string">;
469
+ }, string>;
470
+ ExecutionCancelledDueToRandomnessUnavailable: null;
471
+ }, "ExecutionFailureStatus">;
472
+ command: import("@mysten/bcs").BcsType<string | null, string | number | bigint | null | undefined, "Option<u64>">;
473
+ }, string>;
474
+ }, "ExecutionStatus">;
475
+ executedEpoch: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
476
+ gasUsed: import("@mysten/bcs").BcsStruct<{
477
+ computationCost: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
478
+ storageCost: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
479
+ storageRebate: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
480
+ nonRefundableStorageFee: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
481
+ }, string>;
482
+ transactionDigest: import("@mysten/bcs").BcsType<string, string, "ObjectDigest">;
483
+ gasObjectIndex: import("@mysten/bcs").BcsType<number | null, number | null | undefined, "Option<u32>">;
484
+ eventsDigest: import("@mysten/bcs").BcsType<string | null, string | null | undefined, "Option<ObjectDigest>">;
485
+ dependencies: import("@mysten/bcs").BcsType<string[], Iterable<string> & {
486
+ length: number;
487
+ }, string>;
488
+ lamportVersion: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
489
+ changedObjects: import("@mysten/bcs").BcsType<[string, {
490
+ inputState: import("@mysten/bcs").EnumOutputShapeWithKeys<{
491
+ NotExist: true;
492
+ Exist: [[string, string], import("@mysten/bcs").EnumOutputShapeWithKeys<{
493
+ AddressOwner: string;
494
+ ObjectOwner: string;
495
+ Shared: {
496
+ initialSharedVersion: string;
815
497
  };
816
- AddressDeniedForCoin: {
817
- address: string | Uint8Array<ArrayBufferLike>;
818
- coinType: string;
498
+ Immutable: true;
499
+ ConsensusAddressOwner: {
500
+ owner: string;
501
+ startVersion: string;
819
502
  };
820
- CoinTypeGlobalPause: {
821
- coinType: string;
503
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
504
+ }, "NotExist" | "Exist">;
505
+ outputState: import("@mysten/bcs").EnumOutputShapeWithKeys<{
506
+ NotExist: true;
507
+ ObjectWrite: [string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
508
+ AddressOwner: string;
509
+ ObjectOwner: string;
510
+ Shared: {
511
+ initialSharedVersion: string;
822
512
  };
823
- ExecutionCancelledDueToRandomnessUnavailable: boolean | object | null;
824
- }>;
825
- command: string | number | bigint | null | undefined;
826
- };
827
- }>;
828
- executedEpoch: string | number | bigint;
829
- gasUsed: {
830
- computationCost: string | number | bigint;
831
- storageCost: string | number | bigint;
832
- storageRebate: string | number | bigint;
833
- nonRefundableStorageFee: string | number | bigint;
834
- };
835
- transactionDigest: string;
836
- gasObjectIndex: number | null | undefined;
837
- eventsDigest: string | null | undefined;
838
- dependencies: Iterable<string> & {
839
- length: number;
840
- };
841
- lamportVersion: string | number | bigint;
842
- changedObjects: Iterable<readonly [string | Uint8Array<ArrayBufferLike>, {
513
+ Immutable: true;
514
+ ConsensusAddressOwner: {
515
+ owner: string;
516
+ startVersion: string;
517
+ };
518
+ }, "AddressOwner" | "ObjectOwner" | "Shared" | "Immutable" | "ConsensusAddressOwner">];
519
+ PackageWrite: [string, string];
520
+ }, "NotExist" | "ObjectWrite" | "PackageWrite">;
521
+ idOperation: import("@mysten/bcs").EnumOutputShapeWithKeys<{
522
+ None: true;
523
+ Created: true;
524
+ Deleted: true;
525
+ }, "None" | "Created" | "Deleted">;
526
+ }][], Iterable<readonly [string | Uint8Array<ArrayBufferLike>, {
843
527
  inputState: import("@mysten/bcs").EnumInputShape<{
844
528
  NotExist: boolean | object | null;
845
529
  Exist: readonly [readonly [string | number | bigint, string], import("@mysten/bcs").EnumInputShape<{
@@ -878,8 +562,14 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
878
562
  }>;
879
563
  }]> & {
880
564
  length: number;
881
- };
882
- unchangedSharedObjects: Iterable<readonly [string | Uint8Array<ArrayBufferLike>, import("@mysten/bcs").EnumInputShape<{
565
+ }, string>;
566
+ unchangedSharedObjects: import("@mysten/bcs").BcsType<[string, import("@mysten/bcs").EnumOutputShapeWithKeys<{
567
+ ReadOnlyRoot: [string, string];
568
+ MutateDeleted: string;
569
+ ReadDeleted: string;
570
+ Cancelled: string;
571
+ PerEpochConfig: true;
572
+ }, "ReadOnlyRoot" | "MutateDeleted" | "ReadDeleted" | "Cancelled" | "PerEpochConfig">][], Iterable<readonly [string | Uint8Array<ArrayBufferLike>, import("@mysten/bcs").EnumInputShape<{
883
573
  ReadOnlyRoot: readonly [string | number | bigint, string];
884
574
  MutateDeleted: string | number | bigint;
885
575
  ReadDeleted: string | number | bigint;
@@ -887,7 +577,7 @@ export declare const TransactionEffects: import("@mysten/bcs").BcsType<import("@
887
577
  PerEpochConfig: boolean | object | null;
888
578
  }>]> & {
889
579
  length: number;
890
- };
891
- auxDataDigest: string | null | undefined;
892
- };
893
- }>>;
580
+ }, string>;
581
+ auxDataDigest: import("@mysten/bcs").BcsType<string | null, string | null | undefined, "Option<ObjectDigest>">;
582
+ }, string>;
583
+ }, "TransactionEffects">;