Skip to content

Commit

Permalink
Merge pull request AztecProtocol/docs#67 from lisaaztec/patch-1
Browse files Browse the repository at this point in the history
Update overview.mdx
  • Loading branch information
critesjosh authored Jul 7, 2023
2 parents 41518bd + 7ee87fa commit 4539d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/aztec/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4539d3d

Please sign in to comment.