@ckb-ccc/core 0.1.2 → 1.0.1
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/CHANGELOG.md +14 -0
- package/dist/address/address.advanced.d.ts.map +1 -1
- package/dist/address/address.advanced.js +6 -2
- package/dist/barrel.d.ts +1 -1
- package/dist/barrel.d.ts.map +1 -1
- package/dist/barrel.js +1 -1
- package/dist/bytes/index.d.ts +35 -0
- package/dist/bytes/index.d.ts.map +1 -1
- package/dist/bytes/index.js +60 -4
- package/dist/ckb/advanced.d.ts +0 -1
- package/dist/ckb/advanced.d.ts.map +1 -1
- package/dist/ckb/advanced.js +0 -1
- package/dist/ckb/script.d.ts +17 -58
- package/dist/ckb/script.d.ts.map +1 -1
- package/dist/ckb/script.js +29 -78
- package/dist/ckb/transaction.d.ts +125 -264
- package/dist/ckb/transaction.d.ts.map +1 -1
- package/dist/ckb/transaction.js +146 -357
- package/dist/molecule/barrel.d.ts +4 -0
- package/dist/molecule/barrel.d.ts.map +1 -0
- package/dist/molecule/barrel.js +3 -0
- package/dist/molecule/codec.d.ts +2 -0
- package/dist/molecule/codec.d.ts.map +1 -1
- package/dist/molecule/codec.js +57 -44
- package/dist/molecule/entity.d.ts +119 -0
- package/dist/molecule/entity.d.ts.map +1 -0
- package/dist/molecule/entity.js +134 -0
- package/dist/molecule/index.d.ts +1 -2
- package/dist/molecule/index.d.ts.map +1 -1
- package/dist/molecule/index.js +1 -2
- package/dist/molecule/predefined.d.ts +13 -20
- package/dist/molecule/predefined.d.ts.map +1 -1
- package/dist/molecule/predefined.js +14 -54
- package/dist/num/index.d.ts.map +1 -1
- package/dist/num/index.js +2 -2
- package/dist/signer/btc/verify.js +1 -1
- package/dist/signer/doge/verify.d.ts.map +1 -1
- package/dist/signer/doge/verify.js +3 -1
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist.commonjs/address/address.advanced.d.ts.map +1 -1
- package/dist.commonjs/address/address.advanced.js +6 -2
- package/dist.commonjs/barrel.d.ts +1 -1
- package/dist.commonjs/barrel.d.ts.map +1 -1
- package/dist.commonjs/barrel.js +1 -14
- package/dist.commonjs/bytes/index.d.ts +35 -0
- package/dist.commonjs/bytes/index.d.ts.map +1 -1
- package/dist.commonjs/bytes/index.js +62 -4
- package/dist.commonjs/ckb/advanced.d.ts +0 -1
- package/dist.commonjs/ckb/advanced.d.ts.map +1 -1
- package/dist.commonjs/ckb/advanced.js +0 -14
- package/dist.commonjs/ckb/script.d.ts +17 -58
- package/dist.commonjs/ckb/script.d.ts.map +1 -1
- package/dist.commonjs/ckb/script.js +29 -102
- package/dist.commonjs/ckb/transaction.d.ts +125 -264
- package/dist.commonjs/ckb/transaction.d.ts.map +1 -1
- package/dist.commonjs/ckb/transaction.js +167 -408
- package/dist.commonjs/molecule/barrel.d.ts +4 -0
- package/dist.commonjs/molecule/barrel.d.ts.map +1 -0
- package/dist.commonjs/{ckb/molecule.advanced/index.js → molecule/barrel.js} +3 -8
- package/dist.commonjs/molecule/codec.d.ts +2 -0
- package/dist.commonjs/molecule/codec.d.ts.map +1 -1
- package/dist.commonjs/molecule/codec.js +56 -43
- package/dist.commonjs/molecule/entity.d.ts +119 -0
- package/dist.commonjs/molecule/entity.d.ts.map +1 -0
- package/dist.commonjs/molecule/entity.js +139 -0
- package/dist.commonjs/molecule/index.d.ts +1 -2
- package/dist.commonjs/molecule/index.d.ts.map +1 -1
- package/dist.commonjs/molecule/index.js +13 -4
- package/dist.commonjs/molecule/predefined.d.ts +13 -20
- package/dist.commonjs/molecule/predefined.d.ts.map +1 -1
- package/dist.commonjs/molecule/predefined.js +14 -77
- package/dist.commonjs/num/index.d.ts.map +1 -1
- package/dist.commonjs/num/index.js +2 -2
- package/dist.commonjs/signer/btc/verify.js +1 -1
- package/dist.commonjs/signer/doge/verify.d.ts.map +1 -1
- package/dist.commonjs/signer/doge/verify.js +3 -1
- package/dist.commonjs/utils/index.d.ts +3 -0
- package/dist.commonjs/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/address/address.advanced.ts +6 -2
- package/src/barrel.ts +1 -1
- package/src/bytes/index.ts +70 -6
- package/src/ckb/advanced.ts +0 -1
- package/src/ckb/script.ts +20 -85
- package/src/ckb/transaction.ts +123 -416
- package/src/molecule/barrel.ts +3 -0
- package/src/molecule/codec.ts +82 -66
- package/src/molecule/entity.ts +183 -0
- package/src/molecule/index.ts +1 -2
- package/src/molecule/predefined.ts +20 -69
- package/src/num/index.ts +2 -5
- package/src/signer/btc/verify.ts +1 -1
- package/src/signer/doge/verify.ts +3 -1
- package/src/utils/index.ts +5 -0
- package/dist/ckb/molecule.advanced/generated.d.ts +0 -355
- package/dist/ckb/molecule.advanced/generated.d.ts.map +0 -1
- package/dist/ckb/molecule.advanced/generated.js +0 -1468
- package/dist/ckb/molecule.advanced/index.d.ts +0 -6
- package/dist/ckb/molecule.advanced/index.d.ts.map +0 -1
- package/dist/ckb/molecule.advanced/index.js +0 -7
- package/dist.commonjs/ckb/molecule.advanced/generated.d.ts +0 -355
- package/dist.commonjs/ckb/molecule.advanced/generated.d.ts.map +0 -1
- package/dist.commonjs/ckb/molecule.advanced/generated.js +0 -1535
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts +0 -6
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts.map +0 -1
- package/src/ckb/molecule.advanced/blockchain.mol +0 -118
- package/src/ckb/molecule.advanced/generated.d.ts +0 -444
- package/src/ckb/molecule.advanced/generated.js +0 -1804
- package/src/ckb/molecule.advanced/index.ts +0 -11
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { ClientCollectableSearchKeyFilterLike } from "../advancedBarrel.js";
|
|
2
1
|
import { Bytes, BytesLike } from "../bytes/index.js";
|
|
3
|
-
import {
|
|
2
|
+
import type { ClientCollectableSearchKeyFilterLike } from "../client/clientTypes.advanced.js";
|
|
3
|
+
import type { CellDepInfoLike, Client, KnownScript } from "../client/index.js";
|
|
4
4
|
import { Hasher } from "../hasher/index.js";
|
|
5
5
|
import { Hex, HexLike } from "../hex/index.js";
|
|
6
|
+
import { mol } from "../molecule/index.js";
|
|
6
7
|
import { Num, NumLike } from "../num/index.js";
|
|
7
|
-
import { Signer } from "../signer/index.js";
|
|
8
|
-
import * as mol from "./molecule.advanced/index.js";
|
|
8
|
+
import type { Signer } from "../signer/index.js";
|
|
9
9
|
import { Script, ScriptLike } from "./script.js";
|
|
10
|
-
import { LumosTransactionSkeletonType } from "./transactionLumos.js";
|
|
10
|
+
import type { LumosTransactionSkeletonType } from "./transactionLumos.js";
|
|
11
|
+
export declare const DepTypeCodec: mol.Codec<DepTypeLike, DepType>;
|
|
11
12
|
/**
|
|
12
13
|
* @public
|
|
13
14
|
*/
|
|
@@ -67,10 +68,22 @@ export type OutPointLike = {
|
|
|
67
68
|
txHash: HexLike;
|
|
68
69
|
index: NumLike;
|
|
69
70
|
};
|
|
71
|
+
declare const OutPoint_base: (abstract new () => {
|
|
72
|
+
toBytes(): Bytes;
|
|
73
|
+
clone(): OutPoint;
|
|
74
|
+
eq(other: OutPointLike): boolean;
|
|
75
|
+
hash(): Hex;
|
|
76
|
+
}) & {
|
|
77
|
+
byteLength?: number;
|
|
78
|
+
encode(_: OutPointLike): Bytes;
|
|
79
|
+
decode(_: BytesLike): OutPoint;
|
|
80
|
+
fromBytes(_bytes: BytesLike): OutPoint;
|
|
81
|
+
from(_: OutPointLike): OutPoint;
|
|
82
|
+
};
|
|
70
83
|
/**
|
|
71
84
|
* @public
|
|
72
85
|
*/
|
|
73
|
-
export declare class OutPoint {
|
|
86
|
+
export declare class OutPoint extends OutPoint_base {
|
|
74
87
|
txHash: Hex;
|
|
75
88
|
index: Num;
|
|
76
89
|
/**
|
|
@@ -80,17 +93,6 @@ export declare class OutPoint {
|
|
|
80
93
|
* @param index - The index of the output in the transaction.
|
|
81
94
|
*/
|
|
82
95
|
constructor(txHash: Hex, index: Num);
|
|
83
|
-
/**
|
|
84
|
-
* Clone an OutPoint.
|
|
85
|
-
*
|
|
86
|
-
* @returns A cloned OutPoint instance.
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```typescript
|
|
90
|
-
* const outPoint1 = outPoint0.clone();
|
|
91
|
-
* ```
|
|
92
|
-
*/
|
|
93
|
-
clone(): OutPoint;
|
|
94
96
|
/**
|
|
95
97
|
* Creates an OutPoint instance from an OutPointLike object.
|
|
96
98
|
*
|
|
@@ -103,50 +105,6 @@ export declare class OutPoint {
|
|
|
103
105
|
* ```
|
|
104
106
|
*/
|
|
105
107
|
static from(outPoint: OutPointLike): OutPoint;
|
|
106
|
-
/**
|
|
107
|
-
* Converts the OutPoint instance to molecule data format.
|
|
108
|
-
*
|
|
109
|
-
* @returns An object representing the outpoint in molecule data format.
|
|
110
|
-
*/
|
|
111
|
-
_toMolData(): {
|
|
112
|
-
txHash: Uint8Array;
|
|
113
|
-
index: Uint8Array;
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* Converts the OutPoint instance to bytes.
|
|
117
|
-
*
|
|
118
|
-
* @returns A Uint8Array containing the outpoint bytes.
|
|
119
|
-
*
|
|
120
|
-
* @example
|
|
121
|
-
* ```typescript
|
|
122
|
-
* const outPointBytes = outPoint.toBytes();
|
|
123
|
-
* ```
|
|
124
|
-
*/
|
|
125
|
-
toBytes(): Bytes;
|
|
126
|
-
/**
|
|
127
|
-
* Creates an OutPoint instance from a byte-like value or molecule OutPoint.
|
|
128
|
-
*
|
|
129
|
-
* @param bytes - The byte-like value or molecule OutPoint to convert.
|
|
130
|
-
* @returns An OutPoint instance.
|
|
131
|
-
*
|
|
132
|
-
* @example
|
|
133
|
-
* ```typescript
|
|
134
|
-
* const outPoint = OutPoint.fromBytes(new Uint8Array([/* outpoint bytes *\/]));
|
|
135
|
-
* ```
|
|
136
|
-
*/
|
|
137
|
-
static fromBytes(bytes: BytesLike | mol.OutPoint): OutPoint;
|
|
138
|
-
/**
|
|
139
|
-
* Compares the current OutPoint instance with another OutPointLike object for equality.
|
|
140
|
-
*
|
|
141
|
-
* @param val - The OutPointLike object to compare with.
|
|
142
|
-
* @returns True if the out points are equal, otherwise false.
|
|
143
|
-
*
|
|
144
|
-
* @example
|
|
145
|
-
* ```typescript
|
|
146
|
-
* const isEqual = outPoint.eq(anotherOutPoint);
|
|
147
|
-
* ```
|
|
148
|
-
*/
|
|
149
|
-
eq(val: OutPointLike): boolean;
|
|
150
108
|
}
|
|
151
109
|
/**
|
|
152
110
|
* @public
|
|
@@ -156,10 +114,22 @@ export type CellOutputLike = {
|
|
|
156
114
|
lock: ScriptLike;
|
|
157
115
|
type?: ScriptLike | null;
|
|
158
116
|
};
|
|
117
|
+
declare const CellOutput_base: (abstract new () => {
|
|
118
|
+
toBytes(): Bytes;
|
|
119
|
+
clone(): CellOutput;
|
|
120
|
+
eq(other: CellOutputLike): boolean;
|
|
121
|
+
hash(): Hex;
|
|
122
|
+
}) & {
|
|
123
|
+
byteLength?: number;
|
|
124
|
+
encode(_: CellOutputLike): Bytes;
|
|
125
|
+
decode(_: BytesLike): CellOutput;
|
|
126
|
+
fromBytes(_bytes: BytesLike): CellOutput;
|
|
127
|
+
from(_: CellOutputLike): CellOutput;
|
|
128
|
+
};
|
|
159
129
|
/**
|
|
160
130
|
* @public
|
|
161
131
|
*/
|
|
162
|
-
export declare class CellOutput {
|
|
132
|
+
export declare class CellOutput extends CellOutput_base {
|
|
163
133
|
capacity: Num;
|
|
164
134
|
lock: Script;
|
|
165
135
|
type?: Script | undefined;
|
|
@@ -172,17 +142,6 @@ export declare class CellOutput {
|
|
|
172
142
|
*/
|
|
173
143
|
constructor(capacity: Num, lock: Script, type?: Script | undefined);
|
|
174
144
|
get occupiedSize(): number;
|
|
175
|
-
/**
|
|
176
|
-
* Clone a CellOutput.
|
|
177
|
-
*
|
|
178
|
-
* @returns A cloned CellOutput instance.
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* ```typescript
|
|
182
|
-
* const cellOutput1 = cellOutput0.clone();
|
|
183
|
-
* ```
|
|
184
|
-
*/
|
|
185
|
-
clone(): CellOutput;
|
|
186
145
|
/**
|
|
187
146
|
* Creates a CellOutput instance from a CellOutputLike object.
|
|
188
147
|
*
|
|
@@ -199,48 +158,8 @@ export declare class CellOutput {
|
|
|
199
158
|
* ```
|
|
200
159
|
*/
|
|
201
160
|
static from(cellOutput: CellOutputLike): CellOutput;
|
|
202
|
-
/**
|
|
203
|
-
* Converts the CellOutput instance to molecule data format.
|
|
204
|
-
*
|
|
205
|
-
* @returns An object representing the cell output in molecule data format.
|
|
206
|
-
*/
|
|
207
|
-
_toMolData(): {
|
|
208
|
-
capacity: Uint8Array;
|
|
209
|
-
lock: {
|
|
210
|
-
codeHash: Uint8Array;
|
|
211
|
-
hashType: Uint8Array;
|
|
212
|
-
args: Uint8Array;
|
|
213
|
-
};
|
|
214
|
-
type: {
|
|
215
|
-
codeHash: Uint8Array;
|
|
216
|
-
hashType: Uint8Array;
|
|
217
|
-
args: Uint8Array;
|
|
218
|
-
} | undefined;
|
|
219
|
-
};
|
|
220
|
-
/**
|
|
221
|
-
* Converts the CellOutput instance to bytes.
|
|
222
|
-
*
|
|
223
|
-
* @returns A Uint8Array containing the cell output bytes.
|
|
224
|
-
*
|
|
225
|
-
* @example
|
|
226
|
-
* ```typescript
|
|
227
|
-
* const cellOutputBytes = cellOutput.toBytes();
|
|
228
|
-
* ```
|
|
229
|
-
*/
|
|
230
|
-
toBytes(): Bytes;
|
|
231
|
-
/**
|
|
232
|
-
* Creates a CellOutput instance from a byte-like value or molecule CellOutput.
|
|
233
|
-
*
|
|
234
|
-
* @param bytes - The byte-like value or molecule CellOutput to convert.
|
|
235
|
-
* @returns A CellOutput instance.
|
|
236
|
-
*
|
|
237
|
-
* @example
|
|
238
|
-
* ```typescript
|
|
239
|
-
* const cellOutput = CellOutput.fromBytes(new Uint8Array([/* cell output bytes *\/]));
|
|
240
|
-
* ```
|
|
241
|
-
*/
|
|
242
|
-
static fromBytes(bytes: BytesLike | mol.CellOutput): CellOutput;
|
|
243
161
|
}
|
|
162
|
+
export declare const CellOutputVec: mol.Codec<CellOutputLike[], CellOutput[]>;
|
|
244
163
|
/**
|
|
245
164
|
* @public
|
|
246
165
|
*/
|
|
@@ -311,10 +230,22 @@ export type SinceLike = {
|
|
|
311
230
|
metric: "blockNumber" | "epoch" | "timestamp";
|
|
312
231
|
value: NumLike;
|
|
313
232
|
} | NumLike;
|
|
233
|
+
declare const Since_base: (abstract new () => {
|
|
234
|
+
toBytes(): Bytes;
|
|
235
|
+
clone(): Since;
|
|
236
|
+
eq(other: SinceLike): boolean;
|
|
237
|
+
hash(): Hex;
|
|
238
|
+
}) & {
|
|
239
|
+
byteLength?: number;
|
|
240
|
+
encode(_: SinceLike): Bytes;
|
|
241
|
+
decode(_: BytesLike): Since;
|
|
242
|
+
fromBytes(_bytes: BytesLike): Since;
|
|
243
|
+
from(_: SinceLike): Since;
|
|
244
|
+
};
|
|
314
245
|
/**
|
|
315
246
|
* @public
|
|
316
247
|
*/
|
|
317
|
-
export declare class Since {
|
|
248
|
+
export declare class Since extends Since_base {
|
|
318
249
|
relative: "absolute" | "relative";
|
|
319
250
|
metric: "blockNumber" | "epoch" | "timestamp";
|
|
320
251
|
value: Num;
|
|
@@ -382,10 +313,22 @@ export type CellInputLike = {
|
|
|
382
313
|
cellOutput?: CellOutputLike | null;
|
|
383
314
|
outputData?: HexLike | null;
|
|
384
315
|
};
|
|
316
|
+
declare const CellInput_base: (abstract new () => {
|
|
317
|
+
toBytes(): Bytes;
|
|
318
|
+
clone(): CellInput;
|
|
319
|
+
eq(other: CellInputLike): boolean;
|
|
320
|
+
hash(): Hex;
|
|
321
|
+
}) & {
|
|
322
|
+
byteLength?: number;
|
|
323
|
+
encode(_: CellInputLike): Bytes;
|
|
324
|
+
decode(_: BytesLike): CellInput;
|
|
325
|
+
fromBytes(_bytes: BytesLike): CellInput;
|
|
326
|
+
from(_: CellInputLike): CellInput;
|
|
327
|
+
};
|
|
385
328
|
/**
|
|
386
329
|
* @public
|
|
387
330
|
*/
|
|
388
|
-
export declare class CellInput {
|
|
331
|
+
export declare class CellInput extends CellInput_base {
|
|
389
332
|
previousOutput: OutPoint;
|
|
390
333
|
since: Num;
|
|
391
334
|
cellOutput?: CellOutput | undefined;
|
|
@@ -399,17 +342,6 @@ export declare class CellInput {
|
|
|
399
342
|
* @param outputData - The optional output data associated with the cell input.
|
|
400
343
|
*/
|
|
401
344
|
constructor(previousOutput: OutPoint, since: Num, cellOutput?: CellOutput | undefined, outputData?: Hex | undefined);
|
|
402
|
-
/**
|
|
403
|
-
* Clone a CellInput.
|
|
404
|
-
*
|
|
405
|
-
* @returns A cloned CellInput instance.
|
|
406
|
-
*
|
|
407
|
-
* @example
|
|
408
|
-
* ```typescript
|
|
409
|
-
* const cellInput1 = cellInput0.clone();
|
|
410
|
-
* ```
|
|
411
|
-
*/
|
|
412
|
-
clone(): CellInput;
|
|
413
345
|
/**
|
|
414
346
|
* Creates a CellInput instance from a CellInputLike object.
|
|
415
347
|
*
|
|
@@ -436,42 +368,8 @@ export declare class CellInput {
|
|
|
436
368
|
* ```
|
|
437
369
|
*/
|
|
438
370
|
completeExtraInfos(client: Client): Promise<void>;
|
|
439
|
-
/**
|
|
440
|
-
* Converts the CellInput instance to molecule data format.
|
|
441
|
-
*
|
|
442
|
-
* @returns An object representing the cell input in molecule data format.
|
|
443
|
-
*/
|
|
444
|
-
_toMolData(): {
|
|
445
|
-
previousOutput: {
|
|
446
|
-
txHash: Uint8Array;
|
|
447
|
-
index: Uint8Array;
|
|
448
|
-
};
|
|
449
|
-
since: Uint8Array;
|
|
450
|
-
};
|
|
451
|
-
/**
|
|
452
|
-
* Converts the CellInput instance to bytes.
|
|
453
|
-
*
|
|
454
|
-
* @returns A Uint8Array containing the cell input bytes.
|
|
455
|
-
*
|
|
456
|
-
* @example
|
|
457
|
-
* ```typescript
|
|
458
|
-
* const cellInputBytes = cellInput.toBytes();
|
|
459
|
-
* ```
|
|
460
|
-
*/
|
|
461
|
-
toBytes(): Bytes;
|
|
462
|
-
/**
|
|
463
|
-
* Creates a CellInput instance from a byte-like value or molecule CellInput.
|
|
464
|
-
*
|
|
465
|
-
* @param bytes - The byte-like value or molecule CellInput to convert.
|
|
466
|
-
* @returns A CellInput instance.
|
|
467
|
-
*
|
|
468
|
-
* @example
|
|
469
|
-
* ```typescript
|
|
470
|
-
* const cellInput = CellInput.fromBytes(new Uint8Array([/* cell input bytes *\/]));
|
|
471
|
-
* ```
|
|
472
|
-
*/
|
|
473
|
-
static fromBytes(bytes: BytesLike | mol.CellInput): CellInput;
|
|
474
371
|
}
|
|
372
|
+
export declare const CellInputVec: mol.Codec<CellInputLike[], CellInput[]>;
|
|
475
373
|
/**
|
|
476
374
|
* @public
|
|
477
375
|
*/
|
|
@@ -479,10 +377,22 @@ export type CellDepLike = {
|
|
|
479
377
|
outPoint: OutPointLike;
|
|
480
378
|
depType: DepTypeLike;
|
|
481
379
|
};
|
|
380
|
+
declare const CellDep_base: (abstract new () => {
|
|
381
|
+
toBytes(): Bytes;
|
|
382
|
+
clone(): CellDep;
|
|
383
|
+
eq(other: CellDepLike): boolean;
|
|
384
|
+
hash(): Hex;
|
|
385
|
+
}) & {
|
|
386
|
+
byteLength?: number;
|
|
387
|
+
encode(_: CellDepLike): Bytes;
|
|
388
|
+
decode(_: BytesLike): CellDep;
|
|
389
|
+
fromBytes(_bytes: BytesLike): CellDep;
|
|
390
|
+
from(_: CellDepLike): CellDep;
|
|
391
|
+
};
|
|
482
392
|
/**
|
|
483
393
|
* @public
|
|
484
394
|
*/
|
|
485
|
-
export declare class CellDep {
|
|
395
|
+
export declare class CellDep extends CellDep_base {
|
|
486
396
|
outPoint: OutPoint;
|
|
487
397
|
depType: DepType;
|
|
488
398
|
/**
|
|
@@ -518,54 +428,8 @@ export declare class CellDep {
|
|
|
518
428
|
* ```
|
|
519
429
|
*/
|
|
520
430
|
static from(cellDep: CellDepLike): CellDep;
|
|
521
|
-
/**
|
|
522
|
-
* Converts the CellDep instance to molecule data format.
|
|
523
|
-
*
|
|
524
|
-
* @returns An object representing the cell dependency in molecule data format.
|
|
525
|
-
*/
|
|
526
|
-
_toMolData(): {
|
|
527
|
-
outPoint: {
|
|
528
|
-
txHash: Uint8Array;
|
|
529
|
-
index: Uint8Array;
|
|
530
|
-
};
|
|
531
|
-
depType: Uint8Array;
|
|
532
|
-
};
|
|
533
|
-
/**
|
|
534
|
-
* Converts the CellDep instance to bytes.
|
|
535
|
-
*
|
|
536
|
-
* @returns A Uint8Array containing the cell dependency bytes.
|
|
537
|
-
*
|
|
538
|
-
* @example
|
|
539
|
-
* ```typescript
|
|
540
|
-
* const cellDepBytes = cellDep.toBytes();
|
|
541
|
-
* ```
|
|
542
|
-
*/
|
|
543
|
-
toBytes(): Bytes;
|
|
544
|
-
/**
|
|
545
|
-
* Creates a CellDep instance from a byte-like value or molecule CellDep.
|
|
546
|
-
*
|
|
547
|
-
* @param bytes - The byte-like value or molecule CellDep to convert.
|
|
548
|
-
* @returns A CellDep instance.
|
|
549
|
-
*
|
|
550
|
-
* @example
|
|
551
|
-
* ```typescript
|
|
552
|
-
* const cellDep = CellDep.fromBytes(new Uint8Array([/* cell dep bytes *\/]));
|
|
553
|
-
* ```
|
|
554
|
-
*/
|
|
555
|
-
fromBytes(bytes: BytesLike | mol.CellDep): CellDep;
|
|
556
|
-
/**
|
|
557
|
-
* Compares the current CellDep instance with another CellDepLike object for equality.
|
|
558
|
-
*
|
|
559
|
-
* @param val - The CellDepLike object to compare with.
|
|
560
|
-
* @returns True if the cell deps are equal, otherwise false.
|
|
561
|
-
*
|
|
562
|
-
* @example
|
|
563
|
-
* ```typescript
|
|
564
|
-
* const isEqual = cellDep.eq(anotherCellDep);
|
|
565
|
-
* ```
|
|
566
|
-
*/
|
|
567
|
-
eq(val: CellDepLike): boolean;
|
|
568
431
|
}
|
|
432
|
+
export declare const CellDepVec: mol.Codec<CellDepLike[], CellDep[]>;
|
|
569
433
|
/**
|
|
570
434
|
* @public
|
|
571
435
|
*/
|
|
@@ -574,10 +438,22 @@ export type WitnessArgsLike = {
|
|
|
574
438
|
inputType?: HexLike | null;
|
|
575
439
|
outputType?: HexLike | null;
|
|
576
440
|
};
|
|
441
|
+
declare const WitnessArgs_base: (abstract new () => {
|
|
442
|
+
toBytes(): Bytes;
|
|
443
|
+
clone(): WitnessArgs;
|
|
444
|
+
eq(other: WitnessArgsLike): boolean;
|
|
445
|
+
hash(): Hex;
|
|
446
|
+
}) & {
|
|
447
|
+
byteLength?: number;
|
|
448
|
+
encode(_: WitnessArgsLike): Bytes;
|
|
449
|
+
decode(_: BytesLike): WitnessArgs;
|
|
450
|
+
fromBytes(_bytes: BytesLike): WitnessArgs;
|
|
451
|
+
from(_: WitnessArgsLike): WitnessArgs;
|
|
452
|
+
};
|
|
577
453
|
/**
|
|
578
454
|
* @public
|
|
579
455
|
*/
|
|
580
|
-
export declare class WitnessArgs {
|
|
456
|
+
export declare class WitnessArgs extends WitnessArgs_base {
|
|
581
457
|
lock?: Hex | undefined;
|
|
582
458
|
inputType?: Hex | undefined;
|
|
583
459
|
outputType?: Hex | undefined;
|
|
@@ -605,44 +481,26 @@ export declare class WitnessArgs {
|
|
|
605
481
|
* ```
|
|
606
482
|
*/
|
|
607
483
|
static from(witnessArgs: WitnessArgsLike): WitnessArgs;
|
|
608
|
-
/**
|
|
609
|
-
* Converts the WitnessArgs instance to molecule data format.
|
|
610
|
-
*
|
|
611
|
-
* @returns An object representing the witness arguments in molecule data format.
|
|
612
|
-
*/
|
|
613
|
-
_toMolData(): {
|
|
614
|
-
lock: Uint8Array | undefined;
|
|
615
|
-
inputType: Uint8Array | undefined;
|
|
616
|
-
outputType: Uint8Array | undefined;
|
|
617
|
-
};
|
|
618
|
-
/**
|
|
619
|
-
* Converts the WitnessArgs instance to bytes.
|
|
620
|
-
*
|
|
621
|
-
* @returns A Uint8Array containing the witness arguments bytes.
|
|
622
|
-
*
|
|
623
|
-
* @example
|
|
624
|
-
* ```typescript
|
|
625
|
-
* const witnessArgsBytes = witnessArgs.toBytes();
|
|
626
|
-
* ```
|
|
627
|
-
*/
|
|
628
|
-
toBytes(): Bytes;
|
|
629
|
-
/**
|
|
630
|
-
* Creates a WitnessArgs instance from a byte-like value or molecule WitnessArgs.
|
|
631
|
-
*
|
|
632
|
-
* @param bytes - The byte-like value or molecule WitnessArgs to convert.
|
|
633
|
-
* @returns A WitnessArgs instance.
|
|
634
|
-
*
|
|
635
|
-
* @example
|
|
636
|
-
* ```typescript
|
|
637
|
-
* const witnessArgs = WitnessArgs.fromBytes(new Uint8Array([/* witness args bytes *\/]));
|
|
638
|
-
* ```
|
|
639
|
-
*/
|
|
640
|
-
static fromBytes(bytes: BytesLike | mol.WitnessArgs): WitnessArgs;
|
|
641
484
|
}
|
|
642
485
|
/**
|
|
643
486
|
* @public
|
|
644
487
|
*/
|
|
645
488
|
export declare function udtBalanceFrom(dataLike: BytesLike): Num;
|
|
489
|
+
export declare const RawTransaction: mol.Codec<mol.EncodableRecord<{
|
|
490
|
+
version: mol.Codec<NumLike, number>;
|
|
491
|
+
cellDeps: mol.Codec<CellDepLike[], CellDep[]>;
|
|
492
|
+
headerDeps: mol.Codec<BytesLike[], `0x${string}`[]>;
|
|
493
|
+
inputs: mol.Codec<CellInputLike[], CellInput[]>;
|
|
494
|
+
outputs: mol.Codec<CellOutputLike[], CellOutput[]>;
|
|
495
|
+
outputsData: mol.Codec<BytesLike[], `0x${string}`[]>;
|
|
496
|
+
}>, mol.DecodedRecord<{
|
|
497
|
+
version: mol.Codec<NumLike, number>;
|
|
498
|
+
cellDeps: mol.Codec<CellDepLike[], CellDep[]>;
|
|
499
|
+
headerDeps: mol.Codec<BytesLike[], `0x${string}`[]>;
|
|
500
|
+
inputs: mol.Codec<CellInputLike[], CellInput[]>;
|
|
501
|
+
outputs: mol.Codec<CellOutputLike[], CellOutput[]>;
|
|
502
|
+
outputsData: mol.Codec<BytesLike[], `0x${string}`[]>;
|
|
503
|
+
}>>;
|
|
646
504
|
/**
|
|
647
505
|
* @public
|
|
648
506
|
*/
|
|
@@ -655,10 +513,22 @@ export type TransactionLike = {
|
|
|
655
513
|
outputsData?: HexLike[] | null;
|
|
656
514
|
witnesses?: HexLike[] | null;
|
|
657
515
|
};
|
|
516
|
+
declare const Transaction_base: (abstract new () => {
|
|
517
|
+
toBytes(): Bytes;
|
|
518
|
+
clone(): Transaction;
|
|
519
|
+
eq(other: TransactionLike): boolean;
|
|
520
|
+
hash(): Hex;
|
|
521
|
+
}) & {
|
|
522
|
+
byteLength?: number;
|
|
523
|
+
encode(_: TransactionLike): Bytes;
|
|
524
|
+
decode(_: BytesLike): Transaction;
|
|
525
|
+
fromBytes(_bytes: BytesLike): Transaction;
|
|
526
|
+
from(_: TransactionLike): Transaction;
|
|
527
|
+
};
|
|
658
528
|
/**
|
|
659
529
|
* @public
|
|
660
530
|
*/
|
|
661
|
-
export declare class Transaction {
|
|
531
|
+
export declare class Transaction extends Transaction_base {
|
|
662
532
|
version: Num;
|
|
663
533
|
cellDeps: CellDep[];
|
|
664
534
|
headerDeps: Hex[];
|
|
@@ -698,17 +568,6 @@ export declare class Transaction {
|
|
|
698
568
|
* ```
|
|
699
569
|
*/
|
|
700
570
|
copy(txLike: TransactionLike): void;
|
|
701
|
-
/**
|
|
702
|
-
* Clone a Transaction.
|
|
703
|
-
*
|
|
704
|
-
* @returns A cloned instance
|
|
705
|
-
*
|
|
706
|
-
* @example
|
|
707
|
-
* ```typescript
|
|
708
|
-
* const tx1 = tx0.clone();
|
|
709
|
-
* ```
|
|
710
|
-
*/
|
|
711
|
-
clone(): Transaction;
|
|
712
571
|
/**
|
|
713
572
|
* Creates a Transaction instance from a TransactionLike object.
|
|
714
573
|
*
|
|
@@ -756,27 +615,28 @@ export declare class Transaction {
|
|
|
756
615
|
*/
|
|
757
616
|
rawToBytes(): Bytes;
|
|
758
617
|
/**
|
|
759
|
-
*
|
|
618
|
+
* Calculates the hash of the transaction without witnesses. This is the transaction hash in the usual sense.
|
|
619
|
+
* To calculate the hash of the whole transaction including the witnesses, use transaction.hashFull() instead.
|
|
760
620
|
*
|
|
761
|
-
* @returns
|
|
621
|
+
* @returns The hash of the transaction.
|
|
762
622
|
*
|
|
763
623
|
* @example
|
|
764
624
|
* ```typescript
|
|
765
|
-
* const
|
|
625
|
+
* const txHash = transaction.hash();
|
|
766
626
|
* ```
|
|
767
627
|
*/
|
|
768
|
-
|
|
628
|
+
hash(): Hex;
|
|
769
629
|
/**
|
|
770
|
-
* Calculates the hash of the transaction.
|
|
630
|
+
* Calculates the hash of the transaction with witnesses.
|
|
771
631
|
*
|
|
772
|
-
* @returns The hash of the transaction.
|
|
632
|
+
* @returns The hash of the transaction with witnesses.
|
|
773
633
|
*
|
|
774
634
|
* @example
|
|
775
635
|
* ```typescript
|
|
776
|
-
* const
|
|
636
|
+
* const txFullHash = transaction.hashFull();
|
|
777
637
|
* ```
|
|
778
638
|
*/
|
|
779
|
-
|
|
639
|
+
hashFull(): Hex;
|
|
780
640
|
/**
|
|
781
641
|
* Hashes a witness and updates the hasher.
|
|
782
642
|
*
|
|
@@ -974,4 +834,5 @@ export declare class Transaction {
|
|
|
974
834
|
completeFeeBy(from: Signer, feeRate?: NumLike, filter?: ClientCollectableSearchKeyFilterLike): Promise<[number, boolean]>;
|
|
975
835
|
completeFeeChangeToOutput(from: Signer, index: NumLike, feeRate?: NumLike, filter?: ClientCollectableSearchKeyFilterLike): Promise<[number, boolean]>;
|
|
976
836
|
}
|
|
837
|
+
export {};
|
|
977
838
|
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/ckb/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/ckb/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EA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