@thruputchain/client 0.0.0-stage → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +935 -2
  3. package/dist/actions-CdFSUTO2.js +298 -0
  4. package/dist/actions-CdFSUTO2.js.map +1 -0
  5. package/dist/actions-DxJZ3yIv.cjs +357 -0
  6. package/dist/actions-DxJZ3yIv.cjs.map +1 -0
  7. package/dist/actions.cjs +19 -0
  8. package/dist/actions.d.cts +4 -0
  9. package/dist/actions.d.ts +4 -0
  10. package/dist/actions.js +3 -0
  11. package/dist/client-BxB6ktQd.d.cts +690 -0
  12. package/dist/client-BxB6ktQd.d.cts.map +1 -0
  13. package/dist/client-BxB6ktQd.d.ts +690 -0
  14. package/dist/client-BxB6ktQd.d.ts.map +1 -0
  15. package/dist/codec-B7HJjMzI.cjs +8190 -0
  16. package/dist/codec-B7HJjMzI.cjs.map +1 -0
  17. package/dist/codec-CX-19jac.js +8130 -0
  18. package/dist/codec-CX-19jac.js.map +1 -0
  19. package/dist/contract-BpxjDMHw.js +1105 -0
  20. package/dist/contract-BpxjDMHw.js.map +1 -0
  21. package/dist/contract-D0wCFcAN.cjs +1219 -0
  22. package/dist/contract-D0wCFcAN.cjs.map +1 -0
  23. package/dist/contract.cjs +58 -0
  24. package/dist/contract.d.cts +3 -0
  25. package/dist/contract.d.ts +3 -0
  26. package/dist/contract.js +2 -0
  27. package/dist/contracts.cjs +1050 -0
  28. package/dist/contracts.cjs.map +1 -0
  29. package/dist/contracts.d.cts +397 -0
  30. package/dist/contracts.d.cts.map +1 -0
  31. package/dist/contracts.d.ts +397 -0
  32. package/dist/contracts.d.ts.map +1 -0
  33. package/dist/contracts.js +1030 -0
  34. package/dist/contracts.js.map +1 -0
  35. package/dist/dev_wallet-BXWK5KR6.cjs +530 -0
  36. package/dist/dev_wallet-BXWK5KR6.cjs.map +1 -0
  37. package/dist/dev_wallet-C9eMQROk.js +497 -0
  38. package/dist/dev_wallet-C9eMQROk.js.map +1 -0
  39. package/dist/domainSeparator-B_vU_zUD.cjs +102 -0
  40. package/dist/domainSeparator-B_vU_zUD.cjs.map +1 -0
  41. package/dist/domainSeparator-CBCvxIj-.js +79 -0
  42. package/dist/domainSeparator-CBCvxIj-.js.map +1 -0
  43. package/dist/execution-CRDyKu45.d.ts +227 -0
  44. package/dist/execution-CRDyKu45.d.ts.map +1 -0
  45. package/dist/execution-DyxaIG4v.d.cts +227 -0
  46. package/dist/execution-DyxaIG4v.d.cts.map +1 -0
  47. package/dist/hex-DIcaALXL.js +112 -0
  48. package/dist/hex-DIcaALXL.js.map +1 -0
  49. package/dist/hex-DkGpiZ5e.cjs +189 -0
  50. package/dist/hex-DkGpiZ5e.cjs.map +1 -0
  51. package/dist/index--5LsCotr.d.ts +192 -0
  52. package/dist/index--5LsCotr.d.ts.map +1 -0
  53. package/dist/index-B5KqSHeL.d.cts +192 -0
  54. package/dist/index-B5KqSHeL.d.cts.map +1 -0
  55. package/dist/index-BZ0O5jZG.d.cts +163 -0
  56. package/dist/index-BZ0O5jZG.d.cts.map +1 -0
  57. package/dist/index-BuPQcAK2.d.ts +23 -0
  58. package/dist/index-BuPQcAK2.d.ts.map +1 -0
  59. package/dist/index-ByNNqY7S.d.cts +83 -0
  60. package/dist/index-ByNNqY7S.d.cts.map +1 -0
  61. package/dist/index-C-M-4jMR.d.cts +263 -0
  62. package/dist/index-C-M-4jMR.d.cts.map +1 -0
  63. package/dist/index-C97zw2rk.d.ts +137 -0
  64. package/dist/index-C97zw2rk.d.ts.map +1 -0
  65. package/dist/index-CIHK7Ew9.d.cts +303 -0
  66. package/dist/index-CIHK7Ew9.d.cts.map +1 -0
  67. package/dist/index-CIHK7Ew9.d.ts +303 -0
  68. package/dist/index-CIHK7Ew9.d.ts.map +1 -0
  69. package/dist/index-CXuO2Zjx.d.ts +263 -0
  70. package/dist/index-CXuO2Zjx.d.ts.map +1 -0
  71. package/dist/index-DOEBWXY2.d.cts +137 -0
  72. package/dist/index-DOEBWXY2.d.cts.map +1 -0
  73. package/dist/index-DzrLv3EA.d.cts +82 -0
  74. package/dist/index-DzrLv3EA.d.cts.map +1 -0
  75. package/dist/index-DzrLv3EA.d.ts +82 -0
  76. package/dist/index-DzrLv3EA.d.ts.map +1 -0
  77. package/dist/index-fdTURpBk.d.ts +83 -0
  78. package/dist/index-fdTURpBk.d.ts.map +1 -0
  79. package/dist/index-sAzHHayu.d.ts +163 -0
  80. package/dist/index-sAzHHayu.d.ts.map +1 -0
  81. package/dist/index-uQqRk9Ww.d.cts +23 -0
  82. package/dist/index-uQqRk9Ww.d.cts.map +1 -0
  83. package/dist/index.cjs +478 -0
  84. package/dist/index.cjs.map +1 -0
  85. package/dist/index.d.cts +173 -0
  86. package/dist/index.d.cts.map +1 -0
  87. package/dist/index.d.ts +173 -0
  88. package/dist/index.d.ts.map +1 -0
  89. package/dist/index.js +231 -0
  90. package/dist/index.js.map +1 -0
  91. package/dist/provider.cjs +101 -0
  92. package/dist/provider.cjs.map +1 -0
  93. package/dist/provider.d.cts +2 -0
  94. package/dist/provider.d.ts +2 -0
  95. package/dist/provider.js +76 -0
  96. package/dist/provider.js.map +1 -0
  97. package/dist/readError-BVbfTMLv.cjs +604 -0
  98. package/dist/readError-BVbfTMLv.cjs.map +1 -0
  99. package/dist/readError-Dn_XN98x.js +551 -0
  100. package/dist/readError-Dn_XN98x.js.map +1 -0
  101. package/dist/readViews-BKJtE5J3.d.cts +594 -0
  102. package/dist/readViews-BKJtE5J3.d.cts.map +1 -0
  103. package/dist/readViews-C_FX8wby.d.ts +594 -0
  104. package/dist/readViews-C_FX8wby.d.ts.map +1 -0
  105. package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
  106. package/dist/sendInvocation-2EZanZZr.cjs +661 -0
  107. package/dist/sendInvocation-2EZanZZr.cjs.map +1 -0
  108. package/dist/sendInvocation-C4ruTC-9.js +505 -0
  109. package/dist/sendInvocation-C4ruTC-9.js.map +1 -0
  110. package/dist/sign-BewmV_EL.cjs +139 -0
  111. package/dist/sign-BewmV_EL.cjs.map +1 -0
  112. package/dist/sign-DVIRyW8Y.js +122 -0
  113. package/dist/sign-DVIRyW8Y.js.map +1 -0
  114. package/dist/sign-Ve0eetRO.d.ts +48 -0
  115. package/dist/sign-Ve0eetRO.d.ts.map +1 -0
  116. package/dist/sign-eUT0iGQG.d.cts +48 -0
  117. package/dist/sign-eUT0iGQG.d.cts.map +1 -0
  118. package/dist/signed-op.cjs +9 -0
  119. package/dist/signed-op.d.cts +3 -0
  120. package/dist/signed-op.d.ts +3 -0
  121. package/dist/signed-op.js +3 -0
  122. package/dist/signedOp-Bluo0OAd.cjs +183 -0
  123. package/dist/signedOp-Bluo0OAd.cjs.map +1 -0
  124. package/dist/signedOp-x4fakrr4.js +166 -0
  125. package/dist/signedOp-x4fakrr4.js.map +1 -0
  126. package/dist/signed_op-BzVbBgv4.js +154 -0
  127. package/dist/signed_op-BzVbBgv4.js.map +1 -0
  128. package/dist/signed_op-DFgQ2yFj.d.ts +58 -0
  129. package/dist/signed_op-DFgQ2yFj.d.ts.map +1 -0
  130. package/dist/signed_op-LwxrDud8.d.cts +58 -0
  131. package/dist/signed_op-LwxrDud8.d.cts.map +1 -0
  132. package/dist/signed_op-z_8fqAi1.cjs +175 -0
  133. package/dist/signed_op-z_8fqAi1.cjs.map +1 -0
  134. package/dist/signers-BFP84wJP.cjs +137 -0
  135. package/dist/signers-BFP84wJP.cjs.map +1 -0
  136. package/dist/signers-CzOSedwJ.js +120 -0
  137. package/dist/signers-CzOSedwJ.js.map +1 -0
  138. package/dist/signers.cjs +5 -0
  139. package/dist/signers.d.cts +3 -0
  140. package/dist/signers.d.ts +3 -0
  141. package/dist/signers.js +2 -0
  142. package/dist/size-506oTE28.js +91 -0
  143. package/dist/size-506oTE28.js.map +1 -0
  144. package/dist/size-OAFfOthl.cjs +108 -0
  145. package/dist/size-OAFfOthl.cjs.map +1 -0
  146. package/dist/transaction-CwkQxQOx.js +24 -0
  147. package/dist/transaction-CwkQxQOx.js.map +1 -0
  148. package/dist/transaction-DrSrCJ5y.cjs +47 -0
  149. package/dist/transaction-DrSrCJ5y.cjs.map +1 -0
  150. package/dist/transaction.cjs +13 -0
  151. package/dist/transaction.d.cts +3 -0
  152. package/dist/transaction.d.ts +3 -0
  153. package/dist/transaction.js +4 -0
  154. package/dist/transactionHash-CO9ajbvU.js +24 -0
  155. package/dist/transactionHash-CO9ajbvU.js.map +1 -0
  156. package/dist/transactionHash-D5yf4KoL.cjs +29 -0
  157. package/dist/transactionHash-D5yf4KoL.cjs.map +1 -0
  158. package/dist/transport-B-P16rs6.cjs +252 -0
  159. package/dist/transport-B-P16rs6.cjs.map +1 -0
  160. package/dist/transport-DqyoNtUy.js +234 -0
  161. package/dist/transport-DqyoNtUy.js.map +1 -0
  162. package/dist/transport.cjs +19 -0
  163. package/dist/transport.d.cts +3 -0
  164. package/dist/transport.d.ts +3 -0
  165. package/dist/transport.js +4 -0
  166. package/dist/types-BE40oD_Q.d.cts +18 -0
  167. package/dist/types-BE40oD_Q.d.cts.map +1 -0
  168. package/dist/types-BE40oD_Q.d.ts +18 -0
  169. package/dist/types-BE40oD_Q.d.ts.map +1 -0
  170. package/dist/validation-4w-vDGAi.cjs +543 -0
  171. package/dist/validation-4w-vDGAi.cjs.map +1 -0
  172. package/dist/validation-eXATmgO0.js +411 -0
  173. package/dist/validation-eXATmgO0.js.map +1 -0
  174. package/dist/wallet-Bthapk8i.cjs +709 -0
  175. package/dist/wallet-Bthapk8i.cjs.map +1 -0
  176. package/dist/wallet-CwWPYoHF.js +667 -0
  177. package/dist/wallet-CwWPYoHF.js.map +1 -0
  178. package/dist/wallet.cjs +27 -0
  179. package/dist/wallet.d.cts +3 -0
  180. package/dist/wallet.d.ts +3 -0
  181. package/dist/wallet.js +3 -0
  182. package/package.json +122 -4
