Commit Graph

101 Commits

Author SHA1 Message Date
Jon Cinque 8c9f8a0088
stake-pool: Reduce maximum pool size (#2654)
* stake-pool: Reduce huge pool size in tests

* stake-pool: Reduce supported maximum size
2021-12-21 13:10:12 +01:00
Jon Cinque 1851068e8c
stake-pool-docs: Clarify that epoch fee is on top of commissions (#2652) 2021-12-20 22:15:37 +01:00
imprfekt eaca634995
docs: token: Added timelock program (#2616)
* docs: token: Added timelock program

Added another solution for SPL token vesting, with additional customizations.

* Docs: token: Token Vesting — solution names and orders

* docs: token: Added "coming soon" features for StreamFlow's token vesting.

...and further explained default options.
2021-12-04 01:09:14 +01:00
Brooks Prumo 1de578d36e
docs: Prefer non gendered pronouns (#2610) 2021-12-02 17:28:45 -06:00
Jon Cinque 75ddd9bb22
stake-pool-docs: Rearrange docs, add quickstart guide (#2561)
* stake-pool-docs: Rearrange docs, add quickstart guide

* Rearrange doc sidebar
2021-11-06 12:48:11 +00:00
Jon Cinque 01765b9953
stake-pool: Reduce wait for active stake merges (#2553)
* stake-pool: Reduce wait to one epoch for active merges

* Remove stake_program references

* Remove credits observed point from docs
2021-11-01 15:14:49 +01:00
Jon Cinque 8be3ba819c
stake-pool-docs: Add the published audits (#2546) 2021-10-26 22:30:16 +02:00
Jon Cinque 756696ee8e
stake-pool-cli: Add validator list argument to create (#2545)
People want to know more about the validator list, but there isn't too
much info provided.

* Include the validator list as an optional parameter to pool creation
* Print out the address during creation
* Always print out the address during `list`
* Add docs about it
2021-10-25 23:13:58 +02:00
Jon Cinque 675d65b965
stake-pool-cli: Add more docs around scripts (#2531) 2021-10-20 01:29:00 +02:00
Jon Cinque 203db7bc3f
stake-pool-cli: Improve deposit and withdraw UX (#2530) 2021-10-19 23:30:41 +02:00
Jon Cinque f95e390dd4
stake-pool: Clarify stake deposit fee (#2520) 2021-10-19 12:26:50 +02:00
Jon Cinque b80c10f406
stake-pool: Add withdraw-sol command + CLI + docs (#2475)
* stake-pool: plumb sol withdraw fee and authority

* Add sol withdraw instruction and processor

* Cleanup sysvar usage

* Fix stack size violation

* Add tests

* Add CLI support

* Add docs for new command

* Integrate review feedback
2021-10-05 22:44:03 -04:00
Jon Cinque d8b8aae4f5
stake-pool: Update docs and help messages (#2435)
* stake-pool: Update docs and help messages

* Integrate review feedback
2021-09-23 23:42:25 +02:00
Ryan M. Shea 9672ac8cd5
Update SPL logo (#2436) 2021-09-21 13:35:44 -06:00
Konosh93 b5d75510f6
(docs) Fix broken links (#2424)
* Fix docs file link

* Fix file
2021-09-17 00:58:54 +02:00
Jon Cinque f98840c4ca
stake-pool docs: Clarify withdrawal (#2146) 2021-07-29 14:27:31 -04:00
Jon Cinque b52d41ea58
stake-pool: Update docs with new instructions and output (#2125) 2021-07-25 19:53:12 -04:00
chaseeb d12926330f
update token.md (#2075)
fix NFT spelling error
2021-07-13 12:08:52 -06:00
Hao-Cher Hong 8734338d57 spl-token docs: Create NFT token with 0 decimal place
Close #2040
2021-07-08 12:56:02 -07:00
Haik Dulgarian 5022f8bc54
Fix a variety of token.md doc inconsistencies; improve multi-sign nonce example (#1993)
* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* test improved markdown for spl-token

* finalize formatting of console commands and improve nonce account example

* finalize formatting of console commands and improve nonce account example

Co-authored-by: Haskell FTW <HaskellFTW@protonmail.com>
2021-07-01 18:57:33 +02:00
Jon Cinque a081c2859b
stake-pool: Wait to apply new fee (#1922)
* Add `next_epoch_fee` field and fix serde

* Only update fee after the epoch is passed

* Update docs
2021-06-15 23:40:14 +00:00
jon-chuang 55edf0e9cc
Also clone program data (#1904) 2021-06-15 23:42:43 +02:00
Tyera Eulberg f519dc7549
Fixup spl-token create-account example (#1897) 2021-06-10 19:13:07 +00:00
Tyera Eulberg e20cfbee44
Update api urls in docs (#1887) 2021-06-08 12:24:49 -06:00
Jon Cinque 9d7dae8bb4
token-docs: add token registry (#1855)
* token-docs: add token registry

* Update docs/src/token.md

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-06-03 22:55:09 +02:00
Henry-E ef9684db04
Comment says javascript but code is typescript (#1744)
* Comment says javascript but code is typescript

* Update docs/src/associated-token-account.md

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-06-03 13:13:55 +02:00
Max Block b8c2968cd1 fix a 404 link 2021-05-28 23:42:25 -07:00
drbh f3a8fae2f5
swap associated token account addr for token addr (#1705)
the associated token account address is derived from token address. The token address is the correct argument.
2021-05-11 13:45:15 -06:00
dr497 1f48b5bc5e docs: add token vesting section 2021-05-10 20:11:23 -07:00
drbh 0ac20fcddf incorrect capitalization 2021-05-08 18:50:24 -07:00
drbh 9ca1c6e8f2 adjust typos and proper nouns on naming service page 2021-05-08 18:50:24 -07:00
Tyera Eulberg 13689ac2dd
Account with 2 Cs (#1680) 2021-05-08 19:18:32 +00:00
Michael Vines 00eb817073
Update token.md 2021-05-05 21:06:48 -07:00
Michael Vines a539ef021f Explicitly call out the --decimals argument to `spl-token create-token` 2021-05-05 08:47:55 -07:00
Jon Cinque 1efc90c5c9
stake-pool: Update docs for all new features (#1651)
The stake pool program changed a lot, but the docs did not.  Bring them
up to speed!
2021-05-05 16:14:24 +02:00
Michael Vines 4068b77f53 Add name service to sidebar 2021-05-04 10:20:01 -07:00
Lcchy 0ed080a50f
Add name-service program and js bindings (#1600) 2021-05-04 00:07:11 +00:00
Tyera Eulberg c9a5289aa0
Add airdrop help to token docs (#1636) 2021-04-26 20:51:43 +00:00
Tyera Eulberg 99aaab0993
docs: specify mint in spl-token balance examples (#1634) 2021-04-26 20:20:16 +00:00
Jon Cinque 40ebfc6917
stake-pool: Set fee (#1604)
* stake-pool: Add set_fee instruction

* Add more tests

* Add set-fee CLI instruction

* Update documentation

* Cargo fmt

* Re-format

* Fix clippy
2021-04-21 14:20:55 +02:00
Trent Nelson 9dd807c893 docs: specify mint in `spl-token transfer` examples 2021-04-16 05:42:17 +00:00
Jon Cinque 71e5e556c4
stake-pool: Assess fee as a percentage of rewards (#1597)
* stake-pool: Collect fee every epoch as proportion of rewards

* Add more complete tests

* Update docs
2021-04-15 12:10:17 +02:00
Jon Cinque 9e4f190633
stake-pool: Rename instructions / structs (#1536)
* stake-pool: Rename instructions / structs

* Cargo fmt

* Fix proptest
2021-03-30 23:54:06 +02:00
Michael Vines a029447484 Move to positional parameters 2021-03-30 09:40:23 -07:00
Tyera Eulberg 0ab541bc40
Update accounts examples (#1478) 2021-03-22 18:37:10 +00:00
Jon Cinque 6db3b29066
stake-pool: Add usage docs (#1277)
* stake-pool: Add usage docs

* More instructions

* Update for adding validator stake accounts

* Review feedback

* Update command output

* Add note about credits observed

* Finish stake pool docs

* Integrate review feedback

* Add motivation and design sections

* Add rebalancing example
2021-03-15 19:05:33 +01:00
Justin Starry 57d5b56208
lending: Add program addresses to docs (#1442) 2021-03-12 22:16:30 +08:00
Jon Cinque 125593defc
token-swap: Document owner address in README (#1368)
* token-swap: Document owner address in README

* Update docs for clarity, "token swap" -> "pool"

* Cleanup some language

* Add more info to docs too
2021-03-04 20:24:43 +01:00
Ryo Onodera b82de608de
Remove outdated comment (#1373) 2021-03-04 14:51:39 +09:00
WhoSoup f4216941a0 fix typos 2021-02-17 11:36:19 -07:00