@ocap/client 1.13.60 → 1.13.64
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 +18 -8
- package/dist/bundle.js +3 -3
- package/dist/extension.js +7 -2
- package/dist/extension.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +180 -106
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +22 -9
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +5 -8
- package/docs/README.md +57 -44
- package/lib/base.js +1 -1
- package/lib/extension.js +7 -2
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +18 -8
- package/lib/schema/graphql.json +180 -106
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +22 -9
- package/lib/types.js.map +1 -1
- package/package.json +11 -11
package/docs/QUERIES.md
CHANGED
|
@@ -713,7 +713,6 @@
|
|
|
713
713
|
address
|
|
714
714
|
decimal
|
|
715
715
|
description
|
|
716
|
-
erc20ContractAddress
|
|
717
716
|
icon
|
|
718
717
|
issuer
|
|
719
718
|
name
|
|
@@ -2330,7 +2329,6 @@ No arguments
|
|
|
2330
2329
|
address
|
|
2331
2330
|
decimal
|
|
2332
2331
|
description
|
|
2333
|
-
erc20ContractAddress
|
|
2334
2332
|
genesisTime
|
|
2335
2333
|
icon
|
|
2336
2334
|
issuer
|
|
@@ -2685,9 +2683,6 @@ No arguments
|
|
|
2685
2683
|
blockHeight
|
|
2686
2684
|
contractAddress
|
|
2687
2685
|
depositFeeRate
|
|
2688
|
-
erc20TokenAddress
|
|
2689
|
-
foreignChainId
|
|
2690
|
-
foreignChainType
|
|
2691
2686
|
issuer
|
|
2692
2687
|
leaveWaitingPeriod
|
|
2693
2688
|
maxBlockSize
|
|
@@ -2709,6 +2704,8 @@ No arguments
|
|
|
2709
2704
|
paused
|
|
2710
2705
|
proposerFeeShare
|
|
2711
2706
|
publisherFeeShare
|
|
2707
|
+
publishSlashRate
|
|
2708
|
+
publishWaitingPeriod
|
|
2712
2709
|
tokenAddress
|
|
2713
2710
|
totalDepositAmount
|
|
2714
2711
|
totalWithdrawAmount
|
|
@@ -2872,9 +2869,6 @@ No arguments
|
|
|
2872
2869
|
blockHeight
|
|
2873
2870
|
contractAddress
|
|
2874
2871
|
depositFeeRate
|
|
2875
|
-
erc20TokenAddress
|
|
2876
|
-
foreignChainId
|
|
2877
|
-
foreignChainType
|
|
2878
2872
|
genesisTime
|
|
2879
2873
|
issuer
|
|
2880
2874
|
leaveWaitingPeriod
|
|
@@ -2897,6 +2891,8 @@ No arguments
|
|
|
2897
2891
|
paused
|
|
2898
2892
|
proposerFeeShare
|
|
2899
2893
|
publisherFeeShare
|
|
2894
|
+
publishSlashRate
|
|
2895
|
+
publishWaitingPeriod
|
|
2900
2896
|
renaissanceTime
|
|
2901
2897
|
tokenAddress
|
|
2902
2898
|
totalDepositAmount
|
|
@@ -2954,6 +2950,7 @@ No arguments
|
|
|
2954
2950
|
hash
|
|
2955
2951
|
height
|
|
2956
2952
|
merkleRoot
|
|
2953
|
+
minReward
|
|
2957
2954
|
mintedAmount
|
|
2958
2955
|
previousHash
|
|
2959
2956
|
proposer
|
package/docs/README.md
CHANGED
|
@@ -2237,7 +2237,6 @@ Structure of GraphQLClient.RequestListRollupsInput
|
|
|
2237
2237
|
| ------------------- | --------------------------------------- |
|
|
2238
2238
|
| ...paging | [`PageInput`](#GraphQLClient.PageInput) |
|
|
2239
2239
|
| tokenAddress | `string` |
|
|
2240
|
-
| erc20TokenAddress | `string` |
|
|
2241
2240
|
| foreignTokenAddress | `string` |
|
|
2242
2241
|
|
|
2243
2242
|
### GraphQLClient.RequestListStakesInput : `object`
|
|
@@ -2993,6 +2992,7 @@ Structure of GraphQLClient.CreateRollupBlockTx
|
|
|
2993
2992
|
| proposer | `string` |
|
|
2994
2993
|
| signatures | `Array.<...GraphQLClient.Multisig>` |
|
|
2995
2994
|
| rollup | `string` |
|
|
2995
|
+
| minReward | `string` |
|
|
2996
2996
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
2997
2997
|
|
|
2998
2998
|
### GraphQLClient.CreateRollupTx : `object`
|
|
@@ -3032,6 +3032,8 @@ Structure of GraphQLClient.CreateRollupTx
|
|
|
3032
3032
|
| paused | `boolean` |
|
|
3033
3033
|
| leaveWaitingPeriod | `number` |
|
|
3034
3034
|
| publisherFeeShare | `number` |
|
|
3035
|
+
| publishWaitingPeriod | `number` |
|
|
3036
|
+
| publishSlashRate | `number` |
|
|
3035
3037
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3036
3038
|
|
|
3037
3039
|
### GraphQLClient.CreateTokenTx : `object`
|
|
@@ -3218,6 +3220,7 @@ Checkout the following snippet for the format of DepositTokenV2Tx:
|
|
|
3218
3220
|
"hash": "abc"
|
|
3219
3221
|
},
|
|
3220
3222
|
"rollup": "abc",
|
|
3223
|
+
"actualFee": "abc",
|
|
3221
3224
|
"data": {
|
|
3222
3225
|
"typeUrl": "abc",
|
|
3223
3226
|
"value": "abc"
|
|
@@ -3235,6 +3238,7 @@ Checkout the following snippet for the format of DepositTokenV2Tx:
|
|
|
3235
3238
|
| proposer | `string` |
|
|
3236
3239
|
| ...evidence | [`Evidence`](#GraphQLClient.Evidence) |
|
|
3237
3240
|
| rollup | `string` |
|
|
3241
|
+
| actualFee | `string` |
|
|
3238
3242
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3239
3243
|
|
|
3240
3244
|
### GraphQLClient.DiskSpaceStatus : `object`
|
|
@@ -3645,7 +3649,6 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
3645
3649
|
| -------------------- | ------------------------------------------------------- |
|
|
3646
3650
|
| address | `string` |
|
|
3647
3651
|
| tokenAddress | `string` |
|
|
3648
|
-
| erc20TokenAddress | `string` |
|
|
3649
3652
|
| contractAddress | `string` |
|
|
3650
3653
|
| seedValidators | `Array.<...GraphQLClient.RollupValidator>` |
|
|
3651
3654
|
| validators | `Array.<...GraphQLClient.RollupValidator>` |
|
|
@@ -3656,8 +3659,6 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
3656
3659
|
| minBlockSize | `number` |
|
|
3657
3660
|
| maxBlockSize | `number` |
|
|
3658
3661
|
| minBlockInterval | `number` |
|
|
3659
|
-
| foreignChainType | `string` |
|
|
3660
|
-
| foreignChainId | `string` |
|
|
3661
3662
|
| genesisTime | `string` |
|
|
3662
3663
|
| renaissanceTime | `string` |
|
|
3663
3664
|
| ...tokenInfo | [`IndexedTokenInput`](#GraphQLClient.IndexedTokenInput) |
|
|
@@ -3682,6 +3683,8 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
3682
3683
|
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
3683
3684
|
| leaveWaitingPeriod | `number` |
|
|
3684
3685
|
| publisherFeeShare | `number` |
|
|
3686
|
+
| publishWaitingPeriod | `number` |
|
|
3687
|
+
| publishSlashRate | `number` |
|
|
3685
3688
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3686
3689
|
|
|
3687
3690
|
### GraphQLClient.IndexedRollupValidator : `object`
|
|
@@ -3756,22 +3759,21 @@ Structure of GraphQLClient.IndexedTokenState
|
|
|
3756
3759
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
3757
3760
|
**Properties**
|
|
3758
3761
|
|
|
3759
|
-
| Name
|
|
3760
|
-
|
|
|
3761
|
-
| name
|
|
3762
|
-
| description
|
|
3763
|
-
| symbol
|
|
3764
|
-
| unit
|
|
3765
|
-
| decimal
|
|
3766
|
-
| issuer
|
|
3767
|
-
| icon
|
|
3768
|
-
| totalSupply
|
|
3769
|
-
| address
|
|
3770
|
-
| genesisTime
|
|
3771
|
-
| renaissanceTime
|
|
3772
|
-
|
|
|
3773
|
-
| ...
|
|
3774
|
-
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3762
|
+
| Name | Type |
|
|
3763
|
+
| --------------- | --------------------------------------------- |
|
|
3764
|
+
| name | `string` |
|
|
3765
|
+
| description | `string` |
|
|
3766
|
+
| symbol | `string` |
|
|
3767
|
+
| unit | `string` |
|
|
3768
|
+
| decimal | `number` |
|
|
3769
|
+
| issuer | `string` |
|
|
3770
|
+
| icon | `string` |
|
|
3771
|
+
| totalSupply | `string` |
|
|
3772
|
+
| address | `string` |
|
|
3773
|
+
| genesisTime | `string` |
|
|
3774
|
+
| renaissanceTime | `string` |
|
|
3775
|
+
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
3776
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3775
3777
|
|
|
3776
3778
|
### GraphQLClient.IndexedTransaction : `object`
|
|
3777
3779
|
|
|
@@ -4586,6 +4588,7 @@ Structure of GraphQLClient.RollupBlock
|
|
|
4586
4588
|
| mintedAmount | `string` |
|
|
4587
4589
|
| burnedAmount | `string` |
|
|
4588
4590
|
| rewardAmount | `string` |
|
|
4591
|
+
| minReward | `string` |
|
|
4589
4592
|
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4590
4593
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4591
4594
|
|
|
@@ -4600,7 +4603,6 @@ Structure of GraphQLClient.RollupState
|
|
|
4600
4603
|
| -------------------- | ------------------------------------------------------- |
|
|
4601
4604
|
| address | `string` |
|
|
4602
4605
|
| tokenAddress | `string` |
|
|
4603
|
-
| erc20TokenAddress | `string` |
|
|
4604
4606
|
| contractAddress | `string` |
|
|
4605
4607
|
| seedValidators | `Array.<...GraphQLClient.RollupValidator>` |
|
|
4606
4608
|
| validators | `Array.<...GraphQLClient.RollupValidator>` |
|
|
@@ -4612,8 +4614,6 @@ Structure of GraphQLClient.RollupState
|
|
|
4612
4614
|
| maxBlockSize | `number` |
|
|
4613
4615
|
| minBlockInterval | `number` |
|
|
4614
4616
|
| minBlockConfirmation | `number` |
|
|
4615
|
-
| foreignChainType | `string` |
|
|
4616
|
-
| foreignChainId | `string` |
|
|
4617
4617
|
| issuer | `string` |
|
|
4618
4618
|
| depositFeeRate | `number` |
|
|
4619
4619
|
| withdrawFeeRate | `number` |
|
|
@@ -4635,6 +4635,8 @@ Structure of GraphQLClient.RollupState
|
|
|
4635
4635
|
| paused | `boolean` |
|
|
4636
4636
|
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
4637
4637
|
| leaveWaitingPeriod | `number` |
|
|
4638
|
+
| publishWaitingPeriod | `number` |
|
|
4639
|
+
| publishSlashRate | `number` |
|
|
4638
4640
|
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4639
4641
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4640
4642
|
|
|
@@ -4839,21 +4841,20 @@ Structure of GraphQLClient.TokenState
|
|
|
4839
4841
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
4840
4842
|
**Properties**
|
|
4841
4843
|
|
|
4842
|
-
| Name
|
|
4843
|
-
|
|
|
4844
|
-
| address
|
|
4845
|
-
| issuer
|
|
4846
|
-
| name
|
|
4847
|
-
| description
|
|
4848
|
-
| symbol
|
|
4849
|
-
| unit
|
|
4850
|
-
| decimal
|
|
4851
|
-
| icon
|
|
4852
|
-
| totalSupply
|
|
4853
|
-
|
|
|
4854
|
-
| ...
|
|
4855
|
-
| ...
|
|
4856
|
-
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4844
|
+
| Name | Type |
|
|
4845
|
+
| --------------- | --------------------------------------------- |
|
|
4846
|
+
| address | `string` |
|
|
4847
|
+
| issuer | `string` |
|
|
4848
|
+
| name | `string` |
|
|
4849
|
+
| description | `string` |
|
|
4850
|
+
| symbol | `string` |
|
|
4851
|
+
| unit | `string` |
|
|
4852
|
+
| decimal | `number` |
|
|
4853
|
+
| icon | `string` |
|
|
4854
|
+
| totalSupply | `string` |
|
|
4855
|
+
| ...foreignToken | [`ForeignToken`](#GraphQLClient.ForeignToken) |
|
|
4856
|
+
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
4857
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4857
4858
|
|
|
4858
4859
|
### GraphQLClient.TokenSwapConfig : `object`
|
|
4859
4860
|
|
|
@@ -5077,6 +5078,9 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5077
5078
|
"paused": true,
|
|
5078
5079
|
"rollup": "abc",
|
|
5079
5080
|
"publisherFeeShare": 123,
|
|
5081
|
+
"leaveWaitingPeriod": 123,
|
|
5082
|
+
"publishWaitingPeriod": 123,
|
|
5083
|
+
"publishSlashRate": 123,
|
|
5080
5084
|
"data": {
|
|
5081
5085
|
"typeUrl": "abc",
|
|
5082
5086
|
"value": "abc"
|
|
@@ -5111,6 +5115,9 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5111
5115
|
| paused | `boolean` |
|
|
5112
5116
|
| rollup | `string` |
|
|
5113
5117
|
| publisherFeeShare | `number` |
|
|
5118
|
+
| leaveWaitingPeriod | `number` |
|
|
5119
|
+
| publishWaitingPeriod | `number` |
|
|
5120
|
+
| publishSlashRate | `number` |
|
|
5114
5121
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
5115
5122
|
|
|
5116
5123
|
### GraphQLClient.UpgradeInfo : `object`
|
|
@@ -5266,6 +5273,9 @@ Checkout the following snippet for the format of WithdrawTokenV2Tx:
|
|
|
5266
5273
|
},
|
|
5267
5274
|
"to": "abc",
|
|
5268
5275
|
"rollup": "abc",
|
|
5276
|
+
"proposer": "abc",
|
|
5277
|
+
"maxFee": "abc",
|
|
5278
|
+
"actualFee": "abc",
|
|
5269
5279
|
"data": {
|
|
5270
5280
|
"typeUrl": "abc",
|
|
5271
5281
|
"value": "abc"
|
|
@@ -5276,12 +5286,15 @@ Checkout the following snippet for the format of WithdrawTokenV2Tx:
|
|
|
5276
5286
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)
|
|
5277
5287
|
**Properties**
|
|
5278
5288
|
|
|
5279
|
-
| Name
|
|
5280
|
-
|
|
|
5281
|
-
| ...token
|
|
5282
|
-
| to
|
|
5283
|
-
| rollup
|
|
5284
|
-
|
|
|
5289
|
+
| Name | Type |
|
|
5290
|
+
| --------- | ----------------------------------------- |
|
|
5291
|
+
| ...token | [`TokenInput`](#GraphQLClient.TokenInput) |
|
|
5292
|
+
| to | `string` |
|
|
5293
|
+
| rollup | `string` |
|
|
5294
|
+
| proposer | `string` |
|
|
5295
|
+
| maxFee | `string` |
|
|
5296
|
+
| actualFee | `string` |
|
|
5297
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
5285
5298
|
|
|
5286
5299
|
### GraphQLClient.GetAccountStateParams : `object`
|
|
5287
5300
|
|