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

@@ -1,18 +1,12 @@
mod close;
mod deposit;
mod free;
mod mine;
mod open;
mod swap;
mod withdraw;
use close::*;
use deposit::*;
use free::*;
use mine::*;
use open::*;
use swap::*;
use withdraw::*;
use ore_api::instruction::*;
use steel::*;
@@ -25,17 +19,9 @@ pub fn process_instruction(
let (ix, data) = parse_instruction(&ore_api::ID, program_id, data)?;
match ix {
// Mine
OreInstruction::Open => process_open(accounts, data)?,
OreInstruction::Close => process_close(accounts, data)?,
OreInstruction::Mine => process_mine(accounts, data)?,
// Stake
OreInstruction::Deposit => process_deposit(accounts, data)?,
OreInstruction::Withdraw => process_withdraw(accounts, data)?,
// Trade
OreInstruction::Free => process_free(accounts, data)?,
OreInstruction::Swap => process_swap(accounts, data)?,
}