@dashevo/dapi-grpc 2.0.0-rc.9 → 2.0.1
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/Cargo.toml +1 -1
- package/build.rs +6 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_protoc.js +3447 -379
- package/clients/platform/v0/web/platform_pb.d.ts +431 -25
- package/clients/platform/v0/web/platform_pb.js +3447 -379
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +130 -17
|
@@ -202,6 +202,15 @@ type PlatformgetEpochsInfo = {
|
|
|
202
202
|
readonly responseType: typeof platform_pb.GetEpochsInfoResponse;
|
|
203
203
|
};
|
|
204
204
|
|
|
205
|
+
type PlatformgetFinalizedEpochInfos = {
|
|
206
|
+
readonly methodName: string;
|
|
207
|
+
readonly service: typeof Platform;
|
|
208
|
+
readonly requestStream: false;
|
|
209
|
+
readonly responseStream: false;
|
|
210
|
+
readonly requestType: typeof platform_pb.GetFinalizedEpochInfosRequest;
|
|
211
|
+
readonly responseType: typeof platform_pb.GetFinalizedEpochInfosResponse;
|
|
212
|
+
};
|
|
213
|
+
|
|
205
214
|
type PlatformgetContestedResources = {
|
|
206
215
|
readonly methodName: string;
|
|
207
216
|
readonly service: typeof Platform;
|
|
@@ -346,6 +355,15 @@ type PlatformgetTokenDirectPurchasePrices = {
|
|
|
346
355
|
readonly responseType: typeof platform_pb.GetTokenDirectPurchasePricesResponse;
|
|
347
356
|
};
|
|
348
357
|
|
|
358
|
+
type PlatformgetTokenContractInfo = {
|
|
359
|
+
readonly methodName: string;
|
|
360
|
+
readonly service: typeof Platform;
|
|
361
|
+
readonly requestStream: false;
|
|
362
|
+
readonly responseStream: false;
|
|
363
|
+
readonly requestType: typeof platform_pb.GetTokenContractInfoRequest;
|
|
364
|
+
readonly responseType: typeof platform_pb.GetTokenContractInfoResponse;
|
|
365
|
+
};
|
|
366
|
+
|
|
349
367
|
type PlatformgetTokenPreProgrammedDistributions = {
|
|
350
368
|
readonly methodName: string;
|
|
351
369
|
readonly service: typeof Platform;
|
|
@@ -433,6 +451,7 @@ export class Platform {
|
|
|
433
451
|
static readonly getProtocolVersionUpgradeState: PlatformgetProtocolVersionUpgradeState;
|
|
434
452
|
static readonly getProtocolVersionUpgradeVoteStatus: PlatformgetProtocolVersionUpgradeVoteStatus;
|
|
435
453
|
static readonly getEpochsInfo: PlatformgetEpochsInfo;
|
|
454
|
+
static readonly getFinalizedEpochInfos: PlatformgetFinalizedEpochInfos;
|
|
436
455
|
static readonly getContestedResources: PlatformgetContestedResources;
|
|
437
456
|
static readonly getContestedResourceVoteState: PlatformgetContestedResourceVoteState;
|
|
438
457
|
static readonly getContestedResourceVotersForIdentity: PlatformgetContestedResourceVotersForIdentity;
|
|
@@ -449,6 +468,7 @@ export class Platform {
|
|
|
449
468
|
static readonly getIdentitiesTokenInfos: PlatformgetIdentitiesTokenInfos;
|
|
450
469
|
static readonly getTokenStatuses: PlatformgetTokenStatuses;
|
|
451
470
|
static readonly getTokenDirectPurchasePrices: PlatformgetTokenDirectPurchasePrices;
|
|
471
|
+
static readonly getTokenContractInfo: PlatformgetTokenContractInfo;
|
|
452
472
|
static readonly getTokenPreProgrammedDistributions: PlatformgetTokenPreProgrammedDistributions;
|
|
453
473
|
static readonly getTokenPerpetualDistributionLastClaim: PlatformgetTokenPerpetualDistributionLastClaim;
|
|
454
474
|
static readonly getTokenTotalSupply: PlatformgetTokenTotalSupply;
|
|
@@ -688,6 +708,15 @@ export class PlatformClient {
|
|
|
688
708
|
requestMessage: platform_pb.GetEpochsInfoRequest,
|
|
689
709
|
callback: (error: ServiceError|null, responseMessage: platform_pb.GetEpochsInfoResponse|null) => void
|
|
690
710
|
): UnaryResponse;
|
|
711
|
+
getFinalizedEpochInfos(
|
|
712
|
+
requestMessage: platform_pb.GetFinalizedEpochInfosRequest,
|
|
713
|
+
metadata: grpc.Metadata,
|
|
714
|
+
callback: (error: ServiceError|null, responseMessage: platform_pb.GetFinalizedEpochInfosResponse|null) => void
|
|
715
|
+
): UnaryResponse;
|
|
716
|
+
getFinalizedEpochInfos(
|
|
717
|
+
requestMessage: platform_pb.GetFinalizedEpochInfosRequest,
|
|
718
|
+
callback: (error: ServiceError|null, responseMessage: platform_pb.GetFinalizedEpochInfosResponse|null) => void
|
|
719
|
+
): UnaryResponse;
|
|
691
720
|
getContestedResources(
|
|
692
721
|
requestMessage: platform_pb.GetContestedResourcesRequest,
|
|
693
722
|
metadata: grpc.Metadata,
|
|
@@ -832,6 +861,15 @@ export class PlatformClient {
|
|
|
832
861
|
requestMessage: platform_pb.GetTokenDirectPurchasePricesRequest,
|
|
833
862
|
callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenDirectPurchasePricesResponse|null) => void
|
|
834
863
|
): UnaryResponse;
|
|
864
|
+
getTokenContractInfo(
|
|
865
|
+
requestMessage: platform_pb.GetTokenContractInfoRequest,
|
|
866
|
+
metadata: grpc.Metadata,
|
|
867
|
+
callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenContractInfoResponse|null) => void
|
|
868
|
+
): UnaryResponse;
|
|
869
|
+
getTokenContractInfo(
|
|
870
|
+
requestMessage: platform_pb.GetTokenContractInfoRequest,
|
|
871
|
+
callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenContractInfoResponse|null) => void
|
|
872
|
+
): UnaryResponse;
|
|
835
873
|
getTokenPreProgrammedDistributions(
|
|
836
874
|
requestMessage: platform_pb.GetTokenPreProgrammedDistributionsRequest,
|
|
837
875
|
metadata: grpc.Metadata,
|
|
@@ -208,6 +208,15 @@ Platform.getEpochsInfo = {
|
|
|
208
208
|
responseType: platform_pb.GetEpochsInfoResponse
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
+
Platform.getFinalizedEpochInfos = {
|
|
212
|
+
methodName: "getFinalizedEpochInfos",
|
|
213
|
+
service: Platform,
|
|
214
|
+
requestStream: false,
|
|
215
|
+
responseStream: false,
|
|
216
|
+
requestType: platform_pb.GetFinalizedEpochInfosRequest,
|
|
217
|
+
responseType: platform_pb.GetFinalizedEpochInfosResponse
|
|
218
|
+
};
|
|
219
|
+
|
|
211
220
|
Platform.getContestedResources = {
|
|
212
221
|
methodName: "getContestedResources",
|
|
213
222
|
service: Platform,
|
|
@@ -352,6 +361,15 @@ Platform.getTokenDirectPurchasePrices = {
|
|
|
352
361
|
responseType: platform_pb.GetTokenDirectPurchasePricesResponse
|
|
353
362
|
};
|
|
354
363
|
|
|
364
|
+
Platform.getTokenContractInfo = {
|
|
365
|
+
methodName: "getTokenContractInfo",
|
|
366
|
+
service: Platform,
|
|
367
|
+
requestStream: false,
|
|
368
|
+
responseStream: false,
|
|
369
|
+
requestType: platform_pb.GetTokenContractInfoRequest,
|
|
370
|
+
responseType: platform_pb.GetTokenContractInfoResponse
|
|
371
|
+
};
|
|
372
|
+
|
|
355
373
|
Platform.getTokenPreProgrammedDistributions = {
|
|
356
374
|
methodName: "getTokenPreProgrammedDistributions",
|
|
357
375
|
service: Platform,
|
|
@@ -1104,6 +1122,37 @@ PlatformClient.prototype.getEpochsInfo = function getEpochsInfo(requestMessage,
|
|
|
1104
1122
|
};
|
|
1105
1123
|
};
|
|
1106
1124
|
|
|
1125
|
+
PlatformClient.prototype.getFinalizedEpochInfos = function getFinalizedEpochInfos(requestMessage, metadata, callback) {
|
|
1126
|
+
if (arguments.length === 2) {
|
|
1127
|
+
callback = arguments[1];
|
|
1128
|
+
}
|
|
1129
|
+
var client = grpc.unary(Platform.getFinalizedEpochInfos, {
|
|
1130
|
+
request: requestMessage,
|
|
1131
|
+
host: this.serviceHost,
|
|
1132
|
+
metadata: metadata,
|
|
1133
|
+
transport: this.options.transport,
|
|
1134
|
+
debug: this.options.debug,
|
|
1135
|
+
onEnd: function (response) {
|
|
1136
|
+
if (callback) {
|
|
1137
|
+
if (response.status !== grpc.Code.OK) {
|
|
1138
|
+
var err = new Error(response.statusMessage);
|
|
1139
|
+
err.code = response.status;
|
|
1140
|
+
err.metadata = response.trailers;
|
|
1141
|
+
callback(err, null);
|
|
1142
|
+
} else {
|
|
1143
|
+
callback(null, response.message);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
return {
|
|
1149
|
+
cancel: function () {
|
|
1150
|
+
callback = null;
|
|
1151
|
+
client.close();
|
|
1152
|
+
}
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1107
1156
|
PlatformClient.prototype.getContestedResources = function getContestedResources(requestMessage, metadata, callback) {
|
|
1108
1157
|
if (arguments.length === 2) {
|
|
1109
1158
|
callback = arguments[1];
|
|
@@ -1600,6 +1649,37 @@ PlatformClient.prototype.getTokenDirectPurchasePrices = function getTokenDirectP
|
|
|
1600
1649
|
};
|
|
1601
1650
|
};
|
|
1602
1651
|
|
|
1652
|
+
PlatformClient.prototype.getTokenContractInfo = function getTokenContractInfo(requestMessage, metadata, callback) {
|
|
1653
|
+
if (arguments.length === 2) {
|
|
1654
|
+
callback = arguments[1];
|
|
1655
|
+
}
|
|
1656
|
+
var client = grpc.unary(Platform.getTokenContractInfo, {
|
|
1657
|
+
request: requestMessage,
|
|
1658
|
+
host: this.serviceHost,
|
|
1659
|
+
metadata: metadata,
|
|
1660
|
+
transport: this.options.transport,
|
|
1661
|
+
debug: this.options.debug,
|
|
1662
|
+
onEnd: function (response) {
|
|
1663
|
+
if (callback) {
|
|
1664
|
+
if (response.status !== grpc.Code.OK) {
|
|
1665
|
+
var err = new Error(response.statusMessage);
|
|
1666
|
+
err.code = response.status;
|
|
1667
|
+
err.metadata = response.trailers;
|
|
1668
|
+
callback(err, null);
|
|
1669
|
+
} else {
|
|
1670
|
+
callback(null, response.message);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
});
|
|
1675
|
+
return {
|
|
1676
|
+
cancel: function () {
|
|
1677
|
+
callback = null;
|
|
1678
|
+
client.close();
|
|
1679
|
+
}
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1603
1683
|
PlatformClient.prototype.getTokenPreProgrammedDistributions = function getTokenPreProgrammedDistributions(requestMessage, metadata, callback) {
|
|
1604
1684
|
if (arguments.length === 2) {
|
|
1605
1685
|
callback = arguments[1];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "DAPI GRPC definition file and generated clients",
|
|
5
5
|
"browser": "browser.js",
|
|
6
6
|
"main": "node.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/dashevo/dapi-grpc#readme",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@dashevo/grpc-common": "2.0.
|
|
48
|
+
"@dashevo/grpc-common": "2.0.1",
|
|
49
49
|
"@dashevo/protobufjs": "6.10.5",
|
|
50
50
|
"@grpc/grpc-js": "1.4.4",
|
|
51
51
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
@@ -49,6 +49,7 @@ service Platform {
|
|
|
49
49
|
GetProtocolVersionUpgradeVoteStatusRequest)
|
|
50
50
|
returns (GetProtocolVersionUpgradeVoteStatusResponse);
|
|
51
51
|
rpc getEpochsInfo(GetEpochsInfoRequest) returns (GetEpochsInfoResponse);
|
|
52
|
+
rpc getFinalizedEpochInfos(GetFinalizedEpochInfosRequest) returns (GetFinalizedEpochInfosResponse);
|
|
52
53
|
// What votes are currently happening for a specific contested index
|
|
53
54
|
rpc getContestedResources(GetContestedResourcesRequest)
|
|
54
55
|
returns (GetContestedResourcesResponse);
|
|
@@ -86,6 +87,8 @@ service Platform {
|
|
|
86
87
|
returns (GetTokenStatusesResponse);
|
|
87
88
|
rpc getTokenDirectPurchasePrices(GetTokenDirectPurchasePricesRequest)
|
|
88
89
|
returns (GetTokenDirectPurchasePricesResponse);
|
|
90
|
+
rpc getTokenContractInfo(GetTokenContractInfoRequest)
|
|
91
|
+
returns (GetTokenContractInfoResponse);
|
|
89
92
|
rpc getTokenPreProgrammedDistributions(
|
|
90
93
|
GetTokenPreProgrammedDistributionsRequest)
|
|
91
94
|
returns (GetTokenPreProgrammedDistributionsResponse);
|
|
@@ -796,6 +799,69 @@ message GetEpochsInfoResponse {
|
|
|
796
799
|
oneof version { GetEpochsInfoResponseV0 v0 = 1; }
|
|
797
800
|
}
|
|
798
801
|
|
|
802
|
+
message GetFinalizedEpochInfosRequest {
|
|
803
|
+
message GetFinalizedEpochInfosRequestV0 {
|
|
804
|
+
uint32 start_epoch_index = 1; // The starting epoch index
|
|
805
|
+
bool start_epoch_index_included = 2; // Whether to include the start epoch
|
|
806
|
+
uint32 end_epoch_index = 3; // The ending epoch index
|
|
807
|
+
bool end_epoch_index_included = 4; // Whether to include the end epoch
|
|
808
|
+
bool prove = 5; // Flag to request a proof as the response
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
oneof version { GetFinalizedEpochInfosRequestV0 v0 = 1; }
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
message GetFinalizedEpochInfosResponse {
|
|
815
|
+
message GetFinalizedEpochInfosResponseV0 {
|
|
816
|
+
// FinalizedEpochInfos holds a collection of finalized epoch information entries
|
|
817
|
+
message FinalizedEpochInfos {
|
|
818
|
+
repeated FinalizedEpochInfo finalized_epoch_infos =
|
|
819
|
+
1; // List of finalized information for each requested epoch
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
// FinalizedEpochInfo represents finalized information about a single epoch
|
|
823
|
+
message FinalizedEpochInfo {
|
|
824
|
+
uint32 number = 1; // The number of the epoch
|
|
825
|
+
uint64 first_block_height = 2
|
|
826
|
+
[ jstype = JS_STRING ]; // The height of the first block in this epoch
|
|
827
|
+
uint32 first_core_block_height =
|
|
828
|
+
3; // The height of the first Core block in this epoch
|
|
829
|
+
uint64 first_block_time = 4
|
|
830
|
+
[ jstype = JS_STRING ]; // The timestamp of the first block (milliseconds)
|
|
831
|
+
double fee_multiplier = 5; // The fee multiplier (converted from permille)
|
|
832
|
+
uint32 protocol_version = 6; // The protocol version for this epoch
|
|
833
|
+
uint64 total_blocks_in_epoch = 7
|
|
834
|
+
[ jstype = JS_STRING ]; // Total number of blocks in the epoch
|
|
835
|
+
uint32 next_epoch_start_core_block_height = 8; // Core block height where next epoch starts
|
|
836
|
+
uint64 total_processing_fees = 9
|
|
837
|
+
[ jstype = JS_STRING ]; // Total processing fees collected
|
|
838
|
+
uint64 total_distributed_storage_fees = 10
|
|
839
|
+
[ jstype = JS_STRING ]; // Total storage fees distributed
|
|
840
|
+
uint64 total_created_storage_fees = 11
|
|
841
|
+
[ jstype = JS_STRING ]; // Total storage fees created
|
|
842
|
+
uint64 core_block_rewards = 12
|
|
843
|
+
[ jstype = JS_STRING ]; // Rewards from core blocks
|
|
844
|
+
repeated BlockProposer block_proposers = 13; // List of block proposers and their counts
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
// BlockProposer represents a block proposer and their block count
|
|
848
|
+
message BlockProposer {
|
|
849
|
+
bytes proposer_id = 1; // The proposer's identifier
|
|
850
|
+
uint32 block_count = 2; // Number of blocks proposed
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
oneof result {
|
|
854
|
+
FinalizedEpochInfos epochs =
|
|
855
|
+
1; // The actual finalized information about the requested epochs
|
|
856
|
+
Proof proof =
|
|
857
|
+
2; // Cryptographic proof of the finalized epoch information, if requested
|
|
858
|
+
}
|
|
859
|
+
ResponseMetadata metadata = 3; // Metadata about the blockchain state
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
oneof version { GetFinalizedEpochInfosResponseV0 v0 = 1; }
|
|
863
|
+
}
|
|
864
|
+
|
|
799
865
|
message GetContestedResourcesRequest {
|
|
800
866
|
message GetContestedResourcesRequestV0 {
|
|
801
867
|
message StartAtValueInfo {
|
|
@@ -1370,6 +1436,27 @@ message GetTokenStatusesResponse {
|
|
|
1370
1436
|
oneof version { GetTokenStatusesResponseV0 v0 = 1; }
|
|
1371
1437
|
}
|
|
1372
1438
|
|
|
1439
|
+
// Retrieve direct purchase prices defined for one or more tokens.
|
|
1440
|
+
//
|
|
1441
|
+
// Some tokens can have a direct purchase price defined using
|
|
1442
|
+
// `TokenSetPriceForDirectPurchaseTransition` (see `dpp` crate for details).
|
|
1443
|
+
// This request retrieves the direct purchase prices for those tokens and
|
|
1444
|
+
// returns [GetTokenDirectPurchasePricesResponse].
|
|
1445
|
+
message GetTokenDirectPurchasePricesRequest {
|
|
1446
|
+
message GetTokenDirectPurchasePricesRequestV0 {
|
|
1447
|
+
// List of token IDs to get prices for.
|
|
1448
|
+
//
|
|
1449
|
+
// The list must not be empty.
|
|
1450
|
+
// Token IDs must have 32 bytes and be unique.
|
|
1451
|
+
// Results for non-unique token IDs are undefined.
|
|
1452
|
+
repeated bytes token_ids = 1;
|
|
1453
|
+
// Whether to return proofs for the response, or just direct response.
|
|
1454
|
+
bool prove = 2;
|
|
1455
|
+
}
|
|
1456
|
+
oneof version { GetTokenDirectPurchasePricesRequestV0 v0 = 1; }
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
|
|
1373
1460
|
// Response to GetTokenDirectPurchasePricesRequest, containing information about
|
|
1374
1461
|
// direct purchase prices defined for requested token IDs.
|
|
1375
1462
|
message GetTokenDirectPurchasePricesResponse {
|
|
@@ -1419,24 +1506,49 @@ message GetTokenDirectPurchasePricesResponse {
|
|
|
1419
1506
|
oneof version { GetTokenDirectPurchasePricesResponseV0 v0 = 1; }
|
|
1420
1507
|
}
|
|
1421
1508
|
|
|
1422
|
-
//
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
//
|
|
1426
|
-
//
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
// List of token IDs to get prices for.
|
|
1431
|
-
//
|
|
1432
|
-
// The list must not be empty.
|
|
1433
|
-
// Token IDs must have 32 bytes and be unique.
|
|
1434
|
-
// Results for non-unique token IDs are undefined.
|
|
1435
|
-
repeated bytes token_ids = 1;
|
|
1436
|
-
// Whether to return proofs for the response, or just direct response.
|
|
1509
|
+
// Request to retrieve token contract info for a specific token ID.
|
|
1510
|
+
message GetTokenContractInfoRequest {
|
|
1511
|
+
message GetTokenContractInfoRequestV0 {
|
|
1512
|
+
// The token ID to retrieve contract info for.
|
|
1513
|
+
// Must be exactly 32 bytes.
|
|
1514
|
+
bytes token_id = 1;
|
|
1515
|
+
|
|
1516
|
+
// Whether to return a cryptographic proof.
|
|
1437
1517
|
bool prove = 2;
|
|
1438
1518
|
}
|
|
1439
|
-
|
|
1519
|
+
|
|
1520
|
+
oneof version {
|
|
1521
|
+
GetTokenContractInfoRequestV0 v0 = 1;
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
// Response to GetTokenContractInfoRequest.
|
|
1526
|
+
message GetTokenContractInfoResponse {
|
|
1527
|
+
message GetTokenContractInfoResponseV0 {
|
|
1528
|
+
// Direct token contract info.
|
|
1529
|
+
message TokenContractInfoData {
|
|
1530
|
+
// The ID of the contract associated with the token.
|
|
1531
|
+
bytes contract_id = 1;
|
|
1532
|
+
|
|
1533
|
+
// The position of the token within the contract.
|
|
1534
|
+
uint32 token_contract_position = 2;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
oneof result {
|
|
1538
|
+
// Direct token contract data
|
|
1539
|
+
TokenContractInfoData data = 1;
|
|
1540
|
+
|
|
1541
|
+
// Cryptographic proof of token contract info
|
|
1542
|
+
Proof proof = 2;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
// Metadata about the blockchain state at the time of the query
|
|
1546
|
+
ResponseMetadata metadata = 3;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
oneof version {
|
|
1550
|
+
GetTokenContractInfoResponseV0 v0 = 1;
|
|
1551
|
+
}
|
|
1440
1552
|
}
|
|
1441
1553
|
|
|
1442
1554
|
message GetTokenPreProgrammedDistributionsRequest {
|
|
@@ -1660,7 +1772,8 @@ message GetGroupActionsResponse {
|
|
|
1660
1772
|
// Burn event
|
|
1661
1773
|
message BurnEvent {
|
|
1662
1774
|
uint64 amount = 1; // Amount to burn
|
|
1663
|
-
|
|
1775
|
+
bytes burn_from_id = 2; // The identifier to burn from
|
|
1776
|
+
optional string public_note = 3; // Public note
|
|
1664
1777
|
}
|
|
1665
1778
|
|
|
1666
1779
|
// Freeze event
|