@algorandfoundation/algokit-utils 1.0.0-beta.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/README.md +38 -0
  2. package/account.d.ts +41 -36
  3. package/account.d.ts.map +1 -1
  4. package/account.js +59 -44
  5. package/account.js.map +1 -1
  6. package/amount.d.ts +20 -0
  7. package/amount.d.ts.map +1 -0
  8. package/amount.js +36 -0
  9. package/amount.js.map +1 -0
  10. package/app-client.d.ts +14 -0
  11. package/app-client.d.ts.map +1 -0
  12. package/app-client.js +19 -0
  13. package/app-client.js.map +1 -0
  14. package/app-deploy.d.ts +95 -0
  15. package/app-deploy.d.ts.map +1 -0
  16. package/{deploy-app.js → app-deploy.js} +129 -119
  17. package/app-deploy.js.map +1 -0
  18. package/app.d.ts +112 -148
  19. package/app.d.ts.map +1 -1
  20. package/app.js +460 -143
  21. package/app.js.map +1 -1
  22. package/index.d.ts +6 -4
  23. package/index.d.ts.map +1 -1
  24. package/index.js +7 -4
  25. package/index.js.map +1 -1
  26. package/indexer-lookup.d.ts +11 -4
  27. package/indexer-lookup.d.ts.map +1 -1
  28. package/indexer-lookup.js +19 -9
  29. package/indexer-lookup.js.map +1 -1
  30. package/localnet.d.ts +10 -10
  31. package/localnet.d.ts.map +1 -1
  32. package/localnet.js +16 -16
  33. package/localnet.js.map +1 -1
  34. package/network-client.d.ts +15 -24
  35. package/network-client.d.ts.map +1 -1
  36. package/network-client.js +16 -16
  37. package/network-client.js.map +1 -1
  38. package/package.json +2 -2
  39. package/testing/account.d.ts +14 -0
  40. package/testing/account.d.ts.map +1 -0
  41. package/testing/account.js +31 -0
  42. package/testing/account.js.map +1 -0
  43. package/testing/fixtures/algokit-log-capture-fixture.d.ts +19 -0
  44. package/testing/fixtures/algokit-log-capture-fixture.d.ts.map +1 -0
  45. package/testing/fixtures/algokit-log-capture-fixture.js +43 -0
  46. package/testing/fixtures/algokit-log-capture-fixture.js.map +1 -0
  47. package/testing/fixtures/algorand-fixture.d.ts +24 -0
  48. package/testing/fixtures/algorand-fixture.d.ts.map +1 -0
  49. package/testing/fixtures/algorand-fixture.js +60 -0
  50. package/testing/fixtures/algorand-fixture.js.map +1 -0
  51. package/testing/fixtures/index.d.ts +3 -0
  52. package/testing/fixtures/index.d.ts.map +1 -0
  53. package/testing/fixtures/index.js +19 -0
  54. package/testing/fixtures/index.js.map +1 -0
  55. package/testing/index.d.ts +6 -0
  56. package/testing/index.d.ts.map +1 -0
  57. package/testing/index.js +22 -0
  58. package/testing/index.js.map +1 -0
  59. package/testing/indexer.d.ts +12 -0
  60. package/testing/indexer.d.ts.map +1 -0
  61. package/testing/indexer.js +40 -0
  62. package/testing/indexer.js.map +1 -0
  63. package/testing/test-logger.d.ts +41 -0
  64. package/testing/test-logger.d.ts.map +1 -0
  65. package/testing/test-logger.js +71 -0
  66. package/testing/test-logger.js.map +1 -0
  67. package/testing/transaction-logger.d.ts +29 -0
  68. package/testing/transaction-logger.d.ts.map +1 -0
  69. package/testing/transaction-logger.js +71 -0
  70. package/testing/transaction-logger.js.map +1 -0
  71. package/transaction.d.ts +55 -91
  72. package/transaction.d.ts.map +1 -1
  73. package/transaction.js +213 -155
  74. package/transaction.js.map +1 -1
  75. package/transfer.d.ts +14 -16
  76. package/transfer.d.ts.map +1 -1
  77. package/transfer.js +38 -4
  78. package/transfer.js.map +1 -1
  79. package/types/account.d.ts +55 -0
  80. package/types/account.d.ts.map +1 -0
  81. package/types/account.js +91 -0
  82. package/types/account.js.map +1 -0
  83. package/types/algo-http-client-with-retry.d.ts.map +1 -0
  84. package/{algo-http-client-with-retry.js → types/algo-http-client-with-retry.js} +3 -3
  85. package/types/algo-http-client-with-retry.js.map +1 -0
  86. package/types/algod.d.ts +28 -15
  87. package/types/algod.d.ts.map +1 -1
  88. package/{algo-amount.d.ts → types/amount.d.ts} +9 -3
  89. package/types/amount.d.ts.map +1 -0
  90. package/{algo-amount.js → types/amount.js} +13 -3
  91. package/types/amount.js.map +1 -0
  92. package/types/app-client.d.ts +282 -0
  93. package/types/app-client.d.ts.map +1 -0
  94. package/types/app-client.js +529 -0
  95. package/types/app-client.js.map +1 -0
  96. package/types/app-spec.d.ts +141 -0
  97. package/types/app-spec.d.ts.map +1 -0
  98. package/types/{appspec.js → app-spec.js} +5 -7
  99. package/types/app-spec.js.map +1 -0
  100. package/types/app.d.ts +285 -0
  101. package/types/app.d.ts.map +1 -0
  102. package/types/app.js +32 -0
  103. package/types/app.js.map +1 -0
  104. package/types/config.d.ts +32 -0
  105. package/types/config.d.ts.map +1 -0
  106. package/types/config.js +53 -0
  107. package/types/config.js.map +1 -0
  108. package/types/indexer.d.ts +368 -58
  109. package/types/indexer.d.ts.map +1 -1
  110. package/types/indexer.js +9 -0
  111. package/types/indexer.js.map +1 -1
  112. package/{config.d.ts → types/logging.d.ts} +2 -16
  113. package/types/logging.d.ts.map +1 -0
  114. package/{config.js → types/logging.js} +5 -24
  115. package/types/logging.js.map +1 -0
  116. package/types/logic-error.d.ts +37 -0
  117. package/types/logic-error.d.ts.map +1 -0
  118. package/types/logic-error.js +50 -0
  119. package/types/logic-error.js.map +1 -0
  120. package/types/network-client.d.ts +11 -0
  121. package/types/network-client.d.ts.map +1 -0
  122. package/types/network-client.js +3 -0
  123. package/types/network-client.js.map +1 -0
  124. package/types/testing.d.ts +89 -0
  125. package/types/testing.d.ts.map +1 -0
  126. package/types/testing.js +3 -0
  127. package/types/testing.js.map +1 -0
  128. package/types/transaction.d.ts +112 -0
  129. package/types/transaction.d.ts.map +1 -0
  130. package/types/transaction.js +3 -0
  131. package/types/transaction.js.map +1 -0
  132. package/types/transfer.d.ts +32 -0
  133. package/types/transfer.d.ts.map +1 -0
  134. package/types/transfer.js +3 -0
  135. package/types/transfer.js.map +1 -0
  136. package/types/urlTokenBaseHTTPClient.d.ts.map +1 -0
  137. package/types/urlTokenBaseHTTPClient.js.map +1 -0
  138. package/algo-amount.d.ts.map +0 -1
  139. package/algo-amount.js.map +0 -1
  140. package/algo-http-client-with-retry.d.ts.map +0 -1
  141. package/algo-http-client-with-retry.js.map +0 -1
  142. package/application-client.d.ts +0 -113
  143. package/application-client.d.ts.map +0 -1
  144. package/application-client.js +0 -258
  145. package/application-client.js.map +0 -1
  146. package/config.d.ts.map +0 -1
  147. package/config.js.map +0 -1
  148. package/deploy-app.d.ts +0 -164
  149. package/deploy-app.d.ts.map +0 -1
  150. package/deploy-app.js.map +0 -1
  151. package/types/appspec.d.ts +0 -78
  152. package/types/appspec.d.ts.map +0 -1
  153. package/types/appspec.js.map +0 -1
  154. package/urlTokenBaseHTTPClient.d.ts.map +0 -1
  155. package/urlTokenBaseHTTPClient.js.map +0 -1
  156. /package/{algo-http-client-with-retry.d.ts → types/algo-http-client-with-retry.d.ts} +0 -0
  157. /package/{urlTokenBaseHTTPClient.d.ts → types/urlTokenBaseHTTPClient.d.ts} +0 -0
  158. /package/{urlTokenBaseHTTPClient.js → types/urlTokenBaseHTTPClient.js} +0 -0
