Parse stake and system instructions (#13035)

* Fix token account check

* Add helper to check num accounts

* Add parse_stake

* Add parse_system

* Fix AuthorizeNonce docs

* Remove jsonParsed unstable markers

* Clippy
This commit is contained in:
Tyera Eulberg
2020-10-20 21:02:17 -06:00
committed by GitHub
parent f11c86b2c5
commit 46d0019955
7 changed files with 955 additions and 98 deletions

View File

@ -148,7 +148,8 @@ pub enum SystemInstruction {
/// Change the entity authorized to execute nonce instructions on the account
///
/// # Account references
/// 0. [WRITE, SIGNER] Nonce account
/// 0. [WRITE] Nonce account
/// 1. [SIGNER] Nonce authority
///
/// The `Pubkey` parameter identifies the entity to authorize
AuthorizeNonceAccount(Pubkey),