Skip to content

Commit 3259b5b

Browse files
committed
More doc updates
1 parent 7031743 commit 3259b5b

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

Diff for: docs/cad/029_fungible/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Typical use cases for fungible tokens might include:
1111
- Quantities of some resource in a game or metaverse
1212
- Reputation points
1313

14-
Note: This CAD represents the Convex replacement for ERC20 / ERC777 on Ethereum
14+
This CAD represents the Convex replacement for ERC20 / ERC777 on Ethereum
1515

1616
## Specification
1717

1818
### CAD19 Compliance
1919

20-
A fungible token MUST meet all the specifications for a compatible CAD19 asset, in addition to the requirements specified here.
20+
A fungible token MUST meet all the specifications for a compatible CAD19 asset, as well as the mandatory requirements specified in this CAD.
2121

2222
### Balances
2323

Diff for: docs/overview/use-cases.md

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ tags: [convex, ecosystem, applications]
66

77
Convex is a general purpose, programmable decentralised network with global state. As such, there is no inherent limit on the nature of applications that can be built. Here are some of the things that Convex can be used for, and are being actively developed within the Convex community:
88

9+
## Tokensiation
10+
11+
Convex offers a uniquely powerful system for the development of tokenised assets and applications. Tokens in Convex usually support the [CAD029](cad/029_fungible/README.md) token standard, which offers multiple advantages over the common ERC20 standard.
12+
13+
Tokens can be used for:
14+
- Payments in the form of stablecoins, flatcoins, nationcoins or other digital curreny types
15+
- Utility tokens for delivery of decentralised services
16+
- Reward schemes and bonus programmes
17+
- Governance of decentralised economic systems, e.g. with stake-weighted voting
18+
919
## NFTs
1020

1121
Non-fungible tokens (NFTs) are a powerful mechanism for creating unique virtual items that can be owned, collected traded and utilised in virtual environments such as games. Each NFT has a unique on-chain ID and can be individually addressed, transferred and used within smart contracts.

Diff for: docs/tutorial/convex-lisp/lisp-guide.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,39 @@ authors: [mikera, helins]
66
tags: [convex, developer, lisp]
77
---
88

9-
This guide is intended for developers interested in learning about Convex Lisp. We will take you through the basics of the language, all the way through to designing and deploying a simple smart contract!
9+
This guide is for developers interested in learning the basics of Convex Lisp. We will take you through the basics of the language, all the way through to designing and deploying a simple smart contract!
1010

11+
<!--
1112
## Setup
1213
1314
Using the [Sandbox](/sandbox) is the easiest way to experience Convex Lisp. We recommend that you try it out as you go through this guide: It's more fun to get instant feedback and try out new ideas quickly! To do this:
1415
1516
- Open the Sandbox (you can create a free, anonymous temporary account with one just one click!)
1617
- Type example code from this guide into the Sandbox input window as you progress
1718
- You will see outputs from Convex in the output window. we use `=>` to indicate expected outputs in the examples below.
19+
-->
1820

1921
## Lisp basics
2022

21-
Lisp is all about expressions. All code in Lisp is ultimately an expression that can be evaluated to get a resulting value (or maybe an error, if something went wrong...). So let's take a quick tour through the most common types of expressions, and the values that they produce.
22-
23-
### Literals
24-
25-
The simplest type of expression is a constant literal data value, which evaluates directly to itself!
23+
A Lisp code is contructed out of expressions, which can be evaluated to get a resulting value (or maybe an error, if something went wrong...). The classic Lisp expression is a list enclosed in parentheses `(...)` where the first element of the list is the function to be called and the following elemenst are the arguments. So to add two numbers with the `+` function you would do something like:
2624

2725
```clojure
28-
1
26+
(+ 2 3)
27+
=> 5
2928
```
3029

31-
If you type the number `1` in the Sandbox and execute it, the result is the number one itself:
30+
So let's take a quick tour through the most common types of expressions, and the values that they produce.
31+
32+
### Literals
33+
34+
The simplest type of expression is a constant literal data value, which evaluates directly to itself! If you type the number `1` in the REPL and execute it, the result is simply the number `1` itself:
3235

3336
```clojure
37+
1
3438
=> 1
3539
```
3640

37-
Convex can handle double precision floating point numbers as well:
41+
Convex can handle double precision floating point numbers, which work the same way:
3842

3943
```clojure
4044
1.5
@@ -83,7 +87,7 @@ nil
8387
=> nil
8488
```
8589

86-
Addresses (which refer to Accounts) can be expressed as a literal starting with `#`. Address literals need not refer to an account that actually exists.
90+
Addresses (which refer to accounts) can be expressed as a literal starting with `#`. Address literals need not refer to an account that actually exists.
8791

8892
```clojure
8993
#12345

0 commit comments

Comments
 (0)