@ocap/types 1.18.34 → 1.18.36

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/state_pb.d.ts CHANGED
@@ -630,6 +630,9 @@ export class RollupState extends jspb.Message {
630
630
  getTokenAddress(): string;
631
631
  setTokenAddress(value: string): void;
632
632
 
633
+ getVaultAddress(): string;
634
+ setVaultAddress(value: string): void;
635
+
633
636
  getContractAddress(): string;
634
637
  setContractAddress(value: string): void;
635
638
 
@@ -745,6 +748,14 @@ export class RollupState extends jspb.Message {
745
748
  setMigrateHistoryList(value: Array<string>): void;
746
749
  addMigrateHistory(value: string, index?: number): string;
747
750
 
751
+ getClosed(): boolean;
752
+ setClosed(value: boolean): void;
753
+
754
+ clearVaultHistoryList(): void;
755
+ getVaultHistoryList(): Array<string>;
756
+ setVaultHistoryList(value: Array<string>): void;
757
+ addVaultHistory(value: string, index?: number): string;
758
+
748
759
  hasContext(): boolean;
749
760
  clearContext(): void;
750
761
  getContext(): type_pb.TStateContext | undefined;
@@ -768,6 +779,7 @@ export class RollupState extends jspb.Message {
768
779
  export type TRollupState = {
769
780
  address: string,
770
781
  tokenAddress: string,
782
+ vaultAddress: string,
771
783
  contractAddress: string,
772
784
  seedValidators: Array<type_pb.TRollupValidator>,
773
785
  validators: Array<type_pb.TRollupValidator>,
@@ -803,6 +815,8 @@ export type TRollupState = {
803
815
  publishWaitingPeriod: number,
804
816
  publishSlashRate: number,
805
817
  migrateHistory: Array<string>,
818
+ closed: boolean,
819
+ vaultHistory: Array<string>,
806
820
  context?: type_pb.TStateContext,
807
821
  data?: google_protobuf_any_pb.Any,
808
822
  }
@@ -851,6 +865,9 @@ export class RollupBlock extends jspb.Message {
851
865
  getMinReward(): string;
852
866
  setMinReward(value: string): void;
853
867
 
868
+ getGovernance(): boolean;
869
+ setGovernance(value: boolean): void;
870
+
854
871
  hasContext(): boolean;
855
872
  clearContext(): void;
856
873
  getContext(): type_pb.TStateContext | undefined;
@@ -885,6 +902,7 @@ export type TRollupBlock = {
885
902
  burnedAmount: string,
886
903
  rewardAmount: string,
887
904
  minReward: string,
905
+ governance: boolean,
888
906
  context?: type_pb.TStateContext,
889
907
  data?: google_protobuf_any_pb.Any,
890
908
  }
@@ -980,6 +980,9 @@ export class IndexedRollupState extends jspb.Message {
980
980
  getTokenAddress(): string;
981
981
  setTokenAddress(value: string): void;
982
982
 
983
+ getVaultAddress(): string;
984
+ setVaultAddress(value: string): void;
985
+
983
986
  getContractAddress(): string;
984
987
  setContractAddress(value: string): void;
985
988
 
@@ -1101,6 +1104,14 @@ export class IndexedRollupState extends jspb.Message {
1101
1104
  setMigrateHistoryList(value: Array<string>): void;
1102
1105
  addMigrateHistory(value: string, index?: number): string;
1103
1106
 
1107
+ getClosed(): boolean;
1108
+ setClosed(value: boolean): void;
1109
+
1110
+ clearVaultHistoryList(): void;
1111
+ getVaultHistoryList(): Array<string>;
1112
+ setVaultHistoryList(value: Array<string>): void;
1113
+ addVaultHistory(value: string, index?: number): string;
1114
+
1104
1115
  hasData(): boolean;
1105
1116
  clearData(): void;
1106
1117
  getData(): google_protobuf_any_pb.Any | undefined;
@@ -1119,6 +1130,7 @@ export class IndexedRollupState extends jspb.Message {
1119
1130
  export type TIndexedRollupState = {
1120
1131
  address: string,
1121
1132
  tokenAddress: string,
1133
+ vaultAddress: string,
1122
1134
  contractAddress: string,
1123
1135
  seedValidators: Array<type_pb.TRollupValidator>,
1124
1136
  validators: Array<type_pb.TRollupValidator>,
@@ -1156,6 +1168,8 @@ export type TIndexedRollupState = {
1156
1168
  publishWaitingPeriod: number,
1157
1169
  publishSlashRate: number,
1158
1170
  migrateHistory: Array<string>,
1171
+ closed: boolean,
1172
+ vaultHistory: Array<string>,
1159
1173
  data?: google_protobuf_any_pb.Any,
1160
1174
  }
1161
1175
 
@@ -1206,6 +1220,9 @@ export class IndexedRollupBlock extends jspb.Message {
1206
1220
  getRewardAmount(): string;
1207
1221
  setRewardAmount(value: string): void;
1208
1222
 
1223
+ getGovernance(): boolean;
1224
+ setGovernance(value: boolean): void;
1225
+
1209
1226
  hasTokenInfo(): boolean;
1210
1227
  clearTokenInfo(): void;
1211
1228
  getTokenInfo(): type_pb.TIndexedTokenInput | undefined;
@@ -1241,6 +1258,7 @@ export type TIndexedRollupBlock = {
1241
1258
  mintedAmount: string,
1242
1259
  burnedAmount: string,
1243
1260
  rewardAmount: string,
1261
+ governance: boolean,
1244
1262
  tokenInfo?: type_pb.TIndexedTokenInput,
1245
1263
  data?: google_protobuf_any_pb.Any,
1246
1264
  }
package/lib/tx_pb.d.ts CHANGED
@@ -995,6 +995,9 @@ export class CreateRollupTx extends jspb.Message {
995
995
  getTokenAddress(): string;
996
996
  setTokenAddress(value: string): void;
997
997
 
998
+ getVaultAddress(): string;
999
+ setVaultAddress(value: string): void;
1000
+
998
1001
  getContractAddress(): string;
999
1002
  setContractAddress(value: string): void;
1000
1003
 
@@ -1099,6 +1102,7 @@ export class CreateRollupTx extends jspb.Message {
1099
1102
  export type TCreateRollupTx = {
1100
1103
  address: string,
1101
1104
  tokenAddress: string,
1105
+ vaultAddress: string,
1102
1106
  contractAddress: string,
1103
1107
  seedValidators: Array<type_pb.TRollupValidator>,
1104
1108
  minStakeAmount: string,
@@ -1357,6 +1361,9 @@ export class CreateRollupBlockTx extends jspb.Message {
1357
1361
  getMinReward(): string;
1358
1362
  setMinReward(value: string): void;
1359
1363
 
1364
+ getGovernance(): boolean;
1365
+ setGovernance(value: boolean): void;
1366
+
1360
1367
  hasData(): boolean;
1361
1368
  clearData(): void;
1362
1369
  getData(): google_protobuf_any_pb.Any | undefined;
@@ -1383,6 +1390,7 @@ export type TCreateRollupBlockTx = {
1383
1390
  signatures: Array<type_pb.TMultisig>,
1384
1391
  rollup: string,
1385
1392
  minReward: string,
1393
+ governance: boolean,
1386
1394
  data?: google_protobuf_any_pb.Any,
1387
1395
  }
1388
1396
 
@@ -1476,12 +1484,12 @@ export type TResumeRollupTx = {
1476
1484
  data?: google_protobuf_any_pb.Any,
1477
1485
  }
1478
1486
 
1479
- export class MigrateRollupContractTx extends jspb.Message {
1487
+ export class CloseRollupTx extends jspb.Message {
1480
1488
  getRollup(): string;
1481
1489
  setRollup(value: string): void;
1482
1490
 
1483
- getTo(): string;
1484
- setTo(value: string): void;
1491
+ getMessage(): string;
1492
+ setMessage(value: string): void;
1485
1493
 
1486
1494
  hasData(): boolean;
1487
1495
  clearData(): void;
@@ -1489,35 +1497,33 @@ export class MigrateRollupContractTx extends jspb.Message {
1489
1497
  setData(value?: google_protobuf_any_pb.Any): void;
1490
1498
 
1491
1499
  serializeBinary(): Uint8Array;
1492
- toObject(includeInstance?: boolean): TMigrateRollupContractTx;
1493
- static toObject(includeInstance: boolean, msg: MigrateRollupContractTx): TMigrateRollupContractTx;
1500
+ toObject(includeInstance?: boolean): TCloseRollupTx;
1501
+ static toObject(includeInstance: boolean, msg: CloseRollupTx): TCloseRollupTx;
1494
1502
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1495
1503
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1496
- static serializeBinaryToWriter(message: MigrateRollupContractTx, writer: jspb.BinaryWriter): void;
1497
- static deserializeBinary(bytes: Uint8Array): MigrateRollupContractTx;
1498
- static deserializeBinaryFromReader(message: MigrateRollupContractTx, reader: jspb.BinaryReader): MigrateRollupContractTx;
1504
+ static serializeBinaryToWriter(message: CloseRollupTx, writer: jspb.BinaryWriter): void;
1505
+ static deserializeBinary(bytes: Uint8Array): CloseRollupTx;
1506
+ static deserializeBinaryFromReader(message: CloseRollupTx, reader: jspb.BinaryReader): CloseRollupTx;
1499
1507
  }
1500
1508
 
1501
- export type TMigrateRollupContractTx = {
1509
+ export type TCloseRollupTx = {
1502
1510
  rollup: string,
1503
- to: string,
1511
+ message: string,
1504
1512
  data?: google_protobuf_any_pb.Any,
1505
1513
  }
1506
1514
 
1507
- export class MigrateRollupTokenTx extends jspb.Message {
1515
+ export class MigrateRollupTx extends jspb.Message {
1508
1516
  getRollup(): string;
1509
1517
  setRollup(value: string): void;
1510
1518
 
1511
- getFrom(): string;
1512
- setFrom(value: string): void;
1513
-
1514
1519
  getTo(): string;
1515
1520
  setTo(value: string): void;
1516
1521
 
1517
- hasToken(): boolean;
1518
- clearToken(): void;
1519
- getToken(): type_pb.TTokenInput | undefined;
1520
- setToken(value?: type_pb.TTokenInput): void;
1522
+ getType(): string;
1523
+ setType(value: string): void;
1524
+
1525
+ getMessage(): string;
1526
+ setMessage(value: string): void;
1521
1527
 
1522
1528
  hasData(): boolean;
1523
1529
  clearData(): void;
@@ -1525,20 +1531,20 @@ export class MigrateRollupTokenTx extends jspb.Message {
1525
1531
  setData(value?: google_protobuf_any_pb.Any): void;
1526
1532
 
1527
1533
  serializeBinary(): Uint8Array;
1528
- toObject(includeInstance?: boolean): TMigrateRollupTokenTx;
1529
- static toObject(includeInstance: boolean, msg: MigrateRollupTokenTx): TMigrateRollupTokenTx;
1534
+ toObject(includeInstance?: boolean): TMigrateRollupTx;
1535
+ static toObject(includeInstance: boolean, msg: MigrateRollupTx): TMigrateRollupTx;
1530
1536
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1531
1537
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1532
- static serializeBinaryToWriter(message: MigrateRollupTokenTx, writer: jspb.BinaryWriter): void;
1533
- static deserializeBinary(bytes: Uint8Array): MigrateRollupTokenTx;
1534
- static deserializeBinaryFromReader(message: MigrateRollupTokenTx, reader: jspb.BinaryReader): MigrateRollupTokenTx;
1538
+ static serializeBinaryToWriter(message: MigrateRollupTx, writer: jspb.BinaryWriter): void;
1539
+ static deserializeBinary(bytes: Uint8Array): MigrateRollupTx;
1540
+ static deserializeBinaryFromReader(message: MigrateRollupTx, reader: jspb.BinaryReader): MigrateRollupTx;
1535
1541
  }
1536
1542
 
1537
- export type TMigrateRollupTokenTx = {
1543
+ export type TMigrateRollupTx = {
1538
1544
  rollup: string,
1539
- from: string,
1540
1545
  to: string,
1541
- token?: type_pb.TTokenInput,
1546
+ type: string,
1547
+ message: string,
1542
1548
  data?: google_protobuf_any_pb.Any,
1543
1549
  }
1544
1550
 
@@ -1792,15 +1798,15 @@ export class ItxStub extends jspb.Message {
1792
1798
  getResumeRollup(): TResumeRollupTx | undefined;
1793
1799
  setResumeRollup(value?: TResumeRollupTx): void;
1794
1800
 
1795
- hasMigrateRollupContract(): boolean;
1796
- clearMigrateRollupContract(): void;
1797
- getMigrateRollupContract(): TMigrateRollupContractTx | undefined;
1798
- setMigrateRollupContract(value?: TMigrateRollupContractTx): void;
1801
+ hasMigrateRollup(): boolean;
1802
+ clearMigrateRollup(): void;
1803
+ getMigrateRollup(): TMigrateRollupTx | undefined;
1804
+ setMigrateRollup(value?: TMigrateRollupTx): void;
1799
1805
 
1800
- hasMigrateRollupToken(): boolean;
1801
- clearMigrateRollupToken(): void;
1802
- getMigrateRollupToken(): TMigrateRollupTokenTx | undefined;
1803
- setMigrateRollupToken(value?: TMigrateRollupTokenTx): void;
1806
+ hasCloseRollup(): boolean;
1807
+ clearCloseRollup(): void;
1808
+ getCloseRollup(): TCloseRollupTx | undefined;
1809
+ setCloseRollup(value?: TCloseRollupTx): void;
1804
1810
 
1805
1811
  getValueCase(): ItxStub.ValueCase;
1806
1812
  serializeBinary(): Uint8Array;
@@ -1845,8 +1851,8 @@ export type TItxStub = {
1845
1851
  claimBlockReward?: TClaimBlockRewardTx,
1846
1852
  pauseRollup?: TPauseRollupTx,
1847
1853
  resumeRollup?: TResumeRollupTx,
1848
- migrateRollupContract?: TMigrateRollupContractTx,
1849
- migrateRollupToken?: TMigrateRollupTokenTx,
1854
+ migrateRollup?: TMigrateRollupTx,
1855
+ closeRollup?: TCloseRollupTx,
1850
1856
  }
1851
1857
 
1852
1858
  export enum ValueCase {
@@ -1882,7 +1888,7 @@ export type TItxStub = {
1882
1888
  CLAIM_BLOCK_REWARD = 55,
1883
1889
  PAUSE_ROLLUP = 56,
1884
1890
  RESUME_ROLLUP = 57,
1885
- MIGRATE_ROLLUP_CONTRACT = 58,
1886
- MIGRATE_ROLLUP_TOKEN = 59,
1891
+ MIGRATE_ROLLUP = 58,
1892
+ CLOSE_ROLLUP = 60,
1887
1893
  }
1888
1894
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/types",
3
- "version": "1.18.34",
3
+ "version": "1.18.36",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "ocap",
@@ -39,5 +39,5 @@
39
39
  "bugs": {
40
40
  "url": "https://github.com/ArcBlock/asset-chain/issues"
41
41
  },
42
- "gitHead": "c12d3cbf9617d861d83c08726d9e0d55fdf9a459"
42
+ "gitHead": "507eaab0fc94d92a88c49c2e3441c5f6b0e3788f"
43
43
  }