@@ -0,0 +1,594 @@
1
+ import { $ as RpcSchedulerError, B as RpcIdentifiedEvent, C as RpcChainConfig, D as RpcConflictDiagnostic, E as RpcConflictCode, F as RpcEventPage, G as RpcNetworkInfo, H as RpcInvocationOutput, I as RpcExecutionConfig, L as RpcFailureCause, M as RpcEmittedEvent, O as RpcContractRejectCode, P as RpcEventFilter, R as RpcFundingSubmission, T as RpcConfigLimits, V as RpcInvocation, W as RpcIterationOrder, X as RpcRegisteredAuthResult, Y as RpcRecentAttemptFailure, Z as RpcRequests, a as RpcMethod, at as RpcSimulationResults, bt as Transport, ct as RpcStorageResult, dt as RpcTransactionRef, ft as RpcTransactionRefPage, h as RpcBalanceResult, ht as RpcVersionInfo, it as RpcSimulationResult, l as RpcAirdropAttempt, m as RpcAuthSigner, nt as RpcServerLimits, ot as RpcStorageCosts, p as RpcAuthConfiguration, pt as RpcTransactionStatus, q as RpcPublicKey, rt as RpcSimulationBatchLimits, st as RpcStorageItem, t as RpcClient, u as RpcAirdropExecution, ut as RpcTransactionReceipt, w as RpcChainTip, x as RpcBlockInfo, xt as TransportRequestOptions, z as RpcHistoryStart } from "./client-BxB6ktQd.cjs";
2
+ import { AuthClaim, ContractAddress, ContractEntrypointID, GasAmount, Invocation, NetworkHash } from "@thruputchain/protocol";
3
+ import { XdrCodec } from "@thruputchain/xdr";
4
+ import { ContractArrayType, ContractEnumDef, ContractEnumVariant, ContractExceptionType, ContractField, ContractMethodEffect, ContractMethodEffect as ContractMethodEffect$1, ContractSpec, ContractSpecId, ContractSpecId as ContractSpecId$1, ContractSpecInterface, ContractSpecMethod, ContractSpecString, ContractStructDef, ContractType, ContractTypeDef as ContractTypeDef$1, ContractTypeDefKind, ContractTypeKind, ContractUnionCase, ContractUnionCaseKind, ContractUnionCaseType, ContractUnionDef, ContractVectorType } from "@thruputchain/contract-spec";
5
+
6
+ //#region src/types/rpc.d.ts
7
+ type AuthPublicKey = RpcPublicKey;
8
+ type AuthSigner = RpcAuthSigner;
9
+ type AddressAuthDataInfo = RpcAuthConfiguration;
10
+ type RegisteredAuthResult = RpcRegisteredAuthResult;
11
+ type NetworkInfo = RpcNetworkInfo;
12
+ type NetworkConfigParams = RpcConfigLimits;
13
+ type ChainConfig = RpcChainConfig;
14
+ type ExecutionConfig = RpcExecutionConfig;
15
+ type StorageCosts = RpcStorageCosts;
16
+ type SimulationBatchLimits = RpcSimulationBatchLimits;
17
+ type ServerLimits = RpcServerLimits;
18
+ type AirdropAttemptRequest = RpcRequests["faucet_requestAirdrop"];
19
+ type AirdropExecutionStatus = RpcAirdropExecution;
20
+ type AirdropPending = Extract<RpcAirdropAttempt, {
21
+ attemptStatus: "pending";
22
+ }>;
23
+ type AirdropSucceeded = Extract<RpcAirdropAttempt, {
24
+ attemptStatus: "succeeded";
25
+ }>;
26
+ type AirdropResponse = RpcAirdropAttempt;
27
+ type ChainTip = RpcChainTip;
28
+ type BalanceResponse = RpcBalanceResult;
29
+ type BlockInfo = RpcBlockInfo;
30
+ type VersionInfo = RpcVersionInfo;
31
+ /** Prepared descriptor reads retain .view conveniences while using native invocation shapes. */
32
+ type ViewCall = RpcInvocation;
33
+ type ViewRequest = RpcRequests["simulateInvocation"];
34
+ type ViewBatchRequest = RpcRequests["simulateInvocations"];
35
+ type ViewBatchResponse = RpcSimulationResults;
36
+ type ViewOutput = RpcInvocationOutput;
37
+ type ViewResponse = RpcSimulationResult;
38
+ type TransactionStatus = RpcTransactionStatus;
39
+ type SchedulerTransactionError = RpcSchedulerError;
40
+ type TransactionFailureCause = RpcFailureCause;
41
+ /** Best-effort failed-attempt evidence; it need not describe the current scheduler attempt. */
42
+ type RecentAttemptFailure = RpcRecentAttemptFailure;
43
+ type ContractRejectCode = RpcContractRejectCode;
44
+ type ConflictCode = RpcConflictCode;
45
+ type ConflictDiagnostic = RpcConflictDiagnostic;
46
+ type TransactionRef = RpcTransactionRef;
47
+ type TransactionRefPage = RpcTransactionRefPage;
48
+ type TransactionReceipt = RpcTransactionReceipt;
49
+ type EmittedEvent = RpcEmittedEvent;
50
+ type IdentifiedEvent = RpcIdentifiedEvent;
51
+ type EventPage = RpcEventPage;
52
+ type EventFilter = RpcEventFilter;
53
+ type HistoryStart = RpcHistoryStart;
54
+ type IterationOrder = RpcIterationOrder;
55
+ type EventQuery = RpcRequests["getEvents"];
56
+ type BlockTransactionQuery = RpcRequests["getTransactionsByBlock"];
57
+ type RootAddressTransactionQuery = RpcRequests["getTransactionsByRootAddress"];
58
+ type StorageItemInfo = RpcStorageItem;
59
+ type StorageItemRead = RpcStorageResult;
60
+ type FundAccountRequest = RpcRequests["dev_fundAccount"];
61
+ type FundAccountResponse = RpcFundingSubmission;
62
+ //#endregion
63
+ //#region src/actions/public/waitForTransactionReceipt.d.ts
64
+ interface KnownCommitment {
65
+ readonly networkHash: Uint8Array;
66
+ readonly transactionHash: Uint8Array;
67
+ readonly blockHeight: bigint;
68
+ }
69
+ interface WaitForTransactionReceiptOptions {
70
+ signal?: AbortSignal;
71
+ /** Verified before each observation; omission uses discovery's validated network. */
72
+ expectedNetworkHash?: Uint8Array;
73
+ knownCommitment?: KnownCommitment;
74
+ /** Observed status, including optional advisory attempt diagnostics. Never retry permission. */
75
+ onStatus?: (status: TransactionStatus) => void;
76
+ timeoutMs?: number;
77
+ pollingIntervalMs?: number;
78
+ }
79
+ /** Observation stopped; neither timeout nor cancellation proves nonexecution. */
80
+ declare class TransactionReceiptObservationError extends Error {
81
+ readonly transactionHash: Uint8Array;
82
+ readonly knownCommitment: KnownCommitment | undefined;
83
+ readonly lastStatus: TransactionStatus | undefined;
84
+ constructor(transactionHash: Uint8Array, knownCommitment: KnownCommitment | undefined, lastStatus: TransactionStatus | undefined, cause: unknown);
85
+ }
86
+ declare class TransactionReceiptTimeoutError extends TransactionReceiptObservationError {
87
+ constructor(transactionHash: Uint8Array, knownCommitment: KnownCommitment | undefined, lastStatus: TransactionStatus | undefined, cause?: unknown);
88
+ }
89
+ /** Read-only capabilities used by commitment and receipt observation. */
90
+ type ReceiptObserver = Pick<RpcClient, "getNetworkInfo" | "getTransactionReceipt" | "getTransactionStatus" | "discovery" | "requireMethods">;
91
+ /** Return any committed receipt, including failed execution. Never sign or resubmit. */
92
+ declare function waitForTransactionReceipt(client: ReceiptObserver, transactionHash: Uint8Array, options?: WaitForTransactionReceiptOptions): Promise<TransactionReceipt>;
93
+ /** Observe commitment independently of receipt availability or execution success. */
94
+ declare function waitForCommitment(client: ReceiptObserver, transactionHash: Uint8Array, options?: WaitForTransactionReceiptOptions): Promise<KnownCommitment>;
95
+ //#endregion
96
+ //#region src/actions/public/requestAirdrop.d.ts
97
+ interface RequestAirdropOptions {
98
+ readonly recipient: Uint8Array;
99
+ readonly clientNonce?: Uint8Array;
100
+ readonly expectedNetworkHash?: Uint8Array;
101
+ readonly timeoutMs?: number;
102
+ readonly signal?: AbortSignal;
103
+ }
104
+ /** Funding stopped without permission to call the faucet again. */
105
+ declare class FundingObservationError extends Error {
106
+ readonly request: AirdropAttemptRequest & {
107
+ networkHash: Uint8Array;
108
+ };
109
+ readonly lastResponse: AirdropResponse | undefined;
110
+ readonly knownCommitment?: KnownCommitment | undefined;
111
+ constructor(request: AirdropAttemptRequest & {
112
+ networkHash: Uint8Array;
113
+ }, lastResponse: AirdropResponse | undefined, cause: unknown, knownCommitment?: KnownCommitment | undefined);
114
+ }
115
+ /** Perform exactly one faucet call. It neither polls nor repeats an ambiguous attempt. */
116
+ declare function requestAirdropAttempt(client: Pick<RpcClient, "faucet_requestAirdrop">, request: AirdropAttemptRequest, options?: TransportRequestOptions): Promise<AirdropResponse>;
117
+ /** Call the faucet once, then observe a returned pending hash using read-only calls. */
118
+ declare function requestAirdrop(client: RpcClient, options: RequestAirdropOptions): Promise<AirdropSucceeded>;
119
+ //#endregion
120
+ //#region src/contract/spec.d.ts
121
+ /**
122
+ * Lookup key for a named type: every segment of its spec id.
123
+ *
124
+ * Two types with the same declared name in different crates or modules are
125
+ * distinct, so named-codec maps from {@link buildNamedCodecs} are keyed by
126
+ * this rather than by `declared` alone. The encoding is injective; use
127
+ * {@link formatSpecId} for anything a person reads.
128
+ */
129
+ declare function specIdKey(id: ContractSpecId): string;
130
+ /**
131
+ * Render a spec id for diagnostics as `module_path::declared (crate@major)`,
132
+ * the shape the Thruput CLI and spec tool print.
133
+ */
134
+ declare function formatSpecId(id: Readonly<Record<keyof ContractSpecId, string>>): string;
135
+ //#endregion
136
+ //#region src/contract/codec.d.ts
137
+ /** Complete-input codec used by generated contract descriptors. */
138
+ interface ContractCodec<T> {
139
+ encode(value: T): Uint8Array;
140
+ decode(data: Uint8Array): T;
141
+ }
142
+ declare const contractCodecContextBrand: unique symbol;
143
+ /** Opaque named-codec context shared by one generated binding module. */
144
+ interface ContractCodecContext {
145
+ readonly [contractCodecContextBrand]: true;
146
+ }
147
+ /** Build the shared codec context for a generated binding module. */
148
+ declare function createContractCodecContext(typeDefs: readonly ContractTypeDef$1[]): ContractCodecContext;
149
+ //#endregion
150
+ //#region src/contract/event.d.ts
151
+ /** Ordered metadata for one declared event topic after the signature. */
152
+ interface ContractEventTopicMetadata {
153
+ name: string;
154
+ type: ContractType;
155
+ representation: "address" | "fixedBytes32" | "u32" | "u64" | "u128" | "u256" | "i32" | "i64" | "i128" | "i256" | "bool" | "hash";
156
+ }
157
+ /** Ordered metadata for one event payload field. */
158
+ interface ContractEventFieldMetadata {
159
+ name: string;
160
+ type: ContractType;
161
+ }
162
+ /** Runtime definition consumed by a generated event descriptor. */
163
+ interface ContractEventDefinition<TName extends string = string> {
164
+ name: TName;
165
+ signature: Uint8Array;
166
+ topics: readonly ContractEventTopicMetadata[];
167
+ fields: readonly ContractEventFieldMetadata[];
168
+ codecs: ContractCodecContext;
169
+ }
170
+ /** One accepted direct-topic value or a non-empty OR constraint. */
171
+ type ContractEventFilterValue<T> = T | {
172
+ oneOf: readonly [T, ...T[]];
173
+ };
174
+ /** Generated named topic constraints plus required emitter addresses. */
175
+ interface ContractEventFilterInput<TFilter> {
176
+ addresses: readonly ContractAddress[];
177
+ topics?: TFilter;
178
+ }
179
+ /** Emitter scope for receipt extraction. */
180
+ interface ContractEventReceiptOptions {
181
+ address: ContractAddress;
182
+ }
183
+ /** Canonical value returned by generated event decoders. */
184
+ interface DecodedContractEvent<TName extends string, TTopics, TFields> {
185
+ name: TName;
186
+ topics: TTopics;
187
+ fields: TFields;
188
+ }
189
+ /** Decoded receipt event retaining the emitting contract address. */
190
+ type ContractReceiptEvent<TName extends string, TTopics, TFields> = DecodedContractEvent<TName, TTopics, TFields> & {
191
+ address: ContractAddress;
192
+ };
193
+ /** Complete generated event API. */
194
+ interface ContractEvent<TName extends string, TTopics, TFields, TFilter> {
195
+ readonly signature: Uint8Array;
196
+ decode(event: Pick<EmittedEvent, "topics" | "data">): DecodedContractEvent<TName, TTopics, TFields> | null;
197
+ filter(input: ContractEventFilterInput<TFilter>): EventFilter;
198
+ allFromReceipt(receipt: Pick<TransactionReceipt, "events">, options: ContractEventReceiptOptions): ContractReceiptEvent<TName, TTopics, TFields>[];
199
+ singleFromReceipt(receipt: Pick<TransactionReceipt, "events">, options: ContractEventReceiptOptions): ContractReceiptEvent<TName, TTopics, TFields>;
200
+ }
201
+ /** Build one generated event descriptor from direct ABI metadata. */
202
+ declare function defineContractEvent<const TName extends string, TTopics, TFields, TFilter>(definition: ContractEventDefinition<TName>): ContractEvent<TName, TTopics, TFields, TFilter>;
203
+ /** Compare public byte identifiers. This function is not constant-time. */
204
+ declare function bytesEqual(left: Uint8Array | undefined, right: Uint8Array): boolean;
205
+ //#endregion
206
+ //#region src/actions/public/getContractEvents.d.ts
207
+ /** One generated event descriptor with named filters and ordinary page controls. */
208
+ type ContractEventQuery<TName extends string, TTopics, TFields, TFilter> = (EventQuery extends infer Q ? Q extends EventQuery ? Omit<Q, "filters"> : never : never) & ContractEventFilterInput<NoInfer<TFilter>> & {
209
+ event: ContractEvent<TName, TTopics, TFields, TFilter>;
210
+ };
211
+ /** A decoded event with its emitter, transaction, and position in history. */
212
+ type IdentifiedContractEvent<TName extends string, TTopics, TFields> = DecodedContractEvent<TName, TTopics, TFields> & Omit<IdentifiedEvent, "event"> & Pick<EmittedEvent, "address">;
213
+ /** One decoded event page, retaining the RPC cursor and indexer bounds. */
214
+ type ContractEventPage<TName extends string, TTopics, TFields> = Omit<EventPage, "events"> & {
215
+ events: IdentifiedContractEvent<TName, TTopics, TFields>[];
216
+ };
217
+ /**
218
+ * Fetch exactly one page using a generated event's filter and decoder.
219
+ *
220
+ * No additional pages are fetched. Pass the returned cursor into the next call
221
+ * with the same filters. Malformed events and unexpected signatures throw
222
+ * ContractDecodeError rather than silently disappearing from the page.
223
+ *
224
+ * @example
225
+ * ```ts
226
+ * const page = await getContractEvents(client, {
227
+ * event: thruput_erc20_if.v0_1.events.TransferEvent,
228
+ * addresses: [tokenAddress],
229
+ * topics: { to: accountAddress },
230
+ * start: { order: "ascending", anchor: { kind: "atBeginning" } },
231
+ * limit: 20,
232
+ * }, { signal });
233
+ * ```
234
+ */
235
+ declare function getContractEvents<TName extends string, TTopics, TFields, TFilter>(client: Pick<RpcClient, "getEvents">, query: ContractEventQuery<TName, TTopics, TFields, TFilter>, options?: TransportRequestOptions): Promise<ContractEventPage<TName, TTopics, TFields>>;
236
+ //#endregion
237
+ //#region src/actions/public/historyWalk.d.ts
238
+ /** Returned only after the caller resumes past the terminal page. Persist with processed data. */
239
+ interface HistoryCompletion {
240
+ readonly watermarkBlockHeight: bigint;
241
+ /** Ascending range fully consumed; absent for descending or an anchor above the watermark. */
242
+ readonly completedThroughBlockHeight?: bigint;
243
+ }
244
+ declare class HistoryWalkError extends Error {
245
+ readonly page: EventPage | TransactionRefPage;
246
+ constructor(message: string, page: EventPage | TransactionRefPage);
247
+ }
248
+ //#endregion
249
+ //#region src/actions/public/iterateEventPages.d.ts
250
+ type EventWalkQuery = Extract<EventQuery, {
251
+ start: unknown;
252
+ }>;
253
+ /** Start a fixed event range. Saved opaque cursors remain available through getEvents. */
254
+ declare function iterateEventPages(client: Pick<RpcClient, "getEvents">, query: EventWalkQuery, options?: TransportRequestOptions): AsyncGenerator<EventPage, HistoryCompletion, unknown>;
255
+ //#endregion
256
+ //#region src/cluster.d.ts
257
+ /** Public Thruput Futurenet JSON-RPC endpoint. */
258
+ declare const FUTURENET_RPC_URL = "https://rpc.thruput.network";
259
+ /** @deprecated Use {@link FUTURENET_RPC_URL}. */
260
+ declare const DEVNET_RPC_URL = "https://rpc.thruput.network";
261
+ /** Default JSON-RPC endpoint for `thruput node`. */
262
+ declare const LOCALNET_RPC_URL = "http://127.0.0.1:9545";
263
+ /** Optional feature exposed by a Thruput cluster. */
264
+ type ClusterCapability = "airdrop";
265
+ /** Network identity and optional features expected at an RPC endpoint. */
266
+ interface Cluster<TCapabilities extends readonly ClusterCapability[] = readonly ClusterCapability[]> {
267
+ /** Optional human-readable cluster name. */
268
+ readonly name?: string;
269
+ /** Optional protocol network identity pin. */
270
+ readonly networkHash?: NetworkHash;
271
+ /** Default JSON-RPC endpoint, when the cluster has one. */
272
+ readonly rpcUrl?: string;
273
+ /** Optional RPC features expected to be available on the cluster. */
274
+ readonly capabilities: TCapabilities;
275
+ }
276
+ /** Whether every possible cluster descriptor declares an optional feature. */
277
+ type ClusterHasCapability<TCluster extends Cluster, TCapability extends ClusterCapability> = false extends (TCluster extends Cluster<infer TCapabilities> ? TCapabilities extends readonly ClusterCapability[] ? number extends TCapabilities["length"] ? false : TCapability extends TCapabilities[number] ? true : false : false : false) ? false : true;
278
+ /** Options shared by predefined cluster descriptors. */
279
+ interface PredefinedClusterOptions {
280
+ /** Override the cluster's default JSON-RPC endpoint. */
281
+ readonly rpcUrl?: string;
282
+ /** Pin the endpoint to one protocol signing network. */
283
+ readonly networkHash?: NetworkHash;
284
+ }
285
+ /** Define a reusable cluster while preserving its literal capability types. */
286
+ declare function defineCluster<const TCluster extends Cluster>(cluster: TCluster & {
287
+ readonly genesisHash?: never;
288
+ }): TCluster;
289
+ /** Define the canonical Thruput mainnet cluster. */
290
+ declare function mainnet(options?: PredefinedClusterOptions): Cluster<readonly []> & {
291
+ readonly name: "mainnet";
292
+ };
293
+ /** Define Futurenet, the resettable public development network, unpinned unless `networkHash` is supplied. */
294
+ declare function futurenet(options?: PredefinedClusterOptions): Cluster<readonly ["airdrop"]> & {
295
+ readonly name: "futurenet";
296
+ };
297
+ /**
298
+ * Compatibility alias for {@link futurenet}, retaining the legacy cluster name.
299
+ * @deprecated Use {@link futurenet}.
300
+ */
301
+ declare function devnet(options?: PredefinedClusterOptions): Cluster<readonly ["airdrop"]> & {
302
+ readonly name: "devnet";
303
+ };
304
+ /** Define a local `thruput node` development network. */
305
+ declare function localnet(options?: PredefinedClusterOptions): Cluster<readonly ["airdrop"]> & {
306
+ readonly name: "localnet";
307
+ };
308
+ /** Error thrown when an RPC endpoint does not match its declared cluster. */
309
+ declare class NetworkMismatchError extends Error {
310
+ readonly cluster: Cluster;
311
+ readonly actual: NetworkInfo;
312
+ constructor(cluster: Cluster, actual: NetworkInfo);
313
+ }
314
+ /** Assert that runtime network information matches a cluster descriptor. */
315
+ declare function assertNetworkMatchesCluster(cluster: Cluster, actual: NetworkInfo): void;
316
+ //#endregion
317
+ //#region src/actions/public/iterateTransactionPages.d.ts
318
+ type RootAddressWalkQuery = Extract<RootAddressTransactionQuery, {
319
+ start: unknown;
320
+ }>;
321
+ type BlockTransactionWalkQuery = Extract<BlockTransactionQuery, {
322
+ start: unknown;
323
+ }>;
324
+ /** Transactions sent by this root address; incoming transfers use token events. */
325
+ declare function iterateTransactionsByRootAddress(client: Pick<RpcClient, "getTransactionsByRootAddress">, query: RootAddressWalkQuery, options?: TransportRequestOptions): AsyncGenerator<TransactionRefPage, HistoryCompletion, unknown>;
326
+ /** Walk one covered block. Completion never establishes a whole-chain checkpoint. */
327
+ declare function iterateTransactionsByBlock(client: Pick<RpcClient, "getTransactionsByBlock">, query: BlockTransactionWalkQuery, options?: TransportRequestOptions): AsyncGenerator<TransactionRefPage, void, unknown>;
328
+ //#endregion
329
+ //#region src/client.d.ts
330
+ /** Native RPC methods plus workflows that never sign, replace or repeat writes. */
331
+ interface CoreThruputClient extends RpcClient {
332
+ iterateTransactionsByRootAddress(query: RootAddressWalkQuery, options?: TransportRequestOptions): AsyncGenerator<TransactionRefPage, HistoryCompletion, unknown>;
333
+ iterateTransactionsByBlock(query: BlockTransactionWalkQuery, options?: TransportRequestOptions): AsyncGenerator<TransactionRefPage, void, unknown>;
334
+ waitForTransactionReceipt(transactionHash: Uint8Array, options?: WaitForTransactionReceiptOptions): Promise<TransactionReceipt>;
335
+ waitForCommitment(transactionHash: Uint8Array, options?: WaitForTransactionReceiptOptions): Promise<KnownCommitment>;
336
+ readViews<const TCalls extends readonly ContractViewRequest[]>(request: ReadViewsRequest<TCalls>, options?: TransportRequestOptions): Promise<ReadViewsResponse<TCalls>>;
337
+ getContractEvents<TName extends string, TTopics, TFields, TFilter>(query: ContractEventQuery<TName, TTopics, TFields, TFilter>, options?: TransportRequestOptions): Promise<ContractEventPage<TName, TTopics, TFields>>;
338
+ iterateEventPages(query: EventWalkQuery, options?: TransportRequestOptions): AsyncGenerator<EventPage, HistoryCompletion, unknown>;
339
+ }
340
+ /** Optional one-call faucet workflow, gated by endpoint discovery. */
341
+ interface AirdropActions {
342
+ requestAirdrop(options: RequestAirdropOptions): Promise<AirdropSucceeded>;
343
+ requestAirdropAttempt(request: AirdropAttemptRequest, options?: TransportRequestOptions): Promise<AirdropResponse>;
344
+ }
345
+ interface ThruputClient extends CoreThruputClient, AirdropActions {}
346
+ type ConnectedThruputClient<TCluster extends Cluster = Cluster> = CoreThruputClient & {
347
+ readonly cluster: TCluster & {
348
+ readonly genesisHash?: never;
349
+ };
350
+ readonly network: NetworkInfo;
351
+ } & (ClusterHasCapability<TCluster, "airdrop"> extends true ? AirdropActions : {});
352
+ interface ThruputClientOptions {
353
+ readonly transport: Transport;
354
+ readonly cluster?: never;
355
+ readonly requiredMethods?: readonly RpcMethod[];
356
+ readonly signal?: AbortSignal;
357
+ }
358
+ interface ClusterThruputClientOptions<TCluster extends Cluster = Cluster> {
359
+ readonly cluster: TCluster & {
360
+ readonly genesisHash?: never;
361
+ };
362
+ readonly transport?: Transport;
363
+ readonly requiredMethods?: readonly RpcMethod[];
364
+ readonly signal?: AbortSignal;
365
+ }
366
+ /** Connect once, validate wire/network/capabilities, and bind native methods and workflows. */
367
+ declare function createThruputClient<const TCluster extends Cluster>(options: ClusterThruputClientOptions<TCluster>): Promise<ConnectedThruputClient<TCluster>>;
368
+ declare function createThruputClient(options: ThruputClientOptions): Promise<ThruputClient>;
369
+ //#endregion
370
+ //#region src/contract/method.d.ts
371
+ /** Omit the argument position entirely for methods without arguments. */
372
+ type MethodArgs<TArgs> = [TArgs] extends [void] ? [] : [args: TArgs];
373
+ /** Successfully decoded contract view result and its snapshot metadata. */
374
+ interface ContractView<T> {
375
+ value: T;
376
+ stateBlockHeight: bigint;
377
+ gasUsed: bigint;
378
+ events: EmittedEvent[];
379
+ }
380
+ /** Contract exception selector not declared by the generated interface. */
381
+ interface UnknownContractException {
382
+ kind: "unknown";
383
+ selector: bigint;
384
+ data: Uint8Array;
385
+ }
386
+ /** Declared exceptions plus a lossless fallback for unknown selectors. */
387
+ type ContractException<TDeclared> = (TDeclared & {
388
+ /** Symbolic enum case when available in the contract spec. */variant?: string;
389
+ }) | UnknownContractException;
390
+ /** Non-successful contract view outcome. */
391
+ type ContractViewFailure<TException> = {
392
+ kind: "unsupported";
393
+ raw: ViewResponse;
394
+ stateBlockHeight: bigint;
395
+ gasUsed: bigint;
396
+ events: EmittedEvent[];
397
+ } | {
398
+ kind: "abort";
399
+ exception: TException;
400
+ abortData: Uint8Array;
401
+ stateBlockHeight: bigint;
402
+ gasUsed: bigint;
403
+ events: EmittedEvent[];
404
+ } | {
405
+ kind: "fault";
406
+ stateBlockHeight: bigint;
407
+ gasUsed: bigint;
408
+ events: EmittedEvent[];
409
+ };
410
+ /** Typed return, abort, fault, or unsupported response from a contract view. */
411
+ type ContractViewOutcome<TResult, TException> = ({
412
+ kind: "return";
413
+ } & ContractView<TResult>) | ContractViewFailure<TException>;
414
+ /** Successfully decoded root return and its commitment metadata. */
415
+ interface ContractReceipt<TResult> {
416
+ value: TResult;
417
+ transactionHash: Uint8Array;
418
+ blockHeight: bigint;
419
+ events: EmittedEvent[];
420
+ }
421
+ type ContractReceiptFailure<TException> = {
422
+ transactionHash: Uint8Array;
423
+ blockHeight: bigint;
424
+ events: EmittedEvent[];
425
+ } & ({
426
+ kind: "abort";
427
+ exception: TException;
428
+ abortData: Uint8Array;
429
+ } | {
430
+ kind: "failure";
431
+ execution: TransactionReceipt["execution"];
432
+ } | {
433
+ kind: "unsupported";
434
+ raw: TransactionReceipt;
435
+ });
436
+ type ContractReceiptOutcome<TResult, TException> = ({
437
+ kind: "return";
438
+ } & ContractReceipt<TResult>) | ContractReceiptFailure<TException>;
439
+ /** Error thrown by the view API for aborts, faults, or unsupported outcomes. */
440
+ declare class ContractViewError<TException> extends Error {
441
+ readonly outcome: ContractViewFailure<TException>;
442
+ constructor(outcome: ContractViewFailure<TException>);
443
+ }
444
+ /** Error thrown when a root contract receipt does not produce a typed return. */
445
+ declare class ContractReceiptError<TException> extends Error {
446
+ readonly outcome: ContractReceiptFailure<TException>;
447
+ constructor(outcome: ContractReceiptFailure<TException>);
448
+ }
449
+ /** Generated method argument metadata in ABI order. */
450
+ interface ContractArgumentMetadata {
451
+ abiName: string;
452
+ publicName: string;
453
+ type: ContractType;
454
+ }
455
+ /** Generated declared exception metadata. */
456
+ interface ContractExceptionMetadata {
457
+ selector: bigint;
458
+ name: string | null;
459
+ type: ContractType;
460
+ }
461
+ /** Runtime definition consumed by a generated method descriptor. */
462
+ interface ContractMethodDefinition {
463
+ /** Author-declared whole-invocation effects; null or omission means unannotated. */
464
+ effect?: ContractMethodEffect | null;
465
+ /** Canonical interface name for diagnostics. */
466
+ interfaceName?: string;
467
+ /** Interface ABI version, not a deployed-code verification. */
468
+ interfaceVersion?: string;
469
+ /** Method name in the contract ABI. */
470
+ abiName?: string;
471
+ /** Method name in the TypeScript binding. */
472
+ publicName?: string;
473
+ entrypoint: ContractEntrypointID;
474
+ args: readonly ContractArgumentMetadata[];
475
+ returnType: ContractType;
476
+ throws: readonly ContractExceptionMetadata[];
477
+ codecs: ContractCodecContext;
478
+ }
479
+ /** Contract address and arguments shared by reads and transaction calls. */
480
+ type ContractMethodInputs<TArgs> = {
481
+ address: ContractAddress;
482
+ } & ([TArgs] extends [void] ? {
483
+ args?: never;
484
+ } : {
485
+ args: TArgs;
486
+ });
487
+ /** View options with an argument object only when the method requires one. */
488
+ type ContractViewOptions<TArgs> = ContractMethodInputs<TArgs> & {
489
+ /** Optional authorization assumed by the simulator, without signatures. */assumedAuth?: AuthClaim;
490
+ client: Pick<ThruputClient, "simulateInvocation">;
491
+ caller?: ContractAddress; /** Minimum committed snapshot height. No waiting or request-driven refresh. */
492
+ minStateBlockHeight?: bigint; /** Cancel this read without affecting other requests on the same client. */
493
+ signal?: AbortSignal;
494
+ };
495
+ /** Inputs to a typed, unsubmitted contract call. */
496
+ type ContractCallOptions<TArgs> = ContractMethodInputs<TArgs> & {
497
+ gasLimit: GasAmount;
498
+ minStateBlockHeight?: never;
499
+ };
500
+ /** Inputs for an unsubmitted view, with arguments checked by the generated method. */
501
+ type ContractViewRequestOptions<TArgs> = ContractMethodInputs<TArgs> & {
502
+ assumedAuth?: AuthClaim;
503
+ caller?: ContractAddress;
504
+ minStateBlockHeight?: never;
505
+ };
506
+ /** Encoded view request retaining its generated outcome decoder. */
507
+ interface ContractViewRequest<TResult = unknown, TException = unknown> {
508
+ readonly minStateBlockHeight?: never;
509
+ readonly request: ViewCall & {
510
+ minStateBlockHeight?: never;
511
+ };
512
+ readonly method: Pick<ContractMethod<never, TResult, TException>, "name" | "decodeViewOutcome">;
513
+ }
514
+ /** An invocation retaining its return and exception decoders. */
515
+ interface ContractCall<TResult = unknown, TException = unknown> {
516
+ readonly invocation: Invocation;
517
+ readonly method: Pick<ContractMethod<never, TResult, TException>, "decodeReturn" | "decodeException" | "decodeReceiptOutcome" | "name">;
518
+ }
519
+ /** Complete generated method API. */
520
+ interface ContractMethod<TArgs, TResult, TDeclaredException> {
521
+ /**
522
+ * Author-declared effects, including nested calls. Pure excludes state/context
523
+ * reads; read-only excludes application effects (including events); state-changing
524
+ * means effects may occur. Null means unannotated and gives no read-only assurance.
525
+ * These declarations are not compiler/runtime enforced and never restrict
526
+ * invocation or view APIs.
527
+ */
528
+ readonly effect: ContractMethodEffect | null;
529
+ /** Qualified method name, or entrypoint when generated identity is absent. */
530
+ readonly name: string;
531
+ /** Prepare an independent read for readViews without performing I/O. */
532
+ viewRequest(options: ContractViewRequestOptions<TArgs>): ContractViewRequest<TResult, TDeclaredException>;
533
+ /** Build an unsubmitted call retaining typed decoding context. */
534
+ call(options: ContractCallOptions<TArgs>): ContractCall<TResult, TDeclaredException>;
535
+ readonly entrypoint: ContractEntrypointID;
536
+ invocation(contract: ContractAddress, gasLimit: GasAmount, ...args: MethodArgs<TArgs>): Invocation;
537
+ /**
538
+ * Decode complete calldata using the generated public argument names.
539
+ * Returns undefined for no-argument methods; rejects incomplete or trailing bytes.
540
+ * Select the descriptor after checking the invocation's entrypoint. ABI decoding
541
+ * does not verify the target contract's behavior.
542
+ *
543
+ * @example
544
+ * ```ts
545
+ * const { receiver, amount } = ERC20.v0_1.transfer.decodeArgs(invocation.calldata);
546
+ * ```
547
+ */
548
+ decodeArgs(data: Uint8Array): TArgs;
549
+ /** Decode complete return data; reject incomplete or trailing bytes. */
550
+ decodeReturn(data: Uint8Array): TResult;
551
+ /** Decode abort data, preserving an unknown selector and its complete payload. */
552
+ decodeException(data: Uint8Array): ContractException<TDeclaredException>;
553
+ /** Decode a view response with the same semantics as view(). */
554
+ decodeView(response: ViewResponse): ContractView<TResult>;
555
+ /** Decode return, abort, fault, or unsupported data without throwing for a contract failure. */
556
+ decodeViewOutcome(response: ViewResponse): ContractViewOutcome<TResult, ContractException<TDeclaredException>>;
557
+ /** Decode a receipt whose root invocation called this method; nested invocation results are not inspected. */
558
+ decodeReceipt(receipt: TransactionReceipt): ContractReceipt<TResult>;
559
+ /** Decode the outcome of a root invocation of this method; nested invocation results are not inspected. */
560
+ decodeReceiptOutcome(receipt: TransactionReceipt): ContractReceiptOutcome<TResult, ContractException<TDeclaredException>>;
561
+ view(options: ContractViewOptions<TArgs>): Promise<ContractView<TResult>>;
562
+ viewOutcome(options: ContractViewOptions<TArgs>): Promise<ContractViewOutcome<TResult, ContractException<TDeclaredException>>>;
563
+ }
564
+ /** Build one generated method descriptor from direct ABI metadata. */
565
+ declare function defineContractMethod<TArgs, TResult, TDeclaredException>(definition: ContractMethodDefinition): ContractMethod<TArgs, TResult, TDeclaredException>;
566
+ //#endregion
567
+ //#region src/actions/public/readViews.d.ts
568
+ /** Typed calls and an optional minimum committed height for one snapshot read. */
569
+ interface ReadViewsRequest<TCalls extends readonly ContractViewRequest[]> {
570
+ calls: TCalls;
571
+ minStateBlockHeight?: bigint;
572
+ }
573
+ /** Ordered typed outcomes, preserving each tuple position's return and exception types. */
574
+ interface ReadViewsResponse<TCalls extends readonly ContractViewRequest[]> {
575
+ stateBlockHeight: bigint;
576
+ results: { [K in keyof TCalls]: TCalls[K] extends ContractViewRequest<infer R, infer E> ? ContractViewOutcome<R, ContractException<E>> : never };
577
+ }
578
+ /**
579
+ * Read generated method requests against one shared committed snapshot.
580
+ * Contract aborts and faults are outcomes. Transport, freshness, and decoding
581
+ * failures reject the group. Calls are never split or emulated with separate views.
582
+ *
583
+ * @example
584
+ * ```ts
585
+ * const result = await client.readViews({ calls: [
586
+ * ERC20.v0_1.totalSupply.viewRequest({ address: token }),
587
+ * ERC20.v0_1.getBalanceOf.viewRequest({ address: token, args: { addr: owner } }),
588
+ * ] });
589
+ * ```
590
+ */
591
+ declare function readViews<const TCalls extends readonly ContractViewRequest[]>(client: Pick<RpcClient, "simulateInvocations">, request: ReadViewsRequest<TCalls>, options?: TransportRequestOptions): Promise<ReadViewsResponse<TCalls>>;
592
+ //#endregion
593
+ export { HistoryCompletion as $, AddressAuthDataInfo as $t, ThruputClient as A, SchedulerTransactionError as An, ContractStructDef as At, DEVNET_RPC_URL as B, TransactionStatus as Bn, formatSpecId as Bt, MethodArgs as C, IdentifiedEvent as Cn, ContractField as Ct, ClusterThruputClientOptions as D, RecentAttemptFailure as Dn, ContractSpecInterface as Dt, AirdropActions as E, NetworkInfo as En, ContractSpecId$1 as Et, iterateTransactionsByBlock as F, StorageItemRead as Fn, ContractUnionCase as Ft, assertNetworkMatchesCluster as G, ViewOutput as Gn, requestAirdropAttempt as Gt, LOCALNET_RPC_URL as H, ViewBatchRequest as Hn, FundingObservationError as Ht, iterateTransactionsByRootAddress as I, TransactionFailureCause as In, ContractUnionCaseKind as It, futurenet as J, TransactionReceiptObservationError as Jt, defineCluster as K, ViewRequest as Kn, KnownCommitment as Kt, Cluster as L, TransactionReceipt as Ln, ContractUnionCaseType as Lt, createThruputClient as M, SimulationBatchLimits as Mn, ContractTypeDef$1 as Mt, BlockTransactionWalkQuery as N, StorageCosts as Nn, ContractTypeDefKind as Nt, ConnectedThruputClient as O, RegisteredAuthResult as On, ContractSpecMethod as Ot, RootAddressWalkQuery as P, StorageItemInfo as Pn, ContractTypeKind as Pt, iterateEventPages as Q, waitForTransactionReceipt as Qt, ClusterCapability as R, TransactionRef as Rn, ContractUnionDef as Rt, ContractViewRequestOptions as S, HistoryStart as Sn, ContractExceptionType as St, defineContractMethod as T, NetworkConfigParams as Tn, ContractSpec as Tt, NetworkMismatchError as U, ViewBatchResponse as Un, RequestAirdropOptions as Ut, FUTURENET_RPC_URL as V, VersionInfo as Vn, specIdKey as Vt, PredefinedClusterOptions as W, ViewCall as Wn, requestAirdrop as Wt, mainnet as X, WaitForTransactionReceiptOptions as Xt, localnet as Y, TransactionReceiptTimeoutError as Yt, EventWalkQuery as Z, waitForCommitment as Zt, ContractViewError as _, EventPage as _n, ContractCodecContext as _t, ContractCall as a, AuthPublicKey as an, ContractEvent as at, ContractViewOutcome as b, FundAccountRequest as bn, ContractEnumDef as bt, ContractExceptionMetadata as c, BlockInfo as cn, ContractEventFilterInput as ct, ContractMethodInputs as d, ChainTip as dn, ContractEventTopicMetadata as dt, AirdropAttemptRequest as en, HistoryWalkError as et, ContractReceipt as f, ConflictCode as fn, ContractReceiptEvent as ft, ContractView as g, EventFilter as gn, ContractCodec as gt, ContractReceiptOutcome as h, EmittedEvent as hn, defineContractEvent as ht, ContractArgumentMetadata as i, AirdropSucceeded as in, getContractEvents as it, ThruputClientOptions as j, ServerLimits as jn, ContractType as jt, CoreThruputClient as k, RootAddressTransactionQuery as kn, ContractSpecString as kt, ContractMethod as l, BlockTransactionQuery as ln, ContractEventFilterValue as lt, ContractReceiptFailure as m, ContractRejectCode as mn, bytesEqual as mt, ReadViewsResponse as n, AirdropPending as nn, ContractEventQuery as nt, ContractCallOptions as o, AuthSigner as on, ContractEventDefinition as ot, ContractReceiptError as p, ConflictDiagnostic as pn, DecodedContractEvent as pt, devnet as q, ViewResponse as qn, ReceiptObserver as qt, readViews as r, AirdropResponse as rn, IdentifiedContractEvent as rt, ContractException as s, BalanceResponse as sn, ContractEventFieldMetadata as st, ReadViewsRequest as t, AirdropExecutionStatus as tn, ContractEventPage as tt, ContractMethodDefinition as u, ChainConfig as un, ContractEventReceiptOptions as ut, ContractViewFailure as v, EventQuery as vn, createContractCodecContext as vt, UnknownContractException as w, IterationOrder as wn, ContractMethodEffect$1 as wt, ContractViewRequest as x, FundAccountResponse as xn, ContractEnumVariant as xt, ContractViewOptions as y, ExecutionConfig as yn, ContractArrayType as yt, ClusterHasCapability as z, TransactionRefPage as zn, ContractVectorType as zt };
594
+ //# sourceMappingURL=readViews-BKJtE5J3.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readViews-BKJtE5J3.d.cts","names":[],"sources":["../src/types/rpc.ts","../src/actions/public/waitForTransactionReceipt.ts","../src/actions/public/requestAirdrop.ts","../src/contract/spec.ts","../src/contract/codec.ts","../src/contract/event.ts","../src/actions/public/getContractEvents.ts","../src/actions/public/historyWalk.ts","../src/actions/public/iterateEventPages.ts","../src/cluster.ts","../src/actions/public/iterateTransactionPages.ts","../src/client.ts","../src/contract/method.ts","../src/actions/public/readViews.ts"],"mappings":";;;;;;KAGY,aAAA,GAAgB,YAAmB;AAAA,KACnC,UAAA,GAAa,aAAoB;AAAA,KACjC,mBAAA,GAAsB,oBAA2B;AAAA,KACjD,oBAAA,GAAuB,uBAA8B;AAAA,KACrD,WAAA,GAAc,cAAqB;AAAA,KACnC,mBAAA,GAAsB,eAAsB;AAAA,KAC5C,WAAA,GAAc,cAAqB;AAAA,KACnC,eAAA,GAAkB,kBAAyB;AAAA,KAC3C,YAAA,GAAe,eAAsB;AAAA,KACrC,qBAAA,GAAwB,wBAA+B;AAAA,KACvD,YAAA,GAAe,eAAsB;AAAA,KACrC,qBAAA,GAAwB,WAAkB;AAAA,KAC1C,sBAAA,GAAyB,mBAA0B;AAAA,KACnD,cAAA,GAAiB,OAAO,CAClC,iBAAA;EACE,aAAA;AAAA;AAAA,KAEQ,gBAAA,GAAmB,OAAO,CACpC,iBAAA;EACE,aAAA;AAAA;AAAA,KAEQ,eAAA,GAAkB,iBAAwB;AAAA,KAC1C,QAAA,GAAW,WAAkB;AAAA,KAC7B,eAAA,GAAkB,gBAAuB;AAAA,KACzC,SAAA,GAAY,YAAmB;AAAA,KAC/B,WAAA,GAAc,cAAqB;AArB/C;AAAA,KAuBY,QAAA,GAAW,aAAoB;AAAA,KAC/B,WAAA,GAAc,WAAkB;AAAA,KAChC,gBAAA,GAAmB,WAAkB;AAAA,KACrC,iBAAA,GAAoB,oBAA2B;AAAA,KAC/C,UAAA,GAAa,mBAA0B;AAAA,KACvC,YAAA,GAAe,mBAA0B;AAAA,KACzC,iBAAA,GAAoB,oBAA2B;AAAA,KAC/C,yBAAA,GAA4B,iBAAwB;AAAA,KACpD,uBAAA,GAA0B,eAAsB;AA7B5D;AAAA,KA+BY,oBAAA,GAAuB,uBAA8B;AAAA,KACrD,kBAAA,GAAqB,qBAA4B;AAAA,KACjD,YAAA,GAA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