@algorandfoundation/algokit-utils 1.0.0-beta.8 → 1.0.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 (141) hide show
  1. package/account.d.ts +91 -0
  2. package/account.d.ts.map +1 -0
  3. package/account.js +158 -0
  4. package/account.js.map +1 -0
  5. package/amount.d.ts +8 -0
  6. package/amount.d.ts.map +1 -0
  7. package/amount.js +24 -0
  8. package/amount.js.map +1 -0
  9. package/app.d.ts +108 -0
  10. package/app.d.ts.map +1 -0
  11. package/app.js +423 -0
  12. package/app.js.map +1 -0
  13. package/application-client.d.ts +10 -0
  14. package/application-client.d.ts.map +1 -0
  15. package/application-client.js +15 -0
  16. package/application-client.js.map +1 -0
  17. package/deploy-app.d.ts +93 -0
  18. package/deploy-app.d.ts.map +1 -0
  19. package/deploy-app.js +410 -0
  20. package/deploy-app.js.map +1 -0
  21. package/index.d.ts +14 -0
  22. package/index.d.ts.map +1 -0
  23. package/index.js +5 -2
  24. package/index.js.map +1 -0
  25. package/indexer-lookup.d.ts +31 -0
  26. package/indexer-lookup.d.ts.map +1 -0
  27. package/indexer-lookup.js +96 -0
  28. package/indexer-lookup.js.map +1 -0
  29. package/localnet.d.ts +54 -0
  30. package/localnet.d.ts.map +1 -0
  31. package/localnet.js +121 -0
  32. package/localnet.js.map +1 -0
  33. package/network-client.d.ts +93 -0
  34. package/network-client.d.ts.map +1 -0
  35. package/network-client.js +182 -0
  36. package/network-client.js.map +1 -0
  37. package/package.json +3 -3
  38. package/testing/account.d.ts +14 -0
  39. package/testing/account.d.ts.map +1 -0
  40. package/testing/account.js +31 -0
  41. package/testing/account.js.map +1 -0
  42. package/testing/fixtures/algokit-log-capture-fixture.d.ts +19 -0
  43. package/testing/fixtures/algokit-log-capture-fixture.d.ts.map +1 -0
  44. package/testing/fixtures/algokit-log-capture-fixture.js +43 -0
  45. package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -0
  46. package/testing/fixtures/algorand-fixture.d.ts +20 -0
  47. package/testing/fixtures/algorand-fixture.d.ts.map +1 -0
  48. package/testing/fixtures/algorand-fixture.js +49 -0
  49. package/testing/fixtures/algorand-fixture.js.map +1 -0
  50. package/testing/fixtures/index.d.ts +3 -0
  51. package/testing/fixtures/index.d.ts.map +1 -0
  52. package/testing/fixtures/index.js +19 -0
  53. package/testing/fixtures/index.js.map +1 -0
  54. package/testing/index.d.ts +6 -0
  55. package/testing/index.d.ts.map +1 -0
  56. package/testing/index.js +22 -0
  57. package/testing/index.js.map +1 -0
  58. package/testing/indexer.d.ts +12 -0
  59. package/testing/indexer.d.ts.map +1 -0
  60. package/testing/indexer.js +39 -0
  61. package/testing/indexer.js.map +1 -0
  62. package/testing/test-logger.d.ts +39 -0
  63. package/testing/test-logger.d.ts.map +1 -0
  64. package/testing/test-logger.js +69 -0
  65. package/testing/test-logger.js.map +1 -0
  66. package/testing/transaction-logger.d.ts +29 -0
  67. package/testing/transaction-logger.d.ts.map +1 -0
  68. package/testing/transaction-logger.js +71 -0
  69. package/testing/transaction-logger.js.map +1 -0
  70. package/transaction.d.ts +80 -0
  71. package/transaction.d.ts.map +1 -0
  72. package/transaction.js +256 -0
  73. package/transaction.js.map +1 -0
  74. package/transfer.d.ts +21 -0
  75. package/transfer.d.ts.map +1 -0
  76. package/transfer.js +65 -0
  77. package/transfer.js.map +1 -0
  78. package/types/account.d.ts +52 -0
  79. package/types/account.d.ts.map +1 -0
  80. package/types/account.js +86 -0
  81. package/types/account.js.map +1 -0
  82. package/types/algo-http-client-with-retry.d.ts +14 -0
  83. package/types/algo-http-client-with-retry.d.ts.map +1 -0
  84. package/types/algo-http-client-with-retry.js +62 -0
  85. package/types/algo-http-client-with-retry.js.map +1 -0
  86. package/types/algod.d.ts +137 -0
  87. package/types/algod.d.ts.map +1 -0
  88. package/types/algod.js +3 -0
  89. package/types/algod.js.map +1 -0
  90. package/types/amount.d.ts +20 -0
  91. package/types/amount.d.ts.map +1 -0
  92. package/types/amount.js +37 -0
  93. package/types/amount.js.map +1 -0
  94. package/types/app.d.ts +279 -0
  95. package/types/app.d.ts.map +1 -0
  96. package/types/app.js +32 -0
  97. package/types/app.js.map +1 -0
  98. package/types/application-client.d.ts +229 -0
  99. package/types/application-client.d.ts.map +1 -0
  100. package/types/application-client.js +470 -0
  101. package/types/application-client.js.map +1 -0
  102. package/types/appspec.d.ts +77 -0
  103. package/types/appspec.d.ts.map +1 -0
  104. package/types/appspec.js +15 -0
  105. package/types/appspec.js.map +1 -0
  106. package/types/config.d.ts +15 -0
  107. package/types/config.d.ts.map +1 -0
  108. package/types/config.js +27 -0
  109. package/types/config.js.map +1 -0
  110. package/types/indexer.d.ts +313 -0
  111. package/types/indexer.d.ts.map +1 -0
  112. package/types/indexer.js +25 -0
  113. package/types/indexer.js.map +1 -0
  114. package/types/logging.d.ts +13 -0
  115. package/types/logging.d.ts.map +1 -0
  116. package/types/logging.js +27 -0
  117. package/types/logging.js.map +1 -0
  118. package/types/logic-error.d.ts +33 -0
  119. package/types/logic-error.d.ts.map +1 -0
  120. package/types/logic-error.js +46 -0
  121. package/types/logic-error.js.map +1 -0
  122. package/types/network-client.d.ts +11 -0
  123. package/types/network-client.d.ts.map +1 -0
  124. package/types/network-client.js +3 -0
  125. package/types/network-client.js.map +1 -0
  126. package/types/testing.d.ts +89 -0
  127. package/types/testing.d.ts.map +1 -0
  128. package/types/testing.js +3 -0
  129. package/types/testing.js.map +1 -0
  130. package/types/transaction.d.ts +67 -0
  131. package/types/transaction.d.ts.map +1 -0
  132. package/types/transaction.js +3 -0
  133. package/types/transaction.js.map +1 -0
  134. package/types/transfer.d.ts +32 -0
  135. package/types/transfer.d.ts.map +1 -0
  136. package/types/transfer.js +3 -0
  137. package/types/transfer.js.map +1 -0
  138. package/types/urlTokenBaseHTTPClient.d.ts +41 -0
  139. package/types/urlTokenBaseHTTPClient.d.ts.map +1 -0
  140. package/types/urlTokenBaseHTTPClient.js +151 -0
  141. package/types/urlTokenBaseHTTPClient.js.map +1 -0