package/app.d.ts CHANGED
@@ -1,157 +1,21 @@
1
- import algosdk, { ABIArgument, ABIMethod, ABIMethodParams, ABIValue, Address, Algodv2, SuggestedParams } from 'algosdk';
2
- import { SendTransactionFrom, SendTransactionParams, SendTransactionResult, TransactionNote } from './transaction';
3
- import { ApplicationResponse, PendingTransactionResponse } from './types/algod';
4
- /** The maximum number of bytes in an app code page */
5
- export declare const APP_PAGE_MAX_SIZE = 2048;
6
- /** First 4 bytes of SHA-512/256 hash of "return" */
7
- export declare const ABI_RETURN_PREFIX: Uint8Array;
8
- /** Information about an Algorand app */
9
- export interface AppReference {
10
- /** The index of the app */
11
- appIndex: number;
12
- /** The Algorand address of the account associated with the app */
13
- appAddress: string;
14
- }
15
- /**
16
- * A grouping of the app ID and name of the box in an Uint8Array
17
- */
18
- export interface BoxReference {
19
- /**
20
- * A unique application index
21
- */
22
- appIndex: number;
23
- /**
24
- * Name of box to reference
25
- */
26
- name: Uint8Array | string;
27
- }
28
- /**
29
- * App call args with raw values (minus some processing like encoding strings as binary)
30
- */
31
- export interface RawAppCallArgs {
32
- /** The address of any accounts to load in */
33
- accounts?: (string | Address)[];
34
- /** Any application arguments to pass through */
35
- appArgs?: (Uint8Array | string)[];
36
- /** Any box references to load */
37
- boxes?: BoxReference[];
38
- /** IDs of any apps to load into the foreignApps array */
39
- apps?: number[];
40
- /** IDs of any assets to load into the foreignAssets array */
41
- assets?: number[];
42
- /** The optional lease for the transaction */
43
- lease?: string | Uint8Array;
44
- }
45
- /**
46
- * App call args for an ABI call
47
- */
48
- export interface ABIAppCallArgs {
49
- /** The ABI method to call, either:
50
- * * {method_name e.g. `hello`}; or
51
- * * {method_signature e.g. `hello(string)string`} */
52
- method: ABIMethodParams | ABIMethod;
53
- /** The ABI args to pass in */
54
- args: ABIArgument[];
55
- /** The optional lease for the transaction */
56
- lease?: string | Uint8Array;
57
- }
58
- /** Arguments to pass to an app call either:
59
- * * The raw app call values to pass through into the transaction (after processing); or
60
- * * An ABI method definition (method and args)
61
- **/
62
- export type AppCallArgs = RawAppCallArgs | ABIAppCallArgs;
63
- /** Base interface for common data passed to an app create or update. */
64
- interface CreateOrUpdateAppParams extends SendTransactionParams {
65
- /** The account (with private key loaded) that will send the µALGOs */
66
- from: SendTransactionFrom;
67
- /** The approval program as raw teal (string) or compiled teal, base 64 encoded as a byte array (Uint8Array) */
68
- approvalProgram: Uint8Array | string;
69
- /** The clear state program as raw teal (string) or compiled teal, base 64 encoded as a byte array (Uint8Array) */
70
- clearStateProgram: Uint8Array | string;
71
- /** Optional transaction parameters */
72
- transactionParams?: SuggestedParams;
73
- /** The (optional) transaction note */
74
- note?: TransactionNote;
75
- /** The arguments passed in to the app call */
76
- args?: AppCallArgs;
77
- }
78
- /** Parameters that are passed in when creating an app. */
79
- export interface CreateAppParams extends CreateOrUpdateAppParams {
80
- /** The storage schema to request for the created app */
81
- schema: AppStorageSchema;
82
- }
83
- /** Parameters that are passed in when updating an app. */
84
- export interface UpdateAppParams extends CreateOrUpdateAppParams {
85
- /** The index of the app to update */
86
- appIndex: number;
87
- }
88
- export interface AppCallParams extends SendTransactionParams {
89
- /** The index of the app to call */
90
- appIndex: number;
91
- /** The type of call, everything except create (@see {createApp} ) and update (@see {updateApp} ) */
92
- callType: 'optin' | 'closeout' | 'clearstate' | 'delete' | 'normal';
93
- /** The account to make the call from */
94
- from: SendTransactionFrom;
95
- /** Optional transaction parameters */
96
- transactionParams?: SuggestedParams;
97
- /** The (optional) transaction note */
98
- note?: TransactionNote;
99
- /** The arguments passed in to the app call */
100
- args?: AppCallArgs;
101
- }
102
- /** Parameters representing the storage schema of an app. */
103
- export interface AppStorageSchema {
104
- /** Restricts number of ints in per-user local state */
105
- localInts: number;
106
- /** Restricts number of byte slices in per-user local state */
107
- localByteSlices: number;
108
- /** Restricts number of ints in global state */
109
- globalInts: number;
110
- /** Restricts number of byte slices in global state */
111
- globalByteSlices: number;
112
- /** Any extra pages that are needed for the smart contract; if left blank then the right number of pages will be calculated based on the teal code size */
113
- extraPages?: number;
114
- }
115
- /** Information about a compiled teal program */
116
- export interface CompiledTeal {
117
- /** Original TEAL code */
118
- teal: string;
119
- /** The compiled code */
120
- compiled: string;
121
- /** The has returned by the compiler */
122
- compiledHash: string;
123
- /** The base64 encoded code as a byte array */
124
- compiledBase64ToBytes: Uint8Array;
125
- }
126
- /** Result from calling an app */
127
- export interface AppCallTransactionResult extends SendTransactionResult {
128
- /** If an ABI method was called the processed return value */
129
- return?: ABIReturn;
130
- }
131
- /** The return value of an ABI method call */
132
- export type ABIReturn = {
133
- rawReturnValue: Uint8Array;
134
- returnValue: ABIValue;
135
- decodeError: undefined;
136
- } | {
137
- rawReturnValue: undefined;
138
- returnValue: undefined;
139
- decodeError: Error;
140
- };
1
+ import algosdk, { ABIMethod, ABIMethodParams, ABIValue, Algodv2 } from 'algosdk';
2
+ import { ApplicationResponse, EvalDelta, PendingTransactionResponse, TealValue } from './types/algod';
3
+ import { ABIAppCallArgs, ABIReturn, AppCallArgs, AppCallParams, AppCallTransactionResult, AppCompilationResult, AppReference, AppState, BoxIdentifier, BoxName, BoxReference, BoxValueRequestParams, BoxValuesRequestParams, CompiledTeal, CreateAppParams, RawAppCallArgs, UpdateAppParams } from './types/app';
4
+ import { SendTransactionFrom } from './types/transaction';
141
5
  /**
142
6
  * Creates a smart contract app, returns the details of the created app.
143
7
  * @param create The parameters to create the app with
144
8
  * @param algod An algod client
145
9
  * @returns The details of the created app, or the transaction to create it if `skipSending`
146
10
  */
