Adding link to scratch reference
@@ -55,8 +55,8 @@ title: Algorand parameter tables
|Max extra app pages |3|[reference](./dapps/smart-contracts/apps/index.md#creating-the-smart-contract)|MaxExtraAppProgramPages|an application can "pay" for additional pages via minimum balance|
|Max cost of approval TEAL code|700|[reference](./dapps/avm/teal/index.md#dynamic-operational-cost-of-teal-opcodes)|MaxAppProgramCost||
|Max cost of clear TEAL code|700|[reference](./dapps/avm/teal/index.md#dynamic-operational-cost-of-teal-opcodes)|MaxAppProgramCost||
-|Max number of scratch variables|256][reference](./dapps/avm/teal/index.md#TODO)|||
-|Max depth of stack|1000][reference](./dapps/avm/teal/index.md#TODO)|MaxStackDepth||
+|Max number of scratch variables|256][reference](./dapps/avm/teal/#storing-and-loading-from-scratchspace)|||
+|Max depth of stack|1000][reference](./dapps/avm/teal/index.md)|MaxStackDepth||
|Max number of arguments|16|[reference](./dapps/smart-contracts/apps/index.md#passing-arguments-to-stateful-smart-contracts)|MaxAppArgs||
|Max combined size of arguments|2048 bytes|[reference](./dapps/smart-contracts/apps/index.md#passing-arguments-to-stateful-smart-contracts)|MaxAppTotalArgLen||
|Max number of global state keys|64|[reference](./dapps/smart-contracts/apps/index.md#creating-the-smart-contract)|MaxGlobalSchemaEntries||
@@ -72,4 +72,3 @@ title: Algorand parameter tables
|Max number of foreign accounts + ASAs + applications|8|[reference](./dapps/smart-contracts/apps/index.md#stateful-contract-arrays)|zMaxAppTotalTxnReferences||
|Max number of created applications|10|[reference](./dapps/smart-contracts/apps/index.md#opt-into-the-smart-contract)|MaxAppsCreated||
|Max number of opt-in applications|50|[reference](./dapps/smart-contracts/apps/index.md#opt-into-the-smart-contract)|MaxAppsOptedIn||
-
