@tari-project/ootle-ts-bindings 1.53.0 → 1.55.0
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/dist/helpers/helpers.js +4 -5
- package/dist/helpers/ootleAddress.d.ts +1 -1
- package/dist/index.d.ts +56 -44
- package/dist/index.js +56 -44
- package/dist/tari-indexer-client.d.ts +55 -54
- package/dist/tari-indexer-client.js +55 -54
- package/dist/types/BlockHeader.d.ts +6 -3
- package/dist/types/BurnOutput.d.ts +24 -0
- package/dist/types/BurnOutputFeatures.d.ts +22 -0
- package/dist/types/BurnOutputInclusionProof.d.ts +15 -0
- package/dist/types/BurnRateChange.d.ts +4 -0
- package/dist/types/BurnRateGovernanceState.d.ts +5 -0
- package/dist/types/BurnSidechainId.d.ts +6 -0
- package/dist/types/BurnSidechainId.js +1 -0
- package/dist/types/Command.d.ts +7 -6
- package/dist/types/DiffSummary.d.ts +9 -0
- package/dist/types/DownSubstate.d.ts +6 -0
- package/dist/types/DownSubstate.js +1 -0
- package/dist/types/EvidenceInputLockData.d.ts +2 -1
- package/dist/types/EvidenceInputLockData.js +0 -1
- package/dist/types/ExecutionFailureCode.d.ts +1 -0
- package/dist/types/FeeSource.d.ts +1 -1
- package/dist/types/IndexedWellKnownTypes.d.ts +0 -2
- package/dist/types/InputDeclaration.d.ts +5 -0
- package/dist/types/InputDeclaration.js +2 -0
- package/dist/types/LocalOnlyAtom.d.ts +8 -0
- package/dist/types/LocalOnlyAtom.js +1 -0
- package/dist/types/LockedEpoch.d.ts +1 -0
- package/dist/types/Metadata.d.ts +6 -4
- package/dist/types/MinotariBurnClaimProof.d.ts +11 -8
- package/dist/types/MmrInclusionProof.d.ts +19 -0
- package/dist/types/MmrInclusionProof.js +1 -0
- package/dist/types/{TransactionAtom.d.ts → MultiShardAtom.d.ts} +1 -1
- package/dist/types/MultiShardAtom.js +1 -0
- package/dist/types/Permission.d.ts +2 -0
- package/dist/types/PrunedUnsignedTransactionV1.d.ts +2 -2
- package/dist/types/RejectReason.d.ts +5 -1
- package/dist/types/RevealedOutput.d.ts +21 -0
- package/dist/types/RevealedOutput.js +1 -0
- package/dist/types/SignedTimeout.d.ts +6 -0
- package/dist/types/SignedTimeout.js +1 -0
- package/dist/types/StealthOutputsStatement.d.ts +5 -4
- package/dist/types/Substate.d.ts +2 -1
- package/dist/types/SubstateDiff.d.ts +2 -1
- package/dist/types/SubstateRecord.d.ts +2 -1
- package/dist/types/SubstateRequirement.d.ts +2 -1
- package/dist/types/SubstateRequirement.js +0 -1
- package/dist/types/SubstateVersion.d.ts +7 -0
- package/dist/types/SubstateVersion.js +2 -0
- package/dist/types/TimeoutCertificate.d.ts +4 -3
- package/dist/types/UnsignedTransactionV1.d.ts +2 -2
- package/dist/types/UpSubstate.d.ts +2 -1
- package/dist/types/UtxoBurnt.d.ts +2 -1
- package/dist/types/UtxoSpent.d.ts +2 -1
- package/dist/types/VersionedSubstateId.d.ts +2 -1
- package/dist/types/tari-indexer-client/GetNetworkEconomicsResponse.d.ts +10 -0
- package/dist/types/tari-indexer-client/GetNetworkSyncStateResponse.d.ts +2 -5
- package/dist/types/tari-indexer-client/GetResourceResponse.d.ts +2 -1
- package/dist/types/tari-indexer-client/IndexerGetSubstateRequest.d.ts +2 -1
- package/dist/types/tari-indexer-client/IndexerGetSubstateRequest.js +0 -1
- package/dist/types/tari-indexer-client/IndexerGetSubstateResponse.d.ts +2 -1
- package/dist/types/tari-indexer-client/InspectSubstateRequest.d.ts +2 -1
- package/dist/types/tari-indexer-client/InspectSubstateResponse.d.ts +2 -1
- package/dist/types/tari-indexer-client/ListSubstateItem.d.ts +2 -1
- package/dist/types/tari-indexer-client/NonFungibleSubstate.d.ts +2 -1
- package/dist/types/tari-indexer-client/ScheduledBurnRate.d.ts +7 -0
- package/dist/types/tari-indexer-client/ScheduledBurnRate.js +2 -0
- package/dist/types/tari-indexer-client/ValidatorProbeError.d.ts +8 -0
- package/dist/types/tari-indexer-client/ValidatorProbeError.js +1 -0
- package/dist/types/tari-indexer-client/ValidatorProbeErrorKind.d.ts +1 -0
- package/dist/types/tari-indexer-client/ValidatorProbeErrorKind.js +2 -0
- package/dist/types/tari-indexer-client/ValidatorStatus.d.ts +13 -13
- package/dist/types/tari-indexer-client/ValidatorStatusSnapshot.d.ts +18 -0
- package/dist/types/tari-indexer-client/ValidatorStatusSnapshot.js +1 -0
- package/dist/types/validator-node-client/VNGetSubstateRequest.d.ts +2 -1
- package/dist/types/wallet-types/AccountsGetFaucetBalanceRequest.d.ts +1 -0
- package/dist/types/wallet-types/AccountsGetFaucetBalanceRequest.js +2 -0
- package/dist/types/wallet-types/AccountsGetFaucetBalanceResponse.d.ts +11 -0
- package/dist/types/wallet-types/AccountsGetFaucetBalanceResponse.js +1 -0
- package/dist/types/wallet-types/CallInstructionRequest.d.ts +2 -2
- package/dist/types/wallet-types/ConfidentialViewVaultBalanceResponse.d.ts +2 -0
- package/dist/types/wallet-types/ConfidentialViewVaultBalanceResponse.js +0 -1
- package/dist/types/wallet-types/KeyType.d.ts +1 -0
- package/dist/types/wallet-types/KeyType.js +2 -0
- package/dist/types/wallet-types/KeysImportRequest.d.ts +8 -0
- package/dist/types/wallet-types/KeysImportRequest.js +1 -0
- package/dist/types/wallet-types/KeysImportResponse.d.ts +6 -0
- package/dist/types/wallet-types/KeysImportResponse.js +1 -0
- package/dist/types/wallet-types/ResourcesGetManyRequest.d.ts +4 -0
- package/dist/types/wallet-types/ResourcesGetManyRequest.js +1 -0
- package/dist/types/wallet-types/ResourcesGetManyResponse.d.ts +11 -0
- package/dist/types/wallet-types/ResourcesGetManyResponse.js +1 -0
- package/dist/types/wallet-types/ResourcesGetRequest.d.ts +4 -0
- package/dist/types/wallet-types/ResourcesGetRequest.js +1 -0
- package/dist/types/wallet-types/ResourcesGetResponse.d.ts +4 -0
- package/dist/types/wallet-types/ResourcesGetResponse.js +1 -0
- package/dist/types/wallet-types/StealthUtxosDecryptValueResponse.d.ts +2 -0
- package/dist/types/wallet-types/ValueScanCoverage.d.ts +25 -0
- package/dist/types/wallet-types/ValueScanCoverage.js +2 -0
- package/dist/types/wallet-types/WalletSubstateInfo.d.ts +2 -1
- package/dist/types/wallet-types/WebauthnAlreadyRegisteredRequest.d.ts +1 -3
- package/dist/types/wallet-types/WebauthnFinishRegisterRequest.d.ts +0 -5
- package/dist/types/wallet-types/WebauthnFinishRegisterRequest.js +1 -0
- package/dist/validator-node-client.d.ts +42 -42
- package/dist/validator-node-client.js +42 -42
- package/dist/wallet-types.d.ts +186 -176
- package/dist/wallet-types.js +186 -176
- package/package.json +1 -1
- package/dist/types/AbridgedTransactionKernel.d.ts +0 -9
- package/dist/types/EncodedMerkleProof.d.ts +0 -5
- package/dist/types/tari-indexer-client/ListTemplatesRequest.d.ts +0 -3
- package/dist/types/tari-indexer-client/ListTemplatesResponse.d.ts +0 -4
- package/dist/types/tari-indexer-client/TemplateMeta.d.ts +0 -15
- /package/dist/types/{AbridgedTransactionKernel.js → BurnOutput.js} +0 -0
- /package/dist/types/{TransactionAtom.js → BurnOutputFeatures.js} +0 -0
- /package/dist/types/{tari-indexer-client/ListTemplatesResponse.js → BurnOutputInclusionProof.js} +0 -0
- /package/dist/types/{EncodedMerkleProof.js → BurnRateChange.js} +0 -0
- /package/dist/types/{tari-indexer-client/TemplateMeta.js → BurnRateGovernanceState.js} +0 -0
- /package/dist/types/{tari-indexer-client/ListTemplatesRequest.js → ExecutionFailureCode.js} +0 -0
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
export * from "./types/tari-indexer-client/IndexerSubmitTransactionResponse";
|
|
2
|
-
export * from "./types/tari-indexer-client/GetTransactionReceiptResponse";
|
|
3
|
-
export * from "./types/tari-indexer-client/GetNetworkInfoResponse";
|
|
4
1
|
export * from "./types/tari-indexer-client/GetIndexerInfoResponse";
|
|
5
|
-
export * from "./types/tari-indexer-client/WatchedSubstateItem";
|
|
6
|
-
export * from "./types/tari-indexer-client/GetUtxoUpdatesRequest";
|
|
7
|
-
export * from "./types/tari-indexer-client/WatchedTemplateItem";
|
|
8
|
-
export * from "./types/tari-indexer-client/ValidatorConsensusState";
|
|
9
|
-
export * from "./types/tari-indexer-client/StreamTransactionEventsRequest";
|
|
10
|
-
export * from "./types/tari-indexer-client/QueryTransactionEventsRequest";
|
|
11
|
-
export * from "./types/tari-indexer-client/TransactionEntry";
|
|
12
|
-
export * from "./types/tari-indexer-client/TransactionSource";
|
|
13
|
-
export * from "./types/tari-indexer-client/InspectSubstateRequest";
|
|
14
|
-
export * from "./types/tari-indexer-client/ListSubstateItem";
|
|
15
|
-
export * from "./types/tari-indexer-client/IndexerTransactionFinalizedResult";
|
|
16
|
-
export * from "./types/tari-indexer-client/NetworkDescription";
|
|
17
|
-
export * from "./types/tari-indexer-client/GetUtxoUpdatesResponse";
|
|
18
|
-
export * from "./types/tari-indexer-client/TransactionResultSummary";
|
|
19
|
-
export * from "./types/tari-indexer-client/IndexerGetSubstateResponse";
|
|
20
|
-
export * from "./types/tari-indexer-client/IndexerGetCommsStatsResponse";
|
|
21
|
-
export * from "./types/tari-indexer-client/ListWatchedTemplatesResponse";
|
|
22
|
-
export * from "./types/tari-indexer-client/ListValidatorsResponse";
|
|
23
|
-
export * from "./types/tari-indexer-client/IndexerConnection";
|
|
24
|
-
export * from "./types/tari-indexer-client/GetNonFungiblesRequest";
|
|
25
|
-
export * from "./types/tari-indexer-client/ListValidatorsRequest";
|
|
26
|
-
export * from "./types/tari-indexer-client/GetResourceResponse";
|
|
27
|
-
export * from "./types/tari-indexer-client/ListEpochCheckpointsResponse";
|
|
28
|
-
export * from "./types/tari-indexer-client/ListTransactionReceiptsRequest";
|
|
29
|
-
export * from "./types/tari-indexer-client/GetUtxosRequest";
|
|
30
|
-
export * from "./types/tari-indexer-client/ListRecentTransactionsResponse";
|
|
31
|
-
export * from "./types/tari-indexer-client/ListWatchedSubstatesRequest";
|
|
32
|
-
export * from "./types/tari-indexer-client/ValidatorInfo";
|
|
33
2
|
export * from "./types/tari-indexer-client/GetLatestEpochCheckpointResponse";
|
|
3
|
+
export * from "./types/tari-indexer-client/GetNetworkEconomicsResponse";
|
|
4
|
+
export * from "./types/tari-indexer-client/GetNetworkInfoResponse";
|
|
34
5
|
export * from "./types/tari-indexer-client/GetNetworkSyncStateResponse";
|
|
35
|
-
export * from "./types/tari-indexer-client/
|
|
36
|
-
export * from "./types/tari-indexer-client/ListUtxosResponse";
|
|
6
|
+
export * from "./types/tari-indexer-client/GetNonFungiblesRequest";
|
|
37
7
|
export * from "./types/tari-indexer-client/GetNonFungiblesResponse";
|
|
8
|
+
export * from "./types/tari-indexer-client/GetResourceResponse";
|
|
9
|
+
export * from "./types/tari-indexer-client/GetSubstatesRequest";
|
|
10
|
+
export * from "./types/tari-indexer-client/GetSubstatesResponse";
|
|
38
11
|
export * from "./types/tari-indexer-client/GetTemplateDefinitionResponse";
|
|
39
|
-
export * from "./types/tari-indexer-client/
|
|
12
|
+
export * from "./types/tari-indexer-client/GetTransactionReceiptResponse";
|
|
13
|
+
export * from "./types/tari-indexer-client/GetUtxosRequest";
|
|
14
|
+
export * from "./types/tari-indexer-client/GetUtxosResponse";
|
|
15
|
+
export * from "./types/tari-indexer-client/GetUtxoUpdatesRequest";
|
|
16
|
+
export * from "./types/tari-indexer-client/GetUtxoUpdatesResponse";
|
|
17
|
+
export * from "./types/tari-indexer-client/IndexerConnection";
|
|
18
|
+
export * from "./types/tari-indexer-client/IndexerConnectionDirection";
|
|
19
|
+
export * from "./types/tari-indexer-client/IndexerGetCommsStatsResponse";
|
|
40
20
|
export * from "./types/tari-indexer-client/IndexerGetConnectionsResponse";
|
|
21
|
+
export * from "./types/tari-indexer-client/IndexerGetEpochManagerStatsResponse";
|
|
22
|
+
export * from "./types/tari-indexer-client/IndexerGetIdentityResponse";
|
|
23
|
+
export * from "./types/tari-indexer-client/IndexerGetSubstateRequest";
|
|
24
|
+
export * from "./types/tari-indexer-client/IndexerGetSubstateResponse";
|
|
41
25
|
export * from "./types/tari-indexer-client/IndexerGetTransactionResponse";
|
|
42
|
-
export * from "./types/tari-indexer-client/
|
|
43
|
-
export * from "./types/tari-indexer-client/
|
|
44
|
-
export * from "./types/tari-indexer-client/
|
|
45
|
-
export * from "./types/tari-indexer-client/ValidatorStatus";
|
|
46
|
-
export * from "./types/tari-indexer-client/ListWatchedSubstatesResponse";
|
|
26
|
+
export * from "./types/tari-indexer-client/IndexerGetTransactionResultRequest";
|
|
27
|
+
export * from "./types/tari-indexer-client/IndexerGetTransactionResultResponse";
|
|
28
|
+
export * from "./types/tari-indexer-client/IndexerReadyResponse";
|
|
47
29
|
export * from "./types/tari-indexer-client/IndexerSubmitTransactionRequest";
|
|
48
|
-
export * from "./types/tari-indexer-client/
|
|
49
|
-
export * from "./types/tari-indexer-client/
|
|
30
|
+
export * from "./types/tari-indexer-client/IndexerSubmitTransactionResponse";
|
|
31
|
+
export * from "./types/tari-indexer-client/IndexerTransactionFinalizedResult";
|
|
32
|
+
export * from "./types/tari-indexer-client/InspectSubstateRequest";
|
|
50
33
|
export * from "./types/tari-indexer-client/InspectSubstateResponse";
|
|
34
|
+
export * from "./types/tari-indexer-client/ListEpochCheckpointsRequest";
|
|
35
|
+
export * from "./types/tari-indexer-client/ListEpochCheckpointsResponse";
|
|
51
36
|
export * from "./types/tari-indexer-client/ListRecentTransactionsRequest";
|
|
52
|
-
export * from "./types/tari-indexer-client/
|
|
53
|
-
export * from "./types/tari-indexer-client/
|
|
54
|
-
export * from "./types/tari-indexer-client/
|
|
55
|
-
export * from "./types/tari-indexer-client/NonFungibleSubstate";
|
|
37
|
+
export * from "./types/tari-indexer-client/ListRecentTransactionsResponse";
|
|
38
|
+
export * from "./types/tari-indexer-client/ListSubstateItem";
|
|
39
|
+
export * from "./types/tari-indexer-client/ListTemplateCatalogueRequest";
|
|
56
40
|
export * from "./types/tari-indexer-client/ListTemplateCatalogueResponse";
|
|
57
|
-
export * from "./types/tari-indexer-client/
|
|
58
|
-
export * from "./types/tari-indexer-client/
|
|
59
|
-
export * from "./types/tari-indexer-client/IndexerConnectionDirection";
|
|
60
|
-
export * from "./types/tari-indexer-client/IndexerGetIdentityResponse";
|
|
61
|
-
export * from "./types/tari-indexer-client/ListEpochCheckpointsRequest";
|
|
41
|
+
export * from "./types/tari-indexer-client/ListTransactionReceiptsRequest";
|
|
42
|
+
export * from "./types/tari-indexer-client/ListTransactionReceiptsResponse";
|
|
62
43
|
export * from "./types/tari-indexer-client/ListUtxosRequest";
|
|
63
|
-
export * from "./types/tari-indexer-client/
|
|
64
|
-
export * from "./types/tari-indexer-client/
|
|
65
|
-
export * from "./types/tari-indexer-client/
|
|
44
|
+
export * from "./types/tari-indexer-client/ListUtxosResponse";
|
|
45
|
+
export * from "./types/tari-indexer-client/ListValidatorsRequest";
|
|
46
|
+
export * from "./types/tari-indexer-client/ListValidatorsResponse";
|
|
47
|
+
export * from "./types/tari-indexer-client/ListWatchedSubstatesRequest";
|
|
48
|
+
export * from "./types/tari-indexer-client/ListWatchedSubstatesResponse";
|
|
49
|
+
export * from "./types/tari-indexer-client/ListWatchedTemplatesResponse";
|
|
50
|
+
export * from "./types/tari-indexer-client/NetworkDescription";
|
|
51
|
+
export * from "./types/tari-indexer-client/NonFungibleSubstate";
|
|
52
|
+
export * from "./types/tari-indexer-client/QueryTransactionEventsRequest";
|
|
66
53
|
export * from "./types/tari-indexer-client/QueryTransactionEventsResponse";
|
|
67
|
-
export * from "./types/tari-indexer-client/
|
|
54
|
+
export * from "./types/tari-indexer-client/ScheduledBurnRate";
|
|
55
|
+
export * from "./types/tari-indexer-client/StreamTransactionEventsRequest";
|
|
56
|
+
export * from "./types/tari-indexer-client/SyncProgress";
|
|
57
|
+
export * from "./types/tari-indexer-client/TemplateCatalogueItem";
|
|
58
|
+
export * from "./types/tari-indexer-client/TransactionEntry";
|
|
59
|
+
export * from "./types/tari-indexer-client/TransactionResultSummary";
|
|
60
|
+
export * from "./types/tari-indexer-client/TransactionSource";
|
|
61
|
+
export * from "./types/tari-indexer-client/ValidatorConsensusState";
|
|
62
|
+
export * from "./types/tari-indexer-client/ValidatorInfo";
|
|
63
|
+
export * from "./types/tari-indexer-client/ValidatorProbeError";
|
|
64
|
+
export * from "./types/tari-indexer-client/ValidatorProbeErrorKind";
|
|
65
|
+
export * from "./types/tari-indexer-client/ValidatorStatus";
|
|
66
|
+
export * from "./types/tari-indexer-client/ValidatorStatusSnapshot";
|
|
67
|
+
export * from "./types/tari-indexer-client/WatchedSubstateItem";
|
|
68
|
+
export * from "./types/tari-indexer-client/WatchedTemplateItem";
|
|
@@ -1,69 +1,70 @@
|
|
|
1
1
|
// Copyright 2026 The Tari Project
|
|
2
2
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
3
|
-
export * from "./types/tari-indexer-client/IndexerSubmitTransactionResponse";
|
|
4
|
-
export * from "./types/tari-indexer-client/GetTransactionReceiptResponse";
|
|
5
|
-
export * from "./types/tari-indexer-client/GetNetworkInfoResponse";
|
|
6
3
|
export * from "./types/tari-indexer-client/GetIndexerInfoResponse";
|
|
7
|
-
export * from "./types/tari-indexer-client/WatchedSubstateItem";
|
|
8
|
-
export * from "./types/tari-indexer-client/GetUtxoUpdatesRequest";
|
|
9
|
-
export * from "./types/tari-indexer-client/WatchedTemplateItem";
|
|
10
|
-
export * from "./types/tari-indexer-client/ValidatorConsensusState";
|
|
11
|
-
export * from "./types/tari-indexer-client/StreamTransactionEventsRequest";
|
|
12
|
-
export * from "./types/tari-indexer-client/QueryTransactionEventsRequest";
|
|
13
|
-
export * from "./types/tari-indexer-client/TransactionEntry";
|
|
14
|
-
export * from "./types/tari-indexer-client/TransactionSource";
|
|
15
|
-
export * from "./types/tari-indexer-client/InspectSubstateRequest";
|
|
16
|
-
export * from "./types/tari-indexer-client/ListSubstateItem";
|
|
17
|
-
export * from "./types/tari-indexer-client/IndexerTransactionFinalizedResult";
|
|
18
|
-
export * from "./types/tari-indexer-client/NetworkDescription";
|
|
19
|
-
export * from "./types/tari-indexer-client/GetUtxoUpdatesResponse";
|
|
20
|
-
export * from "./types/tari-indexer-client/TransactionResultSummary";
|
|
21
|
-
export * from "./types/tari-indexer-client/IndexerGetSubstateResponse";
|
|
22
|
-
export * from "./types/tari-indexer-client/IndexerGetCommsStatsResponse";
|
|
23
|
-
export * from "./types/tari-indexer-client/ListWatchedTemplatesResponse";
|
|
24
|
-
export * from "./types/tari-indexer-client/ListValidatorsResponse";
|
|
25
|
-
export * from "./types/tari-indexer-client/IndexerConnection";
|
|
26
|
-
export * from "./types/tari-indexer-client/GetNonFungiblesRequest";
|
|
27
|
-
export * from "./types/tari-indexer-client/ListValidatorsRequest";
|
|
28
|
-
export * from "./types/tari-indexer-client/GetResourceResponse";
|
|
29
|
-
export * from "./types/tari-indexer-client/ListEpochCheckpointsResponse";
|
|
30
|
-
export * from "./types/tari-indexer-client/ListTransactionReceiptsRequest";
|
|
31
|
-
export * from "./types/tari-indexer-client/GetUtxosRequest";
|
|
32
|
-
export * from "./types/tari-indexer-client/ListRecentTransactionsResponse";
|
|
33
|
-
export * from "./types/tari-indexer-client/ListWatchedSubstatesRequest";
|
|
34
|
-
export * from "./types/tari-indexer-client/ValidatorInfo";
|
|
35
4
|
export * from "./types/tari-indexer-client/GetLatestEpochCheckpointResponse";
|
|
5
|
+
export * from "./types/tari-indexer-client/GetNetworkEconomicsResponse";
|
|
6
|
+
export * from "./types/tari-indexer-client/GetNetworkInfoResponse";
|
|
36
7
|
export * from "./types/tari-indexer-client/GetNetworkSyncStateResponse";
|
|
37
|
-
export * from "./types/tari-indexer-client/
|
|
38
|
-
export * from "./types/tari-indexer-client/ListUtxosResponse";
|
|
8
|
+
export * from "./types/tari-indexer-client/GetNonFungiblesRequest";
|
|
39
9
|
export * from "./types/tari-indexer-client/GetNonFungiblesResponse";
|
|
10
|
+
export * from "./types/tari-indexer-client/GetResourceResponse";
|
|
11
|
+
export * from "./types/tari-indexer-client/GetSubstatesRequest";
|
|
12
|
+
export * from "./types/tari-indexer-client/GetSubstatesResponse";
|
|
40
13
|
export * from "./types/tari-indexer-client/GetTemplateDefinitionResponse";
|
|
41
|
-
export * from "./types/tari-indexer-client/
|
|
14
|
+
export * from "./types/tari-indexer-client/GetTransactionReceiptResponse";
|
|
15
|
+
export * from "./types/tari-indexer-client/GetUtxosRequest";
|
|
16
|
+
export * from "./types/tari-indexer-client/GetUtxosResponse";
|
|
17
|
+
export * from "./types/tari-indexer-client/GetUtxoUpdatesRequest";
|
|
18
|
+
export * from "./types/tari-indexer-client/GetUtxoUpdatesResponse";
|
|
19
|
+
export * from "./types/tari-indexer-client/IndexerConnection";
|
|
20
|
+
export * from "./types/tari-indexer-client/IndexerConnectionDirection";
|
|
21
|
+
export * from "./types/tari-indexer-client/IndexerGetCommsStatsResponse";
|
|
42
22
|
export * from "./types/tari-indexer-client/IndexerGetConnectionsResponse";
|
|
23
|
+
export * from "./types/tari-indexer-client/IndexerGetEpochManagerStatsResponse";
|
|
24
|
+
export * from "./types/tari-indexer-client/IndexerGetIdentityResponse";
|
|
25
|
+
export * from "./types/tari-indexer-client/IndexerGetSubstateRequest";
|
|
26
|
+
export * from "./types/tari-indexer-client/IndexerGetSubstateResponse";
|
|
43
27
|
export * from "./types/tari-indexer-client/IndexerGetTransactionResponse";
|
|
44
|
-
export * from "./types/tari-indexer-client/
|
|
45
|
-
export * from "./types/tari-indexer-client/
|
|
46
|
-
export * from "./types/tari-indexer-client/
|
|
47
|
-
export * from "./types/tari-indexer-client/ValidatorStatus";
|
|
48
|
-
export * from "./types/tari-indexer-client/ListWatchedSubstatesResponse";
|
|
28
|
+
export * from "./types/tari-indexer-client/IndexerGetTransactionResultRequest";
|
|
29
|
+
export * from "./types/tari-indexer-client/IndexerGetTransactionResultResponse";
|
|
30
|
+
export * from "./types/tari-indexer-client/IndexerReadyResponse";
|
|
49
31
|
export * from "./types/tari-indexer-client/IndexerSubmitTransactionRequest";
|
|
50
|
-
export * from "./types/tari-indexer-client/
|
|
51
|
-
export * from "./types/tari-indexer-client/
|
|
32
|
+
export * from "./types/tari-indexer-client/IndexerSubmitTransactionResponse";
|
|
33
|
+
export * from "./types/tari-indexer-client/IndexerTransactionFinalizedResult";
|
|
34
|
+
export * from "./types/tari-indexer-client/InspectSubstateRequest";
|
|
52
35
|
export * from "./types/tari-indexer-client/InspectSubstateResponse";
|
|
36
|
+
export * from "./types/tari-indexer-client/ListEpochCheckpointsRequest";
|
|
37
|
+
export * from "./types/tari-indexer-client/ListEpochCheckpointsResponse";
|
|
53
38
|
export * from "./types/tari-indexer-client/ListRecentTransactionsRequest";
|
|
54
|
-
export * from "./types/tari-indexer-client/
|
|
55
|
-
export * from "./types/tari-indexer-client/
|
|
56
|
-
export * from "./types/tari-indexer-client/
|
|
57
|
-
export * from "./types/tari-indexer-client/NonFungibleSubstate";
|
|
39
|
+
export * from "./types/tari-indexer-client/ListRecentTransactionsResponse";
|
|
40
|
+
export * from "./types/tari-indexer-client/ListSubstateItem";
|
|
41
|
+
export * from "./types/tari-indexer-client/ListTemplateCatalogueRequest";
|
|
58
42
|
export * from "./types/tari-indexer-client/ListTemplateCatalogueResponse";
|
|
59
|
-
export * from "./types/tari-indexer-client/
|
|
60
|
-
export * from "./types/tari-indexer-client/
|
|
61
|
-
export * from "./types/tari-indexer-client/IndexerConnectionDirection";
|
|
62
|
-
export * from "./types/tari-indexer-client/IndexerGetIdentityResponse";
|
|
63
|
-
export * from "./types/tari-indexer-client/ListEpochCheckpointsRequest";
|
|
43
|
+
export * from "./types/tari-indexer-client/ListTransactionReceiptsRequest";
|
|
44
|
+
export * from "./types/tari-indexer-client/ListTransactionReceiptsResponse";
|
|
64
45
|
export * from "./types/tari-indexer-client/ListUtxosRequest";
|
|
65
|
-
export * from "./types/tari-indexer-client/
|
|
66
|
-
export * from "./types/tari-indexer-client/
|
|
67
|
-
export * from "./types/tari-indexer-client/
|
|
46
|
+
export * from "./types/tari-indexer-client/ListUtxosResponse";
|
|
47
|
+
export * from "./types/tari-indexer-client/ListValidatorsRequest";
|
|
48
|
+
export * from "./types/tari-indexer-client/ListValidatorsResponse";
|
|
49
|
+
export * from "./types/tari-indexer-client/ListWatchedSubstatesRequest";
|
|
50
|
+
export * from "./types/tari-indexer-client/ListWatchedSubstatesResponse";
|
|
51
|
+
export * from "./types/tari-indexer-client/ListWatchedTemplatesResponse";
|
|
52
|
+
export * from "./types/tari-indexer-client/NetworkDescription";
|
|
53
|
+
export * from "./types/tari-indexer-client/NonFungibleSubstate";
|
|
54
|
+
export * from "./types/tari-indexer-client/QueryTransactionEventsRequest";
|
|
68
55
|
export * from "./types/tari-indexer-client/QueryTransactionEventsResponse";
|
|
69
|
-
export * from "./types/tari-indexer-client/
|
|
56
|
+
export * from "./types/tari-indexer-client/ScheduledBurnRate";
|
|
57
|
+
export * from "./types/tari-indexer-client/StreamTransactionEventsRequest";
|
|
58
|
+
export * from "./types/tari-indexer-client/SyncProgress";
|
|
59
|
+
export * from "./types/tari-indexer-client/TemplateCatalogueItem";
|
|
60
|
+
export * from "./types/tari-indexer-client/TransactionEntry";
|
|
61
|
+
export * from "./types/tari-indexer-client/TransactionResultSummary";
|
|
62
|
+
export * from "./types/tari-indexer-client/TransactionSource";
|
|
63
|
+
export * from "./types/tari-indexer-client/ValidatorConsensusState";
|
|
64
|
+
export * from "./types/tari-indexer-client/ValidatorInfo";
|
|
65
|
+
export * from "./types/tari-indexer-client/ValidatorProbeError";
|
|
66
|
+
export * from "./types/tari-indexer-client/ValidatorProbeErrorKind";
|
|
67
|
+
export * from "./types/tari-indexer-client/ValidatorStatus";
|
|
68
|
+
export * from "./types/tari-indexer-client/ValidatorStatusSnapshot";
|
|
69
|
+
export * from "./types/tari-indexer-client/WatchedSubstateItem";
|
|
70
|
+
export * from "./types/tari-indexer-client/WatchedTemplateItem";
|
|
@@ -77,9 +77,12 @@ export type BlockHeader = {
|
|
|
77
77
|
* The protocol version this block was produced under, resolved from the network's activation schedule at
|
|
78
78
|
* [`Self::epoch`]. It makes the block self-describing: [`Self::calculate_hash`] and the L1 verifier in
|
|
79
79
|
* `tari_sidechain` both select the hash schema from this field rather than from the schedule.
|
|
80
|
-
*
|
|
81
|
-
* A header that carries no version is under [`ProtocolVersion::V0`], so blocks written before the field
|
|
82
|
-
* existed decode and hash unchanged.
|
|
83
80
|
*/
|
|
84
81
|
protocol_version: number;
|
|
82
|
+
/**
|
|
83
|
+
* The id of the timeout certificate this block carries, or `None` when it carries none. It is part of the
|
|
84
|
+
* metadata hash and therefore of the signed block id, so a validity rule that reads the certificate
|
|
85
|
+
* (`check_justify_reaches_timeout_certificate`) reads data the proposer signed.
|
|
86
|
+
*/
|
|
87
|
+
timeout_certificate_id: string | null;
|
|
85
88
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { BurnOutputFeatures } from "./BurnOutputFeatures";
|
|
2
|
+
import type { Hash32 } from "./Hash32";
|
|
3
|
+
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
4
|
+
/**
|
|
5
|
+
* The fields of an L1 burn output that its hash commits to, in hash order, less the commitment, which is
|
|
6
|
+
* [`MinotariBurnClaimProof::commitment`].
|
|
7
|
+
*
|
|
8
|
+
* The range proof is carried as its hash, which is all the output hash commits to. `script`, `metadata_signature`,
|
|
9
|
+
* `covenant` and `encrypted_data` are their L1 consensus (borsh) encodings, hashed as given and never decoded.
|
|
10
|
+
*/
|
|
11
|
+
export type BurnOutput = {
|
|
12
|
+
version: number;
|
|
13
|
+
features: BurnOutputFeatures;
|
|
14
|
+
rangeproof_hash: Hash32;
|
|
15
|
+
script: string;
|
|
16
|
+
/**
|
|
17
|
+
* The public nonce `R` the output was burnt with
|
|
18
|
+
*/
|
|
19
|
+
sender_offset_public_key: RistrettoPublicKeyBytes;
|
|
20
|
+
metadata_signature: string;
|
|
21
|
+
covenant: string;
|
|
22
|
+
encrypted_data: string;
|
|
23
|
+
minimum_value_promise: number | bigint | string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BurnSidechainId } from "./BurnSidechainId";
|
|
2
|
+
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
3
|
+
/**
|
|
4
|
+
* The `OutputFeatures` of an L1 burn output that Ootle mints against.
|
|
5
|
+
*
|
|
6
|
+
* Only the fields that vary between such outputs are carried. The rest are fixed: the output type is `Burn`, the
|
|
7
|
+
* coinbase extra is empty, and the sidechain feature is a `ConfidentialOutput` naming `claim_public_key`.
|
|
8
|
+
*/
|
|
9
|
+
export type BurnOutputFeatures = {
|
|
10
|
+
version: number;
|
|
11
|
+
maturity: number | bigint | string;
|
|
12
|
+
/**
|
|
13
|
+
* The stealth key `S` the burn is made out to. Only its holder may claim the burn.
|
|
14
|
+
*/
|
|
15
|
+
claim_public_key: RistrettoPublicKeyBytes;
|
|
16
|
+
/**
|
|
17
|
+
* The sidechain the burn is tagged for, with the deployment key's signature of `claim_public_key`. `None` is
|
|
18
|
+
* the default Ootle chain.
|
|
19
|
+
*/
|
|
20
|
+
sidechain_id: BurnSidechainId | null;
|
|
21
|
+
range_proof_type: number;
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Hash32 } from "./Hash32";
|
|
2
|
+
import type { MmrInclusionProof } from "./MmrInclusionProof";
|
|
3
|
+
/**
|
|
4
|
+
* Proves that a burn output is in an L1 block, against that block's `block_output_mr`.
|
|
5
|
+
*
|
|
6
|
+
* The block output MMR has the block's coinbase output hashes as leaves, then one last leaf: the root of the MMR of
|
|
7
|
+
* every other output hash in the block (the normal output MMR). A burn is never a coinbase, so the proof has two
|
|
8
|
+
* levels: the output hash in the normal output MMR, then that MMR's root as the last leaf of the block output MMR.
|
|
9
|
+
*/
|
|
10
|
+
export type BurnOutputInclusionProof = {
|
|
11
|
+
block_hash: Hash32;
|
|
12
|
+
normal_output_proof: MmrInclusionProof;
|
|
13
|
+
normal_output_mr: Hash32;
|
|
14
|
+
block_output_proof: MmrInclusionProof;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/Command.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { EndEpochAtom } from "./EndEpochAtom";
|
|
2
2
|
import type { ForeignProposalAtom } from "./ForeignProposalAtom";
|
|
3
|
-
import type {
|
|
3
|
+
import type { LocalOnlyAtom } from "./LocalOnlyAtom";
|
|
4
|
+
import type { MultiShardAtom } from "./MultiShardAtom";
|
|
4
5
|
export type Command = {
|
|
5
|
-
LocalOnly:
|
|
6
|
+
LocalOnly: LocalOnlyAtom;
|
|
6
7
|
} | {
|
|
7
|
-
LocalPrepare:
|
|
8
|
+
LocalPrepare: MultiShardAtom;
|
|
8
9
|
} | {
|
|
9
|
-
LocalAccept:
|
|
10
|
+
LocalAccept: MultiShardAtom;
|
|
10
11
|
} | {
|
|
11
|
-
AllAccept:
|
|
12
|
+
AllAccept: MultiShardAtom;
|
|
12
13
|
} | {
|
|
13
|
-
SomeAccept:
|
|
14
|
+
SomeAccept: MultiShardAtom;
|
|
14
15
|
} | {
|
|
15
16
|
ForeignProposal: ForeignProposalAtom;
|
|
16
17
|
} | {
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import type { DownSubstate } from "./DownSubstate";
|
|
1
2
|
import type { UpSubstate } from "./UpSubstate";
|
|
2
3
|
export type DiffSummary = {
|
|
3
4
|
upped: Array<UpSubstate>;
|
|
5
|
+
/**
|
|
6
|
+
* The substates the transaction downed without upping a later version: spent UTXOs and
|
|
7
|
+
* confidential outputs.
|
|
8
|
+
*
|
|
9
|
+
* A substate that is upped is always downed at its previous version, so those downs are implied
|
|
10
|
+
* by `upped` and are left out to keep the receipt small.
|
|
11
|
+
*/
|
|
12
|
+
downed: Array<DownSubstate>;
|
|
4
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExecutionFailureCode = "TemplateError" | "AccessDenied" | "AssertionFailed" | "InsufficientFunds" | "OutOfCompute" | "LimitExceeded" | "InvalidArgument" | "NotFound" | "DanglingResources" | "ResourceRestricted" | "InvalidProof" | "EngineInvariant" | "NotYetValid" | "Unclassified";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type FeeSource = "Initial" | "RuntimeCall" | "Storage" | "TransactionWeight" | "TemplateLoad" | "SubstateCreate" | "WasmExecution" | "TemplatePublish" | "
|
|
1
|
+
export type FeeSource = "Initial" | "RuntimeCall" | "Storage" | "TransactionWeight" | "TemplateLoad" | "SubstateCreate" | "WasmExecution" | "TemplatePublish" | "NativeExecution";
|
|
@@ -2,7 +2,6 @@ import type { BucketId } from "./BucketId";
|
|
|
2
2
|
import type { ClaimedOutputTombstoneAddress } from "./ClaimedOutputTombstoneAddress";
|
|
3
3
|
import type { ComponentAddress } from "./ComponentAddress";
|
|
4
4
|
import type { ConfidentialOutputAddress } from "./ConfidentialOutputAddress";
|
|
5
|
-
import type { Metadata } from "./Metadata";
|
|
6
5
|
import type { NonFungibleAddress } from "./NonFungibleAddress";
|
|
7
6
|
import type { ProofId } from "./ProofId";
|
|
8
7
|
import type { PublishedTemplateAddress } from "./PublishedTemplateAddress";
|
|
@@ -19,7 +18,6 @@ export type IndexedWellKnownTypes = {
|
|
|
19
18
|
transaction_receipt_addresses: Array<TransactionReceiptAddress>;
|
|
20
19
|
non_fungible_addresses: Array<NonFungibleAddress>;
|
|
21
20
|
vault_ids: Array<VaultId>;
|
|
22
|
-
metadata: Array<Metadata>;
|
|
23
21
|
unclaimed_confidential_output_address: Array<ClaimedOutputTombstoneAddress>;
|
|
24
22
|
published_template_addresses: Array<PublishedTemplateAddress>;
|
|
25
23
|
validator_node_fee_pools: Array<ValidatorFeePoolAddress>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/Metadata.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A collection of user-defined data used to describe other types, for example, non-fungible tokens or events
|
|
2
|
+
* A collection of user-defined data used to describe other types, for example, non-fungible tokens or events.
|
|
3
|
+
*
|
|
4
|
+
* Values are arbitrary CBOR, each held as the exact encoding its producer wrote, so a value that goes
|
|
5
|
+
* into a hashed substate comes back out byte for byte. Read one with [`Self::get_as`] for a typed
|
|
6
|
+
* value or [`Self::get_str`] when it is known to be text.
|
|
3
7
|
*/
|
|
4
|
-
export type Metadata =
|
|
5
|
-
[key in string]?: string;
|
|
6
|
-
};
|
|
8
|
+
export type Metadata = Record<string, any>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { BurnOutput } from "./BurnOutput";
|
|
2
|
+
import type { BurnOutputInclusionProof } from "./BurnOutputInclusionProof";
|
|
3
3
|
import type { PedersenCommitmentBytes } from "./PedersenCommitmentBytes";
|
|
4
|
-
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
5
4
|
import type { SchnorrSignatureBytes } from "./SchnorrSignatureBytes";
|
|
5
|
+
/**
|
|
6
|
+
* Proves that an L1 burn output exists and that the claimant can open its commitment.
|
|
7
|
+
*
|
|
8
|
+
* The output is proven by recomputing its L1 hash from [`BurnOutput`] and folding that hash up to the
|
|
9
|
+
* `block_output_mr` of the L1 header named by [`BurnOutputInclusionProof::block_hash`].
|
|
10
|
+
*/
|
|
6
11
|
export type MinotariBurnClaimProof = {
|
|
7
12
|
/**
|
|
8
|
-
*
|
|
13
|
+
* The commitment of the burn output
|
|
9
14
|
*/
|
|
10
|
-
burn_public_key: RistrettoPublicKeyBytes;
|
|
11
15
|
commitment: PedersenCommitmentBytes;
|
|
12
16
|
ownership_proof: SchnorrSignatureBytes;
|
|
13
|
-
encoded_merkle_proof: EncodedMerkleProof;
|
|
14
|
-
kernel: AbridgedTransactionKernel;
|
|
15
17
|
value: number | bigint | string;
|
|
16
|
-
|
|
18
|
+
output: BurnOutput;
|
|
19
|
+
inclusion_proof: BurnOutputInclusionProof;
|
|
17
20
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Hash32 } from "./Hash32";
|
|
2
|
+
/**
|
|
3
|
+
* An inclusion proof of a leaf in an L1 Merkle mountain range.
|
|
4
|
+
*/
|
|
5
|
+
export type MmrInclusionProof = {
|
|
6
|
+
leaf_index: number | bigint | string;
|
|
7
|
+
/**
|
|
8
|
+
* The node count of the MMR the proof was made for
|
|
9
|
+
*/
|
|
10
|
+
mmr_size: number | bigint | string;
|
|
11
|
+
/**
|
|
12
|
+
* The sibling hashes from the leaf up to its local peak
|
|
13
|
+
*/
|
|
14
|
+
path: Array<Hash32>;
|
|
15
|
+
/**
|
|
16
|
+
* The MMR peaks, less the leaf's local peak
|
|
17
|
+
*/
|
|
18
|
+
peaks: Array<Hash32>;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlobHashes } from "./BlobHashes";
|
|
2
2
|
import type { Epoch } from "./Epoch";
|
|
3
|
+
import type { InputDeclaration } from "./InputDeclaration";
|
|
3
4
|
import type { Instruction } from "./Instruction";
|
|
4
|
-
import type { SubstateRequirement } from "./SubstateRequirement";
|
|
5
5
|
/**
|
|
6
6
|
* Mirror of `UnsignedTransactionV1` but with blob commitments instead of blob payloads.
|
|
7
7
|
*
|
|
@@ -12,7 +12,7 @@ export type PrunedUnsignedTransactionV1 = {
|
|
|
12
12
|
network: number;
|
|
13
13
|
fee_instructions: Array<Instruction>;
|
|
14
14
|
instructions: Array<Instruction>;
|
|
15
|
-
inputs: Array<
|
|
15
|
+
inputs: Array<InputDeclaration>;
|
|
16
16
|
min_epoch: Epoch | null;
|
|
17
17
|
max_epoch: Epoch;
|
|
18
18
|
is_seal_signer_authorized: boolean;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { AbortReason } from "./AbortReason";
|
|
2
|
+
import type { ExecutionFailureCode } from "./ExecutionFailureCode";
|
|
2
3
|
export type RejectReason = {
|
|
3
|
-
ExecutionFailure:
|
|
4
|
+
ExecutionFailure: {
|
|
5
|
+
code: ExecutionFailureCode;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
4
8
|
} | {
|
|
5
9
|
SubstateNotFound: string;
|
|
6
10
|
} | {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Amount } from "./Amount";
|
|
2
|
+
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
3
|
+
/**
|
|
4
|
+
* A revealed output together with the key authorised to take it.
|
|
5
|
+
*
|
|
6
|
+
* The revealed funds materialise as a bucket in the executing workspace rather than as a stealth output, so unlike a
|
|
7
|
+
* confidential output nothing in the statement says where they end up. `receiver` supplies that: the engine requires
|
|
8
|
+
* the receiver's badge in the transaction's auth scope before it creates the bucket, so a statement lifted into
|
|
9
|
+
* another transaction yields its revealed funds to nobody. The receiver authorises the reveal; where the bucket goes
|
|
10
|
+
* afterwards is up to the instructions that take it.
|
|
11
|
+
*/
|
|
12
|
+
export type RevealedOutput = {
|
|
13
|
+
/**
|
|
14
|
+
* The amount of revealed funds to output. Must be positive.
|
|
15
|
+
*/
|
|
16
|
+
amount: Amount;
|
|
17
|
+
/**
|
|
18
|
+
* The public key whose badge must be in the transaction's auth scope for the revealed bucket to be created.
|
|
19
|
+
*/
|
|
20
|
+
receiver: RistrettoPublicKeyBytes;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|