File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ solana_pubkey::declare_id!("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
1919 close_authority: COption<Pubkey>,
2020 }
2121*/
22- const SPL_TOKEN_ACCOUNT_MINT_OFFSET : usize = 0 ;
23- const SPL_TOKEN_ACCOUNT_OWNER_OFFSET : usize = 32 ;
22+ pub const SPL_TOKEN_ACCOUNT_MINT_OFFSET : usize = 0 ;
23+ pub const SPL_TOKEN_ACCOUNT_OWNER_OFFSET : usize = 32 ;
2424const SPL_TOKEN_ACCOUNT_AMOUNT_OFFSET : usize = 64 ;
2525const SPL_TOKEN_ACCOUNT_STATE_OFFSET : usize = 108 ;
2626pub ( crate ) const SPL_TOKEN_ACCOUNT_LENGTH : usize = 165 ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::token::{
88solana_pubkey:: declare_id!( "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" ) ;
99
1010// `spl_token_program_2022::extension::AccountType::Account` ordinal value
11- const ACCOUNTTYPE_ACCOUNT : u8 = 2 ;
11+ pub const ACCOUNTTYPE_ACCOUNT : u8 = 2 ;
1212
1313// Token2022 enforces that TLV data cannot make a Mint or Account that is precisely
1414// the length of a Multisig, to allow them to be distinguished.
You can’t perform that action at this time.
0 commit comments