147
- export declare function createApp(create: CreateAppParams, algod: Algodv2): Promise<AppCallTransactionResult & AppReference>;
11
+ export declare function createApp(create: CreateAppParams, algod: Algodv2): Promise<Partial<AppCompilationResult> & AppCallTransactionResult & AppReference>;
148
12
  /**
149
13
  * Updates a smart contract app.
150
14
  * @param update The parameters to update the app with
151
15
  * @param algod An algod client
152
16
  * @returns The transaction
153
17
  */
154
- export declare function updateApp(update: UpdateAppParams, algod: Algodv2): Promise<AppCallTransactionResult>;
18
+ export declare function updateApp(update: UpdateAppParams, algod: Algodv2): Promise<Partial<AppCompilationResult> & AppCallTransactionResult>;
155
19
  /**
156
20
  * Issues a call to a given app.
157
21
  * @param call The call details.
@@ -159,9 +23,81 @@ export declare function updateApp(update: UpdateAppParams, algod: Algodv2): Prom
159
23
  * @returns The result of the call
160
24
  */
161
25
  export declare function callApp(call: AppCallParams, algod: Algodv2): Promise<AppCallTransactionResult>;
26
+ /**
27
+ * Returns any ABI return values for the given app call arguments and transaction confirmation.
28
+ * @param args The arguments that were used for the call
29
+ * @param confirmation The transaction confirmation from algod
30
+ * @returns The return value for the method call
31
+ */
162
32
  export declare function getABIReturn(args?: AppCallArgs, confirmation?: PendingTransactionResponse): ABIReturn | undefined;
