Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Fix typos (#5973)
Browse files Browse the repository at this point in the history
* fix typos README.md

* fix typos README.md

* fix typos usage.md

* fix typos encryption.md

* fix typos overview.md

* fix typos quickstart.md

* fix typos cli.md

* Update README.md

* Update usage.md

* Update encryption.md

* Update encryption.md

* Update overview.md

* Update quickstart.md

* Update cli.md
  • Loading branch information
nnsW3 authored Dec 11, 2023
1 parent 042829b commit 0597191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions binary-option/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ python -m client.test

`n_s` the number of long contracts owned by the seller

We know from our college combinatorics/discrete math class that there are 3! = 6 ways to order 3 items. Let's list out all configurations of how these numbers can bet ordered from largest to smallest (assuming all distinct):
We know from our college combinatorics/discrete math class that there are 3! = 6 ways to order 3 items. Let's list out all configurations of how these numbers can be ordered from largest to smallest (assuming all distinct):

```
1) n_b > n_s > n
Expand All @@ -61,7 +61,7 @@ This is a lot of cases to consider, but we can group them into combined categori
```
n_b >= n && n_s >= n
```
This clause essentially groups 1) and 2) together. In this case, both buyer and seller are simply reducing their existing inventory. Therefore, we can just remove `n` long tokens and `n` short tokens from circulation. Both parties are also entitled to the locked up funds for their positions that were closed, so the buyer receives `n * sell_price` and the seller received `n * buy_price`. This might be confusing at first, but a good way to think about this is that there are no "sellers". Everyone with inventory is a "buyer". If an event as a probability `p` of occurring, the buyer is paying `p` and the seller is paying `1-p`. When a market participant receives funds, they are "selling out" (either locking in profits or losses) of their existing position.
This clause essentially groups 1) and 2) together. In this case, both buyer and seller are simply reducing their existing inventory. Therefore, we can just remove `n` long tokens and `n` short tokens from circulation. Both parties are also entitled to the locked up funds for their positions that were closed, so the buyer receives `n * sell_price` and the seller received `n * buy_price`. This might be confusing at first, but a good way to think about this is that there are no "sellers". Everyone with inventory is a "buyer". If an event has a probability `p` of occurring, the buyer is paying `p` and the seller is paying `1-p`. When a market participant receives funds, they are "selling out" (either locking in profits or losses) of their existing position.

```
n_b < n && n_s < n
Expand Down
4 changes: 2 additions & 2 deletions docs/src/confidential-token/deep-dive/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ decrypting transaction amounts allow for a more flexible interface.
In a potential application, the decryption key for specific accounts can be
shared among multiple users (e.g. regulators) that should have access to an
account balance. Although these users can decrypt account balances, only the
owner of the account that has access to the owner signing key can sign a
owner of the account who has access to the owner signing key can sign a
transaction that initiates a transfer of tokens. The owner of an account can
update the account with a new encryption key using the `ConfigureAccount`.

Expand Down Expand Up @@ -369,7 +369,7 @@ Account {
}
```

Any outgoing funds from an account is subtracted from its available balance. Any
Any outgoing funds from an account are subtracted from its available balance. Any
incoming funds to an account is added to its pending balance.

As an example, consider a transfer instruction that moves 10 tokens from a
Expand Down

0 comments on commit 0597191

Please sign in to comment.