@ocap/client 1.31.5 → 1.31.6

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/lib/node.d.ts CHANGED
@@ -48,7 +48,7 @@ declare class GraphQLClient {
48
48
  to: WalletObject;
49
49
  }, extra?: any): Promise<string>;
50
50
 
51
- // Bridge withdraw (#1465): transfer_v2 into the bridge reserve with a clear-signing envelope
51
+ // Bridge withdraw (#1691): a withdraw_token_v2 into a v2 bridge, with a clear-signing envelope
52
52
  buildBridgeWithdrawTx(params: {
53
53
  wallet: WalletObject;
54
54
  bridge: string;
@@ -58,6 +58,7 @@ declare class GraphQLClient {
58
58
  signing?: 'eip712' | 'eip191' | 'raw';
59
59
  nonce?: string | number;
60
60
  chainId?: string;
61
+ /** Envelope domain: only the default `ArcBlock` / `1` (absent or spelled out); anything else throws (#1715). */
61
62
  domain?: { name?: string; version?: string };
62
63
  }): Promise<{ tx: object; signature: string; extra: string }>;
63
64
 
@@ -70,6 +71,7 @@ declare class GraphQLClient {
70
71
  signing?: 'eip712' | 'eip191' | 'raw';
71
72
  nonce?: string | number;
72
73
  chainId?: string;
74
+ /** Envelope domain: only the default `ArcBlock` / `1` (absent or spelled out); anything else throws (#1715). */
73
75
  domain?: { name?: string; version?: string };
74
76
  commit?: boolean;
75
77
  }, extra?: any): Promise<string>;
@@ -379,7 +381,6 @@ sendCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.
379
381
  sendUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>, extra?: any): Promise<string>;
380
382
  sendMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>, extra?: any): Promise<string>;
381
383
  sendBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>, extra?: any): Promise<string>;
382
- sendReleaseBridgeTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReleaseBridgeTokenTx>>, extra?: any): Promise<string>;
383
384
  encodeAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.EncodeTxResult>;
384
385
  encodeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>): Promise<GraphQLClient.EncodeTxResult>;
385
386
  encodeRevokeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>): Promise<GraphQLClient.EncodeTxResult>;
@@ -418,7 +419,6 @@ encodeCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClien
418
419
  encodeUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>): Promise<GraphQLClient.EncodeTxResult>;
419
420
  encodeMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
420
421
  encodeBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
421
- encodeReleaseBridgeTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReleaseBridgeTokenTx>>): Promise<GraphQLClient.EncodeTxResult>;
422
422
  signAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.Transaction>;
423
423
  signDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>): Promise<GraphQLClient.Transaction>;
424
424
  signRevokeDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>): Promise<GraphQLClient.Transaction>;
@@ -457,7 +457,6 @@ signCreateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.
457
457
  signUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateTokenFactoryTx>>): Promise<GraphQLClient.Transaction>;
458
458
  signMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.Transaction>;
459
459
  signBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.Transaction>;
460
- signReleaseBridgeTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ReleaseBridgeTokenTx>>): Promise<GraphQLClient.Transaction>;
461
460
  multiSignExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>): Promise<GraphQLClient.Transaction>;
462
461
  multiSignAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.Transaction>;
463
462
  multiSignTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>): Promise<GraphQLClient.Transaction>;
@@ -1418,6 +1417,12 @@ interface DepositTokenV2Tx {
1418
1417
  evidence: GraphQLClient.Evidence;
1419
1418
  rollup: string;
1420
1419
  actualFee: string;
1420
+ kind: number;
1421
+ ordinal: number;
1422
+ epoch: number;
1423
+ ethSender: string;
1424
+ claimSignature: string;
1425
+ validatorSignatures: string[];
1421
1426
  data: GraphQLClient.Any;
1422
1427
  }
1423
1428
 
@@ -1975,21 +1980,6 @@ interface ReceiptChange {
1975
1980
  value: string;
1976
1981
  }
