@ocap/types 1.18.43 → 1.18.44
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/tx_pb.d.ts +31 -0
- package/package.json +2 -2
package/lib/tx_pb.d.ts
CHANGED
|
@@ -772,6 +772,30 @@ export type TUpdateAssetTx = {
|
|
|
772
772
|
data?: google_protobuf_any_pb.Any,
|
|
773
773
|
}
|
|
774
774
|
|
|
775
|
+
export class ConsumeAssetTx extends jspb.Message {
|
|
776
|
+
getAddress(): string;
|
|
777
|
+
setAddress(value: string): void;
|
|
778
|
+
|
|
779
|
+
hasData(): boolean;
|
|
780
|
+
clearData(): void;
|
|
781
|
+
getData(): google_protobuf_any_pb.Any | undefined;
|
|
782
|
+
setData(value?: google_protobuf_any_pb.Any): void;
|
|
783
|
+
|
|
784
|
+
serializeBinary(): Uint8Array;
|
|
785
|
+
toObject(includeInstance?: boolean): TConsumeAssetTx;
|
|
786
|
+
static toObject(includeInstance: boolean, msg: ConsumeAssetTx): TConsumeAssetTx;
|
|
787
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
788
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
789
|
+
static serializeBinaryToWriter(message: ConsumeAssetTx, writer: jspb.BinaryWriter): void;
|
|
790
|
+
static deserializeBinary(bytes: Uint8Array): ConsumeAssetTx;
|
|
791
|
+
static deserializeBinaryFromReader(message: ConsumeAssetTx, reader: jspb.BinaryReader): ConsumeAssetTx;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export type TConsumeAssetTx = {
|
|
795
|
+
address: string,
|
|
796
|
+
data?: google_protobuf_any_pb.Any,
|
|
797
|
+
}
|
|
798
|
+
|
|
775
799
|
export class CreateFactoryTx extends jspb.Message {
|
|
776
800
|
getName(): string;
|
|
777
801
|
setName(value: string): void;
|
|
@@ -1673,6 +1697,11 @@ export class ItxStub extends jspb.Message {
|
|
|
1673
1697
|
getUpdateAsset(): TUpdateAssetTx | undefined;
|
|
1674
1698
|
setUpdateAsset(value?: TUpdateAssetTx): void;
|
|
1675
1699
|
|
|
1700
|
+
hasConsumeAsset(): boolean;
|
|
1701
|
+
clearConsumeAsset(): void;
|
|
1702
|
+
getConsumeAsset(): TConsumeAssetTx | undefined;
|
|
1703
|
+
setConsumeAsset(value?: TConsumeAssetTx): void;
|
|
1704
|
+
|
|
1676
1705
|
hasExchange(): boolean;
|
|
1677
1706
|
clearExchange(): void;
|
|
1678
1707
|
getExchange(): TExchangeTx | undefined;
|
|
@@ -1826,6 +1855,7 @@ export type TItxStub = {
|
|
|
1826
1855
|
accountMigrate?: TAccountMigrateTx,
|
|
1827
1856
|
createAsset?: TCreateAssetTx,
|
|
1828
1857
|
updateAsset?: TUpdateAssetTx,
|
|
1858
|
+
consumeAsset?: TConsumeAssetTx,
|
|
1829
1859
|
exchange?: TExchangeTx,
|
|
1830
1860
|
exchangeV2?: TExchangeV2Tx,
|
|
1831
1861
|
transfer?: TTransferTx,
|
|
@@ -1863,6 +1893,7 @@ export type TItxStub = {
|
|
|
1863
1893
|
ACCOUNT_MIGRATE = 4,
|
|
1864
1894
|
CREATE_ASSET = 5,
|
|
1865
1895
|
UPDATE_ASSET = 6,
|
|
1896
|
+
CONSUME_ASSET = 7,
|
|
1866
1897
|
EXCHANGE = 10,
|
|
1867
1898
|
EXCHANGE_V2 = 12,
|
|
1868
1899
|
TRANSFER = 13,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/types",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.44",
|
|
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": "563803a77461e59d630e283f0c00e975c47f6ebf"
|
|
43
43
|
}
|