@tari-project/ootle-ts-bindings 1.34.2 → 1.43.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/cbor.d.ts +38 -0
- package/dist/helpers/cbor.js +136 -0
- package/dist/helpers/helpers.d.ts +2 -2
- package/dist/helpers/helpers.js +48 -20
- package/dist/index.d.ts +45 -28
- package/dist/index.js +45 -28
- package/dist/tari-indexer-client.d.ts +53 -48
- package/dist/tari-indexer-client.js +53 -48
- package/dist/types/AtomicCondition.d.ts +17 -0
- package/dist/types/BuiltinPredicate.d.ts +24 -0
- package/dist/types/Bytes.d.ts +3 -5
- package/dist/types/Claims.d.ts +2 -2
- package/dist/types/Command.d.ts +4 -1
- package/dist/types/Covenant.d.ts +16 -0
- package/dist/types/Covenant.js +1 -0
- package/dist/types/CovenantBalanceClaim.d.ts +26 -0
- package/dist/types/CovenantBalanceClaim.js +1 -0
- package/dist/types/Crud.d.ts +1 -0
- package/dist/types/CurrentInputView.d.ts +14 -0
- package/dist/types/CurrentInputView.js +1 -0
- package/dist/types/EndEpochAtom.d.ts +17 -0
- package/dist/types/EndEpochAtom.js +2 -0
- package/dist/types/ExecuteResult.d.ts +7 -0
- package/dist/types/FeeSource.d.ts +1 -1
- package/dist/types/FunctionDoc.d.ts +7 -0
- package/dist/types/FunctionDoc.js +2 -0
- package/dist/types/HashAlg.d.ts +5 -0
- package/dist/types/HashAlg.js +2 -0
- package/dist/types/Instruction.d.ts +5 -0
- package/dist/types/Memo.d.ts +2 -0
- package/dist/types/MerkleProof.d.ts +11 -0
- package/dist/types/MerkleProof.js +1 -0
- package/dist/types/Permission.d.ts +43 -0
- package/dist/types/Permission.js +1 -0
- package/dist/types/Permissions.d.ts +2 -0
- package/dist/types/Permissions.js +1 -0
- package/dist/types/ReadOnly.d.ts +6 -0
- package/dist/types/ReadOnly.js +2 -0
- package/dist/types/ResourceAccessRules.d.ts +15 -12
- package/dist/types/SpendAuthorization.d.ts +24 -0
- package/dist/types/SpendAuthorization.js +1 -0
- package/dist/types/SpendCondition.d.ts +11 -7
- package/dist/types/SpendWitness.d.ts +18 -0
- package/dist/types/SpendWitness.js +1 -0
- package/dist/types/StealthInput.d.ts +5 -0
- package/dist/types/StealthInputView.d.ts +9 -0
- package/dist/types/StealthInputView.js +1 -0
- package/dist/types/StealthOutputView.d.ts +16 -0
- package/dist/types/StealthOutputView.js +1 -0
- package/dist/types/StealthTransferStatement.d.ts +6 -0
- package/dist/types/StealthUnspentOutput.d.ts +5 -2
- package/dist/types/TemplateFunction.d.ts +23 -0
- package/dist/types/TemplateFunction.js +1 -0
- package/dist/types/TemplateMetadata.d.ts +5 -0
- package/dist/types/TemplateMetadata.js +0 -1
- package/dist/types/TransactionPoolRecord.d.ts +6 -0
- package/dist/types/UpdateRule.d.ts +4 -0
- package/dist/types/UpdateRule.js +1 -0
- package/dist/types/UtxoOutput.d.ts +2 -2
- package/dist/types/tari-indexer-client/IndexerGetSubstateResponse.d.ts +6 -0
- package/dist/types/tari-indexer-client/IndexerGetTransactionResponse.d.ts +7 -0
- package/dist/types/tari-indexer-client/IndexerGetTransactionResponse.js +1 -0
- package/dist/types/tari-indexer-client/IndexerTransactionFinalizedResult.d.ts +5 -0
- package/dist/types/tari-indexer-client/ListValidatorsRequest.d.ts +7 -0
- package/dist/types/tari-indexer-client/ListValidatorsRequest.js +1 -0
- package/dist/types/tari-indexer-client/ListValidatorsResponse.d.ts +14 -0
- package/dist/types/tari-indexer-client/ListValidatorsResponse.js +1 -0
- package/dist/types/tari-indexer-client/TransactionEntry.d.ts +11 -0
- package/dist/types/tari-indexer-client/TransactionResultSummary.d.ts +6 -0
- package/dist/types/tari-indexer-client/TransactionResultSummary.js +1 -0
- package/dist/types/tari-indexer-client/ValidatorInfo.d.ts +34 -0
- package/dist/types/tari-indexer-client/ValidatorInfo.js +1 -0
- package/dist/types/tari-indexer-client/ValidatorStatus.d.ts +4 -0
- package/dist/types/validator-node-client/GetBlockResponse.d.ts +5 -0
- package/dist/types/wallet-types/AccountsGetBalanceChangesRequest.d.ts +12 -0
- package/dist/types/wallet-types/AccountsGetBalanceChangesRequest.js +1 -0
- package/dist/types/wallet-types/AccountsGetBalanceChangesResponse.d.ts +5 -0
- package/dist/types/wallet-types/AccountsGetBalanceChangesResponse.js +1 -0
- package/dist/types/wallet-types/AuthCreateApiKeyRequest.d.ts +25 -0
- package/dist/types/wallet-types/AuthCreateApiKeyRequest.js +2 -0
- package/dist/types/wallet-types/AuthCreateApiKeyResponse.d.ts +19 -0
- package/dist/types/wallet-types/AuthCreateApiKeyResponse.js +1 -0
- package/dist/types/wallet-types/AuthCredentials.d.ts +7 -0
- package/dist/types/wallet-types/AuthListApiKeysRequest.d.ts +10 -0
- package/dist/types/wallet-types/AuthListApiKeysRequest.js +2 -0
- package/dist/types/wallet-types/AuthListApiKeysResponse.d.ts +4 -0
- package/dist/types/wallet-types/AuthListApiKeysResponse.js +1 -0
- package/dist/types/wallet-types/AuthLoginRequest.d.ts +2 -2
- package/dist/types/wallet-types/AuthRevokeApiKeyRequest.d.ts +10 -0
- package/dist/types/wallet-types/AuthRevokeApiKeyRequest.js +2 -0
- package/dist/types/wallet-types/AuthRevokeApiKeyResponse.d.ts +1 -0
- package/dist/types/wallet-types/AuthRevokeApiKeyResponse.js +2 -0
- package/dist/types/wallet-types/AuthSessionInfo.d.ts +2 -2
- package/dist/types/wallet-types/BalanceChange.d.ts +21 -0
- package/dist/types/wallet-types/BalanceChange.js +1 -0
- package/dist/types/wallet-types/BalanceChangeSource.d.ts +8 -0
- package/dist/types/wallet-types/BalanceChangeSource.js +2 -0
- package/dist/types/wallet-types/BalanceChangeSourceType.d.ts +1 -0
- package/dist/types/wallet-types/BalanceChangeSourceType.js +2 -0
- package/dist/types/wallet-types/ClaimValidatorFeesRequest.d.ts +5 -0
- package/dist/types/wallet-types/IssuedApiKey.d.ts +32 -0
- package/dist/types/wallet-types/IssuedApiKey.js +1 -0
- package/dist/types/wallet-types/PayTo.d.ts +11 -0
- package/dist/types/wallet-types/StealthTransfer.d.ts +13 -0
- package/dist/types/wallet-types/TransactionGetAllRequest.d.ts +5 -3
- package/dist/types/wallet-types/UtxoInfo.d.ts +11 -2
- package/dist/types/wallet-types/WebauthnFinishRegisterRequest.d.ts +2 -2
- package/dist/validator-node-client.d.ts +42 -42
- package/dist/validator-node-client.js +42 -42
- package/dist/wallet-types.d.ts +154 -142
- package/dist/wallet-types.js +154 -142
- package/package.json +2 -2
- package/dist/types/AddressBookPermission.d.ts +0 -1
- package/dist/types/JrpcPermission.d.ts +0 -17
- package/dist/types/JrpcPermissions.d.ts +0 -2
- /package/dist/types/{JrpcPermission.js → AtomicCondition.js} +0 -0
- /package/dist/types/{JrpcPermissions.js → BuiltinPredicate.js} +0 -0
- /package/dist/types/{AddressBookPermission.js → Crud.js} +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin → daemon: mint a new long-lived API key with the supplied scopes.
|
|
3
|
+
*
|
|
4
|
+
* `permissions` is the same textual form `Permissions::from_str`
|
|
5
|
+
* accepts (e.g. `["accounts:read", "transactions:read"]`). `confirm_admin`
|
|
6
|
+
* must be set to `true` if and only if the list contains the `admin`
|
|
7
|
+
* permission — this is a deliberate speed-bump so the UI can render an
|
|
8
|
+
* explicit warning before issuing a fully-privileged credential.
|
|
9
|
+
*
|
|
10
|
+
* `expires_at` is an optional unix-seconds deadline. When set, the daemon's
|
|
11
|
+
* active-row filter excludes the key once that timestamp has passed; the
|
|
12
|
+
* agent receives the same opaque "invalid or revoked" error as for an
|
|
13
|
+
* unknown or revoked key. `None` means the key never expires.
|
|
14
|
+
*/
|
|
15
|
+
export type AuthCreateApiKeyRequest = {
|
|
16
|
+
name: string;
|
|
17
|
+
permissions: Array<string>;
|
|
18
|
+
confirm_admin: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Unix timestamp (seconds) at which the key becomes unusable. `None`
|
|
21
|
+
* for a never-expiring key. Rejected at the handler if it lies in the
|
|
22
|
+
* past — refusing to mint an instantly-expired credential.
|
|
23
|
+
*/
|
|
24
|
+
expires_at: bigint | null;
|
|
25
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Permission } from "../Permission";
|
|
2
|
+
/**
|
|
3
|
+
* Daemon → admin: response after successful key creation.
|
|
4
|
+
*
|
|
5
|
+
* `api_key` is the RAW key material and is included in this response
|
|
6
|
+
* EXACTLY ONCE; it cannot be retrieved again. The admin/UI must store it
|
|
7
|
+
* immediately (clipboard / secrets manager). The daemon only persists a
|
|
8
|
+
* SHA-256 hash, so a database leak does not expose this string.
|
|
9
|
+
*/
|
|
10
|
+
export type AuthCreateApiKeyResponse = {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string;
|
|
13
|
+
permissions: Array<Permission>;
|
|
14
|
+
api_key: string;
|
|
15
|
+
/**
|
|
16
|
+
* Unix timestamp (seconds) of creation.
|
|
17
|
+
*/
|
|
18
|
+
created_at: bigint;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { WebauthnFinishAuthRequest } from "./WebauthnFinishAuthRequest";
|
|
2
|
+
/**
|
|
3
|
+
* Credentials for the `auth.request` JSON-RPC entry point. Used by humans
|
|
4
|
+
* authenticating via WebAuthN (or in `none` auth mode); agent automation
|
|
5
|
+
* authenticates by sending the raw API key as the `Authorization: Bearer
|
|
6
|
+
* …` header on every JSON-RPC call instead, with no `auth.request`
|
|
7
|
+
* round-trip.
|
|
8
|
+
*/
|
|
2
9
|
export type AuthCredentials = "None" | {
|
|
3
10
|
WebAuthN: WebauthnFinishAuthRequest;
|
|
4
11
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin → daemon: list API keys. By default returns only non-revoked
|
|
3
|
+
* rows (the typical admin-UI view); set `include_revoked` to retrieve
|
|
4
|
+
* the historical audit list. Expired keys are always included — their
|
|
5
|
+
* `last_used_at` is useful audit context. The raw key material is
|
|
6
|
+
* NEVER included in the response.
|
|
7
|
+
*/
|
|
8
|
+
export type AuthListApiKeysRequest = {
|
|
9
|
+
include_revoked: boolean;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Permission } from "../Permission";
|
|
2
2
|
import type { AuthCredentials } from "./AuthCredentials";
|
|
3
3
|
export type AuthLoginRequest = {
|
|
4
|
-
permissions: Array<
|
|
4
|
+
permissions: Array<Permission>;
|
|
5
5
|
credentials: AuthCredentials;
|
|
6
6
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Admin → daemon: revoke an API key by its id. The row is soft-deleted
|
|
3
|
+
* (`revoked_at` stamped) so admin tooling can still see the historical
|
|
4
|
+
* `last_used_at` of revoked credentials, but the storage layer filters
|
|
5
|
+
* revoked rows out of authentication lookups so revocation takes effect
|
|
6
|
+
* immediately.
|
|
7
|
+
*/
|
|
8
|
+
export type AuthRevokeApiKeyRequest = {
|
|
9
|
+
id: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AuthRevokeApiKeyResponse = Record<string, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Permission } from "../Permission";
|
|
2
2
|
import type { RefreshTokenHash } from "./RefreshTokenHash";
|
|
3
3
|
export type AuthSessionInfo = {
|
|
4
4
|
id: RefreshTokenHash;
|
|
5
|
-
permissions: Array<
|
|
5
|
+
permissions: Array<Permission>;
|
|
6
6
|
exp: bigint;
|
|
7
7
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Amount } from "../Amount";
|
|
2
|
+
import type { ComponentAddress } from "../ComponentAddress";
|
|
3
|
+
import type { ResourceAddress } from "../ResourceAddress";
|
|
4
|
+
import type { BalanceChangeSource } from "./BalanceChangeSource";
|
|
5
|
+
export type BalanceChange = {
|
|
6
|
+
id: number;
|
|
7
|
+
account_address: ComponentAddress;
|
|
8
|
+
vault_address: string | null;
|
|
9
|
+
resource_address: ResourceAddress;
|
|
10
|
+
token_symbol: string | null;
|
|
11
|
+
divisibility: number;
|
|
12
|
+
revealed_before: Amount;
|
|
13
|
+
revealed_after: Amount;
|
|
14
|
+
confidential_before: Amount;
|
|
15
|
+
confidential_after: Amount;
|
|
16
|
+
revealed_delta: string;
|
|
17
|
+
confidential_delta: string;
|
|
18
|
+
source: BalanceChangeSource;
|
|
19
|
+
transaction_id: string | null;
|
|
20
|
+
created_at: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BalanceChangeSourceType = "Transaction" | "Scan" | "Recovery";
|
|
@@ -6,4 +6,9 @@ export type ClaimValidatorFeesRequest = {
|
|
|
6
6
|
max_fee: bigint;
|
|
7
7
|
shards: Array<Shard>;
|
|
8
8
|
dry_run: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* If true, claim into the account's revealed vault. If false (default), claim into a per-shard stealth UTXO
|
|
11
|
+
* addressed to the account's own owner key.
|
|
12
|
+
*/
|
|
13
|
+
output_to_revealed: boolean;
|
|
9
14
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Permission } from "../Permission";
|
|
2
|
+
/**
|
|
3
|
+
* Metadata returned by `auth.list_api_keys`. Mirrors the storage row
|
|
4
|
+
* minus the hash (which the admin doesn't need to see) and the raw key
|
|
5
|
+
* (which doesn't exist anywhere persistent).
|
|
6
|
+
*/
|
|
7
|
+
export type IssuedApiKey = {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string;
|
|
10
|
+
permissions: Array<Permission>;
|
|
11
|
+
/**
|
|
12
|
+
* Unix timestamp (seconds).
|
|
13
|
+
*/
|
|
14
|
+
created_at: bigint;
|
|
15
|
+
/**
|
|
16
|
+
* Unix timestamp (seconds). `None` if the key has never been used to
|
|
17
|
+
* authenticate since creation.
|
|
18
|
+
*/
|
|
19
|
+
last_used_at: bigint | null;
|
|
20
|
+
/**
|
|
21
|
+
* Unix timestamp (seconds). `None` for an active key; non-null means
|
|
22
|
+
* the key has been revoked and is no longer usable.
|
|
23
|
+
*/
|
|
24
|
+
revoked_at: bigint | null;
|
|
25
|
+
/**
|
|
26
|
+
* Unix timestamp (seconds). `None` means the key does not expire.
|
|
27
|
+
* Once the timestamp has passed, the auth shim's active-row filter
|
|
28
|
+
* stops surfacing the key — the agent gets the same opaque error as
|
|
29
|
+
* for a revoked key.
|
|
30
|
+
*/
|
|
31
|
+
expires_at: bigint | null;
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import type { AccessRule } from "../AccessRule";
|
|
2
|
+
import type { SpendCondition } from "../SpendCondition";
|
|
3
|
+
import type { TemplateFunction } from "../TemplateFunction";
|
|
4
|
+
/**
|
|
5
|
+
* How a created stealth output is gated for spending (TIP-0006). `StealthPublicKey` produces a key-path output (a
|
|
6
|
+
* `spend_key`); the other variants produce a condition tree (a `condition_root`). `AccessRule`/`TemplateFunction` are
|
|
7
|
+
* single-leaf conveniences; `Conditions` commits a full multi-leaf tree (a MAST of alternative spend paths).
|
|
8
|
+
*/
|
|
2
9
|
export type PayTo = "StealthPublicKey" | {
|
|
3
10
|
AccessRule: AccessRule;
|
|
11
|
+
} | {
|
|
12
|
+
TemplateFunction: TemplateFunction;
|
|
13
|
+
} | {
|
|
14
|
+
Conditions: Array<SpendCondition>;
|
|
4
15
|
};
|
|
@@ -8,4 +8,17 @@ export type StealthTransfer = {
|
|
|
8
8
|
revealed_output_amount: Amount;
|
|
9
9
|
output_memo?: Memo | null;
|
|
10
10
|
pay_to: PayTo;
|
|
11
|
+
/**
|
|
12
|
+
* If set, the sender's Ootle address is attached as the output memo so the recipient can identify and save
|
|
13
|
+
* the sender as a contact. Replaces `output_memo` (the sender address takes precedence). Composes with
|
|
14
|
+
* `pay_ref`, which is embedded inside the SenderAddress memo when set.
|
|
15
|
+
*/
|
|
16
|
+
attach_sender_address: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Optional pay reference (UTF-8, max 64 bytes). When `attach_sender_address` is true it is embedded inside
|
|
19
|
+
* the SenderAddress memo; otherwise it builds a `PayRefAndBytes` memo combined with any `output_memo`. If
|
|
20
|
+
* unset, the destination address's bech32-embedded pay reference (if any) is used as a fallback for
|
|
21
|
+
* backward compatibility.
|
|
22
|
+
*/
|
|
23
|
+
pay_ref?: string | null;
|
|
11
24
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { ComponentAddress } from "../ComponentAddress";
|
|
2
|
-
import type { RistrettoPublicKeyBytes } from "../RistrettoPublicKeyBytes";
|
|
3
2
|
import type { TransactionStatus } from "../TransactionStatus";
|
|
4
3
|
export type TransactionGetAllRequest = {
|
|
5
4
|
status: TransactionStatus | null;
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Filter to transactions involving this account. Transactions are linked to the account(s) they
|
|
7
|
+
* involve at submission time, so this works even for stealth transactions.
|
|
8
|
+
*/
|
|
9
|
+
account: ComponentAddress | null;
|
|
8
10
|
};
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import type { Amount } from "../Amount";
|
|
2
2
|
import type { Memo } from "../Memo";
|
|
3
|
+
import type { OotleAddress } from "../OotleAddress";
|
|
3
4
|
import type { OutputStatus } from "../OutputStatus";
|
|
4
|
-
import type {
|
|
5
|
+
import type { SpendAuthorization } from "../SpendAuthorization";
|
|
5
6
|
import type { UtxoAddress } from "../UtxoAddress";
|
|
6
7
|
export type UtxoInfo = {
|
|
7
8
|
address: UtxoAddress;
|
|
8
9
|
value: Amount;
|
|
9
10
|
status: OutputStatus;
|
|
10
11
|
memo: Memo | null;
|
|
11
|
-
|
|
12
|
+
/**
|
|
13
|
+
* The sender's Ootle address, resolved from the memo when it is a `SenderAddress` variant, using the
|
|
14
|
+
* wallet's configured network. `None` for all other memo types.
|
|
15
|
+
*/
|
|
16
|
+
sender_address: OotleAddress | null;
|
|
17
|
+
/**
|
|
18
|
+
* How this UTXO is authorised at spend time (key path, condition tree, or both).
|
|
19
|
+
*/
|
|
20
|
+
auth: SpendAuthorization;
|
|
12
21
|
is_burnt: boolean;
|
|
13
22
|
is_frozen: boolean;
|
|
14
23
|
is_on_chain: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Permission } from "../Permission";
|
|
2
2
|
export type WebauthnFinishRegisterRequest = {
|
|
3
3
|
/**
|
|
4
4
|
* Session ID received from [`WebauthnStartRegisterResponse`].
|
|
@@ -11,5 +11,5 @@ export type WebauthnFinishRegisterRequest = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Permissions requested by the client to be associated with the registered credential.
|
|
13
13
|
*/
|
|
14
|
-
requested_permissions: Array<
|
|
14
|
+
requested_permissions: Array<Permission>;
|
|
15
15
|
};
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
export * from "./types/validator-node-client/
|
|
2
|
-
export * from "./types/validator-node-client/
|
|
3
|
-
export * from "./types/validator-node-client/GetFilteredBlocksCountRequest";
|
|
4
|
-
export * from "./types/validator-node-client/VNLogEntry";
|
|
5
|
-
export * from "./types/validator-node-client/GetShardKeyRequest";
|
|
6
|
-
export * from "./types/validator-node-client/VNGetTransactionResultResponse";
|
|
7
|
-
export * from "./types/validator-node-client/VNSubmitTransactionResponse";
|
|
8
|
-
export * from "./types/validator-node-client/GetTxPoolResponse";
|
|
9
|
-
export * from "./types/validator-node-client/GetTemplateResponse";
|
|
1
|
+
export * from "./types/validator-node-client/GetCommitteeRequest";
|
|
2
|
+
export * from "./types/validator-node-client/VNTemplateMetadata";
|
|
10
3
|
export * from "./types/validator-node-client/GetBlocksCountResponse";
|
|
11
|
-
export * from "./types/validator-node-client/VNConnectionDirection";
|
|
12
4
|
export * from "./types/validator-node-client/VNAddPeerRequest";
|
|
13
|
-
export * from "./types/validator-node-client/
|
|
14
|
-
export * from "./types/validator-node-client/
|
|
15
|
-
export * from "./types/validator-node-client/
|
|
16
|
-
export * from "./types/validator-node-client/
|
|
5
|
+
export * from "./types/validator-node-client/GetCommitteeResponse";
|
|
6
|
+
export * from "./types/validator-node-client/VNSubmitTransactionRequest";
|
|
7
|
+
export * from "./types/validator-node-client/VNConnectionDirection";
|
|
8
|
+
export * from "./types/validator-node-client/VNAddPeerResponse";
|
|
9
|
+
export * from "./types/validator-node-client/VNCommitteeShardInfo";
|
|
17
10
|
export * from "./types/validator-node-client/VNFunctionDef";
|
|
18
11
|
export * from "./types/validator-node-client/LayerOneTransactionParams";
|
|
19
|
-
export * from "./types/validator-node-client/
|
|
20
|
-
export * from "./types/validator-node-client/
|
|
21
|
-
export * from "./types/validator-node-client/
|
|
22
|
-
export * from "./types/validator-node-client/
|
|
23
|
-
export * from "./types/validator-node-client/
|
|
24
|
-
export * from "./types/validator-node-client/
|
|
25
|
-
export * from "./types/validator-node-client/
|
|
12
|
+
export * from "./types/validator-node-client/ValidatorNodeChange";
|
|
13
|
+
export * from "./types/validator-node-client/PrepareLayerOneTransactionResponse";
|
|
14
|
+
export * from "./types/validator-node-client/VNGetAllVnsResponse";
|
|
15
|
+
export * from "./types/validator-node-client/TemplateAbi";
|
|
16
|
+
export * from "./types/validator-node-client/GetMempoolStatsResponse";
|
|
17
|
+
export * from "./types/validator-node-client/GetBlockResponse";
|
|
18
|
+
export * from "./types/validator-node-client/VNLogLevel";
|
|
26
19
|
export * from "./types/validator-node-client/VNGetAllVnsRequest";
|
|
27
|
-
export * from "./types/validator-node-client/
|
|
20
|
+
export * from "./types/validator-node-client/GetBaseLayerEpochChangesRequest";
|
|
21
|
+
export * from "./types/validator-node-client/GetBaseLayerEpochChangesResponse";
|
|
22
|
+
export * from "./types/validator-node-client/PrepareLayerOneTransactionRequest";
|
|
23
|
+
export * from "./types/validator-node-client/VNLogEntry";
|
|
24
|
+
export * from "./types/validator-node-client/GetShardKeyRequest";
|
|
25
|
+
export * from "./types/validator-node-client/GetBlockRequest";
|
|
26
|
+
export * from "./types/validator-node-client/VNSubmitTransactionResponse";
|
|
28
27
|
export * from "./types/validator-node-client/DryRunTransactionFinalizeResult";
|
|
28
|
+
export * from "./types/validator-node-client/GetTransactionResponse";
|
|
29
29
|
export * from "./types/validator-node-client/GetStateResponse";
|
|
30
|
-
export * from "./types/validator-node-client/
|
|
31
|
-
export * from "./types/validator-node-client/
|
|
32
|
-
export * from "./types/validator-node-client/GetConsensusStatusResponse";
|
|
33
|
-
export * from "./types/validator-node-client/GetBlocksResponse";
|
|
30
|
+
export * from "./types/validator-node-client/VNGetSubstateRequest";
|
|
31
|
+
export * from "./types/validator-node-client/VNGetSubstateResponse";
|
|
34
32
|
export * from "./types/validator-node-client/ListBlocksResponse";
|
|
35
|
-
export * from "./types/validator-node-client/
|
|
36
|
-
export * from "./types/validator-node-client/VNGetTransactionResultRequest";
|
|
37
|
-
export * from "./types/validator-node-client/VNTemplateMetadata";
|
|
38
|
-
export * from "./types/validator-node-client/VNLogLevel";
|
|
39
|
-
export * from "./types/validator-node-client/VNAddPeerResponse";
|
|
40
|
-
export * from "./types/validator-node-client/VNConnection";
|
|
33
|
+
export * from "./types/validator-node-client/SubstateStatus";
|
|
41
34
|
export * from "./types/validator-node-client/ValidatorNode";
|
|
42
|
-
export * from "./types/validator-node-client/
|
|
43
|
-
export * from "./types/validator-node-client/VNGetConnectionsResponse";
|
|
35
|
+
export * from "./types/validator-node-client/GetFilteredBlocksCountRequest";
|
|
44
36
|
export * from "./types/validator-node-client/ListBlocksRequest";
|
|
45
|
-
export * from "./types/validator-node-client/GetNetworkCommitteeResponse";
|
|
46
|
-
export * from "./types/validator-node-client/VNGetSubstateRequest";
|
|
47
|
-
export * from "./types/validator-node-client/GetMempoolStatsResponse";
|
|
48
|
-
export * from "./types/validator-node-client/TemplateAbi";
|
|
49
|
-
export * from "./types/validator-node-client/VNGetSubstateResponse";
|
|
50
|
-
export * from "./types/validator-node-client/VNGetAllVnsResponse";
|
|
51
37
|
export * from "./types/validator-node-client/GetEpochManagerStatsResponse";
|
|
52
|
-
export * from "./types/validator-node-client/
|
|
53
|
-
export * from "./types/validator-node-client/
|
|
38
|
+
export * from "./types/validator-node-client/GetTxPoolResponse";
|
|
39
|
+
export * from "./types/validator-node-client/VNConnection";
|
|
40
|
+
export * from "./types/validator-node-client/GetConsensusStatusResponse";
|
|
41
|
+
export * from "./types/validator-node-client/GetTemplateResponse";
|
|
42
|
+
export * from "./types/validator-node-client/VNGetConnectionsResponse";
|
|
43
|
+
export * from "./types/validator-node-client/VNGetCommsStatsResponse";
|
|
44
|
+
export * from "./types/validator-node-client/GetTemplateRequest";
|
|
45
|
+
export * from "./types/validator-node-client/GetStateRequest";
|
|
46
|
+
export * from "./types/validator-node-client/GetBlocksRequest";
|
|
47
|
+
export * from "./types/validator-node-client/VNGetTransactionResultRequest";
|
|
48
|
+
export * from "./types/validator-node-client/GetTransactionRequest";
|
|
49
|
+
export * from "./types/validator-node-client/VNGetTransactionResultResponse";
|
|
50
|
+
export * from "./types/validator-node-client/GetShardKeyResponse";
|
|
51
|
+
export * from "./types/validator-node-client/GetBlocksResponse";
|
|
52
|
+
export * from "./types/validator-node-client/VNGetIdentityResponse";
|
|
53
|
+
export * from "./types/validator-node-client/GetNetworkCommitteeResponse";
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
// Copyright 2026 The Tari Project
|
|
2
2
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
3
|
-
export * from "./types/validator-node-client/
|
|
4
|
-
export * from "./types/validator-node-client/
|
|
5
|
-
export * from "./types/validator-node-client/GetFilteredBlocksCountRequest";
|
|
6
|
-
export * from "./types/validator-node-client/VNLogEntry";
|
|
7
|
-
export * from "./types/validator-node-client/GetShardKeyRequest";
|
|
8
|
-
export * from "./types/validator-node-client/VNGetTransactionResultResponse";
|
|
9
|
-
export * from "./types/validator-node-client/VNSubmitTransactionResponse";
|
|
10
|
-
export * from "./types/validator-node-client/GetTxPoolResponse";
|
|
11
|
-
export * from "./types/validator-node-client/GetTemplateResponse";
|
|
3
|
+
export * from "./types/validator-node-client/GetCommitteeRequest";
|
|
4
|
+
export * from "./types/validator-node-client/VNTemplateMetadata";
|
|
12
5
|
export * from "./types/validator-node-client/GetBlocksCountResponse";
|
|
13
|
-
export * from "./types/validator-node-client/VNConnectionDirection";
|
|
14
6
|
export * from "./types/validator-node-client/VNAddPeerRequest";
|
|
15
|
-
export * from "./types/validator-node-client/
|
|
16
|
-
export * from "./types/validator-node-client/
|
|
17
|
-
export * from "./types/validator-node-client/
|
|
18
|
-
export * from "./types/validator-node-client/
|
|
7
|
+
export * from "./types/validator-node-client/GetCommitteeResponse";
|
|
8
|
+
export * from "./types/validator-node-client/VNSubmitTransactionRequest";
|
|
9
|
+
export * from "./types/validator-node-client/VNConnectionDirection";
|
|
10
|
+
export * from "./types/validator-node-client/VNAddPeerResponse";
|
|
11
|
+
export * from "./types/validator-node-client/VNCommitteeShardInfo";
|
|
19
12
|
export * from "./types/validator-node-client/VNFunctionDef";
|
|
20
13
|
export * from "./types/validator-node-client/LayerOneTransactionParams";
|
|
21
|
-
export * from "./types/validator-node-client/
|
|
22
|
-
export * from "./types/validator-node-client/
|
|
23
|
-
export * from "./types/validator-node-client/
|
|
24
|
-
export * from "./types/validator-node-client/
|
|
25
|
-
export * from "./types/validator-node-client/
|
|
26
|
-
export * from "./types/validator-node-client/
|
|
27
|
-
export * from "./types/validator-node-client/
|
|
14
|
+
export * from "./types/validator-node-client/ValidatorNodeChange";
|
|
15
|
+
export * from "./types/validator-node-client/PrepareLayerOneTransactionResponse";
|
|
16
|
+
export * from "./types/validator-node-client/VNGetAllVnsResponse";
|
|
17
|
+
export * from "./types/validator-node-client/TemplateAbi";
|
|
18
|
+
export * from "./types/validator-node-client/GetMempoolStatsResponse";
|
|
19
|
+
export * from "./types/validator-node-client/GetBlockResponse";
|
|
20
|
+
export * from "./types/validator-node-client/VNLogLevel";
|
|
28
21
|
export * from "./types/validator-node-client/VNGetAllVnsRequest";
|
|
29
|
-
export * from "./types/validator-node-client/
|
|
22
|
+
export * from "./types/validator-node-client/GetBaseLayerEpochChangesRequest";
|
|
23
|
+
export * from "./types/validator-node-client/GetBaseLayerEpochChangesResponse";
|
|
24
|
+
export * from "./types/validator-node-client/PrepareLayerOneTransactionRequest";
|
|
25
|
+
export * from "./types/validator-node-client/VNLogEntry";
|
|
26
|
+
export * from "./types/validator-node-client/GetShardKeyRequest";
|
|
27
|
+
export * from "./types/validator-node-client/GetBlockRequest";
|
|
28
|
+
export * from "./types/validator-node-client/VNSubmitTransactionResponse";
|
|
30
29
|
export * from "./types/validator-node-client/DryRunTransactionFinalizeResult";
|
|
30
|
+
export * from "./types/validator-node-client/GetTransactionResponse";
|
|
31
31
|
export * from "./types/validator-node-client/GetStateResponse";
|
|
32
|
-
export * from "./types/validator-node-client/
|
|
33
|
-
export * from "./types/validator-node-client/
|
|
34
|
-
export * from "./types/validator-node-client/GetConsensusStatusResponse";
|
|
35
|
-
export * from "./types/validator-node-client/GetBlocksResponse";
|
|
32
|
+
export * from "./types/validator-node-client/VNGetSubstateRequest";
|
|
33
|
+
export * from "./types/validator-node-client/VNGetSubstateResponse";
|
|
36
34
|
export * from "./types/validator-node-client/ListBlocksResponse";
|
|
37
|
-
export * from "./types/validator-node-client/
|
|
38
|
-
export * from "./types/validator-node-client/VNGetTransactionResultRequest";
|
|
39
|
-
export * from "./types/validator-node-client/VNTemplateMetadata";
|
|
40
|
-
export * from "./types/validator-node-client/VNLogLevel";
|
|
41
|
-
export * from "./types/validator-node-client/VNAddPeerResponse";
|
|
42
|
-
export * from "./types/validator-node-client/VNConnection";
|
|
35
|
+
export * from "./types/validator-node-client/SubstateStatus";
|
|
43
36
|
export * from "./types/validator-node-client/ValidatorNode";
|
|
44
|
-
export * from "./types/validator-node-client/
|
|
45
|
-
export * from "./types/validator-node-client/VNGetConnectionsResponse";
|
|
37
|
+
export * from "./types/validator-node-client/GetFilteredBlocksCountRequest";
|
|
46
38
|
export * from "./types/validator-node-client/ListBlocksRequest";
|
|
47
|
-
export * from "./types/validator-node-client/GetNetworkCommitteeResponse";
|
|
48
|
-
export * from "./types/validator-node-client/VNGetSubstateRequest";
|
|
49
|
-
export * from "./types/validator-node-client/GetMempoolStatsResponse";
|
|
50
|
-
export * from "./types/validator-node-client/TemplateAbi";
|
|
51
|
-
export * from "./types/validator-node-client/VNGetSubstateResponse";
|
|
52
|
-
export * from "./types/validator-node-client/VNGetAllVnsResponse";
|
|
53
39
|
export * from "./types/validator-node-client/GetEpochManagerStatsResponse";
|
|
54
|
-
export * from "./types/validator-node-client/
|
|
55
|
-
export * from "./types/validator-node-client/
|
|
40
|
+
export * from "./types/validator-node-client/GetTxPoolResponse";
|
|
41
|
+
export * from "./types/validator-node-client/VNConnection";
|
|
42
|
+
export * from "./types/validator-node-client/GetConsensusStatusResponse";
|
|
43
|
+
export * from "./types/validator-node-client/GetTemplateResponse";
|
|
44
|
+
export * from "./types/validator-node-client/VNGetConnectionsResponse";
|
|
45
|
+
export * from "./types/validator-node-client/VNGetCommsStatsResponse";
|
|
46
|
+
export * from "./types/validator-node-client/GetTemplateRequest";
|
|
47
|
+
export * from "./types/validator-node-client/GetStateRequest";
|
|
48
|
+
export * from "./types/validator-node-client/GetBlocksRequest";
|
|
49
|
+
export * from "./types/validator-node-client/VNGetTransactionResultRequest";
|
|
50
|
+
export * from "./types/validator-node-client/GetTransactionRequest";
|
|
51
|
+
export * from "./types/validator-node-client/VNGetTransactionResultResponse";
|
|
52
|
+
export * from "./types/validator-node-client/GetShardKeyResponse";
|
|
53
|
+
export * from "./types/validator-node-client/GetBlocksResponse";
|
|
54
|
+
export * from "./types/validator-node-client/VNGetIdentityResponse";
|
|
55
|
+
export * from "./types/validator-node-client/GetNetworkCommitteeResponse";
|