From 5496b62172344d381072d03b13c8fe3056eaa0c3 Mon Sep 17 00:00:00 2001 From: lisaaztec <87984755+lisaaztec@users.noreply.github.com> Date: Fri, 7 Jul 2023 15:08:42 -0400 Subject: [PATCH] Update overview.mdx --- docs/aztec/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/aztec/overview.mdx b/docs/aztec/overview.mdx index 87023f1..4481077 100644 --- a/docs/aztec/overview.mdx +++ b/docs/aztec/overview.mdx @@ -14,7 +14,7 @@ The next version of our rollup, Aztec, is a privacy-preserving, programmable ext A smart contract on Aztec is a collection of functions, written as ZK-SNARK circuits. These circuits can have different modes of execution: 1. Secret Functions -- can read and write private state, read historic public state, consume or send messages to / from L1, and read Ethereum state. Can call other secret functions in the same contract, or other contracts. They can call public functions. -2. Public Functions -- can read and write public state, write public state, consume or send messages to / from L1 and read Ethereum state. Can call other public functions on the same or other contracts. +2. Public Functions -- can read and write public state, write private state, consume or send messages to / from L1 and read Ethereum state. Can call other public functions on the same or other contracts. 3. Portal Contracts -- these are contracts on L1 that can receive messages from L2 or send allow messages to be sent to L2 from L1 contracts. Using these different modes of execution, developers can build applications with user privacy, data privacy and code privacy.