Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanRfox authored Oct 30, 2023
2 parents aaf2e50 + 77a5c33 commit 46e1f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/get-details/dapps/smart-contracts/apps/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ For example, say you have two smart contract call transactions grouped together,

<center>![Smart Contract](/docs/imgs/refarray_6.png)</center>

Note that when accessing a sublist item (account+asa, account+application ocal state, application+box), both items need to be in the same transaction’s set of arrays. For example, you cannot have account A in transaction #1 and asset Z in transaction #2 and then try to get the balance of asset Z for account A. Asset Z and account A must be in the same application transaction. If both asset Z and account A are in transaction #1’s arrays, then A’s balance for Z is **available** to both transactions during evaluation.
Note that when accessing a sublist item (account+asa, account+application local state, application+box), both items need to be in the same transaction’s set of arrays. For example, you cannot have account A in transaction #1 and asset Z in transaction #2 and then try to get the balance of asset Z for account A. Asset Z and account A must be in the same application transaction. If both asset Z and account A are in transaction #1’s arrays, then A’s balance for Z is **available** to both transactions during evaluation.

Because Algorand supports grouping up to 16 transactions simultaneously, this pushes the **available** resources up to 8x16 or 128 items, if all 16 transactions are application transactions.

Expand Down Expand Up @@ -243,4 +243,4 @@ Notice that the key (name) is included as part of the MBR calculation.
For example, if a box is created with the name “BoxA” (a 4 byte long key) and with a size of 1024 bytes, the MBR for the app account increases by 413,700 microAlgos:

(2500 per box) + (400 * (box size + key size))
(2500) + (400 * (1024+4)) = 413,700 microAlgos
(2500) + (400 * (1024+4)) = 413,700 microAlgos

0 comments on commit 46e1f58

Please sign in to comment.