@nockbox/iris-wasm 0.2.0-alpha.4 → 0.2.0-alpha.5

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/iris_wasm.d.ts CHANGED
@@ -1,24 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Convert native SpendCondition to protobuf format.
5
- * Returns the protobuf format used by the Nockchain gRPC interface and external dApps.
6
- */
7
- export function spendConditionToProtobuf(value: SpendCondition): PbCom2SpendCondition;
3
+ export function noteFromProtobuf(value: PbCom2Note): Note;
8
4
  export function digestToProtobuf(d: Digest): PbCom1Hash;
9
- export function noteToProtobuf(note: Note): PbCom2Note;
10
5
  export function digestFromProtobuf(value: PbCom1Hash): Digest;
11
- /**
12
- * Return default transaction engine settings for V1 signing.
13
- */
14
- export function txEngineSettingsV1Default(): TxEngineSettings;
15
- /**
16
- * Convert protobuf spend condition to native SpendCondition.
17
- * Accepts the protobuf format used by the Nockchain gRPC interface and external dApps
18
- */
19
- export function spendConditionFromProtobuf(value: PbCom2SpendCondition): SpendCondition;
20
- export function noteFromProtobuf(value: PbCom2Note): Note;
21
- export function rawTxFromProtobuf(tx: PbCom2RawTransaction): RawTx;
22
6
  /**
23
7
  * Convert raw transaction into protobuf format.
24
8
  *
@@ -28,33 +12,33 @@ export function rawTxFromProtobuf(tx: PbCom2RawTransaction): RawTx;
28
12
  */
29
13
  export function rawTxToProtobuf(tx: RawTxV1): PbCom2RawTransaction;
30
14
  /**
31
- * Return default transaction engine settings for V1 Bythos signing.
15
+ * Convert protobuf spend condition to native SpendCondition.
16
+ * Accepts the protobuf format used by the Nockchain gRPC interface and external dApps
32
17
  */
33
- export function txEngineSettingsV1BythosDefault(): TxEngineSettings;
18
+ export function spendConditionFromProtobuf(value: PbCom2SpendCondition): SpendCondition;
34
19
  /**
35
- * Convert an Atom into a string.
20
+ * Return default transaction engine settings for V1 Bythos signing.
36
21
  */
37
- export function untas(noun: Noun): string;
22
+ export function txEngineSettingsV1BythosDefault(): TxEngineSettings;
38
23
  /**
39
- * Cue a jammed Uint8Array into a Noun (see `jam`).
24
+ * Convert native SpendCondition to protobuf format.
25
+ * Returns the protobuf format used by the Nockchain gRPC interface and external dApps.
40
26
  */
41
- export function cue(jam: Uint8Array): Noun;
27
+ export function spendConditionToProtobuf(value: SpendCondition): PbCom2SpendCondition;
28
+ export function noteToProtobuf(note: Note): PbCom2Note;
42
29
  /**
43
- * Convert a sequence of belts back into one atom.
30
+ * Return default transaction engine settings for V1 signing.
44
31
  */
45
- export function belts_to_atom(noun: Noun): Noun;
32
+ export function txEngineSettingsV1Default(): TxEngineSettings;
33
+ export function rawTxFromProtobuf(tx: PbCom2RawTransaction): RawTx;
46
34
  /**
47
35
  * Encode a Noun as a Uint8Array of bytes.
48
36
  */
49
37
  export function jam(noun: Noun): Uint8Array;
50
38
  /**
51
- * Convert an Atom to belts.
52
- */
53
- export function atom_to_belts(atom: Noun): Noun;
54
- /**
55
- * Convert string to an Atom.
39
+ * Convert a sequence of belts back into one atom.
56
40
  */
57
- export function tas(s: string): Noun;
41
+ export function belts_to_atom(noun: Noun): Noun;
58
42
  /**
59
43
  * Convert a string to sequence of Belts.
60
44
  *
@@ -66,29 +50,45 @@ export function tas(s: string): Noun;
66
50
  */
67
51
  export function tas_belts(s: string): Noun;
68
52
  /**
69
- * Derive master key from seed bytes
53
+ * Convert an Atom into a string.
70
54
  */
71
- export function deriveMasterKey(seed: Uint8Array): ExtendedKey;
55
+ export function untas(noun: Noun): string;
72
56
  /**
73
- * Sign a message string with a private key
57
+ * Cue a jammed Uint8Array into a Noun (see `jam`).
74
58
  */
75
- export function signMessage(private_key_bytes: Uint8Array, message: string): Signature;
59
+ export function cue(jam: Uint8Array): Noun;
76
60
  /**
77
- * Verify a signature with a public key
61
+ * Convert an Atom to belts.
78
62
  */
79
- export function verifySignature(public_key_bytes: Uint8Array, signature: Signature, message: string): boolean;
63
+ export function atom_to_belts(atom: Noun): Noun;
80
64
  /**
81
- * Hash a noun (jam as input)
65
+ * Convert string to an Atom.
82
66
  */
83
- export function hashNoun(noun: Uint8Array): string;
67
+ export function tas(s: string): Noun;
84
68
  /**
85
69
  * Hash a u64 value
86
70
  */
87
71
  export function hashU64(value: bigint): string;
72
+ /**
73
+ * Derive master key from seed bytes
74
+ */
75
+ export function deriveMasterKey(seed: Uint8Array): ExtendedKey;
88
76
  /**
89
77
  * Derive master key from BIP39 mnemonic phrase
90
78
  */
91
79
  export function deriveMasterKeyFromMnemonic(mnemonic: string, passphrase?: string | null): ExtendedKey;
80
+ /**
81
+ * Verify a signature with a public key
82
+ */
83
+ export function verifySignature(public_key_bytes: Uint8Array, signature: Signature, message: string): boolean;
84
+ /**
85
+ * Sign a message string with a private key
86
+ */
87
+ export function signMessage(private_key_bytes: Uint8Array, message: string): Signature;
88
+ /**
89
+ * Hash a noun (jam as input)
90
+ */
91
+ export function hashNoun(noun: Uint8Array): string;
92
92
  /**
93
93
  * Hash a public key to get its digest (for use in PKH)
94
94
  */
@@ -97,50 +97,46 @@ export function hashPublicKey(public_key_bytes: Uint8Array): string;
97
97
  * r" Convert from `Noun`.
98
98
  */
99
99
  export function seedV0FromNoun(noun: Noun): SeedV0;
100
- export function seedV0Hash(v: SeedV0): Digest;
101
100
  /**
102
101
  * r" Convert into `Noun`.
103
102
  */
104
103
  export function seedV0ToNoun(v: SeedV0): Noun;
105
- /**
106
- * r" Convert from `Noun`.
107
- */
108
- export function rawTxV0FromNoun(noun: Noun): RawTxV0;
104
+ export function seedV0Hash(v: SeedV0): Digest;
109
105
  /**
110
106
  * r" Convert into `Noun`.
111
107
  */
112
108
  export function rawTxV0ToNoun(v: RawTxV0): Noun;
113
- /**
114
- * r" Convert into `Noun`.
115
- */
116
- export function timelockIntentToNoun(v: TimelockIntent): Noun;
117
- export function timelockIntentHash(v: TimelockIntent): Digest;
118
109
  /**
119
110
  * r" Convert from `Noun`.
120
111
  */
121
- export function timelockIntentFromNoun(noun: Noun): TimelockIntent;
112
+ export function rawTxV0FromNoun(noun: Noun): RawTxV0;
122
113
  export function noteDataFromPkh(pkh: Pkh): NoteData;
123
- export function noteDataEmpty(): NoteData;
124
114
  export function noteDataFeeWords(obj: NoteData): bigint;
115
+ export function noteDataEmpty(): NoteData;
125
116
  export function spend1V1SigHash(obj: Spend1V1): Digest;
117
+ export function lockMetadataHash(v: LockMetadata): Digest;
126
118
  /**
127
119
  * r" Convert into `Noun`.
128
120
  */
129
121
  export function lockMetadataToNoun(v: LockMetadata): Noun;
130
- export function lockMetadataHash(v: LockMetadata): Digest;
131
122
  /**
132
123
  * r" Convert from `Noun`.
133
124
  */
134
125
  export function lockMetadataFromNoun(noun: Noun): LockMetadata;
126
+ /**
127
+ * r" Convert into `Noun`.
128
+ */
129
+ export function lockPrimitiveToNoun(v: LockPrimitive): Noun;
130
+ export function lockPrimitiveHash(v: LockPrimitive): Digest;
135
131
  /**
136
132
  * r" Convert from `Noun`.
137
133
  */
138
134
  export function lockPrimitiveFromNoun(noun: Noun): LockPrimitive;
135
+ export function nameHash(v: Name): Digest;
139
136
  /**
140
137
  * r" Convert into `Noun`.
141
138
  */
142
- export function lockPrimitiveToNoun(v: LockPrimitive): Noun;
143
- export function lockPrimitiveHash(v: LockPrimitive): Digest;
139
+ export function nameToNoun(v: Name): Noun;
144
140
  /**
145
141
  * r" Convert from `Noun`.
146
142
  */
@@ -148,78 +144,87 @@ export function nameFromNoun(noun: Noun): Name;
148
144
  /**
149
145
  * r" Convert into `Noun`.
150
146
  */
151
- export function nameToNoun(v: Name): Noun;
152
- export function nameHash(v: Name): Digest;
153
- export function haxHash(v: Hax): Digest;
147
+ export function timelockRangeToNoun(v: TimelockRange): Noun;
148
+ export function timelockRangeHash(v: TimelockRange): Digest;
149
+ /**
150
+ * r" Convert from `Noun`.
151
+ */
152
+ export function timelockRangeFromNoun(noun: Noun): TimelockRange;
153
+ /**
154
+ * r" Convert from `Noun`.
155
+ */
156
+ export function noteInnerFromNoun(noun: Noun): NoteInner;
154
157
  /**
155
158
  * r" Convert into `Noun`.
156
159
  */
157
- export function haxToNoun(v: Hax): Noun;
160
+ export function noteInnerToNoun(v: NoteInner): Noun;
161
+ export function noteInnerHash(v: NoteInner): Digest;
158
162
  /**
159
163
  * r" Convert from `Noun`.
160
164
  */
