@@ -17,8 +17,8 @@ pub enum NonceInstruction {
1717 /// 3. Writes `NonceState { nonce, authority }` into the account data.
1818 ///
1919 /// Accounts required:
20+ /// - `[signer]` Authority whose address derives the nonce account
2021 /// - `[writable]` `NonceStatePda`, pre-funded
21- /// - `[]` `SlotHashes` sysvar
2222 /// - `[]` System program
2323 Initialize ,
2424
@@ -60,23 +60,6 @@ pub enum NonceInstruction {
6060 Close ,
6161}
6262
63- /// Data for [`NonceInstruction::Initialize`].
64- #[ derive( Clone , Debug , PartialEq , Eq , SchemaRead , SchemaWrite ) ]
65- pub struct InitializeData {
66- /// Caller-chosen identifier for this nonce account. Each distinct value derives its own
67- /// [`NonceStatePda`](crate::pda::NonceStatePda).
68- pub nonce_id : [ u8 ; 32 ] ,
69- /// Authorizes `Submit` ix for this account.
70- pub authority : Address ,
71- }
72-
73- /// Data for [`NonceInstruction::SetAuthority`].
74- #[ derive( Clone , Debug , PartialEq , Eq , SchemaRead , SchemaWrite ) ]
75- pub struct SetAuthorityData {
76- /// Replacement authority address.
77- pub authority : Address ,
78- }
79-
8063/// Data for [`NonceInstruction::Close`].
8164#[ derive( Clone , Debug , PartialEq , Eq , SchemaRead , SchemaWrite ) ]
8265pub struct CloseData {
0 commit comments