0.5.1-pre.003
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/perpetuals/drift_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `perpetuals_drift_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExPerpetualsDriftV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExPerpetualsDriftV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.perpetuals.drift_v2";
|
||||
return "ks-lib-executor.perpetuals.drift_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExPerpetualsDriftV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.perpetuals.drift_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.perpetuals.drift_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/perpetuals/jupiter.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `perpetuals_jupiter`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExPerpetualsJupiterExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExPerpetualsJupiterExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.perpetuals.jupiter";
|
||||
return "ks-lib-executor.perpetuals.jupiter";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExPerpetualsJupiterExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.perpetuals.jupiter".to_string(),
|
||||
executor_name: "ks-lib-executor.perpetuals.jupiter".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/perpetuals/phoenix_eternal.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Reserved executor for `perpetuals_phoenix_eternal`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExPerpetualsPhoenixEternalExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExPerpetualsPhoenixEternalExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.perpetuals.phoenix_eternal";
|
||||
return "ks-lib-executor.perpetuals.phoenix_eternal";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExPerpetualsPhoenixEternalExecut
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.perpetuals.phoenix_eternal".to_string(),
|
||||
executor_name: "ks-lib-executor.perpetuals.phoenix_eternal".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/perpetuals/zeta.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `perpetuals_zeta`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExPerpetualsZetaExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExPerpetualsZetaExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.perpetuals.zeta";
|
||||
return "ks-lib-executor.perpetuals.zeta";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExPerpetualsZetaExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.perpetuals.zeta".to_string(),
|
||||
executor_name: "ks-lib-executor.perpetuals.zeta".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user