161
165
  export function haxFromNoun(noun: Noun): Hax;
166
+ export function haxHash(v: Hax): Digest;
162
167
  /**
163
168
  * r" Convert into `Noun`.
164
169
  */
165
- export function pkhToNoun(v: Pkh): Noun;
170
+ export function haxToNoun(v: Hax): Noun;
166
171
  export function pkhHash(v: Pkh): Digest;
172
+ /**
173
+ * r" Convert into `Noun`.
174
+ */
175
+ export function pkhToNoun(v: Pkh): Noun;
167
176
  /**
168
177
  * r" Convert from `Noun`.
169
178
  */
170
179
  export function pkhFromNoun(noun: Noun): Pkh;
171
- export function pkhSingle(hash: Digest): Pkh;
172
180
  export function pkhNew(m: bigint, hashes: Digest[]): Pkh;
173
- export function spendConditionHash(v: SpendCondition): Digest;
181
+ export function pkhSingle(hash: Digest): Pkh;
174
182
  /**
175
183
  * r" Convert into `Noun`.
176
184
  */
177
185
  export function spendConditionToNoun(v: SpendCondition): Noun;
186
+ export function spendConditionHash(v: SpendCondition): Digest;
178
187
  /**
179
188
  * r" Convert from `Noun`.
180
189
  */
181
190
  export function spendConditionFromNoun(noun: Noun): SpendCondition;
182
- export function spendConditionNewPkh(pkh: Pkh): SpendCondition;
183
191
  export function spendConditionHax(obj: SpendCondition): Hax[];
192
+ export function spendConditionTim(obj: SpendCondition): Timelock[];
184
193
  export function spendConditionFirstName(obj: SpendCondition): Digest;
185
- export function spendConditionPkh(obj: SpendCondition): Pkh[];
194
+ export function spendConditionNewPkh(pkh: Pkh): SpendCondition;
186
195
  export function spendConditionBrn(obj: SpendCondition): boolean;
187
- export function spendConditionTim(obj: SpendCondition): Timelock[];
188
- /**
189
- * r" Convert from `Noun`.
190
- */
191
- export function sourceFromNoun(noun: Noun): Source;
192
- export function sourceHash(v: Source): Digest;
196
+ export function spendConditionPkh(obj: SpendCondition): Pkh[];
193
197
  /**
194
198
  * r" Convert into `Noun`.
195
199
  */
196
200
  export function sourceToNoun(v: Source): Noun;
197
- export function timelockRangeHash(v: TimelockRange): Digest;
198
- /**
199
- * r" Convert into `Noun`.
200
- */
201
- export function timelockRangeToNoun(v: TimelockRange): Noun;
201
+ export function sourceHash(v: Source): Digest;
202
202
  /**
203
203
  * r" Convert from `Noun`.
204
204
  */
205
- export function timelockRangeFromNoun(noun: Noun): TimelockRange;
206
- export function rawTxVersion(obj: RawTx): Version;
205
+ export function sourceFromNoun(noun: Noun): Source;
207
206
  export function rawTxId(obj: RawTx): Digest;
208
207
  export function rawTxOutputs(obj: RawTx): Note[];
209
- export function inputHash(v: Input): Digest;
208
+ export function rawTxVersion(obj: RawTx): Version;
210
209
  /**
211
210
  * r" Convert from `Noun`.
212
211
  */
213
- export function inputFromNoun(noun: Noun): Input;
212
+ export function sigFromNoun(noun: Noun): Sig;
213
+ /**
214
+ * r" Convert into `Noun`.
215
+ */
216
+ export function sigToNoun(v: Sig): Noun;
217
+ export function sigHash(v: Sig): Digest;
214
218
  /**
215
219
  * r" Convert into `Noun`.
216
220
  */
217
221
  export function inputToNoun(v: Input): Noun;
218
- export function inputsHash(v: Inputs): Digest;
219
222
  /**
220
223
  * r" Convert from `Noun`.
221
224
  */
222
- export function inputsFromNoun(noun: Noun): Inputs;
225
+ export function inputFromNoun(noun: Noun): Input;
226
+ export function inputHash(v: Input): Digest;
227
+ export function inputsHash(v: Inputs): Digest;
223
228
  /**
224
229
  * r" Convert into `Noun`.
225
230
  */
@@ -227,13 +232,16 @@ export function inputsToNoun(v: Inputs): Noun;
227
232
  /**
228
233
  * r" Convert from `Noun`.
229
234
  */
230
- export function seedsV0FromNoun(noun: Noun): SeedsV0;
235
+ export function inputsFromNoun(noun: Noun): Inputs;
236
+ export function seedsV0Hash(v: SeedsV0): Digest;
231
237
  /**
232
238
  * r" Convert into `Noun`.
233
239
  */
234
240
  export function seedsV0ToNoun(v: SeedsV0): Noun;
235
- export function seedsV0Hash(v: SeedsV0): Digest;
236
- export function spendV0Hash(v: SpendV0): Digest;
241
+ /**
242
+ * r" Convert from `Noun`.
243
+ */
244
+ export function seedsV0FromNoun(noun: Noun): SeedsV0;
237
245
  /**
238
246
  * r" Convert into `Noun`.
239
247
  */
@@ -242,41 +250,42 @@ export function spendV0ToNoun(v: SpendV0): Noun;
242
250
  * r" Convert from `Noun`.
243
251
  */
244
252
  export function spendV0FromNoun(noun: Noun): SpendV0;
245
- export function timelockHash(v: Timelock): Digest;
253
+ export function spendV0Hash(v: SpendV0): Digest;
246
254
  /**
247
255
  * r" Convert into `Noun`.
248
256
  */
249
- export function timelockToNoun(v: Timelock): Noun;
257
+ export function timelockIntentToNoun(v: TimelockIntent): Noun;
258
+ export function timelockIntentHash(v: TimelockIntent): Digest;
250
259
  /**
251
260
  * r" Convert from `Noun`.
252
261
  */
253
- export function timelockFromNoun(noun: Noun): Timelock;
254
- /**
255
- * r" Convert into `Noun`.
256
- */
257
- export function legacySignatureToNoun(v: LegacySignature): Noun;
262
+ export function timelockIntentFromNoun(noun: Noun): TimelockIntent;
258
263
  /**
259
264
  * r" Convert from `Noun`.
260
265
  */
261
266
  export function legacySignatureFromNoun(noun: Noun): LegacySignature;
267
+ /**
268
+ * r" Convert into `Noun`.
269
+ */
270
+ export function legacySignatureToNoun(v: LegacySignature): Noun;
262
271
  export function legacySignatureHash(v: LegacySignature): Digest;
263
- export function noteDataHash(v: NoteData): Digest;
264
272
  /**
265
273
  * r" Convert into `Noun`.
266
274
  */
267
275
  export function noteDataToNoun(v: NoteData): Noun;
276
+ export function noteDataHash(v: NoteData): Digest;
268
277
  /**
269
278
  * r" Convert from `Noun`.
270
279
  */
271
280
  export function noteDataFromNoun(noun: Noun): NoteData;
272
- /**
273
- * r" Convert into `Noun`.
274
- */
275
- export function rawTxV1ToNoun(v: RawTxV1): Noun;
276
281
  /**
277
282
  * r" Convert from `Noun`.
278
283
  */
279
284
  export function rawTxV1FromNoun(noun: Noun): RawTxV1;
285
+ /**
286
+ * r" Convert into `Noun`.
287
+ */
288
+ export function rawTxV1ToNoun(v: RawTxV1): Noun;
280
289
  /**
281
290
  * r" Convert into `Noun`.
282
291
  */
@@ -285,9 +294,7 @@ export function nockchainTxToNoun(v: NockchainTx): Noun;
285
294
  * r" Convert from `Noun`.
286
295
  */
287
296
  export function nockchainTxFromNoun(noun: Noun): NockchainTx;
288
- export function rawTxV1New(spends: SpendsV1): RawTxV1;
289
297
  export function rawTxV1CalcId(obj: RawTxV1): Digest;
290
- export function rawTxV1Version(obj: RawTxV1): Version;
291
298
  export function rawTxV1ToNockchainTx(obj: RawTxV1): NockchainTx;
292
299
  /**
293
300
  * Calculate output notes from the transaction spends.
@@ -295,29 +302,18 @@ export function rawTxV1ToNockchainTx(obj: RawTxV1): NockchainTx;
295
302
  * This function combines seeds across multiple spends into one output note per-lock-root.
296
303
  */
297
304
  export function rawTxV1Outputs(obj: RawTxV1): NoteV1[];
298
- /**
299
- * r" Convert from `Noun`.
300
- */
301
- export function inputDisplayFromNoun(noun: Noun): InputDisplay;
305
+ export function rawTxV1Version(obj: RawTxV1): Version;
306
+ export function rawTxV1New(spends: SpendsV1): RawTxV1;
302
307
  /**
303
308
  * r" Convert into `Noun`.
304
309
  */
305
310
  export function inputDisplayToNoun(v: InputDisplay): Noun;
306
- /**
307
- * r" Convert into `Noun`.
308
- */
309
- export function pkhSignatureToNoun(v: PkhSignature): Noun;
310
- export function pkhSignatureHash(v: PkhSignature): Digest;
311
311
  /**
312
312
  * r" Convert from `Noun`.
313
313
  */
314
- export function pkhSignatureFromNoun(noun: Noun): PkhSignature;
314
+ export function inputDisplayFromNoun(noun: Noun): InputDisplay;
315
315
  export function nockchainTxToRawTx(obj: NockchainTx): RawTxV1;
316
316
  export function nockchainTxOutputs(obj: NockchainTx): NoteV1[];
317
- /**
318
- * r" Convert into `Noun`.
319
- */
320
- export function transactionDisplayToNoun(v: TransactionDisplay): Noun;
321
317
  /**
322
318
  * r" Convert from `Noun`.
323
319
  */
@@ -325,11 +321,15 @@ export function transactionDisplayFromNoun(noun: Noun): TransactionDisplay;
325
321
  /**
326
322
  * r" Convert into `Noun`.
327
323
  */
