@algorandfoundation/algokit-utils 7.0.0-beta.9 → 8.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +21 -3
- package/account/account.d.ts +4 -1
- package/account/account.js +10 -7
- package/account/account.js.map +1 -1
- package/account/account.mjs +11 -8
- package/account/account.mjs.map +1 -1
- package/account/get-account-config-from-environment.js.map +1 -1
- package/account/get-account-config-from-environment.mjs.map +1 -1
- package/account/get-account.js.map +1 -1
- package/account/get-account.mjs.map +1 -1
- package/account/get-dispenser-account.d.ts +1 -1
- package/account/get-dispenser-account.js.map +1 -1
- package/account/get-dispenser-account.mjs.map +1 -1
- package/account/mnemonic-account.js.map +1 -1
- package/account/mnemonic-account.mjs.map +1 -1
- package/amount.d.ts +1 -0
- package/amount.js +3 -2
- package/amount.js.map +1 -1
- package/amount.mjs +3 -3
- package/amount.mjs.map +1 -1
- package/app-client.d.ts +4 -4
- package/app-client.js +4 -4
- package/app-client.js.map +1 -1
- package/app-client.mjs +4 -4
- package/app-client.mjs.map +1 -1
- package/app-deploy.js +25 -15
- package/app-deploy.js.map +1 -1
- package/app-deploy.mjs +27 -17
- package/app-deploy.mjs.map +1 -1
- package/app.d.ts +2 -2
- package/app.js +9 -6
- package/app.js.map +1 -1
- package/app.mjs +9 -6
- package/app.mjs.map +1 -1
- package/asset.js.map +1 -1
- package/asset.mjs.map +1 -1
- package/debugging/debugging.js.map +1 -1
- package/debugging/debugging.mjs.map +1 -1
- package/dispenser-client.js.map +1 -1
- package/dispenser-client.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/index.mjs +3 -2
- package/index.mjs.map +1 -1
- package/indexer-lookup.d.ts +10 -8
- package/indexer-lookup.js +14 -10
- package/indexer-lookup.js.map +1 -1
- package/indexer-lookup.mjs +14 -10
- package/indexer-lookup.mjs.map +1 -1
- package/localnet/get-kmd-wallet-account.js.map +1 -1
- package/localnet/get-kmd-wallet-account.mjs.map +1 -1
- package/localnet/get-localnet-dispenser-account.js.map +1 -1
- package/localnet/get-localnet-dispenser-account.mjs.map +1 -1
- package/localnet/get-or-create-kmd-wallet-account.js.map +1 -1
- package/localnet/get-or-create-kmd-wallet-account.mjs.map +1 -1
- package/localnet/is-localnet.js.map +1 -1
- package/localnet/is-localnet.mjs.map +1 -1
- package/network-client.d.ts +1 -7
- package/network-client.js +2 -9
- package/network-client.js.map +1 -1
- package/network-client.mjs +2 -9
- package/network-client.mjs.map +1 -1
- package/package.json +5 -5
- package/testing/_asset.d.ts +2 -1
- package/testing/account.d.ts +4 -3
- package/testing/account.js +8 -2
- package/testing/account.js.map +1 -1
- package/testing/account.mjs +9 -3
- package/testing/account.mjs.map +1 -1
- package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -1
- package/testing/fixtures/algokit-log-capture-fixture.mjs.map +1 -1
- package/testing/fixtures/algorand-fixture.js +5 -6
- package/testing/fixtures/algorand-fixture.js.map +1 -1
- package/testing/fixtures/algorand-fixture.mjs +5 -6
- package/testing/fixtures/algorand-fixture.mjs.map +1 -1
- package/testing/indexer.js.map +1 -1
- package/testing/indexer.mjs.map +1 -1
- package/testing/test-logger.js +7 -1
- package/testing/test-logger.js.map +1 -1
- package/testing/test-logger.mjs +7 -1
- package/testing/test-logger.mjs.map +1 -1
- package/testing/transaction-logger.js.map +1 -1
- package/testing/transaction-logger.mjs.map +1 -1
- package/transaction/legacy-bridge.js +2 -2
- package/transaction/legacy-bridge.js.map +1 -1
- package/transaction/legacy-bridge.mjs +3 -3
- package/transaction/legacy-bridge.mjs.map +1 -1
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts +4 -1
- package/transaction/perform-atomic-transaction-composer-simulate.js +14 -9
- package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -1
- package/transaction/perform-atomic-transaction-composer-simulate.mjs +15 -10
- package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -1
- package/transaction/transaction.d.ts +13 -22
- package/transaction/transaction.js +164 -110
- package/transaction/transaction.js.map +1 -1
- package/transaction/transaction.mjs +163 -109
- package/transaction/transaction.mjs.map +1 -1
- package/transfer/transfer-algos.js.map +1 -1
- package/transfer/transfer-algos.mjs.map +1 -1
- package/transfer/transfer.js +3 -1
- package/transfer/transfer.js.map +1 -1
- package/transfer/transfer.mjs +3 -1
- package/transfer/transfer.mjs.map +1 -1
- package/types/account-manager.d.ts +20 -20
- package/types/account-manager.js +36 -27
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +38 -29
- package/types/account-manager.mjs.map +1 -1
- package/types/account.d.ts +17 -8
- package/types/account.js +2 -2
- package/types/account.js.map +1 -1
- package/types/account.mjs +3 -3
- package/types/account.mjs.map +1 -1
- package/types/algo-http-client-with-retry.d.ts +1 -2
- package/types/algo-http-client-with-retry.js +33 -3
- package/types/algo-http-client-with-retry.js.map +1 -1
- package/types/algo-http-client-with-retry.mjs +32 -2
- package/types/algo-http-client-with-retry.mjs.map +1 -1
- package/types/algorand-client-interface.d.ts +2 -2
- package/types/algorand-client-transaction-creator.d.ts +16 -14
- package/types/algorand-client-transaction-creator.js +3 -1
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs +3 -1
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +109 -105
- package/types/algorand-client-transaction-sender.js +6 -2
- package/types/algorand-client-transaction-sender.js.map +1 -1
- package/types/algorand-client-transaction-sender.mjs +6 -2
- package/types/algorand-client-transaction-sender.mjs.map +1 -1
- package/types/algorand-client.d.ts +6 -7
- package/types/algorand-client.js +3 -6
- package/types/algorand-client.js.map +1 -1
- package/types/algorand-client.mjs +5 -5
- package/types/algorand-client.mjs.map +1 -1
- package/types/amount.js.map +1 -1
- package/types/amount.mjs.map +1 -1
- package/types/app-arc56.d.ts +31 -20
- package/types/app-arc56.js.map +1 -1
- package/types/app-arc56.mjs.map +1 -1
- package/types/app-client.d.ts +298 -286
- package/types/app-client.js +148 -41
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +147 -40
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +4 -4
- package/types/app-deployer.js +23 -24
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +25 -26
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +130 -130
- package/types/app-factory.js +4 -5
- package/types/app-factory.js.map +1 -1
- package/types/app-factory.mjs +5 -6
- package/types/app-factory.mjs.map +1 -1
- package/types/app-manager.d.ts +5 -5
- package/types/app-manager.js +116 -38
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +117 -39
- package/types/app-manager.mjs.map +1 -1
- package/types/app-spec.js +8 -2
- package/types/app-spec.js.map +1 -1
- package/types/app-spec.mjs +8 -2
- package/types/app-spec.mjs.map +1 -1
- package/types/app.d.ts +12 -11
- package/types/app.js.map +1 -1
- package/types/app.mjs.map +1 -1
- package/types/asset-manager.d.ts +9 -9
- package/types/asset-manager.js +10 -13
- package/types/asset-manager.js.map +1 -1
- package/types/asset-manager.mjs +10 -13
- package/types/asset-manager.mjs.map +1 -1
- package/types/async-event-emitter.d.ts +1 -10
- package/types/async-event-emitter.js +0 -5
- package/types/async-event-emitter.js.map +1 -1
- package/types/async-event-emitter.mjs +1 -6
- package/types/async-event-emitter.mjs.map +1 -1
- package/types/client-manager.d.ts +2 -9
- package/types/client-manager.js +11 -21
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs +11 -21
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +58 -46
- package/types/composer.js +154 -105
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +156 -105
- package/types/composer.mjs.map +1 -1
- package/types/config.js.map +1 -1
- package/types/config.mjs.map +1 -1
- package/types/debugging.d.ts +1 -1
- package/types/debugging.js +1 -1
- package/types/debugging.js.map +1 -1
- package/types/debugging.mjs +1 -1
- package/types/debugging.mjs.map +1 -1
- package/types/dispenser-client.d.ts +2 -1
- package/types/dispenser-client.js +5 -1
- package/types/dispenser-client.js.map +1 -1
- package/types/dispenser-client.mjs +5 -1
- package/types/dispenser-client.mjs.map +1 -1
- package/types/indexer.d.ts +74 -755
- package/types/indexer.js.map +1 -1
- package/types/indexer.mjs.map +1 -1
- package/types/kmd-account-manager.d.ts +2 -2
- package/types/kmd-account-manager.js +1 -1
- package/types/kmd-account-manager.js.map +1 -1
- package/types/kmd-account-manager.mjs +2 -2
- package/types/kmd-account-manager.mjs.map +1 -1
- package/types/lifecycle-events.d.ts +10 -0
- package/types/lifecycle-events.js +8 -0
- package/types/lifecycle-events.js.map +1 -0
- package/types/lifecycle-events.mjs +8 -0
- package/types/lifecycle-events.mjs.map +1 -0
- package/types/logging.js.map +1 -1
- package/types/logging.mjs.map +1 -1
- package/types/logic-error.d.ts +2 -3
- package/types/logic-error.js +3 -3
- package/types/logic-error.js.map +1 -1
- package/types/logic-error.mjs +3 -3
- package/types/logic-error.mjs.map +1 -1
- package/types/network-client.d.ts +1 -1
- package/types/network-client.js.map +1 -1
- package/types/network-client.mjs.map +1 -1
- package/types/testing.d.ts +6 -7
- package/util.js.map +1 -1
- package/util.mjs.map +1 -1
- package/types/urlTokenBaseHTTPClient.d.ts +0 -40
- package/types/urlTokenBaseHTTPClient.js +0 -153
- package/types/urlTokenBaseHTTPClient.js.map +0 -1
- package/types/urlTokenBaseHTTPClient.mjs +0 -151
- package/types/urlTokenBaseHTTPClient.mjs.map +0 -1
package/types/app-factory.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import algosdk from 'algosdk';
|
|
1
|
+
import algosdk, { Address } from 'algosdk';
|
|
2
2
|
import { AlgorandClientInterface } from './algorand-client-interface';
|
|
3
3
|
import { AppReturn, SendAppTransactionResult, TealTemplateParams } from './app';
|
|
4
4
|
import { ABIStruct, Arc56Contract, Arc56Method } from './app-arc56';
|
|
@@ -27,7 +27,7 @@ export interface AppFactoryParams {
|
|
|
27
27
|
*/
|
|
28
28
|
appName?: string;
|
|
29
29
|
/** Optional address to use for the account to use as the default sender for calls. */
|
|
30
|
-
defaultSender?: string;
|
|
30
|
+
defaultSender?: Address | string;
|
|
31
31
|
/** Optional signer to use as the default signer for default sender calls (if not specified then the signer will be resolved from `AlgorandClient`). */
|
|
32
32
|
defaultSigner?: TransactionSigner;
|
|
33
33
|
/** The version of app that is / will be deployed; defaults to 1.0 */
|
|
@@ -151,22 +151,22 @@ export declare class AppFactory {
|
|
|
151
151
|
get params(): {
|
|
152
152
|
/** Return params for a create ABI call, including deploy-time TEAL template replacements and compilation if provided */
|
|
153
153
|
create: (params: {
|
|
154
|
-
lease?: string | Uint8Array | undefined;
|
|
155
|
-
note?: string | Uint8Array | undefined;
|
|
156
154
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
155
|
+
note?: string | Uint8Array | undefined;
|
|
157
156
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
158
|
-
|
|
157
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
158
|
+
lease?: string | Uint8Array | undefined;
|
|
159
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
159
160
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
160
161
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
161
|
-
validityWindow?: number | undefined;
|
|
162
|
+
validityWindow?: number | bigint | undefined;
|
|
162
163
|
firstValidRound?: bigint | undefined;
|
|
163
164
|
lastValidRound?: bigint | undefined;
|
|
164
|
-
|
|
165
|
-
accountReferences?: string[] | undefined;
|
|
165
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
166
166
|
appReferences?: bigint[] | undefined;
|
|
167
167
|
assetReferences?: bigint[] | undefined;
|
|
168
168
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
169
|
-
sender?: string | undefined;
|
|
169
|
+
sender?: string | algosdk.Address | undefined;
|
|
170
170
|
method: string;
|
|
171
171
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
172
172
|
deployTimeParams?: TealTemplateParams | undefined;
|
|
@@ -197,45 +197,45 @@ export declare class AppFactory {
|
|
|
197
197
|
};
|
|
198
198
|
approvalProgram: Uint8Array;
|
|
199
199
|
clearStateProgram: Uint8Array;
|
|
200
|
-
lease?: string | Uint8Array | undefined;
|
|
201
|
-
note?: string | Uint8Array | undefined;
|
|
202
200
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
201
|
+
note?: string | Uint8Array | undefined;
|
|
203
202
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
204
|
-
|
|
203
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
204
|
+
lease?: string | Uint8Array | undefined;
|
|
205
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
205
206
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
206
207
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
207
|
-
validityWindow?: number | undefined;
|
|
208
|
+
validityWindow?: number | bigint | undefined;
|
|
208
209
|
firstValidRound?: bigint | undefined;
|
|
209
210
|
lastValidRound?: bigint | undefined;
|
|
210
|
-
|
|
211
|
-
accountReferences?: string[] | undefined;
|
|
211
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
212
212
|
appReferences?: bigint[] | undefined;
|
|
213
213
|
assetReferences?: bigint[] | undefined;
|
|
214
214
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
215
|
-
sender?: string | undefined;
|
|
215
|
+
sender?: string | algosdk.Address | undefined;
|
|
216
216
|
method: string;
|
|
217
217
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
218
218
|
updatable?: boolean | undefined;
|
|
219
219
|
deletable?: boolean | undefined;
|
|
220
220
|
extraProgramPages?: number | undefined;
|
|
221
221
|
} & {
|
|
222
|
-
sender:
|
|
222
|
+
sender: algosdk.Address;
|
|
223
223
|
method: Arc56Method;
|
|
224
224
|
args: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
|
|
225
|
-
|
|
226
|
-
note?: string | Uint8Array | undefined;
|
|
225
|
+
sender: string | algosdk.Address;
|
|
227
226
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
227
|
+
note?: string | Uint8Array | undefined;
|
|
228
228
|
args?: Uint8Array[] | undefined;
|
|
229
229
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
231
|
+
lease?: string | Uint8Array | undefined;
|
|
232
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
232
233
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
233
234
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
234
|
-
validityWindow?: number | undefined;
|
|
235
|
+
validityWindow?: number | bigint | undefined;
|
|
235
236
|
firstValidRound?: bigint | undefined;
|
|
236
237
|
lastValidRound?: bigint | undefined;
|
|
237
|
-
|
|
238
|
-
accountReferences?: string[] | undefined;
|
|
238
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
239
239
|
appReferences?: bigint[] | undefined;
|
|
240
240
|
assetReferences?: bigint[] | undefined;
|
|
241
241
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -249,86 +249,86 @@ export declare class AppFactory {
|
|
|
249
249
|
} | undefined;
|
|
250
250
|
extraProgramPages?: number | undefined;
|
|
251
251
|
}> | AppMethodCall<{
|
|
252
|
-
sender: string;
|
|
252
|
+
sender: string | algosdk.Address;
|
|
253
253
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
254
|
-
rekeyTo?: string | undefined;
|
|
254
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
255
255
|
note?: string | Uint8Array | undefined;
|
|
256
256
|
lease?: string | Uint8Array | undefined;
|
|
257
257
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
258
258
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
259
259
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
260
|
-
validityWindow?: number | undefined;
|
|
260
|
+
validityWindow?: number | bigint | undefined;
|
|
261
261
|
firstValidRound?: bigint | undefined;
|
|
262
262
|
lastValidRound?: bigint | undefined;
|
|
263
263
|
appId: bigint;
|
|
264
264
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
265
265
|
args?: Uint8Array[] | undefined;
|
|
266
|
-
accountReferences?: string[] | undefined;
|
|
266
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
267
267
|
appReferences?: bigint[] | undefined;
|
|
268
268
|
assetReferences?: bigint[] | undefined;
|
|
269
269
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
270
270
|
approvalProgram: string | Uint8Array;
|
|
271
271
|
clearStateProgram: string | Uint8Array;
|
|
272
|
-
}> | AppMethodCall<import("./composer").AppMethodCallParams>)[] | undefined;
|
|
272
|
+
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
273
273
|
onComplete: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC;
|
|
274
274
|
}>;
|
|
275
275
|
/** Return params for a deployment update ABI call */
|
|
276
276
|
deployUpdate: (params: {
|
|
277
|
-
lease?: string | Uint8Array | undefined;
|
|
278
|
-
note?: string | Uint8Array | undefined;
|
|
279
277
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
278
|
+
note?: string | Uint8Array | undefined;
|
|
280
279
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
281
|
-
|
|
280
|
+
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
281
|
+
lease?: string | Uint8Array | undefined;
|
|
282
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
282
283
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
283
284
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
284
|
-
validityWindow?: number | undefined;
|
|
285
|
+
validityWindow?: number | bigint | undefined;
|
|
285
286
|
firstValidRound?: bigint | undefined;
|
|
286
287
|
lastValidRound?: bigint | undefined;
|
|
287
|
-
|
|
288
|
-
accountReferences?: string[] | undefined;
|
|
288
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
289
289
|
appReferences?: bigint[] | undefined;
|
|
290
290
|
assetReferences?: bigint[] | undefined;
|
|
291
291
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
292
|
-
sender?: string | undefined;
|
|
292
|
+
sender?: string | algosdk.Address | undefined;
|
|
293
293
|
method: string;
|
|
294
294
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
295
295
|
}) => {
|
|
296
|
-
lease?: string | Uint8Array | undefined;
|
|
297
|
-
note?: string | Uint8Array | undefined;
|
|
298
296
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
297
|
+
note?: string | Uint8Array | undefined;
|
|
299
298
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
300
|
-
|
|
299
|
+
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
300
|
+
lease?: string | Uint8Array | undefined;
|
|
301
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
301
302
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
302
303
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
303
|
-
validityWindow?: number | undefined;
|
|
304
|
+
validityWindow?: number | bigint | undefined;
|
|
304
305
|
firstValidRound?: bigint | undefined;
|
|
305
306
|
lastValidRound?: bigint | undefined;
|
|
306
|
-
|
|
307
|
-
accountReferences?: string[] | undefined;
|
|
307
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
308
308
|
appReferences?: bigint[] | undefined;
|
|
309
309
|
assetReferences?: bigint[] | undefined;
|
|
310
310
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
311
|
-
sender?: string | undefined;
|
|
311
|
+
sender?: string | algosdk.Address | undefined;
|
|
312
312
|
method: string;
|
|
313
313
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
314
314
|
} & {
|
|
315
|
-
sender:
|
|
315
|
+
sender: algosdk.Address;
|
|
316
316
|
method: Arc56Method;
|
|
317
317
|
args: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
|
|
318
|
-
|
|
319
|
-
note?: string | Uint8Array | undefined;
|
|
318
|
+
sender: string | algosdk.Address;
|
|
320
319
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
320
|
+
note?: string | Uint8Array | undefined;
|
|
321
321
|
args?: Uint8Array[] | undefined;
|
|
322
322
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
324
|
+
lease?: string | Uint8Array | undefined;
|
|
325
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
325
326
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
326
327
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
327
|
-
validityWindow?: number | undefined;
|
|
328
|
+
validityWindow?: number | bigint | undefined;
|
|
328
329
|
firstValidRound?: bigint | undefined;
|
|
329
330
|
lastValidRound?: bigint | undefined;
|
|
330
|
-
|
|
331
|
-
accountReferences?: string[] | undefined;
|
|
331
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
332
332
|
appReferences?: bigint[] | undefined;
|
|
333
333
|
assetReferences?: bigint[] | undefined;
|
|
334
334
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -342,86 +342,86 @@ export declare class AppFactory {
|
|
|
342
342
|
} | undefined;
|
|
343
343
|
extraProgramPages?: number | undefined;
|
|
344
344
|
}> | AppMethodCall<{
|
|
345
|
-
sender: string;
|
|
345
|
+
sender: string | algosdk.Address;
|
|
346
346
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
347
|
-
rekeyTo?: string | undefined;
|
|
347
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
348
348
|
note?: string | Uint8Array | undefined;
|
|
349
349
|
lease?: string | Uint8Array | undefined;
|
|
350
350
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
351
351
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
352
352
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
353
|
-
validityWindow?: number | undefined;
|
|
353
|
+
validityWindow?: number | bigint | undefined;
|
|
354
354
|
firstValidRound?: bigint | undefined;
|
|
355
355
|
lastValidRound?: bigint | undefined;
|
|
356
356
|
appId: bigint;
|
|
357
357
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
358
358
|
args?: Uint8Array[] | undefined;
|
|
359
|
-
accountReferences?: string[] | undefined;
|
|
359
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
360
360
|
appReferences?: bigint[] | undefined;
|
|
361
361
|
assetReferences?: bigint[] | undefined;
|
|
362
362
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
363
363
|
approvalProgram: string | Uint8Array;
|
|
364
364
|
clearStateProgram: string | Uint8Array;
|
|
365
|
-
}> | AppMethodCall<import("./composer").AppMethodCallParams>)[] | undefined;
|
|
365
|
+
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
366
366
|
onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC;
|
|
367
367
|
};
|
|
368
368
|
/** Return params for a deployment delete ABI call */
|
|
369
369
|
deployDelete: (params: {
|
|
370
|
-
lease?: string | Uint8Array | undefined;
|
|
371
|
-
note?: string | Uint8Array | undefined;
|
|
372
370
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
371
|
+
note?: string | Uint8Array | undefined;
|
|
373
372
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
374
|
-
|
|
373
|
+
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
374
|
+
lease?: string | Uint8Array | undefined;
|
|
375
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
375
376
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
376
377
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
377
|
-
validityWindow?: number | undefined;
|
|
378
|
+
validityWindow?: number | bigint | undefined;
|
|
378
379
|
firstValidRound?: bigint | undefined;
|
|
379
380
|
lastValidRound?: bigint | undefined;
|
|
380
|
-
|
|
381
|
-
accountReferences?: string[] | undefined;
|
|
381
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
382
382
|
appReferences?: bigint[] | undefined;
|
|
383
383
|
assetReferences?: bigint[] | undefined;
|
|
384
384
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
385
|
-
sender?: string | undefined;
|
|
385
|
+
sender?: string | algosdk.Address | undefined;
|
|
386
386
|
method: string;
|
|
387
387
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
388
388
|
}) => {
|
|
389
|
-
lease?: string | Uint8Array | undefined;
|
|
390
|
-
note?: string | Uint8Array | undefined;
|
|
391
389
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
390
|
+
note?: string | Uint8Array | undefined;
|
|
392
391
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
393
|
-
|
|
392
|
+
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
393
|
+
lease?: string | Uint8Array | undefined;
|
|
394
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
394
395
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
395
396
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
396
|
-
validityWindow?: number | undefined;
|
|
397
|
+
validityWindow?: number | bigint | undefined;
|
|
397
398
|
firstValidRound?: bigint | undefined;
|
|
398
399
|
lastValidRound?: bigint | undefined;
|
|
399
|
-
|
|
400
|
-
accountReferences?: string[] | undefined;
|
|
400
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
401
401
|
appReferences?: bigint[] | undefined;
|
|
402
402
|
assetReferences?: bigint[] | undefined;
|
|
403
403
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
404
|
-
sender?: string | undefined;
|
|
404
|
+
sender?: string | algosdk.Address | undefined;
|
|
405
405
|
method: string;
|
|
406
406
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
407
407
|
} & {
|
|
408
|
-
sender:
|
|
408
|
+
sender: algosdk.Address;
|
|
409
409
|
method: Arc56Method;
|
|
410
410
|
args: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
|
|
411
|
-
|
|
412
|
-
note?: string | Uint8Array | undefined;
|
|
411
|
+
sender: string | algosdk.Address;
|
|
413
412
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
413
|
+
note?: string | Uint8Array | undefined;
|
|
414
414
|
args?: Uint8Array[] | undefined;
|
|
415
415
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
416
|
-
|
|
417
|
-
|
|
416
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
417
|
+
lease?: string | Uint8Array | undefined;
|
|
418
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
418
419
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
419
420
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
420
|
-
validityWindow?: number | undefined;
|
|
421
|
+
validityWindow?: number | bigint | undefined;
|
|
421
422
|
firstValidRound?: bigint | undefined;
|
|
422
423
|
lastValidRound?: bigint | undefined;
|
|
423
|
-
|
|
424
|
-
accountReferences?: string[] | undefined;
|
|
424
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
425
425
|
appReferences?: bigint[] | undefined;
|
|
426
426
|
assetReferences?: bigint[] | undefined;
|
|
427
427
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -435,48 +435,48 @@ export declare class AppFactory {
|
|
|
435
435
|
} | undefined;
|
|
436
436
|
extraProgramPages?: number | undefined;
|
|
437
437
|
}> | AppMethodCall<{
|
|
438
|
-
sender: string;
|
|
438
|
+
sender: string | algosdk.Address;
|
|
439
439
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
440
|
-
rekeyTo?: string | undefined;
|
|
440
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
441
441
|
note?: string | Uint8Array | undefined;
|
|
442
442
|
lease?: string | Uint8Array | undefined;
|
|
443
443
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
444
444
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
445
445
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
446
|
-
validityWindow?: number | undefined;
|
|
446
|
+
validityWindow?: number | bigint | undefined;
|
|
447
447
|
firstValidRound?: bigint | undefined;
|
|
448
448
|
lastValidRound?: bigint | undefined;
|
|
449
449
|
appId: bigint;
|
|
450
450
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
451
451
|
args?: Uint8Array[] | undefined;
|
|
452
|
-
accountReferences?: string[] | undefined;
|
|
452
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
453
453
|
appReferences?: bigint[] | undefined;
|
|
454
454
|
assetReferences?: bigint[] | undefined;
|
|
455
455
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
456
456
|
approvalProgram: string | Uint8Array;
|
|
457
457
|
clearStateProgram: string | Uint8Array;
|
|
458
|
-
}> | AppMethodCall<import("./composer").AppMethodCallParams>)[] | undefined;
|
|
458
|
+
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
459
459
|
onComplete: algosdk.OnApplicationComplete.DeleteApplicationOC;
|
|
460
460
|
};
|
|
461
461
|
bare: {
|
|
462
462
|
/** Return params for a create bare call, including deploy-time TEAL template replacements and compilation if provided */
|
|
463
463
|
create: (params?: {
|
|
464
|
-
lease?: string | Uint8Array | undefined;
|
|
465
|
-
note?: string | Uint8Array | undefined;
|
|
466
464
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
465
|
+
note?: string | Uint8Array | undefined;
|
|
467
466
|
args?: Uint8Array[] | undefined;
|
|
468
467
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
469
|
-
|
|
468
|
+
lease?: string | Uint8Array | undefined;
|
|
469
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
470
470
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
471
471
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
472
|
-
validityWindow?: number | undefined;
|
|
472
|
+
validityWindow?: number | bigint | undefined;
|
|
473
473
|
firstValidRound?: bigint | undefined;
|
|
474
474
|
lastValidRound?: bigint | undefined;
|
|
475
|
-
accountReferences?: string[] | undefined;
|
|
475
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
476
476
|
appReferences?: bigint[] | undefined;
|
|
477
477
|
assetReferences?: bigint[] | undefined;
|
|
478
478
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
479
|
-
sender?: string | undefined;
|
|
479
|
+
sender?: string | algosdk.Address | undefined;
|
|
480
480
|
deployTimeParams?: TealTemplateParams | undefined;
|
|
481
481
|
updatable?: boolean | undefined;
|
|
482
482
|
deletable?: boolean | undefined;
|
|
@@ -508,106 +508,106 @@ export declare class AppFactory {
|
|
|
508
508
|
/** The number of byte slices saved in local state. */
|
|
509
509
|
localByteSlices: number;
|
|
510
510
|
};
|
|
511
|
-
lease?: string | Uint8Array | undefined;
|
|
512
|
-
note?: string | Uint8Array | undefined;
|
|
513
511
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
512
|
+
note?: string | Uint8Array | undefined;
|
|
514
513
|
args?: Uint8Array[] | undefined;
|
|
515
514
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
516
|
-
|
|
515
|
+
lease?: string | Uint8Array | undefined;
|
|
516
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
517
517
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
518
518
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
519
|
-
validityWindow?: number | undefined;
|
|
519
|
+
validityWindow?: number | bigint | undefined;
|
|
520
520
|
firstValidRound?: bigint | undefined;
|
|
521
521
|
lastValidRound?: bigint | undefined;
|
|
522
|
-
accountReferences?: string[] | undefined;
|
|
522
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
523
523
|
appReferences?: bigint[] | undefined;
|
|
524
524
|
assetReferences?: bigint[] | undefined;
|
|
525
525
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
526
|
-
sender?: string | undefined;
|
|
526
|
+
sender?: string | algosdk.Address | undefined;
|
|
527
527
|
updatable?: boolean | undefined;
|
|
528
528
|
deletable?: boolean | undefined;
|
|
529
529
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
530
530
|
extraProgramPages?: number | undefined;
|
|
531
531
|
} & {
|
|
532
|
-
sender:
|
|
532
|
+
sender: algosdk.Address;
|
|
533
533
|
onComplete: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC;
|
|
534
534
|
}>;
|
|
535
535
|
/** Return params for a deployment update bare call */
|
|
536
536
|
deployUpdate: (params?: {
|
|
537
|
-
lease?: string | Uint8Array | undefined;
|
|
538
|
-
note?: string | Uint8Array | undefined;
|
|
539
537
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
538
|
+
note?: string | Uint8Array | undefined;
|
|
540
539
|
args?: Uint8Array[] | undefined;
|
|
541
540
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
542
|
-
|
|
541
|
+
lease?: string | Uint8Array | undefined;
|
|
542
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
543
543
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
544
544
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
545
|
-
validityWindow?: number | undefined;
|
|
545
|
+
validityWindow?: number | bigint | undefined;
|
|
546
546
|
firstValidRound?: bigint | undefined;
|
|
547
547
|
lastValidRound?: bigint | undefined;
|
|
548
|
-
accountReferences?: string[] | undefined;
|
|
548
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
549
549
|
appReferences?: bigint[] | undefined;
|
|
550
550
|
assetReferences?: bigint[] | undefined;
|
|
551
551
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
552
|
-
sender?: string | undefined;
|
|
552
|
+
sender?: string | algosdk.Address | undefined;
|
|
553
553
|
} | undefined) => {
|
|
554
|
-
lease?: string | Uint8Array | undefined;
|
|
555
|
-
note?: string | Uint8Array | undefined;
|
|
556
554
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
555
|
+
note?: string | Uint8Array | undefined;
|
|
557
556
|
args?: Uint8Array[] | undefined;
|
|
558
557
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
559
|
-
|
|
558
|
+
lease?: string | Uint8Array | undefined;
|
|
559
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
560
560
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
561
561
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
562
|
-
validityWindow?: number | undefined;
|
|
562
|
+
validityWindow?: number | bigint | undefined;
|
|
563
563
|
firstValidRound?: bigint | undefined;
|
|
564
564
|
lastValidRound?: bigint | undefined;
|
|
565
|
-
accountReferences?: string[] | undefined;
|
|
565
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
566
566
|
appReferences?: bigint[] | undefined;
|
|
567
567
|
assetReferences?: bigint[] | undefined;
|
|
568
568
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
569
|
-
sender?: string | undefined;
|
|
569
|
+
sender?: string | algosdk.Address | undefined;
|
|
570
570
|
} & {
|
|
571
|
-
sender:
|
|
571
|
+
sender: algosdk.Address;
|
|
572
572
|
onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC;
|
|
573
573
|
};
|
|
574
574
|
/** Return params for a deployment delete bare call */
|
|
575
575
|
deployDelete: (params?: {
|
|
576
|
-
lease?: string | Uint8Array | undefined;
|
|
577
|
-
note?: string | Uint8Array | undefined;
|
|
578
576
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
577
|
+
note?: string | Uint8Array | undefined;
|
|
579
578
|
args?: Uint8Array[] | undefined;
|
|
580
579
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
581
|
-
|
|
580
|
+
lease?: string | Uint8Array | undefined;
|
|
581
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
582
582
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
583
583
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
584
|
-
validityWindow?: number | undefined;
|
|
584
|
+
validityWindow?: number | bigint | undefined;
|
|
585
585
|
firstValidRound?: bigint | undefined;
|
|
586
586
|
lastValidRound?: bigint | undefined;
|
|
587
|
-
accountReferences?: string[] | undefined;
|
|
587
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
588
588
|
appReferences?: bigint[] | undefined;
|
|
589
589
|
assetReferences?: bigint[] | undefined;
|
|
590
590
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
591
|
-
sender?: string | undefined;
|
|
591
|
+
sender?: string | algosdk.Address | undefined;
|
|
592
592
|
} | undefined) => {
|
|
593
|
-
lease?: string | Uint8Array | undefined;
|
|
594
|
-
note?: string | Uint8Array | undefined;
|
|
595
593
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
594
|
+
note?: string | Uint8Array | undefined;
|
|
596
595
|
args?: Uint8Array[] | undefined;
|
|
597
596
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
598
|
-
|
|
597
|
+
lease?: string | Uint8Array | undefined;
|
|
598
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
599
599
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
600
600
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
601
|
-
validityWindow?: number | undefined;
|
|
601
|
+
validityWindow?: number | bigint | undefined;
|
|
602
602
|
firstValidRound?: bigint | undefined;
|
|
603
603
|
lastValidRound?: bigint | undefined;
|
|
604
|
-
accountReferences?: string[] | undefined;
|
|
604
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
605
605
|
appReferences?: bigint[] | undefined;
|
|
606
606
|
assetReferences?: bigint[] | undefined;
|
|
607
607
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
608
|
-
sender?: string | undefined;
|
|
608
|
+
sender?: string | algosdk.Address | undefined;
|
|
609
609
|
} & {
|
|
610
|
-
sender:
|
|
610
|
+
sender: algosdk.Address;
|
|
611
611
|
onComplete: algosdk.OnApplicationComplete.DeleteApplicationOC;
|
|
612
612
|
};
|
|
613
613
|
};
|
|
@@ -644,7 +644,7 @@ export declare class AppFactory {
|
|
|
644
644
|
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
645
645
|
transaction: algosdk.Transaction;
|
|
646
646
|
appId: bigint;
|
|
647
|
-
appAddress:
|
|
647
|
+
appAddress: algosdk.Address;
|
|
648
648
|
};
|
|
649
649
|
}>;
|
|
650
650
|
};
|
|
@@ -669,7 +669,7 @@ export declare class AppFactory {
|
|
|
669
669
|
transactions: algosdk.Transaction[];
|
|
670
670
|
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
671
671
|
transaction: algosdk.Transaction;
|
|
672
|
-
appAddress:
|
|
672
|
+
appAddress: algosdk.Address;
|
|
673
673
|
return?: algosdk.ABIValue | ABIStruct | undefined;
|
|
674
674
|
};
|
|
675
675
|
}>;
|
|
@@ -695,10 +695,10 @@ export declare class AppFactory {
|
|
|
695
695
|
operationPerformed: "create";
|
|
696
696
|
version: string;
|
|
697
697
|
name: string;
|
|
698
|
-
deleted: boolean;
|
|
699
698
|
createdRound: bigint;
|
|
700
699
|
updatedRound: bigint;
|
|
701
700
|
createdMetadata: import("./app").AppDeployMetadata;
|
|
701
|
+
deleted: boolean;
|
|
702
702
|
deletable?: boolean | undefined;
|
|
703
703
|
updatable?: boolean | undefined;
|
|
704
704
|
groupId: string;
|
|
@@ -709,7 +709,7 @@ export declare class AppFactory {
|
|
|
709
709
|
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
710
710
|
transaction: algosdk.Transaction;
|
|
711
711
|
appId: bigint;
|
|
712
|
-
appAddress:
|
|
712
|
+
appAddress: algosdk.Address;
|
|
713
713
|
} | {
|
|
714
714
|
return: algosdk.ABIValue | ABIStruct | undefined;
|
|
715
715
|
deleteReturn: algosdk.ABIValue | ABIStruct | undefined;
|
|
@@ -717,7 +717,7 @@ export declare class AppFactory {
|
|
|
717
717
|
compiledClear?: import("./app").CompiledTeal | undefined;
|
|
718
718
|
operationPerformed: "update";
|
|
719
719
|
appId: bigint;
|
|
720
|
-
appAddress:
|
|
720
|
+
appAddress: algosdk.Address;
|
|
721
721
|
createdRound: bigint;
|
|
722
722
|
updatedRound: bigint;
|
|
723
723
|
createdMetadata: import("./app").AppDeployMetadata;
|
|
@@ -741,10 +741,10 @@ export declare class AppFactory {
|
|
|
741
741
|
operationPerformed: "replace";
|
|
742
742
|
version: string;
|
|
743
743
|
name: string;
|
|
744
|
-
deleted: boolean;
|
|
745
744
|
createdRound: bigint;
|
|
746
745
|
updatedRound: bigint;
|
|
747
746
|
createdMetadata: import("./app").AppDeployMetadata;
|
|
747
|
+
deleted: boolean;
|
|
748
748
|
deletable?: boolean | undefined;
|
|
749
749
|
updatable?: boolean | undefined;
|
|
750
750
|
groupId: string;
|
|
@@ -755,7 +755,7 @@ export declare class AppFactory {
|
|
|
755
755
|
confirmation: algosdk.modelsv2.PendingTransactionResponse;
|
|
756
756
|
transaction: algosdk.Transaction;
|
|
757
757
|
appId: bigint;
|
|
758
|
-
appAddress:
|
|
758
|
+
appAddress: algosdk.Address;
|
|
759
759
|
deleteResult: import("./transaction").ConfirmedTransactionResult;
|
|
760
760
|
} | {
|
|
761
761
|
return: algosdk.ABIValue | ABIStruct | undefined;
|
|
@@ -764,7 +764,7 @@ export declare class AppFactory {
|
|
|
764
764
|
compiledClear?: import("./app").CompiledTeal | undefined;
|
|
765
765
|
operationPerformed: "nothing";
|
|
766
766
|
appId: bigint;
|
|
767
|
-
appAddress:
|
|
767
|
+
appAddress: algosdk.Address;
|
|
768
768
|
createdRound: bigint;
|
|
769
769
|
updatedRound: bigint;
|
|
770
770
|
createdMetadata: import("./app").AppDeployMetadata;
|