1977
1982
 
1978
- interface ReleaseBridgeTokenTx {
1979
- kind: number;
1980
- evidence: string;
1981
- ordinal: number;
1982
- to: string;
1983
- amount: string;
1984
- ethChainId: string;
1985
- epoch: number;
1986
- ethSender: string;
1987
- claimSignature: string;
1988
- signatures: string[];
1989
- bridge: string;
1990
- data: GraphQLClient.Any;
1991
- }
1992
-
1993
1983
  interface ResponseEstimateGas {
1994
1984
  code: string;
1995
1985
  estimate: GraphQLClient.GasEstimate;
@@ -4465,6 +4465,86 @@
4465
4465
  "isDeprecated": false,
4466
4466
  "deprecationReason": null
4467
4467
  },
4468
+ {
4469
+ "name": "kind",
4470
+ "description": null,
4471
+ "args": [],
4472
+ "type": {
4473
+ "kind": "SCALAR",
4474
+ "name": "Int",
4475
+ "ofType": null
4476
+ },
4477
+ "isDeprecated": false,
4478
+ "deprecationReason": null
4479
+ },
4480
+ {
4481
+ "name": "ordinal",
4482
+ "description": null,
4483
+ "args": [],
4484
+ "type": {
4485
+ "kind": "SCALAR",
4486
+ "name": "Int",
4487
+ "ofType": null
4488
+ },
4489
+ "isDeprecated": false,
4490
+ "deprecationReason": null
4491
+ },
4492
+ {
4493
+ "name": "epoch",
4494
+ "description": null,
4495
+ "args": [],
4496
+ "type": {
4497
+ "kind": "SCALAR",
4498
+ "name": "Int",
4499
+ "ofType": null
4500
+ },
4501
+ "isDeprecated": false,
4502
+ "deprecationReason": null
4503
+ },
4504
+ {
4505
+ "name": "ethSender",
4506
+ "description": null,
4507
+ "args": [],
4508
+ "type": {
4509
+ "kind": "SCALAR",
4510
+ "name": "String",
4511
+ "ofType": null
4512
+ },
4513
+ "isDeprecated": false,
4514
+ "deprecationReason": null
4515
+ },
4516
+ {
4517
+ "name": "claimSignature",
4518
+ "description": null,
4519
+ "args": [],
4520
+ "type": {
4521
+ "kind": "SCALAR",
4522
+ "name": "String",
4523
+ "ofType": null
4524
+ },
4525
+ "isDeprecated": false,
4526
+ "deprecationReason": null
4527
+ },
4528
+ {
4529
+ "name": "validatorSignatures",
4530
+ "description": null,
4531
+ "args": [],
4532
+ "type": {
4533
+ "kind": "LIST",
4534
+ "name": null,
4535
+ "ofType": {
4536
+ "kind": "NON_NULL",
4537
+ "name": null,
4538
+ "ofType": {
4539
+ "kind": "SCALAR",
4540
+ "name": "String",
4541
+ "ofType": null
4542
+ }
4543
+ }
4544
+ },
4545
+ "isDeprecated": false,
4546
+ "deprecationReason": null
4547
+ },
4468
4548
  {
4469
4549
  "name": "data",
4470
4550
  "description": null,
@@ -10176,169 +10256,6 @@
10176
10256
  "enumValues": null,
10177
10257
  "possibleTypes": null
10178
10258
  },