328
- export function balanceToNoun(v: Balance): Noun;
324
+ export function transactionDisplayToNoun(v: TransactionDisplay): Noun;
329
325
  /**
330
326
  * r" Convert from `Noun`.
331
327
  */
332
328
  export function balanceFromNoun(noun: Noun): Balance;
329
+ /**
330
+ * r" Convert into `Noun`.
331
+ */
332
+ export function balanceToNoun(v: Balance): Noun;
333
333
  export function versionHash(v: Version): Digest;
334
334
  /**
335
335
  * r" Convert into `Noun`.
@@ -347,65 +347,56 @@ export function balanceUpdateFromNoun(noun: Noun): BalanceUpdate;
347
347
  * r" Convert into `Noun`.
348
348
  */
349
349
  export function balanceUpdateToNoun(v: BalanceUpdate): Noun;
350
- export function sigHash(v: Sig): Digest;
351
- /**
352
- * r" Convert from `Noun`.
353
- */
354
- export function sigFromNoun(noun: Noun): Sig;
350
+ export function noteV0Hash(v: NoteV0): Digest;
355
351
  /**
356
352
  * r" Convert into `Noun`.
357
353
  */
358
- export function sigToNoun(v: Sig): Noun;
359
- export function noteV0Hash(v: NoteV0): Digest;
354
+ export function noteV0ToNoun(v: NoteV0): Noun;
360
355
  /**
361
356
  * r" Convert from `Noun`.
362
357
  */
363
358
  export function noteV0FromNoun(noun: Noun): NoteV0;
359
+ /**
360
+ * r" Convert from `Noun`.
361
+ */
362
+ export function timelockFromNoun(noun: Noun): Timelock;
363
+ export function timelockHash(v: Timelock): Digest;
364
364
  /**
365
365
  * r" Convert into `Noun`.
366
366
  */
367
- export function noteV0ToNoun(v: NoteV0): Noun;
367
+ export function timelockToNoun(v: Timelock): Noun;
368
368
  /**
369
369
  * r" Convert into `Noun`.
370
370
  */
371
- export function noteInnerToNoun(v: NoteInner): Noun;
372
- export function noteInnerHash(v: NoteInner): Digest;
371
+ export function noteV1ToNoun(v: NoteV1): Noun;
372
+ export function noteV1Hash(v: NoteV1): Digest;
373
373
  /**
374
374
  * r" Convert from `Noun`.
375
375
  */
376
- export function noteInnerFromNoun(noun: Noun): NoteInner;
376
+ export function noteV1FromNoun(noun: Noun): NoteV1;
377
377
  /**
378
378
  * r" Convert from `Noun`.
379
379
  */
380
- export function noteV1FromNoun(noun: Noun): NoteV1;
380
+ export function seedV1FromNoun(noun: Noun): SeedV1;
381
381
  /**
382
382
  * r" Convert into `Noun`.
383
383
  */
384
- export function noteV1ToNoun(v: NoteV1): Noun;
385
- export function noteV1Hash(v: NoteV1): Digest;
384
+ export function seedV1ToNoun(v: SeedV1): Noun;
385
+ export function seedV1Hash(v: SeedV1): Digest;
386
386
  /**
387
387
  * r" Convert into `Noun`.
388
388
  */
389
- export function seedV1ToNoun(v: SeedV1): Noun;
390
- /**
391
- * r" Convert from `Noun`.
392
- */
393
- export function seedV1FromNoun(noun: Noun): SeedV1;
394
- export function seedV1Hash(v: SeedV1): Digest;
389
+ export function witnessToNoun(v: Witness): Noun;
390
+ export function witnessHash(v: Witness): Digest;
395
391
  /**
396
392
  * r" Convert from `Noun`.
397
393
  */
398
394
  export function witnessFromNoun(noun: Noun): Witness;
399
- /**
400
- * r" Convert into `Noun`.
401
- */
402
- export function witnessToNoun(v: Witness): Noun;
403
- export function witnessHash(v: Witness): Digest;
404
- export function seedsV1Hash(v: SeedsV1): Digest;
405
395
  /**
406
396
  * r" Convert from `Noun`.
407
397
  */
408
398
  export function seedsV1FromNoun(noun: Noun): SeedsV1;
399
+ export function seedsV1Hash(v: SeedsV1): Digest;
409
400
  /**
410
401
  * r" Convert into `Noun`.
411
402
  */
@@ -419,16 +410,15 @@ export function spendV1ToNoun(v: SpendV1): Noun;
419
410
  * r" Convert from `Noun`.
420
411
  */
421
412
  export function spendV1FromNoun(noun: Noun): SpendV1;
422
- /**
423
- * r" Convert from `Noun`.
424
- */
425
- export function lockRootFromNoun(noun: Noun): LockRoot;
426
413
  /**
427
414
  * r" Convert into `Noun`.
428
415
  */
429
416
  export function lockRootToNoun(v: LockRoot): Noun;
417
+ /**
418
+ * r" Convert from `Noun`.
419
+ */
420
+ export function lockRootFromNoun(noun: Noun): LockRoot;
430
421
  export function lockRootHash(v: LockRoot): Digest;
431
- export function spendsV1Hash(v: SpendsV1): Digest;
432
422
  /**
433
423
  * r" Convert into `Noun`.
434
424
  */
@@ -437,61 +427,71 @@ export function spendsV1ToNoun(v: SpendsV1): Noun;
437
427
  * r" Convert from `Noun`.
438
428
  */
439
429
  export function spendsV1FromNoun(noun: Noun): SpendsV1;
430
+ export function spendsV1Hash(v: SpendsV1): Digest;
440
431
  export function seedV1NoteDataWords(obj: SeedV1): bigint;
441
432
  export function seedV1NewSinglePkh(pkh: Digest, gift: Nicks, parent_hash: Digest, include_lock_data: boolean): SeedV1;
442
- export function spendV1SigHash(obj: SpendV1): Digest;
443
- export function spendV1NewLegacy(seeds: SeedsV1, fee: Nicks): SpendV1;
444
- export function spendV1NewWitness(witness: Witness, seeds: SeedsV1, fee: Nicks): SpendV1;
445
433
  export function spendV1UnclampedFee(obj: SpendV1, settings: TxEngineSettings): Nicks;
446
- export function spendV1Fee(obj: SpendV1): Nicks;
434
+ export function spendV1NewWitness(witness: Witness, seeds: SeedsV1, fee: Nicks): SpendV1;
435
+ export function spendV1NewLegacy(seeds: SeedsV1, fee: Nicks): SpendV1;
436
+ export function spendV1SigHash(obj: SpendV1): Digest;
447
437
  export function spendV1Seeds(obj: SpendV1): SeedsV1;
448
- /**
449
- * r" Convert from `Noun`.
450
- */
451
- export function merkleProofFromNoun(noun: Noun): MerkleProof;
438
+ export function spendV1Fee(obj: SpendV1): Nicks;
452
439
  export function merkleProofHash(v: MerkleProof): Digest;
453
440
  /**
454
441
  * r" Convert into `Noun`.
455
442
  */
456
443
  export function merkleProofToNoun(v: MerkleProof): Noun;
457
444
  /**
458
- * r" Convert into `Noun`.
445
+ * r" Convert from `Noun`.
459
446
  */
460
- export function witnessDataToNoun(v: WitnessData): Noun;
447
+ export function merkleProofFromNoun(noun: Noun): MerkleProof;
461
448
  /**
462
449
  * r" Convert from `Noun`.
463
450
  */
464
451
  export function witnessDataFromNoun(noun: Noun): WitnessData;
452
+ /**
453
+ * r" Convert into `Noun`.
454
+ */
455
+ export function witnessDataToNoun(v: WitnessData): Noun;
456
+ export function spendsV1ApplyWitness(obj: SpendsV1, witness_data: WitnessData): SpendsV1;
465
457
  export function spendsV1Fee(obj: SpendsV1, settings: TxEngineSettings): Nicks;
466
458
  export function spendsV1UnclampedFee(obj: SpendsV1, settings: TxEngineSettings): Nicks;
467
- export function spendsV1ApplyWitness(obj: SpendsV1, witness_data: WitnessData): SpendsV1;
459
+ export function pkhSignatureHash(v: PkhSignature): Digest;
468
460
  /**
469
461
  * r" Convert from `Noun`.
470
462
  */
471
- export function lockMerkleProofFromNoun(noun: Noun): LockMerkleProof;
472
- export function lockMerkleProofHash(v: LockMerkleProof): Digest;
463
+ export function pkhSignatureFromNoun(noun: Noun): PkhSignature;
473
464
  /**
474
465
  * r" Convert into `Noun`.
475
466
  */
476
- export function lockMerkleProofToNoun(v: LockMerkleProof): Noun;
467
+ export function pkhSignatureToNoun(v: PkhSignature): Noun;
468
+ export function lockMerkleProofHash(v: LockMerkleProof): Digest;
477
469
  /**
478
470
  * r" Convert from `Noun`.
479
471
  */
480
- export function noteFromNoun(noun: Noun): Note;
472
+ export function lockMerkleProofFromNoun(noun: Noun): LockMerkleProof;
473
+ /**
474
+ * r" Convert into `Noun`.
475
+ */
476
+ export function lockMerkleProofToNoun(v: LockMerkleProof): Noun;
481
477
  /**
482
478
  * r" Convert into `Noun`.
483
479
  */
484
480
  export function noteToNoun(v: Note): Noun;
485
481
  export function noteHash(v: Note): Digest;
486
- export function digestHash(v: Digest): Digest;
487
482
  /**
488
- * r" Convert into `Noun`.
483
+ * r" Convert from `Noun`.
489
484
  */
490
- export function digestToNoun(v: Digest): Noun;
485
+ export function noteFromNoun(noun: Noun): Note;
486
+ export function digestHash(v: Digest): Digest;
491
487
  /**
492
488
  * r" Convert from `Noun`.
493
489
  */
494
490
  export function digestFromNoun(noun: Noun): Digest;
