Skip to content

Commit 4d25460

Browse files
committed
add some eg in initial overview
1 parent a5f637d commit 4d25460

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/stellar-contracts/accounts/smart-account.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ This separation is made practical by externalizing parts of the logic and state
1818

1919
The framework separates three distinct concerns:
2020

21-
- **What** (Context Rules): Defines the scope and conditions
22-
- **Who** (Signers): Identifies the authorized entities
23-
- **How** (Policies): Enforces business logic and constraints
21+
- **What** (Context Rules): Defines the scope (e.g. call `transfer()` on some token, call any function of a specific contract, deploy contracts, or just any call to any contract)
22+
- **Who** (Signers): Identifies the authorized entities (e.g. cryptographic keys, G-accounts, or other C-accounts)
23+
- **How** (Policies): Enforces business logic and constraints (e.g. amount < 500, every month, or 2-of-3 threshold)
2424

2525
```mermaid
2626
graph LR

0 commit comments

Comments
 (0)