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

@@ -3,18 +3,10 @@ use steel::*;
#[repr(u8)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, TryFromPrimitive)]
pub enum OreInstruction {
// Mine
Open = 0,
Close = 1,
Mine = 2,
// Stake
Deposit = 3,
Withdraw = 4,
// Trade
Free = 5,
Swap = 6,
Swap = 3,
}
#[repr(C)]
@@ -33,22 +25,6 @@ pub struct Mine {
pub amount: [u8; 8],
}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Deposit {
pub amount: [u8; 8],
}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Withdraw {
pub amount: [u8; 8],
}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Free {}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Swap {
@@ -60,7 +36,4 @@ pub struct Swap {
instruction!(OreInstruction, Open);
instruction!(OreInstruction, Close);
instruction!(OreInstruction, Mine);
instruction!(OreInstruction, Deposit);
instruction!(OreInstruction, Withdraw);
instruction!(OreInstruction, Free);
instruction!(OreInstruction, Swap);