@ocap/client 1.13.67 → 1.13.71
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/base.js +1 -1
- package/dist/browser.d.ts +63 -2
- package/dist/bundle.js +3 -3
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +235 -19
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +239 -4
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +2 -0
- package/docs/README.md +291 -4
- package/lib/base.js +1 -1
- package/lib/node.d.ts +63 -2
- package/lib/schema/graphql.json +235 -19
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +239 -4
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/docs/QUERIES.md
CHANGED
|
@@ -2591,6 +2591,7 @@ No arguments
|
|
|
2591
2591
|
maxStakeAmount
|
|
2592
2592
|
maxWithdrawAmount
|
|
2593
2593
|
maxWithdrawFee
|
|
2594
|
+
migrateHistory
|
|
2594
2595
|
minBlockConfirmation
|
|
2595
2596
|
minBlockInterval
|
|
2596
2597
|
minBlockSize
|
|
@@ -2778,6 +2779,7 @@ No arguments
|
|
|
2778
2779
|
maxStakeAmount
|
|
2779
2780
|
maxWithdrawAmount
|
|
2780
2781
|
maxWithdrawFee
|
|
2782
|
+
migrateHistory
|
|
2781
2783
|
minBlockConfirmation
|
|
2782
2784
|
minBlockInterval
|
|
2783
2785
|
minBlockSize
|
package/docs/README.md
CHANGED
|
@@ -60,7 +60,11 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
60
60
|
* [sendExchangeV2Tx(params)](#GraphQLClient+sendExchangeV2Tx) ⇒ `Promise.<string>`
|
|
61
61
|
* [sendJoinRollupTx(params)](#GraphQLClient+sendJoinRollupTx) ⇒ `Promise.<string>`
|
|
62
62
|
* [sendLeaveRollupTx(params)](#GraphQLClient+sendLeaveRollupTx) ⇒ `Promise.<string>`
|
|
63
|
+
* [sendMigrateRollupContractTx(params)](#GraphQLClient+sendMigrateRollupContractTx) ⇒ `Promise.<string>`
|
|
64
|
+
* [sendMigrateRollupTokenTx(params)](#GraphQLClient+sendMigrateRollupTokenTx) ⇒ `Promise.<string>`
|
|
63
65
|
* [sendMintAssetTx(params)](#GraphQLClient+sendMintAssetTx) ⇒ `Promise.<string>`
|
|
66
|
+
* [sendPauseRollupTx(params)](#GraphQLClient+sendPauseRollupTx) ⇒ `Promise.<string>`
|
|
67
|
+
* [sendResumeRollupTx(params)](#GraphQLClient+sendResumeRollupTx) ⇒ `Promise.<string>`
|
|
64
68
|
* [sendRevokeDelegateTx(params)](#GraphQLClient+sendRevokeDelegateTx) ⇒ `Promise.<string>`
|
|
65
69
|
* [sendRevokeStakeTx(params)](#GraphQLClient+sendRevokeStakeTx) ⇒ `Promise.<string>`
|
|
66
70
|
* [sendStakeTx(params)](#GraphQLClient+sendStakeTx) ⇒ `Promise.<string>`
|
|
@@ -88,7 +92,11 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
88
92
|
* [encodeExchangeV2Tx(params)](#GraphQLClient+encodeExchangeV2Tx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
89
93
|
* [encodeJoinRollupTx(params)](#GraphQLClient+encodeJoinRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
90
94
|
* [encodeLeaveRollupTx(params)](#GraphQLClient+encodeLeaveRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
95
|
+
* [encodeMigrateRollupContractTx(params)](#GraphQLClient+encodeMigrateRollupContractTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
96
|
+
* [encodeMigrateRollupTokenTx(params)](#GraphQLClient+encodeMigrateRollupTokenTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
91
97
|
* [encodeMintAssetTx(params)](#GraphQLClient+encodeMintAssetTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
98
|
+
* [encodePauseRollupTx(params)](#GraphQLClient+encodePauseRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
99
|
+
* [encodeResumeRollupTx(params)](#GraphQLClient+encodeResumeRollupTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
92
100
|
* [encodeRevokeDelegateTx(params)](#GraphQLClient+encodeRevokeDelegateTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
93
101
|
* [encodeRevokeStakeTx(params)](#GraphQLClient+encodeRevokeStakeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
94
102
|
* [encodeStakeTx(params)](#GraphQLClient+encodeStakeTx) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
@@ -251,6 +259,8 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
251
259
|
* [JoinRollupTx](#GraphQLClient.JoinRollupTx) : `object`
|
|
252
260
|
* [KVPair](#GraphQLClient.KVPair) : `object`
|
|
253
261
|
* [LeaveRollupTx](#GraphQLClient.LeaveRollupTx) : `object`
|
|
262
|
+
* [MigrateRollupContractTx](#GraphQLClient.MigrateRollupContractTx) : `object`
|
|
263
|
+
* [MigrateRollupTokenTx](#GraphQLClient.MigrateRollupTokenTx) : `object`
|
|
254
264
|
* [MintAssetTx](#GraphQLClient.MintAssetTx) : `object`
|
|
255
265
|
* [Multisig](#GraphQLClient.Multisig) : `object`
|
|
256
266
|
* [NetInfo](#GraphQLClient.NetInfo) : `object`
|
|
@@ -259,6 +269,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
259
269
|
* [NodeInfo_ForgeAppsVersionEntry](#GraphQLClient.NodeInfo_ForgeAppsVersionEntry) : `object`
|
|
260
270
|
* [PageInfo](#GraphQLClient.PageInfo) : `object`
|
|
261
271
|
* [PartSetHeader](#GraphQLClient.PartSetHeader) : `object`
|
|
272
|
+
* [PauseRollupTx](#GraphQLClient.PauseRollupTx) : `object`
|
|
262
273
|
* [PeerInfo](#GraphQLClient.PeerInfo) : `object`
|
|
263
274
|
* [PubKey](#GraphQLClient.PubKey) : `object`
|
|
264
275
|
* [ReceiptChange](#GraphQLClient.ReceiptChange) : `object`
|
|
@@ -300,6 +311,7 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
300
311
|
* [ResponseListTransactions](#GraphQLClient.ResponseListTransactions) : `object`
|
|
301
312
|
* [ResponseSearch](#GraphQLClient.ResponseSearch) : `object`
|
|
302
313
|
* [ResponseSendTx](#GraphQLClient.ResponseSendTx) : `object`
|
|
314
|
+
* [ResumeRollupTx](#GraphQLClient.ResumeRollupTx) : `object`
|
|
303
315
|
* [RevokeDelegateTx](#GraphQLClient.RevokeDelegateTx) : `object`
|
|
304
316
|
* [RevokeStakeTx](#GraphQLClient.RevokeStakeTx) : `object`
|
|
305
317
|
* [RollupBlock](#GraphQLClient.RollupBlock) : `object`
|
|
@@ -391,7 +403,11 @@ Please note that, due to internal implementation of google-protobuf, all `repeat
|
|
|
391
403
|
* [ExchangeV2TxInput](#GraphQLClient.ExchangeV2TxInput) : `Object`
|
|
392
404
|
* [JoinRollupTxInput](#GraphQLClient.JoinRollupTxInput) : `Object`
|
|
393
405
|
* [LeaveRollupTxInput](#GraphQLClient.LeaveRollupTxInput) : `Object`
|
|
406
|
+
* [MigrateRollupContractTxInput](#GraphQLClient.MigrateRollupContractTxInput) : `Object`
|
|
407
|
+
* [MigrateRollupTokenTxInput](#GraphQLClient.MigrateRollupTokenTxInput) : `Object`
|
|
394
408
|
* [MintAssetTxInput](#GraphQLClient.MintAssetTxInput) : `Object`
|
|
409
|
+
* [PauseRollupTxInput](#GraphQLClient.PauseRollupTxInput) : `Object`
|
|
410
|
+
* [ResumeRollupTxInput](#GraphQLClient.ResumeRollupTxInput) : `Object`
|
|
395
411
|
* [RevokeDelegateTxInput](#GraphQLClient.RevokeDelegateTxInput) : `Object`
|
|
396
412
|
* [RevokeStakeTxInput](#GraphQLClient.RevokeStakeTxInput) : `Object`
|
|
397
413
|
* [StakeTxInput](#GraphQLClient.StakeTxInput) : `Object`
|
|
@@ -1014,6 +1030,28 @@ Send LeaveRollupTx transaction and get the hash, use [getTx](#GraphQLClient+getT
|
|
|
1014
1030
|
| ------ | --------------------------------------------------------- |
|
|
1015
1031
|
| params | [`LeaveRollupTxInput`](#GraphQLClient.LeaveRollupTxInput) |
|
|
1016
1032
|
|
|
1033
|
+
### graphQLClient.sendMigrateRollupContractTx(params) ⇒ `Promise.<string>`
|
|
1034
|
+
|
|
1035
|
+
Send MigrateRollupContractTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1036
|
+
|
|
1037
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1038
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1039
|
+
|
|
1040
|
+
| Param | Type |
|
|
1041
|
+
| ------ | ----------------------------------------------------------------------------- |
|
|
1042
|
+
| params | [`MigrateRollupContractTxInput`](#GraphQLClient.MigrateRollupContractTxInput) |
|
|
1043
|
+
|
|
1044
|
+
### graphQLClient.sendMigrateRollupTokenTx(params) ⇒ `Promise.<string>`
|
|
1045
|
+
|
|
1046
|
+
Send MigrateRollupTokenTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1047
|
+
|
|
1048
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1049
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1050
|
+
|
|
1051
|
+
| Param | Type |
|
|
1052
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1053
|
+
| params | [`MigrateRollupTokenTxInput`](#GraphQLClient.MigrateRollupTokenTxInput) |
|
|
1054
|
+
|
|
1017
1055
|
### graphQLClient.sendMintAssetTx(params) ⇒ `Promise.<string>`
|
|
1018
1056
|
|
|
1019
1057
|
Send MintAssetTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1025,6 +1063,28 @@ Send MintAssetTx transaction and get the hash, use [getTx](#GraphQLClient+getTx)
|
|
|
1025
1063
|
| ------ | ----------------------------------------------------- |
|
|
1026
1064
|
| params | [`MintAssetTxInput`](#GraphQLClient.MintAssetTxInput) |
|
|
1027
1065
|
|
|
1066
|
+
### graphQLClient.sendPauseRollupTx(params) ⇒ `Promise.<string>`
|
|
1067
|
+
|
|
1068
|
+
Send PauseRollupTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1069
|
+
|
|
1070
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1071
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1072
|
+
|
|
1073
|
+
| Param | Type |
|
|
1074
|
+
| ------ | --------------------------------------------------------- |
|
|
1075
|
+
| params | [`PauseRollupTxInput`](#GraphQLClient.PauseRollupTxInput) |
|
|
1076
|
+
|
|
1077
|
+
### graphQLClient.sendResumeRollupTx(params) ⇒ `Promise.<string>`
|
|
1078
|
+
|
|
1079
|
+
Send ResumeRollupTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
1080
|
+
|
|
1081
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1082
|
+
**Returns**: `Promise.<string>` - returns transaction hash if success, otherwise error was thrown
|
|
1083
|
+
|
|
1084
|
+
| Param | Type |
|
|
1085
|
+
| ------ | ----------------------------------------------------------- |
|
|
1086
|
+
| params | [`ResumeRollupTxInput`](#GraphQLClient.ResumeRollupTxInput) |
|
|
1087
|
+
|
|
1028
1088
|
### graphQLClient.sendRevokeDelegateTx(params) ⇒ `Promise.<string>`
|
|
1029
1089
|
|
|
1030
1090
|
Send RevokeDelegateTx transaction and get the hash, use [getTx](#GraphQLClient+getTx) to get transaction detail
|
|
@@ -1322,6 +1382,28 @@ Encode a LeaveRollupTx transaction for later use
|
|
|
1322
1382
|
| ------ | --------------------------------------------------------- |
|
|
1323
1383
|
| params | [`LeaveRollupTxInput`](#GraphQLClient.LeaveRollupTxInput) |
|
|
1324
1384
|
|
|
1385
|
+
### graphQLClient.encodeMigrateRollupContractTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1386
|
+
|
|
1387
|
+
Encode a MigrateRollupContractTx transaction for later use
|
|
1388
|
+
|
|
1389
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1390
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1391
|
+
|
|
1392
|
+
| Param | Type |
|
|
1393
|
+
| ------ | ----------------------------------------------------------------------------- |
|
|
1394
|
+
| params | [`MigrateRollupContractTxInput`](#GraphQLClient.MigrateRollupContractTxInput) |
|
|
1395
|
+
|
|
1396
|
+
### graphQLClient.encodeMigrateRollupTokenTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1397
|
+
|
|
1398
|
+
Encode a MigrateRollupTokenTx transaction for later use
|
|
1399
|
+
|
|
1400
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1401
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1402
|
+
|
|
1403
|
+
| Param | Type |
|
|
1404
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1405
|
+
| params | [`MigrateRollupTokenTxInput`](#GraphQLClient.MigrateRollupTokenTxInput) |
|
|
1406
|
+
|
|
1325
1407
|
### graphQLClient.encodeMintAssetTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1326
1408
|
|
|
1327
1409
|
Encode a MintAssetTx transaction for later use
|
|
@@ -1333,6 +1415,28 @@ Encode a MintAssetTx transaction for later use
|
|
|
1333
1415
|
| ------ | ----------------------------------------------------- |
|
|
1334
1416
|
| params | [`MintAssetTxInput`](#GraphQLClient.MintAssetTxInput) |
|
|
1335
1417
|
|
|
1418
|
+
### graphQLClient.encodePauseRollupTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1419
|
+
|
|
1420
|
+
Encode a PauseRollupTx transaction for later use
|
|
1421
|
+
|
|
1422
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1423
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1424
|
+
|
|
1425
|
+
| Param | Type |
|
|
1426
|
+
| ------ | --------------------------------------------------------- |
|
|
1427
|
+
| params | [`PauseRollupTxInput`](#GraphQLClient.PauseRollupTxInput) |
|
|
1428
|
+
|
|
1429
|
+
### graphQLClient.encodeResumeRollupTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1430
|
+
|
|
1431
|
+
Encode a ResumeRollupTx transaction for later use
|
|
1432
|
+
|
|
1433
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)
|
|
1434
|
+
**Returns**: [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput) - result - we provide two formats of the encoding result, binary presentation and human readable object
|
|
1435
|
+
|
|
1436
|
+
| Param | Type |
|
|
1437
|
+
| ------ | ----------------------------------------------------------- |
|
|
1438
|
+
| params | [`ResumeRollupTxInput`](#GraphQLClient.ResumeRollupTxInput) |
|
|
1439
|
+
|
|
1336
1440
|
### graphQLClient.encodeRevokeDelegateTx(params) ⇒ [`Promise.<TxEncodeOutput>`](#GraphQLClient.TxEncodeOutput)
|
|
1337
1441
|
|
|
1338
1442
|
Encode a RevokeDelegateTx transaction for later use
|
|
@@ -3588,6 +3692,7 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
3588
3692
|
| publisherFeeShare | `number` |
|
|
3589
3693
|
| publishWaitingPeriod | `number` |
|
|
3590
3694
|
| publishSlashRate | `number` |
|
|
3695
|
+
| migrateHistory | `Array.<string>` |
|
|
3591
3696
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3592
3697
|
|
|
3593
3698
|
### GraphQLClient.IndexedRollupValidator : `object`
|
|
@@ -3739,6 +3844,65 @@ Structure of GraphQLClient.LeaveRollupTx
|
|
|
3739
3844
|
| signatures | `Array.<...GraphQLClient.Multisig>` |
|
|
3740
3845
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3741
3846
|
|
|
3847
|
+
### GraphQLClient.MigrateRollupContractTx : `object`
|
|
3848
|
+
|
|
3849
|
+
Structure of GraphQLClient.MigrateRollupContractTx
|
|
3850
|
+
|
|
3851
|
+
Checkout the following snippet for the format of MigrateRollupContractTx:
|
|
3852
|
+
|
|
3853
|
+
```json
|
|
3854
|
+
{
|
|
3855
|
+
"rollup": "abc",
|
|
3856
|
+
"to": "abc",
|
|
3857
|
+
"data": {
|
|
3858
|
+
"typeUrl": "abc",
|
|
3859
|
+
"value": "abc"
|
|
3860
|
+
}
|
|
3861
|
+
}
|
|
3862
|
+
```
|
|
3863
|
+
|
|
3864
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3865
|
+
**Properties**
|
|
3866
|
+
|
|
3867
|
+
| Name | Type |
|
|
3868
|
+
| ------- | --------------------------- |
|
|
3869
|
+
| rollup | `string` |
|
|
3870
|
+
| to | `string` |
|
|
3871
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3872
|
+
|
|
3873
|
+
### GraphQLClient.MigrateRollupTokenTx : `object`
|
|
3874
|
+
|
|
3875
|
+
Structure of GraphQLClient.MigrateRollupTokenTx
|
|
3876
|
+
|
|
3877
|
+
Checkout the following snippet for the format of MigrateRollupTokenTx:
|
|
3878
|
+
|
|
3879
|
+
```json
|
|
3880
|
+
{
|
|
3881
|
+
"rollup": "abc",
|
|
3882
|
+
"from": "abc",
|
|
3883
|
+
"to": "abc",
|
|
3884
|
+
"token": {
|
|
3885
|
+
"address": "abc",
|
|
3886
|
+
"value": "abc"
|
|
3887
|
+
},
|
|
3888
|
+
"data": {
|
|
3889
|
+
"typeUrl": "abc",
|
|
3890
|
+
"value": "abc"
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
```
|
|
3894
|
+
|
|
3895
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3896
|
+
**Properties**
|
|
3897
|
+
|
|
3898
|
+
| Name | Type |
|
|
3899
|
+
| -------- | ----------------------------------------- |
|
|
3900
|
+
| rollup | `string` |
|
|
3901
|
+
| from | `string` |
|
|
3902
|
+
| to | `string` |
|
|
3903
|
+
| ...token | [`TokenInput`](#GraphQLClient.TokenInput) |
|
|
3904
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3905
|
+
|
|
3742
3906
|
### GraphQLClient.MintAssetTx : `object`
|
|
3743
3907
|
|
|
3744
3908
|
Structure of GraphQLClient.MintAssetTx
|
|
@@ -3861,6 +4025,30 @@ Structure of GraphQLClient.PartSetHeader
|
|
|
3861
4025
|
| total | `number` |
|
|
3862
4026
|
| hash | `string` |
|
|
3863
4027
|
|
|
4028
|
+
### GraphQLClient.PauseRollupTx : `object`
|
|
4029
|
+
|
|
4030
|
+
Structure of GraphQLClient.PauseRollupTx
|
|
4031
|
+
|
|
4032
|
+
Checkout the following snippet for the format of PauseRollupTx:
|
|
4033
|
+
|
|
4034
|
+
```json
|
|
4035
|
+
{
|
|
4036
|
+
"rollup": "abc",
|
|
4037
|
+
"data": {
|
|
4038
|
+
"typeUrl": "abc",
|
|
4039
|
+
"value": "abc"
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
```
|
|
4043
|
+
|
|
4044
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4045
|
+
**Properties**
|
|
4046
|
+
|
|
4047
|
+
| Name | Type |
|
|
4048
|
+
| ------- | --------------------------- |
|
|
4049
|
+
| rollup | `string` |
|
|
4050
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4051
|
+
|
|
3864
4052
|
### GraphQLClient.PeerInfo : `object`
|
|
3865
4053
|
|
|
3866
4054
|
Structure of GraphQLClient.PeerInfo
|
|
@@ -4443,6 +4631,30 @@ Checkout the following snippet for the format of ResponseSendTx:
|
|
|
4443
4631
|
| code | `string` |
|
|
4444
4632
|
| hash | `string` |
|
|
4445
4633
|
|
|
4634
|
+
### GraphQLClient.ResumeRollupTx : `object`
|
|
4635
|
+
|
|
4636
|
+
Structure of GraphQLClient.ResumeRollupTx
|
|
4637
|
+
|
|
4638
|
+
Checkout the following snippet for the format of ResumeRollupTx:
|
|
4639
|
+
|
|
4640
|
+
```json
|
|
4641
|
+
{
|
|
4642
|
+
"rollup": "abc",
|
|
4643
|
+
"data": {
|
|
4644
|
+
"typeUrl": "abc",
|
|
4645
|
+
"value": "abc"
|
|
4646
|
+
}
|
|
4647
|
+
}
|
|
4648
|
+
```
|
|
4649
|
+
|
|
4650
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4651
|
+
**Properties**
|
|
4652
|
+
|
|
4653
|
+
| Name | Type |
|
|
4654
|
+
| ------- | --------------------------- |
|
|
4655
|
+
| rollup | `string` |
|
|
4656
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4657
|
+
|
|
4446
4658
|
### GraphQLClient.RevokeDelegateTx : `object`
|
|
4447
4659
|
|
|
4448
4660
|
Structure of GraphQLClient.RevokeDelegateTx
|
|
@@ -4540,6 +4752,7 @@ Structure of GraphQLClient.RollupState
|
|
|
4540
4752
|
| leaveWaitingPeriod | `number` |
|
|
4541
4753
|
| publishWaitingPeriod | `number` |
|
|
4542
4754
|
| publishSlashRate | `number` |
|
|
4755
|
+
| migrateHistory | `Array.<string>` |
|
|
4543
4756
|
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4544
4757
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4545
4758
|
|
|
@@ -4948,12 +5161,11 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
4948
5161
|
"maxDepositFee": "abc",
|
|
4949
5162
|
"minWithdrawFee": "abc",
|
|
4950
5163
|
"maxWithdrawFee": "abc",
|
|
4951
|
-
"paused": true,
|
|
4952
|
-
"rollup": "abc",
|
|
4953
5164
|
"publisherFeeShare": 123,
|
|
4954
5165
|
"leaveWaitingPeriod": 123,
|
|
4955
5166
|
"publishWaitingPeriod": 123,
|
|
4956
5167
|
"publishSlashRate": 123,
|
|
5168
|
+
"rollup": "abc",
|
|
4957
5169
|
"data": {
|
|
4958
5170
|
"typeUrl": "abc",
|
|
4959
5171
|
"value": "abc"
|
|
@@ -4985,12 +5197,11 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
4985
5197
|
| maxDepositFee | `string` |
|
|
4986
5198
|
| minWithdrawFee | `string` |
|
|
4987
5199
|
| maxWithdrawFee | `string` |
|
|
4988
|
-
| paused | `boolean` |
|
|
4989
|
-
| rollup | `string` |
|
|
4990
5200
|
| publisherFeeShare | `number` |
|
|
4991
5201
|
| leaveWaitingPeriod | `number` |
|
|
4992
5202
|
| publishWaitingPeriod | `number` |
|
|
4993
5203
|
| publishSlashRate | `number` |
|
|
5204
|
+
| rollup | `string` |
|
|
4994
5205
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4995
5206
|
|
|
4996
5207
|
### GraphQLClient.UpgradeInfo : `object`
|
|
@@ -6238,6 +6449,44 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6238
6449
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6239
6450
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6240
6451
|
|
|
6452
|
+
### GraphQLClient.MigrateRollupContractTxInput : `Object`
|
|
6453
|
+
|
|
6454
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
6455
|
+
**Properties**
|
|
6456
|
+
|
|
6457
|
+
| Name | Type | Description |
|
|
6458
|
+
| --------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6459
|
+
| input | `object` | |
|
|
6460
|
+
| input.tx | `object` | data of the transaction |
|
|
6461
|
+
| input.tx.itx | [`MigrateRollupContractTx`](#GraphQLClient.MigrateRollupContractTx) | the actual transaction object |
|
|
6462
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6463
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6464
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6465
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6466
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6467
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6468
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6469
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6470
|
+
|
|
6471
|
+
### GraphQLClient.MigrateRollupTokenTxInput : `Object`
|
|
6472
|
+
|
|
6473
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
6474
|
+
**Properties**
|
|
6475
|
+
|
|
6476
|
+
| Name | Type | Description |
|
|
6477
|
+
| --------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6478
|
+
| input | `object` | |
|
|
6479
|
+
| input.tx | `object` | data of the transaction |
|
|
6480
|
+
| input.tx.itx | [`MigrateRollupTokenTx`](#GraphQLClient.MigrateRollupTokenTx) | the actual transaction object |
|
|
6481
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6482
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6483
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6484
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6485
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6486
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6487
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6488
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6489
|
+
|
|
6241
6490
|
### GraphQLClient.MintAssetTxInput : `Object`
|
|
6242
6491
|
|
|
6243
6492
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
@@ -6257,6 +6506,44 @@ Checkout the following snippet for the format of SendTxParams:
|
|
|
6257
6506
|
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6258
6507
|
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6259
6508
|
|
|
6509
|
+
### GraphQLClient.PauseRollupTxInput : `Object`
|
|
6510
|
+
|
|
6511
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
6512
|
+
**Properties**
|
|
6513
|
+
|
|
6514
|
+
| Name | Type | Description |
|
|
6515
|
+
| --------------------- | ----------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6516
|
+
| input | `object` | |
|
|
6517
|
+
| input.tx | `object` | data of the transaction |
|
|
6518
|
+
| input.tx.itx | [`PauseRollupTx`](#GraphQLClient.PauseRollupTx) | the actual transaction object |
|
|
6519
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6520
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6521
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6522
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6523
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6524
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6525
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6526
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6527
|
+
|
|
6528
|
+
### GraphQLClient.ResumeRollupTxInput : `Object`
|
|
6529
|
+
|
|
6530
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
6531
|
+
**Properties**
|
|
6532
|
+
|
|
6533
|
+
| Name | Type | Description |
|
|
6534
|
+
| --------------------- | ------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
6535
|
+
| input | `object` | |
|
|
6536
|
+
| input.tx | `object` | data of the transaction |
|
|
6537
|
+
| input.tx.itx | [`ResumeRollupTx`](#GraphQLClient.ResumeRollupTx) | the actual transaction object |
|
|
6538
|
+
| [input.tx.pk] | `string` | the sender pk |
|
|
6539
|
+
| [input.tx.from] | `string` | the sender address, can be derived from wallet |
|
|
6540
|
+
| [input.tx.nonce] | `number` | the tx nonce, defaults to Date.now if not set |
|
|
6541
|
+
| [input.tx.chainId] | `string` | the chainId |
|
|
6542
|
+
| [input.tx.signature] | `string` | transaction signature |
|
|
6543
|
+
| [input.tx.signatures] | `array` | transaction signatures, should be set when it's a multisig transaction |
|
|
6544
|
+
| input.wallet | `object` | the wallet used to sign the transaction, either a forge managed wallet or user managed wallet |
|
|
6545
|
+
| [input.signature] | `string` | the signature of the tx, if this parameter exist, we will not sign the transaction |
|
|
6546
|
+
|
|
6260
6547
|
### GraphQLClient.RevokeDelegateTxInput : `Object`
|
|
6261
6548
|
|
|
6262
6549
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|