@ocap/proto 1.13.65 → 1.13.69
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/gen/spec.json +21 -119
- package/lib/gen/state_pb.js +52 -384
- package/lib/gen/tx_pb.js +0 -326
- package/lib/gen/type_pb.js +146 -765
- package/lib/index.d.ts +3 -4
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -1632,30 +1632,26 @@
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
},
|
|
1635
|
-
"
|
|
1635
|
+
"DelegateConfig": {
|
|
1636
1636
|
"fields": {
|
|
1637
|
-
"
|
|
1638
|
-
"type": "
|
|
1637
|
+
"deltaInterval": {
|
|
1638
|
+
"type": "uint32",
|
|
1639
1639
|
"id": 1
|
|
1640
1640
|
},
|
|
1641
|
-
"
|
|
1642
|
-
"
|
|
1641
|
+
"typeUrls": {
|
|
1642
|
+
"rule": "repeated",
|
|
1643
|
+
"type": "string",
|
|
1643
1644
|
"id": 2
|
|
1644
|
-
},
|
|
1645
|
-
"cost": {
|
|
1646
|
-
"type": "BigUint",
|
|
1647
|
-
"id": 3
|
|
1648
1645
|
}
|
|
1649
1646
|
}
|
|
1650
1647
|
},
|
|
1651
|
-
"
|
|
1648
|
+
"TxFeeConfig": {
|
|
1652
1649
|
"fields": {
|
|
1653
|
-
"
|
|
1654
|
-
"type": "
|
|
1650
|
+
"typeUrl": {
|
|
1651
|
+
"type": "string",
|
|
1655
1652
|
"id": 1
|
|
1656
1653
|
},
|
|
1657
|
-
"
|
|
1658
|
-
"rule": "repeated",
|
|
1654
|
+
"fee": {
|
|
1659
1655
|
"type": "string",
|
|
1660
1656
|
"id": 2
|
|
1661
1657
|
}
|
|
@@ -1675,21 +1671,14 @@
|
|
|
1675
1671
|
"type": "uint32",
|
|
1676
1672
|
"id": 3
|
|
1677
1673
|
},
|
|
1678
|
-
"minimumStake": {
|
|
1679
|
-
"type": "string",
|
|
1680
|
-
"id": 4
|
|
1681
|
-
},
|
|
1682
|
-
"declare": {
|
|
1683
|
-
"type": "DeclareConfig",
|
|
1684
|
-
"id": 5
|
|
1685
|
-
},
|
|
1686
1674
|
"delegate": {
|
|
1687
1675
|
"type": "DelegateConfig",
|
|
1688
|
-
"id":
|
|
1676
|
+
"id": 4
|
|
1689
1677
|
},
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"
|
|
1678
|
+
"txFee": {
|
|
1679
|
+
"rule": "repeated",
|
|
1680
|
+
"type": "TxFeeConfig",
|
|
1681
|
+
"id": 5
|
|
1693
1682
|
}
|
|
1694
1683
|
}
|
|
1695
1684
|
},
|
|
@@ -1948,18 +1937,6 @@
|
|
|
1948
1937
|
}
|
|
1949
1938
|
}
|
|
1950
1939
|
},
|
|
1951
|
-
"StakeConfig": {
|
|
1952
|
-
"fields": {
|
|
1953
|
-
"timeoutGeneral": {
|
|
1954
|
-
"type": "uint32",
|
|
1955
|
-
"id": 1
|
|
1956
|
-
},
|
|
1957
|
-
"timeoutStakeForNode": {
|
|
1958
|
-
"type": "uint32",
|
|
1959
|
-
"id": 2
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
1962
|
-
},
|
|
1963
1940
|
"UnconfirmedTxs": {
|
|
1964
1941
|
"fields": {
|
|
1965
1942
|
"nTxs": {
|
|
@@ -2333,30 +2310,6 @@
|
|
|
2333
2310
|
}
|
|
2334
2311
|
}
|
|
2335
2312
|
},
|
|
2336
|
-
"TokenSwapConfig": {
|
|
2337
|
-
"fields": {
|
|
2338
|
-
"commissionHolderAddress": {
|
|
2339
|
-
"type": "string",
|
|
2340
|
-
"id": 1
|
|
2341
|
-
},
|
|
2342
|
-
"commissionRate": {
|
|
2343
|
-
"type": "uint32",
|
|
2344
|
-
"id": 4
|
|
2345
|
-
},
|
|
2346
|
-
"revokeCommissionRate": {
|
|
2347
|
-
"type": "uint32",
|
|
2348
|
-
"id": 5
|
|
2349
|
-
},
|
|
2350
|
-
"minCommission": {
|
|
2351
|
-
"type": "BigUint",
|
|
2352
|
-
"id": 6
|
|
2353
|
-
},
|
|
2354
|
-
"maxCommission": {
|
|
2355
|
-
"type": "BigUint",
|
|
2356
|
-
"id": 7
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
2313
|
"Evidence": {
|
|
2361
2314
|
"fields": {
|
|
2362
2315
|
"hash": {
|
|
@@ -2678,18 +2631,6 @@
|
|
|
2678
2631
|
}
|
|
2679
2632
|
}
|
|
2680
2633
|
},
|
|
2681
|
-
"CoreProtocol": {
|
|
2682
|
-
"fields": {
|
|
2683
|
-
"name": {
|
|
2684
|
-
"type": "string",
|
|
2685
|
-
"id": 1
|
|
2686
|
-
},
|
|
2687
|
-
"address": {
|
|
2688
|
-
"type": "string",
|
|
2689
|
-
"id": 2
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2692
|
-
},
|
|
2693
2634
|
"ForgeState": {
|
|
2694
2635
|
"fields": {
|
|
2695
2636
|
"address": {
|
|
@@ -2705,45 +2646,26 @@
|
|
|
2705
2646
|
"type": "UpgradeTasks",
|
|
2706
2647
|
"id": 3
|
|
2707
2648
|
},
|
|
2708
|
-
"stakeSummary": {
|
|
2709
|
-
"keyType": "uint32",
|
|
2710
|
-
"type": "StakeSummary",
|
|
2711
|
-
"id": 4
|
|
2712
|
-
},
|
|
2713
2649
|
"version": {
|
|
2714
2650
|
"type": "string",
|
|
2715
|
-
"id":
|
|
2651
|
+
"id": 4
|
|
2716
2652
|
},
|
|
2717
2653
|
"token": {
|
|
2718
2654
|
"type": "ForgeToken",
|
|
2719
|
-
"id":
|
|
2655
|
+
"id": 5
|
|
2720
2656
|
},
|
|
2721
2657
|
"txConfig": {
|
|
2722
2658
|
"type": "TransactionConfig",
|
|
2723
|
-
"id":
|
|
2724
|
-
},
|
|
2725
|
-
"protocols": {
|
|
2726
|
-
"rule": "repeated",
|
|
2727
|
-
"type": "CoreProtocol",
|
|
2728
|
-
"id": 12
|
|
2729
|
-
},
|
|
2730
|
-
"gas": {
|
|
2731
|
-
"keyType": "string",
|
|
2732
|
-
"type": "uint32",
|
|
2733
|
-
"id": 13
|
|
2659
|
+
"id": 6
|
|
2734
2660
|
},
|
|
2735
2661
|
"upgradeInfo": {
|
|
2736
2662
|
"type": "UpgradeInfo",
|
|
2737
|
-
"id":
|
|
2663
|
+
"id": 7
|
|
2738
2664
|
},
|
|
2739
2665
|
"accountConfig": {
|
|
2740
|
-
"
|
|
2666
|
+
"rule": "repeated",
|
|
2741
2667
|
"type": "AccountConfig",
|
|
2742
|
-
"id":
|
|
2743
|
-
},
|
|
2744
|
-
"tokenSwapConfig": {
|
|
2745
|
-
"type": "TokenSwapConfig",
|
|
2746
|
-
"id": 17
|
|
2668
|
+
"id": 8
|
|
2747
2669
|
},
|
|
2748
2670
|
"data": {
|
|
2749
2671
|
"type": "google.protobuf.Any",
|
|
@@ -3442,26 +3364,6 @@
|
|
|
3442
3364
|
}
|
|
3443
3365
|
}
|
|
3444
3366
|
},
|
|
3445
|
-
"UpdateConsensusParamsTx": {
|
|
3446
|
-
"fields": {
|
|
3447
|
-
"delegateConfig": {
|
|
3448
|
-
"type": "DelegateConfig",
|
|
3449
|
-
"id": 1
|
|
3450
|
-
},
|
|
3451
|
-
"declareConfig": {
|
|
3452
|
-
"type": "DeclareConfig",
|
|
3453
|
-
"id": 2
|
|
3454
|
-
},
|
|
3455
|
-
"tokenSwapConfig": {
|
|
3456
|
-
"type": "TokenSwapConfig",
|
|
3457
|
-
"id": 3
|
|
3458
|
-
},
|
|
3459
|
-
"moderatorConfig": {
|
|
3460
|
-
"type": "AccountConfig",
|
|
3461
|
-
"id": 4
|
|
3462
|
-
}
|
|
3463
|
-
}
|
|
3464
|
-
},
|
|
3465
3367
|
"UpgradeNodeTx": {
|
|
3466
3368
|
"fields": {
|
|
3467
3369
|
"height": {
|