491
+ /**
492
+ * r" Convert into `Noun`.
493
+ */
494
+ export function digestToNoun(v: Digest): Noun;
495
495
  /**
496
496
  * The `ReadableStreamType` enum.
497
497
  *
@@ -503,141 +503,164 @@ export interface TxNotes {
503
503
  spend_conditions: SpendCondition[];
504
504
  }
505
505
 
506
- export interface PbCom1TimeLockRangeAbsoluteAndRelative {
507
- absolute: PbCom1TimeLockRangeAbsolute | null;
508
- relative: PbCom1TimeLockRangeRelative | null;
509
- }
510
-
511
- export interface PbCom1Nicks {
512
- value: string;
513
- }
514
-
515
- export interface PbCom1SignatureEntry {
516
- /**
517
- * serialized pubkey corresponding to the signer
518
- */
519
- schnorr_pubkey: PbCom1SchnorrPubkey | null;
520
- signature: PbCom1SchnorrSignature | null;
521
- }
522
-
523
506
  export interface PbCom1Note {
524
507
  /**
525
508
  * page-number when added to balance
526
509
  */
527
- origin_page: PbCom1BlockHeight | null;
510
+ origin_page: PbCom1BlockHeight | undefined;
528
511
  /**
529
512
  * enforced timelock
530
513
  */
531
- timelock: PbCom1TimeLockIntent | null;
514
+ timelock: PbCom1TimeLockIntent | undefined;
532
515
  /**
533
516
  * nname (human/name label)
534
517
  */
535
- name: PbCom1Name | null;
518
+ name: PbCom1Name | undefined;
536
519
  /**
537
520
  * spending condition
538
521
  */
539
- lock: PbCom1Lock | null;
522
+ lock: PbCom1Lock | undefined;
540
523
  /**
541
524
  * provenance commitment
542
525
  */
543
- source: PbCom1Source | null;
526
+ source: PbCom1Source | undefined;
544
527
  /**
545
528
  * coin amount (nicks)
546
529
  */
547
- assets: PbCom1Nicks | null;
530
+ assets: PbCom1Nicks | undefined;
548
531
  /**
549
532
  * note version (currently 0)
550
533
  */
551
- version: PbCom1NoteVersion | null;
552
- }
553
-
554
- export interface PbCom1Spend {
555
- signature: PbCom1Signature | null;
556
- seeds: PbCom1Seed[];
557
- miner_fee_nicks: PbCom1Nicks | null;
534
+ version: PbCom1NoteVersion | undefined;
558
535
  }
559
536
 
