@ocap/types 1.18.8 → 1.18.10
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/rpc_pb.d.ts +46 -0
- package/lib/type_pb.d.ts +18 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
|
@@ -1569,3 +1569,49 @@ export type TResponseGetForgeStats = {
|
|
|
1569
1569
|
forgeStats?: type_pb.TForgeStats,
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
|
+
export class RequestEstimateGas extends jspb.Message {
|
|
1573
|
+
getTypeUrl(): string;
|
|
1574
|
+
setTypeUrl(value: string): void;
|
|
1575
|
+
|
|
1576
|
+
getTx(): string;
|
|
1577
|
+
setTx(value: string): void;
|
|
1578
|
+
|
|
1579
|
+
serializeBinary(): Uint8Array;
|
|
1580
|
+
toObject(includeInstance?: boolean): TRequestEstimateGas;
|
|
1581
|
+
static toObject(includeInstance: boolean, msg: RequestEstimateGas): TRequestEstimateGas;
|
|
1582
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1583
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1584
|
+
static serializeBinaryToWriter(message: RequestEstimateGas, writer: jspb.BinaryWriter): void;
|
|
1585
|
+
static deserializeBinary(bytes: Uint8Array): RequestEstimateGas;
|
|
1586
|
+
static deserializeBinaryFromReader(message: RequestEstimateGas, reader: jspb.BinaryReader): RequestEstimateGas;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
export type TRequestEstimateGas = {
|
|
1590
|
+
typeUrl: string,
|
|
1591
|
+
tx: string,
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
export class ResponseEstimateGas extends jspb.Message {
|
|
1595
|
+
getCode(): enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
1596
|
+
setCode(value: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]): void;
|
|
1597
|
+
|
|
1598
|
+
hasEstimate(): boolean;
|
|
1599
|
+
clearEstimate(): void;
|
|
1600
|
+
getEstimate(): type_pb.TGasEstimate | undefined;
|
|
1601
|
+
setEstimate(value?: type_pb.TGasEstimate): void;
|
|
1602
|
+
|
|
1603
|
+
serializeBinary(): Uint8Array;
|
|
1604
|
+
toObject(includeInstance?: boolean): TResponseEstimateGas;
|
|
1605
|
+
static toObject(includeInstance: boolean, msg: ResponseEstimateGas): TResponseEstimateGas;
|
|
1606
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1607
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1608
|
+
static serializeBinaryToWriter(message: ResponseEstimateGas, writer: jspb.BinaryWriter): void;
|
|
1609
|
+
static deserializeBinary(bytes: Uint8Array): ResponseEstimateGas;
|
|
1610
|
+
static deserializeBinaryFromReader(message: ResponseEstimateGas, reader: jspb.BinaryReader): ResponseEstimateGas;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
export type TResponseEstimateGas = {
|
|
1614
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
|
1615
|
+
estimate?: type_pb.TGasEstimate,
|
|
1616
|
+
}
|
|
1617
|
+
|
package/lib/type_pb.d.ts
CHANGED
|
@@ -1921,3 +1921,21 @@ export type TForgeStats = {
|
|
|
1921
1921
|
avgBlockTime: number,
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
+
export class GasEstimate extends jspb.Message {
|
|
1925
|
+
getMax(): string;
|
|
1926
|
+
setMax(value: string): void;
|
|
1927
|
+
|
|
1928
|
+
serializeBinary(): Uint8Array;
|
|
1929
|
+
toObject(includeInstance?: boolean): TGasEstimate;
|
|
1930
|
+
static toObject(includeInstance: boolean, msg: GasEstimate): TGasEstimate;
|
|
1931
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1932
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1933
|
+
static serializeBinaryToWriter(message: GasEstimate, writer: jspb.BinaryWriter): void;
|
|
1934
|
+
static deserializeBinary(bytes: Uint8Array): GasEstimate;
|
|
1935
|
+
static deserializeBinaryFromReader(message: GasEstimate, reader: jspb.BinaryReader): GasEstimate;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
export type TGasEstimate = {
|
|
1939
|
+
max: string,
|
|
1940
|
+
}
|
|
1941
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/types",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.10",
|
|
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": "
|
|
42
|
+
"gitHead": "1c857951c380626c02c423d00a7b7e8c0a63faa2"
|
|
43
43
|
}
|