@vultisig/core-mpc 2.1.0 → 3.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 +91 -0
- package/dist/keysign/chainSpecific/KeysignChainSpecific.d.ts +0 -1
- package/dist/keysign/chainSpecific/KeysignChainSpecific.d.ts.map +1 -1
- package/dist/keysign/chainSpecific/KeysignChainSpecific.js +0 -1
- package/dist/keysign/chainSpecific/KeysignChainSpecific.js.map +1 -1
- package/dist/keysign/chainSpecific/resolver.d.ts +9 -0
- package/dist/keysign/chainSpecific/resolver.d.ts.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/cardano.js +2 -2
- package/dist/keysign/chainSpecific/resolvers/cardano.js.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/ripple.d.ts.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/ripple.js +16 -4
- package/dist/keysign/chainSpecific/resolvers/ripple.js.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/ton/index.d.ts +7 -0
- package/dist/keysign/chainSpecific/resolvers/ton/index.d.ts.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/ton/index.js +42 -24
- package/dist/keysign/chainSpecific/resolvers/ton/index.js.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/tron/index.d.ts +18 -0
- package/dist/keysign/chainSpecific/resolvers/tron/index.d.ts.map +1 -1
- package/dist/keysign/chainSpecific/resolvers/tron/index.js +66 -7
- package/dist/keysign/chainSpecific/resolvers/tron/index.js.map +1 -1
- package/dist/keysign/error.d.ts +1 -1
- package/dist/keysign/error.d.ts.map +1 -1
- package/dist/keysign/error.js.map +1 -1
- package/dist/keysign/send/build.d.ts +8 -1
- package/dist/keysign/send/build.d.ts.map +1 -1
- package/dist/keysign/send/build.js +46 -1
- package/dist/keysign/send/build.js.map +1 -1
- package/dist/keysign/signingInputs/resolvers/cosmos/index.d.ts +11 -0
- package/dist/keysign/signingInputs/resolvers/cosmos/index.d.ts.map +1 -1
- package/dist/keysign/signingInputs/resolvers/cosmos/index.js +4 -1
- package/dist/keysign/signingInputs/resolvers/cosmos/index.js.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ripple.d.ts.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ripple.js +55 -17
- package/dist/keysign/signingInputs/resolvers/ripple.js.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/index.d.ts.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/index.js +10 -5
- package/dist/keysign/signingInputs/resolvers/ton/index.js.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/jetton.d.ts +6 -0
- package/dist/keysign/signingInputs/resolvers/ton/jetton.d.ts.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/jetton.js +25 -5
- package/dist/keysign/signingInputs/resolvers/ton/jetton.js.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/native.d.ts +31 -4
- package/dist/keysign/signingInputs/resolvers/ton/native.d.ts.map +1 -1
- package/dist/keysign/signingInputs/resolvers/ton/native.js +38 -27
- package/dist/keysign/signingInputs/resolvers/ton/native.js.map +1 -1
- package/dist/keysign/utils/isRippleTrustSet.d.ts +8 -23
- package/dist/keysign/utils/isRippleTrustSet.d.ts.map +1 -1
- package/dist/keysign/utils/isRippleTrustSet.js +15 -24
- package/dist/keysign/utils/isRippleTrustSet.js.map +1 -1
- package/dist/types/vultisig/keysign/v1/blockchain_specific_pb.d.ts +9 -1
- package/dist/types/vultisig/keysign/v1/blockchain_specific_pb.d.ts.map +1 -1
- package/dist/types/vultisig/keysign/v1/blockchain_specific_pb.js +9 -1
- package/dist/types/vultisig/keysign/v1/blockchain_specific_pb.js.map +1 -1
- package/dist/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.d.ts +4 -384
- package/dist/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.d.ts.map +1 -1
- package/dist/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.js +5 -76
- package/dist/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,388 +1,8 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
3
1
|
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
export declare const file_vultisig_keysign_v1_wasm_execute_contract_payload: GenFile;
|
|
7
|
-
/**
|
|
8
|
-
* @generated from message vultisig.keysign.v1.CosmosCoin
|
|
9
|
-
*/
|
|
10
|
-
export type CosmosCoin = Message<"vultisig.keysign.v1.CosmosCoin"> & {
|
|
11
|
-
/**
|
|
12
|
-
* @generated from field: string denom = 1;
|
|
13
|
-
*/
|
|
14
|
-
denom: string;
|
|
15
|
-
/**
|
|
16
|
-
* @generated from field: string amount = 2;
|
|
17
|
-
*/
|
|
18
|
-
amount: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Describes the message vultisig.keysign.v1.CosmosCoin.
|
|
22
|
-
* Use `create(CosmosCoinSchema)` to create a new message.
|
|
23
|
-
*/
|
|
24
|
-
export declare const CosmosCoinSchema: GenMessage<CosmosCoin>;
|
|
25
|
-
/**
|
|
26
|
-
* @generated from message vultisig.keysign.v1.CosmosFee
|
|
27
|
-
*/
|
|
28
|
-
export type CosmosFee = Message<"vultisig.keysign.v1.CosmosFee"> & {
|
|
29
|
-
/**
|
|
30
|
-
* @generated from field: repeated vultisig.keysign.v1.CosmosCoin amount = 1;
|
|
31
|
-
*/
|
|
32
|
-
amount: CosmosCoin[];
|
|
33
|
-
/**
|
|
34
|
-
* @generated from field: string gas = 2;
|
|
35
|
-
*/
|
|
36
|
-
gas: string;
|
|
37
|
-
/**
|
|
38
|
-
* @generated from field: optional string payer = 3;
|
|
39
|
-
*/
|
|
40
|
-
payer?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @generated from field: optional string granter = 4;
|
|
43
|
-
*/
|
|
44
|
-
granter?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @generated from field: optional string fee_payer = 5;
|
|
47
|
-
*/
|
|
48
|
-
feePayer?: string;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Describes the message vultisig.keysign.v1.CosmosFee.
|
|
52
|
-
* Use `create(CosmosFeeSchema)` to create a new message.
|
|
53
|
-
*/
|
|
54
|
-
export declare const CosmosFeeSchema: GenMessage<CosmosFee>;
|
|
55
|
-
/**
|
|
56
|
-
* @generated from message vultisig.keysign.v1.CosmosMsg
|
|
57
|
-
*/
|
|
58
|
-
export type CosmosMsg = Message<"vultisig.keysign.v1.CosmosMsg"> & {
|
|
59
|
-
/**
|
|
60
|
-
* @generated from field: string type = 1;
|
|
61
|
-
*/
|
|
62
|
-
type: string;
|
|
63
|
-
/**
|
|
64
|
-
* @generated from field: string value = 2;
|
|
65
|
-
*/
|
|
66
|
-
value: string;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Describes the message vultisig.keysign.v1.CosmosMsg.
|
|
70
|
-
* Use `create(CosmosMsgSchema)` to create a new message.
|
|
71
|
-
*/
|
|
72
|
-
export declare const CosmosMsgSchema: GenMessage<CosmosMsg>;
|
|
73
|
-
/**
|
|
74
|
-
* @generated from message vultisig.keysign.v1.SignAmino
|
|
75
|
-
*/
|
|
76
|
-
export type SignAmino = Message<"vultisig.keysign.v1.SignAmino"> & {
|
|
77
|
-
/**
|
|
78
|
-
* @generated from field: vultisig.keysign.v1.CosmosFee fee = 1;
|
|
79
|
-
*/
|
|
80
|
-
fee?: CosmosFee;
|
|
81
|
-
/**
|
|
82
|
-
* @generated from field: repeated vultisig.keysign.v1.CosmosMsg msgs = 2;
|
|
83
|
-
*/
|
|
84
|
-
msgs: CosmosMsg[];
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Describes the message vultisig.keysign.v1.SignAmino.
|
|
88
|
-
* Use `create(SignAminoSchema)` to create a new message.
|
|
89
|
-
*/
|
|
90
|
-
export declare const SignAminoSchema: GenMessage<SignAmino>;
|
|
91
|
-
/**
|
|
92
|
-
* @generated from message vultisig.keysign.v1.SignDirect
|
|
93
|
-
*/
|
|
94
|
-
export type SignDirect = Message<"vultisig.keysign.v1.SignDirect"> & {
|
|
95
|
-
/**
|
|
96
|
-
* @generated from field: string body_bytes = 1;
|
|
97
|
-
*/
|
|
98
|
-
bodyBytes: string;
|
|
99
|
-
/**
|
|
100
|
-
* @generated from field: string auth_info_bytes = 2;
|
|
101
|
-
*/
|
|
102
|
-
authInfoBytes: string;
|
|
103
|
-
/**
|
|
104
|
-
* @generated from field: string chain_id = 3;
|
|
105
|
-
*/
|
|
106
|
-
chainId: string;
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: string account_number = 4;
|
|
109
|
-
*/
|
|
110
|
-
accountNumber: string;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Describes the message vultisig.keysign.v1.SignDirect.
|
|
114
|
-
* Use `create(SignDirectSchema)` to create a new message.
|
|
115
|
-
*/
|
|
116
|
-
export declare const SignDirectSchema: GenMessage<SignDirect>;
|
|
117
|
-
/**
|
|
118
|
-
* @generated from message vultisig.keysign.v1.SignSolana
|
|
119
|
-
*/
|
|
120
|
-
export type SignSolana = Message<"vultisig.keysign.v1.SignSolana"> & {
|
|
121
|
-
/**
|
|
122
|
-
* base64 encoded transactions
|
|
123
|
-
*
|
|
124
|
-
* @generated from field: repeated string raw_transactions = 1;
|
|
125
|
-
*/
|
|
126
|
-
rawTransactions: string[];
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* Describes the message vultisig.keysign.v1.SignSolana.
|
|
130
|
-
* Use `create(SignSolanaSchema)` to create a new message.
|
|
131
|
-
*/
|
|
132
|
-
export declare const SignSolanaSchema: GenMessage<SignSolana>;
|
|
133
|
-
/**
|
|
134
|
-
* @generated from message vultisig.keysign.v1.TonMessage
|
|
135
|
-
*/
|
|
136
|
-
export type TonMessage = Message<"vultisig.keysign.v1.TonMessage"> & {
|
|
137
|
-
/**
|
|
138
|
-
* @generated from field: string to = 1;
|
|
139
|
-
*/
|
|
140
|
-
to: string;
|
|
141
|
-
/**
|
|
142
|
-
* @generated from field: string amount = 2;
|
|
143
|
-
*/
|
|
144
|
-
amount: string;
|
|
145
|
-
/**
|
|
146
|
-
* @generated from field: optional string payload = 3;
|
|
147
|
-
*/
|
|
148
|
-
payload?: string;
|
|
149
|
-
/**
|
|
150
|
-
* @generated from field: optional string state_init = 4;
|
|
151
|
-
*/
|
|
152
|
-
stateInit?: string;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Describes the message vultisig.keysign.v1.TonMessage.
|
|
156
|
-
* Use `create(TonMessageSchema)` to create a new message.
|
|
157
|
-
*/
|
|
158
|
-
export declare const TonMessageSchema: GenMessage<TonMessage>;
|
|
159
|
-
/**
|
|
160
|
-
* @generated from message vultisig.keysign.v1.SignTon
|
|
161
|
-
*/
|
|
162
|
-
export type SignTon = Message<"vultisig.keysign.v1.SignTon"> & {
|
|
163
|
-
/**
|
|
164
|
-
* @generated from field: repeated vultisig.keysign.v1.TonMessage ton_messages = 2;
|
|
165
|
-
*/
|
|
166
|
-
tonMessages: TonMessage[];
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* Describes the message vultisig.keysign.v1.SignTon.
|
|
170
|
-
* Use `create(SignTonSchema)` to create a new message.
|
|
171
|
-
*/
|
|
172
|
-
export declare const SignTonSchema: GenMessage<SignTon>;
|
|
173
|
-
/**
|
|
174
|
-
* Pre-built Sui Programmable Transaction Block supplied by a dApp via the
|
|
175
|
-
* Sui Wallet Standard. The bytes are already serialized in BCS form, ready
|
|
176
|
-
* for the signing pipeline to digest and sign
|
|
177
|
-
*
|
|
178
|
-
* @generated from message vultisig.keysign.v1.SignSui
|
|
179
|
-
*/
|
|
180
|
-
export type SignSui = Message<"vultisig.keysign.v1.SignSui"> & {
|
|
181
|
-
/**
|
|
182
|
-
* base64-encoded TransactionData BCS bytes
|
|
183
|
-
*
|
|
184
|
-
* @generated from field: string unsigned_tx_msg = 1;
|
|
185
|
-
*/
|
|
186
|
-
unsignedTxMsg: string;
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* Describes the message vultisig.keysign.v1.SignSui.
|
|
190
|
-
* Use `create(SignSuiSchema)` to create a new message.
|
|
191
|
-
*/
|
|
192
|
-
export declare const SignSuiSchema: GenMessage<SignSui>;
|
|
193
|
-
/**
|
|
194
|
-
* Pre-built XRPL transaction supplied by a dApp. Carried verbatim so types the
|
|
195
|
-
* KeysignPayload cannot otherwise express — offers, trust lines, escrows —
|
|
196
|
-
* survive the round trip. Every signer rebuilds its signing input from this
|
|
197
|
-
* same JSON, so each party signs identical bytes.
|
|
198
|
-
*
|
|
199
|
-
* @generated from message vultisig.keysign.v1.SignRipple
|
|
200
|
-
*/
|
|
201
|
-
export type SignRipple = Message<"vultisig.keysign.v1.SignRipple"> & {
|
|
202
|
-
/**
|
|
203
|
-
* XRPL transaction JSON
|
|
204
|
-
*
|
|
205
|
-
* @generated from field: string raw_json = 1;
|
|
206
|
-
*/
|
|
207
|
-
rawJson: string;
|
|
208
|
-
};
|
|
209
|
-
/**
|
|
210
|
-
* Describes the message vultisig.keysign.v1.SignRipple.
|
|
211
|
-
* Use `create(SignRippleSchema)` to create a new message.
|
|
212
|
-
*/
|
|
213
|
-
export declare const SignRippleSchema: GenMessage<SignRipple>;
|
|
214
|
-
/**
|
|
215
|
-
* @generated from message vultisig.keysign.v1.WasmExecuteContractPayload
|
|
216
|
-
*/
|
|
217
|
-
export type WasmExecuteContractPayload = Message<"vultisig.keysign.v1.WasmExecuteContractPayload"> & {
|
|
218
|
-
/**
|
|
219
|
-
* @generated from field: string sender_address = 1;
|
|
220
|
-
*/
|
|
221
|
-
senderAddress: string;
|
|
222
|
-
/**
|
|
223
|
-
* @generated from field: string contract_address = 2;
|
|
224
|
-
*/
|
|
225
|
-
contractAddress: string;
|
|
226
|
-
/**
|
|
227
|
-
* @generated from field: string execute_msg = 3;
|
|
228
|
-
*/
|
|
229
|
-
executeMsg: string;
|
|
230
|
-
/**
|
|
231
|
-
* @generated from field: repeated vultisig.keysign.v1.CosmosCoin coins = 4;
|
|
232
|
-
*/
|
|
233
|
-
coins: CosmosCoin[];
|
|
234
|
-
};
|
|
235
|
-
/**
|
|
236
|
-
* Describes the message vultisig.keysign.v1.WasmExecuteContractPayload.
|
|
237
|
-
* Use `create(WasmExecuteContractPayloadSchema)` to create a new message.
|
|
238
|
-
*/
|
|
239
|
-
export declare const WasmExecuteContractPayloadSchema: GenMessage<WasmExecuteContractPayload>;
|
|
240
|
-
/**
|
|
241
|
-
* A single Bitcoin transaction input decomposed from a PSBT.
|
|
242
|
-
* Contains all data needed for sighash computation and verification.
|
|
243
|
-
*
|
|
244
|
-
* @generated from message vultisig.keysign.v1.BitcoinInput
|
|
245
|
-
*/
|
|
246
|
-
export type BitcoinInput = Message<"vultisig.keysign.v1.BitcoinInput"> & {
|
|
247
|
-
/**
|
|
248
|
-
* Previous txid (hex, big-endian)
|
|
249
|
-
*
|
|
250
|
-
* @generated from field: string hash = 1;
|
|
251
|
-
*/
|
|
252
|
-
hash: string;
|
|
253
|
-
/**
|
|
254
|
-
* Previous output index (vout)
|
|
255
|
-
*
|
|
256
|
-
* @generated from field: uint32 index = 2;
|
|
257
|
-
*/
|
|
258
|
-
index: number;
|
|
259
|
-
/**
|
|
260
|
-
* Satoshis (from witness UTXO)
|
|
261
|
-
*
|
|
262
|
-
* @generated from field: int64 amount = 3;
|
|
263
|
-
*/
|
|
264
|
-
amount: bigint;
|
|
265
|
-
/**
|
|
266
|
-
* Hex scriptPubKey of the UTXO being spent
|
|
267
|
-
*
|
|
268
|
-
* @generated from field: string script_pub_key = 4;
|
|
269
|
-
*/
|
|
270
|
-
scriptPubKey: string;
|
|
271
|
-
/**
|
|
272
|
-
* "p2wpkh", "p2pkh", "p2tr", "p2sh-p2wpkh"
|
|
273
|
-
*
|
|
274
|
-
* @generated from field: string script_type = 5;
|
|
275
|
-
*/
|
|
276
|
-
scriptType: string;
|
|
277
|
-
/**
|
|
278
|
-
* BIP-143/341 sighash flag; when absent, treat as SIGHASH_ALL (1)
|
|
279
|
-
*
|
|
280
|
-
* @generated from field: optional uint32 sighash_type = 6;
|
|
281
|
-
*/
|
|
282
|
-
sighashType?: number;
|
|
283
|
-
/**
|
|
284
|
-
* Whether this device signs this input
|
|
285
|
-
*
|
|
286
|
-
* @generated from field: bool is_ours = 7;
|
|
287
|
-
*/
|
|
288
|
-
isOurs: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* For P2SH-P2WPKH: hex redeem script
|
|
291
|
-
*
|
|
292
|
-
* @generated from field: optional string redeem_script = 8;
|
|
293
|
-
*/
|
|
294
|
-
redeemScript?: string;
|
|
295
|
-
/**
|
|
296
|
-
* nSequence; when absent, treat as 0xFFFFFFFF
|
|
297
|
-
*
|
|
298
|
-
* @generated from field: optional uint32 sequence = 9;
|
|
299
|
-
*/
|
|
300
|
-
sequence?: number;
|
|
301
|
-
};
|
|
302
|
-
/**
|
|
303
|
-
* Describes the message vultisig.keysign.v1.BitcoinInput.
|
|
304
|
-
* Use `create(BitcoinInputSchema)` to create a new message.
|
|
305
|
-
*/
|
|
306
|
-
export declare const BitcoinInputSchema: GenMessage<BitcoinInput>;
|
|
307
|
-
/**
|
|
308
|
-
* A single Bitcoin transaction output decomposed from a PSBT.
|
|
2
|
+
* Compatibility export for the shared signing protobuf definitions.
|
|
309
3
|
*
|
|
310
|
-
*
|
|
311
|
-
|
|
312
|
-
export type BitcoinOutput = Message<"vultisig.keysign.v1.BitcoinOutput"> & {
|
|
313
|
-
/**
|
|
314
|
-
* Satoshis
|
|
315
|
-
*
|
|
316
|
-
* @generated from field: int64 amount = 1;
|
|
317
|
-
*/
|
|
318
|
-
amount: bigint;
|
|
319
|
-
/**
|
|
320
|
-
* Decoded address (empty for OP_RETURN)
|
|
321
|
-
*
|
|
322
|
-
* @generated from field: string address = 2;
|
|
323
|
-
*/
|
|
324
|
-
address: string;
|
|
325
|
-
/**
|
|
326
|
-
* Hex data if OP_RETURN
|
|
327
|
-
*
|
|
328
|
-
* @generated from field: optional string op_return_data = 3;
|
|
329
|
-
*/
|
|
330
|
-
opReturnData?: string;
|
|
331
|
-
/**
|
|
332
|
-
* Hex output scriptPubKey
|
|
333
|
-
*
|
|
334
|
-
* @generated from field: string script_pub_key = 4;
|
|
335
|
-
*/
|
|
336
|
-
scriptPubKey: string;
|
|
337
|
-
/**
|
|
338
|
-
* Whether output is change back to sender
|
|
339
|
-
*
|
|
340
|
-
* @generated from field: bool is_change = 5;
|
|
341
|
-
*/
|
|
342
|
-
isChange: boolean;
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* Describes the message vultisig.keysign.v1.BitcoinOutput.
|
|
346
|
-
* Use `create(BitcoinOutputSchema)` to create a new message.
|
|
347
|
-
*/
|
|
348
|
-
export declare const BitcoinOutputSchema: GenMessage<BitcoinOutput>;
|
|
349
|
-
/**
|
|
350
|
-
* Structured PSBT representation for Bitcoin dApp signing.
|
|
351
|
-
* Decomposes a BIP-174 PSBT into verifiable fields so co-signing
|
|
352
|
-
* devices can display transaction details and compute exact sighashes
|
|
353
|
-
* without receiving an opaque blob.
|
|
354
|
-
*
|
|
355
|
-
* @generated from message vultisig.keysign.v1.SignBitcoin
|
|
356
|
-
*/
|
|
357
|
-
export type SignBitcoin = Message<"vultisig.keysign.v1.SignBitcoin"> & {
|
|
358
|
-
/**
|
|
359
|
-
* Transaction version (typically 1 or 2)
|
|
360
|
-
*
|
|
361
|
-
* @generated from field: uint32 version = 1;
|
|
362
|
-
*/
|
|
363
|
-
version: number;
|
|
364
|
-
/**
|
|
365
|
-
* Transaction locktime
|
|
366
|
-
*
|
|
367
|
-
* @generated from field: uint32 locktime = 2;
|
|
368
|
-
*/
|
|
369
|
-
locktime: number;
|
|
370
|
-
/**
|
|
371
|
-
* All inputs in exact PSBT order
|
|
372
|
-
*
|
|
373
|
-
* @generated from field: repeated vultisig.keysign.v1.BitcoinInput inputs = 3;
|
|
374
|
-
*/
|
|
375
|
-
inputs: BitcoinInput[];
|
|
376
|
-
/**
|
|
377
|
-
* All outputs in exact PSBT order
|
|
378
|
-
*
|
|
379
|
-
* @generated from field: repeated vultisig.keysign.v1.BitcoinOutput outputs = 4;
|
|
380
|
-
*/
|
|
381
|
-
outputs: BitcoinOutput[];
|
|
382
|
-
};
|
|
383
|
-
/**
|
|
384
|
-
* Describes the message vultisig.keysign.v1.SignBitcoin.
|
|
385
|
-
* Use `create(SignBitcoinSchema)` to create a new message.
|
|
4
|
+
* The canonical generated source lives in the leaf @vultisig/mpc-types
|
|
5
|
+
* package so core-chain and core-mpc can consume it without a package cycle.
|
|
386
6
|
*/
|
|
387
|
-
export
|
|
7
|
+
export * from "@vultisig/mpc-types/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb";
|
|
388
8
|
//# sourceMappingURL=wasm_execute_contract_payload_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wasm_execute_contract_payload_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/mpc/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wasm_execute_contract_payload_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/mpc/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,gFAAgF,CAAC"}
|
|
@@ -1,79 +1,8 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
-
// @generated from file vultisig/keysign/v1/wasm_execute_contract_payload.proto (package vultisig.keysign.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
1
|
/**
|
|
6
|
-
*
|
|
2
|
+
* Compatibility export for the shared signing protobuf definitions.
|
|
3
|
+
*
|
|
4
|
+
* The canonical generated source lives in the leaf @vultisig/mpc-types
|
|
5
|
+
* package so core-chain and core-mpc can consume it without a package cycle.
|
|
7
6
|
*/
|
|
8
|
-
export
|
|
9
|
-
/**
|
|
10
|
-
* Describes the message vultisig.keysign.v1.CosmosCoin.
|
|
11
|
-
* Use `create(CosmosCoinSchema)` to create a new message.
|
|
12
|
-
*/
|
|
13
|
-
export const CosmosCoinSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 0);
|
|
14
|
-
/**
|
|
15
|
-
* Describes the message vultisig.keysign.v1.CosmosFee.
|
|
16
|
-
* Use `create(CosmosFeeSchema)` to create a new message.
|
|
17
|
-
*/
|
|
18
|
-
export const CosmosFeeSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 1);
|
|
19
|
-
/**
|
|
20
|
-
* Describes the message vultisig.keysign.v1.CosmosMsg.
|
|
21
|
-
* Use `create(CosmosMsgSchema)` to create a new message.
|
|
22
|
-
*/
|
|
23
|
-
export const CosmosMsgSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 2);
|
|
24
|
-
/**
|
|
25
|
-
* Describes the message vultisig.keysign.v1.SignAmino.
|
|
26
|
-
* Use `create(SignAminoSchema)` to create a new message.
|
|
27
|
-
*/
|
|
28
|
-
export const SignAminoSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 3);
|
|
29
|
-
/**
|
|
30
|
-
* Describes the message vultisig.keysign.v1.SignDirect.
|
|
31
|
-
* Use `create(SignDirectSchema)` to create a new message.
|
|
32
|
-
*/
|
|
33
|
-
export const SignDirectSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 4);
|
|
34
|
-
/**
|
|
35
|
-
* Describes the message vultisig.keysign.v1.SignSolana.
|
|
36
|
-
* Use `create(SignSolanaSchema)` to create a new message.
|
|
37
|
-
*/
|
|
38
|
-
export const SignSolanaSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 5);
|
|
39
|
-
/**
|
|
40
|
-
* Describes the message vultisig.keysign.v1.TonMessage.
|
|
41
|
-
* Use `create(TonMessageSchema)` to create a new message.
|
|
42
|
-
*/
|
|
43
|
-
export const TonMessageSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 6);
|
|
44
|
-
/**
|
|
45
|
-
* Describes the message vultisig.keysign.v1.SignTon.
|
|
46
|
-
* Use `create(SignTonSchema)` to create a new message.
|
|
47
|
-
*/
|
|
48
|
-
export const SignTonSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 7);
|
|
49
|
-
/**
|
|
50
|
-
* Describes the message vultisig.keysign.v1.SignSui.
|
|
51
|
-
* Use `create(SignSuiSchema)` to create a new message.
|
|
52
|
-
*/
|
|
53
|
-
export const SignSuiSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 8);
|
|
54
|
-
/**
|
|
55
|
-
* Describes the message vultisig.keysign.v1.SignRipple.
|
|
56
|
-
* Use `create(SignRippleSchema)` to create a new message.
|
|
57
|
-
*/
|
|
58
|
-
export const SignRippleSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 9);
|
|
59
|
-
/**
|
|
60
|
-
* Describes the message vultisig.keysign.v1.WasmExecuteContractPayload.
|
|
61
|
-
* Use `create(WasmExecuteContractPayloadSchema)` to create a new message.
|
|
62
|
-
*/
|
|
63
|
-
export const WasmExecuteContractPayloadSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 10);
|
|
64
|
-
/**
|
|
65
|
-
* Describes the message vultisig.keysign.v1.BitcoinInput.
|
|
66
|
-
* Use `create(BitcoinInputSchema)` to create a new message.
|
|
67
|
-
*/
|
|
68
|
-
export const BitcoinInputSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 11);
|
|
69
|
-
/**
|
|
70
|
-
* Describes the message vultisig.keysign.v1.BitcoinOutput.
|
|
71
|
-
* Use `create(BitcoinOutputSchema)` to create a new message.
|
|
72
|
-
*/
|
|
73
|
-
export const BitcoinOutputSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 12);
|
|
74
|
-
/**
|
|
75
|
-
* Describes the message vultisig.keysign.v1.SignBitcoin.
|
|
76
|
-
* Use `create(SignBitcoinSchema)` to create a new message.
|
|
77
|
-
*/
|
|
78
|
-
export const SignBitcoinSchema = /*@__PURE__*/ messageDesc(file_vultisig_keysign_v1_wasm_execute_contract_payload, 13);
|
|
7
|
+
export * from "@vultisig/mpc-types/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb";
|
|
79
8
|
//# sourceMappingURL=wasm_execute_contract_payload_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wasm_execute_contract_payload_pb.js","sourceRoot":"","sources":["../../../../../../../../packages/core/mpc/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"wasm_execute_contract_payload_pb.js","sourceRoot":"","sources":["../../../../../../../../packages/core/mpc/types/vultisig/keysign/v1/wasm_execute_contract_payload_pb.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,gFAAgF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vultisig/core-mpc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "MPC, keysign, and vault types shared across Vultisig clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -1094,13 +1094,13 @@
|
|
|
1094
1094
|
"@noble/hashes": "^2.2.0",
|
|
1095
1095
|
"@solana/web3.js": "^1.98.4",
|
|
1096
1096
|
"@trustwallet/wallet-core": "^4.7.3",
|
|
1097
|
-
"@vultisig/core-chain": "
|
|
1097
|
+
"@vultisig/core-chain": "5.0.0",
|
|
1098
1098
|
"@vultisig/core-config": "0.9.1",
|
|
1099
1099
|
"@vultisig/lib-dkls": "0.9.0",
|
|
1100
1100
|
"@vultisig/lib-mldsa": "0.9.0",
|
|
1101
1101
|
"@vultisig/lib-schnorr": "0.9.0",
|
|
1102
1102
|
"@vultisig/lib-utils": "0.10.6",
|
|
1103
|
-
"@vultisig/mpc-types": "0.
|
|
1103
|
+
"@vultisig/mpc-types": "0.3.0",
|
|
1104
1104
|
"bitcoinjs-lib": "^7.0.1",
|
|
1105
1105
|
"bs58": "^6.0.0",
|
|
1106
1106
|
"buffer": "^6.0.3",
|