With AVM 9, smart contracts can now access resources available to other transactions in their transaction group during evaluation. These include the apps array, assets array, accounts array, and boxes array. Example 1: a simple swapAlice calls an automated market maker (AMM) to swap ETH for BTC on Algorand. The Solution: Sharing References Across the Transaction GroupSimilarly to how opcode budget and fees are pooled across the transaction group, as of AVM 9 access to references is now also being shared across the transaction group. To access an app local state for an account, both the app ID and the account ID need to be available in the same top-level app call.