@ocap/types 1.18.123 → 1.18.125
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/tx_pb.d.ts +41 -0
- package/package.json +2 -2
package/lib/tx_pb.d.ts
CHANGED
@@ -1026,6 +1026,40 @@ export type TSlashStakeTx = {
|
|
1026
1026
|
data?: google_protobuf_any_pb.Any,
|
1027
1027
|
}
|
1028
1028
|
|
1029
|
+
export class ReturnStakeTx extends jspb.Message {
|
1030
|
+
getAddress(): string;
|
1031
|
+
setAddress(value: string): void;
|
1032
|
+
|
1033
|
+
clearOutputsList(): void;
|
1034
|
+
getOutputsList(): Array<type_pb.TTransactionInput>;
|
1035
|
+
setOutputsList(value: Array<type_pb.TTransactionInput>): void;
|
1036
|
+
addOutputs(value?: type_pb.TransactionInput, index?: number): type_pb.TransactionInput;
|
1037
|
+
|
1038
|
+
getMessage(): string;
|
1039
|
+
setMessage(value: string): void;
|
1040
|
+
|
1041
|
+
hasData(): boolean;
|
1042
|
+
clearData(): void;
|
1043
|
+
getData(): google_protobuf_any_pb.Any | undefined;
|
1044
|
+
setData(value?: google_protobuf_any_pb.Any): void;
|
1045
|
+
|
1046
|
+
serializeBinary(): Uint8Array;
|
1047
|
+
toObject(includeInstance?: boolean): TReturnStakeTx;
|
1048
|
+
static toObject(includeInstance: boolean, msg: ReturnStakeTx): TReturnStakeTx;
|
1049
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
1050
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
1051
|
+
static serializeBinaryToWriter(message: ReturnStakeTx, writer: jspb.BinaryWriter): void;
|
1052
|
+
static deserializeBinary(bytes: Uint8Array): ReturnStakeTx;
|
1053
|
+
static deserializeBinaryFromReader(message: ReturnStakeTx, reader: jspb.BinaryReader): ReturnStakeTx;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
export type TReturnStakeTx = {
|
1057
|
+
address: string,
|
1058
|
+
outputs: Array<type_pb.TTransactionInput>,
|
1059
|
+
message: string,
|
1060
|
+
data?: google_protobuf_any_pb.Any,
|
1061
|
+
}
|
1062
|
+
|
1029
1063
|
export class CreateRollupTx extends jspb.Message {
|
1030
1064
|
getAddress(): string;
|
1031
1065
|
setAddress(value: string): void;
|
@@ -1796,6 +1830,11 @@ export class ItxStub extends jspb.Message {
|
|
1796
1830
|
getSlashStake(): TSlashStakeTx | undefined;
|
1797
1831
|
setSlashStake(value?: TSlashStakeTx): void;
|
1798
1832
|
|
1833
|
+
hasReturnStake(): boolean;
|
1834
|
+
clearReturnStake(): void;
|
1835
|
+
getReturnStake(): TReturnStakeTx | undefined;
|
1836
|
+
setReturnStake(value?: TReturnStakeTx): void;
|
1837
|
+
|
1799
1838
|
hasUpgradeNode(): boolean;
|
1800
1839
|
clearUpgradeNode(): void;
|
1801
1840
|
getUpgradeNode(): TUpgradeNodeTx | undefined;
|
@@ -1886,6 +1925,7 @@ export type TItxStub = {
|
|
1886
1925
|
revokeStake?: TRevokeStakeTx,
|
1887
1926
|
claimStake?: TClaimStakeTx,
|
1888
1927
|
slashStake?: TSlashStakeTx,
|
1928
|
+
returnStake?: TReturnStakeTx,
|
1889
1929
|
upgradeNode?: TUpgradeNodeTx,
|
1890
1930
|
createRollup?: TCreateRollupTx,
|
1891
1931
|
updateRollup?: TUpdateRollupTx,
|
@@ -1924,6 +1964,7 @@ export type TItxStub = {
|
|
1924
1964
|
REVOKE_STAKE = 41,
|
1925
1965
|
CLAIM_STAKE = 42,
|
1926
1966
|
SLASH_STAKE = 43,
|
1967
|
+
RETURN_STAKE = 44,
|
1927
1968
|
UPGRADE_NODE = 49,
|
1928
1969
|
CREATE_ROLLUP = 50,
|
1929
1970
|
UPDATE_ROLLUP = 51,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ocap/types",
|
3
|
-
"version": "1.18.
|
3
|
+
"version": "1.18.125",
|
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": "
|
42
|
+
"gitHead": "95177ceb3e85f6557cced378c5e2bc0684ec0218"
|
43
43
|
}
|