163
- /** Returns the app args ready to load onto an app @see {Transaction} object */
164
- export declare function getAppArgsForTransaction(args?: AppCallArgs): {
33
+ /**
34
+ * Returns the current global state values for the given app ID
35
+ * @param appId The ID of the app return global state for
36
+ * @param algod An algod client instance
37
+ * @returns The current global state
38
+ */
39
+ export declare function getAppGlobalState(appId: number, algod: Algodv2): Promise<AppState>;
40
+ /**
41
+ * Returns the current global state values for the given app ID and account
42
+ * @param appId The ID of the app return global state for
43
+ * @param account Either the string address of an account or an account object for the account to get local state for the given app
44
+ * @param algod An algod client instance
45
+ * @returns The current local state for the given (app, account) combination
46
+ */
47
+ export declare function getAppLocalState(appId: number, account: string | SendTransactionFrom, algod: Algodv2): Promise<AppState>;
48
+ /**
49
+ * Returns the names of the boxes for the given app.
50
+ * @param appId The ID of the app return box names for
51
+ * @param algod An algod client instance
52
+ * @returns The current box names
53
+ */
54
+ export declare function getAppBoxNames(appId: number, algod: Algodv2): Promise<BoxName[]>;
55
+ /**
56
+ * Returns the value of the given box name for the given app.
57
+ * @param appId The ID of the app return box names for
58
+ * @param boxName The name of the box to return either as a string, binary array or `BoxName`
59
+ * @param algod An algod client instance
60
+ * @returns The current box value as a byte array
61
+ */
62
+ export declare function getAppBoxValue(appId: number, boxName: string | Uint8Array | BoxName, algod: Algodv2): Promise<Uint8Array>;
63
+ /**
64
+ * Returns the value of the given box names for the given app.
65
+ * @param appId The ID of the app return box names for
66
+ * @param boxNames The names of the boxes to return either as a string, binary array or `BoxName`
67
+ * @param algod An algod client instance
68
+ * @returns The current box values as a byte array in the same order as the passed in box names
69
+ */
70
+ export declare function getAppBoxValues(appId: number, boxNames: (string | Uint8Array | BoxName)[], algod: Algodv2): Promise<Uint8Array[]>;
71
+ /**
72
+ * Returns the value of the given box name for the given app decoded based on the given ABI type.
73
+ * @param request The parameters for the box value request
74
+ * @param algod An algod client instance
75
+ * @returns The current box value as an ABI value
76
+ */
77
+ export declare function getAppBoxValueFromABIType(request: BoxValueRequestParams, algod: Algodv2): Promise<ABIValue>;
78
+ /**
79
+ * Returns the value of the given box names for the given app decoded based on the given ABI type.
80
+ * @param request The parameters for the box value request
81
+ * @param algod An algod client instance
82
+ * @returns The current box values as an ABI value in the same order as the passed in box names
83
+ */
84
+ export declare function getAppBoxValuesFromABIType(request: BoxValuesRequestParams, algod: Algodv2): Promise<ABIValue[]>;
85
+ /**
86
+ * Converts an array of global/local state values from the algod api to a more friendly
87
+ * generic object keyed by the UTF-8 value of the key.
88
+ * @param state A `global-state`, `local-state`, `global-state-deltas` or `local-state-deltas`
89
+ * @returns An object keyeed by the UTF-8 representation of the key with various parsings of the values
90
+ */
91
+ export declare function decodeAppState(state: {
92
+ key: string;
93
+ value: TealValue | EvalDelta;
94
+ }[]): AppState;
95
+ /**
96
+ * Returns the app args ready to load onto an app `Transaction` object
97
+ * @param args The app call args
98
+ * @returns The args ready to load into a `Transaction`
99
+ */
100
+ export declare function getAppArgsForTransaction(args?: RawAppCallArgs): {
165
101
  accounts: string[] | undefined;
166
102
  appArgs: Uint8Array[] | undefined;
167
103
  boxes: algosdk.BoxReference[] | undefined;
@@ -169,21 +105,49 @@ export declare function getAppArgsForTransaction(args?: AppCallArgs): {
169
105
  foreignAssets: number[] | undefined;
170
106
  lease: Uint8Array | undefined;
171
107
  } | undefined;
108
+ /**
109
+ * Returns the app args ready to load onto an ABI method call in `AtomicTransactionComposer`
110
+ * @param args The ABI app call args
111
+ * @param from The transaction signer
112
+ * @returns The parameters ready to pass into `addMethodCall` within AtomicTransactionComposer
113
+ */
114
+ export declare function getAppArgsForABICall(args: ABIAppCallArgs, from: SendTransactionFrom): Promise<{
115
+ method: algosdk.ABIMethod;
116
+ sender: string;
117
+ signer: algosdk.TransactionSigner;
118
+ boxes: algosdk.BoxReference[] | undefined;
119
+ lease: Uint8Array | undefined;
120
+ methodArgs: (string | number | bigint | boolean | Uint8Array | algosdk.ABIValue[] | algosdk.TransactionWithSigner)[];
121
+ rekeyTo: undefined;
122
+ }>;
123
+ /**
124
+ * Returns a `algosdk.BoxReference` given a `BoxIdentifier` or `BoxReference`.
125
+ * @param box The box to return a reference for
126
+ * @returns The box reference ready to pass into a `Transaction`
127
+ */
128
+ export declare function getBoxReference(box: BoxIdentifier | BoxReference | algosdk.BoxReference): algosdk.BoxReference;
172
129
  /**
173
130
  * Gets the current data for the given app from algod.
174
131
  *
175
- * @param appIndex The index of the app
132
+ * @param appId The id of the app
176
133
  * @param algod An algod client
177
134
  * @returns The data about the app
178
135
  */
179
- export declare function getAppByIndex(appIndex: number, algod: Algodv2): Promise<ApplicationResponse>;
136
+ export declare function getAppById(appId: number, algod: Algodv2): Promise<ApplicationResponse>;
137
+ /** @deprecated Use `algokit.getAppById` instead. */
138
+ export declare const getAppByIndex: typeof getAppById;
180
139
  /**
181
- * Compiles the given TEAL using algod and returns the result.
140
+ * Compiles the given TEAL using algod and returns the result, including source map.
182
141
  *
183
142
  * @param algod An algod client
184
143
  * @param tealCode The TEAL code
185
144
  * @returns The information about the compiled file
186
145
  */
187
146
  export declare function compileTeal(tealCode: string, algod: Algodv2): Promise<CompiledTeal>;
188
- export {};
147
+ /**
148
+ * Returns the encoded ABI spec for a given ABI Method
149
+ * @param method The method to return a signature for
150
+ * @returns The encoded ABI method spec e.g. `method_name(uint64,string)string`
151
+ */
152
+ export declare const getABIMethodSignature: (method: ABIMethodParams | ABIMethod) => string;
189
153
  //# sourceMappingURL=app.d.ts.map
package/app.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,QAAQ,EACR,OAAO,EACP,OAAO,EAIP,eAAe,EAEhB,MAAM,SAAS,CAAA;AAGhB,OAAO,EAKL,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAE/E,sDAAsD;AACtD,eAAO,MAAM,iBAAiB,OAAO,CAAA;AACrC,oDAAoD;AACpD,eAAO,MAAM,iBAAiB,YAAqC,CAAA;AAEnE,wCAAwC;AACxC,MAAM,WAAW,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