10179
- {
10180
- "kind": "OBJECT",
10181
- "name": "ReleaseBridgeTokenTx",
10182
- "description": null,
10183
- "fields": [
10184
- {
10185
- "name": "kind",
10186
- "description": null,
10187
- "args": [],
10188
- "type": {
10189
- "kind": "SCALAR",
10190
- "name": "Int",
10191
- "ofType": null
10192
- },
10193
- "isDeprecated": false,
10194
- "deprecationReason": null
10195
- },
10196
- {
10197
- "name": "evidence",
10198
- "description": null,
10199
- "args": [],
10200
- "type": {
10201
- "kind": "SCALAR",
10202
- "name": "String",
10203
- "ofType": null
10204
- },
10205
- "isDeprecated": false,
10206
- "deprecationReason": null
10207
- },
10208
- {
10209
- "name": "ordinal",
10210
- "description": null,
10211
- "args": [],
10212
- "type": {
10213
- "kind": "SCALAR",
10214
- "name": "Int",
10215
- "ofType": null
10216
- },
10217
- "isDeprecated": false,
10218
- "deprecationReason": null
10219
- },
10220
- {
10221
- "name": "to",
10222
- "description": null,
10223
- "args": [],
10224
- "type": {
10225
- "kind": "SCALAR",
10226
- "name": "String",
10227
- "ofType": null
10228
- },
10229
- "isDeprecated": false,
10230
- "deprecationReason": null
10231
- },
10232
- {
10233
- "name": "amount",
10234
- "description": null,
10235
- "args": [],
10236
- "type": {
10237
- "kind": "SCALAR",
10238
- "name": "String",
10239
- "ofType": null
10240
- },
10241
- "isDeprecated": false,
10242
- "deprecationReason": null
10243
- },
10244
- {
10245
- "name": "ethChainId",
10246
- "description": null,
10247
- "args": [],
10248
- "type": {
10249
- "kind": "SCALAR",
10250
- "name": "String",
10251
- "ofType": null
10252
- },
10253
- "isDeprecated": false,
10254
- "deprecationReason": null
10255
- },
10256
- {
10257
- "name": "epoch",
10258
- "description": null,
10259
- "args": [],
10260
- "type": {
10261
- "kind": "SCALAR",
10262
- "name": "Int",
10263
- "ofType": null
10264
- },
10265
- "isDeprecated": false,
10266
- "deprecationReason": null
10267
- },
10268
- {
10269
- "name": "ethSender",
10270
- "description": null,
10271
- "args": [],
10272
- "type": {
10273
- "kind": "SCALAR",
10274
- "name": "String",
10275
- "ofType": null
10276
- },
10277
- "isDeprecated": false,
10278
- "deprecationReason": null
10279
- },
10280
- {
10281
- "name": "claimSignature",
10282
- "description": null,
10283
- "args": [],
10284
- "type": {
10285
- "kind": "SCALAR",
10286
- "name": "String",
10287
- "ofType": null
10288
- },
10289
- "isDeprecated": false,
10290
- "deprecationReason": null
10291
- },
10292
- {
10293
- "name": "signatures",
10294
- "description": null,
10295
- "args": [],
10296
- "type": {
10297
- "kind": "LIST",
10298
- "name": null,
10299
- "ofType": {
10300
- "kind": "NON_NULL",
10301
- "name": null,
10302
- "ofType": {
10303
- "kind": "SCALAR",
10304
- "name": "String",
10305
- "ofType": null
10306
- }
10307
- }
10308
- },
10309
- "isDeprecated": false,
10310
- "deprecationReason": null
10311
- },
10312
- {
10313
- "name": "bridge",
10314
- "description": null,
10315
- "args": [],
10316
- "type": {
10317
- "kind": "SCALAR",
10318
- "name": "String",
10319
- "ofType": null
10320
- },
10321
- "isDeprecated": false,
10322
- "deprecationReason": null
10323
- },
10324
- {
10325
- "name": "data",
10326
- "description": null,
10327
- "args": [],
10328
- "type": {
10329
- "kind": "OBJECT",
10330
- "name": "Any",
10331
- "ofType": null
10332
- },
10333
- "isDeprecated": false,
10334
- "deprecationReason": null
10335
- }
10336
- ],
10337
- "inputFields": null,
10338
- "interfaces": [],
10339
- "enumValues": null,
10340
- "possibleTypes": null
10341
- },
10342
10259
  {
10343
10260
  "kind": "INPUT_OBJECT",
10344
10261
  "name": "RequestEstimateGasInput",