@ckb-ccc/core 0.1.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- 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 +14 -0
- package/dist/bytes/index.d.ts.map +1 -1
- package/dist/bytes/index.js +29 -0
- 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 +31 -78
- package/dist/ckb/transaction.d.ts +114 -260
- package/dist/ckb/transaction.d.ts.map +1 -1
- package/dist/ckb/transaction.js +162 -358
- 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.map +1 -1
- package/dist/molecule/codec.js +6 -3
- package/dist/molecule/entity.d.ts +98 -0
- package/dist/molecule/entity.d.ts.map +1 -0
- package/dist/molecule/entity.js +113 -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/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist.commonjs/address/address.advanced.js +28 -23
- package/dist.commonjs/address/advanced.js +17 -1
- package/dist.commonjs/address/index.js +15 -11
- package/dist.commonjs/advanced.js +31 -2
- package/dist.commonjs/advancedBarrel.js +21 -5
- package/dist.commonjs/barrel.d.ts +1 -1
- package/dist.commonjs/barrel.d.ts.map +1 -1
- package/dist.commonjs/barrel.js +28 -12
- package/dist.commonjs/bytes/advanced.js +2 -1
- package/dist.commonjs/bytes/index.d.ts +14 -0
- package/dist.commonjs/bytes/index.d.ts.map +1 -1
- package/dist.commonjs/bytes/index.js +42 -7
- 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 +18 -3
- package/dist.commonjs/ckb/index.js +19 -3
- package/dist.commonjs/ckb/script.advanced.js +6 -3
- 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 +49 -90
- package/dist.commonjs/ckb/transaction.advanced.js +6 -3
- package/dist.commonjs/ckb/transaction.d.ts +114 -260
- package/dist.commonjs/ckb/transaction.d.ts.map +1 -1
- package/dist.commonjs/ckb/transaction.js +249 -434
- package/dist.commonjs/ckb/transactionLumos.js +2 -1
- package/dist.commonjs/client/advanced.js +22 -6
- package/dist.commonjs/client/cache/advanced.js +17 -1
- package/dist.commonjs/client/cache/cache.js +7 -3
- package/dist.commonjs/client/cache/index.js +18 -2
- package/dist.commonjs/client/cache/memory.advanced.js +28 -21
- package/dist.commonjs/client/cache/memory.js +23 -19
- package/dist.commonjs/client/client.js +25 -21
- package/dist.commonjs/client/clientPublicMainnet.advanced.js +25 -22
- package/dist.commonjs/client/clientPublicMainnet.js +15 -8
- package/dist.commonjs/client/clientPublicTestnet.advanced.js +25 -22
- package/dist.commonjs/client/clientPublicTestnet.js +15 -8
- package/dist.commonjs/client/clientTypes.advanced.js +6 -3
- package/dist.commonjs/client/clientTypes.js +43 -29
- package/dist.commonjs/client/index.js +22 -6
- package/dist.commonjs/client/jsonRpc/advanced.js +18 -2
- package/dist.commonjs/client/jsonRpc/index.js +41 -37
- package/dist.commonjs/client/jsonRpc/transformers.js +61 -57
- package/dist.commonjs/client/jsonRpc/types.js +2 -1
- package/dist.commonjs/client/transports/advanced.js +25 -8
- package/dist.commonjs/client/transports/http.js +5 -1
- package/dist.commonjs/client/transports/transport.js +2 -1
- package/dist.commonjs/client/transports/webSocket.js +10 -3
- package/dist.commonjs/fixedPoint/index.js +9 -4
- package/dist.commonjs/hasher/advanced.js +4 -1
- package/dist.commonjs/hasher/hasher.js +2 -1
- package/dist.commonjs/hasher/hasherCkb.js +20 -14
- package/dist.commonjs/hasher/hasherKeecak256.js +11 -7
- package/dist.commonjs/hasher/index.js +19 -3
- package/dist.commonjs/hex/index.js +6 -3
- package/dist.commonjs/index.js +31 -2
- package/dist.commonjs/keystore/index.js +25 -21
- package/dist.commonjs/molecule/barrel.d.ts +4 -0
- package/dist.commonjs/molecule/barrel.d.ts.map +1 -0
- package/dist.commonjs/molecule/barrel.js +19 -0
- package/dist.commonjs/molecule/codec.d.ts.map +1 -1
- package/dist.commonjs/molecule/codec.js +69 -51
- package/dist.commonjs/molecule/entity.d.ts +98 -0
- package/dist.commonjs/molecule/entity.d.ts.map +1 -0
- package/dist.commonjs/molecule/entity.js +118 -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 +27 -2
- 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 +54 -91
- package/dist.commonjs/num/index.js +29 -17
- package/dist.commonjs/signer/btc/index.js +19 -3
- package/dist.commonjs/signer/btc/signerBtc.js +24 -20
- package/dist.commonjs/signer/btc/signerBtcPublicKeyReadonly.js +8 -4
- package/dist.commonjs/signer/btc/verify.js +26 -17
- package/dist.commonjs/signer/ckb/index.js +21 -5
- package/dist.commonjs/signer/ckb/signerCkbPrivateKey.js +20 -16
- package/dist.commonjs/signer/ckb/signerCkbPublicKey.js +24 -20
- package/dist.commonjs/signer/ckb/signerCkbScriptReadonly.js +12 -8
- package/dist.commonjs/signer/ckb/verifyCkbSecp256k1.js +16 -12
- package/dist.commonjs/signer/ckb/verifyJoyId.js +8 -5
- package/dist.commonjs/signer/doge/index.js +20 -4
- package/dist.commonjs/signer/doge/signerDoge.js +26 -19
- package/dist.commonjs/signer/doge/signerDogeAddressReadonly.js +6 -2
- package/dist.commonjs/signer/doge/signerDogePrivateKey.js +17 -13
- package/dist.commonjs/signer/doge/verify.js +15 -12
- package/dist.commonjs/signer/dummy/alwaysError.js +6 -2
- package/dist.commonjs/signer/dummy/dummy.js +7 -3
- package/dist.commonjs/signer/dummy/index.js +19 -3
- package/dist.commonjs/signer/dummy/openLink.js +6 -2
- package/dist.commonjs/signer/evm/index.js +19 -3
- package/dist.commonjs/signer/evm/signerEvm.js +35 -31
- package/dist.commonjs/signer/evm/signerEvmAddressReadonly.js +8 -4
- package/dist.commonjs/signer/evm/verify.js +7 -4
- package/dist.commonjs/signer/index.js +23 -7
- package/dist.commonjs/signer/nostr/index.js +18 -2
- package/dist.commonjs/signer/nostr/signerNostr.js +25 -21
- package/dist.commonjs/signer/nostr/verify.js +16 -12
- package/dist.commonjs/signer/signer/index.js +25 -19
- package/dist.commonjs/utils/index.d.ts +3 -0
- package/dist.commonjs/utils/index.d.ts.map +1 -1
- package/dist.commonjs/utils/index.js +12 -6
- package/package.json +1 -2
- package/src/barrel.ts +1 -1
- package/src/bytes/index.ts +34 -0
- package/src/ckb/advanced.ts +0 -1
- package/src/ckb/script.ts +22 -85
- package/src/ckb/transaction.ts +134 -412
- package/src/molecule/barrel.ts +3 -0
- package/src/molecule/codec.ts +9 -5
- package/src/molecule/entity.ts +163 -0
- package/src/molecule/index.ts +1 -2
- package/src/molecule/predefined.ts +20 -69
- 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 -1468
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts +0 -6
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts.map +0 -1
- package/dist.commonjs/ckb/molecule.advanced/index.js +0 -7
- 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
|
@@ -3,11 +3,12 @@ import { Bytes, BytesLike } from "../bytes/index.js";
|
|
|
3
3
|
import { 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
8
|
import { Signer } from "../signer/index.js";
|
|
8
|
-
import * as mol from "./molecule.advanced/index.js";
|
|
9
9
|
import { Script, ScriptLike } from "./script.js";
|
|
10
10
|
import { 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 | OutPoint): 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: CellOutput | 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 | Since): 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: CellInput | 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 | CellDep): 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: WitnessArgs | 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,19 @@ 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
|
+
}>, Transaction>;
|
|
646
497
|
/**
|
|
647
498
|
* @public
|
|
648
499
|
*/
|
|
@@ -655,10 +506,22 @@ export type TransactionLike = {
|
|
|
655
506
|
outputsData?: HexLike[] | null;
|
|
656
507
|
witnesses?: HexLike[] | null;
|
|
657
508
|
};
|
|
509
|
+
declare const Transaction_base: (abstract new () => {
|
|
510
|
+
toBytes(): Bytes;
|
|
511
|
+
clone(): Transaction;
|
|
512
|
+
eq(other: TransactionLike | Transaction): boolean;
|
|
513
|
+
hash(): Hex;
|
|
514
|
+
}) & {
|
|
515
|
+
byteLength?: number;
|
|
516
|
+
encode(_: TransactionLike): Bytes;
|
|
517
|
+
decode(_: BytesLike): Transaction;
|
|
518
|
+
fromBytes(_bytes: BytesLike): Transaction;
|
|
519
|
+
from(_: TransactionLike): Transaction;
|
|
520
|
+
};
|
|
658
521
|
/**
|
|
659
522
|
* @public
|
|
660
523
|
*/
|
|
661
|
-
export declare class Transaction {
|
|
524
|
+
export declare class Transaction extends Transaction_base {
|
|
662
525
|
version: Num;
|
|
663
526
|
cellDeps: CellDep[];
|
|
664
527
|
headerDeps: Hex[];
|
|
@@ -698,17 +561,6 @@ export declare class Transaction {
|
|
|
698
561
|
* ```
|
|
699
562
|
*/
|
|
700
563
|
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
564
|
/**
|
|
713
565
|
* Creates a Transaction instance from a TransactionLike object.
|
|
714
566
|
*
|
|
@@ -756,27 +608,28 @@ export declare class Transaction {
|
|
|
756
608
|
*/
|
|
757
609
|
rawToBytes(): Bytes;
|
|
758
610
|
/**
|
|
759
|
-
*
|
|
611
|
+
* Calculates the hash of the transaction without witnesses. This is the transaction hash in the usual sense.
|
|
612
|
+
* To calculate the hash of the whole transaction including the witnesses, use transaction.hashFull() instead.
|
|
760
613
|
*
|
|
761
|
-
* @returns
|
|
614
|
+
* @returns The hash of the transaction.
|
|
762
615
|
*
|
|
763
616
|
* @example
|
|
764
617
|
* ```typescript
|
|
765
|
-
* const
|
|
618
|
+
* const txHash = transaction.hash();
|
|
766
619
|
* ```
|
|
767
620
|
*/
|
|
768
|
-
|
|
621
|
+
hash(): Hex;
|
|
769
622
|
/**
|
|
770
|
-
* Calculates the hash of the transaction.
|
|
623
|
+
* Calculates the hash of the transaction with witnesses.
|
|
771
624
|
*
|
|
772
|
-
* @returns The hash of the transaction.
|
|
625
|
+
* @returns The hash of the transaction with witnesses.
|
|
773
626
|
*
|
|
774
627
|
* @example
|
|
775
628
|
* ```typescript
|
|
776
|
-
* const
|
|
629
|
+
* const txFullHash = transaction.hashFull();
|
|
777
630
|
* ```
|
|
778
631
|
*/
|
|
779
|
-
|
|
632
|
+
hashFull(): Hex;
|
|
780
633
|
/**
|
|
781
634
|
* Hashes a witness and updates the hasher.
|
|
782
635
|
*
|
|
@@ -974,4 +827,5 @@ export declare class Transaction {
|
|
|
974
827
|
completeFeeBy(from: Signer, feeRate?: NumLike, filter?: ClientCollectableSearchKeyFilterLike): Promise<[number, boolean]>;
|
|
975
828
|
completeFeeChangeToOutput(from: Signer, index: NumLike, feeRate?: NumLike, filter?: ClientCollectableSearchKeyFilterLike): Promise<[number, boolean]>;
|
|
976
829
|
}
|
|
830
|
+
export {};
|
|
977
831
|
//# sourceMappingURL=transaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/ckb/transaction.ts"],"names":[],"mappings":"AAAA,O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