Skip to content

Commit 1e20a4c

Browse files
committed
chore: correct typos
1 parent d90bd2b commit 1e20a4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lockup/docs/staking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ to understand, contribute to, or modify the code.
3131
Accounts are the pieces of state owned by a Solana program. For reference while reading, here are all
3232
accounts used by the **Registry** program.
3333

34-
* `Registrar` - Analogous to an SPL token `Mint`, the `Registrar` defines a staking instance. It has its own pool, and it's own set of rewards distributed amongst its own set of stakers.
34+
* `Registrar` - Analogous to an SPL token `Mint`, the `Registrar` defines a staking instance. It has its own pool, and its own set of rewards distributed amongst its own set of stakers.
3535
* `Member` - Analogous to an SPL token `Account`, `Member` accounts represent a **beneficiary**'s (i.e. a wallet's) stake state. This account has several vaults, all of which represent the funds belonging to an individual user.
3636
* `PendingWithdrawal` - A transfer out of the staking pool (poorly named since it's not a withdrawal out of the program. But a withdrawal out of the staking pool and into a `Member`'s freely available balances).
3737
* `RewardVendor` - A reward that has been dropped onto stakers and is distributed pro rata to staked `Member` beneficiaries.
@@ -89,7 +89,7 @@ from the stake pool is complete, and the funds are ready to be used again.
8989
Feel free to skip this section and jump to the **Reward Vendors** section if you want to
9090
just see how rewards work.
9191

92-
One could imagine several ways to drop rewards onto a staking pool, each with there own downsides.
92+
One could imagine several ways to drop rewards onto a staking pool, each with their own downsides.
9393
Of course what you want is, for a given reward amount, to atomically snapshot the state
9494
of the staking pool and to distribute it proportionally to all stake holders. Effectively,
9595
an on chain program such as
@@ -116,7 +116,7 @@ This is not auditable or verifiable. And if you want to answer these questions,
116116
complex off-chain protocols that require either fancy cryptography or effectively
117117
recreating a BFT system off chain.
118118

119-
Another solution considerered was to use a uniswap-style AMM pool (without the swapping).
119+
Another solution considered was to use a uniswap-style AMM pool (without the swapping).
120120
This has a lot of advantages. First it's easy to reason about and implement in a single transaction.
121121
To drop rewards globally onto the pool, one can deposit funds directly into the pool, in which case
122122
the reward is automatically received by owners of the staking pool token upon redemption, a process

0 commit comments

Comments
 (0)