bulk-keychain-wasm 0.1.21 → 0.1.24
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/bulk_keychain_wasm.d.ts +57 -57
- package/bulk_keychain_wasm.js +235 -145
- package/bulk_keychain_wasm_bg.wasm +0 -0
- package/package.json +2 -2
package/bulk_keychain_wasm.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export class WasmPreparedMessage {
|
|
|
84
84
|
/**
|
|
85
85
|
* Get the nonce
|
|
86
86
|
*/
|
|
87
|
-
readonly nonce:
|
|
87
|
+
readonly nonce: string;
|
|
88
88
|
/**
|
|
89
89
|
* Get the pre-computed order ID (single-order tx only)
|
|
90
90
|
*/
|
|
@@ -116,11 +116,11 @@ export class WasmSigner {
|
|
|
116
116
|
/**
|
|
117
117
|
* Create a signer from base58-encoded secret key
|
|
118
118
|
*/
|
|
119
|
-
static fromBase58(s: string): WasmSigner;
|
|
119
|
+
static fromBase58(s: string, signature_domain: string): WasmSigner;
|
|
120
120
|
/**
|
|
121
121
|
* Create a new signer from a keypair
|
|
122
122
|
*/
|
|
123
|
-
constructor(keypair: WasmKeypair);
|
|
123
|
+
constructor(keypair: WasmKeypair, signature_domain: string);
|
|
124
124
|
/**
|
|
125
125
|
* Enable/disable batch order ID computation for multi-order transactions.
|
|
126
126
|
*/
|
|
@@ -132,23 +132,23 @@ export class WasmSigner {
|
|
|
132
132
|
/**
|
|
133
133
|
* Sign a single order/cancel/cancelAll
|
|
134
134
|
*/
|
|
135
|
-
sign(order: any, nonce?:
|
|
135
|
+
sign(order: any, nonce?: string | null): any;
|
|
136
136
|
/**
|
|
137
137
|
* Sign agent wallet creation/deletion
|
|
138
138
|
*/
|
|
139
|
-
signAgentWallet(agent_pubkey: string, _delete: boolean, nonce?:
|
|
139
|
+
signAgentWallet(agent_pubkey: string, _delete: boolean, nonce?: string | null): any;
|
|
140
140
|
/**
|
|
141
141
|
* Sign multiple orders - each becomes its own transaction (parallel)
|
|
142
142
|
*/
|
|
143
|
-
signAll(orders: any, base_nonce?:
|
|
143
|
+
signAll(orders: any, base_nonce?: string | null): any;
|
|
144
144
|
/**
|
|
145
145
|
* Sign builder-code recipient approval (`abc`)
|
|
146
146
|
*/
|
|
147
|
-
signApproveBuilderCode(to_pubkey: string, fee: number, nonce?:
|
|
147
|
+
signApproveBuilderCode(to_pubkey: string, fee: number, nonce?: string | null): any;
|
|
148
148
|
/**
|
|
149
149
|
* Sign builder-code recipient approval (`abc`)
|
|
150
150
|
*/
|
|
151
|
-
signApproveCommissionFee(to_pubkey: string, fee: number, nonce?:
|
|
151
|
+
signApproveCommissionFee(to_pubkey: string, fee: number, nonce?: string | null): any;
|
|
152
152
|
/**
|
|
153
153
|
* Sign raw message bytes and return a base58 Ed25519 signature.
|
|
154
154
|
*/
|
|
@@ -156,51 +156,51 @@ export class WasmSigner {
|
|
|
156
156
|
/**
|
|
157
157
|
* Sign a multisig creation
|
|
158
158
|
*/
|
|
159
|
-
signCreateMultisig(signers: any, threshold: number, time_lock_secs?: number | null, proposal_lifetime_secs?: number | null, nonce?:
|
|
159
|
+
signCreateMultisig(signers: any, threshold: number, time_lock_secs?: number | null, proposal_lifetime_secs?: number | null, nonce?: string | null): any;
|
|
160
160
|
/**
|
|
161
161
|
* Sign a sub-account creation (optional initial margin transfer)
|
|
162
162
|
*/
|
|
163
|
-
signCreateSubAccount(name: string, margin_amount?: number | null, nonce?:
|
|
163
|
+
signCreateSubAccount(name: string, margin_amount?: number | null, nonce?: string | null): any;
|
|
164
164
|
/**
|
|
165
165
|
* Sign a faucet request (testnet only)
|
|
166
166
|
*/
|
|
167
|
-
signFaucet(nonce?:
|
|
167
|
+
signFaucet(nonce?: string | null): any;
|
|
168
168
|
/**
|
|
169
169
|
* Sign multiple orders atomically in ONE transaction
|
|
170
170
|
*/
|
|
171
|
-
signGroup(orders: any, nonce?:
|
|
171
|
+
signGroup(orders: any, nonce?: string | null): any;
|
|
172
172
|
/**
|
|
173
173
|
* Sign a multisig approval
|
|
174
174
|
*/
|
|
175
|
-
signMultisigApprove(multisig: string, proposal_id: number, nonce?:
|
|
175
|
+
signMultisigApprove(multisig: string, proposal_id: number, nonce?: string | null): any;
|
|
176
176
|
/**
|
|
177
177
|
* Sign a multisig cancellation
|
|
178
178
|
*/
|
|
179
|
-
signMultisigCancel(multisig: string, proposal_id: number, nonce?:
|
|
179
|
+
signMultisigCancel(multisig: string, proposal_id: number, nonce?: string | null): any;
|
|
180
180
|
/**
|
|
181
181
|
* Sign a multisig execution
|
|
182
182
|
*/
|
|
183
|
-
signMultisigExecute(multisig: string, proposal_id: number, nonce?:
|
|
183
|
+
signMultisigExecute(multisig: string, proposal_id: number, nonce?: string | null): any;
|
|
184
184
|
/**
|
|
185
185
|
* Sign a multisig proposal
|
|
186
186
|
*/
|
|
187
|
-
signMultisigPropose(multisig: string, actions: any, nonce?:
|
|
187
|
+
signMultisigPropose(multisig: string, actions: any, nonce?: string | null): any;
|
|
188
188
|
/**
|
|
189
189
|
* Sign a multisig rejection
|
|
190
190
|
*/
|
|
191
|
-
signMultisigReject(multisig: string, proposal_id: number, nonce?:
|
|
191
|
+
signMultisigReject(multisig: string, proposal_id: number, nonce?: string | null): any;
|
|
192
192
|
/**
|
|
193
193
|
* Sign one or more oracle price updates (`px`)
|
|
194
194
|
*/
|
|
195
|
-
signOraclePrices(oracles: any, nonce?:
|
|
195
|
+
signOraclePrices(oracles: any, nonce?: string | null): any;
|
|
196
196
|
/**
|
|
197
197
|
* @deprecated Use sign(), signAll(), or signGroup() instead
|
|
198
198
|
*/
|
|
199
|
-
signOrder(orders: any, nonce?:
|
|
199
|
+
signOrder(orders: any, nonce?: string | null): any;
|
|
200
200
|
/**
|
|
201
201
|
* @deprecated Use signAll() instead
|
|
202
202
|
*/
|
|
203
|
-
signOrdersBatch(batches: any, base_nonce?:
|
|
203
|
+
signOrdersBatch(batches: any, base_nonce?: string | null): any;
|
|
204
204
|
/**
|
|
205
205
|
* Sign a prepared message and finalize it into a signed transaction.
|
|
206
206
|
*
|
|
@@ -211,14 +211,14 @@ export class WasmSigner {
|
|
|
211
211
|
/**
|
|
212
212
|
* Sign a batch Pyth oracle update (`o`)
|
|
213
213
|
*/
|
|
214
|
-
signPythOracle(oracles: any, nonce?:
|
|
214
|
+
signPythOracle(oracles: any, nonce?: string | null): any;
|
|
215
215
|
/**
|
|
216
216
|
* Sign a sub-account removal
|
|
217
217
|
*
|
|
218
218
|
* @param toRemove - sub-account pubkey to remove (base58)
|
|
219
219
|
* @param nonce - optional nonce
|
|
220
220
|
*/
|
|
221
|
-
signRemoveSubAccount(to_remove: string, nonce?:
|
|
221
|
+
signRemoveSubAccount(to_remove: string, nonce?: string | null): any;
|
|
222
222
|
/**
|
|
223
223
|
* Sign a sub-account rename
|
|
224
224
|
*
|
|
@@ -226,15 +226,15 @@ export class WasmSigner {
|
|
|
226
226
|
* @param name - new display name
|
|
227
227
|
* @param nonce - optional nonce
|
|
228
228
|
*/
|
|
229
|
-
signRenameSubAccount(subaccount: string, name: string, nonce?:
|
|
229
|
+
signRenameSubAccount(subaccount: string, name: string, nonce?: string | null): any;
|
|
230
230
|
/**
|
|
231
231
|
* Sign builder-code recipient revocation (`rbc`)
|
|
232
232
|
*/
|
|
233
|
-
signRevokeBuilderCode(to_pubkey: string, nonce?:
|
|
233
|
+
signRevokeBuilderCode(to_pubkey: string, nonce?: string | null): any;
|
|
234
234
|
/**
|
|
235
235
|
* Sign builder-code recipient revocation (`rbc`)
|
|
236
236
|
*/
|
|
237
|
-
signRevokeCommissionFee(to_pubkey: string, nonce?:
|
|
237
|
+
signRevokeCommissionFee(to_pubkey: string, nonce?: string | null): any;
|
|
238
238
|
/**
|
|
239
239
|
* Sign a margin transfer between accounts
|
|
240
240
|
*
|
|
@@ -244,27 +244,27 @@ export class WasmSigner {
|
|
|
244
244
|
* @param marginAmount - amount to transfer
|
|
245
245
|
* @param nonce - optional nonce
|
|
246
246
|
*/
|
|
247
|
-
signTransfer(kind: string | null | undefined, from_pubkey: string, to_pubkey: string, margin_amount: number, nonce?:
|
|
247
|
+
signTransfer(kind: string | null | undefined, from_pubkey: string, to_pubkey: string, margin_amount: number, nonce?: string | null): any;
|
|
248
248
|
/**
|
|
249
249
|
* Sign a liquidator config update (`liq`)
|
|
250
250
|
*/
|
|
251
|
-
signUpdateLiquidatorConfig(config: any, nonce?:
|
|
251
|
+
signUpdateLiquidatorConfig(config: any, nonce?: string | null): any;
|
|
252
252
|
/**
|
|
253
253
|
* Sign a multisig policy update
|
|
254
254
|
*/
|
|
255
|
-
signUpdateMultisigPolicy(multisig: string, signers: any, threshold: number, time_lock_secs?: number | null, proposal_lifetime_secs?: number | null, nonce?:
|
|
255
|
+
signUpdateMultisigPolicy(multisig: string, signers: any, threshold: number, time_lock_secs?: number | null, proposal_lifetime_secs?: number | null, nonce?: string | null): any;
|
|
256
256
|
/**
|
|
257
257
|
* Sign user settings update
|
|
258
258
|
*/
|
|
259
|
-
signUserSettings(settings: any, nonce?:
|
|
259
|
+
signUserSettings(settings: any, nonce?: string | null): any;
|
|
260
260
|
/**
|
|
261
261
|
* Sign whitelist/un-whitelist faucet access (`whitelistFaucet`)
|
|
262
262
|
*/
|
|
263
|
-
signWhitelistFaucet(target_pubkey: string, whitelist: boolean, nonce?:
|
|
263
|
+
signWhitelistFaucet(target_pubkey: string, whitelist: boolean, nonce?: string | null): any;
|
|
264
264
|
/**
|
|
265
265
|
* Create a signer with nonce management
|
|
266
266
|
*/
|
|
267
|
-
static withNonceManager(keypair: WasmKeypair, strategy: string): WasmSigner;
|
|
267
|
+
static withNonceManager(keypair: WasmKeypair, strategy: string, signature_domain: string): WasmSigner;
|
|
268
268
|
/**
|
|
269
269
|
* Get the signer's public key
|
|
270
270
|
*/
|
|
@@ -279,9 +279,9 @@ export class WasmSigner {
|
|
|
279
279
|
export function computeOrderId(wincode_bytes: Uint8Array): string;
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
|
-
* Get current timestamp in
|
|
282
|
+
* Get the current Unix timestamp in nanoseconds as a decimal string.
|
|
283
283
|
*/
|
|
284
|
-
export function currentTimestamp():
|
|
284
|
+
export function currentTimestamp(): string;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Finalize a prepared message with a signature
|
|
@@ -301,7 +301,7 @@ export function init(): void;
|
|
|
301
301
|
*
|
|
302
302
|
* @param agentPubkey - The agent wallet public key to authorize
|
|
303
303
|
* @param delete - Whether to delete (true) or add (false) the agent
|
|
304
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
304
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
305
305
|
*/
|
|
306
306
|
export function prepareAgentWallet(agent_pubkey: string, _delete: boolean, options: any): WasmPreparedMessage;
|
|
307
307
|
|
|
@@ -309,7 +309,7 @@ export function prepareAgentWallet(agent_pubkey: string, _delete: boolean, optio
|
|
|
309
309
|
* Prepare multiple orders - each becomes its own transaction (parallel)
|
|
310
310
|
*
|
|
311
311
|
* @param orders - Array of orders to prepare
|
|
312
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
312
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
313
313
|
* @returns Array of PreparedMessage
|
|
314
314
|
*/
|
|
315
315
|
export function prepareAll(orders: any, options: any): WasmPreparedMessage[];
|
|
@@ -324,7 +324,7 @@ export function prepareApproveBuilderCode(to_pubkey: string, fee: number, option
|
|
|
324
324
|
*
|
|
325
325
|
* @param toPubkey - Builder-code recipient public key
|
|
326
326
|
* @param fee - Maximum builder-code fee in bps
|
|
327
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
327
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
328
328
|
*/
|
|
329
329
|
export function prepareApproveCommissionFee(to_pubkey: string, fee: number, options: any): WasmPreparedMessage;
|
|
330
330
|
|
|
@@ -333,7 +333,7 @@ export function prepareApproveCommissionFee(to_pubkey: string, fee: number, opti
|
|
|
333
333
|
*
|
|
334
334
|
* @param signers - signer pubkeys (base58)
|
|
335
335
|
* @param threshold - approvals required
|
|
336
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
336
|
+
* @param options - { account: string, signer?: string, nonce?: string, timeLockSecs?: number, proposalLifetimeSecs?: number }
|
|
337
337
|
*/
|
|
338
338
|
export function prepareCreateMultisig(signers: any, threshold: number, options: any): WasmPreparedMessage;
|
|
339
339
|
|
|
@@ -341,14 +341,14 @@ export function prepareCreateMultisig(signers: any, threshold: number, options:
|
|
|
341
341
|
* Prepare a sub-account creation for external signing
|
|
342
342
|
*
|
|
343
343
|
* @param name - Sub-account display name
|
|
344
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
344
|
+
* @param options - { account: string, signer?: string, nonce?: string, marginAmount?: number }
|
|
345
345
|
*/
|
|
346
346
|
export function prepareCreateSubAccount(name: string, options: any): WasmPreparedMessage;
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Prepare faucet request for external signing
|
|
350
350
|
*
|
|
351
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
351
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
352
352
|
*/
|
|
353
353
|
export function prepareFaucet(options: any): WasmPreparedMessage;
|
|
354
354
|
|
|
@@ -358,7 +358,7 @@ export function prepareFaucet(options: any): WasmPreparedMessage;
|
|
|
358
358
|
* Use for bracket orders (entry + stop loss + take profit).
|
|
359
359
|
*
|
|
360
360
|
* @param orders - Array of orders for the atomic transaction
|
|
361
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
361
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
362
362
|
* @returns Single PreparedMessage containing all orders
|
|
363
363
|
*/
|
|
364
364
|
export function prepareGroup(orders: any, options: any): WasmPreparedMessage;
|
|
@@ -395,7 +395,7 @@ export function prepareMultisigReject(multisig: string, proposal_id: number, opt
|
|
|
395
395
|
* to sign with an external wallet (like Phantom, Privy, etc).
|
|
396
396
|
*
|
|
397
397
|
* @param order - The order to prepare
|
|
398
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
398
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
399
399
|
* @returns PreparedMessage with messageBytes to sign
|
|
400
400
|
*
|
|
401
401
|
* @example
|
|
@@ -411,7 +411,7 @@ export function prepareOrder(order: any, options: any): WasmPreparedMessage;
|
|
|
411
411
|
* Prepare a sub-account removal for external signing
|
|
412
412
|
*
|
|
413
413
|
* @param toRemove - sub-account pubkey to remove (base58)
|
|
414
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
414
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
415
415
|
*/
|
|
416
416
|
export function prepareRemoveSubAccount(to_remove: string, options: any): WasmPreparedMessage;
|
|
417
417
|
|
|
@@ -420,7 +420,7 @@ export function prepareRemoveSubAccount(to_remove: string, options: any): WasmPr
|
|
|
420
420
|
*
|
|
421
421
|
* @param subaccount - sub-account pubkey to rename (base58)
|
|
422
422
|
* @param name - new display name
|
|
423
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
423
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
424
424
|
*/
|
|
425
425
|
export function prepareRenameSubAccount(subaccount: string, name: string, options: any): WasmPreparedMessage;
|
|
426
426
|
|
|
@@ -433,7 +433,7 @@ export function prepareRevokeBuilderCode(to_pubkey: string, options: any): WasmP
|
|
|
433
433
|
* Prepare builder-code recipient revocation for external signing
|
|
434
434
|
*
|
|
435
435
|
* @param toPubkey - Builder-code recipient public key
|
|
436
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
436
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
437
437
|
*/
|
|
438
438
|
export function prepareRevokeCommissionFee(to_pubkey: string, options: any): WasmPreparedMessage;
|
|
439
439
|
|
|
@@ -443,7 +443,7 @@ export function prepareRevokeCommissionFee(to_pubkey: string, options: any): Was
|
|
|
443
443
|
* @param fromPubkey - source account pubkey (base58)
|
|
444
444
|
* @param toPubkey - destination account pubkey (base58)
|
|
445
445
|
* @param marginAmount - amount to transfer
|
|
446
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
446
|
+
* @param options - { account: string, signer?: string, nonce?: string, kind?: "internal" | "external" }
|
|
447
447
|
*/
|
|
448
448
|
export function prepareTransfer(from_pubkey: string, to_pubkey: string, margin_amount: number, options: any): WasmPreparedMessage;
|
|
449
449
|
|
|
@@ -451,7 +451,7 @@ export function prepareTransfer(from_pubkey: string, to_pubkey: string, margin_a
|
|
|
451
451
|
* Prepare a liquidator config update for external signing
|
|
452
452
|
*
|
|
453
453
|
* @param config - { crossExposure, scoringSkew, toxicity, instruments: [...] }
|
|
454
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
454
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
455
455
|
*/
|
|
456
456
|
export function prepareUpdateLiquidatorConfig(config: any, options: any): WasmPreparedMessage;
|
|
457
457
|
|
|
@@ -464,7 +464,7 @@ export function prepareUpdateMultisigPolicy(multisig: string, signers: any, thre
|
|
|
464
464
|
* Prepare user settings update for external signing
|
|
465
465
|
*
|
|
466
466
|
* @param settings - { max_leverage: [[symbol, leverage], ...] }
|
|
467
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
467
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
468
468
|
*/
|
|
469
469
|
export function prepareUpdateUserSettings(settings: any, options: any): WasmPreparedMessage;
|
|
470
470
|
|
|
@@ -476,7 +476,7 @@ export function prepareUpdateUserSettings(settings: any, options: any): WasmPrep
|
|
|
476
476
|
* @param user - user wallet pubkey (base58)
|
|
477
477
|
* @param vault - vault pubkey (base58)
|
|
478
478
|
* @param recipientTokenAccount - recipient token account pubkey (base58)
|
|
479
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
479
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
480
480
|
*/
|
|
481
481
|
export function prepareWithdraw(amount: number, blockhash: string, user: string, vault: string, recipient_token_account: string, options: any): WasmPreparedMessage;
|
|
482
482
|
|
|
@@ -485,7 +485,7 @@ export function prepareWithdraw(amount: number, blockhash: string, user: string,
|
|
|
485
485
|
*
|
|
486
486
|
* @param user - user wallet pubkey (base58)
|
|
487
487
|
* @param hash - withdrawal lock hash (base58)
|
|
488
|
-
* @param options - { account: string, signer?: string, nonce?:
|
|
488
|
+
* @param options - { account: string, signer?: string, nonce?: string }
|
|
489
489
|
*/
|
|
490
490
|
export function prepareWithdrawLockRecover(user: string, hash: string, options: any): WasmPreparedMessage;
|
|
491
491
|
|
|
@@ -512,7 +512,7 @@ export interface InitOutput {
|
|
|
512
512
|
readonly __wbg_wasmpreparedmessage_free: (a: number, b: number) => void;
|
|
513
513
|
readonly __wbg_wasmsigner_free: (a: number, b: number) => void;
|
|
514
514
|
readonly computeOrderId: (a: number, b: number) => [number, number];
|
|
515
|
-
readonly currentTimestamp: () => number;
|
|
515
|
+
readonly currentTimestamp: () => [number, number];
|
|
516
516
|
readonly finalizeTransaction: (a: any, b: number, c: number) => [number, number, number];
|
|
517
517
|
readonly prepareAgentWallet: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
518
518
|
readonly prepareAll: (a: any, b: any) => [number, number, number, number];
|
|
@@ -554,14 +554,14 @@ export interface InitOutput {
|
|
|
554
554
|
readonly wasmpreparedmessage_messageBase64: (a: number) => [number, number];
|
|
555
555
|
readonly wasmpreparedmessage_messageBytes: (a: number) => [number, number];
|
|
556
556
|
readonly wasmpreparedmessage_messageHex: (a: number) => [number, number];
|
|
557
|
-
readonly wasmpreparedmessage_nonce: (a: number) => number;
|
|
557
|
+
readonly wasmpreparedmessage_nonce: (a: number) => [number, number];
|
|
558
558
|
readonly wasmpreparedmessage_orderId: (a: number) => [number, number];
|
|
559
559
|
readonly wasmpreparedmessage_orderIds: (a: number) => [number, number];
|
|
560
560
|
readonly wasmpreparedmessage_signer: (a: number) => [number, number];
|
|
561
561
|
readonly wasmsigner_computesBatchOrderIds: (a: number) => number;
|
|
562
562
|
readonly wasmsigner_computesOrderId: (a: number) => number;
|
|
563
|
-
readonly wasmsigner_fromBase58: (a: number, b: number) => [number, number, number];
|
|
564
|
-
readonly wasmsigner_new: (a: number) => number;
|
|
563
|
+
readonly wasmsigner_fromBase58: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
564
|
+
readonly wasmsigner_new: (a: number, b: number, c: number) => [number, number, number];
|
|
565
565
|
readonly wasmsigner_pubkey: (a: number) => [number, number];
|
|
566
566
|
readonly wasmsigner_setComputeBatchOrderIds: (a: number, b: number) => void;
|
|
567
567
|
readonly wasmsigner_setComputeOrderId: (a: number, b: number) => void;
|
|
@@ -569,6 +569,7 @@ export interface InitOutput {
|
|
|
569
569
|
readonly wasmsigner_signAgentWallet: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
570
570
|
readonly wasmsigner_signAll: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
571
571
|
readonly wasmsigner_signApproveBuilderCode: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
572
|
+
readonly wasmsigner_signApproveCommissionFee: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
572
573
|
readonly wasmsigner_signBytes: (a: number, b: number, c: number) => [number, number];
|
|
573
574
|
readonly wasmsigner_signCreateMultisig: (a: number, b: any, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
574
575
|
readonly wasmsigner_signCreateSubAccount: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
@@ -580,24 +581,23 @@ export interface InitOutput {
|
|
|
580
581
|
readonly wasmsigner_signMultisigPropose: (a: number, b: number, c: number, d: any, e: number, f: number) => [number, number, number];
|
|
581
582
|
readonly wasmsigner_signMultisigReject: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
582
583
|
readonly wasmsigner_signOraclePrices: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
584
|
+
readonly wasmsigner_signOrder: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
583
585
|
readonly wasmsigner_signOrdersBatch: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
584
586
|
readonly wasmsigner_signPrepared: (a: number, b: number) => [number, number, number];
|
|
585
587
|
readonly wasmsigner_signPythOracle: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
586
588
|
readonly wasmsigner_signRemoveSubAccount: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
587
589
|
readonly wasmsigner_signRenameSubAccount: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
|
|
588
590
|
readonly wasmsigner_signRevokeBuilderCode: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
591
|
+
readonly wasmsigner_signRevokeCommissionFee: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
589
592
|
readonly wasmsigner_signTransfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => [number, number, number];
|
|
590
593
|
readonly wasmsigner_signUpdateLiquidatorConfig: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
591
594
|
readonly wasmsigner_signUpdateMultisigPolicy: (a: number, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: number) => [number, number, number];
|
|
592
595
|
readonly wasmsigner_signUserSettings: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
593
596
|
readonly wasmsigner_signWhitelistFaucet: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
594
|
-
readonly wasmsigner_withNonceManager: (a: number, b: number, c: number) => [number, number, number];
|
|
597
|
+
readonly wasmsigner_withNonceManager: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
595
598
|
readonly init: () => void;
|
|
596
|
-
readonly wasmsigner_signApproveCommissionFee: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
597
599
|
readonly prepareApproveCommissionFee: (a: number, b: number, c: number, d: any) => [number, number, number];
|
|
598
600
|
readonly prepareRevokeCommissionFee: (a: number, b: number, c: any) => [number, number, number];
|
|
599
|
-
readonly wasmsigner_signOrder: (a: number, b: any, c: number, d: number) => [number, number, number];
|
|
600
|
-
readonly wasmsigner_signRevokeCommissionFee: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
601
601
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
602
602
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
603
603
|
readonly __wbindgen_exn_store: (a: number) => void;
|