mirror of
https://github.com/d0zingcat/ore.git
synced 2026-06-03 23:26:47 +00:00
bury
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user