You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prediction_market_contract/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,22 @@ A prediction market implementation on Aztec using a **Constant Sum Market Maker
5
5
## Overview
6
6
7
7
This contract allows users to:
8
-
-**Vote on binary outcomes** (YES/NO) **anonymously** - no one knows WHO voted
8
+
-**Bet on binary outcomes** (YES/NO) **anonymously** - no one knows WHO placed a bet
9
9
-**Hold fully private balances** - collateral and share holdings are all hidden
10
10
-**Experience dynamic pricing** that adjusts based on market sentiment
11
11
-**Get slippage protection** to prevent adverse price movements
12
-
-**Single-transaction voting** using partial notes pattern
12
+
-**Single-transaction betting** using partial notes pattern
13
13
14
14
## Privacy Model
15
15
16
16
### What's Private
17
17
18
18
| Data | Privacy | Notes |
19
19
|------|---------|-------|
20
-
|Voter identity |**PRIVATE**| Public function doesn't receive sender address |
20
+
|Bettor identity |**PRIVATE**| Public function doesn't receive sender address |
21
21
| Collateral balances |**PRIVATE**| Stored as private notes (UintNote) |
22
22
| Share balances |**PRIVATE**| Stored as private notes (UintNote) |
23
-
| Your vote (YES/NO) |**PRIVATE**| Hidden via partial notes |
23
+
| Your bet (YES/NO) |**PRIVATE**| Hidden via partial notes |
24
24
25
25
### What's Public
26
26
@@ -32,7 +32,7 @@ This contract allows users to:
32
32
33
33
### Privacy Architecture
34
34
35
-
The contract uses **partial notes** for private voting (like the [AMM contract](https://github.com/AztecProtocol/aztec-packages/tree/master/noir-projects/noir-contracts/contracts/amm_contract)):
35
+
The contract uses **partial notes** for private betting (like the [AMM contract](https://github.com/AztecProtocol/aztec-packages/tree/master/noir-projects/noir-contracts/contracts/amm_contract)):
36
36
37
37
```
38
38
1. buy_outcome() [PRIVATE]
@@ -55,7 +55,7 @@ Key privacy feature: The public `_process_buy()` function **does not receive the
0 commit comments