This commit is contained in:
Hardhat Chad
2025-09-24 09:45:13 -07:00
parent 937938ab80
commit 5c15b33690
12 changed files with 510 additions and 292 deletions

View File

@@ -15,8 +15,9 @@ pub enum OreInstruction {
// Admin
Bury = 9,
SetAdmin = 10,
SetFeeCollector = 11,
Wrap = 10,
SetAdmin = 11,
SetFeeCollector = 12,
// Seeker
ClaimSeeker = 14,
@@ -106,6 +107,10 @@ pub struct SetFeeRate {
pub fee_rate: [u8; 8],
}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Wrap {}
#[repr(C)]
#[derive(Clone, Copy, Debug, Pod, Zeroable)]
pub struct Bury {
@@ -123,6 +128,7 @@ instruction!(OreInstruction, ClaimORE);
instruction!(OreInstruction, Deploy);
instruction!(OreInstruction, Initialize);
instruction!(OreInstruction, Log);
instruction!(OreInstruction, Wrap);
instruction!(OreInstruction, Bury);
instruction!(OreInstruction, Reset);
instruction!(OreInstruction, SetAdmin);