560
- export interface PbCom1BlockHeightDelta {
561
- value: string;
537
+ export interface PbCom1TimeLockRangeAbsoluteAndRelative {
538
+ absolute: PbCom1TimeLockRangeAbsolute | undefined;
539
+ relative: PbCom1TimeLockRangeRelative | undefined;
562
540
  }
563
541
 
564
542
  /**
565
- * Use this when you want to force the output to not have a timelock
543
+ * pub struct Belt(pub u64);
566
544
  */
567
- export interface PbCom1TimeLockRangeNeither {}
568
-
569
- export interface PbCom1OutputSource {
570
- source: PbCom1Source | null;
545
+ export interface PbCom1Belt {
546
+ value: string;
571
547
  }
572
548
 
573
549
  /**
574
- * pub struct CheetahPoint {
575
- * pub x: F6lt,
576
- * pub y: F6lt,
577
- * pub inf: bool,
578
- * }
550
+ * Note: prefer using raw numeric fields in messages
551
+ * instead of these wrappers to simplify conversions.
552
+ * These remain defined for potential future use.
579
553
  */
580
- export interface PbCom1CheetahPoint {
581
- x: PbCom1SixBelt | null;
582
- y: PbCom1SixBelt | null;
583
- inf: boolean;
554
+ export interface PbCom1NoteVersion {
555
+ value: string;
584
556
  }
585
557
 
586
- export interface PbCom1Wire {
587
- /**
588
- * e.g., \"http\", \"file\", \"wallet\", \"grpc\
589
- */
590
- source: string;
558
+ export interface PbCom1Lock {
591
559
  /**
592
- * wire format version
560
+ * threshold of keys required to spend the note
593
561
  */
594
- version: number;
562
+ keys_required: number;
595
563
  /**
596
- * operation-specific tags
564
+ * DEPRECATED: repeated string schnorr_pubkeys_b58 = 2;
565
+ *
566
+ * schnorr pubkeys (curve: cheetah)
597
567
  */
598
- tags: PbCom1WireTag[];
568
+ schnorr_pubkeys: PbCom1SchnorrPubkey[];
599
569
  }
600
570
 
601
571
  export interface PbCom1BalanceEntry {
602
- name: PbCom1Name | null;
603
- note: PbCom1Note | null;
572
+ name: PbCom1Name | undefined;
573
+ note: PbCom1Note | undefined;
574
+ }
575
+
576
+ export interface PbCom1OutputSource {
577
+ source: PbCom1Source | undefined;
604
578
  }
605
579
 
580
+ export interface PbCom1Acknowledged {}
581
+
606
582
  /**
607
- * min and max are absolute origin page numbers
583
+ * the string key is the name of the input
584
+ * message RawTransaction { map<Name, Input> inputs = 1; }
608
585
  */
609
- export interface PbCom1TimeLockRangeAbsolute {
610
- min: PbCom1BlockHeight | null;
611
- max: PbCom1BlockHeight | null;
586
+ export interface PbCom1RawTransaction {
587
+ named_inputs: PbCom1NamedInput[];
588
+ timelock_range: PbCom1TimeLockRangeAbsolute | undefined;
589
+ total_fees: PbCom1Nicks | undefined;
590
+ id: string;
612
591
  }
613
592
 
614
- export interface PbCom1Source {
615
- hash: string;
616
- coinbase: boolean;
593
+ export interface PbCom1Name {
594
+ /**
595
+ * First is the hash of whether the note has a timelock and the lock
596
+ */
597
+ first: string;
598
+ /**
599
+ * Last is the hash of the actual timelock and the source
600
+ */
601
+ last: string;
617
602
  }
618
603
 
619
- export interface PbCom1SchnorrSignature {
620
- chal: PbCom1EightBelt | null;
621
- sig: PbCom1EightBelt | null;
604
+ export interface PbCom1WalletBalanceData {
605
+ /**
606
+ * Page of full UTXO entries for the requested wallet. Entries are ordered
607
+ * by (Name.first, Name.last) to support consistent pagination.
608
+ *
609
+ * note name -> amount
610
+ */
611
+ notes: PbCom1BalanceEntry[];
612
+ /**
613
+ * Snapshot metadata where this page was computed. Clients should include
614
+ * the returned page token to continue paging against the same snapshot.
615
+ *
616
+ * block height where balance was computed
617
+ */
618
+ height: PbCom1BlockHeight | undefined;
619
+ /**
620
+ * block where balance was computed
621
+ */
622
+ block_id: PbCom1Hash | undefined;
623
+ /**
624
+ * Pagination cursor for fetching the next page in a paginated view.
625
+ * When empty, there are no further results for this snapshot.
626
+ */
627
+ page: PbCom1PageResponse | undefined;
622
628
  }
623
629
 
624
630
  /**
625
631
  * min and max are relative to the note\'s creation page
626
632
  */
627
633
  export interface PbCom1TimeLockRangeRelative {
628
- min: PbCom1BlockHeightDelta | null;
629
- max: PbCom1BlockHeightDelta | null;
634
+ min: PbCom1BlockHeightDelta | undefined;
635
+ max: PbCom1BlockHeightDelta | undefined;
630
636
  }
631
637
 
632
- export interface PbCom1Name {
638
+ export interface PbCom1Spend {
639
+ signature: PbCom1Signature | undefined;
640
+ seeds: PbCom1Seed[];
641
+ miner_fee_nicks: PbCom1Nicks | undefined;
642
+ }
643
+
644
+ export interface PbCom1NamedInput {
645
+ name: PbCom1Name | undefined;
646
+ input: PbCom1Input | undefined;
647
+ }
648
+
649
+ export interface PbCom1ErrorStatus {
650
+ code: number;
651
+ message: string;
633
652
  /**
634
- * First is the hash of whether the note has a timelock and the lock
653
+ * additional error context
635
654
  */
636
- first: string;
655
+ details: string | null;
656
+ }
657
+
658
+ export interface PbCom1SignatureEntry {
637
659
  /**
638
- * Last is the hash of the actual timelock and the source
660
+ * serialized pubkey corresponding to the signer
639
661
  */
640
- last: string;
662
+ schnorr_pubkey: PbCom1SchnorrPubkey | undefined;
663
+ signature: PbCom1SchnorrSignature | undefined;
641
664
  }
642
665
 
643
666
  /**
@@ -673,171 +696,128 @@ export interface PbCom1PageRequest {
673
696
  max_bytes: number;
674
697
  }
675
698
 
676
- export interface PbCom1Input {
677
- note: PbCom1Note | null;
678
- spend: PbCom1Spend | null;
679
- }
680
-
681
- export interface PbCom1BlockHeight {
682
- value: string;
683
- }
684
-
685
- export interface PbCom1WalletBalanceData {
686
- /**
687
- * Page of full UTXO entries for the requested wallet. Entries are ordered
688
- * by (Name.first, Name.last) to support consistent pagination.
689
- *
690
- * note name -> amount
691
- */
692
- notes: PbCom1BalanceEntry[];
693
- /**
694
- * Snapshot metadata where this page was computed. Clients should include
695
- * the returned page token to continue paging against the same snapshot.
696
- *
697
- * block height where balance was computed
698
- */
699
- height: PbCom1BlockHeight | null;
700
- /**
701
- * block where balance was computed
702
- */
703
- block_id: PbCom1Hash | null;
704
- /**
705
- * Pagination cursor for fetching the next page in a paginated view.
706
- * When empty, there are no further results for this snapshot.
707
- */
708
- page: PbCom1PageResponse | null;
699
+ export interface PbCom1TimeLockIntent {
700
+ value: PbCom1TimeLockIntentValue | undefined;
709
701
  }
710
702
 
711
- export interface PbCom1Seed {
712
- output_source: PbCom1OutputSource | null;
713
- recipient: PbCom1Lock | null;
714
- timelock_intent: PbCom1TimeLockIntent | null;
715
- gift: PbCom1Nicks | null;
716
- parent_hash: string;
703
+ export interface PbCom1SchnorrSignature {
704
+ chal: PbCom1EightBelt | undefined;
705
+ sig: PbCom1EightBelt | undefined;
717
706
  }
718
707
 
719
- export interface PbCom1Acknowledged {}
720
-
721
- export interface PbCom1NamedInput {
722
- name: PbCom1Name | null;
723
- input: PbCom1Input | null;
708
+ /**
709
+ * min and max are absolute origin page numbers
710
+ */
711
+ export interface PbCom1TimeLockRangeAbsolute {
712
+ min: PbCom1BlockHeight | undefined;
713
+ max: PbCom1BlockHeight | undefined;
724
714
  }
725
715
 
726
716
  /**
727
- * the string key is the name of the input
728
- * message RawTransaction { map<Name, Input> inputs = 1; }
717
+ * Use this when you want to force the output to not have a timelock
729
718
  */
730
- export interface PbCom1RawTransaction {
731
- named_inputs: PbCom1NamedInput[];
732
- timelock_range: PbCom1TimeLockRangeAbsolute | null;
733
- total_fees: PbCom1Nicks | null;
734
- id: string;
735
- }
719
+ export interface PbCom1TimeLockRangeNeither {}
736
720
 
737
721
  /**
738
- * pub struct Hash(pub \\[Belt; 5\\]);
739
- * Use fixed fields to avoid variable-length vectors.
722
+ * pub struct SchnorrPubkey(pub CheetahPoint);
740
723
  */
741
- export interface PbCom1Hash {
742
- belt_1: PbCom1Belt | null;
743
- belt_2: PbCom1Belt | null;
744
- belt_3: PbCom1Belt | null;
745
- belt_4: PbCom1Belt | null;
746
- belt_5: PbCom1Belt | null;
724
+ export interface PbCom1SchnorrPubkey {
725
+ value: PbCom1CheetahPoint | undefined;
747
726
  }
748
727
 
749
- export interface PbCom1WireTag {
750
- value: PbCom1WireTagValue | undefined;
751
- }
728
+ export type PbCom1ErrorCode = "Unspecified" | "InvalidRequest" | "PeekFailed" | "PeekReturnedNoData" | "PokeFailed" | "NackappError" | "Timeout" | "InternalError" | "NotFound" | "PermissionDenied" | "InvalidWire" | "KernelError";
752
729
 
753
730
  /**
754
- * pub struct Belt(pub u64);
731
+ * pub chal: \\[Belt; 8\\],
732
+ * pub sig: \\[Belt; 8\\],
755
733
  */
756
- export interface PbCom1Belt {
757
- value: string;
734
+ export interface PbCom1EightBelt {
735
+ belt_1: PbCom1Belt | undefined;
736
+ belt_2: PbCom1Belt | undefined;
737
+ belt_3: PbCom1Belt | undefined;
738
+ belt_4: PbCom1Belt | undefined;
739
+ belt_5: PbCom1Belt | undefined;
740
+ belt_6: PbCom1Belt | undefined;
741
+ belt_7: PbCom1Belt | undefined;
742
+ belt_8: PbCom1Belt | undefined;
758
743
  }
759
744
 
760
- export interface PbCom1ErrorStatus {
761
- code: number;
762
- message: string;
763
- /**
764
- * additional error context
765
- */
766
- details: string | null;
745
+ export interface PbCom1Source {
746
+ hash: string;
747
+ coinbase: boolean;
767
748
  }
768
749
 
769
- export interface PbCom1TimeLockIntent {
770
- value: PbCom1TimeLockIntentValue | undefined;
750
+ /**
751
+ * pub struct F6lt(pub \\[Belt; 6\\]);
752
+ */
753
+ export interface PbCom1SixBelt {
754
+ belt_1: PbCom1Belt | undefined;
755
+ belt_2: PbCom1Belt | undefined;
756
+ belt_3: PbCom1Belt | undefined;
757
+ belt_4: PbCom1Belt | undefined;
758
+ belt_5: PbCom1Belt | undefined;
759
+ belt_6: PbCom1Belt | undefined;
771
760
  }
772
761
 
773
762
  /**
774
- * pub struct SchnorrPubkey(pub CheetahPoint);
763
+ * pub struct CheetahPoint {
764
+ * pub x: F6lt,
765
+ * pub y: F6lt,
766
+ * pub inf: bool,
767
+ * }
775
768
  */
776
- export interface PbCom1SchnorrPubkey {
777
- value: PbCom1CheetahPoint | null;
769
+ export interface PbCom1CheetahPoint {
770
+ x: PbCom1SixBelt | undefined;
771
+ y: PbCom1SixBelt | undefined;
772
+ inf: boolean;
778
773
  }
779
774
 
780
775
  /**
781
- * Note: prefer using raw numeric fields in messages
782
- * instead of these wrappers to simplify conversions.
783
- * These remain defined for potential future use.
776
+ * pub struct Hash(pub \\[Belt; 5\\]);
777
+ * Use fixed fields to avoid variable-length vectors.
784
778
  */
785
- export interface PbCom1NoteVersion {
779
+ export interface PbCom1Hash {
780
+ belt_1: PbCom1Belt | undefined;
781
+ belt_2: PbCom1Belt | undefined;
782
+ belt_3: PbCom1Belt | undefined;
783
+ belt_4: PbCom1Belt | undefined;
784
+ belt_5: PbCom1Belt | undefined;
785
+ }
786
+
787
+ export interface PbCom1Nicks {
786
788
  value: string;
787
789
  }
788
790
 
789
- export interface PbCom1Lock {
791
+ export interface PbCom1Input {
792
+ note: PbCom1Note | undefined;
793
+ spend: PbCom1Spend | undefined;
794
+ }
795
+
796
+ export interface PbCom1Wire {
790
797
  /**
791
- * threshold of keys required to spend the note
798
+ * e.g., \"http\", \"file\", \"wallet\", \"grpc\
792
799
  */
793
- keys_required: number;
800
+ source: string;
794
801
  /**
795
- * DEPRECATED: repeated string schnorr_pubkeys_b58 = 2;
796
- *
797
- * schnorr pubkeys (curve: cheetah)
802
+ * wire format version
798
803
  */
799
- schnorr_pubkeys: PbCom1SchnorrPubkey[];
800
- }
801
-
802
- export type PbCom1ErrorCode = "Unspecified" | "InvalidRequest" | "PeekFailed" | "PeekReturnedNoData" | "PokeFailed" | "NackappError" | "Timeout" | "InternalError" | "NotFound" | "PermissionDenied" | "InvalidWire" | "KernelError";
803
-
804
- /**
805
- * pub struct F6lt(pub \\[Belt; 6\\]);
806
- */
807
- export interface PbCom1SixBelt {
808
- belt_1: PbCom1Belt | null;
809
- belt_2: PbCom1Belt | null;
810
- belt_3: PbCom1Belt | null;
811
- belt_4: PbCom1Belt | null;
812
- belt_5: PbCom1Belt | null;
813
- belt_6: PbCom1Belt | null;
814
- }
815
-
816
- export interface PbCom1Signature {
817
- entries: PbCom1SignatureEntry[];
804
+ version: number;
805
+ /**
806
+ * operation-specific tags
807
+ */
808
+ tags: PbCom1WireTag[];
818
809
  }
819
810
 
820
811
  export interface PbCom1Base58Hash {
821
812
  hash: string;
822
813
  }
823
814
 
824
- /**
825
- * pub chal: \\[Belt; 8\\],
826
- * pub sig: \\[Belt; 8\\],
827
- */
828
- export interface PbCom1EightBelt {
829
- belt_1: PbCom1Belt | null;
830
- belt_2: PbCom1Belt | null;
831
- belt_3: PbCom1Belt | null;
832
- belt_4: PbCom1Belt | null;
833
- belt_5: PbCom1Belt | null;
834
- belt_6: PbCom1Belt | null;
835
- belt_7: PbCom1Belt | null;
836
- belt_8: PbCom1Belt | null;
815
+ export interface PbCom1Signature {
816
+ entries: PbCom1SignatureEntry[];
837
817
  }
838
818
 
839
- export interface PbCom1Base58Pubkey {
840
- key: string;
819
+ export interface PbCom1BlockHeightDelta {
820
+ value: string;
841
821
  }
842
822
 
843
823
  export interface PbCom1PageResponse {
@@ -848,40 +828,38 @@ export interface PbCom1PageResponse {
848
828
  next_page_token: string;
849
829
  }
850
830
 
851
- export interface PbCom2NoteDataEntry {
831
+ export interface PbCom1Seed {
832
+ output_source: PbCom1OutputSource | undefined;
833
+ recipient: PbCom1Lock | undefined;
834
+ timelock_intent: PbCom1TimeLockIntent | undefined;
835
+ gift: PbCom1Nicks | undefined;
836
+ parent_hash: string;
837
+ }
838
+
839
+ export interface PbCom1Base58Pubkey {
852
840
  key: string;
853
- /**
854
- * jammed noun bytes
855
- */
856
- blob: number[];
857
841
  }
858
842
 
859
- export interface PbCom2NoteV1 {
860
- version: PbCom1NoteVersion | undefined;
861
- origin_page: PbCom1BlockHeight | undefined;
862
- name: PbCom1Name | undefined;
863
- note_data: PbCom2NoteData | null;
864
- assets: PbCom1Nicks | undefined;
843
+ export interface PbCom1WireTag {
844
+ value: PbCom1WireTagValue | undefined;
865
845
  }
866
846
 
867
- export interface PbCom2BalanceEntry {
868
- name: PbCom1Name | undefined;
869
- note: PbCom2Note | null;
847
+ export interface PbCom1BlockHeight {
848
+ value: string;
870
849
  }
871
850
 
872
- export interface PbCom2Note {
873
- note_version: PbCom2NoteNoteVersion | undefined;
851
+ export interface PbCom2SpendCondition {
852
+ primitives: PbCom2LockPrimitive[];
874
853
  }
875
854
 
876
- export interface PbCom2SpendEntry {
877
- name: PbCom1Name | undefined;
878
- spend: PbCom2Spend | null;
855
+ export interface PbCom2Note {
856
+ note_version: PbCom2NoteNoteVersion | undefined;
879
857
  }
880
858
 
881
- export interface PbCom2LegacySpend {
882
- signature: PbCom1Signature | undefined;
883
- seeds: PbCom2Seed[];
884
- fee: PbCom1Nicks | undefined;
859
+ export interface PbCom2RawTransaction {
860
+ version: PbCom1NoteVersion | undefined;
861
+ id: string;
862
+ spends: PbCom2SpendEntry[];
885
863
  }
886
864
 
887
865
  export interface PbCom2Seed {
@@ -890,11 +868,54 @@ export interface PbCom2Seed {
890
868
  */
891
869
  output_source: PbCom1Source | undefined;
892
870
  lock_root: string;
893
- note_data: PbCom2NoteData | null;
871
+ note_data: PbCom2NoteData | undefined;
894
872
  gift: PbCom1Nicks | undefined;
895
873
  parent_hash: string;
896
874
  }
897
875
 
876
+ export interface PbCom2Balance {
877
+ notes: PbCom2BalanceEntry[];
878
+ height: PbCom1BlockHeight | undefined;
879
+ block_id: string;
880
+ page: PbCom1PageResponse | undefined;
881
+ }
882
+
883
+ export interface PbCom2WitnessSpend {
884
+ witness: PbCom2Witness | undefined;
885
+ seeds: PbCom2Seed[];
886
+ fee: PbCom1Nicks | undefined;
887
+ }
888
+
889
+ export interface PbCom2NoteData {
890
+ entries: PbCom2NoteDataEntry[];
891
+ }
892
+
893
+ export interface PbCom2LockMerkleProof {
894
+ spend_condition: PbCom2SpendCondition | undefined;
895
+ axis: number;
896
+ proof: PbCom2MerkleProof | undefined;
897
+ }
898
+
899
+ export interface PbCom2Spend {
900
+ spend_kind: PbCom2SpendSpendKind | undefined;
901
+ }
902
+
903
+ export interface PbCom2MerkleProof {
904
+ root: string;
905
+ path: string[];
906
+ }
907
+
908
+ export interface PbCom2BurnLock {}
909
+
910
+ export interface PbCom2BalanceEntry {
911
+ name: PbCom1Name | undefined;
912
+ note: PbCom2Note | undefined;
913
+ }
914
+
915
+ export interface PbCom2LockPrimitive {
916
+ primitive: PbCom2LockPrimitivePrimitive | undefined;
917
+ }
918
+
898
919
  export interface PbCom2HaxPreimage {
899
920
  hash: PbCom1Hash | undefined;
900
921
  /**
@@ -909,79 +930,58 @@ export interface PbCom2PkhSignatureEntry {
909
930
  signature: PbCom1SchnorrSignature | undefined;
910
931
  }
911
932
 
912
- export interface PbCom2LockMerkleProof {
913
- spend_condition: PbCom2SpendCondition | null;
914
- axis: number;
915
- proof: PbCom2MerkleProof | null;
933
+ export interface PbCom2LegacySpend {
934
+ signature: PbCom1Signature | undefined;
935
+ seeds: PbCom2Seed[];
936
+ fee: PbCom1Nicks | undefined;
916
937
  }
917
938
 
918
- export interface PbCom2SpendCondition {
919
- primitives: PbCom2LockPrimitive[];
939
+ export interface PbCom2NoteDataEntry {
940
+ key: string;
941
+ /**
942
+ * jammed noun bytes
943
+ */
944
+ blob: number[];
920
945
  }
921
946
 
922
- export interface PbCom2WitnessSpend {
923
- witness: PbCom2Witness | null;
924
- seeds: PbCom2Seed[];
925
- fee: PbCom1Nicks | undefined;
947
+ export interface PbCom2SpendEntry {
948
+ name: PbCom1Name | undefined;
949
+ spend: PbCom2Spend | undefined;
926
950
  }
927
951
 
928
952
  export interface PbCom2PkhSignature {
929
953
  entries: PbCom2PkhSignatureEntry[];
930
954
  }
931
955
 
932
- export interface PbCom2RawTransaction {
933
- version: PbCom1NoteVersion | undefined;
934
- id: string;
935
- spends: PbCom2SpendEntry[];
936
- }
937
-
938
956
  export interface PbCom2HaxLock {
939
957
  hashes: PbCom1Hash[];
940
958
  }
941
959
 
942
- export interface PbCom2Balance {
943
- notes: PbCom2BalanceEntry[];
944
- height: PbCom1BlockHeight | undefined;
945
- block_id: string;
946
- page: PbCom1PageResponse | undefined;
960
+ export interface PbCom2LockTim {
961
+ rel: PbCom1TimeLockRangeRelative | undefined;
962
+ abs: PbCom1TimeLockRangeAbsolute | undefined;
947
963
  }
948
964
 
949
- export interface PbCom2LockPrimitive {
950
- primitive: PbCom2LockPrimitivePrimitive | undefined;
965
+ export interface PbCom2PkhLock {
966
+ m: number;
967
+ hashes: string[];
951
968
  }
952
969
 
953
970
  export interface PbCom2Witness {
954
- lock_merkle_proof: PbCom2LockMerkleProof | null;
955
- pkh_signature: PbCom2PkhSignature | null;
971
+ lock_merkle_proof: PbCom2LockMerkleProof | undefined;
972
+ pkh_signature: PbCom2PkhSignature | undefined;
956
973
  /**
957
974
  * uint64 tim = 4; // reserved field, currently 0
958
975
  */
959
976
  hax: PbCom2HaxPreimage[];
960
977
  }
961
978
 
962
- export interface PbCom2Spend {
963
- spend_kind: PbCom2SpendSpendKind | undefined;
964
- }
965
-
966
- export interface PbCom2BurnLock {}
967
-
968
- export interface PbCom2LockTim {
969
- rel: PbCom1TimeLockRangeRelative | undefined;
970
- abs: PbCom1TimeLockRangeAbsolute | undefined;
971
- }
972
-
973
- export interface PbCom2NoteData {
974
- entries: PbCom2NoteDataEntry[];
975
- }
976
-
977
- export interface PbCom2MerkleProof {
978
- root: string;
979
- path: string[];
980
- }
981
-
982
- export interface PbCom2PkhLock {
983
- m: number;
984
- hashes: string[];
979
+ export interface PbCom2NoteV1 {
980
+ version: PbCom1NoteVersion | undefined;
981
+ origin_page: PbCom1BlockHeight | undefined;
982
+ name: PbCom1Name | undefined;
983
+ note_data: PbCom2NoteData | undefined;
984
+ assets: PbCom1Nicks | undefined;
985
985
  }
986
986
 
987
987
  export interface PbPub2WalletSendTransactionRequest {
@@ -993,23 +993,23 @@ export interface PbPub2WalletGetBalanceResponse {
993
993
  result: PbPub2WalletGetBalanceResponseResult | undefined;
994
994
  }
995
995
 
996
+ export interface PbPub2TransactionAcceptedResponse {
997
+ result: PbPub2TransactionAcceptedResponseResult | undefined;
998
+ }
999
+
996
1000
  export interface PbPub2WalletGetBalanceRequest {
997
1001
  page: PbCom1PageRequest | undefined;
998
1002
  selector: PbPub2WalletGetBalanceRequestSelector | undefined;
999
1003
  }
1000
1004
 
1001
- export interface PbPub2TransactionAcceptedResponse {
1002
- result: PbPub2TransactionAcceptedResponseResult | undefined;
1005
+ export interface PbPub2TransactionAcceptedRequest {
1006
+ tx_id: PbCom1Base58Hash | undefined;
1003
1007
  }
1004
1008
 
1005
1009
  export interface PbPub2WalletSendTransactionResponse {
1006
1010
  result: PbPub2WalletSendTransactionResponseResult | undefined;
1007
1011
  }
1008
1012
 
1009
- export interface PbPub2TransactionAcceptedRequest {
1010
- tx_id: PbCom1Base58Hash | undefined;
1011
- }
1012
-
1013
1013
  export type PbPub2TransactionAcceptedResponseResult = { Accepted: boolean } | { Error: PbCom1ErrorStatus };
1014
1014
 
1015
1015
  export type PbCom2LockPrimitivePrimitive = { Pkh: PbCom2PkhLock } | { Tim: PbCom2LockTim } | { Hax: PbCom2HaxLock } | { Burn: PbCom2BurnLock };
@@ -1030,15 +1030,8 @@ export interface PbPri1PokeResponse {
1030
1030
  result: PbPri1PokeResponseResult | undefined;
1031
1031
  }
1032
1032
 
1033
- export interface PbPri1PeekRequest {
1034
- /**
1035
- * process ID for tracking
1036
- */
1037
- pid: number;
1038
- /**
1039
- * JAM-encoded nock peek path
1040
- */
1041
- path: number[];
1033
+ export interface PbPri1PeekResponse {
1034
+ result: PbPri1PeekResponseResult | undefined;
1042
1035
  }
1043
1036
 
1044
1037
  export interface PbPri1PokeRequest {
@@ -1056,36 +1049,24 @@ export interface PbPri1PokeRequest {
1056
1049
  payload: number[];
1057
1050
  }
1058
1051
 
1059
- export interface PbPri1PeekResponse {
1060
- result: PbPri1PeekResponseResult | undefined;
1061
- }
1062
-
1063
- export type PbCom1TimeLockIntentValue = { Absolute: PbCom1TimeLockRangeAbsolute } | { Relative: PbCom1TimeLockRangeRelative } | { AbsoluteAndRelative: PbCom1TimeLockRangeAbsoluteAndRelative } | { Neither: PbCom1TimeLockRangeNeither };
1064
-
1065
- export type PbCom1WireTagValue = { Text: string } | { Number: number };
1066
-
1067
- export type PbPub2WalletGetBalanceResponseResult = { Balance: PbCom2Balance } | { Error: PbCom1ErrorStatus };
1068
-
1069
- export interface Spend1V1 {
1070
- witness: Witness;
1071
- seeds: SeedsV1;
1072
- fee: Nicks;
1073
- }
1074
-
1075
- export interface Spend0V1 {
1076
- signature: LegacySignature;
1077
- seeds: SeedsV1;
1078
- fee: Nicks;
1052
+ export interface PbPri1PeekRequest {
1053
+ /**
1054
+ * process ID for tracking
1055
+ */
1056
+ pid: number;
1057
+ /**
1058
+ * JAM-encoded nock peek path
1059
+ */
1060
+ path: number[];
1079
1061
  }
1080
1062
 
1081
- export type SeedsV1 = ZSet<SeedV1>;
1063
+ export type PbCom1TimeLockIntentValue = { Absolute: PbCom1TimeLockRangeAbsolute } | { Relative: PbCom1TimeLockRangeRelative } | { AbsoluteAndRelative: PbCom1TimeLockRangeAbsoluteAndRelative } | { Neither: PbCom1TimeLockRangeNeither };
1082
1064
 
1083
- export interface Witness {
1084
- lock_merkle_proof: LockMerkleProof;
1085
- pkh_signature: PkhSignature;
1086
- hax_map: ZMap<Digest, Noun>;
1087
- tim: null;
1088
- }
1065
+ export type PbCom1WireTagValue = { Text: string } | { Number: number };
1066
+
1067
+ export type PbPub2WalletGetBalanceResponseResult = { Balance: PbCom2Balance } | { Error: PbCom1ErrorStatus };
1068
+
1069
+ export type SpendV1 = { version: 0; spend: Spend0V1 } | { version: 1; spend: Spend1V1 };
1089
1070
 
1090
1071
  export interface SeedV1 {
1091
1072
  output_source: Source | null;
@@ -1095,33 +1076,16 @@ export interface SeedV1 {
1095
1076
  parent_hash: Digest;
1096
1077
  }
1097
1078
 
1098
- export interface NockchainTx {
1099
- version: Version;
1100
- id: TxId;
1101
- spends: SpendsV1;
1102
- display: TransactionDisplay;
1103
- witness_data: WitnessData;
1104
- }
1105
-
1106
- export interface Pkh {
1107
- m: number;
1108
- hashes: ZSet<Digest>;
1109
- }
1110
-
1111
- export type PkhSignature = ZMap<Digest, [PublicKey, Signature]>;
1112
-
1113
- export interface MerkleProof {
1114
- root: Digest;
1115
- path: Digest[];
1079
+ export interface Witness {
1080
+ lock_merkle_proof: LockMerkleProof;
1081
+ pkh_signature: PkhSignature;
1082
+ hax_map: ZMap<Digest, Noun>;
1083
+ tim: null;
1116
1084
  }
1117
1085
 
1118
- export type NoteData = ZMap<string, Noun>;
1119
-
1120
- export type LockPrimitive = { Pkh: Pkh } | { Tim: LockTim } | { Hax: Hax } | "Brn";
1086
+ export type InputDisplay = { version: 0; p: ZMap<Name, Sig> } | { version: 1; p: ZMap<Name, SpendCondition> };
1121
1087
 
1122
- export interface WitnessData {
1123
- data: ZMap<Name, Witness>;
1124
- }
1088
+ export type SpendsV1 = ZMap<Name, SpendV1>;
1125
1089
 
1126
1090
  export interface NoteV1 {
1127
1091
  version: Version;
@@ -1131,62 +1095,94 @@ export interface NoteV1 {
1131
1095
  assets: Nicks;
1132
1096
  }
1133
1097
 
1098
+ export type SeedsV1 = ZSet<SeedV1>;
1099
+
1100
+ export interface TransactionDisplay {
1101
+ inputs: InputDisplay;
1102
+ outputs: ZMap<Digest, LockMetadata>;
1103
+ }
1104
+
1105
+ export interface MerkleProof {
1106
+ root: Digest;
1107
+ path: Digest[];
1108
+ }
1109
+
1110
+ export interface Spend1V1 {
1111
+ witness: Witness;
1112
+ seeds: SeedsV1;
1113
+ fee: Nicks;
1114
+ }
1115
+
1134
1116
  export interface LockMerkleProof {
1135
1117
  spend_condition: SpendCondition;
1136
1118
  axis: number;
1137
1119
  proof: MerkleProof;
1138
1120
  }
1139
1121
 
1140
- export interface LockMetadata {
1141
- lock: SpendCondition;
1142
- include_data: boolean;
1122
+ export interface RawTxV1 {
1123
+ version: 1;
1124
+ id: TxId;
1125
+ spends: SpendsV1;
1143
1126
  }
1144
1127
 
1145
1128
  export type Hax = ZSet<Digest>;
1146
1129
 
1147
- export interface TransactionDisplay {
1148
- inputs: InputDisplay;
1149
- outputs: ZMap<Digest, LockMetadata>;
1150
- }
1151
-
1152
- export type LockRoot = { Hash: Digest } | { Lock: SpendCondition };
1153
-
1154
1130
  export type SpendCondition = LockPrimitive[];
1155
1131
 
1156
- export type SpendV1 = { version: 0; spend: Spend0V1 } | { version: 1; spend: Spend1V1 };
1132
+ export interface Spend0V1 {
1133
+ signature: LegacySignature;
1134
+ seeds: SeedsV1;
1135
+ fee: Nicks;
1136
+ }
1157
1137
 
1158
- export type SpendsV1 = ZMap<Name, SpendV1>;
1138
+ export type LockPrimitive = { Pkh: Pkh } | { Tim: LockTim } | { Hax: Hax } | "Brn";
1159
1139
 
1160
- export type InputDisplay = { version: 0; p: ZMap<Name, Sig> } | { version: 1; p: ZMap<Name, SpendCondition> };
1140
+ export interface WitnessData {
1141
+ data: ZMap<Name, Witness>;
1142
+ }
1161
1143
 
1162
- export interface RawTxV1 {
1163
- version: 1;
1144
+ export interface NockchainTx {
1145
+ version: Version;
1164
1146
  id: TxId;
1165
1147
  spends: SpendsV1;
1148
+ display: TransactionDisplay;
1149
+ witness_data: WitnessData;
1166
1150
  }
1167
1151
 
1168
- export interface Name {
1169
- first: Digest;
1170
- last: Digest;
1171
- _sig: number;
1152
+ export type LockRoot = { Hash: Digest } | { Lock: SpendCondition };
1153
+
1154
+ export interface LockMetadata {
1155
+ lock: SpendCondition;
1156
+ include_data: boolean;
1172
1157
  }
1173
1158
 
1174
- export interface Source {
1175
- hash: Digest;
1176
- is_coinbase: boolean;
1159
+ export interface Pkh {
1160
+ m: number;
1161
+ hashes: ZSet<Digest>;
1177
1162
  }
1178
1163
 
1179
- export type Balance = ZMap<Name, Note>;
1164
+ export type PkhSignature = ZMap<Digest, [PublicKey, Signature]>;
1165
+
1166
+ export type NoteData = ZMap<string, Noun>;
1180
1167
 
1181
1168
  export type Version = 0 | 1 | 2;
1182
1169
 
1183
- /**
1184
- * 64-bit unsigned integer representing the number of assets.
1185
- */
1186
- export type Nicks = string;
1170
+ export interface Name {
1171
+ first: Digest;
1172
+ last: Digest;
1173
+ _sig: number;
1174
+ }
1187
1175
 
1188
1176
  export type Note = NoteV0 | NoteV1;
1189
1177
 
1178
+ export type Balance = ZMap<Name, Note>;
1179
+
1180
+ export interface BalanceUpdate {
1181
+ height: BlockHeight;
1182
+ block_id: Digest;
1183
+ notes: Balance;
1184
+ }
1185
+
1190
1186
  /**
1191
1187
  * Timelock range (for both absolute and relative constraints)
1192
1188
  */
@@ -1195,15 +1191,17 @@ export interface TimelockRange {
1195
1191
  max: BlockHeight | null;
1196
1192
  }
1197
1193
 
1198
- export interface BalanceUpdate {
1199
- height: BlockHeight;
1200
- block_id: Digest;
1201
- notes: Balance;
1194
+ export interface Source {
1195
+ hash: Digest;
1196
+ is_coinbase: boolean;
1202
1197
  }
1203
1198
 
1204
- export type MissingUnlocks = { Pkh: { num_sigs: number; sig_of: Digest[] } } | { Hax: { preimages_for: Digest[] } } | "Brn" | { Sig: { num_sigs: number; sig_of: PublicKey[] } };
1199
+ /**
1200
+ * 64-bit unsigned integer representing the number of assets.
1201
+ */
1202
+ export type Nicks = string;
1205
1203
 
1206
- export type RawTx = RawTxV0 | RawTxV1;
1204
+ export type MissingUnlocks = { Pkh: { num_sigs: number; sig_of: Digest[] } } | { Hax: { preimages_for: Digest[] } } | "Brn" | { Sig: { num_sigs: number; sig_of: PublicKey[] } };
1207
1205
 
1208
1206
  export interface TxEngineSettings {
1209
1207
  tx_engine_version: Version;
@@ -1213,34 +1211,7 @@ export interface TxEngineSettings {
1213
1211
  witness_word_div: number;
1214
1212
  }
1215
1213
 
1216
- export interface SpendV0 {
1217
- signature: LegacySignature | null;
1218
- seeds: SeedsV0;
1219
- fee: Nicks;
1220
- }
1221
-
1222
- export type LegacySignature = ZMap<PublicKey, Signature>;
1223
-
1224
- export interface TimelockIntent {
1225
- tim: Timelock | null;
1226
- }
1227
-
1228
- export type SeedsV0 = ZSet<SeedV0>;
1229
-
1230
- export interface RawTxV0 {
1231
- id: TxId;
1232
- inputs: Inputs;
1233
- timelock_range: TimelockRange;
1234
- total_fees: Nicks;
1235
- }
1236
-
1237
- export interface SeedV0 {
1238
- output_source: Source | null;
1239
- recipient: Sig;
1240
- timelock_intent: TimelockIntent;
1241
- gift: Nicks;
1242
- parent_hash: Digest;
1243
- }
1214
+ export type RawTx = RawTxV0 | RawTxV1;
1244
1215
 
1245
1216
  export type Inputs = ZMap<Name, Input>;
1246
1217
 
@@ -1249,10 +1220,8 @@ export interface Timelock {
1249
1220
  abs: TimelockRange;
1250
1221
  }
1251
1222
 
1252
- export interface NoteInner {
1253
- version: Version;
1254
- origin_page: BlockHeight;
1255
- timelock: TimelockIntent;
1223
+ export interface TimelockIntent {
1224
+ tim: Timelock | null;
1256
1225
  }
1257
1226
 
1258
1227
  export interface NoteV0 {
@@ -1263,11 +1232,42 @@ export interface NoteV0 {
1263
1232
  assets: Nicks;
1264
1233
  }
1265
1234
 
1235
+ export interface NoteInner {
1236
+ version: Version;
1237
+ origin_page: BlockHeight;
1238
+ timelock: TimelockIntent;
1239
+ }
1240
+
1241
+ export interface RawTxV0 {
1242
+ id: TxId;
1243
+ inputs: Inputs;
1244
+ timelock_range: TimelockRange;
1245
+ total_fees: Nicks;
1246
+ }
1247
+
1248
+ export type LegacySignature = ZMap<PublicKey, Signature>;
1249
+
1250
+ export type SeedsV0 = ZSet<SeedV0>;
1251
+
1252
+ export interface SpendV0 {
1253
+ signature: LegacySignature | null;
1254
+ seeds: SeedsV0;
1255
+ fee: Nicks;
1256
+ }
1257
+
1266
1258
  export interface Input {
1267
1259
  note: NoteV0;
1268
1260
  spend: SpendV0;
1269
1261
  }
1270
1262
 
1263
+ export interface SeedV0 {
1264
+ output_source: Source | null;
1265
+ recipient: Sig;
1266
+ timelock_intent: TimelockIntent;
1267
+ gift: Nicks;
1268
+ parent_hash: Digest;
1269
+ }
1270
+
1271
1271
  export interface Sig {
1272
1272
  m: number;
1273
1273
  pubkeys: ZSet<PublicKey>;
@@ -1303,13 +1303,13 @@ export type CheetahPoint = string;
1303
1303
 
1304
1304
  export type Digest = string;
1305
1305
 
1306
- export type ZSet<T> = ZBase<ZSetEntry<T>>;
1307
-
1308
- export type ZSetEntry<T> = T;
1306
+ export type ZMapEntry<K, V> = [K, V];
1309
1307
 
1310
1308
  export type ZMap<K, V> = ZBase<ZMapEntry<K, V>>;
1311
1309
 
1312
- export type ZMapEntry<K, V> = [K, V];
1310
+ export type ZSetEntry<T> = T;
1311
+
1312
+ export type ZSet<T> = ZBase<ZSetEntry<T>>;
1313
1313
 
1314
1314
  export type ZBase<E> = E[];
1315
1315
 
@@ -1574,12 +1574,15 @@ export interface InitOutput {
1574
1574
  readonly seedV0Hash: (a: any) => any;
1575
1575
  readonly seedV0ToNoun: (a: any) => any;
1576
1576
  readonly spend1V1SigHash: (a: any) => any;
1577
- readonly timelockIntentFromNoun: (a: any) => [number, number, number];
1578
- readonly timelockIntentHash: (a: any) => any;
1579
- readonly timelockIntentToNoun: (a: any) => any;
1577
+ readonly timelockRangeFromNoun: (a: any) => [number, number, number];
1578
+ readonly timelockRangeHash: (a: any) => any;
1579
+ readonly timelockRangeToNoun: (a: any) => any;
1580
1580
  readonly haxFromNoun: (a: any) => [number, number, number];
1581
1581
  readonly haxHash: (a: any) => any;
1582
1582
  readonly haxToNoun: (a: any) => any;
1583
+ readonly noteInnerFromNoun: (a: any) => [number, number, number];
1584
+ readonly noteInnerHash: (a: any) => any;
1585
+ readonly noteInnerToNoun: (a: any) => any;
1583
1586
  readonly pkhFromNoun: (a: any) => [number, number, number];
1584
1587
  readonly pkhHash: (a: any) => any;
1585
1588
  readonly pkhNew: (a: bigint, b: number, c: number) => any;
@@ -1597,9 +1600,6 @@ export interface InitOutput {
1597
1600
  readonly spendConditionPkh: (a: any) => [number, number];
1598
1601
  readonly spendConditionTim: (a: any) => [number, number];
1599
1602
  readonly spendConditionToNoun: (a: any) => any;
1600
- readonly timelockRangeFromNoun: (a: any) => [number, number, number];
1601
- readonly timelockRangeHash: (a: any) => any;
1602
- readonly timelockRangeToNoun: (a: any) => any;
1603
1603
  readonly balanceFromNoun: (a: any) => [number, number, number];
1604
1604
  readonly balanceToNoun: (a: any) => any;
1605
1605
  readonly balanceUpdateFromNoun: (a: any) => [number, number, number];
@@ -1622,9 +1622,6 @@ export interface InitOutput {
1622
1622
  readonly noteDataFromNoun: (a: any) => [number, number, number];
1623
1623
  readonly noteDataHash: (a: any) => any;
1624
1624
  readonly noteDataToNoun: (a: any) => any;
1625
- readonly pkhSignatureFromNoun: (a: any) => [number, number, number];
1626
- readonly pkhSignatureHash: (a: any) => any;
1627
- readonly pkhSignatureToNoun: (a: any) => any;
1628
1625
  readonly rawTxId: (a: any) => any;
1629
1626
  readonly rawTxOutputs: (a: any) => [number, number];
1630
1627
  readonly rawTxV1CalcId: (a: any) => any;
@@ -1638,12 +1635,15 @@ export interface InitOutput {
1638
1635
  readonly seedsV0FromNoun: (a: any) => [number, number, number];
1639
1636
  readonly seedsV0Hash: (a: any) => any;
1640
1637
  readonly seedsV0ToNoun: (a: any) => any;
1638
+ readonly sigFromNoun: (a: any) => [number, number, number];
1639
+ readonly sigHash: (a: any) => any;
1640
+ readonly sigToNoun: (a: any) => any;
1641
1641
  readonly spendV0FromNoun: (a: any) => [number, number, number];
1642
1642
  readonly spendV0Hash: (a: any) => any;
1643
1643
  readonly spendV0ToNoun: (a: any) => any;
1644
- readonly timelockFromNoun: (a: any) => [number, number, number];
1645
- readonly timelockHash: (a: any) => any;
1646
- readonly timelockToNoun: (a: any) => any;
1644
+ readonly timelockIntentFromNoun: (a: any) => [number, number, number];
1645
+ readonly timelockIntentHash: (a: any) => any;
1646
+ readonly timelockIntentToNoun: (a: any) => any;
1647
1647
  readonly transactionDisplayFromNoun: (a: any) => [number, number, number];
1648
1648
  readonly transactionDisplayToNoun: (a: any) => any;
1649
1649
  readonly versionFromNoun: (a: any) => [number, number, number];
@@ -1660,9 +1660,6 @@ export interface InitOutput {
1660
1660
  readonly merkleProofToNoun: (a: any) => any;
1661
1661
  readonly noteFromNoun: (a: any) => [number, number, number];
1662
1662
  readonly noteHash: (a: any) => any;
1663
- readonly noteInnerFromNoun: (a: any) => [number, number, number];
1664
- readonly noteInnerHash: (a: any) => any;
1665
- readonly noteInnerToNoun: (a: any) => any;
1666
1663
  readonly noteToNoun: (a: any) => any;
1667
1664
  readonly noteV0FromNoun: (a: any) => [number, number, number];
1668
1665
  readonly noteV0Hash: (a: any) => any;
@@ -1670,6 +1667,9 @@ export interface InitOutput {
1670
1667
  readonly noteV1FromNoun: (a: any) => [number, number, number];
1671
1668
  readonly noteV1Hash: (a: any) => any;
1672
1669
  readonly noteV1ToNoun: (a: any) => any;
1670
+ readonly pkhSignatureFromNoun: (a: any) => [number, number, number];
1671
+ readonly pkhSignatureHash: (a: any) => any;
1672
+ readonly pkhSignatureToNoun: (a: any) => any;
1673
1673
  readonly seedV1FromNoun: (a: any) => [number, number, number];
1674
1674
  readonly seedV1Hash: (a: any) => any;
1675
1675
  readonly seedV1NewSinglePkh: (a: any, b: any, c: any, d: number) => any;
@@ -1678,9 +1678,6 @@ export interface InitOutput {
1678
1678
  readonly seedsV1FromNoun: (a: any) => [number, number, number];
1679
1679
  readonly seedsV1Hash: (a: any) => any;
1680
1680
  readonly seedsV1ToNoun: (a: any) => any;
1681
- readonly sigFromNoun: (a: any) => [number, number, number];
1682
- readonly sigHash: (a: any) => any;
1683
- readonly sigToNoun: (a: any) => any;
1684
1681
  readonly spendV1Fee: (a: any) => any;
1685
1682
  readonly spendV1FromNoun: (a: any) => [number, number, number];
1686
1683
  readonly spendV1Hash: (a: any) => any;
@@ -1696,6 +1693,9 @@ export interface InitOutput {
1696
1693
  readonly spendsV1Hash: (a: any) => any;
1697
1694
  readonly spendsV1ToNoun: (a: any) => any;
1698
1695
  readonly spendsV1UnclampedFee: (a: any, b: any) => any;
1696
+ readonly timelockFromNoun: (a: any) => [number, number, number];
1697
+ readonly timelockHash: (a: any) => any;
1698
+ readonly timelockToNoun: (a: any) => any;
1699
1699
  readonly witnessDataFromNoun: (a: any) => [number, number, number];
1700
1700
  readonly witnessDataToNoun: (a: any) => any;
1701
1701
  readonly witnessFromNoun: (a: any) => [number, number, number];