@zing-protocol/zing-sdk 0.0.17 → 0.1.0
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.
- package/dist/_generated/index.d.ts +0 -2
- package/dist/_generated/index.js +0 -2
- package/dist/_generated/utils/index.d.ts +21 -2
- package/dist/_generated/utils/index.js +35 -11
- package/dist/_generated/zing_framework/coin_utils.js +1 -4
- package/dist/_generated/zing_framework/derived_object_bag.d.ts +4 -3
- package/dist/_generated/zing_framework/derived_object_bag.js +12 -37
- package/dist/_generated/zing_framework/derived_table.d.ts +5 -4
- package/dist/_generated/zing_framework/derived_table.js +12 -33
- package/dist/_generated/zing_governance/admin.d.ts +4 -17
- package/dist/_generated/zing_governance/admin.js +3 -17
- package/dist/_generated/zing_governance/treasury.d.ts +5 -4
- package/dist/_generated/zing_governance/treasury.js +5 -15
- package/dist/_generated/zing_studio/app.d.ts +70 -2
- package/dist/_generated/zing_studio/app.js +154 -100
- package/dist/_generated/zing_studio/article.d.ts +6 -52
- package/dist/_generated/zing_studio/article.js +23 -74
- package/dist/_generated/zing_studio/config.d.ts +34 -3
- package/dist/_generated/zing_studio/config.js +47 -50
- package/dist/_generated/zing_studio/deps/sui/bag.d.ts +25 -3
- package/dist/_generated/zing_studio/deps/sui/bag.js +1 -2
- package/dist/_generated/zing_studio/deps/sui/balance.d.ts +1 -1
- package/dist/_generated/zing_studio/deps/sui/balance.js +1 -1
- package/dist/_generated/zing_studio/deps/sui/coin.d.ts +3 -5
- package/dist/_generated/zing_studio/deps/sui/coin.js +3 -3
- package/dist/_generated/zing_studio/deps/sui/table.d.ts +21 -4
- package/dist/_generated/zing_studio/deps/sui/table.js +2 -3
- package/dist/_generated/zing_studio/deps/walrus/blob.d.ts +2 -6
- package/dist/_generated/zing_studio/deps/walrus/blob.js +1 -2
- package/dist/_generated/zing_studio/deps/walrus/storage_resource.d.ts +1 -3
- package/dist/_generated/zing_studio/deps/walrus/storage_resource.js +1 -2
- package/dist/_generated/zing_studio/deps/zing_framework/derived_object_bag.d.ts +1 -3
- package/dist/_generated/zing_studio/deps/zing_framework/derived_object_bag.js +1 -2
- package/dist/_generated/zing_studio/deps/zing_framework/derived_table.d.ts +2 -4
- package/dist/_generated/zing_studio/deps/zing_framework/derived_table.js +2 -3
- package/dist/_generated/zing_studio/donation.d.ts +6 -14
- package/dist/_generated/zing_studio/donation.js +2 -2
- package/dist/_generated/zing_studio/enclave.d.ts +17 -10
- package/dist/_generated/zing_studio/enclave.js +16 -41
- package/dist/_generated/zing_studio/referral.js +15 -46
- package/dist/_generated/zing_studio/storage.d.ts +13 -17
- package/dist/_generated/zing_studio/storage.js +46 -100
- package/dist/_generated/zing_studio/studio.d.ts +6 -28
- package/dist/_generated/zing_studio/studio.js +23 -96
- package/dist/client/index.d.ts +18 -55
- package/dist/client/index.js +1 -28
- package/dist/getters.d.ts +17 -62
- package/dist/getters.js +62 -56
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useGetStudio.d.ts +4 -10
- package/dist/hooks/useReclaim.d.ts +0 -10
- package/dist/hooks/useReclaim.js +169 -92
- package/dist/hooks/useSignAndExecuteTransaction.js +4 -1
- package/dist/hooks/useZingInfiniteQueries.d.ts +3 -9
- package/dist/hooks/useZingInfiniteQueries.js +1 -0
- package/dist/hooks/useZingQueries.d.ts +8 -27
- package/dist/hooks/useZingQueries.js +1 -2
- package/dist/hooks/useZingQuery.d.ts +11 -36
- package/dist/hooks/useZingQuery.js +1 -2
- package/dist/lib/utils/index.d.ts +0 -1
- package/dist/lib/utils/index.js +0 -1
- package/dist/lib/utils/reclaim.d.ts +1 -29
- package/dist/lib/utils/reclaim.js +148 -87
- package/dist/mutations/signer.js +1 -1
- package/dist/mutations/walrus.js +1 -1
- package/package.json +1 -1
- package/dist/_generated/zing_framework/deps/sui/object.d.ts +0 -8
- package/dist/_generated/zing_framework/deps/sui/object.js +0 -13
- package/dist/_generated/zing_governance/deps/sui/object.d.ts +0 -8
- package/dist/_generated/zing_governance/deps/sui/object.js +0 -13
- package/dist/_generated/zing_identity/config.d.ts +0 -87
- package/dist/_generated/zing_identity/config.js +0 -98
- package/dist/_generated/zing_identity/deps/std/type_name.d.ts +0 -17
- package/dist/_generated/zing_identity/deps/std/type_name.js +0 -22
- package/dist/_generated/zing_identity/deps/sui/object.d.ts +0 -8
- package/dist/_generated/zing_identity/deps/sui/object.js +0 -13
- package/dist/_generated/zing_identity/deps/sui/object_table.d.ts +0 -12
- package/dist/_generated/zing_identity/deps/sui/object_table.js +0 -23
- package/dist/_generated/zing_identity/deps/sui/table.d.ts +0 -12
- package/dist/_generated/zing_identity/deps/sui/table.js +0 -35
- package/dist/_generated/zing_identity/deps/sui/vec_set.d.ts +0 -17
- package/dist/_generated/zing_identity/deps/sui/vec_set.js +0 -22
- package/dist/_generated/zing_identity/ecdsa.d.ts +0 -81
- package/dist/_generated/zing_identity/ecdsa.js +0 -87
- package/dist/_generated/zing_identity/identity.d.ts +0 -262
- package/dist/_generated/zing_identity/identity.js +0 -294
- package/dist/_generated/zing_identity/reclaim.d.ts +0 -356
- package/dist/_generated/zing_identity/reclaim.js +0 -414
- package/dist/_generated/zing_studio/nitro_attestation.d.ts +0 -148
- package/dist/_generated/zing_studio/nitro_attestation.js +0 -183
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
import { MoveStruct } from "../utils/index.js";
|
|
2
|
-
import type { RawTransactionArgument } from "../utils/index.js";
|
|
3
|
-
import type { Transaction } from "@mysten/sui/transactions";
|
|
4
|
-
export declare const ReclaimManager: MoveStruct<{
|
|
5
|
-
id: MoveStruct<{
|
|
6
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
7
|
-
}, "0x2::object::UID">;
|
|
8
|
-
witnesses: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
9
|
-
length: number;
|
|
10
|
-
}> & {
|
|
11
|
-
length: number;
|
|
12
|
-
}, string>;
|
|
13
|
-
witnesses_num_threshold: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
|
|
14
|
-
commitments: MoveStruct<{
|
|
15
|
-
id: MoveStruct<{
|
|
16
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
17
|
-
}, "0x2::object::UID">;
|
|
18
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
19
|
-
}, "0x2::object_table::ObjectTable">;
|
|
20
|
-
identifier_hash_to_commitment: MoveStruct<{
|
|
21
|
-
id: MoveStruct<{
|
|
22
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
23
|
-
}, "0x2::object::UID">;
|
|
24
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
25
|
-
}, "0x2::table::Table">;
|
|
26
|
-
max_reveal_window: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
27
|
-
}, "@local-pkg/zing_identity::reclaim::ReclaimManager">;
|
|
28
|
-
export declare const ClaimInfo: MoveStruct<{
|
|
29
|
-
provider: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
30
|
-
parameters: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
31
|
-
context: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
32
|
-
}, "@local-pkg/zing_identity::reclaim::ClaimInfo">;
|
|
33
|
-
export declare const ClaimData: MoveStruct<{
|
|
34
|
-
identifier: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
35
|
-
owner: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
36
|
-
epoch: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
37
|
-
timestamp_s: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
38
|
-
}, "@local-pkg/zing_identity::reclaim::ClaimData">;
|
|
39
|
-
export declare const SignedClaim: MoveStruct<{
|
|
40
|
-
claim: MoveStruct<{
|
|
41
|
-
identifier: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
42
|
-
owner: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
43
|
-
epoch: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
44
|
-
timestamp_s: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
45
|
-
}, "@local-pkg/zing_identity::reclaim::ClaimData">;
|
|
46
|
-
signatures: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
47
|
-
length: number;
|
|
48
|
-
}> & {
|
|
49
|
-
length: number;
|
|
50
|
-
}, string>;
|
|
51
|
-
}, "@local-pkg/zing_identity::reclaim::SignedClaim">;
|
|
52
|
-
export declare const Proof: MoveStruct<{
|
|
53
|
-
id: MoveStruct<{
|
|
54
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
55
|
-
}, "0x2::object::UID">;
|
|
56
|
-
claimed_at: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
57
|
-
claim_info: MoveStruct<{
|
|
58
|
-
provider: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
59
|
-
parameters: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
60
|
-
context: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
61
|
-
}, "@local-pkg/zing_identity::reclaim::ClaimInfo">;
|
|
62
|
-
signed_claim: MoveStruct<{
|
|
63
|
-
claim: MoveStruct<{
|
|
64
|
-
identifier: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
65
|
-
owner: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
66
|
-
epoch: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
67
|
-
timestamp_s: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
68
|
-
}, "@local-pkg/zing_identity::reclaim::ClaimData">;
|
|
69
|
-
signatures: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
70
|
-
length: number;
|
|
71
|
-
}> & {
|
|
72
|
-
length: number;
|
|
73
|
-
}, string>;
|
|
74
|
-
}, "@local-pkg/zing_identity::reclaim::SignedClaim">;
|
|
75
|
-
}, "@local-pkg/zing_identity::reclaim::Proof">;
|
|
76
|
-
export declare const ProofCommitment: MoveStruct<{
|
|
77
|
-
id: MoveStruct<{
|
|
78
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
79
|
-
}, "0x2::object::UID">;
|
|
80
|
-
commitment_hash: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
81
|
-
length: number;
|
|
82
|
-
}, string>;
|
|
83
|
-
committer: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
84
|
-
commit_timestamp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
85
|
-
identifier_hash: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
86
|
-
length: number;
|
|
87
|
-
}, string>;
|
|
88
|
-
}, "@local-pkg/zing_identity::reclaim::ProofCommitment">;
|
|
89
|
-
export interface NewClaimInfoArguments {
|
|
90
|
-
provider: RawTransactionArgument<string>;
|
|
91
|
-
parameters: RawTransactionArgument<string>;
|
|
92
|
-
context: RawTransactionArgument<string>;
|
|
93
|
-
}
|
|
94
|
-
export interface NewClaimInfoOptions {
|
|
95
|
-
package?: string;
|
|
96
|
-
arguments: NewClaimInfoArguments | [
|
|
97
|
-
provider: RawTransactionArgument<string>,
|
|
98
|
-
parameters: RawTransactionArgument<string>,
|
|
99
|
-
context: RawTransactionArgument<string>
|
|
100
|
-
];
|
|
101
|
-
}
|
|
102
|
-
export declare function newClaimInfo(options: NewClaimInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
103
|
-
export interface ProviderArguments {
|
|
104
|
-
claimInfo: RawTransactionArgument<string>;
|
|
105
|
-
}
|
|
106
|
-
export interface ProviderOptions {
|
|
107
|
-
package?: string;
|
|
108
|
-
arguments: ProviderArguments | [claimInfo: RawTransactionArgument<string>];
|
|
109
|
-
}
|
|
110
|
-
export declare function provider(options: ProviderOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
111
|
-
export interface ParametersArguments {
|
|
112
|
-
claimInfo: RawTransactionArgument<string>;
|
|
113
|
-
}
|
|
114
|
-
export interface ParametersOptions {
|
|
115
|
-
package?: string;
|
|
116
|
-
arguments: ParametersArguments | [claimInfo: RawTransactionArgument<string>];
|
|
117
|
-
}
|
|
118
|
-
export declare function parameters(options: ParametersOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
119
|
-
export interface ContextArguments {
|
|
120
|
-
claimInfo: RawTransactionArgument<string>;
|
|
121
|
-
}
|
|
122
|
-
export interface ContextOptions {
|
|
123
|
-
package?: string;
|
|
124
|
-
arguments: ContextArguments | [claimInfo: RawTransactionArgument<string>];
|
|
125
|
-
}
|
|
126
|
-
export declare function context(options: ContextOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
127
|
-
export interface IdentifierArguments {
|
|
128
|
-
claimData: RawTransactionArgument<string>;
|
|
129
|
-
}
|
|
130
|
-
export interface IdentifierOptions {
|
|
131
|
-
package?: string;
|
|
132
|
-
arguments: IdentifierArguments | [claimData: RawTransactionArgument<string>];
|
|
133
|
-
}
|
|
134
|
-
export declare function identifier(options: IdentifierOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
135
|
-
export interface OwnerArguments {
|
|
136
|
-
claimData: RawTransactionArgument<string>;
|
|
137
|
-
}
|
|
138
|
-
export interface OwnerOptions {
|
|
139
|
-
package?: string;
|
|
140
|
-
arguments: OwnerArguments | [claimData: RawTransactionArgument<string>];
|
|
141
|
-
}
|
|
142
|
-
export declare function owner(options: OwnerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
143
|
-
export interface EpochArguments {
|
|
144
|
-
claimData: RawTransactionArgument<string>;
|
|
145
|
-
}
|
|
146
|
-
export interface EpochOptions {
|
|
147
|
-
package?: string;
|
|
148
|
-
arguments: EpochArguments | [claimData: RawTransactionArgument<string>];
|
|
149
|
-
}
|
|
150
|
-
export declare function epoch(options: EpochOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
151
|
-
export interface TimestampSArguments {
|
|
152
|
-
claimData: RawTransactionArgument<string>;
|
|
153
|
-
}
|
|
154
|
-
export interface TimestampSOptions {
|
|
155
|
-
package?: string;
|
|
156
|
-
arguments: TimestampSArguments | [claimData: RawTransactionArgument<string>];
|
|
157
|
-
}
|
|
158
|
-
export declare function timestampS(options: TimestampSOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
159
|
-
export interface NewClaimDataArguments {
|
|
160
|
-
identifier: RawTransactionArgument<string>;
|
|
161
|
-
owner: RawTransactionArgument<string>;
|
|
162
|
-
epoch: RawTransactionArgument<string>;
|
|
163
|
-
timestampS: RawTransactionArgument<number | bigint>;
|
|
164
|
-
}
|
|
165
|
-
export interface NewClaimDataOptions {
|
|
166
|
-
package?: string;
|
|
167
|
-
arguments: NewClaimDataArguments | [
|
|
168
|
-
identifier: RawTransactionArgument<string>,
|
|
169
|
-
owner: RawTransactionArgument<string>,
|
|
170
|
-
epoch: RawTransactionArgument<string>,
|
|
171
|
-
timestampS: RawTransactionArgument<number | bigint>
|
|
172
|
-
];
|
|
173
|
-
}
|
|
174
|
-
export declare function newClaimData(options: NewClaimDataOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
175
|
-
export interface ClaimDataArguments {
|
|
176
|
-
signedClaim: RawTransactionArgument<string>;
|
|
177
|
-
}
|
|
178
|
-
export interface ClaimDataOptions {
|
|
179
|
-
package?: string;
|
|
180
|
-
arguments: ClaimDataArguments | [signedClaim: RawTransactionArgument<string>];
|
|
181
|
-
}
|
|
182
|
-
export declare function claimData(options: ClaimDataOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
183
|
-
export interface SignaturesArguments {
|
|
184
|
-
signedClaim: RawTransactionArgument<string>;
|
|
185
|
-
}
|
|
186
|
-
export interface SignaturesOptions {
|
|
187
|
-
package?: string;
|
|
188
|
-
arguments: SignaturesArguments | [signedClaim: RawTransactionArgument<string>];
|
|
189
|
-
}
|
|
190
|
-
export declare function signatures(options: SignaturesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
191
|
-
export interface NewSignedClaimArguments {
|
|
192
|
-
claim: RawTransactionArgument<string>;
|
|
193
|
-
signatures: RawTransactionArgument<number[][]>;
|
|
194
|
-
}
|
|
195
|
-
export interface NewSignedClaimOptions {
|
|
196
|
-
package?: string;
|
|
197
|
-
arguments: NewSignedClaimArguments | [
|
|
198
|
-
claim: RawTransactionArgument<string>,
|
|
199
|
-
signatures: RawTransactionArgument<number[][]>
|
|
200
|
-
];
|
|
201
|
-
}
|
|
202
|
-
export declare function newSignedClaim(options: NewSignedClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
203
|
-
export interface ProofClaimedAtArguments {
|
|
204
|
-
proof: RawTransactionArgument<string>;
|
|
205
|
-
}
|
|
206
|
-
export interface ProofClaimedAtOptions {
|
|
207
|
-
package?: string;
|
|
208
|
-
arguments: ProofClaimedAtArguments | [proof: RawTransactionArgument<string>];
|
|
209
|
-
typeArguments: [string];
|
|
210
|
-
}
|
|
211
|
-
export declare function proofClaimedAt(options: ProofClaimedAtOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
212
|
-
export interface ProofClaimInfoArguments {
|
|
213
|
-
proof: RawTransactionArgument<string>;
|
|
214
|
-
}
|
|
215
|
-
export interface ProofClaimInfoOptions {
|
|
216
|
-
package?: string;
|
|
217
|
-
arguments: ProofClaimInfoArguments | [proof: RawTransactionArgument<string>];
|
|
218
|
-
typeArguments: [string];
|
|
219
|
-
}
|
|
220
|
-
export declare function proofClaimInfo(options: ProofClaimInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
221
|
-
export interface ProofSignedClaimArguments {
|
|
222
|
-
proof: RawTransactionArgument<string>;
|
|
223
|
-
}
|
|
224
|
-
export interface ProofSignedClaimOptions {
|
|
225
|
-
package?: string;
|
|
226
|
-
arguments: ProofSignedClaimArguments | [proof: RawTransactionArgument<string>];
|
|
227
|
-
typeArguments: [string];
|
|
228
|
-
}
|
|
229
|
-
export declare function proofSignedClaim(options: ProofSignedClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
230
|
-
export interface UpdateWitnessesArguments {
|
|
231
|
-
self: RawTransactionArgument<string>;
|
|
232
|
-
Cap: RawTransactionArgument<string>;
|
|
233
|
-
witnesses: RawTransactionArgument<number[][]>;
|
|
234
|
-
}
|
|
235
|
-
export interface UpdateWitnessesOptions {
|
|
236
|
-
package?: string;
|
|
237
|
-
arguments: UpdateWitnessesArguments | [
|
|
238
|
-
self: RawTransactionArgument<string>,
|
|
239
|
-
Cap: RawTransactionArgument<string>,
|
|
240
|
-
witnesses: RawTransactionArgument<number[][]>
|
|
241
|
-
];
|
|
242
|
-
typeArguments: [string];
|
|
243
|
-
}
|
|
244
|
-
export declare function updateWitnesses(options: UpdateWitnessesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
245
|
-
export interface UpdateWitnessesNumThresholdArguments {
|
|
246
|
-
self: RawTransactionArgument<string>;
|
|
247
|
-
Cap: RawTransactionArgument<string>;
|
|
248
|
-
witnessesNumThreshold: RawTransactionArgument<number>;
|
|
249
|
-
}
|
|
250
|
-
export interface UpdateWitnessesNumThresholdOptions {
|
|
251
|
-
package?: string;
|
|
252
|
-
arguments: UpdateWitnessesNumThresholdArguments | [
|
|
253
|
-
self: RawTransactionArgument<string>,
|
|
254
|
-
Cap: RawTransactionArgument<string>,
|
|
255
|
-
witnessesNumThreshold: RawTransactionArgument<number>
|
|
256
|
-
];
|
|
257
|
-
typeArguments: [string];
|
|
258
|
-
}
|
|
259
|
-
export declare function updateWitnessesNumThreshold(options: UpdateWitnessesNumThresholdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
260
|
-
export interface UpdateMaxRevealWindowArguments {
|
|
261
|
-
self: RawTransactionArgument<string>;
|
|
262
|
-
Cap: RawTransactionArgument<string>;
|
|
263
|
-
maxRevealWindow: RawTransactionArgument<number | bigint>;
|
|
264
|
-
}
|
|
265
|
-
export interface UpdateMaxRevealWindowOptions {
|
|
266
|
-
package?: string;
|
|
267
|
-
arguments: UpdateMaxRevealWindowArguments | [
|
|
268
|
-
self: RawTransactionArgument<string>,
|
|
269
|
-
Cap: RawTransactionArgument<string>,
|
|
270
|
-
maxRevealWindow: RawTransactionArgument<number | bigint>
|
|
271
|
-
];
|
|
272
|
-
typeArguments: [string];
|
|
273
|
-
}
|
|
274
|
-
export declare function updateMaxRevealWindow(options: UpdateMaxRevealWindowOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
275
|
-
export interface CleanupExpiredCommitmentsArguments {
|
|
276
|
-
self: RawTransactionArgument<string>;
|
|
277
|
-
Cap: RawTransactionArgument<string>;
|
|
278
|
-
commitmentIds: RawTransactionArgument<string[]>;
|
|
279
|
-
}
|
|
280
|
-
export interface CleanupExpiredCommitmentsOptions {
|
|
281
|
-
package?: string;
|
|
282
|
-
arguments: CleanupExpiredCommitmentsArguments | [
|
|
283
|
-
self: RawTransactionArgument<string>,
|
|
284
|
-
Cap: RawTransactionArgument<string>,
|
|
285
|
-
commitmentIds: RawTransactionArgument<string[]>
|
|
286
|
-
];
|
|
287
|
-
typeArguments: [string];
|
|
288
|
-
}
|
|
289
|
-
export declare function cleanupExpiredCommitments(options: CleanupExpiredCommitmentsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
290
|
-
export interface BurnProofArguments {
|
|
291
|
-
proof: RawTransactionArgument<string>;
|
|
292
|
-
}
|
|
293
|
-
export interface BurnProofOptions {
|
|
294
|
-
package?: string;
|
|
295
|
-
arguments: BurnProofArguments | [proof: RawTransactionArgument<string>];
|
|
296
|
-
typeArguments: [string];
|
|
297
|
-
}
|
|
298
|
-
export declare function burnProof(options: BurnProofOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
299
|
-
export interface CommitProofArguments {
|
|
300
|
-
self: RawTransactionArgument<string>;
|
|
301
|
-
config: RawTransactionArgument<string>;
|
|
302
|
-
commitmentHash: RawTransactionArgument<number[]>;
|
|
303
|
-
identifierHash: RawTransactionArgument<number[]>;
|
|
304
|
-
}
|
|
305
|
-
export interface CommitProofOptions {
|
|
306
|
-
package?: string;
|
|
307
|
-
arguments: CommitProofArguments | [
|
|
308
|
-
self: RawTransactionArgument<string>,
|
|
309
|
-
config: RawTransactionArgument<string>,
|
|
310
|
-
commitmentHash: RawTransactionArgument<number[]>,
|
|
311
|
-
identifierHash: RawTransactionArgument<number[]>
|
|
312
|
-
];
|
|
313
|
-
typeArguments: [string];
|
|
314
|
-
}
|
|
315
|
-
export declare function commitProof(options: CommitProofOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
316
|
-
export interface RevealAndVerifyProofArguments {
|
|
317
|
-
self: RawTransactionArgument<string>;
|
|
318
|
-
config: RawTransactionArgument<string>;
|
|
319
|
-
commitmentId: RawTransactionArgument<string>;
|
|
320
|
-
provider: RawTransactionArgument<string>;
|
|
321
|
-
parameters: RawTransactionArgument<string>;
|
|
322
|
-
context: RawTransactionArgument<string>;
|
|
323
|
-
identifier: RawTransactionArgument<string>;
|
|
324
|
-
owner: RawTransactionArgument<string>;
|
|
325
|
-
epoch: RawTransactionArgument<string>;
|
|
326
|
-
timestampS: RawTransactionArgument<number | bigint>;
|
|
327
|
-
signatures: RawTransactionArgument<number[][]>;
|
|
328
|
-
nonce: RawTransactionArgument<number[]>;
|
|
329
|
-
}
|
|
330
|
-
export interface RevealAndVerifyProofOptions {
|
|
331
|
-
package?: string;
|
|
332
|
-
arguments: RevealAndVerifyProofArguments | [
|
|
333
|
-
self: RawTransactionArgument<string>,
|
|
334
|
-
config: RawTransactionArgument<string>,
|
|
335
|
-
commitmentId: RawTransactionArgument<string>,
|
|
336
|
-
provider: RawTransactionArgument<string>,
|
|
337
|
-
parameters: RawTransactionArgument<string>,
|
|
338
|
-
context: RawTransactionArgument<string>,
|
|
339
|
-
identifier: RawTransactionArgument<string>,
|
|
340
|
-
owner: RawTransactionArgument<string>,
|
|
341
|
-
epoch: RawTransactionArgument<string>,
|
|
342
|
-
timestampS: RawTransactionArgument<number | bigint>,
|
|
343
|
-
signatures: RawTransactionArgument<number[][]>,
|
|
344
|
-
nonce: RawTransactionArgument<number[]>
|
|
345
|
-
];
|
|
346
|
-
typeArguments: [string];
|
|
347
|
-
}
|
|
348
|
-
export declare function revealAndVerifyProof(options: RevealAndVerifyProofOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
349
|
-
export interface BytesToHexArguments {
|
|
350
|
-
bytes: RawTransactionArgument<number[]>;
|
|
351
|
-
}
|
|
352
|
-
export interface BytesToHexOptions {
|
|
353
|
-
package?: string;
|
|
354
|
-
arguments: BytesToHexArguments | [bytes: RawTransactionArgument<number[]>];
|
|
355
|
-
}
|
|
356
|
-
export declare function bytesToHex(options: BytesToHexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|