@bitgo/wasm-utxo 4.34.0 → 4.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/js/fixedScriptWallet/ZcashIronwoodBitGoPsbt.d.ts +14 -0
- package/dist/cjs/js/fixedScriptWallet/ZcashIronwoodBitGoPsbt.js +16 -0
- package/dist/cjs/js/wasm/wasm_utxo.d.ts +15 -0
- package/dist/cjs/js/wasm/wasm_utxo.js +31 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm.d.ts +142 -141
- package/dist/esm/js/fixedScriptWallet/ZcashIronwoodBitGoPsbt.d.ts +14 -0
- package/dist/esm/js/fixedScriptWallet/ZcashIronwoodBitGoPsbt.js +16 -0
- package/dist/esm/js/wasm/wasm_utxo.d.ts +15 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.js +31 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm.d.ts +142 -141
- package/package.json +1 -1
|
@@ -230,4 +230,18 @@ export declare class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
|
|
|
230
230
|
* errors (bad proof, unsigned input) leaves the PSBT retryable.
|
|
231
231
|
*/
|
|
232
232
|
combineProof(proof: Uint8Array): Uint8Array;
|
|
233
|
+
/**
|
|
234
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
|
|
235
|
+
* PSBT, or `undefined` if none is present.
|
|
236
|
+
*
|
|
237
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
238
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
|
|
239
|
+
* run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
|
|
240
|
+
* service and back.
|
|
241
|
+
*
|
|
242
|
+
* Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
|
|
243
|
+
* `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
|
|
244
|
+
* to make extraction terminal (see its doc comment).
|
|
245
|
+
*/
|
|
246
|
+
getPczt(): Uint8Array | undefined;
|
|
233
247
|
}
|
|
@@ -223,5 +223,21 @@ class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt_js_1.ZcashBitGoPsbt {
|
|
|
223
223
|
combineProof(proof) {
|
|
224
224
|
return this.wasm.combine_ironwood_proof(proof);
|
|
225
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
|
|
228
|
+
* PSBT, or `undefined` if none is present.
|
|
229
|
+
*
|
|
230
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
231
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
|
|
232
|
+
* run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
|
|
233
|
+
* service and back.
|
|
234
|
+
*
|
|
235
|
+
* Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
|
|
236
|
+
* `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
|
|
237
|
+
* to make extraction terminal (see its doc comment).
|
|
238
|
+
*/
|
|
239
|
+
getPczt() {
|
|
240
|
+
return this.wasm.ironwood_pczt_bytes();
|
|
241
|
+
}
|
|
226
242
|
}
|
|
227
243
|
exports.ZcashIronwoodBitGoPsbt = ZcashIronwoodBitGoPsbt;
|
|
@@ -474,6 +474,21 @@ export class BitGoPsbt {
|
|
|
474
474
|
*/
|
|
475
475
|
get_unsigned_tx(): Uint8Array;
|
|
476
476
|
input_count(): number;
|
|
477
|
+
/**
|
|
478
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
|
|
479
|
+
* this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
|
|
480
|
+
*
|
|
481
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
482
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
|
|
483
|
+
* [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
|
|
484
|
+
* bridging this PSBT to the external proof service and back (see
|
|
485
|
+
* [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
|
|
486
|
+
*
|
|
487
|
+
* Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
|
|
488
|
+
* beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
|
|
489
|
+
* that call drops the stored PCZT to make extraction terminal (see its doc comment).
|
|
490
|
+
*/
|
|
491
|
+
ironwood_pczt_bytes(): Uint8Array | undefined;
|
|
477
492
|
/**
|
|
478
493
|
* The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
|
|
479
494
|
* input `index` must sign.
|
|
@@ -1792,6 +1792,37 @@ class BitGoPsbt {
|
|
|
1792
1792
|
const ret = wasm.bitgopsbt_input_count(this.__wbg_ptr);
|
|
1793
1793
|
return ret >>> 0;
|
|
1794
1794
|
}
|
|
1795
|
+
/**
|
|
1796
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
|
|
1797
|
+
* this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
|
|
1798
|
+
*
|
|
1799
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
1800
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
|
|
1801
|
+
* [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
|
|
1802
|
+
* bridging this PSBT to the external proof service and back (see
|
|
1803
|
+
* [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
|
|
1804
|
+
*
|
|
1805
|
+
* Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
|
|
1806
|
+
* beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
|
|
1807
|
+
* that call drops the stored PCZT to make extraction terminal (see its doc comment).
|
|
1808
|
+
* @returns {Uint8Array | undefined}
|
|
1809
|
+
*/
|
|
1810
|
+
ironwood_pczt_bytes() {
|
|
1811
|
+
try {
|
|
1812
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1813
|
+
wasm.bitgopsbt_ironwood_pczt_bytes(retptr, this.__wbg_ptr);
|
|
1814
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1815
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1816
|
+
let v1;
|
|
1817
|
+
if (r0 !== 0) {
|
|
1818
|
+
v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
1819
|
+
wasm.__wbindgen_export4(r0, r1 * 1, 1);
|
|
1820
|
+
}
|
|
1821
|
+
return v1;
|
|
1822
|
+
} finally {
|
|
1823
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1795
1826
|
/**
|
|
1796
1827
|
* The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
|
|
1797
1828
|
* input `index` must sign.
|
|
Binary file
|
|
@@ -23,6 +23,147 @@ export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d:
|
|
|
23
23
|
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
24
24
|
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
25
25
|
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
26
|
+
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
27
|
+
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
28
|
+
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
29
|
+
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
30
|
+
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
31
|
+
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
32
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
33
|
+
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
34
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
35
|
+
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
36
|
+
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
37
|
+
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
38
|
+
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
39
|
+
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
40
|
+
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
41
|
+
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
42
|
+
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
43
|
+
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
44
|
+
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
45
|
+
export const bip322namespace_verify_bip322_tx_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
46
|
+
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
47
|
+
export const isInspectEnabled: () => number;
|
|
48
|
+
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
49
|
+
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
50
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
51
|
+
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
52
|
+
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
53
|
+
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
54
|
+
export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
|
|
55
|
+
export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
|
|
56
|
+
export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
57
|
+
export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
|
|
58
|
+
export const wasmdashtransaction_input_count: (a: number) => number;
|
|
59
|
+
export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
60
|
+
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
61
|
+
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
62
|
+
export const wasmdashtransaction_version: (a: number) => number;
|
|
63
|
+
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
64
|
+
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
65
|
+
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
66
|
+
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
67
|
+
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
68
|
+
export const wasmecpair_private_key: (a: number) => number;
|
|
69
|
+
export const wasmecpair_public_key: (a: number) => number;
|
|
70
|
+
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
71
|
+
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
72
|
+
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
73
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
74
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
75
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
76
|
+
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
77
|
+
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
78
|
+
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
79
|
+
export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
80
|
+
export const wasmtransaction_create: () => number;
|
|
81
|
+
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
82
|
+
export const wasmtransaction_get_inputs: (a: number, b: number) => void;
|
|
83
|
+
export const wasmtransaction_get_outputs: (a: number, b: number) => void;
|
|
84
|
+
export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
85
|
+
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
86
|
+
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
87
|
+
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
88
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
89
|
+
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
90
|
+
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
91
|
+
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
92
|
+
export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
93
|
+
export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
|
|
94
|
+
export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
|
|
95
|
+
export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
|
|
96
|
+
export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
|
|
97
|
+
export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
98
|
+
export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
99
|
+
export const wrappsbt_clone: (a: number) => number;
|
|
100
|
+
export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
101
|
+
export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
|
|
102
|
+
export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
103
|
+
export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
|
|
104
|
+
export const wrappsbt_extract_transaction: (a: number, b: number) => void;
|
|
105
|
+
export const wrappsbt_extract_zcash_transaction: (a: number, b: number, c: number, d: number) => void;
|
|
106
|
+
export const wrappsbt_finalize_mut: (a: number, b: number) => void;
|
|
107
|
+
export const wrappsbt_finalize_mut_zcash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
108
|
+
export const wrappsbt_get_global_xpubs: (a: number) => number;
|
|
109
|
+
export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
110
|
+
export const wrappsbt_get_inputs: (a: number, b: number) => void;
|
|
111
|
+
export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
|
|
112
|
+
export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
113
|
+
export const wrappsbt_get_outputs: (a: number, b: number) => void;
|
|
114
|
+
export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
115
|
+
export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
|
|
116
|
+
export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
117
|
+
export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
|
|
118
|
+
export const wrappsbt_input_count: (a: number) => number;
|
|
119
|
+
export const wrappsbt_new: (a: number, b: number) => number;
|
|
120
|
+
export const wrappsbt_output_count: (a: number) => number;
|
|
121
|
+
export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
|
|
122
|
+
export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
|
|
123
|
+
export const wrappsbt_serialize: (a: number, b: number) => void;
|
|
124
|
+
export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
125
|
+
export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
126
|
+
export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
127
|
+
export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
|
|
128
|
+
export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
|
|
129
|
+
export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
|
|
130
|
+
export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
|
|
131
|
+
export const wrappsbt_sign_zcash_all_with_ecpair: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
132
|
+
export const wrappsbt_sign_zcash_with_prv: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
133
|
+
export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
|
|
134
|
+
export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
135
|
+
export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
136
|
+
export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
137
|
+
export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
|
|
138
|
+
export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
|
|
139
|
+
export const zcash_ironwood_version_group_id: () => number;
|
|
140
|
+
export const zcashunifiedaddress_contains: (a: number, b: number, c: number, d: number) => void;
|
|
141
|
+
export const zcashunifiedaddress_orchardReceiver: (a: number, b: number) => void;
|
|
142
|
+
export const zcashunifiedaddress_parse: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
143
|
+
export const zcashunifiedaddress_saplingReceiver: (a: number, b: number) => void;
|
|
144
|
+
export const zcashunifiedaddress_transparentScript: (a: number, b: number) => void;
|
|
145
|
+
export const zcashv6transaction_consensusBranchId: (a: number) => number;
|
|
146
|
+
export const zcashv6transaction_expiryHeight: (a: number) => number;
|
|
147
|
+
export const zcashv6transaction_fromBytes: (a: number, b: number, c: number) => void;
|
|
148
|
+
export const zcashv6transaction_getId: (a: number, b: number) => void;
|
|
149
|
+
export const zcashv6transaction_ironwoodActionCount: (a: number) => number;
|
|
150
|
+
export const zcashv6transaction_ironwoodAnchor: (a: number, b: number) => void;
|
|
151
|
+
export const zcashv6transaction_ironwoodFlags: (a: number) => number;
|
|
152
|
+
export const zcashv6transaction_ironwoodValueBalance: (a: number) => bigint;
|
|
153
|
+
export const zcashv6transaction_toBytes: (a: number, b: number) => void;
|
|
154
|
+
export const zcashv6transaction_txidBytes: (a: number, b: number) => void;
|
|
155
|
+
export const wasmtransaction_input_count: (a: number) => number;
|
|
156
|
+
export const wasmtransaction_output_count: (a: number) => number;
|
|
157
|
+
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
158
|
+
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
159
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
160
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
161
|
+
export const wasmtransaction_lock_time: (a: number) => number;
|
|
162
|
+
export const wasmtransaction_version: (a: number) => number;
|
|
163
|
+
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
164
|
+
export const wasmzcashtransaction_version: (a: number) => number;
|
|
165
|
+
export const wrappsbt_lock_time: (a: number) => number;
|
|
166
|
+
export const wrappsbt_version: (a: number) => number;
|
|
26
167
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
27
168
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
28
169
|
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
@@ -81,6 +222,7 @@ export const bitgopsbt_get_outputs: (a: number, b: number) => void;
|
|
|
81
222
|
export const bitgopsbt_get_outputs_with_address: (a: number, b: number) => void;
|
|
82
223
|
export const bitgopsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
83
224
|
export const bitgopsbt_input_count: (a: number) => number;
|
|
225
|
+
export const bitgopsbt_ironwood_pczt_bytes: (a: number, b: number) => void;
|
|
84
226
|
export const bitgopsbt_ironwood_v6_transparent_sighash: (a: number, b: number, c: number) => void;
|
|
85
227
|
export const bitgopsbt_ironwood_v6_txid: (a: number, b: number) => void;
|
|
86
228
|
export const bitgopsbt_is_musig2_input: (a: number, b: number) => number;
|
|
@@ -169,147 +311,6 @@ export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
|
169
311
|
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
170
312
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
171
313
|
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
172
|
-
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
173
|
-
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
174
|
-
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
175
|
-
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
176
|
-
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
177
|
-
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
178
|
-
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
179
|
-
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
180
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
181
|
-
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
182
|
-
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
183
|
-
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
184
|
-
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
185
|
-
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
186
|
-
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
187
|
-
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
188
|
-
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
189
|
-
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
190
|
-
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
191
|
-
export const bip322namespace_verify_bip322_tx_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
192
|
-
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
193
|
-
export const isInspectEnabled: () => number;
|
|
194
|
-
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
195
|
-
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
196
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
197
|
-
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
198
|
-
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
199
|
-
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
200
|
-
export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
|
|
201
|
-
export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
|
|
202
|
-
export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
203
|
-
export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
|
|
204
|
-
export const wasmdashtransaction_input_count: (a: number) => number;
|
|
205
|
-
export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
206
|
-
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
207
|
-
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
208
|
-
export const wasmdashtransaction_version: (a: number) => number;
|
|
209
|
-
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
210
|
-
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
211
|
-
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
212
|
-
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
213
|
-
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
214
|
-
export const wasmecpair_private_key: (a: number) => number;
|
|
215
|
-
export const wasmecpair_public_key: (a: number) => number;
|
|
216
|
-
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
217
|
-
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
218
|
-
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
219
|
-
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
220
|
-
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
221
|
-
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
222
|
-
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
223
|
-
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
224
|
-
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
225
|
-
export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
226
|
-
export const wasmtransaction_create: () => number;
|
|
227
|
-
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
228
|
-
export const wasmtransaction_get_inputs: (a: number, b: number) => void;
|
|
229
|
-
export const wasmtransaction_get_outputs: (a: number, b: number) => void;
|
|
230
|
-
export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
231
|
-
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
232
|
-
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
233
|
-
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
234
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
235
|
-
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
236
|
-
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
237
|
-
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
238
|
-
export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
239
|
-
export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
|
|
240
|
-
export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
|
|
241
|
-
export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
|
|
242
|
-
export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
|
|
243
|
-
export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
244
|
-
export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
245
|
-
export const wrappsbt_clone: (a: number) => number;
|
|
246
|
-
export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
247
|
-
export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
|
|
248
|
-
export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
249
|
-
export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
|
|
250
|
-
export const wrappsbt_extract_transaction: (a: number, b: number) => void;
|
|
251
|
-
export const wrappsbt_extract_zcash_transaction: (a: number, b: number, c: number, d: number) => void;
|
|
252
|
-
export const wrappsbt_finalize_mut: (a: number, b: number) => void;
|
|
253
|
-
export const wrappsbt_finalize_mut_zcash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
254
|
-
export const wrappsbt_get_global_xpubs: (a: number) => number;
|
|
255
|
-
export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
256
|
-
export const wrappsbt_get_inputs: (a: number, b: number) => void;
|
|
257
|
-
export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
|
|
258
|
-
export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
259
|
-
export const wrappsbt_get_outputs: (a: number, b: number) => void;
|
|
260
|
-
export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
261
|
-
export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
|
|
262
|
-
export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
263
|
-
export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
|
|
264
|
-
export const wrappsbt_input_count: (a: number) => number;
|
|
265
|
-
export const wrappsbt_new: (a: number, b: number) => number;
|
|
266
|
-
export const wrappsbt_output_count: (a: number) => number;
|
|
267
|
-
export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
|
|
268
|
-
export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
|
|
269
|
-
export const wrappsbt_serialize: (a: number, b: number) => void;
|
|
270
|
-
export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
271
|
-
export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
272
|
-
export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
273
|
-
export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
|
|
274
|
-
export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
|
|
275
|
-
export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
|
|
276
|
-
export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
|
|
277
|
-
export const wrappsbt_sign_zcash_all_with_ecpair: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
278
|
-
export const wrappsbt_sign_zcash_with_prv: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
279
|
-
export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
|
|
280
|
-
export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
281
|
-
export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
282
|
-
export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
283
|
-
export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
|
|
284
|
-
export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
|
|
285
|
-
export const zcash_ironwood_version_group_id: () => number;
|
|
286
|
-
export const zcashunifiedaddress_contains: (a: number, b: number, c: number, d: number) => void;
|
|
287
|
-
export const zcashunifiedaddress_orchardReceiver: (a: number, b: number) => void;
|
|
288
|
-
export const zcashunifiedaddress_parse: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
289
|
-
export const zcashunifiedaddress_saplingReceiver: (a: number, b: number) => void;
|
|
290
|
-
export const zcashunifiedaddress_transparentScript: (a: number, b: number) => void;
|
|
291
|
-
export const zcashv6transaction_consensusBranchId: (a: number) => number;
|
|
292
|
-
export const zcashv6transaction_expiryHeight: (a: number) => number;
|
|
293
|
-
export const zcashv6transaction_fromBytes: (a: number, b: number, c: number) => void;
|
|
294
|
-
export const zcashv6transaction_getId: (a: number, b: number) => void;
|
|
295
|
-
export const zcashv6transaction_ironwoodActionCount: (a: number) => number;
|
|
296
|
-
export const zcashv6transaction_ironwoodAnchor: (a: number, b: number) => void;
|
|
297
|
-
export const zcashv6transaction_ironwoodFlags: (a: number) => number;
|
|
298
|
-
export const zcashv6transaction_ironwoodValueBalance: (a: number) => bigint;
|
|
299
|
-
export const zcashv6transaction_toBytes: (a: number, b: number) => void;
|
|
300
|
-
export const zcashv6transaction_txidBytes: (a: number, b: number) => void;
|
|
301
|
-
export const wasmtransaction_input_count: (a: number) => number;
|
|
302
|
-
export const wasmtransaction_output_count: (a: number) => number;
|
|
303
|
-
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
304
|
-
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
305
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
306
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
307
|
-
export const wasmtransaction_lock_time: (a: number) => number;
|
|
308
|
-
export const wasmtransaction_version: (a: number) => number;
|
|
309
|
-
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
310
|
-
export const wasmzcashtransaction_version: (a: number) => number;
|
|
311
|
-
export const wrappsbt_lock_time: (a: number) => number;
|
|
312
|
-
export const wrappsbt_version: (a: number) => number;
|
|
313
314
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
314
315
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
315
316
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|
|
@@ -230,4 +230,18 @@ export declare class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
|
|
|
230
230
|
* errors (bad proof, unsigned input) leaves the PSBT retryable.
|
|
231
231
|
*/
|
|
232
232
|
combineProof(proof: Uint8Array): Uint8Array;
|
|
233
|
+
/**
|
|
234
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
|
|
235
|
+
* PSBT, or `undefined` if none is present.
|
|
236
|
+
*
|
|
237
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
238
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
|
|
239
|
+
* run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
|
|
240
|
+
* service and back.
|
|
241
|
+
*
|
|
242
|
+
* Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
|
|
243
|
+
* `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
|
|
244
|
+
* to make extraction terminal (see its doc comment).
|
|
245
|
+
*/
|
|
246
|
+
getPczt(): Uint8Array | undefined;
|
|
233
247
|
}
|
|
@@ -219,4 +219,20 @@ export class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
|
|
|
219
219
|
combineProof(proof) {
|
|
220
220
|
return this.wasm.combine_ironwood_proof(proof);
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
|
|
224
|
+
* PSBT, or `undefined` if none is present.
|
|
225
|
+
*
|
|
226
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
227
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
|
|
228
|
+
* run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
|
|
229
|
+
* service and back.
|
|
230
|
+
*
|
|
231
|
+
* Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
|
|
232
|
+
* `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
|
|
233
|
+
* to make extraction terminal (see its doc comment).
|
|
234
|
+
*/
|
|
235
|
+
getPczt() {
|
|
236
|
+
return this.wasm.ironwood_pczt_bytes();
|
|
237
|
+
}
|
|
222
238
|
}
|
|
@@ -474,6 +474,21 @@ export class BitGoPsbt {
|
|
|
474
474
|
*/
|
|
475
475
|
get_unsigned_tx(): Uint8Array;
|
|
476
476
|
input_count(): number;
|
|
477
|
+
/**
|
|
478
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
|
|
479
|
+
* this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
|
|
480
|
+
*
|
|
481
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
482
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
|
|
483
|
+
* [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
|
|
484
|
+
* bridging this PSBT to the external proof service and back (see
|
|
485
|
+
* [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
|
|
486
|
+
*
|
|
487
|
+
* Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
|
|
488
|
+
* beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
|
|
489
|
+
* that call drops the stored PCZT to make extraction terminal (see its doc comment).
|
|
490
|
+
*/
|
|
491
|
+
ironwood_pczt_bytes(): Uint8Array | undefined;
|
|
477
492
|
/**
|
|
478
493
|
* The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
|
|
479
494
|
* input `index` must sign.
|
|
@@ -1788,6 +1788,37 @@ export class BitGoPsbt {
|
|
|
1788
1788
|
const ret = wasm.bitgopsbt_input_count(this.__wbg_ptr);
|
|
1789
1789
|
return ret >>> 0;
|
|
1790
1790
|
}
|
|
1791
|
+
/**
|
|
1792
|
+
* The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
|
|
1793
|
+
* this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
|
|
1794
|
+
*
|
|
1795
|
+
* A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
|
|
1796
|
+
* (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
|
|
1797
|
+
* [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
|
|
1798
|
+
* bridging this PSBT to the external proof service and back (see
|
|
1799
|
+
* [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
|
|
1800
|
+
*
|
|
1801
|
+
* Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
|
|
1802
|
+
* beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
|
|
1803
|
+
* that call drops the stored PCZT to make extraction terminal (see its doc comment).
|
|
1804
|
+
* @returns {Uint8Array | undefined}
|
|
1805
|
+
*/
|
|
1806
|
+
ironwood_pczt_bytes() {
|
|
1807
|
+
try {
|
|
1808
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1809
|
+
wasm.bitgopsbt_ironwood_pczt_bytes(retptr, this.__wbg_ptr);
|
|
1810
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1811
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1812
|
+
let v1;
|
|
1813
|
+
if (r0 !== 0) {
|
|
1814
|
+
v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
1815
|
+
wasm.__wbindgen_export4(r0, r1 * 1, 1);
|
|
1816
|
+
}
|
|
1817
|
+
return v1;
|
|
1818
|
+
} finally {
|
|
1819
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1791
1822
|
/**
|
|
1792
1823
|
* The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
|
|
1793
1824
|
* input `index` must sign.
|
|
Binary file
|
|
@@ -23,6 +23,147 @@ export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d:
|
|
|
23
23
|
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
24
24
|
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
25
25
|
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
26
|
+
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
27
|
+
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
28
|
+
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
29
|
+
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
30
|
+
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
31
|
+
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
32
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
33
|
+
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
34
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
35
|
+
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
36
|
+
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
37
|
+
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
38
|
+
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
39
|
+
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
40
|
+
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
41
|
+
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
42
|
+
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
43
|
+
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
44
|
+
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
45
|
+
export const bip322namespace_verify_bip322_tx_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
46
|
+
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
47
|
+
export const isInspectEnabled: () => number;
|
|
48
|
+
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
49
|
+
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
50
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
51
|
+
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
52
|
+
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
53
|
+
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
54
|
+
export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
|
|
55
|
+
export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
|
|
56
|
+
export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
57
|
+
export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
|
|
58
|
+
export const wasmdashtransaction_input_count: (a: number) => number;
|
|
59
|
+
export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
60
|
+
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
61
|
+
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
62
|
+
export const wasmdashtransaction_version: (a: number) => number;
|
|
63
|
+
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
64
|
+
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
65
|
+
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
66
|
+
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
67
|
+
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
68
|
+
export const wasmecpair_private_key: (a: number) => number;
|
|
69
|
+
export const wasmecpair_public_key: (a: number) => number;
|
|
70
|
+
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
71
|
+
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
72
|
+
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
73
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
74
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
75
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
76
|
+
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
77
|
+
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
78
|
+
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
79
|
+
export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
80
|
+
export const wasmtransaction_create: () => number;
|
|
81
|
+
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
82
|
+
export const wasmtransaction_get_inputs: (a: number, b: number) => void;
|
|
83
|
+
export const wasmtransaction_get_outputs: (a: number, b: number) => void;
|
|
84
|
+
export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
85
|
+
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
86
|
+
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
87
|
+
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
88
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
89
|
+
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
90
|
+
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
91
|
+
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
92
|
+
export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
93
|
+
export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
|
|
94
|
+
export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
|
|
95
|
+
export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
|
|
96
|
+
export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
|
|
97
|
+
export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
98
|
+
export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
99
|
+
export const wrappsbt_clone: (a: number) => number;
|
|
100
|
+
export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
101
|
+
export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
|
|
102
|
+
export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
103
|
+
export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
|
|
104
|
+
export const wrappsbt_extract_transaction: (a: number, b: number) => void;
|
|
105
|
+
export const wrappsbt_extract_zcash_transaction: (a: number, b: number, c: number, d: number) => void;
|
|
106
|
+
export const wrappsbt_finalize_mut: (a: number, b: number) => void;
|
|
107
|
+
export const wrappsbt_finalize_mut_zcash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
108
|
+
export const wrappsbt_get_global_xpubs: (a: number) => number;
|
|
109
|
+
export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
110
|
+
export const wrappsbt_get_inputs: (a: number, b: number) => void;
|
|
111
|
+
export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
|
|
112
|
+
export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
113
|
+
export const wrappsbt_get_outputs: (a: number, b: number) => void;
|
|
114
|
+
export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
115
|
+
export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
|
|
116
|
+
export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
117
|
+
export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
|
|
118
|
+
export const wrappsbt_input_count: (a: number) => number;
|
|
119
|
+
export const wrappsbt_new: (a: number, b: number) => number;
|
|
120
|
+
export const wrappsbt_output_count: (a: number) => number;
|
|
121
|
+
export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
|
|
122
|
+
export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
|
|
123
|
+
export const wrappsbt_serialize: (a: number, b: number) => void;
|
|
124
|
+
export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
125
|
+
export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
126
|
+
export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
127
|
+
export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
|
|
128
|
+
export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
|
|
129
|
+
export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
|
|
130
|
+
export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
|
|
131
|
+
export const wrappsbt_sign_zcash_all_with_ecpair: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
132
|
+
export const wrappsbt_sign_zcash_with_prv: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
133
|
+
export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
|
|
134
|
+
export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
135
|
+
export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
136
|
+
export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
137
|
+
export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
|
|
138
|
+
export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
|
|
139
|
+
export const zcash_ironwood_version_group_id: () => number;
|
|
140
|
+
export const zcashunifiedaddress_contains: (a: number, b: number, c: number, d: number) => void;
|
|
141
|
+
export const zcashunifiedaddress_orchardReceiver: (a: number, b: number) => void;
|
|
142
|
+
export const zcashunifiedaddress_parse: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
143
|
+
export const zcashunifiedaddress_saplingReceiver: (a: number, b: number) => void;
|
|
144
|
+
export const zcashunifiedaddress_transparentScript: (a: number, b: number) => void;
|
|
145
|
+
export const zcashv6transaction_consensusBranchId: (a: number) => number;
|
|
146
|
+
export const zcashv6transaction_expiryHeight: (a: number) => number;
|
|
147
|
+
export const zcashv6transaction_fromBytes: (a: number, b: number, c: number) => void;
|
|
148
|
+
export const zcashv6transaction_getId: (a: number, b: number) => void;
|
|
149
|
+
export const zcashv6transaction_ironwoodActionCount: (a: number) => number;
|
|
150
|
+
export const zcashv6transaction_ironwoodAnchor: (a: number, b: number) => void;
|
|
151
|
+
export const zcashv6transaction_ironwoodFlags: (a: number) => number;
|
|
152
|
+
export const zcashv6transaction_ironwoodValueBalance: (a: number) => bigint;
|
|
153
|
+
export const zcashv6transaction_toBytes: (a: number, b: number) => void;
|
|
154
|
+
export const zcashv6transaction_txidBytes: (a: number, b: number) => void;
|
|
155
|
+
export const wasmtransaction_input_count: (a: number) => number;
|
|
156
|
+
export const wasmtransaction_output_count: (a: number) => number;
|
|
157
|
+
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
158
|
+
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
159
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
160
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
161
|
+
export const wasmtransaction_lock_time: (a: number) => number;
|
|
162
|
+
export const wasmtransaction_version: (a: number) => number;
|
|
163
|
+
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
164
|
+
export const wasmzcashtransaction_version: (a: number) => number;
|
|
165
|
+
export const wrappsbt_lock_time: (a: number) => number;
|
|
166
|
+
export const wrappsbt_version: (a: number) => number;
|
|
26
167
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
27
168
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
28
169
|
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
@@ -81,6 +222,7 @@ export const bitgopsbt_get_outputs: (a: number, b: number) => void;
|
|
|
81
222
|
export const bitgopsbt_get_outputs_with_address: (a: number, b: number) => void;
|
|
82
223
|
export const bitgopsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
83
224
|
export const bitgopsbt_input_count: (a: number) => number;
|
|
225
|
+
export const bitgopsbt_ironwood_pczt_bytes: (a: number, b: number) => void;
|
|
84
226
|
export const bitgopsbt_ironwood_v6_transparent_sighash: (a: number, b: number, c: number) => void;
|
|
85
227
|
export const bitgopsbt_ironwood_v6_txid: (a: number, b: number) => void;
|
|
86
228
|
export const bitgopsbt_is_musig2_input: (a: number, b: number) => number;
|
|
@@ -169,147 +311,6 @@ export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
|
169
311
|
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
170
312
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
171
313
|
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
172
|
-
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
173
|
-
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
174
|
-
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
175
|
-
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
176
|
-
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
177
|
-
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
178
|
-
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
179
|
-
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
180
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
181
|
-
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
182
|
-
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
183
|
-
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
184
|
-
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
185
|
-
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
186
|
-
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
187
|
-
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
188
|
-
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
189
|
-
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
190
|
-
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
191
|
-
export const bip322namespace_verify_bip322_tx_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
192
|
-
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
193
|
-
export const isInspectEnabled: () => number;
|
|
194
|
-
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
195
|
-
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
196
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
197
|
-
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
198
|
-
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
199
|
-
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
200
|
-
export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
|
|
201
|
-
export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
|
|
202
|
-
export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
203
|
-
export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
|
|
204
|
-
export const wasmdashtransaction_input_count: (a: number) => number;
|
|
205
|
-
export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
206
|
-
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
207
|
-
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
208
|
-
export const wasmdashtransaction_version: (a: number) => number;
|
|
209
|
-
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
210
|
-
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
211
|
-
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
212
|
-
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
213
|
-
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
214
|
-
export const wasmecpair_private_key: (a: number) => number;
|
|
215
|
-
export const wasmecpair_public_key: (a: number) => number;
|
|
216
|
-
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
217
|
-
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
218
|
-
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
219
|
-
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
220
|
-
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
221
|
-
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
222
|
-
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
223
|
-
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
224
|
-
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
225
|
-
export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
226
|
-
export const wasmtransaction_create: () => number;
|
|
227
|
-
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
228
|
-
export const wasmtransaction_get_inputs: (a: number, b: number) => void;
|
|
229
|
-
export const wasmtransaction_get_outputs: (a: number, b: number) => void;
|
|
230
|
-
export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
231
|
-
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
232
|
-
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
233
|
-
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
234
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
235
|
-
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
236
|
-
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
237
|
-
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
238
|
-
export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
239
|
-
export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
|
|
240
|
-
export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
|
|
241
|
-
export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
|
|
242
|
-
export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
|
|
243
|
-
export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
244
|
-
export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
|
|
245
|
-
export const wrappsbt_clone: (a: number) => number;
|
|
246
|
-
export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
247
|
-
export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
|
|
248
|
-
export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
249
|
-
export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
|
|
250
|
-
export const wrappsbt_extract_transaction: (a: number, b: number) => void;
|
|
251
|
-
export const wrappsbt_extract_zcash_transaction: (a: number, b: number, c: number, d: number) => void;
|
|
252
|
-
export const wrappsbt_finalize_mut: (a: number, b: number) => void;
|
|
253
|
-
export const wrappsbt_finalize_mut_zcash: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
254
|
-
export const wrappsbt_get_global_xpubs: (a: number) => number;
|
|
255
|
-
export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
|
|
256
|
-
export const wrappsbt_get_inputs: (a: number, b: number) => void;
|
|
257
|
-
export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
|
|
258
|
-
export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
|
|
259
|
-
export const wrappsbt_get_outputs: (a: number, b: number) => void;
|
|
260
|
-
export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
|
|
261
|
-
export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
|
|
262
|
-
export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
|
|
263
|
-
export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
|
|
264
|
-
export const wrappsbt_input_count: (a: number) => number;
|
|
265
|
-
export const wrappsbt_new: (a: number, b: number) => number;
|
|
266
|
-
export const wrappsbt_output_count: (a: number) => number;
|
|
267
|
-
export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
|
|
268
|
-
export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
|
|
269
|
-
export const wrappsbt_serialize: (a: number, b: number) => void;
|
|
270
|
-
export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
271
|
-
export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
272
|
-
export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
273
|
-
export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
|
|
274
|
-
export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
|
|
275
|
-
export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
|
|
276
|
-
export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
|
|
277
|
-
export const wrappsbt_sign_zcash_all_with_ecpair: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
278
|
-
export const wrappsbt_sign_zcash_with_prv: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
279
|
-
export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
|
|
280
|
-
export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
281
|
-
export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
|
|
282
|
-
export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
283
|
-
export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
|
|
284
|
-
export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
|
|
285
|
-
export const zcash_ironwood_version_group_id: () => number;
|
|
286
|
-
export const zcashunifiedaddress_contains: (a: number, b: number, c: number, d: number) => void;
|
|
287
|
-
export const zcashunifiedaddress_orchardReceiver: (a: number, b: number) => void;
|
|
288
|
-
export const zcashunifiedaddress_parse: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
289
|
-
export const zcashunifiedaddress_saplingReceiver: (a: number, b: number) => void;
|
|
290
|
-
export const zcashunifiedaddress_transparentScript: (a: number, b: number) => void;
|
|
291
|
-
export const zcashv6transaction_consensusBranchId: (a: number) => number;
|
|
292
|
-
export const zcashv6transaction_expiryHeight: (a: number) => number;
|
|
293
|
-
export const zcashv6transaction_fromBytes: (a: number, b: number, c: number) => void;
|
|
294
|
-
export const zcashv6transaction_getId: (a: number, b: number) => void;
|
|
295
|
-
export const zcashv6transaction_ironwoodActionCount: (a: number) => number;
|
|
296
|
-
export const zcashv6transaction_ironwoodAnchor: (a: number, b: number) => void;
|
|
297
|
-
export const zcashv6transaction_ironwoodFlags: (a: number) => number;
|
|
298
|
-
export const zcashv6transaction_ironwoodValueBalance: (a: number) => bigint;
|
|
299
|
-
export const zcashv6transaction_toBytes: (a: number, b: number) => void;
|
|
300
|
-
export const zcashv6transaction_txidBytes: (a: number, b: number) => void;
|
|
301
|
-
export const wasmtransaction_input_count: (a: number) => number;
|
|
302
|
-
export const wasmtransaction_output_count: (a: number) => number;
|
|
303
|
-
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
304
|
-
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
305
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
306
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
307
|
-
export const wasmtransaction_lock_time: (a: number) => number;
|
|
308
|
-
export const wasmtransaction_version: (a: number) => number;
|
|
309
|
-
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
310
|
-
export const wasmzcashtransaction_version: (a: number) => number;
|
|
311
|
-
export const wrappsbt_lock_time: (a: number) => number;
|
|
312
|
-
export const wrappsbt_version: (a: number) => number;
|
|
313
314
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
314
315
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
315
316
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|