@ocap/types 1.19.1 → 1.19.3

Sign up to get free protection for your applications and to get access to all the features.
package/lib/rpc_pb.d.ts CHANGED
@@ -1863,3 +1863,45 @@ export type TResponseVerifyAccountRisk = {
1863
1863
  data?: trace_type_pb.TVerifyAccountRiskResult,
1864
1864
  }
1865
1865
 
1866
+ export class RequestGetTokenDistribution extends jspb.Message {
1867
+ getTokenAddress(): string;
1868
+ setTokenAddress(value: string): void;
1869
+
1870
+ serializeBinary(): Uint8Array;
1871
+ toObject(includeInstance?: boolean): TRequestGetTokenDistribution;
1872
+ static toObject(includeInstance: boolean, msg: RequestGetTokenDistribution): TRequestGetTokenDistribution;
1873
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1874
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1875
+ static serializeBinaryToWriter(message: RequestGetTokenDistribution, writer: jspb.BinaryWriter): void;
1876
+ static deserializeBinary(bytes: Uint8Array): RequestGetTokenDistribution;
1877
+ static deserializeBinaryFromReader(message: RequestGetTokenDistribution, reader: jspb.BinaryReader): RequestGetTokenDistribution;
1878
+ }
1879
+
1880
+ export type TRequestGetTokenDistribution = {
1881
+ tokenAddress: string,
1882
+ }
1883
+
1884
+ export class ResponseGetTokenDistribution extends jspb.Message {
1885
+ getCode(): enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
1886
+ setCode(value: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]): void;
1887
+
1888
+ hasData(): boolean;
1889
+ clearData(): void;
1890
+ getData(): trace_type_pb.TTokenDistribution | undefined;
1891
+ setData(value?: trace_type_pb.TTokenDistribution): void;
1892
+
1893
+ serializeBinary(): Uint8Array;
1894
+ toObject(includeInstance?: boolean): TResponseGetTokenDistribution;
1895
+ static toObject(includeInstance: boolean, msg: ResponseGetTokenDistribution): TResponseGetTokenDistribution;
1896
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1897
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1898
+ static serializeBinaryToWriter(message: ResponseGetTokenDistribution, writer: jspb.BinaryWriter): void;
1899
+ static deserializeBinary(bytes: Uint8Array): ResponseGetTokenDistribution;
1900
+ static deserializeBinaryFromReader(message: ResponseGetTokenDistribution, reader: jspb.BinaryReader): ResponseGetTokenDistribution;
1901
+ }
1902
+
1903
+ export type TResponseGetTokenDistribution = {
1904
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
1905
+ data?: trace_type_pb.TTokenDistribution,
1906
+ }
1907
+
@@ -1531,6 +1531,56 @@ export type TVerifyAccountRiskResult = {
1531
1531
  txCount: number,
1532
1532
  }
1533
1533
 
1534
+ export class TokenDistribution extends jspb.Message {
1535
+ getTokenAddress(): string;
1536
+ setTokenAddress(value: string): void;
1537
+
1538
+ getTxTime(): string;
1539
+ setTxTime(value: string): void;
1540
+
1541
+ getAccount(): string;
1542
+ setAccount(value: string): void;
1543
+
1544
+ getGas(): string;
1545
+ setGas(value: string): void;
1546
+
1547
+ getFee(): string;
1548
+ setFee(value: string): void;
1549
+
1550
+ getSlashedVault(): string;
1551
+ setSlashedVault(value: string): void;
1552
+
1553
+ getStake(): string;
1554
+ setStake(value: string): void;
1555
+
1556
+ getRevokedStake(): string;
1557
+ setRevokedStake(value: string): void;
1558
+
1559
+ getGasStake(): string;
1560
+ setGasStake(value: string): void;
1561
+
1562
+ serializeBinary(): Uint8Array;
1563
+ toObject(includeInstance?: boolean): TTokenDistribution;
1564
+ static toObject(includeInstance: boolean, msg: TokenDistribution): TTokenDistribution;
1565
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1566
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1567
+ static serializeBinaryToWriter(message: TokenDistribution, writer: jspb.BinaryWriter): void;
1568
+ static deserializeBinary(bytes: Uint8Array): TokenDistribution;
1569
+ static deserializeBinaryFromReader(message: TokenDistribution, reader: jspb.BinaryReader): TokenDistribution;
1570
+ }
1571
+
1572
+ export type TTokenDistribution = {
1573
+ tokenAddress: string,
1574
+ txTime: string,
1575
+ account: string,
1576
+ gas: string,
1577
+ fee: string,
1578
+ slashedVault: string,
1579
+ stake: string,
1580
+ revokedStake: string,
1581
+ gasStake: string,
1582
+ }
1583
+
1534
1584
  export interface DirectionMap {
1535
1585
  MUTUAL: 0;
1536
1586
  ONE_WAY: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/types",
3
- "version": "1.19.1",
3
+ "version": "1.19.3",
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/blockchain/issues"
41
41
  },
42
- "gitHead": "21184488172c6c824ebd1714f728ff2aee4a3ac0"
42
+ "gitHead": "756076dad0df7468beecc95c8effd55f8c4c4f49"
43
43
  }