dash-platform-sdk 1.1.1 → 1.1.2
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/bundle.min.js +1 -1
- package/package.json +6 -5
- package/proto/generated/platform.d.ts +340 -115
- package/proto/generated/platform.js +3732 -2333
- package/src/DashPlatformSDK.d.ts +18 -5
- package/src/DashPlatformSDK.js +20 -7
- package/src/constants.d.ts +4 -0
- package/src/constants.js +5 -1
- package/src/contestedResources/getContestedResourceVoteState.d.ts +6 -0
- package/src/contestedResources/getContestedResourceVoteState.js +124 -0
- package/src/contestedResources/index.d.ts +29 -0
- package/src/contestedResources/index.js +75 -0
- package/src/dataContracts/create.js +1 -1
- package/src/dataContracts/createStateTransition.d.ts +1 -1
- package/src/dataContracts/createStateTransition.js +5 -6
- package/src/dataContracts/getDataContractByIdentifier.js +5 -5
- package/src/dataContracts/index.d.ts +2 -3
- package/src/dataContracts/index.js +1 -1
- package/src/documents/create.d.ts +1 -1
- package/src/documents/create.js +1 -41
- package/src/documents/createStateTransition.d.ts +2 -2
- package/src/documents/createStateTransition.js +9 -10
- package/src/documents/index.d.ts +3 -3
- package/src/documents/index.js +3 -7
- package/src/documents/query.js +3 -5
- package/src/grpcConnectionPool.d.ts +3 -2
- package/src/grpcConnectionPool.js +52 -48
- package/src/identities/getIdentityBalance.js +4 -4
- package/src/identities/getIdentityByIdentifier.js +4 -4
- package/src/identities/getIdentityByNonUniquePublicKeyHash.d.ts +3 -0
- package/src/identities/getIdentityByNonUniquePublicKeyHash.js +87 -0
- package/src/identities/getIdentityByPublicKeyHash.js +4 -4
- package/src/identities/getIdentityContractNonce.js +4 -4
- package/src/identities/getIdentityNonce.js +4 -4
- package/src/identities/getIdentityPublicKeys.js +4 -4
- package/src/identities/index.d.ts +9 -1
- package/src/identities/index.js +23 -1
- package/src/node/epochs.d.ts +10 -0
- package/src/node/epochs.js +82 -0
- package/src/node/index.d.ts +16 -1
- package/src/node/index.js +35 -1
- package/src/node/totalCredits.d.ts +2 -0
- package/src/node/totalCredits.js +77 -0
- package/src/stateTransitions/broadcast.js +3 -0
- package/src/tokens/getIdentitiesTokenBalances.d.ts +8 -0
- package/src/tokens/getIdentitiesTokenBalances.js +87 -0
- package/src/tokens/getIdentityTokensBalances.d.ts +8 -0
- package/src/tokens/getIdentityTokensBalances.js +87 -0
- package/src/tokens/getTokenContractInfo.d.ts +8 -0
- package/src/tokens/getTokenContractInfo.js +87 -0
- package/src/tokens/getTokenTotalSupply.d.ts +9 -0
- package/src/tokens/getTokenTotalSupply.js +85 -0
- package/src/tokens/index.d.ts +50 -0
- package/src/tokens/index.js +124 -0
- package/src/types.d.ts +30 -0
- package/src/types.js +14 -1
- package/src/utils/indexBytesToString.d.ts +1 -0
- package/src/utils/indexBytesToString.js +7 -0
- package/src/utils/stringToIndexValueBytes.d.ts +1 -0
- package/src/utils/stringToIndexValueBytes.js +13 -0
- package/test/unit/ContestedResources.spec.d.ts +1 -0
- package/test/unit/ContestedResources.spec.js +257 -0
- package/test/unit/DataContract.spec.js +16 -6
- package/test/unit/DocumentsBatch.spec.js +6 -6
- package/test/unit/Identity.spec.js +15 -3
- package/test/unit/Node.spec.js +40 -0
- package/test/unit/Tokens.spec.d.ts +1 -0
- package/test/unit/Tokens.spec.js +100 -0
|
@@ -30,7 +30,10 @@ export interface Proof {
|
|
|
30
30
|
/** Type of the quorum */
|
|
31
31
|
quorumType: number;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* ResponseMetadata provides metadata about the blockchain state at the time of
|
|
35
|
+
* response
|
|
36
|
+
*/
|
|
34
37
|
export interface ResponseMetadata {
|
|
35
38
|
/** Current blockchain height */
|
|
36
39
|
height: string;
|
|
@@ -321,91 +324,6 @@ export interface GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_I
|
|
|
321
324
|
export interface GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentitiesBalances {
|
|
322
325
|
entries: GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentityBalance[];
|
|
323
326
|
}
|
|
324
|
-
export interface GetProofsRequest {
|
|
325
|
-
v0?: GetProofsRequest_GetProofsRequestV0 | undefined;
|
|
326
|
-
}
|
|
327
|
-
export interface GetProofsRequest_GetProofsRequestV0 {
|
|
328
|
-
/** List of identity requests */
|
|
329
|
-
identities: GetProofsRequest_GetProofsRequestV0_IdentityRequest[];
|
|
330
|
-
/** List of contract requests */
|
|
331
|
-
contracts: GetProofsRequest_GetProofsRequestV0_ContractRequest[];
|
|
332
|
-
/** List of document requests */
|
|
333
|
-
documents: GetProofsRequest_GetProofsRequestV0_DocumentRequest[];
|
|
334
|
-
votes: GetProofsRequest_GetProofsRequestV0_VoteStatusRequest[];
|
|
335
|
-
identityTokenBalances: GetProofsRequest_GetProofsRequestV0_IdentityTokenBalanceRequest[];
|
|
336
|
-
identityTokenInfos: GetProofsRequest_GetProofsRequestV0_IdentityTokenInfoRequest[];
|
|
337
|
-
tokenStatuses: GetProofsRequest_GetProofsRequestV0_TokenStatusRequest[];
|
|
338
|
-
}
|
|
339
|
-
/** DocumentRequest specifies a request for a document proof */
|
|
340
|
-
export interface GetProofsRequest_GetProofsRequestV0_DocumentRequest {
|
|
341
|
-
/** ID of the contract the document belongs to */
|
|
342
|
-
contractId: Uint8Array;
|
|
343
|
-
/** Type of document being requested */
|
|
344
|
-
documentType: string;
|
|
345
|
-
/** Indicates if the document type keeps a history of changes */
|
|
346
|
-
documentTypeKeepsHistory: boolean;
|
|
347
|
-
/** ID of the specific document being requested */
|
|
348
|
-
documentId: Uint8Array;
|
|
349
|
-
documentContestedStatus: GetProofsRequest_GetProofsRequestV0_DocumentRequest_DocumentContestedStatus;
|
|
350
|
-
}
|
|
351
|
-
export declare enum GetProofsRequest_GetProofsRequestV0_DocumentRequest_DocumentContestedStatus {
|
|
352
|
-
NOT_CONTESTED = 0,
|
|
353
|
-
MAYBE_CONTESTED = 1,
|
|
354
|
-
CONTESTED = 2,
|
|
355
|
-
UNRECOGNIZED = -1
|
|
356
|
-
}
|
|
357
|
-
/** IdentityRequest specifies a request for an identity proof */
|
|
358
|
-
export interface GetProofsRequest_GetProofsRequestV0_IdentityRequest {
|
|
359
|
-
/** ID of the identity for which the proof is requested */
|
|
360
|
-
identityId: Uint8Array;
|
|
361
|
-
/** Type of identity request */
|
|
362
|
-
requestType: GetProofsRequest_GetProofsRequestV0_IdentityRequest_Type;
|
|
363
|
-
}
|
|
364
|
-
export declare enum GetProofsRequest_GetProofsRequestV0_IdentityRequest_Type {
|
|
365
|
-
/** FULL_IDENTITY - Request for the full identity */
|
|
366
|
-
FULL_IDENTITY = 0,
|
|
367
|
-
/** BALANCE - Request for the identity's balance */
|
|
368
|
-
BALANCE = 1,
|
|
369
|
-
/** KEYS - Request for the identity's keys */
|
|
370
|
-
KEYS = 2,
|
|
371
|
-
/** REVISION - Request for the identity's revision */
|
|
372
|
-
REVISION = 3,
|
|
373
|
-
UNRECOGNIZED = -1
|
|
374
|
-
}
|
|
375
|
-
/** ContractRequest specifies a request for a data contract proof. */
|
|
376
|
-
export interface GetProofsRequest_GetProofsRequestV0_ContractRequest {
|
|
377
|
-
contractId: Uint8Array;
|
|
378
|
-
}
|
|
379
|
-
export interface GetProofsRequest_GetProofsRequestV0_VoteStatusRequest {
|
|
380
|
-
contestedResourceVoteStatusRequest?: GetProofsRequest_GetProofsRequestV0_VoteStatusRequest_ContestedResourceVoteStatusRequest | undefined;
|
|
381
|
-
}
|
|
382
|
-
export interface GetProofsRequest_GetProofsRequestV0_VoteStatusRequest_ContestedResourceVoteStatusRequest {
|
|
383
|
-
contractId: Uint8Array;
|
|
384
|
-
documentTypeName: string;
|
|
385
|
-
indexName: string;
|
|
386
|
-
indexValues: Uint8Array[];
|
|
387
|
-
voterIdentifier: Uint8Array;
|
|
388
|
-
}
|
|
389
|
-
export interface GetProofsRequest_GetProofsRequestV0_IdentityTokenBalanceRequest {
|
|
390
|
-
tokenId: Uint8Array;
|
|
391
|
-
identityId: Uint8Array;
|
|
392
|
-
}
|
|
393
|
-
export interface GetProofsRequest_GetProofsRequestV0_IdentityTokenInfoRequest {
|
|
394
|
-
tokenId: Uint8Array;
|
|
395
|
-
identityId: Uint8Array;
|
|
396
|
-
}
|
|
397
|
-
export interface GetProofsRequest_GetProofsRequestV0_TokenStatusRequest {
|
|
398
|
-
tokenId: Uint8Array;
|
|
399
|
-
}
|
|
400
|
-
export interface GetProofsResponse {
|
|
401
|
-
v0?: GetProofsResponse_GetProofsResponseV0 | undefined;
|
|
402
|
-
}
|
|
403
|
-
export interface GetProofsResponse_GetProofsResponseV0 {
|
|
404
|
-
/** Cryptographic proof for the requested data */
|
|
405
|
-
proof?: Proof | undefined;
|
|
406
|
-
/** Metadata about the blockchain state */
|
|
407
|
-
metadata: ResponseMetadata | undefined;
|
|
408
|
-
}
|
|
409
327
|
export interface GetDataContractRequest {
|
|
410
328
|
v0?: GetDataContractRequest_GetDataContractRequestV0 | undefined;
|
|
411
329
|
}
|
|
@@ -545,13 +463,39 @@ export interface GetIdentityByPublicKeyHashResponse {
|
|
|
545
463
|
v0?: GetIdentityByPublicKeyHashResponse_GetIdentityByPublicKeyHashResponseV0 | undefined;
|
|
546
464
|
}
|
|
547
465
|
export interface GetIdentityByPublicKeyHashResponse_GetIdentityByPublicKeyHashResponseV0 {
|
|
548
|
-
/** The actual identity data corresponding to the
|
|
466
|
+
/** The actual identity data corresponding to the */
|
|
549
467
|
identity?: Uint8Array | undefined;
|
|
550
|
-
/**
|
|
468
|
+
/** requested public key hash */
|
|
551
469
|
proof?: Proof | undefined;
|
|
552
470
|
/** Metadata about the blockchain state */
|
|
553
471
|
metadata: ResponseMetadata | undefined;
|
|
554
472
|
}
|
|
473
|
+
export interface GetIdentityByNonUniquePublicKeyHashRequest {
|
|
474
|
+
v0?: GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0 | undefined;
|
|
475
|
+
}
|
|
476
|
+
export interface GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0 {
|
|
477
|
+
publicKeyHash: Uint8Array;
|
|
478
|
+
/** Give one result after a previous result */
|
|
479
|
+
startAfter?: Uint8Array | undefined;
|
|
480
|
+
prove: boolean;
|
|
481
|
+
}
|
|
482
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse {
|
|
483
|
+
v0?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0 | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0 {
|
|
486
|
+
identity?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse | undefined;
|
|
487
|
+
proof?: GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse | undefined;
|
|
488
|
+
/** Metadata about the blockchain state */
|
|
489
|
+
metadata: ResponseMetadata | undefined;
|
|
490
|
+
}
|
|
491
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse {
|
|
492
|
+
identity?: Uint8Array | undefined;
|
|
493
|
+
}
|
|
494
|
+
export interface GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse {
|
|
495
|
+
grovedbIdentityPublicKeyHashProof: Proof | undefined;
|
|
496
|
+
/** A hack, we return 2 proofs */
|
|
497
|
+
identityProofBytes?: Uint8Array | undefined;
|
|
498
|
+
}
|
|
555
499
|
export interface WaitForStateTransitionResultRequest {
|
|
556
500
|
v0?: WaitForStateTransitionResultRequest_WaitForStateTransitionResultRequestV0 | undefined;
|
|
557
501
|
}
|
|
@@ -589,7 +533,7 @@ export interface GetConsensusParamsResponse_ConsensusParamsBlock {
|
|
|
589
533
|
maxBytes: string;
|
|
590
534
|
/** The maximum gas allowed in a block */
|
|
591
535
|
maxGas: string;
|
|
592
|
-
/** The minimum time increment between consecutive
|
|
536
|
+
/** The minimum time increment between consecutive */
|
|
593
537
|
timeIotaMs: string;
|
|
594
538
|
}
|
|
595
539
|
export interface GetConsensusParamsResponse_ConsensusParamsEvidence {
|
|
@@ -619,7 +563,7 @@ export interface GetProtocolVersionUpgradeStateResponse {
|
|
|
619
563
|
export interface GetProtocolVersionUpgradeStateResponse_GetProtocolVersionUpgradeStateResponseV0 {
|
|
620
564
|
/** The actual protocol version information */
|
|
621
565
|
versions?: GetProtocolVersionUpgradeStateResponse_GetProtocolVersionUpgradeStateResponseV0_Versions | undefined;
|
|
622
|
-
/** Cryptographic proof of the protocol version
|
|
566
|
+
/** Cryptographic proof of the protocol version */
|
|
623
567
|
proof?: Proof | undefined;
|
|
624
568
|
/** Metadata about the blockchain state */
|
|
625
569
|
metadata: ResponseMetadata | undefined;
|
|
@@ -640,9 +584,9 @@ export interface GetProtocolVersionUpgradeVoteStatusRequest {
|
|
|
640
584
|
v0?: GetProtocolVersionUpgradeVoteStatusRequest_GetProtocolVersionUpgradeVoteStatusRequestV0 | undefined;
|
|
641
585
|
}
|
|
642
586
|
export interface GetProtocolVersionUpgradeVoteStatusRequest_GetProtocolVersionUpgradeVoteStatusRequestV0 {
|
|
643
|
-
/** The starting masternode provider transaction
|
|
587
|
+
/** The starting masternode provider transaction */
|
|
644
588
|
startProTxHash: Uint8Array;
|
|
645
|
-
/**
|
|
589
|
+
/** hash to filter the votes by */
|
|
646
590
|
count: number;
|
|
647
591
|
/** Flag to request a proof as the response */
|
|
648
592
|
prove: boolean;
|
|
@@ -653,7 +597,7 @@ export interface GetProtocolVersionUpgradeVoteStatusResponse {
|
|
|
653
597
|
export interface GetProtocolVersionUpgradeVoteStatusResponse_GetProtocolVersionUpgradeVoteStatusResponseV0 {
|
|
654
598
|
/** The actual version signal information */
|
|
655
599
|
versions?: GetProtocolVersionUpgradeVoteStatusResponse_GetProtocolVersionUpgradeVoteStatusResponseV0_VersionSignals | undefined;
|
|
656
|
-
/** Cryptographic proof of the version signal information,
|
|
600
|
+
/** Cryptographic proof of the version signal information, */
|
|
657
601
|
proof?: Proof | undefined;
|
|
658
602
|
/** Metadata about the blockchain state */
|
|
659
603
|
metadata: ResponseMetadata | undefined;
|
|
@@ -665,9 +609,9 @@ export interface GetProtocolVersionUpgradeVoteStatusResponse_GetProtocolVersionU
|
|
|
665
609
|
}
|
|
666
610
|
/** VersionSignal represents a single voting signal for a protocol version */
|
|
667
611
|
export interface GetProtocolVersionUpgradeVoteStatusResponse_GetProtocolVersionUpgradeVoteStatusResponseV0_VersionSignal {
|
|
668
|
-
/** The masternode provider transaction hash
|
|
612
|
+
/** The masternode provider transaction hash */
|
|
669
613
|
proTxHash: Uint8Array;
|
|
670
|
-
/**
|
|
614
|
+
/** associated with the vote */
|
|
671
615
|
version: number;
|
|
672
616
|
}
|
|
673
617
|
export interface GetEpochsInfoRequest {
|
|
@@ -713,6 +657,73 @@ export interface GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfo {
|
|
|
713
657
|
feeMultiplier: number;
|
|
714
658
|
protocolVersion: number;
|
|
715
659
|
}
|
|
660
|
+
export interface GetFinalizedEpochInfosRequest {
|
|
661
|
+
v0?: GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0 | undefined;
|
|
662
|
+
}
|
|
663
|
+
export interface GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0 {
|
|
664
|
+
/** The starting epoch index */
|
|
665
|
+
startEpochIndex: number;
|
|
666
|
+
/** Whether to include the start epoch */
|
|
667
|
+
startEpochIndexIncluded: boolean;
|
|
668
|
+
/** The ending epoch index */
|
|
669
|
+
endEpochIndex: number;
|
|
670
|
+
/** Whether to include the end epoch */
|
|
671
|
+
endEpochIndexIncluded: boolean;
|
|
672
|
+
/** Flag to request a proof as the response */
|
|
673
|
+
prove: boolean;
|
|
674
|
+
}
|
|
675
|
+
export interface GetFinalizedEpochInfosResponse {
|
|
676
|
+
v0?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0 | undefined;
|
|
677
|
+
}
|
|
678
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0 {
|
|
679
|
+
/** The actual finalized information about the requested epochs */
|
|
680
|
+
epochs?: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos | undefined;
|
|
681
|
+
/** Cryptographic proof of the finalized epoch information, if requested */
|
|
682
|
+
proof?: Proof | undefined;
|
|
683
|
+
/** Metadata about the blockchain state */
|
|
684
|
+
metadata: ResponseMetadata | undefined;
|
|
685
|
+
}
|
|
686
|
+
/** FinalizedEpochInfos holds a collection of finalized epoch information entries */
|
|
687
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos {
|
|
688
|
+
/** List of finalized information for each requested epoch */
|
|
689
|
+
finalizedEpochInfos: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo[];
|
|
690
|
+
}
|
|
691
|
+
/** FinalizedEpochInfo represents finalized information about a single epoch */
|
|
692
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo {
|
|
693
|
+
/** The number of the epoch */
|
|
694
|
+
number: number;
|
|
695
|
+
/** The height of the first block in this epoch */
|
|
696
|
+
firstBlockHeight: string;
|
|
697
|
+
/** The height of the first Core block in this epoch */
|
|
698
|
+
firstCoreBlockHeight: number;
|
|
699
|
+
/** The timestamp of the first block (milliseconds) */
|
|
700
|
+
firstBlockTime: string;
|
|
701
|
+
/** The fee multiplier (converted from permille) */
|
|
702
|
+
feeMultiplier: number;
|
|
703
|
+
/** The protocol version for this epoch */
|
|
704
|
+
protocolVersion: number;
|
|
705
|
+
/** Total number of blocks in the epoch */
|
|
706
|
+
totalBlocksInEpoch: string;
|
|
707
|
+
/** Core block height where next epoch starts */
|
|
708
|
+
nextEpochStartCoreBlockHeight: number;
|
|
709
|
+
/** Total processing fees collected */
|
|
710
|
+
totalProcessingFees: string;
|
|
711
|
+
/** Total storage fees distributed */
|
|
712
|
+
totalDistributedStorageFees: string;
|
|
713
|
+
/** Total storage fees created */
|
|
714
|
+
totalCreatedStorageFees: string;
|
|
715
|
+
/** Rewards from core blocks */
|
|
716
|
+
coreBlockRewards: string;
|
|
717
|
+
/** List of block proposers and their counts */
|
|
718
|
+
blockProposers: GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer[];
|
|
719
|
+
}
|
|
720
|
+
/** BlockProposer represents a block proposer and their block count */
|
|
721
|
+
export interface GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer {
|
|
722
|
+
/** The proposer's identifier */
|
|
723
|
+
proposerId: Uint8Array;
|
|
724
|
+
/** Number of blocks proposed */
|
|
725
|
+
blockCount: number;
|
|
726
|
+
}
|
|
716
727
|
export interface GetContestedResourcesRequest {
|
|
717
728
|
v0?: GetContestedResourcesRequest_GetContestedResourcesRequestV0 | undefined;
|
|
718
729
|
}
|
|
@@ -1208,6 +1219,108 @@ export interface GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatus
|
|
|
1208
1219
|
export interface GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatuses {
|
|
1209
1220
|
tokenStatuses: GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatusEntry[];
|
|
1210
1221
|
}
|
|
1222
|
+
/**
|
|
1223
|
+
* Retrieve direct purchase prices defined for one or more tokens.
|
|
1224
|
+
*
|
|
1225
|
+
* Some tokens can have a direct purchase price defined using
|
|
1226
|
+
* `TokenSetPriceForDirectPurchaseTransition` (see `dpp` crate for details).
|
|
1227
|
+
* This request retrieves the direct purchase prices for those tokens and
|
|
1228
|
+
* returns [GetTokenDirectPurchasePricesResponse].
|
|
1229
|
+
*/
|
|
1230
|
+
export interface GetTokenDirectPurchasePricesRequest {
|
|
1231
|
+
v0?: GetTokenDirectPurchasePricesRequest_GetTokenDirectPurchasePricesRequestV0 | undefined;
|
|
1232
|
+
}
|
|
1233
|
+
export interface GetTokenDirectPurchasePricesRequest_GetTokenDirectPurchasePricesRequestV0 {
|
|
1234
|
+
/**
|
|
1235
|
+
* List of token IDs to get prices for.
|
|
1236
|
+
*
|
|
1237
|
+
* The list must not be empty.
|
|
1238
|
+
* Token IDs must have 32 bytes and be unique.
|
|
1239
|
+
* Results for non-unique token IDs are undefined.
|
|
1240
|
+
*/
|
|
1241
|
+
tokenIds: Uint8Array[];
|
|
1242
|
+
/** Whether to return proofs for the response, or just direct response. */
|
|
1243
|
+
prove: boolean;
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
* Response to GetTokenDirectPurchasePricesRequest, containing information about
|
|
1247
|
+
* direct purchase prices defined for requested token IDs.
|
|
1248
|
+
*/
|
|
1249
|
+
export interface GetTokenDirectPurchasePricesResponse {
|
|
1250
|
+
v0?: GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0 | undefined;
|
|
1251
|
+
}
|
|
1252
|
+
export interface GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0 {
|
|
1253
|
+
/** Contains the list of token IDs and their corresponding direct */
|
|
1254
|
+
tokenDirectPurchasePrices?: GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePrices | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* Requested information in a form of cryptographic proof.
|
|
1257
|
+
* In Rust, use `FromProof` trait to convert it to the actual data.
|
|
1258
|
+
*/
|
|
1259
|
+
proof?: Proof | undefined;
|
|
1260
|
+
/** Metadata about the blockchain state. */
|
|
1261
|
+
metadata: ResponseMetadata | undefined;
|
|
1262
|
+
}
|
|
1263
|
+
/** Contains the individual price tier for a specific quantity of tokens. */
|
|
1264
|
+
export interface GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PriceForQuantity {
|
|
1265
|
+
/** Minimum quantity of tokens to purchase to get this price. */
|
|
1266
|
+
quantity: string;
|
|
1267
|
+
/** Price for the specified quantity of tokens. */
|
|
1268
|
+
price: string;
|
|
1269
|
+
}
|
|
1270
|
+
/** Contains list of price tiers for a specific token. */
|
|
1271
|
+
export interface GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PricingSchedule {
|
|
1272
|
+
priceForQuantity: GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PriceForQuantity[];
|
|
1273
|
+
}
|
|
1274
|
+
export interface GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePriceEntry {
|
|
1275
|
+
/** 32-byte token identifier */
|
|
1276
|
+
tokenId: Uint8Array;
|
|
1277
|
+
/** Fixed price for the token. */
|
|
1278
|
+
fixedPrice?: string | undefined;
|
|
1279
|
+
/**
|
|
1280
|
+
* Tiered pricing for the token, where the price varies based on the
|
|
1281
|
+
* quantity purchased.
|
|
1282
|
+
*/
|
|
1283
|
+
variablePrice?: GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PricingSchedule | undefined;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* For each requested token, contains list of token IDs and their
|
|
1287
|
+
* corresponding direct purchase prices.
|
|
1288
|
+
*/
|
|
1289
|
+
export interface GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePrices {
|
|
1290
|
+
tokenDirectPurchasePrice: GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePriceEntry[];
|
|
1291
|
+
}
|
|
1292
|
+
/** Request to retrieve token contract info for a specific token ID. */
|
|
1293
|
+
export interface GetTokenContractInfoRequest {
|
|
1294
|
+
v0?: GetTokenContractInfoRequest_GetTokenContractInfoRequestV0 | undefined;
|
|
1295
|
+
}
|
|
1296
|
+
export interface GetTokenContractInfoRequest_GetTokenContractInfoRequestV0 {
|
|
1297
|
+
/**
|
|
1298
|
+
* The token ID to retrieve contract info for.
|
|
1299
|
+
* Must be exactly 32 bytes.
|
|
1300
|
+
*/
|
|
1301
|
+
tokenId: Uint8Array;
|
|
1302
|
+
/** Whether to return a cryptographic proof. */
|
|
1303
|
+
prove: boolean;
|
|
1304
|
+
}
|
|
1305
|
+
/** Response to GetTokenContractInfoRequest. */
|
|
1306
|
+
export interface GetTokenContractInfoResponse {
|
|
1307
|
+
v0?: GetTokenContractInfoResponse_GetTokenContractInfoResponseV0 | undefined;
|
|
1308
|
+
}
|
|
1309
|
+
export interface GetTokenContractInfoResponse_GetTokenContractInfoResponseV0 {
|
|
1310
|
+
/** Direct token contract data */
|
|
1311
|
+
data?: GetTokenContractInfoResponse_GetTokenContractInfoResponseV0_TokenContractInfoData | undefined;
|
|
1312
|
+
/** Cryptographic proof of token contract info */
|
|
1313
|
+
proof?: Proof | undefined;
|
|
1314
|
+
/** Metadata about the blockchain state at the time of the query */
|
|
1315
|
+
metadata: ResponseMetadata | undefined;
|
|
1316
|
+
}
|
|
1317
|
+
/** Direct token contract info. */
|
|
1318
|
+
export interface GetTokenContractInfoResponse_GetTokenContractInfoResponseV0_TokenContractInfoData {
|
|
1319
|
+
/** The ID of the contract associated with the token. */
|
|
1320
|
+
contractId: Uint8Array;
|
|
1321
|
+
/** The position of the token within the contract. */
|
|
1322
|
+
tokenContractPosition: number;
|
|
1323
|
+
}
|
|
1211
1324
|
export interface GetTokenPreProgrammedDistributionsRequest {
|
|
1212
1325
|
v0?: GetTokenPreProgrammedDistributionsRequest_GetTokenPreProgrammedDistributionsRequestV0 | undefined;
|
|
1213
1326
|
}
|
|
@@ -1241,6 +1354,45 @@ export interface GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgramme
|
|
|
1241
1354
|
export interface GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenDistributions {
|
|
1242
1355
|
tokenDistributions: GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenTimedDistributionEntry[];
|
|
1243
1356
|
}
|
|
1357
|
+
export interface GetTokenPerpetualDistributionLastClaimRequest {
|
|
1358
|
+
v0?: GetTokenPerpetualDistributionLastClaimRequest_GetTokenPerpetualDistributionLastClaimRequestV0 | undefined;
|
|
1359
|
+
}
|
|
1360
|
+
export interface GetTokenPerpetualDistributionLastClaimRequest_ContractTokenInfo {
|
|
1361
|
+
contractId: Uint8Array;
|
|
1362
|
+
/** the token contract position */
|
|
1363
|
+
tokenContractPosition: number;
|
|
1364
|
+
}
|
|
1365
|
+
export interface GetTokenPerpetualDistributionLastClaimRequest_GetTokenPerpetualDistributionLastClaimRequestV0 {
|
|
1366
|
+
/** 32‑byte token identifier */
|
|
1367
|
+
tokenId: Uint8Array;
|
|
1368
|
+
/** This should be set if you wish to get back the last claim info as a specific type */
|
|
1369
|
+
contractInfo?: GetTokenPerpetualDistributionLastClaimRequest_ContractTokenInfo | undefined;
|
|
1370
|
+
/** Identity whose last‑claim timestamp is requested */
|
|
1371
|
+
identityId: Uint8Array;
|
|
1372
|
+
/** Return GroveDB / signature proof instead of raw value */
|
|
1373
|
+
prove: boolean;
|
|
1374
|
+
}
|
|
1375
|
+
export interface GetTokenPerpetualDistributionLastClaimResponse {
|
|
1376
|
+
v0?: GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0 | undefined;
|
|
1377
|
+
}
|
|
1378
|
+
export interface GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0 {
|
|
1379
|
+
/** Direct answer */
|
|
1380
|
+
lastClaim?: GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0_LastClaimInfo | undefined;
|
|
1381
|
+
/** GroveDB / quorum proof */
|
|
1382
|
+
proof?: Proof | undefined;
|
|
1383
|
+
/** Chain context */
|
|
1384
|
+
metadata: ResponseMetadata | undefined;
|
|
1385
|
+
}
|
|
1386
|
+
export interface GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0_LastClaimInfo {
|
|
1387
|
+
/** Unix epoch, ms */
|
|
1388
|
+
timestampMs?: string | undefined;
|
|
1389
|
+
/** Core‑block height */
|
|
1390
|
+
blockHeight?: string | undefined;
|
|
1391
|
+
/** Epoch index */
|
|
1392
|
+
epoch?: number | undefined;
|
|
1393
|
+
/** Arbitrary encoding */
|
|
1394
|
+
rawBytes?: Uint8Array | undefined;
|
|
1395
|
+
}
|
|
1244
1396
|
export interface GetTokenTotalSupplyRequest {
|
|
1245
1397
|
v0?: GetTokenTotalSupplyRequest_GetTokenTotalSupplyRequestV0 | undefined;
|
|
1246
1398
|
}
|
|
@@ -1364,6 +1516,8 @@ export interface GetGroupActionsResponse_GetGroupActionsResponseV0_MintEvent {
|
|
|
1364
1516
|
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_BurnEvent {
|
|
1365
1517
|
/** Amount to burn */
|
|
1366
1518
|
amount: string;
|
|
1519
|
+
/** The identifier to burn from */
|
|
1520
|
+
burnFromId: Uint8Array;
|
|
1367
1521
|
/** Public note */
|
|
1368
1522
|
publicNote?: string | undefined;
|
|
1369
1523
|
}
|
|
@@ -1430,6 +1584,20 @@ export interface GetGroupActionsResponse_GetGroupActionsResponseV0_TokenConfigUp
|
|
|
1430
1584
|
/** Public note */
|
|
1431
1585
|
publicNote?: string | undefined;
|
|
1432
1586
|
}
|
|
1587
|
+
/** UpdatePrice event */
|
|
1588
|
+
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent {
|
|
1589
|
+
fixedPrice?: string | undefined;
|
|
1590
|
+
variablePrice?: GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PricingSchedule | undefined;
|
|
1591
|
+
/** Public note */
|
|
1592
|
+
publicNote?: string | undefined;
|
|
1593
|
+
}
|
|
1594
|
+
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PriceForQuantity {
|
|
1595
|
+
quantity: string;
|
|
1596
|
+
price: string;
|
|
1597
|
+
}
|
|
1598
|
+
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PricingSchedule {
|
|
1599
|
+
priceForQuantity: GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PriceForQuantity[];
|
|
1600
|
+
}
|
|
1433
1601
|
/** Event associated with this action */
|
|
1434
1602
|
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_GroupActionEvent {
|
|
1435
1603
|
/** Token event details */
|
|
@@ -1467,6 +1635,8 @@ export interface GetGroupActionsResponse_GetGroupActionsResponseV0_TokenEvent {
|
|
|
1467
1635
|
emergencyAction?: GetGroupActionsResponse_GetGroupActionsResponseV0_EmergencyActionEvent | undefined;
|
|
1468
1636
|
/** Token configuration update details */
|
|
1469
1637
|
tokenConfigUpdate?: GetGroupActionsResponse_GetGroupActionsResponseV0_TokenConfigUpdateEvent | undefined;
|
|
1638
|
+
/** Updating the token direct selling price */
|
|
1639
|
+
updatePrice?: GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent | undefined;
|
|
1470
1640
|
}
|
|
1471
1641
|
export interface GetGroupActionsResponse_GetGroupActionsResponseV0_GroupActionEntry {
|
|
1472
1642
|
/** Unique identifier for the action */
|
|
@@ -1583,18 +1753,6 @@ export declare const GetIdentitiesBalancesResponse: MessageFns<GetIdentitiesBala
|
|
|
1583
1753
|
export declare const GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0: MessageFns<GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0>;
|
|
1584
1754
|
export declare const GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentityBalance: MessageFns<GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentityBalance>;
|
|
1585
1755
|
export declare const GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentitiesBalances: MessageFns<GetIdentitiesBalancesResponse_GetIdentitiesBalancesResponseV0_IdentitiesBalances>;
|
|
1586
|
-
export declare const GetProofsRequest: MessageFns<GetProofsRequest>;
|
|
1587
|
-
export declare const GetProofsRequest_GetProofsRequestV0: MessageFns<GetProofsRequest_GetProofsRequestV0>;
|
|
1588
|
-
export declare const GetProofsRequest_GetProofsRequestV0_DocumentRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_DocumentRequest>;
|
|
1589
|
-
export declare const GetProofsRequest_GetProofsRequestV0_IdentityRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_IdentityRequest>;
|
|
1590
|
-
export declare const GetProofsRequest_GetProofsRequestV0_ContractRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_ContractRequest>;
|
|
1591
|
-
export declare const GetProofsRequest_GetProofsRequestV0_VoteStatusRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_VoteStatusRequest>;
|
|
1592
|
-
export declare const GetProofsRequest_GetProofsRequestV0_VoteStatusRequest_ContestedResourceVoteStatusRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_VoteStatusRequest_ContestedResourceVoteStatusRequest>;
|
|
1593
|
-
export declare const GetProofsRequest_GetProofsRequestV0_IdentityTokenBalanceRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_IdentityTokenBalanceRequest>;
|
|
1594
|
-
export declare const GetProofsRequest_GetProofsRequestV0_IdentityTokenInfoRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_IdentityTokenInfoRequest>;
|
|
1595
|
-
export declare const GetProofsRequest_GetProofsRequestV0_TokenStatusRequest: MessageFns<GetProofsRequest_GetProofsRequestV0_TokenStatusRequest>;
|
|
1596
|
-
export declare const GetProofsResponse: MessageFns<GetProofsResponse>;
|
|
1597
|
-
export declare const GetProofsResponse_GetProofsResponseV0: MessageFns<GetProofsResponse_GetProofsResponseV0>;
|
|
1598
1756
|
export declare const GetDataContractRequest: MessageFns<GetDataContractRequest>;
|
|
1599
1757
|
export declare const GetDataContractRequest_GetDataContractRequestV0: MessageFns<GetDataContractRequest_GetDataContractRequestV0>;
|
|
1600
1758
|
export declare const GetDataContractResponse: MessageFns<GetDataContractResponse>;
|
|
@@ -1620,6 +1778,12 @@ export declare const GetIdentityByPublicKeyHashRequest: MessageFns<GetIdentityBy
|
|
|
1620
1778
|
export declare const GetIdentityByPublicKeyHashRequest_GetIdentityByPublicKeyHashRequestV0: MessageFns<GetIdentityByPublicKeyHashRequest_GetIdentityByPublicKeyHashRequestV0>;
|
|
1621
1779
|
export declare const GetIdentityByPublicKeyHashResponse: MessageFns<GetIdentityByPublicKeyHashResponse>;
|
|
1622
1780
|
export declare const GetIdentityByPublicKeyHashResponse_GetIdentityByPublicKeyHashResponseV0: MessageFns<GetIdentityByPublicKeyHashResponse_GetIdentityByPublicKeyHashResponseV0>;
|
|
1781
|
+
export declare const GetIdentityByNonUniquePublicKeyHashRequest: MessageFns<GetIdentityByNonUniquePublicKeyHashRequest>;
|
|
1782
|
+
export declare const GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0: MessageFns<GetIdentityByNonUniquePublicKeyHashRequest_GetIdentityByNonUniquePublicKeyHashRequestV0>;
|
|
1783
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse: MessageFns<GetIdentityByNonUniquePublicKeyHashResponse>;
|
|
1784
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0: MessageFns<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0>;
|
|
1785
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse: MessageFns<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityResponse>;
|
|
1786
|
+
export declare const GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse: MessageFns<GetIdentityByNonUniquePublicKeyHashResponse_GetIdentityByNonUniquePublicKeyHashResponseV0_IdentityProvedResponse>;
|
|
1623
1787
|
export declare const WaitForStateTransitionResultRequest: MessageFns<WaitForStateTransitionResultRequest>;
|
|
1624
1788
|
export declare const WaitForStateTransitionResultRequest_WaitForStateTransitionResultRequestV0: MessageFns<WaitForStateTransitionResultRequest_WaitForStateTransitionResultRequestV0>;
|
|
1625
1789
|
export declare const WaitForStateTransitionResultResponse: MessageFns<WaitForStateTransitionResultResponse>;
|
|
@@ -1648,6 +1812,13 @@ export declare const GetEpochsInfoResponse: MessageFns<GetEpochsInfoResponse>;
|
|
|
1648
1812
|
export declare const GetEpochsInfoResponse_GetEpochsInfoResponseV0: MessageFns<GetEpochsInfoResponse_GetEpochsInfoResponseV0>;
|
|
1649
1813
|
export declare const GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfos: MessageFns<GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfos>;
|
|
1650
1814
|
export declare const GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfo: MessageFns<GetEpochsInfoResponse_GetEpochsInfoResponseV0_EpochInfo>;
|
|
1815
|
+
export declare const GetFinalizedEpochInfosRequest: MessageFns<GetFinalizedEpochInfosRequest>;
|
|
1816
|
+
export declare const GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0: MessageFns<GetFinalizedEpochInfosRequest_GetFinalizedEpochInfosRequestV0>;
|
|
1817
|
+
export declare const GetFinalizedEpochInfosResponse: MessageFns<GetFinalizedEpochInfosResponse>;
|
|
1818
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0: MessageFns<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0>;
|
|
1819
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos: MessageFns<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfos>;
|
|
1820
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo: MessageFns<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_FinalizedEpochInfo>;
|
|
1821
|
+
export declare const GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer: MessageFns<GetFinalizedEpochInfosResponse_GetFinalizedEpochInfosResponseV0_BlockProposer>;
|
|
1651
1822
|
export declare const GetContestedResourcesRequest: MessageFns<GetContestedResourcesRequest>;
|
|
1652
1823
|
export declare const GetContestedResourcesRequest_GetContestedResourcesRequestV0: MessageFns<GetContestedResourcesRequest_GetContestedResourcesRequestV0>;
|
|
1653
1824
|
export declare const GetContestedResourcesRequest_GetContestedResourcesRequestV0_StartAtValueInfo: MessageFns<GetContestedResourcesRequest_GetContestedResourcesRequestV0_StartAtValueInfo>;
|
|
@@ -1749,6 +1920,19 @@ export declare const GetTokenStatusesResponse: MessageFns<GetTokenStatusesRespon
|
|
|
1749
1920
|
export declare const GetTokenStatusesResponse_GetTokenStatusesResponseV0: MessageFns<GetTokenStatusesResponse_GetTokenStatusesResponseV0>;
|
|
1750
1921
|
export declare const GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatusEntry: MessageFns<GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatusEntry>;
|
|
1751
1922
|
export declare const GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatuses: MessageFns<GetTokenStatusesResponse_GetTokenStatusesResponseV0_TokenStatuses>;
|
|
1923
|
+
export declare const GetTokenDirectPurchasePricesRequest: MessageFns<GetTokenDirectPurchasePricesRequest>;
|
|
1924
|
+
export declare const GetTokenDirectPurchasePricesRequest_GetTokenDirectPurchasePricesRequestV0: MessageFns<GetTokenDirectPurchasePricesRequest_GetTokenDirectPurchasePricesRequestV0>;
|
|
1925
|
+
export declare const GetTokenDirectPurchasePricesResponse: MessageFns<GetTokenDirectPurchasePricesResponse>;
|
|
1926
|
+
export declare const GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0: MessageFns<GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0>;
|
|
1927
|
+
export declare const GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PriceForQuantity: MessageFns<GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PriceForQuantity>;
|
|
1928
|
+
export declare const GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PricingSchedule: MessageFns<GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_PricingSchedule>;
|
|
1929
|
+
export declare const GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePriceEntry: MessageFns<GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePriceEntry>;
|
|
1930
|
+
export declare const GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePrices: MessageFns<GetTokenDirectPurchasePricesResponse_GetTokenDirectPurchasePricesResponseV0_TokenDirectPurchasePrices>;
|
|
1931
|
+
export declare const GetTokenContractInfoRequest: MessageFns<GetTokenContractInfoRequest>;
|
|
1932
|
+
export declare const GetTokenContractInfoRequest_GetTokenContractInfoRequestV0: MessageFns<GetTokenContractInfoRequest_GetTokenContractInfoRequestV0>;
|
|
1933
|
+
export declare const GetTokenContractInfoResponse: MessageFns<GetTokenContractInfoResponse>;
|
|
1934
|
+
export declare const GetTokenContractInfoResponse_GetTokenContractInfoResponseV0: MessageFns<GetTokenContractInfoResponse_GetTokenContractInfoResponseV0>;
|
|
1935
|
+
export declare const GetTokenContractInfoResponse_GetTokenContractInfoResponseV0_TokenContractInfoData: MessageFns<GetTokenContractInfoResponse_GetTokenContractInfoResponseV0_TokenContractInfoData>;
|
|
1752
1936
|
export declare const GetTokenPreProgrammedDistributionsRequest: MessageFns<GetTokenPreProgrammedDistributionsRequest>;
|
|
1753
1937
|
export declare const GetTokenPreProgrammedDistributionsRequest_GetTokenPreProgrammedDistributionsRequestV0: MessageFns<GetTokenPreProgrammedDistributionsRequest_GetTokenPreProgrammedDistributionsRequestV0>;
|
|
1754
1938
|
export declare const GetTokenPreProgrammedDistributionsRequest_GetTokenPreProgrammedDistributionsRequestV0_StartAtInfo: MessageFns<GetTokenPreProgrammedDistributionsRequest_GetTokenPreProgrammedDistributionsRequestV0_StartAtInfo>;
|
|
@@ -1757,6 +1941,12 @@ export declare const GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgr
|
|
|
1757
1941
|
export declare const GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenDistributionEntry: MessageFns<GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenDistributionEntry>;
|
|
1758
1942
|
export declare const GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenTimedDistributionEntry: MessageFns<GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenTimedDistributionEntry>;
|
|
1759
1943
|
export declare const GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenDistributions: MessageFns<GetTokenPreProgrammedDistributionsResponse_GetTokenPreProgrammedDistributionsResponseV0_TokenDistributions>;
|
|
1944
|
+
export declare const GetTokenPerpetualDistributionLastClaimRequest: MessageFns<GetTokenPerpetualDistributionLastClaimRequest>;
|
|
1945
|
+
export declare const GetTokenPerpetualDistributionLastClaimRequest_ContractTokenInfo: MessageFns<GetTokenPerpetualDistributionLastClaimRequest_ContractTokenInfo>;
|
|
1946
|
+
export declare const GetTokenPerpetualDistributionLastClaimRequest_GetTokenPerpetualDistributionLastClaimRequestV0: MessageFns<GetTokenPerpetualDistributionLastClaimRequest_GetTokenPerpetualDistributionLastClaimRequestV0>;
|
|
1947
|
+
export declare const GetTokenPerpetualDistributionLastClaimResponse: MessageFns<GetTokenPerpetualDistributionLastClaimResponse>;
|
|
1948
|
+
export declare const GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0: MessageFns<GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0>;
|
|
1949
|
+
export declare const GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0_LastClaimInfo: MessageFns<GetTokenPerpetualDistributionLastClaimResponse_GetTokenPerpetualDistributionLastClaimResponseV0_LastClaimInfo>;
|
|
1760
1950
|
export declare const GetTokenTotalSupplyRequest: MessageFns<GetTokenTotalSupplyRequest>;
|
|
1761
1951
|
export declare const GetTokenTotalSupplyRequest_GetTokenTotalSupplyRequestV0: MessageFns<GetTokenTotalSupplyRequest_GetTokenTotalSupplyRequestV0>;
|
|
1762
1952
|
export declare const GetTokenTotalSupplyResponse: MessageFns<GetTokenTotalSupplyResponse>;
|
|
@@ -1791,6 +1981,9 @@ export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_SharedEnc
|
|
|
1791
1981
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_PersonalEncryptedNote: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_PersonalEncryptedNote>;
|
|
1792
1982
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_EmergencyActionEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_EmergencyActionEvent>;
|
|
1793
1983
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_TokenConfigUpdateEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_TokenConfigUpdateEvent>;
|
|
1984
|
+
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent>;
|
|
1985
|
+
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PriceForQuantity: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PriceForQuantity>;
|
|
1986
|
+
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PricingSchedule: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_UpdateDirectPurchasePriceEvent_PricingSchedule>;
|
|
1794
1987
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_GroupActionEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_GroupActionEvent>;
|
|
1795
1988
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_DocumentEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_DocumentEvent>;
|
|
1796
1989
|
export declare const GetGroupActionsResponse_GetGroupActionsResponseV0_DocumentCreateEvent: MessageFns<GetGroupActionsResponse_GetGroupActionsResponseV0_DocumentCreateEvent>;
|
|
@@ -1900,14 +2093,6 @@ export declare const PlatformDefinition: {
|
|
|
1900
2093
|
readonly responseStream: false;
|
|
1901
2094
|
readonly options: {};
|
|
1902
2095
|
};
|
|
1903
|
-
readonly getProofs: {
|
|
1904
|
-
readonly name: "getProofs";
|
|
1905
|
-
readonly requestType: MessageFns<GetProofsRequest>;
|
|
1906
|
-
readonly requestStream: false;
|
|
1907
|
-
readonly responseType: MessageFns<GetProofsResponse>;
|
|
1908
|
-
readonly responseStream: false;
|
|
1909
|
-
readonly options: {};
|
|
1910
|
-
};
|
|
1911
2096
|
readonly getDataContract: {
|
|
1912
2097
|
readonly name: "getDataContract";
|
|
1913
2098
|
readonly requestType: MessageFns<GetDataContractRequest>;
|
|
@@ -1948,6 +2133,14 @@ export declare const PlatformDefinition: {
|
|
|
1948
2133
|
readonly responseStream: false;
|
|
1949
2134
|
readonly options: {};
|
|
1950
2135
|
};
|
|
2136
|
+
readonly getIdentityByNonUniquePublicKeyHash: {
|
|
2137
|
+
readonly name: "getIdentityByNonUniquePublicKeyHash";
|
|
2138
|
+
readonly requestType: MessageFns<GetIdentityByNonUniquePublicKeyHashRequest>;
|
|
2139
|
+
readonly requestStream: false;
|
|
2140
|
+
readonly responseType: MessageFns<GetIdentityByNonUniquePublicKeyHashResponse>;
|
|
2141
|
+
readonly responseStream: false;
|
|
2142
|
+
readonly options: {};
|
|
2143
|
+
};
|
|
1951
2144
|
readonly waitForStateTransitionResult: {
|
|
1952
2145
|
readonly name: "waitForStateTransitionResult";
|
|
1953
2146
|
readonly requestType: MessageFns<WaitForStateTransitionResultRequest>;
|
|
@@ -1988,6 +2181,14 @@ export declare const PlatformDefinition: {
|
|
|
1988
2181
|
readonly responseStream: false;
|
|
1989
2182
|
readonly options: {};
|
|
1990
2183
|
};
|
|
2184
|
+
readonly getFinalizedEpochInfos: {
|
|
2185
|
+
readonly name: "getFinalizedEpochInfos";
|
|
2186
|
+
readonly requestType: MessageFns<GetFinalizedEpochInfosRequest>;
|
|
2187
|
+
readonly requestStream: false;
|
|
2188
|
+
readonly responseType: MessageFns<GetFinalizedEpochInfosResponse>;
|
|
2189
|
+
readonly responseStream: false;
|
|
2190
|
+
readonly options: {};
|
|
2191
|
+
};
|
|
1991
2192
|
/** What votes are currently happening for a specific contested index */
|
|
1992
2193
|
readonly getContestedResources: {
|
|
1993
2194
|
readonly name: "getContestedResources";
|
|
@@ -2113,6 +2314,22 @@ export declare const PlatformDefinition: {
|
|
|
2113
2314
|
readonly responseStream: false;
|
|
2114
2315
|
readonly options: {};
|
|
2115
2316
|
};
|
|
2317
|
+
readonly getTokenDirectPurchasePrices: {
|
|
2318
|
+
readonly name: "getTokenDirectPurchasePrices";
|
|
2319
|
+
readonly requestType: MessageFns<GetTokenDirectPurchasePricesRequest>;
|
|
2320
|
+
readonly requestStream: false;
|
|
2321
|
+
readonly responseType: MessageFns<GetTokenDirectPurchasePricesResponse>;
|
|
2322
|
+
readonly responseStream: false;
|
|
2323
|
+
readonly options: {};
|
|
2324
|
+
};
|
|
2325
|
+
readonly getTokenContractInfo: {
|
|
2326
|
+
readonly name: "getTokenContractInfo";
|
|
2327
|
+
readonly requestType: MessageFns<GetTokenContractInfoRequest>;
|
|
2328
|
+
readonly requestStream: false;
|
|
2329
|
+
readonly responseType: MessageFns<GetTokenContractInfoResponse>;
|
|
2330
|
+
readonly responseStream: false;
|
|
2331
|
+
readonly options: {};
|
|
2332
|
+
};
|
|
2116
2333
|
readonly getTokenPreProgrammedDistributions: {
|
|
2117
2334
|
readonly name: "getTokenPreProgrammedDistributions";
|
|
2118
2335
|
readonly requestType: MessageFns<GetTokenPreProgrammedDistributionsRequest>;
|
|
@@ -2121,6 +2338,14 @@ export declare const PlatformDefinition: {
|
|
|
2121
2338
|
readonly responseStream: false;
|
|
2122
2339
|
readonly options: {};
|
|
2123
2340
|
};
|
|
2341
|
+
readonly getTokenPerpetualDistributionLastClaim: {
|
|
2342
|
+
readonly name: "getTokenPerpetualDistributionLastClaim";
|
|
2343
|
+
readonly requestType: MessageFns<GetTokenPerpetualDistributionLastClaimRequest>;
|
|
2344
|
+
readonly requestStream: false;
|
|
2345
|
+
readonly responseType: MessageFns<GetTokenPerpetualDistributionLastClaimResponse>;
|
|
2346
|
+
readonly responseStream: false;
|
|
2347
|
+
readonly options: {};
|
|
2348
|
+
};
|
|
2124
2349
|
readonly getTokenTotalSupply: {
|
|
2125
2350
|
readonly name: "getTokenTotalSupply";
|
|
2126
2351
|
readonly requestType: MessageFns<GetTokenTotalSupplyRequest>;
|