From aa85277555674f3bbaaecfc8f8b9bda5d432f036 Mon Sep 17 00:00:00 2001 From: Stan Bondi Date: Thu, 5 Sep 2024 16:33:54 +0400 Subject: [PATCH] rebuild bindings --- bindings/dist/index.d.ts | 1 + bindings/dist/index.js | 1 + bindings/dist/types/AccessRule.d.ts | 2 +- bindings/dist/types/Arg.d.ts | 4 ++-- bindings/dist/types/Command.d.ts | 20 ++++++++-------- bindings/dist/types/Instruction.d.ts | 16 ++++++------- bindings/dist/types/NonFungibleId.d.ts | 8 +++---- bindings/dist/types/OwnerRule.d.ts | 4 ++-- bindings/dist/types/RejectReason.d.ts | 14 +++++------ bindings/dist/types/RequireRule.d.ts | 6 ++--- bindings/dist/types/ResourceContainer.d.ts | 9 ++++--- bindings/dist/types/RestrictedAccessRule.d.ts | 6 ++--- bindings/dist/types/RuleRequirement.d.ts | 8 +++---- bindings/dist/types/SubstateId.d.ts | 16 ++++++------- .../types/SubstateRequirementLockIntent.d.ts | 7 ++++++ .../types/SubstateRequirementLockIntent.js | 1 + bindings/dist/types/SubstateValue.d.ts | 16 ++++++------- bindings/dist/types/TemplateDef.d.ts | 2 +- bindings/dist/types/TransactionResult.d.ts | 6 ++--- bindings/dist/types/Type.d.ts | 6 ++--- .../IndexerTransactionFinalizedResult.d.ts | 2 +- .../ComponentAddressOrName.d.ts | 4 ++-- bindings/src/index.ts | 1 + bindings/src/types/AccessRule.ts | 2 +- bindings/src/types/Amount.ts | 2 +- bindings/src/types/Arg.ts | 2 +- bindings/src/types/ArgDef.ts | 5 +++- bindings/src/types/AuthHook.ts | 5 +++- bindings/src/types/Block.ts | 24 ++++++++++++++++++- bindings/src/types/BucketId.ts | 2 +- bindings/src/types/Command.ts | 13 +++++++++- bindings/src/types/Committee.ts | 4 +++- bindings/src/types/CommitteeInfo.ts | 7 +++++- bindings/src/types/CommitteeShardInfo.ts | 6 ++++- bindings/src/types/ComponentAccessRules.ts | 5 +++- bindings/src/types/ComponentAddress.ts | 2 +- bindings/src/types/ComponentBody.ts | 4 +++- bindings/src/types/ComponentHeader.ts | 10 +++++++- bindings/src/types/ComponentKey.ts | 2 +- bindings/src/types/ConfidentialClaim.ts | 8 ++++++- bindings/src/types/ConfidentialOutput.ts | 8 ++++++- .../src/types/ConfidentialOutputStatement.ts | 8 ++++++- bindings/src/types/ConfidentialStatement.ts | 8 ++++++- .../src/types/ConfidentialWithdrawProof.ts | 7 +++++- bindings/src/types/Decision.ts | 2 +- .../src/types/ElgamalVerifiableBalance.ts | 5 +++- bindings/src/types/EntityId.ts | 2 +- bindings/src/types/Epoch.ts | 2 +- bindings/src/types/Event.ts | 8 ++++++- bindings/src/types/Evidence.ts | 4 +++- bindings/src/types/ExecuteResult.ts | 5 +++- bindings/src/types/ExecutedTransaction.ts | 10 +++++++- bindings/src/types/FeeBreakdown.ts | 5 +++- bindings/src/types/FeeClaim.ts | 6 ++++- bindings/src/types/FeeClaimAddress.ts | 2 +- bindings/src/types/FeeCostBreakdown.ts | 5 +++- bindings/src/types/FeeReceipt.ts | 6 ++++- bindings/src/types/FeeSource.ts | 2 +- bindings/src/types/FinalizeResult.ts | 9 ++++++- bindings/src/types/ForeignProposalAtom.ts | 6 ++++- bindings/src/types/FunctionDef.ts | 7 +++++- bindings/src/types/IndexedValue.ts | 5 +++- bindings/src/types/IndexedWellKnownTypes.ts | 12 +++++++++- bindings/src/types/Instruction.ts | 11 ++++++++- bindings/src/types/InstructionResult.ts | 5 +++- bindings/src/types/LeaderFee.ts | 5 +++- bindings/src/types/LockFlag.ts | 2 +- bindings/src/types/LogEntry.ts | 5 +++- bindings/src/types/LogLevel.ts | 2 +- bindings/src/types/Metadata.ts | 2 +- .../src/types/MintConfidentialOutputAtom.ts | 4 +++- bindings/src/types/NetworkCommitteeInfo.ts | 5 +++- bindings/src/types/NodeHeight.ts | 2 +- bindings/src/types/NonFungible.ts | 5 +++- bindings/src/types/NonFungibleAddress.ts | 2 +- .../src/types/NonFungibleAddressContents.ts | 5 +++- bindings/src/types/NonFungibleContainer.ts | 2 +- bindings/src/types/NonFungibleId.ts | 2 +- bindings/src/types/NonFungibleIndex.ts | 4 +++- bindings/src/types/NonFungibleIndexAddress.ts | 5 +++- bindings/src/types/NumPreshards.ts | 2 +- bindings/src/types/Ordering.ts | 2 +- bindings/src/types/OwnerRule.ts | 2 +- bindings/src/types/PeerAddress.ts | 2 +- bindings/src/types/ProofId.ts | 2 +- bindings/src/types/QuorumCertificate.ts | 11 ++++++++- bindings/src/types/QuorumDecision.ts | 2 +- bindings/src/types/RejectReason.ts | 11 ++++++++- bindings/src/types/RequireRule.ts | 5 +++- bindings/src/types/Resource.ts | 11 ++++++++- bindings/src/types/ResourceAccessRules.ts | 9 ++++++- bindings/src/types/ResourceAddress.ts | 2 +- bindings/src/types/ResourceContainer.ts | 20 +++++++++++++++- bindings/src/types/ResourceType.ts | 2 +- bindings/src/types/RestrictedAccessRule.ts | 5 +++- bindings/src/types/RuleRequirement.ts | 6 ++++- bindings/src/types/Shard.ts | 2 +- bindings/src/types/ShardEvidence.ts | 2 +- bindings/src/types/ShardGroup.ts | 5 +++- bindings/src/types/Substate.ts | 5 +++- bindings/src/types/SubstateAddress.ts | 2 +- bindings/src/types/SubstateDestroyed.ts | 8 ++++++- bindings/src/types/SubstateDiff.ts | 5 +++- bindings/src/types/SubstateId.ts | 10 +++++++- bindings/src/types/SubstateLockType.ts | 2 +- bindings/src/types/SubstateRecord.ts | 14 ++++++++++- bindings/src/types/SubstateRequirement.ts | 5 +++- .../types/SubstateRequirementLockIntent.ts | 6 ++++- bindings/src/types/SubstateType.ts | 9 ++++++- bindings/src/types/SubstateValue.ts | 10 +++++++- bindings/src/types/TemplateDef.ts | 2 +- bindings/src/types/TemplateDefV1.ts | 6 ++++- bindings/src/types/Transaction.ts | 11 ++++++++- bindings/src/types/TransactionAtom.ts | 8 ++++++- bindings/src/types/TransactionPoolRecord.ts | 2 +- bindings/src/types/TransactionPoolStage.ts | 11 ++++++++- bindings/src/types/TransactionReceipt.ts | 7 +++++- .../src/types/TransactionReceiptAddress.ts | 2 +- bindings/src/types/TransactionResult.ts | 5 +++- bindings/src/types/TransactionSignature.ts | 5 +++- bindings/src/types/Type.ts | 18 +++++++++++++- .../src/types/UnclaimedConfidentialOutput.ts | 5 +++- .../UnclaimedConfidentialOutputAddress.ts | 2 +- bindings/src/types/UnsignedTransaction.ts | 8 ++++++- bindings/src/types/ValidatorSignature.ts | 5 +++- bindings/src/types/Vault.ts | 4 +++- bindings/src/types/VaultId.ts | 2 +- bindings/src/types/VersionedSubstateId.ts | 5 +++- .../types/VersionedSubstateIdLockIntent.ts | 5 +++- bindings/src/types/ViewableBalanceProof.ts | 11 ++++++++- .../BaseLayerValidatorNode.ts | 6 ++++- .../GetNonFungibleCollectionsResponse.ts | 4 +++- .../GetNonFungibleCountRequest.ts | 4 +++- .../GetNonFungibleCountResponse.ts | 4 +++- .../GetNonFungiblesRequest.ts | 6 ++++- .../GetNonFungiblesResponse.ts | 4 +++- .../GetRelatedTransactionsRequest.ts | 5 +++- .../GetRelatedTransactionsResponse.ts | 4 +++- .../GetTemplateDefinitionRequest.ts | 4 +++- .../GetTemplateDefinitionResponse.ts | 5 +++- .../IndexerAddPeerRequest.ts | 6 ++++- .../IndexerAddPeerResponse.ts | 2 +- .../tari-indexer-client/IndexerConnection.ts | 10 +++++++- .../IndexerConnectionDirection.ts | 2 +- .../IndexerGetAllVnsRequest.ts | 4 +++- .../IndexerGetAllVnsResponse.ts | 4 +++- .../IndexerGetCommsStatsResponse.ts | 4 +++- .../IndexerGetConnectionsResponse.ts | 4 +++- .../IndexerGetEpochManagerStatsResponse.ts | 6 ++++- .../IndexerGetIdentityResponse.ts | 6 ++++- .../IndexerGetSubstateRequest.ts | 6 ++++- .../IndexerGetSubstateResponse.ts | 7 +++++- .../IndexerGetTransactionResultRequest.ts | 4 +++- .../IndexerGetTransactionResultResponse.ts | 4 +++- .../IndexerSubmitTransactionRequest.ts | 6 ++++- .../IndexerSubmitTransactionResponse.ts | 5 +++- .../IndexerTransactionFinalizedResult.ts | 13 +++++++++- .../InspectSubstateRequest.ts | 5 +++- .../InspectSubstateResponse.ts | 7 +++++- .../tari-indexer-client/ListSubstateItem.ts | 8 ++++++- .../ListSubstatesRequest.ts | 7 +++++- .../ListSubstatesResponse.ts | 4 +++- .../ListTemplatesRequest.ts | 4 +++- .../ListTemplatesResponse.ts | 4 +++- .../NonFungibleSubstate.ts | 6 ++++- .../DryRunTransactionFinalizeResult.ts | 6 ++++- .../validator-node-client/GetBlockRequest.ts | 4 +++- .../validator-node-client/GetBlockResponse.ts | 4 +++- .../GetBlocksCountResponse.ts | 4 +++- .../validator-node-client/GetBlocksRequest.ts | 9 ++++++- .../GetBlocksResponse.ts | 4 +++- .../GetCommitteeRequest.ts | 5 +++- .../GetCommitteeResponse.ts | 4 +++- .../GetEpochManagerStatsResponse.ts | 8 ++++++- .../GetFilteredBlocksCountRequest.ts | 5 +++- .../GetMempoolStatsResponse.ts | 4 +++- .../GetNetworkCommitteeResponse.ts | 5 +++- .../GetRecentTransactionsRequest.ts | 2 +- .../GetRecentTransactionsResponse.ts | 4 +++- .../GetShardKeyRequest.ts | 5 +++- .../GetShardKeyResponse.ts | 4 +++- .../validator-node-client/GetStateRequest.ts | 4 +++- .../validator-node-client/GetStateResponse.ts | 4 +++- .../GetSubstatesByTransactionRequest.ts | 4 +++- .../GetSubstatesByTransactionResponse.ts | 4 +++- .../GetTemplateRequest.ts | 4 +++- .../GetTemplateResponse.ts | 5 +++- .../GetTemplatesRequest.ts | 4 +++- .../GetTemplatesResponse.ts | 4 +++- .../GetTransactionRequest.ts | 4 +++- .../GetTransactionResponse.ts | 4 +++- .../GetTxPoolResponse.ts | 4 +++- .../ListBlocksRequest.ts | 5 +++- .../ListBlocksResponse.ts | 4 +++- .../validator-node-client/SubstateStatus.ts | 2 +- .../validator-node-client/TemplateAbi.ts | 6 ++++- .../validator-node-client/TemplateMetadata.ts | 8 ++++++- .../validator-node-client/VNAddPeerRequest.ts | 6 ++++- .../VNAddPeerResponse.ts | 2 +- .../types/validator-node-client/VNArgDef.ts | 5 +++- .../VNCommitteeShardInfo.ts | 6 ++++- .../validator-node-client/VNConnection.ts | 10 +++++++- .../VNConnectionDirection.ts | 2 +- .../validator-node-client/VNFunctionDef.ts | 7 +++++- .../VNGetAllVnsRequest.ts | 4 +++- .../VNGetAllVnsResponse.ts | 4 +++- .../VNGetCommsStatsResponse.ts | 4 +++- .../VNGetConnectionsResponse.ts | 4 +++- .../VNGetIdentityResponse.ts | 9 ++++++- .../VNGetSubstateRequest.ts | 5 +++- .../VNGetSubstateResponse.ts | 6 ++++- .../VNGetTransactionResultRequest.ts | 4 +++- .../VNGetTransactionResultResponse.ts | 7 +++++- .../VNGetValidatorFeesRequest.ts | 5 +++- .../VNGetValidatorFeesResponse.ts | 4 +++- .../types/validator-node-client/VNLogEntry.ts | 6 ++++- .../types/validator-node-client/VNLogLevel.ts | 2 +- .../VNSubmitTransactionRequest.ts | 5 +++- .../VNSubmitTransactionResponse.ts | 5 +++- .../validator-node-client/ValidatorFee.ts | 8 ++++++- .../validator-node-client/ValidatorNode.ts | 9 ++++++- .../AccountGetDefaultRequest.ts | 2 +- .../wallet-daemon-client/AccountGetRequest.ts | 4 +++- .../AccountGetResponse.ts | 5 +++- .../types/wallet-daemon-client/AccountInfo.ts | 5 +++- .../AccountSetDefaultRequest.ts | 4 +++- .../AccountSetDefaultResponse.ts | 2 +- .../AccountsCreateFreeTestCoinsRequest.ts | 7 +++++- .../AccountsCreateFreeTestCoinsResponse.ts | 9 ++++++- .../AccountsCreateRequest.ts | 8 ++++++- .../AccountsCreateResponse.ts | 6 ++++- .../AccountsGetBalancesRequest.ts | 5 +++- .../AccountsGetBalancesResponse.ts | 5 +++- .../AccountsInvokeRequest.ts | 7 +++++- .../AccountsInvokeResponse.ts | 4 +++- .../AccountsListRequest.ts | 5 +++- .../AccountsListResponse.ts | 5 +++- .../AccountsTransferRequest.ts | 10 +++++++- .../AccountsTransferResponse.ts | 7 +++++- .../AuthGetAllJwtRequest.ts | 2 +- .../AuthGetAllJwtResponse.ts | 4 +++- .../AuthLoginAcceptRequest.ts | 5 +++- .../AuthLoginAcceptResponse.ts | 4 +++- .../AuthLoginDenyRequest.ts | 4 +++- .../AuthLoginDenyResponse.ts | 2 +- .../wallet-daemon-client/AuthLoginRequest.ts | 5 +++- .../wallet-daemon-client/AuthLoginResponse.ts | 4 +++- .../AuthRevokeTokenRequest.ts | 4 +++- .../AuthRevokeTokenResponse.ts | 2 +- .../wallet-daemon-client/BalanceEntry.ts | 9 ++++++- .../CallInstructionRequest.ts | 14 ++++++++++- .../wallet-daemon-client/ClaimBurnRequest.ts | 7 +++++- .../wallet-daemon-client/ClaimBurnResponse.ts | 6 ++++- .../ClaimValidatorFeesRequest.ts | 8 ++++++- .../ClaimValidatorFeesResponse.ts | 6 ++++- .../ComponentAddressOrName.ts | 2 +- .../ConfidentialCreateOutputProofRequest.ts | 4 +++- .../ConfidentialCreateOutputProofResponse.ts | 4 +++- .../ConfidentialTransferRequest.ts | 12 +++++++++- .../ConfidentialTransferResponse.ts | 6 ++++- .../ConfidentialViewVaultBalanceRequest.ts | 7 +++++- .../ConfidentialViewVaultBalanceResponse.ts | 4 +++- .../GetAccountNftRequest.ts | 4 +++- .../GetValidatorFeesRequest.ts | 5 +++- .../GetValidatorFeesResponse.ts | 4 +++- .../types/wallet-daemon-client/KeyBranch.ts | 2 +- .../wallet-daemon-client/KeysCreateRequest.ts | 5 +++- .../KeysCreateResponse.ts | 5 +++- .../wallet-daemon-client/KeysListRequest.ts | 4 +++- .../wallet-daemon-client/KeysListResponse.ts | 4 +++- .../KeysSetActiveRequest.ts | 4 +++- .../KeysSetActiveResponse.ts | 4 +++- .../ListAccountNftRequest.ts | 6 ++++- .../ListAccountNftResponse.ts | 4 +++- .../MintAccountNftRequest.ts | 8 ++++++- .../MintAccountNftResponse.ts | 7 +++++- .../ProofsCancelRequest.ts | 4 +++- .../ProofsCancelResponse.ts | 2 +- .../ProofsFinalizeRequest.ts | 4 +++- .../ProofsFinalizeResponse.ts | 2 +- .../ProofsGenerateRequest.ts | 8 ++++++- .../ProofsGenerateResponse.ts | 5 +++- .../RevealFundsRequest.ts | 7 +++++- .../RevealFundsResponse.ts | 6 ++++- .../SettingsGetResponse.ts | 4 +++- .../SettingsSetRequest.ts | 4 +++- .../SettingsSetResponse.ts | 2 +- .../SubstatesGetRequest.ts | 4 +++- .../SubstatesGetResponse.ts | 5 +++- .../SubstatesListRequest.ts | 7 +++++- .../SubstatesListResponse.ts | 4 +++- .../TemplatesGetRequest.ts | 4 +++- .../TemplatesGetResponse.ts | 4 +++- .../TransactionClaimBurnResponse.ts | 6 ++++- .../TransactionGetAllRequest.ts | 5 +++- .../TransactionGetAllResponse.ts | 4 +++- .../TransactionGetRequest.ts | 4 +++- .../TransactionGetResponse.ts | 7 +++++- .../TransactionGetResultRequest.ts | 4 +++- .../TransactionGetResultResponse.ts | 7 +++++- .../TransactionSubmitRequest.ts | 13 +++++++++- .../TransactionSubmitResponse.ts | 7 +++++- .../TransactionWaitResultRequest.ts | 5 +++- .../TransactionWaitResultResponse.ts | 9 ++++++- .../WalletSubstateRecord.ts | 8 ++++++- .../types/wallet-daemon-client/WebRtcStart.ts | 4 +++- .../WebRtcStartRequest.ts | 6 ++++- .../WebRtcStartResponse.ts | 2 +- dan_layer/bindings/src/types/Account.ts | 4 ---- dan_layer/bindings/src/types/Claims.ts | 4 ---- .../ConfidentialTransferInputSelection.ts | 3 --- .../bindings/src/types/JrpcPermission.ts | 6 ----- .../bindings/src/types/JrpcPermissions.ts | 4 ---- .../bindings/src/types/NonFungibleToken.ts | 5 ---- .../bindings/src/types/TransactionStatus.ts | 3 --- 315 files changed, 1328 insertions(+), 387 deletions(-) create mode 100644 bindings/dist/types/SubstateRequirementLockIntent.d.ts create mode 100644 bindings/dist/types/SubstateRequirementLockIntent.js delete mode 100644 dan_layer/bindings/src/types/Account.ts delete mode 100644 dan_layer/bindings/src/types/Claims.ts delete mode 100644 dan_layer/bindings/src/types/ConfidentialTransferInputSelection.ts delete mode 100644 dan_layer/bindings/src/types/JrpcPermission.ts delete mode 100644 dan_layer/bindings/src/types/JrpcPermissions.ts delete mode 100644 dan_layer/bindings/src/types/NonFungibleToken.ts delete mode 100644 dan_layer/bindings/src/types/TransactionStatus.ts diff --git a/bindings/dist/index.d.ts b/bindings/dist/index.d.ts index 5ff98569f..2bdfef775 100644 --- a/bindings/dist/index.d.ts +++ b/bindings/dist/index.d.ts @@ -86,6 +86,7 @@ export * from "./types/SubstateDiff"; export * from "./types/SubstateId"; export * from "./types/SubstateLockType"; export * from "./types/SubstateRecord"; +export * from "./types/SubstateRequirementLockIntent"; export * from "./types/SubstateRequirement"; export * from "./types/Substate"; export * from "./types/SubstateType"; diff --git a/bindings/dist/index.js b/bindings/dist/index.js index 703a728be..5ae537284 100644 --- a/bindings/dist/index.js +++ b/bindings/dist/index.js @@ -88,6 +88,7 @@ export * from "./types/SubstateDiff"; export * from "./types/SubstateId"; export * from "./types/SubstateLockType"; export * from "./types/SubstateRecord"; +export * from "./types/SubstateRequirementLockIntent"; export * from "./types/SubstateRequirement"; export * from "./types/Substate"; export * from "./types/SubstateType"; diff --git a/bindings/dist/types/AccessRule.d.ts b/bindings/dist/types/AccessRule.d.ts index 30945fbd7..8c111a706 100644 --- a/bindings/dist/types/AccessRule.d.ts +++ b/bindings/dist/types/AccessRule.d.ts @@ -1,4 +1,4 @@ import type { RestrictedAccessRule } from "./RestrictedAccessRule"; export type AccessRule = "AllowAll" | "DenyAll" | { - "Restricted": RestrictedAccessRule; + Restricted: RestrictedAccessRule; }; diff --git a/bindings/dist/types/Arg.d.ts b/bindings/dist/types/Arg.d.ts index 5cfe4b144..201dca529 100644 --- a/bindings/dist/types/Arg.d.ts +++ b/bindings/dist/types/Arg.d.ts @@ -1,5 +1,5 @@ export type Arg = { - "Workspace": Array; + Workspace: Array; } | { - "Literal": Array; + Literal: Array; }; diff --git a/bindings/dist/types/Command.d.ts b/bindings/dist/types/Command.d.ts index ae3bc8210..c6aaed6b1 100644 --- a/bindings/dist/types/Command.d.ts +++ b/bindings/dist/types/Command.d.ts @@ -2,23 +2,23 @@ import type { ForeignProposalAtom } from "./ForeignProposalAtom"; import type { MintConfidentialOutputAtom } from "./MintConfidentialOutputAtom"; import type { TransactionAtom } from "./TransactionAtom"; export type Command = { - "LocalOnly": TransactionAtom; + LocalOnly: TransactionAtom; } | { - "Prepare": TransactionAtom; + Prepare: TransactionAtom; } | { - "LocalPrepare": TransactionAtom; + LocalPrepare: TransactionAtom; } | { - "AllPrepare": TransactionAtom; + AllPrepare: TransactionAtom; } | { - "SomePrepare": TransactionAtom; + SomePrepare: TransactionAtom; } | { - "LocalAccept": TransactionAtom; + LocalAccept: TransactionAtom; } | { - "AllAccept": TransactionAtom; + AllAccept: TransactionAtom; } | { - "SomeAccept": TransactionAtom; + SomeAccept: TransactionAtom; } | { - "ForeignProposal": ForeignProposalAtom; + ForeignProposal: ForeignProposalAtom; } | { - "MintConfidentialOutput": MintConfidentialOutputAtom; + MintConfidentialOutput: MintConfidentialOutputAtom; } | "EndEpoch"; diff --git a/bindings/dist/types/Instruction.d.ts b/bindings/dist/types/Instruction.d.ts index 2fbc9e269..8d94c3036 100644 --- a/bindings/dist/types/Instruction.d.ts +++ b/bindings/dist/types/Instruction.d.ts @@ -5,42 +5,42 @@ import type { ConfidentialClaim } from "./ConfidentialClaim"; import type { LogLevel } from "./LogLevel"; import type { ResourceAddress } from "./ResourceAddress"; export type Instruction = { - "CreateAccount": { + CreateAccount: { owner_public_key: string; workspace_bucket: string | null; }; } | { - "CallFunction": { + CallFunction: { template_address: Uint8Array; function: string; args: Array; }; } | { - "CallMethod": { + CallMethod: { component_address: ComponentAddress; method: string; args: Array; }; } | { - "PutLastInstructionOutputOnWorkspace": { + PutLastInstructionOutputOnWorkspace: { key: Array; }; } | { - "EmitLog": { + EmitLog: { level: LogLevel; message: string; }; } | { - "ClaimBurn": { + ClaimBurn: { claim: ConfidentialClaim; }; } | { - "ClaimValidatorFees": { + ClaimValidatorFees: { epoch: number; validator_public_key: string; }; } | "DropAllProofsInWorkspace" | { - "AssertBucketContains": { + AssertBucketContains: { key: Array; resource_address: ResourceAddress; min_amount: Amount; diff --git a/bindings/dist/types/NonFungibleId.d.ts b/bindings/dist/types/NonFungibleId.d.ts index 0130ad033..94bb9bdb4 100644 --- a/bindings/dist/types/NonFungibleId.d.ts +++ b/bindings/dist/types/NonFungibleId.d.ts @@ -1,9 +1,9 @@ export type NonFungibleId = { - "U256": Array; + U256: Array; } | { - "String": string; + String: string; } | { - "Uint32": number; + Uint32: number; } | { - "Uint64": number; + Uint64: number; }; diff --git a/bindings/dist/types/OwnerRule.d.ts b/bindings/dist/types/OwnerRule.d.ts index 89835ce1f..9bbf0074b 100644 --- a/bindings/dist/types/OwnerRule.d.ts +++ b/bindings/dist/types/OwnerRule.d.ts @@ -1,6 +1,6 @@ import type { AccessRule } from "./AccessRule"; export type OwnerRule = "OwnedBySigner" | "None" | { - "ByAccessRule": AccessRule; + ByAccessRule: AccessRule; } | { - "ByPublicKey": Array; + ByPublicKey: Array; }; diff --git a/bindings/dist/types/RejectReason.d.ts b/bindings/dist/types/RejectReason.d.ts index 997220198..dbc8a0c1c 100644 --- a/bindings/dist/types/RejectReason.d.ts +++ b/bindings/dist/types/RejectReason.d.ts @@ -1,15 +1,15 @@ export type RejectReason = { - "InvalidTransaction": string; + InvalidTransaction: string; } | { - "ExecutionFailure": string; + ExecutionFailure: string; } | { - "OneOrMoreInputsNotFound": string; + OneOrMoreInputsNotFound: string; } | "NoInputs" | { - "FailedToLockInputs": string; + FailedToLockInputs: string; } | { - "FailedToLockOutputs": string; + FailedToLockOutputs: string; } | { - "ForeignShardGroupDecidedToAbort": string; + ForeignShardGroupDecidedToAbort: string; } | { - "FeesNotPaid": string; + FeesNotPaid: string; } | "Unknown"; diff --git a/bindings/dist/types/RequireRule.d.ts b/bindings/dist/types/RequireRule.d.ts index f2c8cf591..71fafcfbe 100644 --- a/bindings/dist/types/RequireRule.d.ts +++ b/bindings/dist/types/RequireRule.d.ts @@ -1,8 +1,8 @@ import type { RuleRequirement } from "./RuleRequirement"; export type RequireRule = { - "Require": RuleRequirement; + Require: RuleRequirement; } | { - "AnyOf": Array; + AnyOf: Array; } | { - "AllOf": Array; + AllOf: Array; }; diff --git a/bindings/dist/types/ResourceContainer.d.ts b/bindings/dist/types/ResourceContainer.d.ts index 2e6fa88e1..0cb9daa29 100644 --- a/bindings/dist/types/ResourceContainer.d.ts +++ b/bindings/dist/types/ResourceContainer.d.ts @@ -2,21 +2,24 @@ import type { Amount } from "./Amount"; import type { NonFungibleId } from "./NonFungibleId"; import type { ResourceAddress } from "./ResourceAddress"; export type ResourceContainer = { - "Fungible": { + Fungible: { address: ResourceAddress; amount: Amount; locked_amount: Amount; }; } | { - "NonFungible": { + NonFungible: { address: ResourceAddress; token_ids: Array; locked_token_ids: Array; }; } | { - "Confidential": { + Confidential: { address: ResourceAddress; + commitments: Record; revealed_amount: Amount; + locked_commitments: Record; locked_revealed_amount: Amount; }; }; +import { ConfidentialOutput } from "./ConfidentialOutput"; diff --git a/bindings/dist/types/RestrictedAccessRule.d.ts b/bindings/dist/types/RestrictedAccessRule.d.ts index 58c989f6b..07800d943 100644 --- a/bindings/dist/types/RestrictedAccessRule.d.ts +++ b/bindings/dist/types/RestrictedAccessRule.d.ts @@ -1,8 +1,8 @@ import type { RequireRule } from "./RequireRule"; export type RestrictedAccessRule = { - "Require": RequireRule; + Require: RequireRule; } | { - "AnyOf": Array; + AnyOf: Array; } | { - "AllOf": Array; + AllOf: Array; }; diff --git a/bindings/dist/types/RuleRequirement.d.ts b/bindings/dist/types/RuleRequirement.d.ts index 58786bfdd..991e89518 100644 --- a/bindings/dist/types/RuleRequirement.d.ts +++ b/bindings/dist/types/RuleRequirement.d.ts @@ -2,11 +2,11 @@ import type { ComponentAddress } from "./ComponentAddress"; import type { NonFungibleAddress } from "./NonFungibleAddress"; import type { ResourceAddress } from "./ResourceAddress"; export type RuleRequirement = { - "Resource": ResourceAddress; + Resource: ResourceAddress; } | { - "NonFungibleAddress": NonFungibleAddress; + NonFungibleAddress: NonFungibleAddress; } | { - "ScopedToComponent": ComponentAddress; + ScopedToComponent: ComponentAddress; } | { - "ScopedToTemplate": Uint8Array; + ScopedToTemplate: Uint8Array; }; diff --git a/bindings/dist/types/SubstateId.d.ts b/bindings/dist/types/SubstateId.d.ts index c2967bdb0..cde31ad1c 100644 --- a/bindings/dist/types/SubstateId.d.ts +++ b/bindings/dist/types/SubstateId.d.ts @@ -7,19 +7,19 @@ import type { TransactionReceiptAddress } from "./TransactionReceiptAddress"; import type { UnclaimedConfidentialOutputAddress } from "./UnclaimedConfidentialOutputAddress"; import type { VaultId } from "./VaultId"; export type SubstateId = { - "Component": ComponentAddress; + Component: ComponentAddress; } | { - "Resource": ResourceAddress; + Resource: ResourceAddress; } | { - "Vault": VaultId; + Vault: VaultId; } | { - "UnclaimedConfidentialOutput": UnclaimedConfidentialOutputAddress; + UnclaimedConfidentialOutput: UnclaimedConfidentialOutputAddress; } | { - "NonFungible": NonFungibleAddress; + NonFungible: NonFungibleAddress; } | { - "NonFungibleIndex": NonFungibleIndexAddress; + NonFungibleIndex: NonFungibleIndexAddress; } | { - "TransactionReceipt": TransactionReceiptAddress; + TransactionReceipt: TransactionReceiptAddress; } | { - "FeeClaim": FeeClaimAddress; + FeeClaim: FeeClaimAddress; }; diff --git a/bindings/dist/types/SubstateRequirementLockIntent.d.ts b/bindings/dist/types/SubstateRequirementLockIntent.d.ts new file mode 100644 index 000000000..cda79c037 --- /dev/null +++ b/bindings/dist/types/SubstateRequirementLockIntent.d.ts @@ -0,0 +1,7 @@ +import type { SubstateLockType } from "./SubstateLockType"; +import type { SubstateRequirement } from "./SubstateRequirement"; +export interface SubstateRequirementLockIntent { + substate_requirement: SubstateRequirement; + version_to_lock: number; + lock_type: SubstateLockType; +} diff --git a/bindings/dist/types/SubstateRequirementLockIntent.js b/bindings/dist/types/SubstateRequirementLockIntent.js new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/bindings/dist/types/SubstateRequirementLockIntent.js @@ -0,0 +1 @@ +export {}; diff --git a/bindings/dist/types/SubstateValue.d.ts b/bindings/dist/types/SubstateValue.d.ts index 710dc36f1..6cb2ce30d 100644 --- a/bindings/dist/types/SubstateValue.d.ts +++ b/bindings/dist/types/SubstateValue.d.ts @@ -7,19 +7,19 @@ import type { TransactionReceipt } from "./TransactionReceipt"; import type { UnclaimedConfidentialOutput } from "./UnclaimedConfidentialOutput"; import type { Vault } from "./Vault"; export type SubstateValue = { - "Component": ComponentHeader; + Component: ComponentHeader; } | { - "Resource": Resource; + Resource: Resource; } | { - "Vault": Vault; + Vault: Vault; } | { - "NonFungible": NonFungibleContainer; + NonFungible: NonFungibleContainer; } | { - "NonFungibleIndex": NonFungibleIndex; + NonFungibleIndex: NonFungibleIndex; } | { - "UnclaimedConfidentialOutput": UnclaimedConfidentialOutput; + UnclaimedConfidentialOutput: UnclaimedConfidentialOutput; } | { - "TransactionReceipt": TransactionReceipt; + TransactionReceipt: TransactionReceipt; } | { - "FeeClaim": FeeClaim; + FeeClaim: FeeClaim; }; diff --git a/bindings/dist/types/TemplateDef.d.ts b/bindings/dist/types/TemplateDef.d.ts index 764de1c5b..c8381120a 100644 --- a/bindings/dist/types/TemplateDef.d.ts +++ b/bindings/dist/types/TemplateDef.d.ts @@ -1,4 +1,4 @@ import type { TemplateDefV1 } from "./TemplateDefV1"; export type TemplateDef = { - "V1": TemplateDefV1; + V1: TemplateDefV1; }; diff --git a/bindings/dist/types/TransactionResult.d.ts b/bindings/dist/types/TransactionResult.d.ts index 6cae2392d..7f8f612ba 100644 --- a/bindings/dist/types/TransactionResult.d.ts +++ b/bindings/dist/types/TransactionResult.d.ts @@ -1,9 +1,9 @@ import type { RejectReason } from "./RejectReason"; import type { SubstateDiff } from "./SubstateDiff"; export type TransactionResult = { - "Accept": SubstateDiff; + Accept: SubstateDiff; } | { - "AcceptFeeRejectRest": [SubstateDiff, RejectReason]; + AcceptFeeRejectRest: [SubstateDiff, RejectReason]; } | { - "Reject": RejectReason; + Reject: RejectReason; }; diff --git a/bindings/dist/types/Type.d.ts b/bindings/dist/types/Type.d.ts index f3495912c..795f9aee8 100644 --- a/bindings/dist/types/Type.d.ts +++ b/bindings/dist/types/Type.d.ts @@ -1,9 +1,9 @@ export type Type = "Unit" | "Bool" | "I8" | "I16" | "I32" | "I64" | "I128" | "U8" | "U16" | "U32" | "U64" | "U128" | "String" | { - "Vec": Type; + Vec: Type; } | { - "Tuple": Array; + Tuple: Array; } | { - "Other": { + Other: { name: string; }; }; diff --git a/bindings/dist/types/tari-indexer-client/IndexerTransactionFinalizedResult.d.ts b/bindings/dist/types/tari-indexer-client/IndexerTransactionFinalizedResult.d.ts index dc76b5e47..e8d85aef3 100644 --- a/bindings/dist/types/tari-indexer-client/IndexerTransactionFinalizedResult.d.ts +++ b/bindings/dist/types/tari-indexer-client/IndexerTransactionFinalizedResult.d.ts @@ -1,7 +1,7 @@ import type { Decision } from "../Decision"; import type { ExecuteResult } from "../ExecuteResult"; export type IndexerTransactionFinalizedResult = "Pending" | { - "Finalized": { + Finalized: { final_decision: Decision; execution_result: ExecuteResult | null; execution_time: { diff --git a/bindings/dist/types/wallet-daemon-client/ComponentAddressOrName.d.ts b/bindings/dist/types/wallet-daemon-client/ComponentAddressOrName.d.ts index 71c56aba6..72f882c6e 100644 --- a/bindings/dist/types/wallet-daemon-client/ComponentAddressOrName.d.ts +++ b/bindings/dist/types/wallet-daemon-client/ComponentAddressOrName.d.ts @@ -1,6 +1,6 @@ import type { ComponentAddress } from "../ComponentAddress"; export type ComponentAddressOrName = { - "ComponentAddress": ComponentAddress; + ComponentAddress: ComponentAddress; } | { - "Name": string; + Name: string; }; diff --git a/bindings/src/index.ts b/bindings/src/index.ts index aa672d944..20589d274 100644 --- a/bindings/src/index.ts +++ b/bindings/src/index.ts @@ -89,6 +89,7 @@ export * from "./types/SubstateDiff"; export * from "./types/SubstateId"; export * from "./types/SubstateLockType"; export * from "./types/SubstateRecord"; +export * from "./types/SubstateRequirementLockIntent"; export * from "./types/SubstateRequirement"; export * from "./types/Substate"; export * from "./types/SubstateType"; diff --git a/bindings/src/types/AccessRule.ts b/bindings/src/types/AccessRule.ts index 044efccd3..445f01aab 100644 --- a/bindings/src/types/AccessRule.ts +++ b/bindings/src/types/AccessRule.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RestrictedAccessRule } from "./RestrictedAccessRule"; -export type AccessRule = "AllowAll" | "DenyAll" | { "Restricted": RestrictedAccessRule }; \ No newline at end of file +export type AccessRule = "AllowAll" | "DenyAll" | { Restricted: RestrictedAccessRule }; diff --git a/bindings/src/types/Amount.ts b/bindings/src/types/Amount.ts index 1bb44a7aa..07f91ec68 100644 --- a/bindings/src/types/Amount.ts +++ b/bindings/src/types/Amount.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Amount = number; \ No newline at end of file +export type Amount = number; diff --git a/bindings/src/types/Arg.ts b/bindings/src/types/Arg.ts index 1a9174b22..ef1428921 100644 --- a/bindings/src/types/Arg.ts +++ b/bindings/src/types/Arg.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Arg = { "Workspace": Array } | { "Literal": Array }; \ No newline at end of file +export type Arg = { Workspace: Array } | { Literal: Array }; diff --git a/bindings/src/types/ArgDef.ts b/bindings/src/types/ArgDef.ts index 9b6985b65..c94fcbbdd 100644 --- a/bindings/src/types/ArgDef.ts +++ b/bindings/src/types/ArgDef.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Type } from "./Type"; -export interface ArgDef { name: string, arg_type: Type, } \ No newline at end of file +export interface ArgDef { + name: string; + arg_type: Type; +} diff --git a/bindings/src/types/AuthHook.ts b/bindings/src/types/AuthHook.ts index 9809a6462..a378913ad 100644 --- a/bindings/src/types/AuthHook.ts +++ b/bindings/src/types/AuthHook.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddress } from "./ComponentAddress"; -export interface AuthHook { component_address: ComponentAddress, method: string, } \ No newline at end of file +export interface AuthHook { + component_address: ComponentAddress; + method: string; +} diff --git a/bindings/src/types/Block.ts b/bindings/src/types/Block.ts index b411c5d3e..9495e6faa 100644 --- a/bindings/src/types/Block.ts +++ b/bindings/src/types/Block.ts @@ -6,4 +6,26 @@ import type { QuorumCertificate } from "./QuorumCertificate"; import type { Shard } from "./Shard"; import type { ShardGroup } from "./ShardGroup"; -export interface Block { id: string, network: string, parent: string, justify: QuorumCertificate, height: NodeHeight, epoch: Epoch, shard_group: ShardGroup, proposed_by: string, total_leader_fee: number, merkle_root: string, commands: Array, is_dummy: boolean, is_justified: boolean, is_committed: boolean, foreign_indexes: Record, stored_at: Array| null, signature: {public_nonce : string, signature: string} | null, block_time: number | null, timestamp: number, base_layer_block_height: number, base_layer_block_hash: string, } \ No newline at end of file +export interface Block { + id: string; + network: string; + parent: string; + justify: QuorumCertificate; + height: NodeHeight; + epoch: Epoch; + shard_group: ShardGroup; + proposed_by: string; + total_leader_fee: number; + merkle_root: string; + commands: Array; + is_dummy: boolean; + is_justified: boolean; + is_committed: boolean; + foreign_indexes: Record; + stored_at: Array | null; + signature: { public_nonce: string; signature: string } | null; + block_time: number | null; + timestamp: number; + base_layer_block_height: number; + base_layer_block_hash: string; +} diff --git a/bindings/src/types/BucketId.ts b/bindings/src/types/BucketId.ts index e8ac9ce73..1aa1cf240 100644 --- a/bindings/src/types/BucketId.ts +++ b/bindings/src/types/BucketId.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type BucketId = number; \ No newline at end of file +export type BucketId = number; diff --git a/bindings/src/types/Command.ts b/bindings/src/types/Command.ts index 1e3ff1807..ebf77a1ba 100644 --- a/bindings/src/types/Command.ts +++ b/bindings/src/types/Command.ts @@ -3,4 +3,15 @@ import type { ForeignProposalAtom } from "./ForeignProposalAtom"; import type { MintConfidentialOutputAtom } from "./MintConfidentialOutputAtom"; import type { TransactionAtom } from "./TransactionAtom"; -export type Command = { "LocalOnly": TransactionAtom } | { "Prepare": TransactionAtom } | { "LocalPrepare": TransactionAtom } | { "AllPrepare": TransactionAtom } | { "SomePrepare": TransactionAtom } | { "LocalAccept": TransactionAtom } | { "AllAccept": TransactionAtom } | { "SomeAccept": TransactionAtom } | { "ForeignProposal": ForeignProposalAtom } | { "MintConfidentialOutput": MintConfidentialOutputAtom } | "EndEpoch"; \ No newline at end of file +export type Command = + | { LocalOnly: TransactionAtom } + | { Prepare: TransactionAtom } + | { LocalPrepare: TransactionAtom } + | { AllPrepare: TransactionAtom } + | { SomePrepare: TransactionAtom } + | { LocalAccept: TransactionAtom } + | { AllAccept: TransactionAtom } + | { SomeAccept: TransactionAtom } + | { ForeignProposal: ForeignProposalAtom } + | { MintConfidentialOutput: MintConfidentialOutputAtom } + | "EndEpoch"; diff --git a/bindings/src/types/Committee.ts b/bindings/src/types/Committee.ts index fcc7b7608..088651c4a 100644 --- a/bindings/src/types/Committee.ts +++ b/bindings/src/types/Committee.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface Committee { members: Array<[TAddr, string]>, } \ No newline at end of file +export interface Committee { + members: Array<[TAddr, string]>; +} diff --git a/bindings/src/types/CommitteeInfo.ts b/bindings/src/types/CommitteeInfo.ts index eecaae833..f83c941af 100644 --- a/bindings/src/types/CommitteeInfo.ts +++ b/bindings/src/types/CommitteeInfo.ts @@ -2,4 +2,9 @@ import type { NumPreshards } from "./NumPreshards"; import type { ShardGroup } from "./ShardGroup"; -export interface CommitteeInfo { num_shards: NumPreshards, num_shard_group_members: number, num_committees: number, shard_group: ShardGroup, } \ No newline at end of file +export interface CommitteeInfo { + num_shards: NumPreshards; + num_shard_group_members: number; + num_committees: number; + shard_group: ShardGroup; +} diff --git a/bindings/src/types/CommitteeShardInfo.ts b/bindings/src/types/CommitteeShardInfo.ts index 12902a7ff..45a54fdf3 100644 --- a/bindings/src/types/CommitteeShardInfo.ts +++ b/bindings/src/types/CommitteeShardInfo.ts @@ -2,4 +2,8 @@ import type { Committee } from "./Committee"; import type { SubstateAddress } from "./SubstateAddress"; -export interface CommitteeShardInfo { shard: number, substate_address_range: { start: SubstateAddress, end: SubstateAddress, }, validators: Committee, } \ No newline at end of file +export interface CommitteeShardInfo { + shard: number; + substate_address_range: { start: SubstateAddress; end: SubstateAddress }; + validators: Committee; +} diff --git a/bindings/src/types/ComponentAccessRules.ts b/bindings/src/types/ComponentAccessRules.ts index 93e0e6c43..df5f78334 100644 --- a/bindings/src/types/ComponentAccessRules.ts +++ b/bindings/src/types/ComponentAccessRules.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AccessRule } from "./AccessRule"; -export interface ComponentAccessRules { method_access: Record, default: AccessRule, } \ No newline at end of file +export interface ComponentAccessRules { + method_access: Record; + default: AccessRule; +} diff --git a/bindings/src/types/ComponentAddress.ts b/bindings/src/types/ComponentAddress.ts index 96b02f21c..321e8c197 100644 --- a/bindings/src/types/ComponentAddress.ts +++ b/bindings/src/types/ComponentAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ComponentAddress = string; \ No newline at end of file +export type ComponentAddress = string; diff --git a/bindings/src/types/ComponentBody.ts b/bindings/src/types/ComponentBody.ts index 36a357aab..367f58919 100644 --- a/bindings/src/types/ComponentBody.ts +++ b/bindings/src/types/ComponentBody.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ComponentBody { state: any, } \ No newline at end of file +export interface ComponentBody { + state: any; +} diff --git a/bindings/src/types/ComponentHeader.ts b/bindings/src/types/ComponentHeader.ts index 5d206f5f6..e2e123800 100644 --- a/bindings/src/types/ComponentHeader.ts +++ b/bindings/src/types/ComponentHeader.ts @@ -4,4 +4,12 @@ import type { ComponentBody } from "./ComponentBody"; import type { EntityId } from "./EntityId"; import type { OwnerRule } from "./OwnerRule"; -export interface ComponentHeader { template_address: Uint8Array, module_name: string, owner_key: string | null, owner_rule: OwnerRule, access_rules: ComponentAccessRules, entity_id: EntityId, body: ComponentBody, } \ No newline at end of file +export interface ComponentHeader { + template_address: Uint8Array; + module_name: string; + owner_key: string | null; + owner_rule: OwnerRule; + access_rules: ComponentAccessRules; + entity_id: EntityId; + body: ComponentBody; +} diff --git a/bindings/src/types/ComponentKey.ts b/bindings/src/types/ComponentKey.ts index 932a96727..9c6496657 100644 --- a/bindings/src/types/ComponentKey.ts +++ b/bindings/src/types/ComponentKey.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ComponentKey = Array; \ No newline at end of file +export type ComponentKey = Array; diff --git a/bindings/src/types/ConfidentialClaim.ts b/bindings/src/types/ConfidentialClaim.ts index 85a0d11aa..f980f9e1e 100644 --- a/bindings/src/types/ConfidentialClaim.ts +++ b/bindings/src/types/ConfidentialClaim.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfidentialWithdrawProof } from "./ConfidentialWithdrawProof"; -export interface ConfidentialClaim { public_key: string, output_address: string, range_proof: Array, proof_of_knowledge: string, withdraw_proof: ConfidentialWithdrawProof | null, } \ No newline at end of file +export interface ConfidentialClaim { + public_key: string; + output_address: string; + range_proof: Array; + proof_of_knowledge: string; + withdraw_proof: ConfidentialWithdrawProof | null; +} diff --git a/bindings/src/types/ConfidentialOutput.ts b/bindings/src/types/ConfidentialOutput.ts index 72dad0935..d2e878ee2 100644 --- a/bindings/src/types/ConfidentialOutput.ts +++ b/bindings/src/types/ConfidentialOutput.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ElgamalVerifiableBalance } from "./ElgamalVerifiableBalance"; -export interface ConfidentialOutput { commitment: string, stealth_public_nonce: string, encrypted_data: Array, minimum_value_promise: number, viewable_balance: ElgamalVerifiableBalance | null, } \ No newline at end of file +export interface ConfidentialOutput { + commitment: string; + stealth_public_nonce: string; + encrypted_data: Array; + minimum_value_promise: number; + viewable_balance: ElgamalVerifiableBalance | null; +} diff --git a/bindings/src/types/ConfidentialOutputStatement.ts b/bindings/src/types/ConfidentialOutputStatement.ts index f3a0d02c1..31ef1a79d 100644 --- a/bindings/src/types/ConfidentialOutputStatement.ts +++ b/bindings/src/types/ConfidentialOutputStatement.ts @@ -2,4 +2,10 @@ import type { Amount } from "./Amount"; import type { ConfidentialStatement } from "./ConfidentialStatement"; -export interface ConfidentialOutputStatement { output_statement: ConfidentialStatement | null, change_statement: ConfidentialStatement | null, range_proof: Array, output_revealed_amount: Amount, change_revealed_amount: Amount, } \ No newline at end of file +export interface ConfidentialOutputStatement { + output_statement: ConfidentialStatement | null; + change_statement: ConfidentialStatement | null; + range_proof: Array; + output_revealed_amount: Amount; + change_revealed_amount: Amount; +} diff --git a/bindings/src/types/ConfidentialStatement.ts b/bindings/src/types/ConfidentialStatement.ts index 499878878..ed660ae9a 100644 --- a/bindings/src/types/ConfidentialStatement.ts +++ b/bindings/src/types/ConfidentialStatement.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ViewableBalanceProof } from "./ViewableBalanceProof"; -export interface ConfidentialStatement { commitment: Array, sender_public_nonce: Array, encrypted_data: Array, minimum_value_promise: number, viewable_balance_proof: ViewableBalanceProof | null, } \ No newline at end of file +export interface ConfidentialStatement { + commitment: Array; + sender_public_nonce: Array; + encrypted_data: Array; + minimum_value_promise: number; + viewable_balance_proof: ViewableBalanceProof | null; +} diff --git a/bindings/src/types/ConfidentialWithdrawProof.ts b/bindings/src/types/ConfidentialWithdrawProof.ts index c6fbcea0f..07e266b6f 100644 --- a/bindings/src/types/ConfidentialWithdrawProof.ts +++ b/bindings/src/types/ConfidentialWithdrawProof.ts @@ -1,4 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfidentialOutputStatement } from "./ConfidentialOutputStatement"; -export interface ConfidentialWithdrawProof { inputs: Array, input_revealed_amount: number, output_proof: ConfidentialOutputStatement, balance_proof: Array, } \ No newline at end of file +export interface ConfidentialWithdrawProof { + inputs: Array; + input_revealed_amount: number; + output_proof: ConfidentialOutputStatement; + balance_proof: Array; +} diff --git a/bindings/src/types/Decision.ts b/bindings/src/types/Decision.ts index 1465d462a..a697b0f15 100644 --- a/bindings/src/types/Decision.ts +++ b/bindings/src/types/Decision.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Decision = "Commit" | "Abort"; \ No newline at end of file +export type Decision = "Commit" | "Abort"; diff --git a/bindings/src/types/ElgamalVerifiableBalance.ts b/bindings/src/types/ElgamalVerifiableBalance.ts index 88087106e..f6a30bdd1 100644 --- a/bindings/src/types/ElgamalVerifiableBalance.ts +++ b/bindings/src/types/ElgamalVerifiableBalance.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ElgamalVerifiableBalance { encrypted: string, public_nonce: string, } \ No newline at end of file +export interface ElgamalVerifiableBalance { + encrypted: string; + public_nonce: string; +} diff --git a/bindings/src/types/EntityId.ts b/bindings/src/types/EntityId.ts index bcaa7ce6d..2f0a6790f 100644 --- a/bindings/src/types/EntityId.ts +++ b/bindings/src/types/EntityId.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type EntityId = Array; \ No newline at end of file +export type EntityId = Array; diff --git a/bindings/src/types/Epoch.ts b/bindings/src/types/Epoch.ts index d851d4a3a..d98ccd5f6 100644 --- a/bindings/src/types/Epoch.ts +++ b/bindings/src/types/Epoch.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Epoch = number; \ No newline at end of file +export type Epoch = number; diff --git a/bindings/src/types/Event.ts b/bindings/src/types/Event.ts index 0a51f7b3d..a207c1829 100644 --- a/bindings/src/types/Event.ts +++ b/bindings/src/types/Event.ts @@ -2,4 +2,10 @@ import type { Metadata } from "./Metadata"; import type { SubstateId } from "./SubstateId"; -export interface Event { substate_id: SubstateId | null, template_address: string, tx_hash: string, topic: string, payload: Metadata, } \ No newline at end of file +export interface Event { + substate_id: SubstateId | null; + template_address: string; + tx_hash: string; + topic: string; + payload: Metadata; +} diff --git a/bindings/src/types/Evidence.ts b/bindings/src/types/Evidence.ts index 1aa4ca897..10e550400 100644 --- a/bindings/src/types/Evidence.ts +++ b/bindings/src/types/Evidence.ts @@ -2,4 +2,6 @@ import type { ShardEvidence } from "./ShardEvidence"; import type { SubstateAddress } from "./SubstateAddress"; -export interface Evidence { evidence: Record, } \ No newline at end of file +export interface Evidence { + evidence: Record; +} diff --git a/bindings/src/types/ExecuteResult.ts b/bindings/src/types/ExecuteResult.ts index 790051dd1..5ed0376aa 100644 --- a/bindings/src/types/ExecuteResult.ts +++ b/bindings/src/types/ExecuteResult.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FinalizeResult } from "./FinalizeResult"; -export interface ExecuteResult { finalize: FinalizeResult, execution_time: {secs: number, nanos: number}, } \ No newline at end of file +export interface ExecuteResult { + finalize: FinalizeResult; + execution_time: { secs: number; nanos: number }; +} diff --git a/bindings/src/types/ExecutedTransaction.ts b/bindings/src/types/ExecutedTransaction.ts index 14f52b132..c44654447 100644 --- a/bindings/src/types/ExecutedTransaction.ts +++ b/bindings/src/types/ExecutedTransaction.ts @@ -5,4 +5,12 @@ import type { RejectReason } from "./RejectReason"; import type { Transaction } from "./Transaction"; import type { VersionedSubstateIdLockIntent } from "./VersionedSubstateIdLockIntent"; -export interface ExecutedTransaction { transaction: Transaction, result: ExecuteResult, resulting_outputs: Array, resolved_inputs: Array, final_decision: Decision | null, finalized_time: {secs: number, nanos: number} | null, abort_reason: RejectReason | null, } \ No newline at end of file +export interface ExecutedTransaction { + transaction: Transaction; + result: ExecuteResult; + resulting_outputs: Array; + resolved_inputs: Array; + final_decision: Decision | null; + finalized_time: { secs: number; nanos: number } | null; + abort_reason: RejectReason | null; +} diff --git a/bindings/src/types/FeeBreakdown.ts b/bindings/src/types/FeeBreakdown.ts index 1d67e5b96..f4b3941e6 100644 --- a/bindings/src/types/FeeBreakdown.ts +++ b/bindings/src/types/FeeBreakdown.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FeeSource } from "./FeeSource"; -export interface FeeBreakdown { source: FeeSource, amount: number, } \ No newline at end of file +export interface FeeBreakdown { + source: FeeSource; + amount: number; +} diff --git a/bindings/src/types/FeeClaim.ts b/bindings/src/types/FeeClaim.ts index 08f117bd2..9bb8c7388 100644 --- a/bindings/src/types/FeeClaim.ts +++ b/bindings/src/types/FeeClaim.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Amount } from "./Amount"; -export interface FeeClaim { epoch: number, validator_public_key: string, amount: Amount, } \ No newline at end of file +export interface FeeClaim { + epoch: number; + validator_public_key: string; + amount: Amount; +} diff --git a/bindings/src/types/FeeClaimAddress.ts b/bindings/src/types/FeeClaimAddress.ts index 05d880432..3f8a46adf 100644 --- a/bindings/src/types/FeeClaimAddress.ts +++ b/bindings/src/types/FeeClaimAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FeeClaimAddress = string; \ No newline at end of file +export type FeeClaimAddress = string; diff --git a/bindings/src/types/FeeCostBreakdown.ts b/bindings/src/types/FeeCostBreakdown.ts index 698f08903..863caf7ed 100644 --- a/bindings/src/types/FeeCostBreakdown.ts +++ b/bindings/src/types/FeeCostBreakdown.ts @@ -2,4 +2,7 @@ import type { Amount } from "./Amount"; import type { FeeBreakdown } from "./FeeBreakdown"; -export interface FeeCostBreakdown { total_fees_charged: Amount, breakdown: Array, } \ No newline at end of file +export interface FeeCostBreakdown { + total_fees_charged: Amount; + breakdown: Array; +} diff --git a/bindings/src/types/FeeReceipt.ts b/bindings/src/types/FeeReceipt.ts index 4b5abb752..a4ac5366d 100644 --- a/bindings/src/types/FeeReceipt.ts +++ b/bindings/src/types/FeeReceipt.ts @@ -2,4 +2,8 @@ import type { Amount } from "./Amount"; import type { FeeBreakdown } from "./FeeBreakdown"; -export interface FeeReceipt { total_fee_payment: Amount, total_fees_paid: Amount, cost_breakdown: Array, } \ No newline at end of file +export interface FeeReceipt { + total_fee_payment: Amount; + total_fees_paid: Amount; + cost_breakdown: Array; +} diff --git a/bindings/src/types/FeeSource.ts b/bindings/src/types/FeeSource.ts index a91d9c60a..cb1854354 100644 --- a/bindings/src/types/FeeSource.ts +++ b/bindings/src/types/FeeSource.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type FeeSource = "Initial" | "RuntimeCall" | "Storage" | "Events" | "Logs"; \ No newline at end of file +export type FeeSource = "Initial" | "RuntimeCall" | "Storage" | "Events" | "Logs"; diff --git a/bindings/src/types/FinalizeResult.ts b/bindings/src/types/FinalizeResult.ts index 62fba12bd..b37a9d305 100644 --- a/bindings/src/types/FinalizeResult.ts +++ b/bindings/src/types/FinalizeResult.ts @@ -5,4 +5,11 @@ import type { InstructionResult } from "./InstructionResult"; import type { LogEntry } from "./LogEntry"; import type { TransactionResult } from "./TransactionResult"; -export interface FinalizeResult { transaction_hash: Uint8Array, events: Array, logs: Array, execution_results: Array, result: TransactionResult, fee_receipt: FeeReceipt, } \ No newline at end of file +export interface FinalizeResult { + transaction_hash: Uint8Array; + events: Array; + logs: Array; + execution_results: Array; + result: TransactionResult; + fee_receipt: FeeReceipt; +} diff --git a/bindings/src/types/ForeignProposalAtom.ts b/bindings/src/types/ForeignProposalAtom.ts index 15cf5bc68..301c086c0 100644 --- a/bindings/src/types/ForeignProposalAtom.ts +++ b/bindings/src/types/ForeignProposalAtom.ts @@ -1,3 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ForeignProposalAtom { block_id: string, shard_group: number, base_layer_block_height: number, } \ No newline at end of file +export interface ForeignProposalAtom { + block_id: string; + shard_group: number; + base_layer_block_height: number; +} diff --git a/bindings/src/types/FunctionDef.ts b/bindings/src/types/FunctionDef.ts index cacb0b996..ba8b7f029 100644 --- a/bindings/src/types/FunctionDef.ts +++ b/bindings/src/types/FunctionDef.ts @@ -2,4 +2,9 @@ import type { ArgDef } from "./ArgDef"; import type { Type } from "./Type"; -export interface FunctionDef { name: string, arguments: Array, output: Type, is_mut: boolean, } \ No newline at end of file +export interface FunctionDef { + name: string; + arguments: Array; + output: Type; + is_mut: boolean; +} diff --git a/bindings/src/types/IndexedValue.ts b/bindings/src/types/IndexedValue.ts index 2e12a9658..5c29b803e 100644 --- a/bindings/src/types/IndexedValue.ts +++ b/bindings/src/types/IndexedValue.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexedWellKnownTypes } from "./IndexedWellKnownTypes"; -export interface IndexedValue { indexed: IndexedWellKnownTypes, value: any, } \ No newline at end of file +export interface IndexedValue { + indexed: IndexedWellKnownTypes; + value: any; +} diff --git a/bindings/src/types/IndexedWellKnownTypes.ts b/bindings/src/types/IndexedWellKnownTypes.ts index e532bbb78..0682228bb 100644 --- a/bindings/src/types/IndexedWellKnownTypes.ts +++ b/bindings/src/types/IndexedWellKnownTypes.ts @@ -9,4 +9,14 @@ import type { TransactionReceiptAddress } from "./TransactionReceiptAddress"; import type { UnclaimedConfidentialOutputAddress } from "./UnclaimedConfidentialOutputAddress"; import type { VaultId } from "./VaultId"; -export interface IndexedWellKnownTypes { bucket_ids: Array, proof_ids: Array, component_addresses: Array, resource_addresses: Array, transaction_receipt_addresses: Array, non_fungible_addresses: Array, vault_ids: Array, metadata: Array, unclaimed_confidential_output_address: Array, } \ No newline at end of file +export interface IndexedWellKnownTypes { + bucket_ids: Array; + proof_ids: Array; + component_addresses: Array; + resource_addresses: Array; + transaction_receipt_addresses: Array; + non_fungible_addresses: Array; + vault_ids: Array; + metadata: Array; + unclaimed_confidential_output_address: Array; +} diff --git a/bindings/src/types/Instruction.ts b/bindings/src/types/Instruction.ts index b443d90d8..1ef576682 100644 --- a/bindings/src/types/Instruction.ts +++ b/bindings/src/types/Instruction.ts @@ -6,4 +6,13 @@ import type { ConfidentialClaim } from "./ConfidentialClaim"; import type { LogLevel } from "./LogLevel"; import type { ResourceAddress } from "./ResourceAddress"; -export type Instruction = { "CreateAccount": { owner_public_key: string, workspace_bucket: string | null, } } | { "CallFunction": { template_address: Uint8Array, function: string, args: Array, } } | { "CallMethod": { component_address: ComponentAddress, method: string, args: Array, } } | { "PutLastInstructionOutputOnWorkspace": { key: Array, } } | { "EmitLog": { level: LogLevel, message: string, } } | { "ClaimBurn": { claim: ConfidentialClaim, } } | { "ClaimValidatorFees": { epoch: number, validator_public_key: string, } } | "DropAllProofsInWorkspace" | { "AssertBucketContains": { key: Array, resource_address: ResourceAddress, min_amount: Amount, } }; \ No newline at end of file +export type Instruction = + | { CreateAccount: { owner_public_key: string; workspace_bucket: string | null } } + | { CallFunction: { template_address: Uint8Array; function: string; args: Array } } + | { CallMethod: { component_address: ComponentAddress; method: string; args: Array } } + | { PutLastInstructionOutputOnWorkspace: { key: Array } } + | { EmitLog: { level: LogLevel; message: string } } + | { ClaimBurn: { claim: ConfidentialClaim } } + | { ClaimValidatorFees: { epoch: number; validator_public_key: string } } + | "DropAllProofsInWorkspace" + | { AssertBucketContains: { key: Array; resource_address: ResourceAddress; min_amount: Amount } }; diff --git a/bindings/src/types/InstructionResult.ts b/bindings/src/types/InstructionResult.ts index bc379b9de..a73cc1fc9 100644 --- a/bindings/src/types/InstructionResult.ts +++ b/bindings/src/types/InstructionResult.ts @@ -2,4 +2,7 @@ import type { IndexedValue } from "./IndexedValue"; import type { Type } from "./Type"; -export interface InstructionResult { indexed: IndexedValue, return_type: Type, } \ No newline at end of file +export interface InstructionResult { + indexed: IndexedValue; + return_type: Type; +} diff --git a/bindings/src/types/LeaderFee.ts b/bindings/src/types/LeaderFee.ts index 2a9e97303..44931e0e8 100644 --- a/bindings/src/types/LeaderFee.ts +++ b/bindings/src/types/LeaderFee.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface LeaderFee { fee: number, global_exhaust_burn: number, } \ No newline at end of file +export interface LeaderFee { + fee: number; + global_exhaust_burn: number; +} diff --git a/bindings/src/types/LockFlag.ts b/bindings/src/types/LockFlag.ts index 2c6a0c285..08258cccd 100644 --- a/bindings/src/types/LockFlag.ts +++ b/bindings/src/types/LockFlag.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type LockFlag = "Read" | "Write"; \ No newline at end of file +export type LockFlag = "Read" | "Write"; diff --git a/bindings/src/types/LogEntry.ts b/bindings/src/types/LogEntry.ts index cf16aac69..4dc37d665 100644 --- a/bindings/src/types/LogEntry.ts +++ b/bindings/src/types/LogEntry.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { LogLevel } from "./LogLevel"; -export interface LogEntry { message: string, level: LogLevel, } \ No newline at end of file +export interface LogEntry { + message: string; + level: LogLevel; +} diff --git a/bindings/src/types/LogLevel.ts b/bindings/src/types/LogLevel.ts index 8cd2b4d48..58aaf969d 100644 --- a/bindings/src/types/LogLevel.ts +++ b/bindings/src/types/LogLevel.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type LogLevel = "Error" | "Warn" | "Info" | "Debug"; \ No newline at end of file +export type LogLevel = "Error" | "Warn" | "Info" | "Debug"; diff --git a/bindings/src/types/Metadata.ts b/bindings/src/types/Metadata.ts index 77a237a23..c35ff1cde 100644 --- a/bindings/src/types/Metadata.ts +++ b/bindings/src/types/Metadata.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Metadata = string; \ No newline at end of file +export type Metadata = string; diff --git a/bindings/src/types/MintConfidentialOutputAtom.ts b/bindings/src/types/MintConfidentialOutputAtom.ts index 4348acbcb..1ac1f564d 100644 --- a/bindings/src/types/MintConfidentialOutputAtom.ts +++ b/bindings/src/types/MintConfidentialOutputAtom.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "./SubstateId"; -export interface MintConfidentialOutputAtom { substate_id: SubstateId, } \ No newline at end of file +export interface MintConfidentialOutputAtom { + substate_id: SubstateId; +} diff --git a/bindings/src/types/NetworkCommitteeInfo.ts b/bindings/src/types/NetworkCommitteeInfo.ts index 43d00e7a1..b51e699c9 100644 --- a/bindings/src/types/NetworkCommitteeInfo.ts +++ b/bindings/src/types/NetworkCommitteeInfo.ts @@ -2,4 +2,7 @@ import type { CommitteeShardInfo } from "./CommitteeShardInfo"; import type { Epoch } from "./Epoch"; -export interface NetworkCommitteeInfo { epoch: Epoch, committees: Array>, } \ No newline at end of file +export interface NetworkCommitteeInfo { + epoch: Epoch; + committees: Array>; +} diff --git a/bindings/src/types/NodeHeight.ts b/bindings/src/types/NodeHeight.ts index ecff08bbf..984503459 100644 --- a/bindings/src/types/NodeHeight.ts +++ b/bindings/src/types/NodeHeight.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type NodeHeight = number; \ No newline at end of file +export type NodeHeight = number; diff --git a/bindings/src/types/NonFungible.ts b/bindings/src/types/NonFungible.ts index 94635c4b2..4b0279362 100644 --- a/bindings/src/types/NonFungible.ts +++ b/bindings/src/types/NonFungible.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface NonFungible { data: any, mutable_data: any, } \ No newline at end of file +export interface NonFungible { + data: any; + mutable_data: any; +} diff --git a/bindings/src/types/NonFungibleAddress.ts b/bindings/src/types/NonFungibleAddress.ts index e97b7469a..7f6b2fe16 100644 --- a/bindings/src/types/NonFungibleAddress.ts +++ b/bindings/src/types/NonFungibleAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type NonFungibleAddress = string; \ No newline at end of file +export type NonFungibleAddress = string; diff --git a/bindings/src/types/NonFungibleAddressContents.ts b/bindings/src/types/NonFungibleAddressContents.ts index 125c74f28..2a30c1023 100644 --- a/bindings/src/types/NonFungibleAddressContents.ts +++ b/bindings/src/types/NonFungibleAddressContents.ts @@ -2,4 +2,7 @@ import type { NonFungibleId } from "./NonFungibleId"; import type { ResourceAddress } from "./ResourceAddress"; -export interface NonFungibleAddressContents { resource_address: ResourceAddress, id: NonFungibleId, } \ No newline at end of file +export interface NonFungibleAddressContents { + resource_address: ResourceAddress; + id: NonFungibleId; +} diff --git a/bindings/src/types/NonFungibleContainer.ts b/bindings/src/types/NonFungibleContainer.ts index f9b9f7e7d..847f08112 100644 --- a/bindings/src/types/NonFungibleContainer.ts +++ b/bindings/src/types/NonFungibleContainer.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NonFungible } from "./NonFungible"; -export type NonFungibleContainer = NonFungible | null; \ No newline at end of file +export type NonFungibleContainer = NonFungible | null; diff --git a/bindings/src/types/NonFungibleId.ts b/bindings/src/types/NonFungibleId.ts index 4191af4a9..264e39325 100644 --- a/bindings/src/types/NonFungibleId.ts +++ b/bindings/src/types/NonFungibleId.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type NonFungibleId = { "U256": Array } | { "String": string } | { "Uint32": number } | { "Uint64": number }; \ No newline at end of file +export type NonFungibleId = { U256: Array } | { String: string } | { Uint32: number } | { Uint64: number }; diff --git a/bindings/src/types/NonFungibleIndex.ts b/bindings/src/types/NonFungibleIndex.ts index 68300f621..ab9d49f0f 100644 --- a/bindings/src/types/NonFungibleIndex.ts +++ b/bindings/src/types/NonFungibleIndex.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NonFungibleAddress } from "./NonFungibleAddress"; -export interface NonFungibleIndex { referenced_address: NonFungibleAddress, } \ No newline at end of file +export interface NonFungibleIndex { + referenced_address: NonFungibleAddress; +} diff --git a/bindings/src/types/NonFungibleIndexAddress.ts b/bindings/src/types/NonFungibleIndexAddress.ts index 8c2c364fc..4f4ab1034 100644 --- a/bindings/src/types/NonFungibleIndexAddress.ts +++ b/bindings/src/types/NonFungibleIndexAddress.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ResourceAddress } from "./ResourceAddress"; -export interface NonFungibleIndexAddress { resource_address: ResourceAddress, index: number, } \ No newline at end of file +export interface NonFungibleIndexAddress { + resource_address: ResourceAddress; + index: number; +} diff --git a/bindings/src/types/NumPreshards.ts b/bindings/src/types/NumPreshards.ts index 8a8c0003b..51acbadca 100644 --- a/bindings/src/types/NumPreshards.ts +++ b/bindings/src/types/NumPreshards.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type NumPreshards = "P1" | "P2" | "P4" | "P8" | "P16" | "P32" | "P64" | "P128" | "P256"; \ No newline at end of file +export type NumPreshards = "P1" | "P2" | "P4" | "P8" | "P16" | "P32" | "P64" | "P128" | "P256"; diff --git a/bindings/src/types/Ordering.ts b/bindings/src/types/Ordering.ts index b25ededa4..9e36dbd3d 100644 --- a/bindings/src/types/Ordering.ts +++ b/bindings/src/types/Ordering.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Ordering = "Ascending" | "Descending"; \ No newline at end of file +export type Ordering = "Ascending" | "Descending"; diff --git a/bindings/src/types/OwnerRule.ts b/bindings/src/types/OwnerRule.ts index 1f6363463..ad14fca8c 100644 --- a/bindings/src/types/OwnerRule.ts +++ b/bindings/src/types/OwnerRule.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AccessRule } from "./AccessRule"; -export type OwnerRule = "OwnedBySigner" | "None" | { "ByAccessRule": AccessRule } | { "ByPublicKey": Array }; \ No newline at end of file +export type OwnerRule = "OwnedBySigner" | "None" | { ByAccessRule: AccessRule } | { ByPublicKey: Array }; diff --git a/bindings/src/types/PeerAddress.ts b/bindings/src/types/PeerAddress.ts index 4c82136c3..7ea00d6db 100644 --- a/bindings/src/types/PeerAddress.ts +++ b/bindings/src/types/PeerAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PeerAddress = string; \ No newline at end of file +export type PeerAddress = string; diff --git a/bindings/src/types/ProofId.ts b/bindings/src/types/ProofId.ts index 86a986bbf..9d70f4967 100644 --- a/bindings/src/types/ProofId.ts +++ b/bindings/src/types/ProofId.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ProofId = number; \ No newline at end of file +export type ProofId = number; diff --git a/bindings/src/types/QuorumCertificate.ts b/bindings/src/types/QuorumCertificate.ts index 15722e1cf..d552db955 100644 --- a/bindings/src/types/QuorumCertificate.ts +++ b/bindings/src/types/QuorumCertificate.ts @@ -5,4 +5,13 @@ import type { QuorumDecision } from "./QuorumDecision"; import type { ShardGroup } from "./ShardGroup"; import type { ValidatorSignature } from "./ValidatorSignature"; -export interface QuorumCertificate { qc_id: string, block_id: string, block_height: NodeHeight, epoch: Epoch, shard_group: ShardGroup, signatures: Array, leaf_hashes: Array, decision: QuorumDecision, } \ No newline at end of file +export interface QuorumCertificate { + qc_id: string; + block_id: string; + block_height: NodeHeight; + epoch: Epoch; + shard_group: ShardGroup; + signatures: Array; + leaf_hashes: Array; + decision: QuorumDecision; +} diff --git a/bindings/src/types/QuorumDecision.ts b/bindings/src/types/QuorumDecision.ts index f4c6e41cf..9aec4c8c5 100644 --- a/bindings/src/types/QuorumDecision.ts +++ b/bindings/src/types/QuorumDecision.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type QuorumDecision = "Accept" | "Reject"; \ No newline at end of file +export type QuorumDecision = "Accept" | "Reject"; diff --git a/bindings/src/types/RejectReason.ts b/bindings/src/types/RejectReason.ts index 66379f8a7..779882737 100644 --- a/bindings/src/types/RejectReason.ts +++ b/bindings/src/types/RejectReason.ts @@ -1,3 +1,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type RejectReason = { "InvalidTransaction": string } | { "ExecutionFailure": string } | { "OneOrMoreInputsNotFound": string } | "NoInputs" | { "FailedToLockInputs": string } | { "FailedToLockOutputs": string } | { "ForeignShardGroupDecidedToAbort": string } | { "FeesNotPaid": string } | "Unknown"; \ No newline at end of file +export type RejectReason = + | { InvalidTransaction: string } + | { ExecutionFailure: string } + | { OneOrMoreInputsNotFound: string } + | "NoInputs" + | { FailedToLockInputs: string } + | { FailedToLockOutputs: string } + | { ForeignShardGroupDecidedToAbort: string } + | { FeesNotPaid: string } + | "Unknown"; diff --git a/bindings/src/types/RequireRule.ts b/bindings/src/types/RequireRule.ts index df4f25ebf..f7eb307e2 100644 --- a/bindings/src/types/RequireRule.ts +++ b/bindings/src/types/RequireRule.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RuleRequirement } from "./RuleRequirement"; -export type RequireRule = { "Require": RuleRequirement } | { "AnyOf": Array } | { "AllOf": Array }; \ No newline at end of file +export type RequireRule = + | { Require: RuleRequirement } + | { AnyOf: Array } + | { AllOf: Array }; diff --git a/bindings/src/types/Resource.ts b/bindings/src/types/Resource.ts index 1e74e4a89..ae9ec4440 100644 --- a/bindings/src/types/Resource.ts +++ b/bindings/src/types/Resource.ts @@ -6,4 +6,13 @@ import type { OwnerRule } from "./OwnerRule"; import type { ResourceAccessRules } from "./ResourceAccessRules"; import type { ResourceType } from "./ResourceType"; -export interface Resource { resource_type: ResourceType, owner_rule: OwnerRule, owner_key: Array, access_rules: ResourceAccessRules, metadata: Metadata, total_supply: Amount, view_key: string | null, auth_hook: AuthHook | null, } \ No newline at end of file +export interface Resource { + resource_type: ResourceType; + owner_rule: OwnerRule; + owner_key: Array; + access_rules: ResourceAccessRules; + metadata: Metadata; + total_supply: Amount; + view_key: string | null; + auth_hook: AuthHook | null; +} diff --git a/bindings/src/types/ResourceAccessRules.ts b/bindings/src/types/ResourceAccessRules.ts index 2c4ba91f9..ae459d2bb 100644 --- a/bindings/src/types/ResourceAccessRules.ts +++ b/bindings/src/types/ResourceAccessRules.ts @@ -1,4 +1,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AccessRule } from "./AccessRule"; -export interface ResourceAccessRules { mintable: AccessRule, burnable: AccessRule, recallable: AccessRule, withdrawable: AccessRule, depositable: AccessRule, update_non_fungible_data: AccessRule, } \ No newline at end of file +export interface ResourceAccessRules { + mintable: AccessRule; + burnable: AccessRule; + recallable: AccessRule; + withdrawable: AccessRule; + depositable: AccessRule; + update_non_fungible_data: AccessRule; +} diff --git a/bindings/src/types/ResourceAddress.ts b/bindings/src/types/ResourceAddress.ts index 86e63c65a..906f22228 100644 --- a/bindings/src/types/ResourceAddress.ts +++ b/bindings/src/types/ResourceAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ResourceAddress = string; \ No newline at end of file +export type ResourceAddress = string; diff --git a/bindings/src/types/ResourceContainer.ts b/bindings/src/types/ResourceContainer.ts index cff80bd74..3c7833294 100644 --- a/bindings/src/types/ResourceContainer.ts +++ b/bindings/src/types/ResourceContainer.ts @@ -3,4 +3,22 @@ import type { Amount } from "./Amount"; import type { NonFungibleId } from "./NonFungibleId"; import type { ResourceAddress } from "./ResourceAddress"; -export type ResourceContainer = { "Fungible": { address: ResourceAddress, amount: Amount, locked_amount: Amount, } } | { "NonFungible": { address: ResourceAddress, token_ids: Array, locked_token_ids: Array, } } | { "Confidential": { address: ResourceAddress, revealed_amount: Amount, locked_revealed_amount: Amount, } }; \ No newline at end of file +export type ResourceContainer = + | { Fungible: { address: ResourceAddress; amount: Amount; locked_amount: Amount } } + | { + NonFungible: { + address: ResourceAddress; + token_ids: Array; + locked_token_ids: Array; + }; + } + | { + Confidential: { + address: ResourceAddress; + commitments: Record; + revealed_amount: Amount; + locked_commitments: Record; + locked_revealed_amount: Amount; + }; + }; +import { ConfidentialOutput } from "./ConfidentialOutput"; diff --git a/bindings/src/types/ResourceType.ts b/bindings/src/types/ResourceType.ts index e3371c616..84db56ac9 100644 --- a/bindings/src/types/ResourceType.ts +++ b/bindings/src/types/ResourceType.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ResourceType = "Fungible" | "NonFungible" | "Confidential"; \ No newline at end of file +export type ResourceType = "Fungible" | "NonFungible" | "Confidential"; diff --git a/bindings/src/types/RestrictedAccessRule.ts b/bindings/src/types/RestrictedAccessRule.ts index 2e29892ee..a4e307c2b 100644 --- a/bindings/src/types/RestrictedAccessRule.ts +++ b/bindings/src/types/RestrictedAccessRule.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { RequireRule } from "./RequireRule"; -export type RestrictedAccessRule = { "Require": RequireRule } | { "AnyOf": Array } | { "AllOf": Array }; \ No newline at end of file +export type RestrictedAccessRule = + | { Require: RequireRule } + | { AnyOf: Array } + | { AllOf: Array }; diff --git a/bindings/src/types/RuleRequirement.ts b/bindings/src/types/RuleRequirement.ts index 93c013810..221f1a81f 100644 --- a/bindings/src/types/RuleRequirement.ts +++ b/bindings/src/types/RuleRequirement.ts @@ -3,4 +3,8 @@ import type { ComponentAddress } from "./ComponentAddress"; import type { NonFungibleAddress } from "./NonFungibleAddress"; import type { ResourceAddress } from "./ResourceAddress"; -export type RuleRequirement = { "Resource": ResourceAddress } | { "NonFungibleAddress": NonFungibleAddress } | { "ScopedToComponent": ComponentAddress } | { "ScopedToTemplate": Uint8Array }; \ No newline at end of file +export type RuleRequirement = + | { Resource: ResourceAddress } + | { NonFungibleAddress: NonFungibleAddress } + | { ScopedToComponent: ComponentAddress } + | { ScopedToTemplate: Uint8Array }; diff --git a/bindings/src/types/Shard.ts b/bindings/src/types/Shard.ts index 59fe8dbda..ce3f3f311 100644 --- a/bindings/src/types/Shard.ts +++ b/bindings/src/types/Shard.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Shard = number; \ No newline at end of file +export type Shard = number; diff --git a/bindings/src/types/ShardEvidence.ts b/bindings/src/types/ShardEvidence.ts index c44a22323..e82ef84bc 100644 --- a/bindings/src/types/ShardEvidence.ts +++ b/bindings/src/types/ShardEvidence.ts @@ -5,4 +5,4 @@ export interface ShardEvidence { prepare_justify: string | null; accept_justify: string | null; lock: SubstateLockType; -} \ No newline at end of file +} diff --git a/bindings/src/types/ShardGroup.ts b/bindings/src/types/ShardGroup.ts index 845568f2f..92d3e1ead 100644 --- a/bindings/src/types/ShardGroup.ts +++ b/bindings/src/types/ShardGroup.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Shard } from "./Shard"; -export interface ShardGroup { start: Shard, end_inclusive: Shard, } \ No newline at end of file +export interface ShardGroup { + start: Shard; + end_inclusive: Shard; +} diff --git a/bindings/src/types/Substate.ts b/bindings/src/types/Substate.ts index 810259957..d8fe1b737 100644 --- a/bindings/src/types/Substate.ts +++ b/bindings/src/types/Substate.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateValue } from "./SubstateValue"; -export interface Substate { substate: SubstateValue, version: number, } \ No newline at end of file +export interface Substate { + substate: SubstateValue; + version: number; +} diff --git a/bindings/src/types/SubstateAddress.ts b/bindings/src/types/SubstateAddress.ts index 150228d7d..3879aa84b 100644 --- a/bindings/src/types/SubstateAddress.ts +++ b/bindings/src/types/SubstateAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SubstateAddress = string; \ No newline at end of file +export type SubstateAddress = string; diff --git a/bindings/src/types/SubstateDestroyed.ts b/bindings/src/types/SubstateDestroyed.ts index bb4bfd5f5..0d3304f73 100644 --- a/bindings/src/types/SubstateDestroyed.ts +++ b/bindings/src/types/SubstateDestroyed.ts @@ -2,4 +2,10 @@ import type { Epoch } from "./Epoch"; import type { Shard } from "./Shard"; -export interface SubstateDestroyed { by_transaction: string, justify: string, by_block: string, at_epoch: Epoch, by_shard: Shard, } \ No newline at end of file +export interface SubstateDestroyed { + by_transaction: string; + justify: string; + by_block: string; + at_epoch: Epoch; + by_shard: Shard; +} diff --git a/bindings/src/types/SubstateDiff.ts b/bindings/src/types/SubstateDiff.ts index 631abc19e..74fc6a30d 100644 --- a/bindings/src/types/SubstateDiff.ts +++ b/bindings/src/types/SubstateDiff.ts @@ -2,4 +2,7 @@ import type { Substate } from "./Substate"; import type { SubstateId } from "./SubstateId"; -export interface SubstateDiff { up_substates: Array<[SubstateId, Substate]>, down_substates: Array<[SubstateId, number]>, } \ No newline at end of file +export interface SubstateDiff { + up_substates: Array<[SubstateId, Substate]>; + down_substates: Array<[SubstateId, number]>; +} diff --git a/bindings/src/types/SubstateId.ts b/bindings/src/types/SubstateId.ts index 34d7aad37..3f40e1ddf 100644 --- a/bindings/src/types/SubstateId.ts +++ b/bindings/src/types/SubstateId.ts @@ -8,4 +8,12 @@ import type { TransactionReceiptAddress } from "./TransactionReceiptAddress"; import type { UnclaimedConfidentialOutputAddress } from "./UnclaimedConfidentialOutputAddress"; import type { VaultId } from "./VaultId"; -export type SubstateId = { "Component": ComponentAddress } | { "Resource": ResourceAddress } | { "Vault": VaultId } | { "UnclaimedConfidentialOutput": UnclaimedConfidentialOutputAddress } | { "NonFungible": NonFungibleAddress } | { "NonFungibleIndex": NonFungibleIndexAddress } | { "TransactionReceipt": TransactionReceiptAddress } | { "FeeClaim": FeeClaimAddress }; \ No newline at end of file +export type SubstateId = + | { Component: ComponentAddress } + | { Resource: ResourceAddress } + | { Vault: VaultId } + | { UnclaimedConfidentialOutput: UnclaimedConfidentialOutputAddress } + | { NonFungible: NonFungibleAddress } + | { NonFungibleIndex: NonFungibleIndexAddress } + | { TransactionReceipt: TransactionReceiptAddress } + | { FeeClaim: FeeClaimAddress }; diff --git a/bindings/src/types/SubstateLockType.ts b/bindings/src/types/SubstateLockType.ts index 80c6881f7..b1b9782f8 100644 --- a/bindings/src/types/SubstateLockType.ts +++ b/bindings/src/types/SubstateLockType.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SubstateLockType = "Read" | "Write" | "Output"; \ No newline at end of file +export type SubstateLockType = "Read" | "Write" | "Output"; diff --git a/bindings/src/types/SubstateRecord.ts b/bindings/src/types/SubstateRecord.ts index a06decd75..f812fee52 100644 --- a/bindings/src/types/SubstateRecord.ts +++ b/bindings/src/types/SubstateRecord.ts @@ -6,4 +6,16 @@ import type { SubstateDestroyed } from "./SubstateDestroyed"; import type { SubstateId } from "./SubstateId"; import type { SubstateValue } from "./SubstateValue"; -export interface SubstateRecord { substate_id: SubstateId, version: number, substate_value: SubstateValue, state_hash: string, created_by_transaction: string, created_justify: string, created_block: string, created_height: NodeHeight, created_by_shard: Shard, created_at_epoch: Epoch, destroyed: SubstateDestroyed | null, } \ No newline at end of file +export interface SubstateRecord { + substate_id: SubstateId; + version: number; + substate_value: SubstateValue; + state_hash: string; + created_by_transaction: string; + created_justify: string; + created_block: string; + created_height: NodeHeight; + created_by_shard: Shard; + created_at_epoch: Epoch; + destroyed: SubstateDestroyed | null; +} diff --git a/bindings/src/types/SubstateRequirement.ts b/bindings/src/types/SubstateRequirement.ts index aa99ea794..4b5851ab3 100644 --- a/bindings/src/types/SubstateRequirement.ts +++ b/bindings/src/types/SubstateRequirement.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "./SubstateId"; -export interface SubstateRequirement { substate_id: SubstateId, version: number | null, } \ No newline at end of file +export interface SubstateRequirement { + substate_id: SubstateId; + version: number | null; +} diff --git a/bindings/src/types/SubstateRequirementLockIntent.ts b/bindings/src/types/SubstateRequirementLockIntent.ts index 226167eb3..c7c2d9374 100644 --- a/bindings/src/types/SubstateRequirementLockIntent.ts +++ b/bindings/src/types/SubstateRequirementLockIntent.ts @@ -2,4 +2,8 @@ import type { SubstateLockType } from "./SubstateLockType"; import type { SubstateRequirement } from "./SubstateRequirement"; -export interface SubstateRequirementLockIntent { substate_requirement: SubstateRequirement, version_to_lock: number, lock_type: SubstateLockType, } \ No newline at end of file +export interface SubstateRequirementLockIntent { + substate_requirement: SubstateRequirement; + version_to_lock: number; + lock_type: SubstateLockType; +} diff --git a/bindings/src/types/SubstateType.ts b/bindings/src/types/SubstateType.ts index 10db24fe7..72e7c5a85 100644 --- a/bindings/src/types/SubstateType.ts +++ b/bindings/src/types/SubstateType.ts @@ -1,3 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SubstateType = "Component" | "Resource" | "Vault" | "UnclaimedConfidentialOutput" | "NonFungible" | "TransactionReceipt" | "FeeClaim"; \ No newline at end of file +export type SubstateType = + | "Component" + | "Resource" + | "Vault" + | "UnclaimedConfidentialOutput" + | "NonFungible" + | "TransactionReceipt" + | "FeeClaim"; diff --git a/bindings/src/types/SubstateValue.ts b/bindings/src/types/SubstateValue.ts index 075a1a055..a2ba32440 100644 --- a/bindings/src/types/SubstateValue.ts +++ b/bindings/src/types/SubstateValue.ts @@ -8,4 +8,12 @@ import type { TransactionReceipt } from "./TransactionReceipt"; import type { UnclaimedConfidentialOutput } from "./UnclaimedConfidentialOutput"; import type { Vault } from "./Vault"; -export type SubstateValue = { "Component": ComponentHeader } | { "Resource": Resource } | { "Vault": Vault } | { "NonFungible": NonFungibleContainer } | { "NonFungibleIndex": NonFungibleIndex } | { "UnclaimedConfidentialOutput": UnclaimedConfidentialOutput } | { "TransactionReceipt": TransactionReceipt } | { "FeeClaim": FeeClaim }; \ No newline at end of file +export type SubstateValue = + | { Component: ComponentHeader } + | { Resource: Resource } + | { Vault: Vault } + | { NonFungible: NonFungibleContainer } + | { NonFungibleIndex: NonFungibleIndex } + | { UnclaimedConfidentialOutput: UnclaimedConfidentialOutput } + | { TransactionReceipt: TransactionReceipt } + | { FeeClaim: FeeClaim }; diff --git a/bindings/src/types/TemplateDef.ts b/bindings/src/types/TemplateDef.ts index 3089359ae..9fbbfaa7e 100644 --- a/bindings/src/types/TemplateDef.ts +++ b/bindings/src/types/TemplateDef.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TemplateDefV1 } from "./TemplateDefV1"; -export type TemplateDef = { "V1": TemplateDefV1 }; \ No newline at end of file +export type TemplateDef = { V1: TemplateDefV1 }; diff --git a/bindings/src/types/TemplateDefV1.ts b/bindings/src/types/TemplateDefV1.ts index 257b0d537..03427e25a 100644 --- a/bindings/src/types/TemplateDefV1.ts +++ b/bindings/src/types/TemplateDefV1.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { FunctionDef } from "./FunctionDef"; -export interface TemplateDefV1 { template_name: string, tari_version: string, functions: Array, } \ No newline at end of file +export interface TemplateDefV1 { + template_name: string; + tari_version: string; + functions: Array; +} diff --git a/bindings/src/types/Transaction.ts b/bindings/src/types/Transaction.ts index b8999fdd1..93469996f 100644 --- a/bindings/src/types/Transaction.ts +++ b/bindings/src/types/Transaction.ts @@ -5,4 +5,13 @@ import type { SubstateRequirement } from "./SubstateRequirement"; import type { TransactionSignature } from "./TransactionSignature"; import type { VersionedSubstateId } from "./VersionedSubstateId"; -export interface Transaction { id: string, fee_instructions: Array, instructions: Array, inputs: Array, min_epoch: Epoch | null, max_epoch: Epoch | null, signatures: Array, filled_inputs: Array, } \ No newline at end of file +export interface Transaction { + id: string; + fee_instructions: Array; + instructions: Array; + inputs: Array; + min_epoch: Epoch | null; + max_epoch: Epoch | null; + signatures: Array; + filled_inputs: Array; +} diff --git a/bindings/src/types/TransactionAtom.ts b/bindings/src/types/TransactionAtom.ts index 038185fae..dd2b92355 100644 --- a/bindings/src/types/TransactionAtom.ts +++ b/bindings/src/types/TransactionAtom.ts @@ -3,4 +3,10 @@ import type { Decision } from "./Decision"; import type { Evidence } from "./Evidence"; import type { LeaderFee } from "./LeaderFee"; -export interface TransactionAtom { id: string, decision: Decision, evidence: Evidence, transaction_fee: number, leader_fee: LeaderFee | null, } \ No newline at end of file +export interface TransactionAtom { + id: string; + decision: Decision; + evidence: Evidence; + transaction_fee: number; + leader_fee: LeaderFee | null; +} diff --git a/bindings/src/types/TransactionPoolRecord.ts b/bindings/src/types/TransactionPoolRecord.ts index 4e0fb6983..533d96108 100644 --- a/bindings/src/types/TransactionPoolRecord.ts +++ b/bindings/src/types/TransactionPoolRecord.ts @@ -15,4 +15,4 @@ export interface TransactionPoolRecord { local_decision: Decision | null; remote_decision: Decision | null; is_ready: boolean; -} \ No newline at end of file +} diff --git a/bindings/src/types/TransactionPoolStage.ts b/bindings/src/types/TransactionPoolStage.ts index 7fb8a797c..16da2b71f 100644 --- a/bindings/src/types/TransactionPoolStage.ts +++ b/bindings/src/types/TransactionPoolStage.ts @@ -1,3 +1,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TransactionPoolStage = "New" | "Prepared" | "LocalPrepared" | "AllPrepared" | "SomePrepared" | "LocalAccepted" | "AllAccepted" | "SomeAccepted" | "LocalOnly"; \ No newline at end of file +export type TransactionPoolStage = + | "New" + | "Prepared" + | "LocalPrepared" + | "AllPrepared" + | "SomePrepared" + | "LocalAccepted" + | "AllAccepted" + | "SomeAccepted" + | "LocalOnly"; diff --git a/bindings/src/types/TransactionReceipt.ts b/bindings/src/types/TransactionReceipt.ts index dd93fd38c..d11279a2c 100644 --- a/bindings/src/types/TransactionReceipt.ts +++ b/bindings/src/types/TransactionReceipt.ts @@ -3,4 +3,9 @@ import type { Event } from "./Event"; import type { FeeReceipt } from "./FeeReceipt"; import type { LogEntry } from "./LogEntry"; -export interface TransactionReceipt { transaction_hash: Uint8Array, events: Array, logs: Array, fee_receipt: FeeReceipt, } \ No newline at end of file +export interface TransactionReceipt { + transaction_hash: Uint8Array; + events: Array; + logs: Array; + fee_receipt: FeeReceipt; +} diff --git a/bindings/src/types/TransactionReceiptAddress.ts b/bindings/src/types/TransactionReceiptAddress.ts index c9e541342..8a7ba6c02 100644 --- a/bindings/src/types/TransactionReceiptAddress.ts +++ b/bindings/src/types/TransactionReceiptAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type TransactionReceiptAddress = string; \ No newline at end of file +export type TransactionReceiptAddress = string; diff --git a/bindings/src/types/TransactionResult.ts b/bindings/src/types/TransactionResult.ts index 74893be6b..4b1b22f80 100644 --- a/bindings/src/types/TransactionResult.ts +++ b/bindings/src/types/TransactionResult.ts @@ -2,4 +2,7 @@ import type { RejectReason } from "./RejectReason"; import type { SubstateDiff } from "./SubstateDiff"; -export type TransactionResult = { "Accept": SubstateDiff } | { "AcceptFeeRejectRest": [SubstateDiff, RejectReason] } | { "Reject": RejectReason }; \ No newline at end of file +export type TransactionResult = + | { Accept: SubstateDiff } + | { AcceptFeeRejectRest: [SubstateDiff, RejectReason] } + | { Reject: RejectReason }; diff --git a/bindings/src/types/TransactionSignature.ts b/bindings/src/types/TransactionSignature.ts index 74a0ab359..ed0edef18 100644 --- a/bindings/src/types/TransactionSignature.ts +++ b/bindings/src/types/TransactionSignature.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TransactionSignature { public_key: string, signature: string, } \ No newline at end of file +export interface TransactionSignature { + public_key: string; + signature: string; +} diff --git a/bindings/src/types/Type.ts b/bindings/src/types/Type.ts index 948a83a93..ac5048892 100644 --- a/bindings/src/types/Type.ts +++ b/bindings/src/types/Type.ts @@ -1,3 +1,19 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type Type = "Unit" | "Bool" | "I8" | "I16" | "I32" | "I64" | "I128" | "U8" | "U16" | "U32" | "U64" | "U128" | "String" | { "Vec": Type } | { "Tuple": Array } | { "Other": { name: string, } }; \ No newline at end of file +export type Type = + | "Unit" + | "Bool" + | "I8" + | "I16" + | "I32" + | "I64" + | "I128" + | "U8" + | "U16" + | "U32" + | "U64" + | "U128" + | "String" + | { Vec: Type } + | { Tuple: Array } + | { Other: { name: string } }; diff --git a/bindings/src/types/UnclaimedConfidentialOutput.ts b/bindings/src/types/UnclaimedConfidentialOutput.ts index b20a529f7..636aef156 100644 --- a/bindings/src/types/UnclaimedConfidentialOutput.ts +++ b/bindings/src/types/UnclaimedConfidentialOutput.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface UnclaimedConfidentialOutput { commitment: string, encrypted_data: Array, } \ No newline at end of file +export interface UnclaimedConfidentialOutput { + commitment: string; + encrypted_data: Array; +} diff --git a/bindings/src/types/UnclaimedConfidentialOutputAddress.ts b/bindings/src/types/UnclaimedConfidentialOutputAddress.ts index f7d23b305..db538cd5e 100644 --- a/bindings/src/types/UnclaimedConfidentialOutputAddress.ts +++ b/bindings/src/types/UnclaimedConfidentialOutputAddress.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type UnclaimedConfidentialOutputAddress = string; \ No newline at end of file +export type UnclaimedConfidentialOutputAddress = string; diff --git a/bindings/src/types/UnsignedTransaction.ts b/bindings/src/types/UnsignedTransaction.ts index 437085686..b98d2b095 100644 --- a/bindings/src/types/UnsignedTransaction.ts +++ b/bindings/src/types/UnsignedTransaction.ts @@ -3,4 +3,10 @@ import type { Epoch } from "./Epoch"; import type { Instruction } from "./Instruction"; import type { SubstateRequirement } from "./SubstateRequirement"; -export interface UnsignedTransaction { fee_instructions: Array, instructions: Array, inputs: Array, min_epoch: Epoch | null, max_epoch: Epoch | null, } \ No newline at end of file +export interface UnsignedTransaction { + fee_instructions: Array; + instructions: Array; + inputs: Array; + min_epoch: Epoch | null; + max_epoch: Epoch | null; +} diff --git a/bindings/src/types/ValidatorSignature.ts b/bindings/src/types/ValidatorSignature.ts index 0e74180da..2e4e82471 100644 --- a/bindings/src/types/ValidatorSignature.ts +++ b/bindings/src/types/ValidatorSignature.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ValidatorSignature { public_key: string, signature: {public_nonce : string, signature: string}, } \ No newline at end of file +export interface ValidatorSignature { + public_key: string; + signature: { public_nonce: string; signature: string }; +} diff --git a/bindings/src/types/Vault.ts b/bindings/src/types/Vault.ts index f32043467..79252c7e2 100644 --- a/bindings/src/types/Vault.ts +++ b/bindings/src/types/Vault.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ResourceContainer } from "./ResourceContainer"; -export interface Vault { resource_container: ResourceContainer, } \ No newline at end of file +export interface Vault { + resource_container: ResourceContainer; +} diff --git a/bindings/src/types/VaultId.ts b/bindings/src/types/VaultId.ts index c34ac4e60..781cfdc98 100644 --- a/bindings/src/types/VaultId.ts +++ b/bindings/src/types/VaultId.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type VaultId = string; \ No newline at end of file +export type VaultId = string; diff --git a/bindings/src/types/VersionedSubstateId.ts b/bindings/src/types/VersionedSubstateId.ts index 14dfc2377..0625834da 100644 --- a/bindings/src/types/VersionedSubstateId.ts +++ b/bindings/src/types/VersionedSubstateId.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "./SubstateId"; -export interface VersionedSubstateId { substate_id: SubstateId, version: number, } \ No newline at end of file +export interface VersionedSubstateId { + substate_id: SubstateId; + version: number; +} diff --git a/bindings/src/types/VersionedSubstateIdLockIntent.ts b/bindings/src/types/VersionedSubstateIdLockIntent.ts index 18fcbea31..d6029330c 100644 --- a/bindings/src/types/VersionedSubstateIdLockIntent.ts +++ b/bindings/src/types/VersionedSubstateIdLockIntent.ts @@ -2,4 +2,7 @@ import type { SubstateLockType } from "./SubstateLockType"; import type { VersionedSubstateId } from "./VersionedSubstateId"; -export interface VersionedSubstateIdLockIntent { versioned_substate_id: VersionedSubstateId, lock_type: SubstateLockType, } \ No newline at end of file +export interface VersionedSubstateIdLockIntent { + versioned_substate_id: VersionedSubstateId; + lock_type: SubstateLockType; +} diff --git a/bindings/src/types/ViewableBalanceProof.ts b/bindings/src/types/ViewableBalanceProof.ts index a4ecf9d5b..ae2f2e5ca 100644 --- a/bindings/src/types/ViewableBalanceProof.ts +++ b/bindings/src/types/ViewableBalanceProof.ts @@ -1,3 +1,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ViewableBalanceProof { elgamal_encrypted: Uint8Array, elgamal_public_nonce: Uint8Array, c_prime: Uint8Array, e_prime: Uint8Array, r_prime: Uint8Array, s_v: Uint8Array, s_m: Uint8Array, s_r: Uint8Array, } \ No newline at end of file +export interface ViewableBalanceProof { + elgamal_encrypted: Uint8Array; + elgamal_public_nonce: Uint8Array; + c_prime: Uint8Array; + e_prime: Uint8Array; + r_prime: Uint8Array; + s_v: Uint8Array; + s_m: Uint8Array; + s_r: Uint8Array; +} diff --git a/bindings/src/types/base-node-client/BaseLayerValidatorNode.ts b/bindings/src/types/base-node-client/BaseLayerValidatorNode.ts index b6113fa7e..2903b1dc4 100644 --- a/bindings/src/types/base-node-client/BaseLayerValidatorNode.ts +++ b/bindings/src/types/base-node-client/BaseLayerValidatorNode.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateAddress } from "../SubstateAddress"; -export interface BaseLayerValidatorNode { public_key: string, shard_key: SubstateAddress, sidechain_id: string, } \ No newline at end of file +export interface BaseLayerValidatorNode { + public_key: string; + shard_key: SubstateAddress; + sidechain_id: string; +} diff --git a/bindings/src/types/tari-indexer-client/GetNonFungibleCollectionsResponse.ts b/bindings/src/types/tari-indexer-client/GetNonFungibleCollectionsResponse.ts index e8558013e..0ba28b709 100644 --- a/bindings/src/types/tari-indexer-client/GetNonFungibleCollectionsResponse.ts +++ b/bindings/src/types/tari-indexer-client/GetNonFungibleCollectionsResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetNonFungibleCollectionsResponse { collections: Array<[string, number]>, } \ No newline at end of file +export interface GetNonFungibleCollectionsResponse { + collections: Array<[string, number]>; +} diff --git a/bindings/src/types/tari-indexer-client/GetNonFungibleCountRequest.ts b/bindings/src/types/tari-indexer-client/GetNonFungibleCountRequest.ts index 7abecbb97..2964ee232 100644 --- a/bindings/src/types/tari-indexer-client/GetNonFungibleCountRequest.ts +++ b/bindings/src/types/tari-indexer-client/GetNonFungibleCountRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface GetNonFungibleCountRequest { address: SubstateId, } \ No newline at end of file +export interface GetNonFungibleCountRequest { + address: SubstateId; +} diff --git a/bindings/src/types/tari-indexer-client/GetNonFungibleCountResponse.ts b/bindings/src/types/tari-indexer-client/GetNonFungibleCountResponse.ts index 398fa2ca9..32367e8db 100644 --- a/bindings/src/types/tari-indexer-client/GetNonFungibleCountResponse.ts +++ b/bindings/src/types/tari-indexer-client/GetNonFungibleCountResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetNonFungibleCountResponse { count: number, } \ No newline at end of file +export interface GetNonFungibleCountResponse { + count: number; +} diff --git a/bindings/src/types/tari-indexer-client/GetNonFungiblesRequest.ts b/bindings/src/types/tari-indexer-client/GetNonFungiblesRequest.ts index 5e4020ba8..4eae7dee1 100644 --- a/bindings/src/types/tari-indexer-client/GetNonFungiblesRequest.ts +++ b/bindings/src/types/tari-indexer-client/GetNonFungiblesRequest.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface GetNonFungiblesRequest { address: SubstateId, start_index: number, end_index: number, } \ No newline at end of file +export interface GetNonFungiblesRequest { + address: SubstateId; + start_index: number; + end_index: number; +} diff --git a/bindings/src/types/tari-indexer-client/GetNonFungiblesResponse.ts b/bindings/src/types/tari-indexer-client/GetNonFungiblesResponse.ts index 1e69ee3c1..d4feee936 100644 --- a/bindings/src/types/tari-indexer-client/GetNonFungiblesResponse.ts +++ b/bindings/src/types/tari-indexer-client/GetNonFungiblesResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NonFungibleSubstate } from "./NonFungibleSubstate"; -export interface GetNonFungiblesResponse { non_fungibles: Array, } \ No newline at end of file +export interface GetNonFungiblesResponse { + non_fungibles: Array; +} diff --git a/bindings/src/types/tari-indexer-client/GetRelatedTransactionsRequest.ts b/bindings/src/types/tari-indexer-client/GetRelatedTransactionsRequest.ts index 6aa9a6da8..c6ab76d83 100644 --- a/bindings/src/types/tari-indexer-client/GetRelatedTransactionsRequest.ts +++ b/bindings/src/types/tari-indexer-client/GetRelatedTransactionsRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface GetRelatedTransactionsRequest { address: SubstateId, version: number | null, } \ No newline at end of file +export interface GetRelatedTransactionsRequest { + address: SubstateId; + version: number | null; +} diff --git a/bindings/src/types/tari-indexer-client/GetRelatedTransactionsResponse.ts b/bindings/src/types/tari-indexer-client/GetRelatedTransactionsResponse.ts index 56979b0df..cd920c0f3 100644 --- a/bindings/src/types/tari-indexer-client/GetRelatedTransactionsResponse.ts +++ b/bindings/src/types/tari-indexer-client/GetRelatedTransactionsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexerTransactionFinalizedResult } from "./IndexerTransactionFinalizedResult"; -export interface GetRelatedTransactionsResponse { transaction_results: Array, } \ No newline at end of file +export interface GetRelatedTransactionsResponse { + transaction_results: Array; +} diff --git a/bindings/src/types/tari-indexer-client/GetTemplateDefinitionRequest.ts b/bindings/src/types/tari-indexer-client/GetTemplateDefinitionRequest.ts index 254c6528a..10a8b6ccd 100644 --- a/bindings/src/types/tari-indexer-client/GetTemplateDefinitionRequest.ts +++ b/bindings/src/types/tari-indexer-client/GetTemplateDefinitionRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetTemplateDefinitionRequest { template_address: string, } \ No newline at end of file +export interface GetTemplateDefinitionRequest { + template_address: string; +} diff --git a/bindings/src/types/tari-indexer-client/GetTemplateDefinitionResponse.ts b/bindings/src/types/tari-indexer-client/GetTemplateDefinitionResponse.ts index c3bf83ae7..70e54204d 100644 --- a/bindings/src/types/tari-indexer-client/GetTemplateDefinitionResponse.ts +++ b/bindings/src/types/tari-indexer-client/GetTemplateDefinitionResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TemplateDef } from "../TemplateDef"; -export interface GetTemplateDefinitionResponse { name: string, definition: TemplateDef, } \ No newline at end of file +export interface GetTemplateDefinitionResponse { + name: string; + definition: TemplateDef; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerAddPeerRequest.ts b/bindings/src/types/tari-indexer-client/IndexerAddPeerRequest.ts index 484c56866..33a38e4fa 100644 --- a/bindings/src/types/tari-indexer-client/IndexerAddPeerRequest.ts +++ b/bindings/src/types/tari-indexer-client/IndexerAddPeerRequest.ts @@ -1,3 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface IndexerAddPeerRequest { public_key: string, addresses: Array, wait_for_dial: boolean, } \ No newline at end of file +export interface IndexerAddPeerRequest { + public_key: string; + addresses: Array; + wait_for_dial: boolean; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerAddPeerResponse.ts b/bindings/src/types/tari-indexer-client/IndexerAddPeerResponse.ts index b5016fe6d..ab8ca012a 100644 --- a/bindings/src/types/tari-indexer-client/IndexerAddPeerResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerAddPeerResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type IndexerAddPeerResponse = Record; \ No newline at end of file +export type IndexerAddPeerResponse = Record; diff --git a/bindings/src/types/tari-indexer-client/IndexerConnection.ts b/bindings/src/types/tari-indexer-client/IndexerConnection.ts index 491a66c9f..e048e1c69 100644 --- a/bindings/src/types/tari-indexer-client/IndexerConnection.ts +++ b/bindings/src/types/tari-indexer-client/IndexerConnection.ts @@ -1,4 +1,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexerConnectionDirection } from "./IndexerConnectionDirection"; -export interface IndexerConnection { connection_id: string, peer_id: string, address: string, direction: IndexerConnectionDirection, age: {secs: number, nanos: number}, ping_latency: {secs: number, nanos: number} | null, user_agent: string | null, } \ No newline at end of file +export interface IndexerConnection { + connection_id: string; + peer_id: string; + address: string; + direction: IndexerConnectionDirection; + age: { secs: number; nanos: number }; + ping_latency: { secs: number; nanos: number } | null; + user_agent: string | null; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerConnectionDirection.ts b/bindings/src/types/tari-indexer-client/IndexerConnectionDirection.ts index 58408ba12..9d3afdd7a 100644 --- a/bindings/src/types/tari-indexer-client/IndexerConnectionDirection.ts +++ b/bindings/src/types/tari-indexer-client/IndexerConnectionDirection.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type IndexerConnectionDirection = "Inbound" | "Outbound"; \ No newline at end of file +export type IndexerConnectionDirection = "Inbound" | "Outbound"; diff --git a/bindings/src/types/tari-indexer-client/IndexerGetAllVnsRequest.ts b/bindings/src/types/tari-indexer-client/IndexerGetAllVnsRequest.ts index b3b92071c..888eb073c 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetAllVnsRequest.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetAllVnsRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface IndexerGetAllVnsRequest { epoch: Epoch, } \ No newline at end of file +export interface IndexerGetAllVnsRequest { + epoch: Epoch; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetAllVnsResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetAllVnsResponse.ts index ae38a32c0..24b586bb9 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetAllVnsResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetAllVnsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { BaseLayerValidatorNode } from "../base-node-client/BaseLayerValidatorNode"; -export interface IndexerGetAllVnsResponse { vns: Array, } \ No newline at end of file +export interface IndexerGetAllVnsResponse { + vns: Array; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetCommsStatsResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetCommsStatsResponse.ts index ff5f46198..5f5069657 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetCommsStatsResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetCommsStatsResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface IndexerGetCommsStatsResponse { connection_status: string, } \ No newline at end of file +export interface IndexerGetCommsStatsResponse { + connection_status: string; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetConnectionsResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetConnectionsResponse.ts index a0f6b567a..afc7c9253 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetConnectionsResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetConnectionsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexerConnection } from "./IndexerConnection"; -export interface IndexerGetConnectionsResponse { connections: Array, } \ No newline at end of file +export interface IndexerGetConnectionsResponse { + connections: Array; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetEpochManagerStatsResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetEpochManagerStatsResponse.ts index 5e836c643..99385e200 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetEpochManagerStatsResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetEpochManagerStatsResponse.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface IndexerGetEpochManagerStatsResponse { current_epoch: Epoch, current_block_height: number, current_block_hash: string, } \ No newline at end of file +export interface IndexerGetEpochManagerStatsResponse { + current_epoch: Epoch; + current_block_height: number; + current_block_hash: string; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetIdentityResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetIdentityResponse.ts index ce31830e5..c5c07c2c1 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetIdentityResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetIdentityResponse.ts @@ -1,3 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface IndexerGetIdentityResponse { peer_id: string, public_key: string, public_addresses: Array, } \ No newline at end of file +export interface IndexerGetIdentityResponse { + peer_id: string; + public_key: string; + public_addresses: Array; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetSubstateRequest.ts b/bindings/src/types/tari-indexer-client/IndexerGetSubstateRequest.ts index 4123301b9..f428297d4 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetSubstateRequest.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetSubstateRequest.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface IndexerGetSubstateRequest { address: SubstateId, version: number | null, local_search_only: boolean, } \ No newline at end of file +export interface IndexerGetSubstateRequest { + address: SubstateId; + version: number | null; + local_search_only: boolean; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetSubstateResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetSubstateResponse.ts index fa6408044..6db8a2c3d 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetSubstateResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetSubstateResponse.ts @@ -2,4 +2,9 @@ import type { Substate } from "../Substate"; import type { SubstateId } from "../SubstateId"; -export interface IndexerGetSubstateResponse { address: SubstateId, version: number, substate: Substate, created_by_transaction: string, } \ No newline at end of file +export interface IndexerGetSubstateResponse { + address: SubstateId; + version: number; + substate: Substate; + created_by_transaction: string; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultRequest.ts b/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultRequest.ts index b770eabf9..1b83eaf10 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultRequest.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface IndexerGetTransactionResultRequest { transaction_id: string, } \ No newline at end of file +export interface IndexerGetTransactionResultRequest { + transaction_id: string; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultResponse.ts b/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultResponse.ts index c4d974364..1bb01027c 100644 --- a/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerGetTransactionResultResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexerTransactionFinalizedResult } from "./IndexerTransactionFinalizedResult"; -export interface IndexerGetTransactionResultResponse { result: IndexerTransactionFinalizedResult, } \ No newline at end of file +export interface IndexerGetTransactionResultResponse { + result: IndexerTransactionFinalizedResult; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionRequest.ts b/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionRequest.ts index 6ba81ece1..55711de39 100644 --- a/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionRequest.ts +++ b/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionRequest.ts @@ -2,4 +2,8 @@ import type { SubstateRequirement } from "../SubstateRequirement"; import type { Transaction } from "../Transaction"; -export interface IndexerSubmitTransactionRequest { transaction: Transaction, required_substates: Array, is_dry_run: boolean, } \ No newline at end of file +export interface IndexerSubmitTransactionRequest { + transaction: Transaction; + required_substates: Array; + is_dry_run: boolean; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionResponse.ts b/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionResponse.ts index a92dab7dc..7c68496da 100644 --- a/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionResponse.ts +++ b/bindings/src/types/tari-indexer-client/IndexerSubmitTransactionResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { IndexerTransactionFinalizedResult } from "./IndexerTransactionFinalizedResult"; -export interface IndexerSubmitTransactionResponse { transaction_id: string, result: IndexerTransactionFinalizedResult, } \ No newline at end of file +export interface IndexerSubmitTransactionResponse { + transaction_id: string; + result: IndexerTransactionFinalizedResult; +} diff --git a/bindings/src/types/tari-indexer-client/IndexerTransactionFinalizedResult.ts b/bindings/src/types/tari-indexer-client/IndexerTransactionFinalizedResult.ts index b92a57cd7..d1fcfdca7 100644 --- a/bindings/src/types/tari-indexer-client/IndexerTransactionFinalizedResult.ts +++ b/bindings/src/types/tari-indexer-client/IndexerTransactionFinalizedResult.ts @@ -2,4 +2,15 @@ import type { Decision } from "../Decision"; import type { ExecuteResult } from "../ExecuteResult"; -export type IndexerTransactionFinalizedResult = "Pending" | { "Finalized": { final_decision: Decision, execution_result: ExecuteResult | null, execution_time: {secs: number, nanos: number}, finalized_time: {secs: number, nanos: number}, abort_details: string | null, json_results: Array, } }; \ No newline at end of file +export type IndexerTransactionFinalizedResult = + | "Pending" + | { + Finalized: { + final_decision: Decision; + execution_result: ExecuteResult | null; + execution_time: { secs: number; nanos: number }; + finalized_time: { secs: number; nanos: number }; + abort_details: string | null; + json_results: Array; + }; + }; diff --git a/bindings/src/types/tari-indexer-client/InspectSubstateRequest.ts b/bindings/src/types/tari-indexer-client/InspectSubstateRequest.ts index c39c7eca8..6f8b8f56d 100644 --- a/bindings/src/types/tari-indexer-client/InspectSubstateRequest.ts +++ b/bindings/src/types/tari-indexer-client/InspectSubstateRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface InspectSubstateRequest { address: SubstateId, version: number | null, } \ No newline at end of file +export interface InspectSubstateRequest { + address: SubstateId; + version: number | null; +} diff --git a/bindings/src/types/tari-indexer-client/InspectSubstateResponse.ts b/bindings/src/types/tari-indexer-client/InspectSubstateResponse.ts index 8cd9c712e..bf06a61a0 100644 --- a/bindings/src/types/tari-indexer-client/InspectSubstateResponse.ts +++ b/bindings/src/types/tari-indexer-client/InspectSubstateResponse.ts @@ -2,4 +2,9 @@ import type { Substate } from "../Substate"; import type { SubstateId } from "../SubstateId"; -export interface InspectSubstateResponse { address: SubstateId, version: number, substate: Substate, created_by_transaction: string, } \ No newline at end of file +export interface InspectSubstateResponse { + address: SubstateId; + version: number; + substate: Substate; + created_by_transaction: string; +} diff --git a/bindings/src/types/tari-indexer-client/ListSubstateItem.ts b/bindings/src/types/tari-indexer-client/ListSubstateItem.ts index 8ce0315f6..56e60ded7 100644 --- a/bindings/src/types/tari-indexer-client/ListSubstateItem.ts +++ b/bindings/src/types/tari-indexer-client/ListSubstateItem.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface ListSubstateItem { substate_id: SubstateId, module_name: string | null, version: number, template_address: string | null, timestamp: bigint, } \ No newline at end of file +export interface ListSubstateItem { + substate_id: SubstateId; + module_name: string | null; + version: number; + template_address: string | null; + timestamp: bigint; +} diff --git a/bindings/src/types/tari-indexer-client/ListSubstatesRequest.ts b/bindings/src/types/tari-indexer-client/ListSubstatesRequest.ts index 99f52dda3..44b339b16 100644 --- a/bindings/src/types/tari-indexer-client/ListSubstatesRequest.ts +++ b/bindings/src/types/tari-indexer-client/ListSubstatesRequest.ts @@ -1,4 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateType } from "../SubstateType"; -export interface ListSubstatesRequest { filter_by_template: string | null, filter_by_type: SubstateType | null, limit: bigint | null, offset: bigint | null, } \ No newline at end of file +export interface ListSubstatesRequest { + filter_by_template: string | null; + filter_by_type: SubstateType | null; + limit: bigint | null; + offset: bigint | null; +} diff --git a/bindings/src/types/tari-indexer-client/ListSubstatesResponse.ts b/bindings/src/types/tari-indexer-client/ListSubstatesResponse.ts index 19a24af21..81931d454 100644 --- a/bindings/src/types/tari-indexer-client/ListSubstatesResponse.ts +++ b/bindings/src/types/tari-indexer-client/ListSubstatesResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ListSubstateItem } from "./ListSubstateItem"; -export interface ListSubstatesResponse { substates: Array, } \ No newline at end of file +export interface ListSubstatesResponse { + substates: Array; +} diff --git a/bindings/src/types/tari-indexer-client/ListTemplatesRequest.ts b/bindings/src/types/tari-indexer-client/ListTemplatesRequest.ts index da68989dc..3be384557 100644 --- a/bindings/src/types/tari-indexer-client/ListTemplatesRequest.ts +++ b/bindings/src/types/tari-indexer-client/ListTemplatesRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ListTemplatesRequest { limit: number, } \ No newline at end of file +export interface ListTemplatesRequest { + limit: number; +} diff --git a/bindings/src/types/tari-indexer-client/ListTemplatesResponse.ts b/bindings/src/types/tari-indexer-client/ListTemplatesResponse.ts index dee83f20a..dc88c08c4 100644 --- a/bindings/src/types/tari-indexer-client/ListTemplatesResponse.ts +++ b/bindings/src/types/tari-indexer-client/ListTemplatesResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TemplateMetadata } from "../validator-node-client/TemplateMetadata"; -export interface ListTemplatesResponse { templates: Array, } \ No newline at end of file +export interface ListTemplatesResponse { + templates: Array; +} diff --git a/bindings/src/types/tari-indexer-client/NonFungibleSubstate.ts b/bindings/src/types/tari-indexer-client/NonFungibleSubstate.ts index bdd0a33f3..cf692ce8d 100644 --- a/bindings/src/types/tari-indexer-client/NonFungibleSubstate.ts +++ b/bindings/src/types/tari-indexer-client/NonFungibleSubstate.ts @@ -2,4 +2,8 @@ import type { Substate } from "../Substate"; import type { SubstateId } from "../SubstateId"; -export interface NonFungibleSubstate { index: number, address: SubstateId, substate: Substate, } \ No newline at end of file +export interface NonFungibleSubstate { + index: number; + address: SubstateId; + substate: Substate; +} diff --git a/bindings/src/types/validator-node-client/DryRunTransactionFinalizeResult.ts b/bindings/src/types/validator-node-client/DryRunTransactionFinalizeResult.ts index 4dc32ced5..33d16911e 100644 --- a/bindings/src/types/validator-node-client/DryRunTransactionFinalizeResult.ts +++ b/bindings/src/types/validator-node-client/DryRunTransactionFinalizeResult.ts @@ -3,4 +3,8 @@ import type { FeeCostBreakdown } from "../FeeCostBreakdown"; import type { FinalizeResult } from "../FinalizeResult"; import type { QuorumDecision } from "../QuorumDecision"; -export interface DryRunTransactionFinalizeResult { decision: QuorumDecision, finalize: FinalizeResult, fee_breakdown: FeeCostBreakdown | null, } \ No newline at end of file +export interface DryRunTransactionFinalizeResult { + decision: QuorumDecision; + finalize: FinalizeResult; + fee_breakdown: FeeCostBreakdown | null; +} diff --git a/bindings/src/types/validator-node-client/GetBlockRequest.ts b/bindings/src/types/validator-node-client/GetBlockRequest.ts index ce1c45b07..b66e759dc 100644 --- a/bindings/src/types/validator-node-client/GetBlockRequest.ts +++ b/bindings/src/types/validator-node-client/GetBlockRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetBlockRequest { block_id: string, } \ No newline at end of file +export interface GetBlockRequest { + block_id: string; +} diff --git a/bindings/src/types/validator-node-client/GetBlockResponse.ts b/bindings/src/types/validator-node-client/GetBlockResponse.ts index 6bba4c962..8d2385f54 100644 --- a/bindings/src/types/validator-node-client/GetBlockResponse.ts +++ b/bindings/src/types/validator-node-client/GetBlockResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Block } from "../Block"; -export interface GetBlockResponse { block: Block, } \ No newline at end of file +export interface GetBlockResponse { + block: Block; +} diff --git a/bindings/src/types/validator-node-client/GetBlocksCountResponse.ts b/bindings/src/types/validator-node-client/GetBlocksCountResponse.ts index b63452231..8202452d5 100644 --- a/bindings/src/types/validator-node-client/GetBlocksCountResponse.ts +++ b/bindings/src/types/validator-node-client/GetBlocksCountResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetBlocksCountResponse { count: number, } \ No newline at end of file +export interface GetBlocksCountResponse { + count: number; +} diff --git a/bindings/src/types/validator-node-client/GetBlocksRequest.ts b/bindings/src/types/validator-node-client/GetBlocksRequest.ts index 617738ee9..5c48e9a77 100644 --- a/bindings/src/types/validator-node-client/GetBlocksRequest.ts +++ b/bindings/src/types/validator-node-client/GetBlocksRequest.ts @@ -1,4 +1,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Ordering } from "../Ordering"; -export interface GetBlocksRequest { limit: number, offset: number, ordering_index: number | null, ordering: Ordering | null, filter_index: number | null, filter: string | null, } \ No newline at end of file +export interface GetBlocksRequest { + limit: number; + offset: number; + ordering_index: number | null; + ordering: Ordering | null; + filter_index: number | null; + filter: string | null; +} diff --git a/bindings/src/types/validator-node-client/GetBlocksResponse.ts b/bindings/src/types/validator-node-client/GetBlocksResponse.ts index e161ab359..44d57176f 100644 --- a/bindings/src/types/validator-node-client/GetBlocksResponse.ts +++ b/bindings/src/types/validator-node-client/GetBlocksResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Block } from "../Block"; -export interface GetBlocksResponse { blocks: Array, } \ No newline at end of file +export interface GetBlocksResponse { + blocks: Array; +} diff --git a/bindings/src/types/validator-node-client/GetCommitteeRequest.ts b/bindings/src/types/validator-node-client/GetCommitteeRequest.ts index d42b1e0ac..3cce72823 100644 --- a/bindings/src/types/validator-node-client/GetCommitteeRequest.ts +++ b/bindings/src/types/validator-node-client/GetCommitteeRequest.ts @@ -2,4 +2,7 @@ import type { Epoch } from "../Epoch"; import type { SubstateAddress } from "../SubstateAddress"; -export interface GetCommitteeRequest { epoch: Epoch, substate_address: SubstateAddress, } \ No newline at end of file +export interface GetCommitteeRequest { + epoch: Epoch; + substate_address: SubstateAddress; +} diff --git a/bindings/src/types/validator-node-client/GetCommitteeResponse.ts b/bindings/src/types/validator-node-client/GetCommitteeResponse.ts index 64dcb357b..0ea6c2efb 100644 --- a/bindings/src/types/validator-node-client/GetCommitteeResponse.ts +++ b/bindings/src/types/validator-node-client/GetCommitteeResponse.ts @@ -2,4 +2,6 @@ import type { Committee } from "../Committee"; import type { PeerAddress } from "../PeerAddress"; -export interface GetCommitteeResponse { committee: Committee, } \ No newline at end of file +export interface GetCommitteeResponse { + committee: Committee; +} diff --git a/bindings/src/types/validator-node-client/GetEpochManagerStatsResponse.ts b/bindings/src/types/validator-node-client/GetEpochManagerStatsResponse.ts index 7b4c6a185..3a835902f 100644 --- a/bindings/src/types/validator-node-client/GetEpochManagerStatsResponse.ts +++ b/bindings/src/types/validator-node-client/GetEpochManagerStatsResponse.ts @@ -2,4 +2,10 @@ import type { CommitteeInfo } from "../CommitteeInfo"; import type { Epoch } from "../Epoch"; -export interface GetEpochManagerStatsResponse { current_epoch: Epoch, current_block_height: number, current_block_hash: string, is_valid: boolean, committee_info: CommitteeInfo | null, } \ No newline at end of file +export interface GetEpochManagerStatsResponse { + current_epoch: Epoch; + current_block_height: number; + current_block_hash: string; + is_valid: boolean; + committee_info: CommitteeInfo | null; +} diff --git a/bindings/src/types/validator-node-client/GetFilteredBlocksCountRequest.ts b/bindings/src/types/validator-node-client/GetFilteredBlocksCountRequest.ts index 8eca89108..bc527525a 100644 --- a/bindings/src/types/validator-node-client/GetFilteredBlocksCountRequest.ts +++ b/bindings/src/types/validator-node-client/GetFilteredBlocksCountRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetFilteredBlocksCountRequest { filter_index: number | null, filter: string | null, } \ No newline at end of file +export interface GetFilteredBlocksCountRequest { + filter_index: number | null; + filter: string | null; +} diff --git a/bindings/src/types/validator-node-client/GetMempoolStatsResponse.ts b/bindings/src/types/validator-node-client/GetMempoolStatsResponse.ts index 2927124aa..3076d12f8 100644 --- a/bindings/src/types/validator-node-client/GetMempoolStatsResponse.ts +++ b/bindings/src/types/validator-node-client/GetMempoolStatsResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetMempoolStatsResponse { size: number, } \ No newline at end of file +export interface GetMempoolStatsResponse { + size: number; +} diff --git a/bindings/src/types/validator-node-client/GetNetworkCommitteeResponse.ts b/bindings/src/types/validator-node-client/GetNetworkCommitteeResponse.ts index 40e87ff32..9bf81c3fd 100644 --- a/bindings/src/types/validator-node-client/GetNetworkCommitteeResponse.ts +++ b/bindings/src/types/validator-node-client/GetNetworkCommitteeResponse.ts @@ -2,4 +2,7 @@ import type { Epoch } from "../Epoch"; import type { VNCommitteeShardInfo } from "./VNCommitteeShardInfo"; -export interface GetNetworkCommitteeResponse { current_epoch: Epoch, committees: Array, } \ No newline at end of file +export interface GetNetworkCommitteeResponse { + current_epoch: Epoch; + committees: Array; +} diff --git a/bindings/src/types/validator-node-client/GetRecentTransactionsRequest.ts b/bindings/src/types/validator-node-client/GetRecentTransactionsRequest.ts index c6d3f842b..6db8a1cef 100644 --- a/bindings/src/types/validator-node-client/GetRecentTransactionsRequest.ts +++ b/bindings/src/types/validator-node-client/GetRecentTransactionsRequest.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type GetRecentTransactionsRequest = Record; \ No newline at end of file +export type GetRecentTransactionsRequest = Record; diff --git a/bindings/src/types/validator-node-client/GetRecentTransactionsResponse.ts b/bindings/src/types/validator-node-client/GetRecentTransactionsResponse.ts index 6d177f96d..af216a617 100644 --- a/bindings/src/types/validator-node-client/GetRecentTransactionsResponse.ts +++ b/bindings/src/types/validator-node-client/GetRecentTransactionsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Transaction } from "../Transaction"; -export interface GetRecentTransactionsResponse { transactions: Array, } \ No newline at end of file +export interface GetRecentTransactionsResponse { + transactions: Array; +} diff --git a/bindings/src/types/validator-node-client/GetShardKeyRequest.ts b/bindings/src/types/validator-node-client/GetShardKeyRequest.ts index 4217c5790..4461c5aed 100644 --- a/bindings/src/types/validator-node-client/GetShardKeyRequest.ts +++ b/bindings/src/types/validator-node-client/GetShardKeyRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetShardKeyRequest { height: number, public_key: string, } \ No newline at end of file +export interface GetShardKeyRequest { + height: number; + public_key: string; +} diff --git a/bindings/src/types/validator-node-client/GetShardKeyResponse.ts b/bindings/src/types/validator-node-client/GetShardKeyResponse.ts index b8e5d5fcb..762551766 100644 --- a/bindings/src/types/validator-node-client/GetShardKeyResponse.ts +++ b/bindings/src/types/validator-node-client/GetShardKeyResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateAddress } from "../SubstateAddress"; -export interface GetShardKeyResponse { shard_key: SubstateAddress | null, } \ No newline at end of file +export interface GetShardKeyResponse { + shard_key: SubstateAddress | null; +} diff --git a/bindings/src/types/validator-node-client/GetStateRequest.ts b/bindings/src/types/validator-node-client/GetStateRequest.ts index 951a100f5..872f17940 100644 --- a/bindings/src/types/validator-node-client/GetStateRequest.ts +++ b/bindings/src/types/validator-node-client/GetStateRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateAddress } from "../SubstateAddress"; -export interface GetStateRequest { address: SubstateAddress, } \ No newline at end of file +export interface GetStateRequest { + address: SubstateAddress; +} diff --git a/bindings/src/types/validator-node-client/GetStateResponse.ts b/bindings/src/types/validator-node-client/GetStateResponse.ts index 1dc56b49f..e20666b2e 100644 --- a/bindings/src/types/validator-node-client/GetStateResponse.ts +++ b/bindings/src/types/validator-node-client/GetStateResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetStateResponse { data: Array, } \ No newline at end of file +export interface GetStateResponse { + data: Array; +} diff --git a/bindings/src/types/validator-node-client/GetSubstatesByTransactionRequest.ts b/bindings/src/types/validator-node-client/GetSubstatesByTransactionRequest.ts index c8f29efee..f3578ed53 100644 --- a/bindings/src/types/validator-node-client/GetSubstatesByTransactionRequest.ts +++ b/bindings/src/types/validator-node-client/GetSubstatesByTransactionRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetSubstatesByTransactionRequest { transaction_id: string, } \ No newline at end of file +export interface GetSubstatesByTransactionRequest { + transaction_id: string; +} diff --git a/bindings/src/types/validator-node-client/GetSubstatesByTransactionResponse.ts b/bindings/src/types/validator-node-client/GetSubstatesByTransactionResponse.ts index 8970a5768..0e8080095 100644 --- a/bindings/src/types/validator-node-client/GetSubstatesByTransactionResponse.ts +++ b/bindings/src/types/validator-node-client/GetSubstatesByTransactionResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateRecord } from "../SubstateRecord"; -export interface GetSubstatesByTransactionResponse { substates: Array, } \ No newline at end of file +export interface GetSubstatesByTransactionResponse { + substates: Array; +} diff --git a/bindings/src/types/validator-node-client/GetTemplateRequest.ts b/bindings/src/types/validator-node-client/GetTemplateRequest.ts index 61cc24ab0..cc387340e 100644 --- a/bindings/src/types/validator-node-client/GetTemplateRequest.ts +++ b/bindings/src/types/validator-node-client/GetTemplateRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetTemplateRequest { template_address: string, } \ No newline at end of file +export interface GetTemplateRequest { + template_address: string; +} diff --git a/bindings/src/types/validator-node-client/GetTemplateResponse.ts b/bindings/src/types/validator-node-client/GetTemplateResponse.ts index 80616130f..00f651469 100644 --- a/bindings/src/types/validator-node-client/GetTemplateResponse.ts +++ b/bindings/src/types/validator-node-client/GetTemplateResponse.ts @@ -2,4 +2,7 @@ import type { TemplateAbi } from "./TemplateAbi"; import type { TemplateMetadata } from "./TemplateMetadata"; -export interface GetTemplateResponse { registration_metadata: TemplateMetadata, abi: TemplateAbi, } \ No newline at end of file +export interface GetTemplateResponse { + registration_metadata: TemplateMetadata; + abi: TemplateAbi; +} diff --git a/bindings/src/types/validator-node-client/GetTemplatesRequest.ts b/bindings/src/types/validator-node-client/GetTemplatesRequest.ts index f5441874c..a8e40e6c0 100644 --- a/bindings/src/types/validator-node-client/GetTemplatesRequest.ts +++ b/bindings/src/types/validator-node-client/GetTemplatesRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetTemplatesRequest { limit: number, } \ No newline at end of file +export interface GetTemplatesRequest { + limit: number; +} diff --git a/bindings/src/types/validator-node-client/GetTemplatesResponse.ts b/bindings/src/types/validator-node-client/GetTemplatesResponse.ts index b9cf9084a..a2b3be816 100644 --- a/bindings/src/types/validator-node-client/GetTemplatesResponse.ts +++ b/bindings/src/types/validator-node-client/GetTemplatesResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TemplateMetadata } from "./TemplateMetadata"; -export interface GetTemplatesResponse { templates: Array, } \ No newline at end of file +export interface GetTemplatesResponse { + templates: Array; +} diff --git a/bindings/src/types/validator-node-client/GetTransactionRequest.ts b/bindings/src/types/validator-node-client/GetTransactionRequest.ts index 4a85720e8..dd65db5c5 100644 --- a/bindings/src/types/validator-node-client/GetTransactionRequest.ts +++ b/bindings/src/types/validator-node-client/GetTransactionRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface GetTransactionRequest { transaction_id: string, } \ No newline at end of file +export interface GetTransactionRequest { + transaction_id: string; +} diff --git a/bindings/src/types/validator-node-client/GetTransactionResponse.ts b/bindings/src/types/validator-node-client/GetTransactionResponse.ts index 9ca44a4cc..42904c0ab 100644 --- a/bindings/src/types/validator-node-client/GetTransactionResponse.ts +++ b/bindings/src/types/validator-node-client/GetTransactionResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExecutedTransaction } from "../ExecutedTransaction"; -export interface GetTransactionResponse { transaction: ExecutedTransaction, } \ No newline at end of file +export interface GetTransactionResponse { + transaction: ExecutedTransaction; +} diff --git a/bindings/src/types/validator-node-client/GetTxPoolResponse.ts b/bindings/src/types/validator-node-client/GetTxPoolResponse.ts index 02d7a34ea..a43bbec31 100644 --- a/bindings/src/types/validator-node-client/GetTxPoolResponse.ts +++ b/bindings/src/types/validator-node-client/GetTxPoolResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TransactionPoolRecord } from "../TransactionPoolRecord"; -export interface GetTxPoolResponse { tx_pool: Array, } \ No newline at end of file +export interface GetTxPoolResponse { + tx_pool: Array; +} diff --git a/bindings/src/types/validator-node-client/ListBlocksRequest.ts b/bindings/src/types/validator-node-client/ListBlocksRequest.ts index d8b7068b1..0c247b5b2 100644 --- a/bindings/src/types/validator-node-client/ListBlocksRequest.ts +++ b/bindings/src/types/validator-node-client/ListBlocksRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ListBlocksRequest { from_id: string | null, limit: number, } \ No newline at end of file +export interface ListBlocksRequest { + from_id: string | null; + limit: number; +} diff --git a/bindings/src/types/validator-node-client/ListBlocksResponse.ts b/bindings/src/types/validator-node-client/ListBlocksResponse.ts index 53bbb2197..f548d0668 100644 --- a/bindings/src/types/validator-node-client/ListBlocksResponse.ts +++ b/bindings/src/types/validator-node-client/ListBlocksResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Block } from "../Block"; -export interface ListBlocksResponse { blocks: Array, } \ No newline at end of file +export interface ListBlocksResponse { + blocks: Array; +} diff --git a/bindings/src/types/validator-node-client/SubstateStatus.ts b/bindings/src/types/validator-node-client/SubstateStatus.ts index 2f1191e19..41a04febd 100644 --- a/bindings/src/types/validator-node-client/SubstateStatus.ts +++ b/bindings/src/types/validator-node-client/SubstateStatus.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SubstateStatus = "Up" | "Down" | "DoesNotExist"; \ No newline at end of file +export type SubstateStatus = "Up" | "Down" | "DoesNotExist"; diff --git a/bindings/src/types/validator-node-client/TemplateAbi.ts b/bindings/src/types/validator-node-client/TemplateAbi.ts index 3aae2f672..cdb3fe3c2 100644 --- a/bindings/src/types/validator-node-client/TemplateAbi.ts +++ b/bindings/src/types/validator-node-client/TemplateAbi.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VNFunctionDef } from "./VNFunctionDef"; -export interface TemplateAbi { template_name: string, functions: Array, version: string, } \ No newline at end of file +export interface TemplateAbi { + template_name: string; + functions: Array; + version: string; +} diff --git a/bindings/src/types/validator-node-client/TemplateMetadata.ts b/bindings/src/types/validator-node-client/TemplateMetadata.ts index 7298673e0..783cbb6bc 100644 --- a/bindings/src/types/validator-node-client/TemplateMetadata.ts +++ b/bindings/src/types/validator-node-client/TemplateMetadata.ts @@ -1,3 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TemplateMetadata { name: string, address: string, url: string, binary_sha: Array, height: number, } \ No newline at end of file +export interface TemplateMetadata { + name: string; + address: string; + url: string; + binary_sha: Array; + height: number; +} diff --git a/bindings/src/types/validator-node-client/VNAddPeerRequest.ts b/bindings/src/types/validator-node-client/VNAddPeerRequest.ts index 664c48da8..0d11938a7 100644 --- a/bindings/src/types/validator-node-client/VNAddPeerRequest.ts +++ b/bindings/src/types/validator-node-client/VNAddPeerRequest.ts @@ -1,3 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface VNAddPeerRequest { public_key: string, addresses: Array, wait_for_dial: boolean, } \ No newline at end of file +export interface VNAddPeerRequest { + public_key: string; + addresses: Array; + wait_for_dial: boolean; +} diff --git a/bindings/src/types/validator-node-client/VNAddPeerResponse.ts b/bindings/src/types/validator-node-client/VNAddPeerResponse.ts index 2111724c2..2a4b40aea 100644 --- a/bindings/src/types/validator-node-client/VNAddPeerResponse.ts +++ b/bindings/src/types/validator-node-client/VNAddPeerResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type VNAddPeerResponse = Record; \ No newline at end of file +export type VNAddPeerResponse = Record; diff --git a/bindings/src/types/validator-node-client/VNArgDef.ts b/bindings/src/types/validator-node-client/VNArgDef.ts index 363a505e7..37a04bcb4 100644 --- a/bindings/src/types/validator-node-client/VNArgDef.ts +++ b/bindings/src/types/validator-node-client/VNArgDef.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface VNArgDef { name: string, arg_type: string, } \ No newline at end of file +export interface VNArgDef { + name: string; + arg_type: string; +} diff --git a/bindings/src/types/validator-node-client/VNCommitteeShardInfo.ts b/bindings/src/types/validator-node-client/VNCommitteeShardInfo.ts index 4eab70c0a..cf1259643 100644 --- a/bindings/src/types/validator-node-client/VNCommitteeShardInfo.ts +++ b/bindings/src/types/validator-node-client/VNCommitteeShardInfo.ts @@ -2,4 +2,8 @@ import type { SubstateAddress } from "../SubstateAddress"; import type { ValidatorNode } from "./ValidatorNode"; -export interface VNCommitteeShardInfo { shard: number, substate_address_range: { start: SubstateAddress, end: SubstateAddress, }, validators: Array, } \ No newline at end of file +export interface VNCommitteeShardInfo { + shard: number; + substate_address_range: { start: SubstateAddress; end: SubstateAddress }; + validators: Array; +} diff --git a/bindings/src/types/validator-node-client/VNConnection.ts b/bindings/src/types/validator-node-client/VNConnection.ts index 975cd78c7..80b512b19 100644 --- a/bindings/src/types/validator-node-client/VNConnection.ts +++ b/bindings/src/types/validator-node-client/VNConnection.ts @@ -1,4 +1,12 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VNConnectionDirection } from "./VNConnectionDirection"; -export interface VNConnection { connection_id: string, peer_id: string, address: string, direction: VNConnectionDirection, age: {secs: number, nanos: number}, ping_latency: {secs: number, nanos: number} | null, user_agent: string | null, } \ No newline at end of file +export interface VNConnection { + connection_id: string; + peer_id: string; + address: string; + direction: VNConnectionDirection; + age: { secs: number; nanos: number }; + ping_latency: { secs: number; nanos: number } | null; + user_agent: string | null; +} diff --git a/bindings/src/types/validator-node-client/VNConnectionDirection.ts b/bindings/src/types/validator-node-client/VNConnectionDirection.ts index 09ac40a5b..a770598e5 100644 --- a/bindings/src/types/validator-node-client/VNConnectionDirection.ts +++ b/bindings/src/types/validator-node-client/VNConnectionDirection.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type VNConnectionDirection = "Inbound" | "Outbound"; \ No newline at end of file +export type VNConnectionDirection = "Inbound" | "Outbound"; diff --git a/bindings/src/types/validator-node-client/VNFunctionDef.ts b/bindings/src/types/validator-node-client/VNFunctionDef.ts index 721a536f7..e7880bf66 100644 --- a/bindings/src/types/validator-node-client/VNFunctionDef.ts +++ b/bindings/src/types/validator-node-client/VNFunctionDef.ts @@ -1,4 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VNArgDef } from "./VNArgDef"; -export interface VNFunctionDef { name: string, arguments: Array, output: string, is_mut: boolean, } \ No newline at end of file +export interface VNFunctionDef { + name: string; + arguments: Array; + output: string; + is_mut: boolean; +} diff --git a/bindings/src/types/validator-node-client/VNGetAllVnsRequest.ts b/bindings/src/types/validator-node-client/VNGetAllVnsRequest.ts index b2f22161f..3247968c8 100644 --- a/bindings/src/types/validator-node-client/VNGetAllVnsRequest.ts +++ b/bindings/src/types/validator-node-client/VNGetAllVnsRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface VNGetAllVnsRequest { epoch: Epoch, } \ No newline at end of file +export interface VNGetAllVnsRequest { + epoch: Epoch; +} diff --git a/bindings/src/types/validator-node-client/VNGetAllVnsResponse.ts b/bindings/src/types/validator-node-client/VNGetAllVnsResponse.ts index 8845e6653..abf52509e 100644 --- a/bindings/src/types/validator-node-client/VNGetAllVnsResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetAllVnsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { BaseLayerValidatorNode } from "../base-node-client/BaseLayerValidatorNode"; -export interface VNGetAllVnsResponse { vns: Array, } \ No newline at end of file +export interface VNGetAllVnsResponse { + vns: Array; +} diff --git a/bindings/src/types/validator-node-client/VNGetCommsStatsResponse.ts b/bindings/src/types/validator-node-client/VNGetCommsStatsResponse.ts index aee9e9d97..f357ddbdd 100644 --- a/bindings/src/types/validator-node-client/VNGetCommsStatsResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetCommsStatsResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface VNGetCommsStatsResponse { connection_status: string, } \ No newline at end of file +export interface VNGetCommsStatsResponse { + connection_status: string; +} diff --git a/bindings/src/types/validator-node-client/VNGetConnectionsResponse.ts b/bindings/src/types/validator-node-client/VNGetConnectionsResponse.ts index ad56f3936..c1a690536 100644 --- a/bindings/src/types/validator-node-client/VNGetConnectionsResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetConnectionsResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VNConnection } from "./VNConnection"; -export interface VNGetConnectionsResponse { connections: Array, } \ No newline at end of file +export interface VNGetConnectionsResponse { + connections: Array; +} diff --git a/bindings/src/types/validator-node-client/VNGetIdentityResponse.ts b/bindings/src/types/validator-node-client/VNGetIdentityResponse.ts index a5391a3b3..45a57ddf8 100644 --- a/bindings/src/types/validator-node-client/VNGetIdentityResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetIdentityResponse.ts @@ -1,3 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface VNGetIdentityResponse { peer_id: string, public_key: string, public_addresses: Array, supported_protocols: Array, protocol_version: string, user_agent: string, } \ No newline at end of file +export interface VNGetIdentityResponse { + peer_id: string; + public_key: string; + public_addresses: Array; + supported_protocols: Array; + protocol_version: string; + user_agent: string; +} diff --git a/bindings/src/types/validator-node-client/VNGetSubstateRequest.ts b/bindings/src/types/validator-node-client/VNGetSubstateRequest.ts index b1865a87b..6c89c885f 100644 --- a/bindings/src/types/validator-node-client/VNGetSubstateRequest.ts +++ b/bindings/src/types/validator-node-client/VNGetSubstateRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface VNGetSubstateRequest { address: SubstateId, version: number, } \ No newline at end of file +export interface VNGetSubstateRequest { + address: SubstateId; + version: number; +} diff --git a/bindings/src/types/validator-node-client/VNGetSubstateResponse.ts b/bindings/src/types/validator-node-client/VNGetSubstateResponse.ts index 134ffe508..dc3298d67 100644 --- a/bindings/src/types/validator-node-client/VNGetSubstateResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetSubstateResponse.ts @@ -2,4 +2,8 @@ import type { SubstateStatus } from "./SubstateStatus"; import type { SubstateValue } from "../SubstateValue"; -export interface VNGetSubstateResponse { value: SubstateValue | null, created_by_tx: string | null, status: SubstateStatus, } \ No newline at end of file +export interface VNGetSubstateResponse { + value: SubstateValue | null; + created_by_tx: string | null; + status: SubstateStatus; +} diff --git a/bindings/src/types/validator-node-client/VNGetTransactionResultRequest.ts b/bindings/src/types/validator-node-client/VNGetTransactionResultRequest.ts index 97197d560..ae01f3e30 100644 --- a/bindings/src/types/validator-node-client/VNGetTransactionResultRequest.ts +++ b/bindings/src/types/validator-node-client/VNGetTransactionResultRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface VNGetTransactionResultRequest { transaction_id: string, } \ No newline at end of file +export interface VNGetTransactionResultRequest { + transaction_id: string; +} diff --git a/bindings/src/types/validator-node-client/VNGetTransactionResultResponse.ts b/bindings/src/types/validator-node-client/VNGetTransactionResultResponse.ts index aaaf9e7c4..dc9dd1e32 100644 --- a/bindings/src/types/validator-node-client/VNGetTransactionResultResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetTransactionResultResponse.ts @@ -2,4 +2,9 @@ import type { Decision } from "../Decision"; import type { ExecuteResult } from "../ExecuteResult"; -export interface VNGetTransactionResultResponse { result: ExecuteResult | null, final_decision: Decision | null, finalized_time: {secs: number, nanos: number} | null, execution_time: {secs: number, nanos: number} | null, } \ No newline at end of file +export interface VNGetTransactionResultResponse { + result: ExecuteResult | null; + final_decision: Decision | null; + finalized_time: { secs: number; nanos: number } | null; + execution_time: { secs: number; nanos: number } | null; +} diff --git a/bindings/src/types/validator-node-client/VNGetValidatorFeesRequest.ts b/bindings/src/types/validator-node-client/VNGetValidatorFeesRequest.ts index 46e71ae73..bb7354c01 100644 --- a/bindings/src/types/validator-node-client/VNGetValidatorFeesRequest.ts +++ b/bindings/src/types/validator-node-client/VNGetValidatorFeesRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface VNGetValidatorFeesRequest { epoch_range: { start: Epoch, end: Epoch, }, validator_public_key: string, } \ No newline at end of file +export interface VNGetValidatorFeesRequest { + epoch_range: { start: Epoch; end: Epoch }; + validator_public_key: string; +} diff --git a/bindings/src/types/validator-node-client/VNGetValidatorFeesResponse.ts b/bindings/src/types/validator-node-client/VNGetValidatorFeesResponse.ts index ffcb82d5e..f4ca84833 100644 --- a/bindings/src/types/validator-node-client/VNGetValidatorFeesResponse.ts +++ b/bindings/src/types/validator-node-client/VNGetValidatorFeesResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ValidatorFee } from "./ValidatorFee"; -export interface VNGetValidatorFeesResponse { fees: Array, } \ No newline at end of file +export interface VNGetValidatorFeesResponse { + fees: Array; +} diff --git a/bindings/src/types/validator-node-client/VNLogEntry.ts b/bindings/src/types/validator-node-client/VNLogEntry.ts index 484000a65..dca464f93 100644 --- a/bindings/src/types/validator-node-client/VNLogEntry.ts +++ b/bindings/src/types/validator-node-client/VNLogEntry.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VNLogLevel } from "./VNLogLevel"; -export interface VNLogEntry { timestamp: number, message: string, level: VNLogLevel, } \ No newline at end of file +export interface VNLogEntry { + timestamp: number; + message: string; + level: VNLogLevel; +} diff --git a/bindings/src/types/validator-node-client/VNLogLevel.ts b/bindings/src/types/validator-node-client/VNLogLevel.ts index 6ee6ba9db..2e546d0c6 100644 --- a/bindings/src/types/validator-node-client/VNLogLevel.ts +++ b/bindings/src/types/validator-node-client/VNLogLevel.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type VNLogLevel = "Error" | "Warn" | "Info" | "Debug"; \ No newline at end of file +export type VNLogLevel = "Error" | "Warn" | "Info" | "Debug"; diff --git a/bindings/src/types/validator-node-client/VNSubmitTransactionRequest.ts b/bindings/src/types/validator-node-client/VNSubmitTransactionRequest.ts index 53f467f44..aab90662f 100644 --- a/bindings/src/types/validator-node-client/VNSubmitTransactionRequest.ts +++ b/bindings/src/types/validator-node-client/VNSubmitTransactionRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Transaction } from "../Transaction"; -export interface VNSubmitTransactionRequest { transaction: Transaction, is_dry_run: boolean, } \ No newline at end of file +export interface VNSubmitTransactionRequest { + transaction: Transaction; + is_dry_run: boolean; +} diff --git a/bindings/src/types/validator-node-client/VNSubmitTransactionResponse.ts b/bindings/src/types/validator-node-client/VNSubmitTransactionResponse.ts index 9f6ecd51a..b32b6f171 100644 --- a/bindings/src/types/validator-node-client/VNSubmitTransactionResponse.ts +++ b/bindings/src/types/validator-node-client/VNSubmitTransactionResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { DryRunTransactionFinalizeResult } from "./DryRunTransactionFinalizeResult"; -export interface VNSubmitTransactionResponse { transaction_id: string, dry_run_result: DryRunTransactionFinalizeResult | null, } \ No newline at end of file +export interface VNSubmitTransactionResponse { + transaction_id: string; + dry_run_result: DryRunTransactionFinalizeResult | null; +} diff --git a/bindings/src/types/validator-node-client/ValidatorFee.ts b/bindings/src/types/validator-node-client/ValidatorFee.ts index 60fbec292..6225e75cd 100644 --- a/bindings/src/types/validator-node-client/ValidatorFee.ts +++ b/bindings/src/types/validator-node-client/ValidatorFee.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface ValidatorFee { validator_public_key: string, epoch: Epoch, block_id: string, total_fee_due: number, total_transaction_fee: number, } \ No newline at end of file +export interface ValidatorFee { + validator_public_key: string; + epoch: Epoch; + block_id: string; + total_fee_due: number; + total_transaction_fee: number; +} diff --git a/bindings/src/types/validator-node-client/ValidatorNode.ts b/bindings/src/types/validator-node-client/ValidatorNode.ts index b8d5af83a..47efb1591 100644 --- a/bindings/src/types/validator-node-client/ValidatorNode.ts +++ b/bindings/src/types/validator-node-client/ValidatorNode.ts @@ -2,4 +2,11 @@ import type { Epoch } from "../Epoch"; import type { SubstateAddress } from "../SubstateAddress"; -export interface ValidatorNode { address: string, public_key: string, shard_key: SubstateAddress, start_epoch: Epoch, end_epoch: Epoch, fee_claim_public_key: string, } \ No newline at end of file +export interface ValidatorNode { + address: string; + public_key: string; + shard_key: SubstateAddress; + start_epoch: Epoch; + end_epoch: Epoch; + fee_claim_public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountGetDefaultRequest.ts b/bindings/src/types/wallet-daemon-client/AccountGetDefaultRequest.ts index 69ad9854b..bc436edc5 100644 --- a/bindings/src/types/wallet-daemon-client/AccountGetDefaultRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountGetDefaultRequest.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AccountGetDefaultRequest = Record; \ No newline at end of file +export type AccountGetDefaultRequest = Record; diff --git a/bindings/src/types/wallet-daemon-client/AccountGetRequest.ts b/bindings/src/types/wallet-daemon-client/AccountGetRequest.ts index 09ef0fb0f..6fc79f1f6 100644 --- a/bindings/src/types/wallet-daemon-client/AccountGetRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountGetRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface AccountGetRequest { name_or_address: ComponentAddressOrName, } \ No newline at end of file +export interface AccountGetRequest { + name_or_address: ComponentAddressOrName; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountGetResponse.ts b/bindings/src/types/wallet-daemon-client/AccountGetResponse.ts index d92e69b43..4a04f2d67 100644 --- a/bindings/src/types/wallet-daemon-client/AccountGetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountGetResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Account } from "../Account"; -export interface AccountGetResponse { account: Account, public_key: string, } \ No newline at end of file +export interface AccountGetResponse { + account: Account; + public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountInfo.ts b/bindings/src/types/wallet-daemon-client/AccountInfo.ts index 818513a33..b779f6aa5 100644 --- a/bindings/src/types/wallet-daemon-client/AccountInfo.ts +++ b/bindings/src/types/wallet-daemon-client/AccountInfo.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Account } from "../Account"; -export interface AccountInfo { account: Account, public_key: string, } \ No newline at end of file +export interface AccountInfo { + account: Account; + public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountSetDefaultRequest.ts b/bindings/src/types/wallet-daemon-client/AccountSetDefaultRequest.ts index 4b07be0ed..3878cf0ec 100644 --- a/bindings/src/types/wallet-daemon-client/AccountSetDefaultRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountSetDefaultRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface AccountSetDefaultRequest { account: ComponentAddressOrName, } \ No newline at end of file +export interface AccountSetDefaultRequest { + account: ComponentAddressOrName; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountSetDefaultResponse.ts b/bindings/src/types/wallet-daemon-client/AccountSetDefaultResponse.ts index 002f8336c..ec4c0c857 100644 --- a/bindings/src/types/wallet-daemon-client/AccountSetDefaultResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountSetDefaultResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AccountSetDefaultResponse = Record; \ No newline at end of file +export type AccountSetDefaultResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsRequest.ts index b138b0c1e..cdaec9343 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsRequest.ts @@ -2,4 +2,9 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface AccountsCreateFreeTestCoinsRequest { account: ComponentAddressOrName | null, amount: Amount, max_fee: Amount | null, key_id: number | null, } \ No newline at end of file +export interface AccountsCreateFreeTestCoinsRequest { + account: ComponentAddressOrName | null; + amount: Amount; + max_fee: Amount | null; + key_id: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsResponse.ts index 163274bdf..919e92676 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsCreateFreeTestCoinsResponse.ts @@ -3,4 +3,11 @@ import type { Account } from "../Account"; import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface AccountsCreateFreeTestCoinsResponse { account: Account, transaction_id: string, amount: Amount, fee: Amount, result: FinalizeResult, public_key: string, } \ No newline at end of file +export interface AccountsCreateFreeTestCoinsResponse { + account: Account; + transaction_id: string; + amount: Amount; + fee: Amount; + result: FinalizeResult; + public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsCreateRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsCreateRequest.ts index f002634dd..415aeded1 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsCreateRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsCreateRequest.ts @@ -2,4 +2,10 @@ import type { Amount } from "../Amount"; import type { ComponentAccessRules } from "../ComponentAccessRules"; -export interface AccountsCreateRequest { account_name: string | null, custom_access_rules: ComponentAccessRules | null, max_fee: Amount | null, is_default: boolean, key_id: number | null, } \ No newline at end of file +export interface AccountsCreateRequest { + account_name: string | null; + custom_access_rules: ComponentAccessRules | null; + max_fee: Amount | null; + is_default: boolean; + key_id: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsCreateResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsCreateResponse.ts index 804a552e1..48a76be8d 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsCreateResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsCreateResponse.ts @@ -2,4 +2,8 @@ import type { FinalizeResult } from "../FinalizeResult"; import type { SubstateId } from "../SubstateId"; -export interface AccountsCreateResponse { address: SubstateId, public_key: string, result: FinalizeResult, } \ No newline at end of file +export interface AccountsCreateResponse { + address: SubstateId; + public_key: string; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsGetBalancesRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsGetBalancesRequest.ts index 0d371c433..fcfa8b99d 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsGetBalancesRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsGetBalancesRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface AccountsGetBalancesRequest { account: ComponentAddressOrName | null, refresh: boolean, } \ No newline at end of file +export interface AccountsGetBalancesRequest { + account: ComponentAddressOrName | null; + refresh: boolean; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsGetBalancesResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsGetBalancesResponse.ts index a9f73b5c4..a95eafa33 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsGetBalancesResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsGetBalancesResponse.ts @@ -2,4 +2,7 @@ import type { BalanceEntry } from "./BalanceEntry"; import type { SubstateId } from "../SubstateId"; -export interface AccountsGetBalancesResponse { address: SubstateId, balances: Array, } \ No newline at end of file +export interface AccountsGetBalancesResponse { + address: SubstateId; + balances: Array; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsInvokeRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsInvokeRequest.ts index 98c7f359b..8281d307e 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsInvokeRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsInvokeRequest.ts @@ -3,4 +3,9 @@ import type { Amount } from "../Amount"; import type { Arg } from "../Arg"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface AccountsInvokeRequest { account: ComponentAddressOrName | null, method: string, args: Array, max_fee: Amount | null, } \ No newline at end of file +export interface AccountsInvokeRequest { + account: ComponentAddressOrName | null; + method: string; + args: Array; + max_fee: Amount | null; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsInvokeResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsInvokeResponse.ts index ccf7bc271..974bfd24a 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsInvokeResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsInvokeResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { InstructionResult } from "../InstructionResult"; -export interface AccountsInvokeResponse { result: InstructionResult | null, } \ No newline at end of file +export interface AccountsInvokeResponse { + result: InstructionResult | null; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsListRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsListRequest.ts index f2024381b..39ab4ea3a 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsListRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsListRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AccountsListRequest { offset: number, limit: number, } \ No newline at end of file +export interface AccountsListRequest { + offset: number; + limit: number; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsListResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsListResponse.ts index 326d6b4f5..84e17e314 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsListResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsListResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AccountInfo } from "./AccountInfo"; -export interface AccountsListResponse { accounts: Array, total: number, } \ No newline at end of file +export interface AccountsListResponse { + accounts: Array; + total: number; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsTransferRequest.ts b/bindings/src/types/wallet-daemon-client/AccountsTransferRequest.ts index 1773818e7..836d2c1c3 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsTransferRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsTransferRequest.ts @@ -3,4 +3,12 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; import type { ResourceAddress } from "../ResourceAddress"; -export interface AccountsTransferRequest { account: ComponentAddressOrName | null, amount: Amount, resource_address: ResourceAddress, destination_public_key: string, max_fee: Amount | null, proof_from_badge_resource: string | null, dry_run: boolean, } \ No newline at end of file +export interface AccountsTransferRequest { + account: ComponentAddressOrName | null; + amount: Amount; + resource_address: ResourceAddress; + destination_public_key: string; + max_fee: Amount | null; + proof_from_badge_resource: string | null; + dry_run: boolean; +} diff --git a/bindings/src/types/wallet-daemon-client/AccountsTransferResponse.ts b/bindings/src/types/wallet-daemon-client/AccountsTransferResponse.ts index 4b93dab8d..8235cdee8 100644 --- a/bindings/src/types/wallet-daemon-client/AccountsTransferResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AccountsTransferResponse.ts @@ -2,4 +2,9 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface AccountsTransferResponse { transaction_id: string, fee: Amount, fee_refunded: Amount, result: FinalizeResult, } \ No newline at end of file +export interface AccountsTransferResponse { + transaction_id: string; + fee: Amount; + fee_refunded: Amount; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthGetAllJwtRequest.ts b/bindings/src/types/wallet-daemon-client/AuthGetAllJwtRequest.ts index 6fb5e8690..e98b4ae2c 100644 --- a/bindings/src/types/wallet-daemon-client/AuthGetAllJwtRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AuthGetAllJwtRequest.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AuthGetAllJwtRequest = Record; \ No newline at end of file +export type AuthGetAllJwtRequest = Record; diff --git a/bindings/src/types/wallet-daemon-client/AuthGetAllJwtResponse.ts b/bindings/src/types/wallet-daemon-client/AuthGetAllJwtResponse.ts index 9a49b82ce..76077bc40 100644 --- a/bindings/src/types/wallet-daemon-client/AuthGetAllJwtResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AuthGetAllJwtResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Claims } from "../Claims"; -export interface AuthGetAllJwtResponse { jwt: Array, } \ No newline at end of file +export interface AuthGetAllJwtResponse { + jwt: Array; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginAcceptRequest.ts b/bindings/src/types/wallet-daemon-client/AuthLoginAcceptRequest.ts index 3ac9ab5b8..b19c49756 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginAcceptRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginAcceptRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthLoginAcceptRequest { auth_token: string, name: string, } \ No newline at end of file +export interface AuthLoginAcceptRequest { + auth_token: string; + name: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginAcceptResponse.ts b/bindings/src/types/wallet-daemon-client/AuthLoginAcceptResponse.ts index a22724e6a..87fdbde2b 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginAcceptResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginAcceptResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthLoginAcceptResponse { permissions_token: string, } \ No newline at end of file +export interface AuthLoginAcceptResponse { + permissions_token: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginDenyRequest.ts b/bindings/src/types/wallet-daemon-client/AuthLoginDenyRequest.ts index c8a269614..6cd275f01 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginDenyRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginDenyRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthLoginDenyRequest { auth_token: string, } \ No newline at end of file +export interface AuthLoginDenyRequest { + auth_token: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginDenyResponse.ts b/bindings/src/types/wallet-daemon-client/AuthLoginDenyResponse.ts index 8773c73d7..9feb6a1c4 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginDenyResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginDenyResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AuthLoginDenyResponse = Record; \ No newline at end of file +export type AuthLoginDenyResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginRequest.ts b/bindings/src/types/wallet-daemon-client/AuthLoginRequest.ts index 3f30f4e6e..2478a0e52 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthLoginRequest { permissions: Array, duration: {secs: number, nanos: number} | null, } \ No newline at end of file +export interface AuthLoginRequest { + permissions: Array; + duration: { secs: number; nanos: number } | null; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthLoginResponse.ts b/bindings/src/types/wallet-daemon-client/AuthLoginResponse.ts index 0c3870439..c48a12773 100644 --- a/bindings/src/types/wallet-daemon-client/AuthLoginResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AuthLoginResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthLoginResponse { auth_token: string, } \ No newline at end of file +export interface AuthLoginResponse { + auth_token: string; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthRevokeTokenRequest.ts b/bindings/src/types/wallet-daemon-client/AuthRevokeTokenRequest.ts index fff833380..c4e0667c9 100644 --- a/bindings/src/types/wallet-daemon-client/AuthRevokeTokenRequest.ts +++ b/bindings/src/types/wallet-daemon-client/AuthRevokeTokenRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface AuthRevokeTokenRequest { permission_token_id: number, } \ No newline at end of file +export interface AuthRevokeTokenRequest { + permission_token_id: number; +} diff --git a/bindings/src/types/wallet-daemon-client/AuthRevokeTokenResponse.ts b/bindings/src/types/wallet-daemon-client/AuthRevokeTokenResponse.ts index 416f6caba..278675099 100644 --- a/bindings/src/types/wallet-daemon-client/AuthRevokeTokenResponse.ts +++ b/bindings/src/types/wallet-daemon-client/AuthRevokeTokenResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type AuthRevokeTokenResponse = Record; \ No newline at end of file +export type AuthRevokeTokenResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/BalanceEntry.ts b/bindings/src/types/wallet-daemon-client/BalanceEntry.ts index a893f680f..f535c0d1e 100644 --- a/bindings/src/types/wallet-daemon-client/BalanceEntry.ts +++ b/bindings/src/types/wallet-daemon-client/BalanceEntry.ts @@ -4,4 +4,11 @@ import type { ResourceAddress } from "../ResourceAddress"; import type { ResourceType } from "../ResourceType"; import type { SubstateId } from "../SubstateId"; -export interface BalanceEntry { vault_address: SubstateId, resource_address: ResourceAddress, balance: Amount, resource_type: ResourceType, confidential_balance: Amount, token_symbol: string | null, } \ No newline at end of file +export interface BalanceEntry { + vault_address: SubstateId; + resource_address: ResourceAddress; + balance: Amount; + resource_type: ResourceType; + confidential_balance: Amount; + token_symbol: string | null; +} diff --git a/bindings/src/types/wallet-daemon-client/CallInstructionRequest.ts b/bindings/src/types/wallet-daemon-client/CallInstructionRequest.ts index 10eaa61c7..6e74b7657 100644 --- a/bindings/src/types/wallet-daemon-client/CallInstructionRequest.ts +++ b/bindings/src/types/wallet-daemon-client/CallInstructionRequest.ts @@ -3,4 +3,16 @@ import type { ComponentAddressOrName } from "./ComponentAddressOrName"; import type { Instruction } from "../Instruction"; import type { SubstateRequirement } from "../SubstateRequirement"; -export interface CallInstructionRequest { instructions: Array, fee_account: ComponentAddressOrName, dump_outputs_into: ComponentAddressOrName | null, max_fee: number, inputs: Array, override_inputs: boolean | null, new_outputs: number | null, is_dry_run: boolean, proof_ids: Array, min_epoch: number | null, max_epoch: number | null, } \ No newline at end of file +export interface CallInstructionRequest { + instructions: Array; + fee_account: ComponentAddressOrName; + dump_outputs_into: ComponentAddressOrName | null; + max_fee: number; + inputs: Array; + override_inputs: boolean | null; + new_outputs: number | null; + is_dry_run: boolean; + proof_ids: Array; + min_epoch: number | null; + max_epoch: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/ClaimBurnRequest.ts b/bindings/src/types/wallet-daemon-client/ClaimBurnRequest.ts index 1212b505d..53e752817 100644 --- a/bindings/src/types/wallet-daemon-client/ClaimBurnRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ClaimBurnRequest.ts @@ -2,4 +2,9 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface ClaimBurnRequest { account: ComponentAddressOrName | null, claim_proof: string, max_fee: Amount | null, key_id: number | null, } \ No newline at end of file +export interface ClaimBurnRequest { + account: ComponentAddressOrName | null; + claim_proof: string; + max_fee: Amount | null; + key_id: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/ClaimBurnResponse.ts b/bindings/src/types/wallet-daemon-client/ClaimBurnResponse.ts index 6aaf94601..e5dade24f 100644 --- a/bindings/src/types/wallet-daemon-client/ClaimBurnResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ClaimBurnResponse.ts @@ -2,4 +2,8 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface ClaimBurnResponse { transaction_id: string, fee: Amount, result: FinalizeResult, } \ No newline at end of file +export interface ClaimBurnResponse { + transaction_id: string; + fee: Amount; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesRequest.ts b/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesRequest.ts index a427c1264..ca9cfc467 100644 --- a/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesRequest.ts @@ -3,4 +3,10 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; import type { Epoch } from "../Epoch"; -export interface ClaimValidatorFeesRequest { account: ComponentAddressOrName | null, max_fee: Amount | null, validator_public_key: string, epoch: Epoch, dry_run: boolean, } \ No newline at end of file +export interface ClaimValidatorFeesRequest { + account: ComponentAddressOrName | null; + max_fee: Amount | null; + validator_public_key: string; + epoch: Epoch; + dry_run: boolean; +} diff --git a/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesResponse.ts b/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesResponse.ts index ce48bfaf5..a58df77c7 100644 --- a/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ClaimValidatorFeesResponse.ts @@ -2,4 +2,8 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface ClaimValidatorFeesResponse { transaction_id: string, fee: Amount, result: FinalizeResult, } \ No newline at end of file +export interface ClaimValidatorFeesResponse { + transaction_id: string; + fee: Amount; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/ComponentAddressOrName.ts b/bindings/src/types/wallet-daemon-client/ComponentAddressOrName.ts index 32296cd7e..d9dae64d4 100644 --- a/bindings/src/types/wallet-daemon-client/ComponentAddressOrName.ts +++ b/bindings/src/types/wallet-daemon-client/ComponentAddressOrName.ts @@ -1,4 +1,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddress } from "../ComponentAddress"; -export type ComponentAddressOrName = { "ComponentAddress": ComponentAddress } | { "Name": string }; \ No newline at end of file +export type ComponentAddressOrName = { ComponentAddress: ComponentAddress } | { Name: string }; diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofRequest.ts b/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofRequest.ts index 4937006a1..7cc2e3760 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Amount } from "../Amount"; -export interface ConfidentialCreateOutputProofRequest { amount: Amount, } \ No newline at end of file +export interface ConfidentialCreateOutputProofRequest { + amount: Amount; +} diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofResponse.ts b/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofResponse.ts index 07f92dd88..829c23911 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialCreateOutputProofResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfidentialOutputStatement } from "../ConfidentialOutputStatement"; -export interface ConfidentialCreateOutputProofResponse { proof: ConfidentialOutputStatement, } \ No newline at end of file +export interface ConfidentialCreateOutputProofResponse { + proof: ConfidentialOutputStatement; +} diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialTransferRequest.ts b/bindings/src/types/wallet-daemon-client/ConfidentialTransferRequest.ts index 5c4234983..7317160b7 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialTransferRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialTransferRequest.ts @@ -4,4 +4,14 @@ import type { ComponentAddressOrName } from "./ComponentAddressOrName"; import type { ConfidentialTransferInputSelection } from "../ConfidentialTransferInputSelection"; import type { ResourceAddress } from "../ResourceAddress"; -export interface ConfidentialTransferRequest { account: ComponentAddressOrName | null, amount: Amount, input_selection: ConfidentialTransferInputSelection, resource_address: ResourceAddress, destination_public_key: string, max_fee: Amount | null, output_to_revealed: boolean, proof_from_badge_resource: string | null, dry_run: boolean, } \ No newline at end of file +export interface ConfidentialTransferRequest { + account: ComponentAddressOrName | null; + amount: Amount; + input_selection: ConfidentialTransferInputSelection; + resource_address: ResourceAddress; + destination_public_key: string; + max_fee: Amount | null; + output_to_revealed: boolean; + proof_from_badge_resource: string | null; + dry_run: boolean; +} diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialTransferResponse.ts b/bindings/src/types/wallet-daemon-client/ConfidentialTransferResponse.ts index e5b68726d..324c23e08 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialTransferResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialTransferResponse.ts @@ -2,4 +2,8 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface ConfidentialTransferResponse { transaction_id: string, fee: Amount, result: FinalizeResult, } \ No newline at end of file +export interface ConfidentialTransferResponse { + transaction_id: string; + fee: Amount; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceRequest.ts b/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceRequest.ts index 08da84d32..3887b14a3 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceRequest.ts @@ -1,4 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { VaultId } from "../VaultId"; -export interface ConfidentialViewVaultBalanceRequest { vault_id: VaultId, minimum_expected_value: number | null, maximum_expected_value: number | null, view_key_id: number, } \ No newline at end of file +export interface ConfidentialViewVaultBalanceRequest { + vault_id: VaultId; + minimum_expected_value: number | null; + maximum_expected_value: number | null; + view_key_id: number; +} diff --git a/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceResponse.ts b/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceResponse.ts index b85f85fbc..2def4c12b 100644 --- a/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ConfidentialViewVaultBalanceResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ConfidentialViewVaultBalanceResponse { balances: Record, } \ No newline at end of file +export interface ConfidentialViewVaultBalanceResponse { + balances: Record; +} diff --git a/bindings/src/types/wallet-daemon-client/GetAccountNftRequest.ts b/bindings/src/types/wallet-daemon-client/GetAccountNftRequest.ts index ff414fe86..d2fd523ad 100644 --- a/bindings/src/types/wallet-daemon-client/GetAccountNftRequest.ts +++ b/bindings/src/types/wallet-daemon-client/GetAccountNftRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NonFungibleId } from "../NonFungibleId"; -export interface GetAccountNftRequest { nft_id: NonFungibleId, } \ No newline at end of file +export interface GetAccountNftRequest { + nft_id: NonFungibleId; +} diff --git a/bindings/src/types/wallet-daemon-client/GetValidatorFeesRequest.ts b/bindings/src/types/wallet-daemon-client/GetValidatorFeesRequest.ts index e12f1305d..2d1b23bb7 100644 --- a/bindings/src/types/wallet-daemon-client/GetValidatorFeesRequest.ts +++ b/bindings/src/types/wallet-daemon-client/GetValidatorFeesRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Epoch } from "../Epoch"; -export interface GetValidatorFeesRequest { validator_public_key: string, epoch: Epoch, } \ No newline at end of file +export interface GetValidatorFeesRequest { + validator_public_key: string; + epoch: Epoch; +} diff --git a/bindings/src/types/wallet-daemon-client/GetValidatorFeesResponse.ts b/bindings/src/types/wallet-daemon-client/GetValidatorFeesResponse.ts index 98ffb4cdf..51238a640 100644 --- a/bindings/src/types/wallet-daemon-client/GetValidatorFeesResponse.ts +++ b/bindings/src/types/wallet-daemon-client/GetValidatorFeesResponse.ts @@ -2,4 +2,6 @@ import type { Amount } from "../Amount"; import type { Epoch } from "../Epoch"; -export interface GetValidatorFeesResponse { fee_summary: Record, } \ No newline at end of file +export interface GetValidatorFeesResponse { + fee_summary: Record; +} diff --git a/bindings/src/types/wallet-daemon-client/KeyBranch.ts b/bindings/src/types/wallet-daemon-client/KeyBranch.ts index 0de502a30..df29faf44 100644 --- a/bindings/src/types/wallet-daemon-client/KeyBranch.ts +++ b/bindings/src/types/wallet-daemon-client/KeyBranch.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type KeyBranch = "transaction" | "view_key"; \ No newline at end of file +export type KeyBranch = "transaction" | "view_key"; diff --git a/bindings/src/types/wallet-daemon-client/KeysCreateRequest.ts b/bindings/src/types/wallet-daemon-client/KeysCreateRequest.ts index 3384a2365..5328a3551 100644 --- a/bindings/src/types/wallet-daemon-client/KeysCreateRequest.ts +++ b/bindings/src/types/wallet-daemon-client/KeysCreateRequest.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { KeyBranch } from "./KeyBranch"; -export interface KeysCreateRequest { branch: KeyBranch, specific_index: number | null, } \ No newline at end of file +export interface KeysCreateRequest { + branch: KeyBranch; + specific_index: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/KeysCreateResponse.ts b/bindings/src/types/wallet-daemon-client/KeysCreateResponse.ts index bb8b74d36..26a50d6c9 100644 --- a/bindings/src/types/wallet-daemon-client/KeysCreateResponse.ts +++ b/bindings/src/types/wallet-daemon-client/KeysCreateResponse.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface KeysCreateResponse { id: number, public_key: string, } \ No newline at end of file +export interface KeysCreateResponse { + id: number; + public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/KeysListRequest.ts b/bindings/src/types/wallet-daemon-client/KeysListRequest.ts index a23002468..692e3e1b1 100644 --- a/bindings/src/types/wallet-daemon-client/KeysListRequest.ts +++ b/bindings/src/types/wallet-daemon-client/KeysListRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { KeyBranch } from "./KeyBranch"; -export interface KeysListRequest { branch: KeyBranch, } \ No newline at end of file +export interface KeysListRequest { + branch: KeyBranch; +} diff --git a/bindings/src/types/wallet-daemon-client/KeysListResponse.ts b/bindings/src/types/wallet-daemon-client/KeysListResponse.ts index f69737dc1..239dc4a2c 100644 --- a/bindings/src/types/wallet-daemon-client/KeysListResponse.ts +++ b/bindings/src/types/wallet-daemon-client/KeysListResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface KeysListResponse { keys: Array<[number, string, boolean]>, } \ No newline at end of file +export interface KeysListResponse { + keys: Array<[number, string, boolean]>; +} diff --git a/bindings/src/types/wallet-daemon-client/KeysSetActiveRequest.ts b/bindings/src/types/wallet-daemon-client/KeysSetActiveRequest.ts index ceb82d38a..1e5db6851 100644 --- a/bindings/src/types/wallet-daemon-client/KeysSetActiveRequest.ts +++ b/bindings/src/types/wallet-daemon-client/KeysSetActiveRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface KeysSetActiveRequest { index: number, } \ No newline at end of file +export interface KeysSetActiveRequest { + index: number; +} diff --git a/bindings/src/types/wallet-daemon-client/KeysSetActiveResponse.ts b/bindings/src/types/wallet-daemon-client/KeysSetActiveResponse.ts index 8fc4ed38d..0d365896a 100644 --- a/bindings/src/types/wallet-daemon-client/KeysSetActiveResponse.ts +++ b/bindings/src/types/wallet-daemon-client/KeysSetActiveResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface KeysSetActiveResponse { public_key: string, } \ No newline at end of file +export interface KeysSetActiveResponse { + public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/ListAccountNftRequest.ts b/bindings/src/types/wallet-daemon-client/ListAccountNftRequest.ts index de6c08967..b683ba583 100644 --- a/bindings/src/types/wallet-daemon-client/ListAccountNftRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ListAccountNftRequest.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface ListAccountNftRequest { account: ComponentAddressOrName | null, limit: number, offset: number, } \ No newline at end of file +export interface ListAccountNftRequest { + account: ComponentAddressOrName | null; + limit: number; + offset: number; +} diff --git a/bindings/src/types/wallet-daemon-client/ListAccountNftResponse.ts b/bindings/src/types/wallet-daemon-client/ListAccountNftResponse.ts index 10a851b8a..fd340b527 100644 --- a/bindings/src/types/wallet-daemon-client/ListAccountNftResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ListAccountNftResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { NonFungibleToken } from "../NonFungibleToken"; -export interface ListAccountNftResponse { nfts: Array, } \ No newline at end of file +export interface ListAccountNftResponse { + nfts: Array; +} diff --git a/bindings/src/types/wallet-daemon-client/MintAccountNftRequest.ts b/bindings/src/types/wallet-daemon-client/MintAccountNftRequest.ts index e16b3daed..d015dcd0e 100644 --- a/bindings/src/types/wallet-daemon-client/MintAccountNftRequest.ts +++ b/bindings/src/types/wallet-daemon-client/MintAccountNftRequest.ts @@ -3,4 +3,10 @@ import type { Amount } from "../Amount"; import type { ComponentAddress } from "../ComponentAddress"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface MintAccountNftRequest { account: ComponentAddressOrName, metadata: string, mint_fee: Amount | null, create_account_nft_fee: Amount | null, existing_nft_component: ComponentAddress | null, } \ No newline at end of file +export interface MintAccountNftRequest { + account: ComponentAddressOrName; + metadata: string; + mint_fee: Amount | null; + create_account_nft_fee: Amount | null; + existing_nft_component: ComponentAddress | null; +} diff --git a/bindings/src/types/wallet-daemon-client/MintAccountNftResponse.ts b/bindings/src/types/wallet-daemon-client/MintAccountNftResponse.ts index 542510e03..43c48c540 100644 --- a/bindings/src/types/wallet-daemon-client/MintAccountNftResponse.ts +++ b/bindings/src/types/wallet-daemon-client/MintAccountNftResponse.ts @@ -4,4 +4,9 @@ import type { FinalizeResult } from "../FinalizeResult"; import type { NonFungibleId } from "../NonFungibleId"; import type { ResourceAddress } from "../ResourceAddress"; -export interface MintAccountNftResponse { nft_id: NonFungibleId, resource_address: ResourceAddress, result: FinalizeResult, fee: Amount, } \ No newline at end of file +export interface MintAccountNftResponse { + nft_id: NonFungibleId; + resource_address: ResourceAddress; + result: FinalizeResult; + fee: Amount; +} diff --git a/bindings/src/types/wallet-daemon-client/ProofsCancelRequest.ts b/bindings/src/types/wallet-daemon-client/ProofsCancelRequest.ts index 9e0a01be5..767cf5894 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsCancelRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsCancelRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ProofsCancelRequest { proof_id: number, } \ No newline at end of file +export interface ProofsCancelRequest { + proof_id: number; +} diff --git a/bindings/src/types/wallet-daemon-client/ProofsCancelResponse.ts b/bindings/src/types/wallet-daemon-client/ProofsCancelResponse.ts index 6deff2992..3fbcc7c78 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsCancelResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsCancelResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ProofsCancelResponse = Record; \ No newline at end of file +export type ProofsCancelResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/ProofsFinalizeRequest.ts b/bindings/src/types/wallet-daemon-client/ProofsFinalizeRequest.ts index 2943ec87a..1cd92a2a8 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsFinalizeRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsFinalizeRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface ProofsFinalizeRequest { proof_id: number, } \ No newline at end of file +export interface ProofsFinalizeRequest { + proof_id: number; +} diff --git a/bindings/src/types/wallet-daemon-client/ProofsFinalizeResponse.ts b/bindings/src/types/wallet-daemon-client/ProofsFinalizeResponse.ts index 216b67816..5b3d38c58 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsFinalizeResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsFinalizeResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ProofsFinalizeResponse = Record; \ No newline at end of file +export type ProofsFinalizeResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/ProofsGenerateRequest.ts b/bindings/src/types/wallet-daemon-client/ProofsGenerateRequest.ts index ce8ea7b17..71b0af07b 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsGenerateRequest.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsGenerateRequest.ts @@ -3,4 +3,10 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; import type { ResourceAddress } from "../ResourceAddress"; -export interface ProofsGenerateRequest { amount: Amount, reveal_amount: Amount, account: ComponentAddressOrName | null, resource_address: ResourceAddress, destination_public_key: string, } \ No newline at end of file +export interface ProofsGenerateRequest { + amount: Amount; + reveal_amount: Amount; + account: ComponentAddressOrName | null; + resource_address: ResourceAddress; + destination_public_key: string; +} diff --git a/bindings/src/types/wallet-daemon-client/ProofsGenerateResponse.ts b/bindings/src/types/wallet-daemon-client/ProofsGenerateResponse.ts index 457c321e3..f4c8330f5 100644 --- a/bindings/src/types/wallet-daemon-client/ProofsGenerateResponse.ts +++ b/bindings/src/types/wallet-daemon-client/ProofsGenerateResponse.ts @@ -1,4 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ConfidentialWithdrawProof } from "../ConfidentialWithdrawProof"; -export interface ProofsGenerateResponse { proof_id: number, proof: ConfidentialWithdrawProof, } \ No newline at end of file +export interface ProofsGenerateResponse { + proof_id: number; + proof: ConfidentialWithdrawProof; +} diff --git a/bindings/src/types/wallet-daemon-client/RevealFundsRequest.ts b/bindings/src/types/wallet-daemon-client/RevealFundsRequest.ts index c3f705ac2..d912a0745 100644 --- a/bindings/src/types/wallet-daemon-client/RevealFundsRequest.ts +++ b/bindings/src/types/wallet-daemon-client/RevealFundsRequest.ts @@ -2,4 +2,9 @@ import type { Amount } from "../Amount"; import type { ComponentAddressOrName } from "./ComponentAddressOrName"; -export interface RevealFundsRequest { account: ComponentAddressOrName | null, amount_to_reveal: Amount, pay_fee_from_reveal: boolean, max_fee: Amount | null, } \ No newline at end of file +export interface RevealFundsRequest { + account: ComponentAddressOrName | null; + amount_to_reveal: Amount; + pay_fee_from_reveal: boolean; + max_fee: Amount | null; +} diff --git a/bindings/src/types/wallet-daemon-client/RevealFundsResponse.ts b/bindings/src/types/wallet-daemon-client/RevealFundsResponse.ts index 62a9b32a0..95ce9eb2d 100644 --- a/bindings/src/types/wallet-daemon-client/RevealFundsResponse.ts +++ b/bindings/src/types/wallet-daemon-client/RevealFundsResponse.ts @@ -2,4 +2,8 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; -export interface RevealFundsResponse { transaction_id: string, fee: Amount, result: FinalizeResult, } \ No newline at end of file +export interface RevealFundsResponse { + transaction_id: string; + fee: Amount; + result: FinalizeResult; +} diff --git a/bindings/src/types/wallet-daemon-client/SettingsGetResponse.ts b/bindings/src/types/wallet-daemon-client/SettingsGetResponse.ts index 3bd8db370..7ba7469df 100644 --- a/bindings/src/types/wallet-daemon-client/SettingsGetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/SettingsGetResponse.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface SettingsGetResponse { indexer_url: string, } \ No newline at end of file +export interface SettingsGetResponse { + indexer_url: string; +} diff --git a/bindings/src/types/wallet-daemon-client/SettingsSetRequest.ts b/bindings/src/types/wallet-daemon-client/SettingsSetRequest.ts index 74a26fe38..c026eebbd 100644 --- a/bindings/src/types/wallet-daemon-client/SettingsSetRequest.ts +++ b/bindings/src/types/wallet-daemon-client/SettingsSetRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface SettingsSetRequest { indexer_url: string, } \ No newline at end of file +export interface SettingsSetRequest { + indexer_url: string; +} diff --git a/bindings/src/types/wallet-daemon-client/SettingsSetResponse.ts b/bindings/src/types/wallet-daemon-client/SettingsSetResponse.ts index fa266a89d..c2691f1b1 100644 --- a/bindings/src/types/wallet-daemon-client/SettingsSetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/SettingsSetResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type SettingsSetResponse = Record; \ No newline at end of file +export type SettingsSetResponse = Record; diff --git a/bindings/src/types/wallet-daemon-client/SubstatesGetRequest.ts b/bindings/src/types/wallet-daemon-client/SubstatesGetRequest.ts index 814819b7b..b01a01223 100644 --- a/bindings/src/types/wallet-daemon-client/SubstatesGetRequest.ts +++ b/bindings/src/types/wallet-daemon-client/SubstatesGetRequest.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface SubstatesGetRequest { substate_id: SubstateId, } \ No newline at end of file +export interface SubstatesGetRequest { + substate_id: SubstateId; +} diff --git a/bindings/src/types/wallet-daemon-client/SubstatesGetResponse.ts b/bindings/src/types/wallet-daemon-client/SubstatesGetResponse.ts index b98a2df5c..f76b1619a 100644 --- a/bindings/src/types/wallet-daemon-client/SubstatesGetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/SubstatesGetResponse.ts @@ -2,4 +2,7 @@ import type { Substate } from "../Substate"; import type { WalletSubstateRecord } from "./WalletSubstateRecord"; -export interface SubstatesGetResponse { record: WalletSubstateRecord, value: Substate, } \ No newline at end of file +export interface SubstatesGetResponse { + record: WalletSubstateRecord; + value: Substate; +} diff --git a/bindings/src/types/wallet-daemon-client/SubstatesListRequest.ts b/bindings/src/types/wallet-daemon-client/SubstatesListRequest.ts index d92da70c4..15620e1e1 100644 --- a/bindings/src/types/wallet-daemon-client/SubstatesListRequest.ts +++ b/bindings/src/types/wallet-daemon-client/SubstatesListRequest.ts @@ -1,4 +1,9 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateType } from "../SubstateType"; -export interface SubstatesListRequest { filter_by_template: string | null, filter_by_type: SubstateType | null, limit: bigint | null, offset: bigint | null, } \ No newline at end of file +export interface SubstatesListRequest { + filter_by_template: string | null; + filter_by_type: SubstateType | null; + limit: bigint | null; + offset: bigint | null; +} diff --git a/bindings/src/types/wallet-daemon-client/SubstatesListResponse.ts b/bindings/src/types/wallet-daemon-client/SubstatesListResponse.ts index f25b96bc3..6907c84b0 100644 --- a/bindings/src/types/wallet-daemon-client/SubstatesListResponse.ts +++ b/bindings/src/types/wallet-daemon-client/SubstatesListResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { WalletSubstateRecord } from "./WalletSubstateRecord"; -export interface SubstatesListResponse { substates: Array, } \ No newline at end of file +export interface SubstatesListResponse { + substates: Array; +} diff --git a/bindings/src/types/wallet-daemon-client/TemplatesGetRequest.ts b/bindings/src/types/wallet-daemon-client/TemplatesGetRequest.ts index 85e16debe..828f2dd7b 100644 --- a/bindings/src/types/wallet-daemon-client/TemplatesGetRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TemplatesGetRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TemplatesGetRequest { template_address: string, } \ No newline at end of file +export interface TemplatesGetRequest { + template_address: string; +} diff --git a/bindings/src/types/wallet-daemon-client/TemplatesGetResponse.ts b/bindings/src/types/wallet-daemon-client/TemplatesGetResponse.ts index 71d07da9f..197cfc0bb 100644 --- a/bindings/src/types/wallet-daemon-client/TemplatesGetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TemplatesGetResponse.ts @@ -1,4 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { TemplateDef } from "../TemplateDef"; -export interface TemplatesGetResponse { template_definition: TemplateDef, } \ No newline at end of file +export interface TemplatesGetResponse { + template_definition: TemplateDef; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionClaimBurnResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionClaimBurnResponse.ts index 59241d2ae..c5e359a89 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionClaimBurnResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionClaimBurnResponse.ts @@ -1,4 +1,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateAddress } from "../SubstateAddress"; -export interface TransactionClaimBurnResponse { transaction_id: string, inputs: Array, outputs: Array, } \ No newline at end of file +export interface TransactionClaimBurnResponse { + transaction_id: string; + inputs: Array; + outputs: Array; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetAllRequest.ts b/bindings/src/types/wallet-daemon-client/TransactionGetAllRequest.ts index 9c0399e53..0a1f39f47 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetAllRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetAllRequest.ts @@ -2,4 +2,7 @@ import type { ComponentAddress } from "../ComponentAddress"; import type { TransactionStatus } from "../TransactionStatus"; -export interface TransactionGetAllRequest { status: TransactionStatus | null, component: ComponentAddress | null, } \ No newline at end of file +export interface TransactionGetAllRequest { + status: TransactionStatus | null; + component: ComponentAddress | null; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetAllResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionGetAllResponse.ts index fe4f39984..7d22712b2 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetAllResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetAllResponse.ts @@ -3,4 +3,6 @@ import type { FinalizeResult } from "../FinalizeResult"; import type { Transaction } from "../Transaction"; import type { TransactionStatus } from "../TransactionStatus"; -export interface TransactionGetAllResponse { transactions: Array<[Transaction, FinalizeResult | null, TransactionStatus, string]>, } \ No newline at end of file +export interface TransactionGetAllResponse { + transactions: Array<[Transaction, FinalizeResult | null, TransactionStatus, string]>; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetRequest.ts b/bindings/src/types/wallet-daemon-client/TransactionGetRequest.ts index 9e6fc6b9b..0fb934a2c 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TransactionGetRequest { transaction_id: string, } \ No newline at end of file +export interface TransactionGetRequest { + transaction_id: string; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionGetResponse.ts index ef996139a..6c4f46d1d 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetResponse.ts @@ -3,4 +3,9 @@ import type { FinalizeResult } from "../FinalizeResult"; import type { Transaction } from "../Transaction"; import type { TransactionStatus } from "../TransactionStatus"; -export interface TransactionGetResponse { transaction: Transaction, result: FinalizeResult | null, status: TransactionStatus, last_update_time: string, } \ No newline at end of file +export interface TransactionGetResponse { + transaction: Transaction; + result: FinalizeResult | null; + status: TransactionStatus; + last_update_time: string; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetResultRequest.ts b/bindings/src/types/wallet-daemon-client/TransactionGetResultRequest.ts index dd1973a0a..0127a1e2e 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetResultRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetResultRequest.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TransactionGetResultRequest { transaction_id: string, } \ No newline at end of file +export interface TransactionGetResultRequest { + transaction_id: string; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionGetResultResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionGetResultResponse.ts index 2fc0683dd..cbac0032c 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionGetResultResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionGetResultResponse.ts @@ -2,4 +2,9 @@ import type { FinalizeResult } from "../FinalizeResult"; import type { TransactionStatus } from "../TransactionStatus"; -export interface TransactionGetResultResponse { transaction_id: string, status: TransactionStatus, result: FinalizeResult | null, json_result: Array | null, } \ No newline at end of file +export interface TransactionGetResultResponse { + transaction_id: string; + status: TransactionStatus; + result: FinalizeResult | null; + json_result: Array | null; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionSubmitRequest.ts b/bindings/src/types/wallet-daemon-client/TransactionSubmitRequest.ts index 4c1d5a3f3..6650403c4 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionSubmitRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionSubmitRequest.ts @@ -4,4 +4,15 @@ import type { Instruction } from "../Instruction"; import type { SubstateRequirement } from "../SubstateRequirement"; import type { UnsignedTransaction } from "../UnsignedTransaction"; -export interface TransactionSubmitRequest { transaction: UnsignedTransaction | null, signing_key_index: number | null, inputs: Array, override_inputs: boolean, is_dry_run: boolean, proof_ids: Array, fee_instructions: Array, instructions: Array, min_epoch: Epoch | null, max_epoch: Epoch | null, } \ No newline at end of file +export interface TransactionSubmitRequest { + transaction: UnsignedTransaction | null; + signing_key_index: number | null; + inputs: Array; + override_inputs: boolean; + is_dry_run: boolean; + proof_ids: Array; + fee_instructions: Array; + instructions: Array; + min_epoch: Epoch | null; + max_epoch: Epoch | null; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionSubmitResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionSubmitResponse.ts index afa00c6d9..36cc91cbd 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionSubmitResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionSubmitResponse.ts @@ -2,4 +2,9 @@ import type { ExecuteResult } from "../ExecuteResult"; import type { SubstateRequirement } from "../SubstateRequirement"; -export interface TransactionSubmitResponse { transaction_id: string, inputs: Array, result: ExecuteResult | null, json_result: Array | null, } \ No newline at end of file +export interface TransactionSubmitResponse { + transaction_id: string; + inputs: Array; + result: ExecuteResult | null; + json_result: Array | null; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionWaitResultRequest.ts b/bindings/src/types/wallet-daemon-client/TransactionWaitResultRequest.ts index ff01842a5..55a5ce931 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionWaitResultRequest.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionWaitResultRequest.ts @@ -1,3 +1,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface TransactionWaitResultRequest { transaction_id: string, timeout_secs: number | null, } \ No newline at end of file +export interface TransactionWaitResultRequest { + transaction_id: string; + timeout_secs: number | null; +} diff --git a/bindings/src/types/wallet-daemon-client/TransactionWaitResultResponse.ts b/bindings/src/types/wallet-daemon-client/TransactionWaitResultResponse.ts index 66b7414da..4d7135bbc 100644 --- a/bindings/src/types/wallet-daemon-client/TransactionWaitResultResponse.ts +++ b/bindings/src/types/wallet-daemon-client/TransactionWaitResultResponse.ts @@ -3,4 +3,11 @@ import type { Amount } from "../Amount"; import type { FinalizeResult } from "../FinalizeResult"; import type { TransactionStatus } from "../TransactionStatus"; -export interface TransactionWaitResultResponse { transaction_id: string, result: FinalizeResult | null, json_result: Array | null, status: TransactionStatus, final_fee: Amount, timed_out: boolean, } \ No newline at end of file +export interface TransactionWaitResultResponse { + transaction_id: string; + result: FinalizeResult | null; + json_result: Array | null; + status: TransactionStatus; + final_fee: Amount; + timed_out: boolean; +} diff --git a/bindings/src/types/wallet-daemon-client/WalletSubstateRecord.ts b/bindings/src/types/wallet-daemon-client/WalletSubstateRecord.ts index 92fc44d5c..d4a2d2663 100644 --- a/bindings/src/types/wallet-daemon-client/WalletSubstateRecord.ts +++ b/bindings/src/types/wallet-daemon-client/WalletSubstateRecord.ts @@ -1,4 +1,10 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SubstateId } from "../SubstateId"; -export interface WalletSubstateRecord { substate_id: SubstateId, parent_id: SubstateId | null, module_name: string | null, version: number, template_address: string | null, } \ No newline at end of file +export interface WalletSubstateRecord { + substate_id: SubstateId; + parent_id: SubstateId | null; + module_name: string | null; + version: number; + template_address: string | null; +} diff --git a/bindings/src/types/wallet-daemon-client/WebRtcStart.ts b/bindings/src/types/wallet-daemon-client/WebRtcStart.ts index ab80e2faa..f85d79058 100644 --- a/bindings/src/types/wallet-daemon-client/WebRtcStart.ts +++ b/bindings/src/types/wallet-daemon-client/WebRtcStart.ts @@ -1,3 +1,5 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface WebRtcStart { jwt: string, } \ No newline at end of file +export interface WebRtcStart { + jwt: string; +} diff --git a/bindings/src/types/wallet-daemon-client/WebRtcStartRequest.ts b/bindings/src/types/wallet-daemon-client/WebRtcStartRequest.ts index 2eb4af49e..c4b42a340 100644 --- a/bindings/src/types/wallet-daemon-client/WebRtcStartRequest.ts +++ b/bindings/src/types/wallet-daemon-client/WebRtcStartRequest.ts @@ -1,3 +1,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export interface WebRtcStartRequest { signaling_server_token: string, permissions: object, name: string, } \ No newline at end of file +export interface WebRtcStartRequest { + signaling_server_token: string; + permissions: object; + name: string; +} diff --git a/bindings/src/types/wallet-daemon-client/WebRtcStartResponse.ts b/bindings/src/types/wallet-daemon-client/WebRtcStartResponse.ts index 88cc53d22..2bd57d7ad 100644 --- a/bindings/src/types/wallet-daemon-client/WebRtcStartResponse.ts +++ b/bindings/src/types/wallet-daemon-client/WebRtcStartResponse.ts @@ -1,3 +1,3 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type WebRtcStartResponse = Record; \ No newline at end of file +export type WebRtcStartResponse = Record; diff --git a/dan_layer/bindings/src/types/Account.ts b/dan_layer/bindings/src/types/Account.ts deleted file mode 100644 index e0cb093d9..000000000 --- a/dan_layer/bindings/src/types/Account.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { SubstateId } from "./SubstateId"; - -export interface Account { name: string | null, address: SubstateId, key_index: number, is_default: boolean, } \ No newline at end of file diff --git a/dan_layer/bindings/src/types/Claims.ts b/dan_layer/bindings/src/types/Claims.ts deleted file mode 100644 index b628fba99..000000000 --- a/dan_layer/bindings/src/types/Claims.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { JrpcPermissions } from "./JrpcPermissions"; - -export interface Claims { id: number, name: string, permissions: JrpcPermissions, exp: number, } \ No newline at end of file diff --git a/dan_layer/bindings/src/types/ConfidentialTransferInputSelection.ts b/dan_layer/bindings/src/types/ConfidentialTransferInputSelection.ts deleted file mode 100644 index d5146203c..000000000 --- a/dan_layer/bindings/src/types/ConfidentialTransferInputSelection.ts +++ /dev/null @@ -1,3 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type ConfidentialTransferInputSelection = "ConfidentialOnly" | "RevealedOnly" | "PreferRevealed" | "PreferConfidential"; \ No newline at end of file diff --git a/dan_layer/bindings/src/types/JrpcPermission.ts b/dan_layer/bindings/src/types/JrpcPermission.ts deleted file mode 100644 index 9b03bc6ea..000000000 --- a/dan_layer/bindings/src/types/JrpcPermission.ts +++ /dev/null @@ -1,6 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ComponentAddress } from "./ComponentAddress"; -import type { ResourceAddress } from "./ResourceAddress"; -import type { SubstateId } from "./SubstateId"; - -export type JrpcPermission = "AccountInfo" | { "NftGetOwnershipProof": ResourceAddress | null } | { "AccountBalance": SubstateId } | { "AccountList": ComponentAddress | null } | "SubstatesRead" | "TemplatesRead" | "KeyList" | "TransactionGet" | { "TransactionSend": SubstateId | null } | { "GetNft": [SubstateId | null, ResourceAddress | null] } | "StartWebrtc" | "Admin"; \ No newline at end of file diff --git a/dan_layer/bindings/src/types/JrpcPermissions.ts b/dan_layer/bindings/src/types/JrpcPermissions.ts deleted file mode 100644 index 4071240ae..000000000 --- a/dan_layer/bindings/src/types/JrpcPermissions.ts +++ /dev/null @@ -1,4 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { JrpcPermission } from "./JrpcPermission"; - -export type JrpcPermissions = Array; \ No newline at end of file diff --git a/dan_layer/bindings/src/types/NonFungibleToken.ts b/dan_layer/bindings/src/types/NonFungibleToken.ts deleted file mode 100644 index 8754b36db..000000000 --- a/dan_layer/bindings/src/types/NonFungibleToken.ts +++ /dev/null @@ -1,5 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { NonFungibleId } from "./NonFungibleId"; -import type { VaultId } from "./VaultId"; - -export interface NonFungibleToken { vault_id: VaultId, nft_id: NonFungibleId, data: any, mutable_data: any, is_burned: boolean, } \ No newline at end of file diff --git a/dan_layer/bindings/src/types/TransactionStatus.ts b/dan_layer/bindings/src/types/TransactionStatus.ts deleted file mode 100644 index 68dc7c420..000000000 --- a/dan_layer/bindings/src/types/TransactionStatus.ts +++ /dev/null @@ -1,3 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type TransactionStatus = "New" | "DryRun" | "Pending" | "Accepted" | "Rejected" | "InvalidTransaction" | "OnlyFeeAccepted"; \ No newline at end of file