@algorandfoundation/algokit-utils 9.2.0-beta.7 → 9.2.0-beta.9
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/package.json +1 -1
- package/testing/fixtures/algorand-fixture.d.ts +3 -3
- package/testing/fixtures/algorand-fixture.js.map +1 -1
- package/testing/fixtures/algorand-fixture.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +2 -2
- package/types/algorand-client-transaction-sender.d.ts +16 -16
- package/types/app-client.d.ts +37 -37
- package/types/app-factory.d.ts +18 -18
- package/types/app-manager.d.ts +1 -5
- package/types/app-manager.js +0 -26
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +2 -27
- package/types/app-manager.mjs.map +1 -1
- package/types/composer.d.ts +2 -2
- package/types/composer.js +27 -2
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +28 -3
- package/types/composer.mjs.map +1 -1
- package/types/testing.d.ts +2 -2
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"**"
|
|
7
7
|
],
|
|
8
8
|
"name": "@algorandfoundation/algokit-utils",
|
|
9
|
-
"version": "9.2.0-beta.
|
|
9
|
+
"version": "9.2.0-beta.9",
|
|
10
10
|
"private": false,
|
|
11
11
|
"description": "A set of core Algorand utilities written in TypeScript and released via npm that make it easier to build solutions on Algorand.",
|
|
12
12
|
"author": "Algorand Foundation",
|
|
@@ -12,7 +12,7 @@ import { AlgorandFixture, AlgorandFixtureConfig } from '../../types/testing';
|
|
|
12
12
|
* ```typescript
|
|
13
13
|
* const fixture = algorandFixture()
|
|
14
14
|
*
|
|
15
|
-
* beforeEach(fixture.newScope
|
|
15
|
+
* beforeEach(fixture.newScope)
|
|
16
16
|
*
|
|
17
17
|
* test('My test', async () => {
|
|
18
18
|
* const {algod, indexer, testAccount, ...} = fixture.context
|
|
@@ -24,7 +24,7 @@ import { AlgorandFixture, AlgorandFixtureConfig } from '../../types/testing';
|
|
|
24
24
|
* ```typescript
|
|
25
25
|
* const fixture = algorandFixture()
|
|
26
26
|
*
|
|
27
|
-
* beforeAll(fixture.newScope
|
|
27
|
+
* beforeAll(fixture.newScope)
|
|
28
28
|
*
|
|
29
29
|
* test('My test', async () => {
|
|
30
30
|
* const {algod, indexer, testAccount, ...} = fixture.context
|
|
@@ -39,7 +39,7 @@ import { AlgorandFixture, AlgorandFixtureConfig } from '../../types/testing';
|
|
|
39
39
|
* // ...
|
|
40
40
|
* })
|
|
41
41
|
*
|
|
42
|
-
* beforeEach(fixture.newScope
|
|
42
|
+
* beforeEach(fixture.newScope)
|
|
43
43
|
*
|
|
44
44
|
* test('My test', async () => {
|
|
45
45
|
* const {algod, indexer, testAccount, ...} = fixture.context
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algorand-fixture.js","sources":["../../../src/testing/fixtures/algorand-fixture.ts"],"sourcesContent":["import { algos, Config } from '../../'\nimport { AlgorandClient } from '../../types/algorand-client'\nimport { ClientManager } from '../../types/client-manager'\nimport { AlgoConfig } from '../../types/network-client'\nimport { AlgorandFixture, AlgorandFixtureConfig, AlgorandTestAutomationContext, GetTestAccountParams } from '../../types/testing'\nimport { getTestAccount } from '../account'\nimport { runWhenIndexerCaughtUp } from '../indexer'\nimport { TransactionLogger } from '../transaction-logger'\n\n/**\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd (or their respective config) if you want to test against\n * an explicitly defined network.\n *\n * @example No config (per-test isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeEach(fixture.newScope
|
|
1
|
+
{"version":3,"file":"algorand-fixture.js","sources":["../../../src/testing/fixtures/algorand-fixture.ts"],"sourcesContent":["import { algos, Config } from '../../'\nimport { AlgorandClient } from '../../types/algorand-client'\nimport { ClientManager } from '../../types/client-manager'\nimport { AlgoConfig } from '../../types/network-client'\nimport { AlgorandFixture, AlgorandFixtureConfig, AlgorandTestAutomationContext, GetTestAccountParams } from '../../types/testing'\nimport { getTestAccount } from '../account'\nimport { runWhenIndexerCaughtUp } from '../indexer'\nimport { TransactionLogger } from '../transaction-logger'\n\n/**\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd (or their respective config) if you want to test against\n * an explicitly defined network.\n *\n * @example No config (per-test isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeEach(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @example No config (test suite isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeAll(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @example With config\n * ```typescript\n * const fixture = algorandFixture({\n * algod: new Algodv2('localhost', 12345, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'),\n * // ...\n * })\n *\n * beforeEach(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @param fixtureConfig The fixture configuration\n * @returns The fixture\n */\nexport function algorandFixture(fixtureConfig?: AlgorandFixtureConfig): AlgorandFixture\n\n/**\n * @deprecated Config can be passed in directly to fixture config now.\n *\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd if you want to test against an explicitly defined network.\n *\n * @param fixtureConfig The fixture configuration\n * @param config The fixture configuration\n * @returns The fixture\n */\nexport function algorandFixture(fixtureConfig: AlgorandFixtureConfig | undefined, config: AlgoConfig): AlgorandFixture\n\nexport function algorandFixture(fixtureConfig?: AlgorandFixtureConfig, config?: AlgoConfig): AlgorandFixture {\n fixtureConfig = { ...fixtureConfig, ...config }\n if (!fixtureConfig.algod || !fixtureConfig.indexer || !fixtureConfig.kmd) {\n fixtureConfig = { ...ClientManager.getConfigFromEnvironmentOrLocalNet(), ...fixtureConfig }\n }\n\n const algod = fixtureConfig.algod ?? ClientManager.getAlgodClient(fixtureConfig.algodConfig!)\n const indexer = fixtureConfig.indexer ?? ClientManager.getIndexerClient(fixtureConfig.indexerConfig!)\n const kmd = fixtureConfig.kmd ?? ClientManager.getKmdClient(fixtureConfig.kmdConfig!)\n let context: AlgorandTestAutomationContext\n let algorand: AlgorandClient\n\n const newScope = async () => {\n Config.configure({ debug: true })\n const transactionLogger = new TransactionLogger()\n const transactionLoggerAlgod = transactionLogger.capture(algod)\n\n algorand = AlgorandClient.fromClients({ algod: transactionLoggerAlgod, indexer, kmd }).setSuggestedParamsCacheTimeout(0)\n\n const testAccount = await getTestAccount({ initialFunds: fixtureConfig?.testAccountFunding ?? algos(10), suppressLog: true }, algorand)\n algorand.setSignerFromAccount(testAccount)\n\n // If running against LocalNet we are likely in dev mode and we need to set a much higher validity window\n // otherwise we are more likely to get invalid transactions.\n if (await algorand.client.isLocalNet()) {\n algorand.setDefaultValidityWindow(1000)\n }\n context = {\n algorand,\n algod: transactionLoggerAlgod,\n indexer: indexer,\n kmd: kmd,\n testAccount,\n generateAccount: async (params: GetTestAccountParams) => {\n const account = await getTestAccount(params, algorand)\n algorand.setSignerFromAccount(account)\n return account\n },\n transactionLogger: transactionLogger,\n waitForIndexer: () => transactionLogger.waitForIndexer(indexer),\n waitForIndexerTransaction: (transactionId: string) => runWhenIndexerCaughtUp(() => indexer.lookupTransactionByID(transactionId).do()),\n }\n }\n\n return {\n get context() {\n if (!context) throw new Error('Context not initialised; make sure to call fixture.newScope() before accessing context.')\n return context\n },\n get algorand() {\n return algorand\n },\n beforeEach: newScope,\n newScope,\n }\n}\n"],"names":["config","ClientManager","indexer","Config","transactionLogger","TransactionLogger","AlgorandClient","getTestAccount","algos","account","runWhenIndexerCaughtUp"],"mappings":";;;;;;;;;;AA4EgB,SAAA,eAAe,CAAC,aAAqC,EAAEA,QAAmB,EAAA;IACxF,aAAa,GAAG,EAAE,GAAG,aAAa,EAAE,GAAGA,QAAM,EAAE;AAC/C,IAAA,IAAI,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE;QACxE,aAAa,GAAG,EAAE,GAAGC,iCAAa,CAAC,kCAAkC,EAAE,EAAE,GAAG,aAAa,EAAE;;AAG7F,IAAA,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,IAAIA,iCAAa,CAAC,cAAc,CAAC,aAAa,CAAC,WAAY,CAAC;AAC7F,IAAA,MAAMC,SAAO,GAAG,aAAa,CAAC,OAAO,IAAID,iCAAa,CAAC,gBAAgB,CAAC,aAAa,CAAC,aAAc,CAAC;AACrG,IAAA,MAAM,GAAG,GAAG,aAAa,CAAC,GAAG,IAAIA,iCAAa,CAAC,YAAY,CAAC,aAAa,CAAC,SAAU,CAAC;AACrF,IAAA,IAAI,OAAsC;AAC1C,IAAA,IAAI,QAAwB;AAE5B,IAAA,MAAM,QAAQ,GAAG,YAAW;QAC1BE,aAAM,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACjC,QAAA,MAAMC,mBAAiB,GAAG,IAAIC,mCAAiB,EAAE;QACjD,MAAM,sBAAsB,GAAGD,mBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC;QAE/D,QAAQ,GAAGE,mCAAc,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,sBAAsB,WAAEJ,SAAO,EAAE,GAAG,EAAE,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC;QAExH,MAAM,WAAW,GAAG,MAAMK,sBAAc,CAAC,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,IAAIC,YAAK,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,QAAQ,CAAC;AACvI,QAAA,QAAQ,CAAC,oBAAoB,CAAC,WAAW,CAAC;;;QAI1C,IAAI,MAAM,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE;AACtC,YAAA,QAAQ,CAAC,wBAAwB,CAAC,IAAI,CAAC;;AAEzC,QAAA,OAAO,GAAG;YACR,QAAQ;AACR,YAAA,KAAK,EAAE,sBAAsB;AAC7B,YAAA,OAAO,EAAEN,SAAO;AAChB,YAAA,GAAG,EAAE,GAAG;YACR,WAAW;AACX,YAAA,eAAe,EAAE,OAAO,MAA4B,KAAI;gBACtD,MAAMO,SAAO,GAAG,MAAMF,sBAAc,CAAC,MAAM,EAAE,QAAQ,CAAC;AACtD,gBAAA,QAAQ,CAAC,oBAAoB,CAACE,SAAO,CAAC;AACtC,gBAAA,OAAOA,SAAO;aACf;AACD,YAAA,iBAAiB,EAAEL,mBAAiB;YACpC,cAAc,EAAE,MAAMA,mBAAiB,CAAC,cAAc,CAACF,SAAO,CAAC;YAC/D,yBAAyB,EAAE,CAAC,aAAqB,KAAKQ,8BAAsB,CAAC,MAAMR,SAAO,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC;SACtI;AACH,KAAC;IAED,OAAO;AACL,QAAA,IAAI,OAAO,GAAA;AACT,YAAA,IAAI,CAAC,OAAO;AAAE,gBAAA,MAAM,IAAI,KAAK,CAAC,yFAAyF,CAAC;AACxH,YAAA,OAAO,OAAO;SACf;AACD,QAAA,IAAI,QAAQ,GAAA;AACV,YAAA,OAAO,QAAQ;SAChB;AACD,QAAA,UAAU,EAAE,QAAQ;QACpB,QAAQ;KACT;AACH;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algorand-fixture.mjs","sources":["../../../src/testing/fixtures/algorand-fixture.ts"],"sourcesContent":["import { algos, Config } from '../../'\nimport { AlgorandClient } from '../../types/algorand-client'\nimport { ClientManager } from '../../types/client-manager'\nimport { AlgoConfig } from '../../types/network-client'\nimport { AlgorandFixture, AlgorandFixtureConfig, AlgorandTestAutomationContext, GetTestAccountParams } from '../../types/testing'\nimport { getTestAccount } from '../account'\nimport { runWhenIndexerCaughtUp } from '../indexer'\nimport { TransactionLogger } from '../transaction-logger'\n\n/**\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd (or their respective config) if you want to test against\n * an explicitly defined network.\n *\n * @example No config (per-test isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeEach(fixture.newScope
|
|
1
|
+
{"version":3,"file":"algorand-fixture.mjs","sources":["../../../src/testing/fixtures/algorand-fixture.ts"],"sourcesContent":["import { algos, Config } from '../../'\nimport { AlgorandClient } from '../../types/algorand-client'\nimport { ClientManager } from '../../types/client-manager'\nimport { AlgoConfig } from '../../types/network-client'\nimport { AlgorandFixture, AlgorandFixtureConfig, AlgorandTestAutomationContext, GetTestAccountParams } from '../../types/testing'\nimport { getTestAccount } from '../account'\nimport { runWhenIndexerCaughtUp } from '../indexer'\nimport { TransactionLogger } from '../transaction-logger'\n\n/**\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd (or their respective config) if you want to test against\n * an explicitly defined network.\n *\n * @example No config (per-test isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeEach(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @example No config (test suite isolation)\n * ```typescript\n * const fixture = algorandFixture()\n *\n * beforeAll(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @example With config\n * ```typescript\n * const fixture = algorandFixture({\n * algod: new Algodv2('localhost', 12345, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'),\n * // ...\n * })\n *\n * beforeEach(fixture.newScope)\n *\n * test('My test', async () => {\n * const {algod, indexer, testAccount, ...} = fixture.context\n * // test things...\n * })\n * ```\n *\n * @param fixtureConfig The fixture configuration\n * @returns The fixture\n */\nexport function algorandFixture(fixtureConfig?: AlgorandFixtureConfig): AlgorandFixture\n\n/**\n * @deprecated Config can be passed in directly to fixture config now.\n *\n * Creates a test fixture for automated testing against Algorand.\n * By default it tests against an environment variable specified client\n * if the standard environment variables are specified, otherwise against\n * a default LocalNet instance, but you can pass in an algod, indexer\n * and/or kmd if you want to test against an explicitly defined network.\n *\n * @param fixtureConfig The fixture configuration\n * @param config The fixture configuration\n * @returns The fixture\n */\nexport function algorandFixture(fixtureConfig: AlgorandFixtureConfig | undefined, config: AlgoConfig): AlgorandFixture\n\nexport function algorandFixture(fixtureConfig?: AlgorandFixtureConfig, config?: AlgoConfig): AlgorandFixture {\n fixtureConfig = { ...fixtureConfig, ...config }\n if (!fixtureConfig.algod || !fixtureConfig.indexer || !fixtureConfig.kmd) {\n fixtureConfig = { ...ClientManager.getConfigFromEnvironmentOrLocalNet(), ...fixtureConfig }\n }\n\n const algod = fixtureConfig.algod ?? ClientManager.getAlgodClient(fixtureConfig.algodConfig!)\n const indexer = fixtureConfig.indexer ?? ClientManager.getIndexerClient(fixtureConfig.indexerConfig!)\n const kmd = fixtureConfig.kmd ?? ClientManager.getKmdClient(fixtureConfig.kmdConfig!)\n let context: AlgorandTestAutomationContext\n let algorand: AlgorandClient\n\n const newScope = async () => {\n Config.configure({ debug: true })\n const transactionLogger = new TransactionLogger()\n const transactionLoggerAlgod = transactionLogger.capture(algod)\n\n algorand = AlgorandClient.fromClients({ algod: transactionLoggerAlgod, indexer, kmd }).setSuggestedParamsCacheTimeout(0)\n\n const testAccount = await getTestAccount({ initialFunds: fixtureConfig?.testAccountFunding ?? algos(10), suppressLog: true }, algorand)\n algorand.setSignerFromAccount(testAccount)\n\n // If running against LocalNet we are likely in dev mode and we need to set a much higher validity window\n // otherwise we are more likely to get invalid transactions.\n if (await algorand.client.isLocalNet()) {\n algorand.setDefaultValidityWindow(1000)\n }\n context = {\n algorand,\n algod: transactionLoggerAlgod,\n indexer: indexer,\n kmd: kmd,\n testAccount,\n generateAccount: async (params: GetTestAccountParams) => {\n const account = await getTestAccount(params, algorand)\n algorand.setSignerFromAccount(account)\n return account\n },\n transactionLogger: transactionLogger,\n waitForIndexer: () => transactionLogger.waitForIndexer(indexer),\n waitForIndexerTransaction: (transactionId: string) => runWhenIndexerCaughtUp(() => indexer.lookupTransactionByID(transactionId).do()),\n }\n }\n\n return {\n get context() {\n if (!context) throw new Error('Context not initialised; make sure to call fixture.newScope() before accessing context.')\n return context\n },\n get algorand() {\n return algorand\n },\n beforeEach: newScope,\n newScope,\n }\n}\n"],"names":[],"mappings":";;;;;;;;AA4EgB,SAAA,eAAe,CAAC,aAAqC,EAAE,MAAmB,EAAA;IACxF,aAAa,GAAG,EAAE,GAAG,aAAa,EAAE,GAAG,MAAM,EAAE;AAC/C,IAAA,IAAI,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE;QACxE,aAAa,GAAG,EAAE,GAAG,aAAa,CAAC,kCAAkC,EAAE,EAAE,GAAG,aAAa,EAAE;;AAG7F,IAAA,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,IAAI,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,WAAY,CAAC;AAC7F,IAAA,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,IAAI,aAAa,CAAC,gBAAgB,CAAC,aAAa,CAAC,aAAc,CAAC;AACrG,IAAA,MAAM,GAAG,GAAG,aAAa,CAAC,GAAG,IAAI,aAAa,CAAC,YAAY,CAAC,aAAa,CAAC,SAAU,CAAC;AACrF,IAAA,IAAI,OAAsC;AAC1C,IAAA,IAAI,QAAwB;AAE5B,IAAA,MAAM,QAAQ,GAAG,YAAW;QAC1B,MAAM,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACjC,QAAA,MAAM,iBAAiB,GAAG,IAAI,iBAAiB,EAAE;QACjD,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC;QAE/D,QAAQ,GAAG,cAAc,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,sBAAsB,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC;QAExH,MAAM,WAAW,GAAG,MAAM,cAAc,CAAC,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,QAAQ,CAAC;AACvI,QAAA,QAAQ,CAAC,oBAAoB,CAAC,WAAW,CAAC;;;QAI1C,IAAI,MAAM,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE;AACtC,YAAA,QAAQ,CAAC,wBAAwB,CAAC,IAAI,CAAC;;AAEzC,QAAA,OAAO,GAAG;YACR,QAAQ;AACR,YAAA,KAAK,EAAE,sBAAsB;AAC7B,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,GAAG,EAAE,GAAG;YACR,WAAW;AACX,YAAA,eAAe,EAAE,OAAO,MAA4B,KAAI;gBACtD,MAAM,OAAO,GAAG,MAAM,cAAc,CAAC,MAAM,EAAE,QAAQ,CAAC;AACtD,gBAAA,QAAQ,CAAC,oBAAoB,CAAC,OAAO,CAAC;AACtC,gBAAA,OAAO,OAAO;aACf;AACD,YAAA,iBAAiB,EAAE,iBAAiB;YACpC,cAAc,EAAE,MAAM,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC;YAC/D,yBAAyB,EAAE,CAAC,aAAqB,KAAK,sBAAsB,CAAC,MAAM,OAAO,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC,EAAE,EAAE,CAAC;SACtI;AACH,KAAC;IAED,OAAO;AACL,QAAA,IAAI,OAAO,GAAA;AACT,YAAA,IAAI,CAAC,OAAO;AAAE,gBAAA,MAAM,IAAI,KAAK,CAAC,yFAAyF,CAAC;AACxH,YAAA,OAAO,OAAO;SACf;AACD,QAAA,IAAI,QAAQ,GAAA;AACV,YAAA,OAAO,QAAQ;SAChB;AACD,QAAA,UAAU,EAAE,QAAQ;QACpB,QAAQ;KACT;AACH;;;;"}
|
|
@@ -349,7 +349,7 @@ export declare class AlgorandClientTransactionCreator {
|
|
|
349
349
|
appReferences?: bigint[] | undefined;
|
|
350
350
|
assetReferences?: bigint[] | undefined;
|
|
351
351
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
352
|
-
accessReferences?: import("./app-manager").
|
|
352
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
353
353
|
approvalProgram: string | Uint8Array;
|
|
354
354
|
clearStateProgram: string | Uint8Array;
|
|
355
355
|
schema?: {
|
|
@@ -415,7 +415,7 @@ export declare class AlgorandClientTransactionCreator {
|
|
|
415
415
|
appReferences?: bigint[] | undefined;
|
|
416
416
|
assetReferences?: bigint[] | undefined;
|
|
417
417
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
418
|
-
accessReferences?: import("./app-manager").
|
|
418
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
419
419
|
approvalProgram: string | Uint8Array;
|
|
420
420
|
clearStateProgram: string | Uint8Array;
|
|
421
421
|
}) => Promise<Transaction>;
|
|
@@ -480,7 +480,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
480
480
|
appReferences?: bigint[] | undefined;
|
|
481
481
|
assetReferences?: bigint[] | undefined;
|
|
482
482
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
483
|
-
accessReferences?: import("./app-manager").
|
|
483
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
484
484
|
approvalProgram: string | Uint8Array;
|
|
485
485
|
clearStateProgram: string | Uint8Array;
|
|
486
486
|
schema?: {
|
|
@@ -553,7 +553,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
553
553
|
appReferences?: bigint[] | undefined;
|
|
554
554
|
assetReferences?: bigint[] | undefined;
|
|
555
555
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
556
|
-
accessReferences?: import("./app-manager").
|
|
556
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
557
557
|
approvalProgram: string | Uint8Array;
|
|
558
558
|
clearStateProgram: string | Uint8Array;
|
|
559
559
|
} & SendParams) => Promise<SendAppUpdateTransactionResult>;
|
|
@@ -606,7 +606,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
606
606
|
appReferences?: bigint[] | undefined;
|
|
607
607
|
assetReferences?: bigint[] | undefined;
|
|
608
608
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
609
|
-
accessReferences?: import("./app-manager").
|
|
609
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
610
610
|
} & {
|
|
611
611
|
onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
612
612
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
@@ -659,7 +659,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
659
659
|
appReferences?: bigint[] | undefined;
|
|
660
660
|
assetReferences?: bigint[] | undefined;
|
|
661
661
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
662
|
-
accessReferences?: import("./app-manager").
|
|
662
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
663
663
|
} & {
|
|
664
664
|
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.ClearStateOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
665
665
|
} & SendParams) => Promise<SendAppTransactionResult>;
|
|
@@ -752,7 +752,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
752
752
|
appReferences?: bigint[] | undefined;
|
|
753
753
|
assetReferences?: bigint[] | undefined;
|
|
754
754
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
755
|
-
accessReferences?: import("./app-manager").
|
|
755
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
756
756
|
} & {
|
|
757
757
|
method: algosdk.ABIMethod;
|
|
758
758
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -773,7 +773,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
773
773
|
appReferences?: bigint[] | undefined;
|
|
774
774
|
assetReferences?: bigint[] | undefined;
|
|
775
775
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
776
|
-
accessReferences?: import("./app-manager").
|
|
776
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
777
777
|
approvalProgram: string | Uint8Array;
|
|
778
778
|
clearStateProgram: string | Uint8Array;
|
|
779
779
|
schema?: {
|
|
@@ -802,7 +802,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
802
802
|
appReferences?: bigint[] | undefined;
|
|
803
803
|
assetReferences?: bigint[] | undefined;
|
|
804
804
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
805
|
-
accessReferences?: import("./app-manager").
|
|
805
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
806
806
|
approvalProgram: string | Uint8Array;
|
|
807
807
|
clearStateProgram: string | Uint8Array;
|
|
808
808
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -882,7 +882,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
882
882
|
appReferences?: bigint[] | undefined;
|
|
883
883
|
assetReferences?: bigint[] | undefined;
|
|
884
884
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
885
|
-
accessReferences?: import("./app-manager").
|
|
885
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
886
886
|
} & {
|
|
887
887
|
method: algosdk.ABIMethod;
|
|
888
888
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -903,7 +903,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
903
903
|
appReferences?: bigint[] | undefined;
|
|
904
904
|
assetReferences?: bigint[] | undefined;
|
|
905
905
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
906
|
-
accessReferences?: import("./app-manager").
|
|
906
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
907
907
|
approvalProgram: string | Uint8Array;
|
|
908
908
|
clearStateProgram: string | Uint8Array;
|
|
909
909
|
schema?: {
|
|
@@ -932,7 +932,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
932
932
|
appReferences?: bigint[] | undefined;
|
|
933
933
|
assetReferences?: bigint[] | undefined;
|
|
934
934
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
935
|
-
accessReferences?: import("./app-manager").
|
|
935
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
936
936
|
approvalProgram: string | Uint8Array;
|
|
937
937
|
clearStateProgram: string | Uint8Array;
|
|
938
938
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -1008,7 +1008,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1008
1008
|
appReferences?: bigint[] | undefined;
|
|
1009
1009
|
assetReferences?: bigint[] | undefined;
|
|
1010
1010
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1011
|
-
accessReferences?: import("./app-manager").
|
|
1011
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1012
1012
|
} & {
|
|
1013
1013
|
method: algosdk.ABIMethod;
|
|
1014
1014
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -1029,7 +1029,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1029
1029
|
appReferences?: bigint[] | undefined;
|
|
1030
1030
|
assetReferences?: bigint[] | undefined;
|
|
1031
1031
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1032
|
-
accessReferences?: import("./app-manager").
|
|
1032
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1033
1033
|
approvalProgram: string | Uint8Array;
|
|
1034
1034
|
clearStateProgram: string | Uint8Array;
|
|
1035
1035
|
schema?: {
|
|
@@ -1058,7 +1058,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1058
1058
|
appReferences?: bigint[] | undefined;
|
|
1059
1059
|
assetReferences?: bigint[] | undefined;
|
|
1060
1060
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1061
|
-
accessReferences?: import("./app-manager").
|
|
1061
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1062
1062
|
approvalProgram: string | Uint8Array;
|
|
1063
1063
|
clearStateProgram: string | Uint8Array;
|
|
1064
1064
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -1134,7 +1134,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1134
1134
|
appReferences?: bigint[] | undefined;
|
|
1135
1135
|
assetReferences?: bigint[] | undefined;
|
|
1136
1136
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1137
|
-
accessReferences?: import("./app-manager").
|
|
1137
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1138
1138
|
} & {
|
|
1139
1139
|
method: algosdk.ABIMethod;
|
|
1140
1140
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
@@ -1155,7 +1155,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1155
1155
|
appReferences?: bigint[] | undefined;
|
|
1156
1156
|
assetReferences?: bigint[] | undefined;
|
|
1157
1157
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1158
|
-
accessReferences?: import("./app-manager").
|
|
1158
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1159
1159
|
approvalProgram: string | Uint8Array;
|
|
1160
1160
|
clearStateProgram: string | Uint8Array;
|
|
1161
1161
|
schema?: {
|
|
@@ -1184,7 +1184,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1184
1184
|
appReferences?: bigint[] | undefined;
|
|
1185
1185
|
assetReferences?: bigint[] | undefined;
|
|
1186
1186
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1187
|
-
accessReferences?: import("./app-manager").
|
|
1187
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1188
1188
|
approvalProgram: string | Uint8Array;
|
|
1189
1189
|
clearStateProgram: string | Uint8Array;
|
|
1190
1190
|
}> | import("./composer").AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
package/types/app-client.d.ts
CHANGED
|
@@ -440,7 +440,7 @@ export declare class AppClient {
|
|
|
440
440
|
appReferences?: bigint[] | undefined;
|
|
441
441
|
assetReferences?: bigint[] | undefined;
|
|
442
442
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
443
|
-
accessReferences?: import("./app-manager").
|
|
443
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
444
444
|
sender?: string | algosdk.Address | undefined;
|
|
445
445
|
method: string;
|
|
446
446
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -466,7 +466,7 @@ export declare class AppClient {
|
|
|
466
466
|
appReferences?: bigint[] | undefined;
|
|
467
467
|
assetReferences?: bigint[] | undefined;
|
|
468
468
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
469
|
-
accessReferences?: import("./app-manager").
|
|
469
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
470
470
|
sender?: string | algosdk.Address | undefined;
|
|
471
471
|
method: string;
|
|
472
472
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -500,7 +500,7 @@ export declare class AppClient {
|
|
|
500
500
|
appReferences?: bigint[] | undefined;
|
|
501
501
|
assetReferences?: bigint[] | undefined;
|
|
502
502
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
503
|
-
accessReferences?: import("./app-manager").
|
|
503
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
504
504
|
approvalProgram: string | Uint8Array;
|
|
505
505
|
clearStateProgram: string | Uint8Array;
|
|
506
506
|
schema?: {
|
|
@@ -529,7 +529,7 @@ export declare class AppClient {
|
|
|
529
529
|
appReferences?: bigint[] | undefined;
|
|
530
530
|
assetReferences?: bigint[] | undefined;
|
|
531
531
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
532
|
-
accessReferences?: import("./app-manager").
|
|
532
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
533
533
|
approvalProgram: string | Uint8Array;
|
|
534
534
|
clearStateProgram: string | Uint8Array;
|
|
535
535
|
}> | AppMethodCall<import("./composer").AppMethodCallParams> | undefined)[] | undefined;
|
|
@@ -555,7 +555,7 @@ export declare class AppClient {
|
|
|
555
555
|
appReferences?: bigint[] | undefined;
|
|
556
556
|
assetReferences?: bigint[] | undefined;
|
|
557
557
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
558
|
-
accessReferences?: import("./app-manager").
|
|
558
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
559
559
|
sender?: string | algosdk.Address | undefined;
|
|
560
560
|
method: string;
|
|
561
561
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -581,7 +581,7 @@ export declare class AppClient {
|
|
|
581
581
|
appReferences?: bigint[] | undefined;
|
|
582
582
|
assetReferences?: bigint[] | undefined;
|
|
583
583
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
584
|
-
accessReferences?: import("./app-manager").
|
|
584
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
585
585
|
sender?: string | algosdk.Address | undefined;
|
|
586
586
|
method: string;
|
|
587
587
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -606,7 +606,7 @@ export declare class AppClient {
|
|
|
606
606
|
appReferences?: bigint[] | undefined;
|
|
607
607
|
assetReferences?: bigint[] | undefined;
|
|
608
608
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
609
|
-
accessReferences?: import("./app-manager").
|
|
609
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
610
610
|
sender?: string | algosdk.Address | undefined;
|
|
611
611
|
method: string;
|
|
612
612
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -631,7 +631,7 @@ export declare class AppClient {
|
|
|
631
631
|
appReferences?: bigint[] | undefined;
|
|
632
632
|
assetReferences?: bigint[] | undefined;
|
|
633
633
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
634
|
-
accessReferences?: import("./app-manager").
|
|
634
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
635
635
|
sender?: string | algosdk.Address | undefined;
|
|
636
636
|
method: string;
|
|
637
637
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -655,7 +655,7 @@ export declare class AppClient {
|
|
|
655
655
|
appReferences?: bigint[] | undefined;
|
|
656
656
|
assetReferences?: bigint[] | undefined;
|
|
657
657
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
658
|
-
accessReferences?: import("./app-manager").
|
|
658
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
659
659
|
sender?: string | algosdk.Address | undefined;
|
|
660
660
|
} & AppClientCompilationParams) | undefined) => Promise<{
|
|
661
661
|
sender: string | algosdk.Address;
|
|
@@ -676,7 +676,7 @@ export declare class AppClient {
|
|
|
676
676
|
appReferences?: bigint[] | undefined;
|
|
677
677
|
assetReferences?: bigint[] | undefined;
|
|
678
678
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
679
|
-
accessReferences?: import("./app-manager").
|
|
679
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
680
680
|
approvalProgram: string | Uint8Array;
|
|
681
681
|
clearStateProgram: string | Uint8Array;
|
|
682
682
|
}>;
|
|
@@ -697,7 +697,7 @@ export declare class AppClient {
|
|
|
697
697
|
appReferences?: bigint[] | undefined;
|
|
698
698
|
assetReferences?: bigint[] | undefined;
|
|
699
699
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
700
|
-
accessReferences?: import("./app-manager").
|
|
700
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
701
701
|
sender?: string | algosdk.Address | undefined;
|
|
702
702
|
} | undefined) => AppCallParams;
|
|
703
703
|
/** Return params for a delete call */
|
|
@@ -717,7 +717,7 @@ export declare class AppClient {
|
|
|
717
717
|
appReferences?: bigint[] | undefined;
|
|
718
718
|
assetReferences?: bigint[] | undefined;
|
|
719
719
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
720
|
-
accessReferences?: import("./app-manager").
|
|
720
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
721
721
|
sender?: string | algosdk.Address | undefined;
|
|
722
722
|
} | undefined) => AppDeleteParams;
|
|
723
723
|
/** Return params for a clear state call */
|
|
@@ -737,7 +737,7 @@ export declare class AppClient {
|
|
|
737
737
|
appReferences?: bigint[] | undefined;
|
|
738
738
|
assetReferences?: bigint[] | undefined;
|
|
739
739
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
740
|
-
accessReferences?: import("./app-manager").
|
|
740
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
741
741
|
sender?: string | algosdk.Address | undefined;
|
|
742
742
|
} | undefined) => AppCallParams;
|
|
743
743
|
/** Return params for a close out call */
|
|
@@ -757,7 +757,7 @@ export declare class AppClient {
|
|
|
757
757
|
appReferences?: bigint[] | undefined;
|
|
758
758
|
assetReferences?: bigint[] | undefined;
|
|
759
759
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
760
|
-
accessReferences?: import("./app-manager").
|
|
760
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
761
761
|
sender?: string | algosdk.Address | undefined;
|
|
762
762
|
} | undefined) => AppCallParams;
|
|
763
763
|
/** Return params for a call (defaults to no-op) */
|
|
@@ -777,7 +777,7 @@ export declare class AppClient {
|
|
|
777
777
|
appReferences?: bigint[] | undefined;
|
|
778
778
|
assetReferences?: bigint[] | undefined;
|
|
779
779
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
780
|
-
accessReferences?: import("./app-manager").
|
|
780
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
781
781
|
sender?: string | algosdk.Address | undefined;
|
|
782
782
|
} & CallOnComplete) | undefined) => AppCallParams;
|
|
783
783
|
};
|
|
@@ -828,7 +828,7 @@ export declare class AppClient {
|
|
|
828
828
|
appReferences?: bigint[] | undefined;
|
|
829
829
|
assetReferences?: bigint[] | undefined;
|
|
830
830
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
831
|
-
accessReferences?: import("./app-manager").
|
|
831
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
832
832
|
sender?: string | algosdk.Address | undefined;
|
|
833
833
|
method: string;
|
|
834
834
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -858,7 +858,7 @@ export declare class AppClient {
|
|
|
858
858
|
appReferences?: bigint[] | undefined;
|
|
859
859
|
assetReferences?: bigint[] | undefined;
|
|
860
860
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
861
|
-
accessReferences?: import("./app-manager").
|
|
861
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
862
862
|
sender?: string | algosdk.Address | undefined;
|
|
863
863
|
method: string;
|
|
864
864
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -888,7 +888,7 @@ export declare class AppClient {
|
|
|
888
888
|
appReferences?: bigint[] | undefined;
|
|
889
889
|
assetReferences?: bigint[] | undefined;
|
|
890
890
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
891
|
-
accessReferences?: import("./app-manager").
|
|
891
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
892
892
|
sender?: string | algosdk.Address | undefined;
|
|
893
893
|
method: string;
|
|
894
894
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -918,7 +918,7 @@ export declare class AppClient {
|
|
|
918
918
|
appReferences?: bigint[] | undefined;
|
|
919
919
|
assetReferences?: bigint[] | undefined;
|
|
920
920
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
921
|
-
accessReferences?: import("./app-manager").
|
|
921
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
922
922
|
sender?: string | algosdk.Address | undefined;
|
|
923
923
|
method: string;
|
|
924
924
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -948,7 +948,7 @@ export declare class AppClient {
|
|
|
948
948
|
appReferences?: bigint[] | undefined;
|
|
949
949
|
assetReferences?: bigint[] | undefined;
|
|
950
950
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
951
|
-
accessReferences?: import("./app-manager").
|
|
951
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
952
952
|
sender?: string | algosdk.Address | undefined;
|
|
953
953
|
method: string;
|
|
954
954
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -976,7 +976,7 @@ export declare class AppClient {
|
|
|
976
976
|
appReferences?: bigint[] | undefined;
|
|
977
977
|
assetReferences?: bigint[] | undefined;
|
|
978
978
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
979
|
-
accessReferences?: import("./app-manager").
|
|
979
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
980
980
|
sender?: string | algosdk.Address | undefined;
|
|
981
981
|
} & AppClientCompilationParams) | undefined) => Promise<algosdk.Transaction>;
|
|
982
982
|
/** Returns a transaction for an opt-in call */
|
|
@@ -996,7 +996,7 @@ export declare class AppClient {
|
|
|
996
996
|
appReferences?: bigint[] | undefined;
|
|
997
997
|
assetReferences?: bigint[] | undefined;
|
|
998
998
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
999
|
-
accessReferences?: import("./app-manager").
|
|
999
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1000
1000
|
sender?: string | algosdk.Address | undefined;
|
|
1001
1001
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1002
1002
|
/** Returns a transaction for a delete call */
|
|
@@ -1016,7 +1016,7 @@ export declare class AppClient {
|
|
|
1016
1016
|
appReferences?: bigint[] | undefined;
|
|
1017
1017
|
assetReferences?: bigint[] | undefined;
|
|
1018
1018
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1019
|
-
accessReferences?: import("./app-manager").
|
|
1019
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1020
1020
|
sender?: string | algosdk.Address | undefined;
|
|
1021
1021
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1022
1022
|
/** Returns a transaction for a clear state call */
|
|
@@ -1036,7 +1036,7 @@ export declare class AppClient {
|
|
|
1036
1036
|
appReferences?: bigint[] | undefined;
|
|
1037
1037
|
assetReferences?: bigint[] | undefined;
|
|
1038
1038
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1039
|
-
accessReferences?: import("./app-manager").
|
|
1039
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1040
1040
|
sender?: string | algosdk.Address | undefined;
|
|
1041
1041
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1042
1042
|
/** Returns a transaction for a close out call */
|
|
@@ -1056,7 +1056,7 @@ export declare class AppClient {
|
|
|
1056
1056
|
appReferences?: bigint[] | undefined;
|
|
1057
1057
|
assetReferences?: bigint[] | undefined;
|
|
1058
1058
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1059
|
-
accessReferences?: import("./app-manager").
|
|
1059
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1060
1060
|
sender?: string | algosdk.Address | undefined;
|
|
1061
1061
|
} | undefined) => Promise<algosdk.Transaction>;
|
|
1062
1062
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
@@ -1076,7 +1076,7 @@ export declare class AppClient {
|
|
|
1076
1076
|
appReferences?: bigint[] | undefined;
|
|
1077
1077
|
assetReferences?: bigint[] | undefined;
|
|
1078
1078
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1079
|
-
accessReferences?: import("./app-manager").
|
|
1079
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1080
1080
|
sender?: string | algosdk.Address | undefined;
|
|
1081
1081
|
} & CallOnComplete) | undefined) => Promise<algosdk.Transaction>;
|
|
1082
1082
|
};
|
|
@@ -1135,7 +1135,7 @@ export declare class AppClient {
|
|
|
1135
1135
|
appReferences?: bigint[] | undefined;
|
|
1136
1136
|
assetReferences?: bigint[] | undefined;
|
|
1137
1137
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1138
|
-
accessReferences?: import("./app-manager").
|
|
1138
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1139
1139
|
sender?: string | algosdk.Address | undefined;
|
|
1140
1140
|
method: string;
|
|
1141
1141
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1172,7 +1172,7 @@ export declare class AppClient {
|
|
|
1172
1172
|
appReferences?: bigint[] | undefined;
|
|
1173
1173
|
assetReferences?: bigint[] | undefined;
|
|
1174
1174
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1175
|
-
accessReferences?: import("./app-manager").
|
|
1175
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1176
1176
|
sender?: string | algosdk.Address | undefined;
|
|
1177
1177
|
method: string;
|
|
1178
1178
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1207,7 +1207,7 @@ export declare class AppClient {
|
|
|
1207
1207
|
appReferences?: bigint[] | undefined;
|
|
1208
1208
|
assetReferences?: bigint[] | undefined;
|
|
1209
1209
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1210
|
-
accessReferences?: import("./app-manager").
|
|
1210
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1211
1211
|
sender?: string | algosdk.Address | undefined;
|
|
1212
1212
|
method: string;
|
|
1213
1213
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1242,7 +1242,7 @@ export declare class AppClient {
|
|
|
1242
1242
|
appReferences?: bigint[] | undefined;
|
|
1243
1243
|
assetReferences?: bigint[] | undefined;
|
|
1244
1244
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1245
|
-
accessReferences?: import("./app-manager").
|
|
1245
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1246
1246
|
sender?: string | algosdk.Address | undefined;
|
|
1247
1247
|
method: string;
|
|
1248
1248
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1277,7 +1277,7 @@ export declare class AppClient {
|
|
|
1277
1277
|
appReferences?: bigint[] | undefined;
|
|
1278
1278
|
assetReferences?: bigint[] | undefined;
|
|
1279
1279
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1280
|
-
accessReferences?: import("./app-manager").
|
|
1280
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1281
1281
|
sender?: string | algosdk.Address | undefined;
|
|
1282
1282
|
method: string;
|
|
1283
1283
|
args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
|
|
@@ -1310,7 +1310,7 @@ export declare class AppClient {
|
|
|
1310
1310
|
appReferences?: bigint[] | undefined;
|
|
1311
1311
|
assetReferences?: bigint[] | undefined;
|
|
1312
1312
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1313
|
-
accessReferences?: import("./app-manager").
|
|
1313
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1314
1314
|
sender?: string | algosdk.Address | undefined;
|
|
1315
1315
|
} & AppClientCompilationParams & SendParams) | undefined) => Promise<{
|
|
1316
1316
|
compiledApproval?: import("./app").CompiledTeal | undefined;
|
|
@@ -1341,7 +1341,7 @@ export declare class AppClient {
|
|
|
1341
1341
|
appReferences?: bigint[] | undefined;
|
|
1342
1342
|
assetReferences?: bigint[] | undefined;
|
|
1343
1343
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1344
|
-
accessReferences?: import("./app-manager").
|
|
1344
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1345
1345
|
sender?: string | algosdk.Address | undefined;
|
|
1346
1346
|
} & SendParams) | undefined) => Promise<{
|
|
1347
1347
|
groupId: string;
|
|
@@ -1370,7 +1370,7 @@ export declare class AppClient {
|
|
|
1370
1370
|
appReferences?: bigint[] | undefined;
|
|
1371
1371
|
assetReferences?: bigint[] | undefined;
|
|
1372
1372
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1373
|
-
accessReferences?: import("./app-manager").
|
|
1373
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1374
1374
|
sender?: string | algosdk.Address | undefined;
|
|
1375
1375
|
} & SendParams) | undefined) => Promise<{
|
|
1376
1376
|
groupId: string;
|
|
@@ -1399,7 +1399,7 @@ export declare class AppClient {
|
|
|
1399
1399
|
appReferences?: bigint[] | undefined;
|
|
1400
1400
|
assetReferences?: bigint[] | undefined;
|
|
1401
1401
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1402
|
-
accessReferences?: import("./app-manager").
|
|
1402
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1403
1403
|
sender?: string | algosdk.Address | undefined;
|
|
1404
1404
|
} & SendParams) | undefined) => Promise<{
|
|
1405
1405
|
groupId: string;
|
|
@@ -1428,7 +1428,7 @@ export declare class AppClient {
|
|
|
1428
1428
|
appReferences?: bigint[] | undefined;
|
|
1429
1429
|
assetReferences?: bigint[] | undefined;
|
|
1430
1430
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1431
|
-
accessReferences?: import("./app-manager").
|
|
1431
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1432
1432
|
sender?: string | algosdk.Address | undefined;
|
|
1433
1433
|
} & SendParams) | undefined) => Promise<{
|
|
1434
1434
|
groupId: string;
|
|
@@ -1457,7 +1457,7 @@ export declare class AppClient {
|
|
|
1457
1457
|
appReferences?: bigint[] | undefined;
|
|
1458
1458
|
assetReferences?: bigint[] | undefined;
|
|
1459
1459
|
boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1460
|
-
accessReferences?: import("./app-manager").
|
|
1460
|
+
accessReferences?: import("./app-manager").ResourceReference[] | undefined;
|
|
1461
1461
|
sender?: string | algosdk.Address | undefined;
|
|
1462
1462
|
} & CallOnComplete & SendParams) | undefined) => Promise<{
|
|
1463
1463
|
groupId: string;
|