-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecations: * `createApp` -> `algorand.send.appCreate()` / `algorand.transactions.appCreate()` / `algorand.send.appCreateMethodCall()` / `algorand.transactions.appCreateMethodCall()` * `updateApp` -> `algorand.send.appUpdate()` / `algorand.transactions.appUpdate()` / `algorand.send.appUpdateMethodCall()` / `algorand.transactions.appUpdateMethodCall()` * `callApp` -> `algorand.send.appUpdate()` / `algorand.transactions.appUpdate()` / `algorand.send.appUpdateMethodCall()` / `algorand.transactions.appUpdateMethodCall()` * `deployApp` -> `algorand.appDeployer.deploy` * `getCreatorAppsByName` -> `algorand.appDeployer.getCreatorAppsByName` * `getABIReturn` -> `AppManager.getABIReturn` * `getAppGlobalState` -> `(await appManager.getById(appId)).globalState` * `getAppLocalState` -> `algorand.app.getLocalState` * `getAppBoxNames` -> `algorand.app.getBoxNames` * `getAppBoxValue` -> `algorand.app.getBoxValue` * `getAppBoxValues` -> `algorand.app.getBoxValues` * `getAppBoxValueFromABIType` -> `algorand.app.getAppBoxValueFromABIType` * `getBoxValueFromABIType` -> `algorand.app.getAppBoxValuesFromABIType` * `decodeAppState` -> `AppManager.decodeAppState` * `getBoxReference` -> `AppManager.getBoxReference` * `getAppById` -> `algorand.app.getById` * `compileTeal` -> `algorand.app.compileTeal` * `performTemplateSubstitutionAndCompile` -> `algorand.appManager.compileTealTemplate` * `replaceDeployTimeControlParams` -> `AppManager.replaceTealTemplateDeployTimeControlParams` * `performTemplateSubstitution` -> `AppManager.replaceTealTemplateParams` * `stripTealComments` -> `AppManager.stripTealComments` * `getAppOnCompleteAction` -> `algosdk.OnApplicationComplete` * `getABIMethodSignature` -> `abiMethod.getSignature()` / `new ABIMethod(abiMethodParams).getSignature()` * `getAppArgsForTransaction` * `getAppArgsForABICall` * `isSchemaIsBroken` * `getAppDeploymentTransactionNote` Updates: * Fixed numerous bugs in `AlgoKitComposer` related to handling app call transactions * `build` on `AlgoKitComposer` now returns ABI method call objects for transactions that had them so you can resolve ABI return values New functionality: * `AppManager` class and `algorand.app` * `AppDeployer` class and `algorand.appDeployer` * `AlgoKitComposer.arc2Note` to allow constructing an ARC-2 transaction note * `count` method in `AlgoKitComposer` to support retrieving current number of transactions * `buildTransactions` method in `AlgoKitComposer` to support building transactions without needing a signer present and switched to using that from `algorand.transactions` * Added support for `populateAppCallResources` to `AlgoKitComposer` * `algorand.client.indexerIfPresent` so you can optionally retrieve indexer if it's present * `algorand.send/transactions.{appMethods}` for the following methods: `appCreate`, `appCreateMethodCall`, `appUpdate`, `appUpdateMethodCall`, `appDelete`, `appDeleteMethodCall`, `appCall`, `appCallMethodCall` and corresponding `addX` methods in `AlgoKitComposer` / `algorand.newGroup()` * TEAL compilation caching (within `AppManager` instance) * AppLookup caching (within `AppDeployer` instance) BREAKING CHANGE: Renamed `clearProgram` to `clearStateProgram` and `extraPages` to `extraProgramPages` in `AlgoKitComposer` to match algod api
- Loading branch information
Showing
126 changed files
with
7,995 additions
and
2,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.