Commit Graph

81 Commits

Author SHA1 Message Date
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
Jon Cinque 6c0999287a
docs: Flesh out token swap README (#1133)
* Flesh out token swap README

* Add testing info

* Update opening paragraphs and add link to dapp

* Wrap

* Update title

* Update docs/src/token-swap.md

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

Co-authored-by: B <264380+bartosz-lipinski@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-02-05 21:35:33 +01:00
Tyera Eulberg 190e664dd1
Add initial signed-memo program (#1135)
* Initial s-memo

* Populate readme

* Add signed-memo to spl docs

* Log less, fail faster

* Replace and bump memo

* Update memo id

* Add memo prefix and len

* Add test that demonstrates compute bounds

* Add logging and compute to memo docs
2021-01-28 12:21:21 -07:00
Tyera Eulberg 682e914c90
Fix doc typos (#1137)
* Fix typos

* Wrap lines
2021-01-27 00:36:09 -07:00
Michael Vines 76fcea0dbb Refine SPL Token wallet integration guide 2021-01-15 11:32:25 -08:00
Justin Starry 891b6794f3
Introduce SPL Token Lending (#696)
* Add spl-token-lending

* lending-client

* cargo clippy

* Limit bpf tests

* Enable lending bpf tests

* Remove obligation signer requirement

* Fix token lending js cli test

* Fix
2020-12-19 08:17:07 +08:00
Paul 7abf8bd9cf
[AToken] add motivation section to docs (#870) 2020-11-18 20:17:15 -08:00
Michael Vines acf7ed45b5
t 2020-11-18 13:07:35 -08:00
Michael Vines 6f884de25f Rename 'delivery' to 'distributor' 2020-11-18 19:59:23 +00:00
Michael Vines 393021948a Update docs/src/feature-proposal.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-18 19:59:23 +00:00
Michael Vines 0fa9a9428a Initial feature proposal documentation 2020-11-18 19:59:23 +00:00
Michael Vines 71ab7ea1ba
K 2020-11-18 10:27:23 -08:00
Michael Vines 1fe820c16d
Fix findAssociatedTokenAddress more 2020-11-18 10:18:58 -08:00
Michael Vines eff3677b46
Correct `findAssociatedTokenAddress` JS sample
Fixes #869
2020-11-18 10:13:16 -08:00
Trent Nelson d7eba3b877 Apply suggestions from code review 2020-11-09 22:33:07 -07:00
Trent Nelson 732975c9bc Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-09 22:33:07 -07:00
Trent Nelson 9c136855a2 Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-11-09 22:33:07 -07:00
Trent Nelson 6de7f050a5 Docs: Add Token multisig examples 2020-11-09 22:33:07 -07:00
Michael Vines 0b1da24f61 ed 2020-11-05 17:27:59 -08:00
Justin Starry 1f810787d0
Fix broken stake-pool docs link and make readme's consistent (#805) 2020-11-06 09:15:27 +08:00
Michael Vines edc67a2b72 Update doc links 2020-11-05 13:53:39 -08:00