@@ -0,0 +1,229 @@
1
+ import { ABIMethod, ABIMethodParams, ABIType, ABIValue, Algodv2, Indexer, SuggestedParams } from 'algosdk';
2
+ import { AlgoAmount } from './amount';
3
+ import { ABIAppCallArg, ABIAppCallArgs, AppCallArgs, AppLookup, AppMetadata, AppReference, AppState, BoxName, OnSchemaBreak, OnUpdate, RawAppCallArgs, TealTemplateParams } from './app';
4
+ import { AppSpec } from './appspec';
5
+ import { SendTransactionFrom, SendTransactionParams, TransactionNote } from './transaction';
6
+ /** Configuration to resolve app by creator and name @see getCreatorAppsByName */
7
+ export type ResolveAppByCreatorAndName = {
8
+ /** The address of the app creator account to resolve the app by */
9
+ creatorAddress: string;
10
+ /** The optional name to resolve the app by within the creator account (default: uses the name in the ABI contract) */
11
+ name?: string;
12
+ } & ({
13
+ /** indexer An indexer instance to search the creator account apps */
14
+ indexer: Indexer;
15
+ } | {
16
+ /** Optional cached value of the existing apps for the given creator, @see getCreatorAppsByName */
17
+ existingDeployments: AppLookup;
18
+ });
19
+ /** Configuration to resolve app by ID */
20
+ export interface ResolveAppById {
21
+ /** The id of an existing app to call using this client, or 0 if the app hasn't been created yet */
22
+ id: number;
23
+ /** The optional name to use to mark the app when deploying @see ApplicationClient.deploy (default: uses the name in the ABI contract) */
24
+ name?: string;
25
+ }
26
+ /** The details of an ARC-0032 app spec specified app */
27
+ export type AppSpecAppDetails = {
28
+ /** The ARC-0032 application spec as either:
29
+ * * Parsed JSON @see {AppSpec}
30
+ * * Raw JSON string
31
+ */
32
+ app: AppSpec | string;
33
+ /** Default sender to use for transactions issued by this application client */
34
+ sender?: SendTransactionFrom;
35
+ /** Default suggested params object to use */
36
+ params?: SuggestedParams;
37
+ } & (ResolveAppById | ResolveAppByCreatorAndName);
38
+ /** Parameters to pass into ApplicationClient.deploy */
39
+ export interface AppClientDeployParams {
40
+ /** The version of the contract, uses "1.0" by default */
41
+ version?: string;
42
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
43
+ sender?: SendTransactionFrom;
44
+ /** Whether or not to allow updates in the contract using the deploy-time updatability control if present in your contract.
45
+ * If this is not specified then it will automatically be determined based on the AppSpec definition
46
+ **/
47
+ allowUpdate?: boolean;
48
+ /** Whether or not to allow deletes in the contract using the deploy-time deletability control if present in your contract.
49
+ * If this is not specified then it will automatically be determined based on the AppSpec definition
50
+ **/
51
+ allowDelete?: boolean;
52
+ /** Parameters to control transaction sending */
53
+ sendParams?: Omit<SendTransactionParams, 'skipSending' | 'skipWaiting'>;
54
+ /** Any deploy-time parameters to replace in the TEAL code */
55
+ deployTimeParams?: TealTemplateParams;
56
+ /** What action to perform if a schema break is detected */
57
+ onSchemaBreak?: 'replace' | 'fail' | OnSchemaBreak;
58
+ /** What action to perform if a TEAL update is detected */
59
+ onUpdate?: 'update' | 'replace' | 'fail' | OnUpdate;
60
+ /** Any args to pass to any create transaction that is issued as part of deployment */
61
+ createArgs?: AppClientCallArgs;
62
+ /** Any args to pass to any update transaction that is issued as part of deployment */
63
+ updateArgs?: AppClientCallArgs;
64
+ /** Any args to pass to any delete transaction that is issued as part of deployment */
65
+ deleteArgs?: AppClientCallArgs;
66
+ }
67
+ /** The arguments to pass to an Application Client smart contract call */
68
+ export type AppClientCallArgs = {
69
+ /** Raw argument values to pass to the smart contract call */
70
+ args?: RawAppCallArgs;
71
+ } | {
72
+ /** If calling an ABI method then either the name of the method, or the ABI signature */
73
+ method: string;
74
+ /** Either the ABI arguments or an object with the ABI arguments and other parameters like boxes */
75
+ methodArgs: Omit<ABIAppCallArgs, 'method'> | ABIAppCallArg[];
76
+ };
77
+ /** Parameters to construct a ApplicationClient contract call */
78
+ export type AppClientCallParams = AppClientCallArgs & {
79
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
80
+ sender?: SendTransactionFrom;
81
+ /** The transaction note for the smart contract call */
82
+ note?: TransactionNote;
83
+ /** Parameters to control transaction sending */
84
+ sendParams?: SendTransactionParams;
85
+ };
86
+ /** Parameters for creating a contract using ApplicationClient */
87
+ export type AppClientCreateParams = AppClientCallParams & {
88
+ /** Any deploy-time parameters to replace in the TEAL code */
89
+ deployTimeParams?: TealTemplateParams;
90
+ updatable?: boolean;
91
+ deletable?: boolean;
92
+ };
93
+ /** Parameters for updating a contract using ApplicationClient */
94
+ export type AppClientUpdateParams = AppClientCreateParams;
95
+ /** Parameters for funding an app account */
96
+ export interface FundAppAccountParams {
97
+ amount: AlgoAmount;
98
+ /** The optional sender to send the transaction from, will use the application client's default sender by default if specified */
99
+ sender?: SendTransactionFrom;
100
+ /** The transaction note for the smart contract call */
101
+ note?: TransactionNote;
102
+ /** Parameters to control transaction sending */
103
+ sendParams?: SendTransactionParams;
104
+ }
105
+ /** Application client - a class that wraps an ARC-0032 app spec and provides high productivity methods to deploy and call the app */
106
+ export declare class ApplicationClient {
107
+ private algod;
108
+ private indexer?;
109
+ private appSpec;
110
+ private sender;
111
+ private params;
112
+ private existingDeployments;
113
+ private _appId;
114
+ private _appAddress;
115
+ private _creator;
116
+ private _appName;
117
+ private _approvalSourceMap;
118
+ private _clearSourceMap;
119
+ /**
120
+ * Create a new ApplicationClient instance
121
+ * @param appDetails The details of the app
122
+ * @param algod An algod instance
123
+ * @param indexer An indexer instance
124
+ */
125
+ constructor(appDetails: AppSpecAppDetails, algod: Algodv2);
126
+ /**
127
+ * Idempotently deploy (create, update/delete if changed) an app against the given name via the given creator account, including deploy-time template placeholder substitutions.
128
+ *
129
+ * To understand the architecture decisions behind this functionality please @see https://github.com/algorandfoundation/algokit-cli/blob/main/docs/architecture-decisions/2023-01-12_smart-contract-deployment.md
130
+ *
131
+ * **Note:** if there is a breaking state schema change to an existing app (and `onSchemaBreak` is set to `'replace'`) the existing app will be deleted and re-created.
132
+ *
133
+ * **Note:** if there is an update (different TEAL code) to an existing app (and `onUpdate` is set to `'replace'`) the existing app will be deleted and re-created.
134
+ * @param deploy Deployment details
135
+ * @returns The metadata and transaction result(s) of the deployment, or just the metadata if it didn't need to issue transactions
136
+ */
137
+ deploy(deploy?: AppClientDeployParams): Promise<(Partial<import("./app").AppCompilationResult> & import("./transaction").ConfirmedTransactionResult & AppMetadata & {
138
+ operationPerformed: "update" | "create";
139
+ }) | (Partial<import("./app").AppCompilationResult> & import("./transaction").ConfirmedTransactionResult & AppMetadata & {
140
+ deleteResult: import("./transaction").ConfirmedTransactionResult;
141
+ operationPerformed: "replace";
142
+ }) | (Partial<import("./app").AppCompilationResult> & AppMetadata & {
143
+ operationPerformed: "nothing";
144
+ })>;
145
+ create(create?: AppClientCreateParams): Promise<Partial<import("./app").AppCompilationResult> & import("./app").AppCallTransactionResult & AppReference>;
146
+ update(update?: AppClientUpdateParams): Promise<Partial<import("./app").AppCompilationResult> & import("./app").AppCallTransactionResult>;
147
+ call(call: AppClientCallParams): Promise<import("./app").AppCallTransactionResult>;
148
+ optIn(call: AppClientCallParams): Promise<import("./app").AppCallTransactionResult>;
149
+ closeOut(call: AppClientCallParams): Promise<import("./app").AppCallTransactionResult>;
150
+ clearState(call: AppClientCallParams): Promise<import("./app").AppCallTransactionResult>;
151
+ delete(call: AppClientCallParams): Promise<import("./app").AppCallTransactionResult>;
152
+ private _call;
153
+ /**
154
+ * Funds ALGOs into the app account for this app.
155
+ * @param fund The parameters for the funding or the funding amount
156
+ * @returns The result of the funding
157
+ */
158
+ fundAppAccount(fund: FundAppAccountParams | AlgoAmount): Promise<import("./transaction").SendTransactionResult>;
159
+ /**
160
+ * Returns global state for the current app.
161
+ * @returns The global state
162
+ */
163
+ getGlobalState(): Promise<AppState>;
164
+ /**
165
+ * Returns local state for the given account / account address.
166
+ * @returns The global state
167
+ */
168
+ getLocalState(account: string | SendTransactionFrom): Promise<AppState>;
169
+ /**
170
+ * Returns the names of all current boxes for the current app.
171
+ * @returns The names of the boxes
172
+ */
173
+ getBoxNames(): Promise<BoxName[]>;
174
+ /**
175
+ * Returns the values of all current boxes for the current app.
176
+ * Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
177
+ * @param filter Optional filter to filter which boxes' values are returned
178
+ * @returns The (name, value) pair of the boxes with values as raw byte arrays
179
+ */
180
+ getBoxValues(filter?: (name: BoxName) => boolean): Promise<{
181
+ name: BoxName;
182
+ value: Uint8Array;
183
+ }[]>;
184
+ /**
185
+ * Returns the values of all current boxes for the current app decoded using an ABI Type.
186
+ * Note: This will issue multiple HTTP requests (one per box) and it's not an atomic operation so values may be out of sync.
187
+ * @param type The ABI type to decode the values with
188
+ * @param filter Optional filter to filter which boxes' values are returned
189
+ * @returns The (name, value) pair of the boxes with values as the ABI Value
190
+ */
191
+ getBoxValuesAsABIType(type: ABIType, filter?: (name: BoxName) => boolean): Promise<{
192
+ name: BoxName;
193
+ value: ABIValue;
194
+ }[]>;
195
+ /**
196
+ * Returns the arguments for an app call for the given ABI method or raw method specification.
197
+ * @param args The call args specific to this application client
198
+ * @returns The call args ready to pass into an app call
199
+ */
200
+ getCallArgs(args?: AppClientCallArgs): AppCallArgs | undefined;
201
+ /**
202
+ * Returns the ABI Method parameters for the given method name string for the app represented by this application client instance
203
+ * @param method Either the name of the method or the ABI method spec definition string
204
+ * @returns The ABI method params for the given method
205
+ */
206
+ getABIMethodParams(method: string): ABIMethodParams | undefined;
207
+ /**
208
+ * Returns the ABI Method for the given method name string for the app represented by this application client instance
209
+ * @param method Either the name of the method or the ABI method spec definition string
210
+ * @returns The ABI method for the given method
211
+ */
212
+ getABIMethod(method: string): ABIMethod | undefined;
213
+ /**
214
+ * Gets the reference information for the current application instance.
215
+ * `appId` will be 0 if it can't find an app.
216
+ * @returns The app reference, or if deployed using the `deploy` method, the app metadata too
217
+ */
218
+ getAppReference(): Promise<AppMetadata | AppReference>;
219
+ /**
220
+ * Takes an error that may include a logic error from a smart contract call and re-exposes the error to include source code information via the source map.
221
+ * This is automatically used within @see ApplicationClient but if you pass `skipSending: true` e.g. if doing a group transaction
222
+ * then you can use this in a try/catch block to get better debugging information.
223
+ * @param e The error to parse
224
+ * @param isClear Whether or not the code was running the clear state program
225
+ * @returns The new error, or if there was no logic error or source map then the wrapped error with source details
226
+ */
227
+ exposeLogicError(e: Error, isClear?: boolean): Error;
228
+ }
229
+ //# sourceMappingURL=application-client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-client.d.ts","sourceRoot":"","sources":["../../src/types/application-client.ts"],"names":[],"mappings":"AAAA,OAAgB,EACd,SAAS,EACT,eAAe,EACf,OAAO,EACP,QAAQ,EACR,OAAO,EAEP,OAAO,EAEP,eAAe,EAChB,MAAM,SAAS,CAAA;AAehB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EACL,aAAa,EACb,cAAc,EACd,WAAW,EACX,SAAS,EACT,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EAEP,aAAa,EACb,QAAQ,EACR,cAAc,EACd,kBAAkB,EAEnB,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,OAAO,EAAmB,MAAM,WAAW,CAAA;AAEpD,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE3F,iFAAiF;AACjF,MAAM,MAAM,0BAA0B,GAAG;IACvC,mEAAmE;IACnE,cAAc,EAAE,MAAM,CAAA;IACtB,sHAAsH;IACtH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,CACA;IACE,qEAAqE;IACrE,OAAO,EAAE,OAAO,CAAA;CACjB,GACD;IACE,kGAAkG;IAClG,mBAAmB,EAAE,SAAS,CAAA;CAC/B,CACJ,CAAA;AAED,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,mGAAmG;IACnG,EAAE,EAAE,MAAM,CAAA;IACV,yIAAyI;IACzI,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,wDAAwD;AACxD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,GAAG,EAAE,OAAO,GAAG,MAAM,CAAA;IACrB,+EAA+E;IAC/E,MAAM,CAAC,EAAE,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