remove staking

This commit is contained in:
Hardhat Chad
2025-06-06 07:51:29 -07:00
parent af7c44dc21
commit 2b9c917bf4
10 changed files with 6 additions and 203 deletions

View File

@@ -21,8 +21,8 @@ pub fn process_close(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
market_hash_info.as_associated_token_account(market_info.key, mint_hash_info.key)?;
let market_ore =
market_ore_info.as_associated_token_account(market_info.key, mint_ore_info.key)?;
mint_hash_info.has_address(&market.base.mint)?.as_mint();
mint_ore_info.has_address(&market.quote.mint)?.as_mint();
mint_hash_info.has_address(&market.base.mint)?.as_mint()?;
mint_ore_info.has_address(&market.quote.mint)?.as_mint()?;
system_program.is_program(&system_program::ID)?;
token_program.is_program(&spl_token::ID)?;