0.5.1-pre.003
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/adapter/saber_decimal_wrapper.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `adapter_saber_decimal_wrapper`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAdapterSaberDecimalWrapperExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAdapterSaberDecimalWrapperExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.adapter.saber_decimal_wrapper";
|
||||
return "ks-lib-executor.adapter.saber_decimal_wrapper";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAdapterSaberDecimalWrapperExec
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.adapter.saber_decimal_wrapper".to_string(),
|
||||
executor_name: "ks-lib-executor.adapter.saber_decimal_wrapper".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/adapter/spl_token_wrap.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Reserved executor for `adapter_spl_token_wrap`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAdapterSplTokenWrapExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAdapterSplTokenWrapExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.adapter.spl_token_wrap";
|
||||
return "ks-lib-executor.adapter.spl_token_wrap";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAdapterSplTokenWrapExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.adapter.spl_token_wrap".to_string(),
|
||||
executor_name: "ks-lib-executor.adapter.spl_token_wrap".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/aldrin_v1.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_aldrin_v1`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmAldrinV1Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmAldrinV1Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.aldrin_v1";
|
||||
return "ks-lib-executor.amm.aldrin_v1";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmAldrinV1Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.aldrin_v1".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.aldrin_v1".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/aldrin_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_aldrin_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmAldrinV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmAldrinV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.aldrin_v2";
|
||||
return "ks-lib-executor.amm.aldrin_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmAldrinV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.aldrin_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.aldrin_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/alphaq.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_alphaq`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmAlphaqExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmAlphaqExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.alphaq";
|
||||
return "ks-lib-executor.amm.alphaq";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmAlphaqExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.alphaq".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.alphaq".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/believe.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_believe`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmBelieveExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmBelieveExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.believe";
|
||||
return "ks-lib-executor.amm.believe";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmBelieveExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.believe".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.believe".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/bonk_swap.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_bonk_swap`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmBonkSwapExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmBonkSwapExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.bonk_swap";
|
||||
return "ks-lib-executor.amm.bonk_swap";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmBonkSwapExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.bonk_swap".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.bonk_swap".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/fluxbeam.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_fluxbeam`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmFluxbeamExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmFluxbeamExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.fluxbeam";
|
||||
return "ks-lib-executor.amm.fluxbeam";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmFluxbeamExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.fluxbeam".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.fluxbeam".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/goon_fi.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_goon_fi`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmGoonFiExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmGoonFiExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.goon_fi";
|
||||
return "ks-lib-executor.amm.goon_fi";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmGoonFiExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.goon_fi".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.goon_fi".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/goosefx_gamma.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_goosefx_gamma`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmGoosefxGammaExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmGoosefxGammaExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.goosefx_gamma";
|
||||
return "ks-lib-executor.amm.goosefx_gamma";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmGoosefxGammaExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.goosefx_gamma".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.goosefx_gamma".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/goosefx_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_goosefx_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmGoosefxV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmGoosefxV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.goosefx_v2";
|
||||
return "ks-lib-executor.amm.goosefx_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmGoosefxV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.goosefx_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.goosefx_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/guac_swap.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_guac_swap`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmGuacSwapExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmGuacSwapExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.guac_swap";
|
||||
return "ks-lib-executor.amm.guac_swap";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmGuacSwapExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.guac_swap".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.guac_swap".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/lifinity_swap_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_lifinity_swap_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmLifinitySwapV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmLifinitySwapV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.lifinity_swap_v2";
|
||||
return "ks-lib-executor.amm.lifinity_swap_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmLifinitySwapV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.lifinity_swap_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.lifinity_swap_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/metadao_v0_5.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_metadao_v0_5`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmMetadaoV05Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmMetadaoV05Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.metadao_v0_5";
|
||||
return "ks-lib-executor.amm.metadao_v0_5";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmMetadaoV05Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.metadao_v0_5".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.metadao_v0_5".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/meteora_damm_v1.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_meteora_damm_v1`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmMeteoraDammV1Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmMeteoraDammV1Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.meteora_damm_v1";
|
||||
return "ks-lib-executor.amm.meteora_damm_v1";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmMeteoraDammV1Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.meteora_damm_v1".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.meteora_damm_v1".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/meteora_damm_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_meteora_damm_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmMeteoraDammV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmMeteoraDammV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.meteora_damm_v2";
|
||||
return "ks-lib-executor.amm.meteora_damm_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmMeteoraDammV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.meteora_damm_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.meteora_damm_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/obric_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_obric_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmObricV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmObricV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.obric_v2";
|
||||
return "ks-lib-executor.amm.obric_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmObricV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.obric_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.obric_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/one_dex.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_one_dex`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmOneDexExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmOneDexExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.one_dex";
|
||||
return "ks-lib-executor.amm.one_dex";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmOneDexExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.one_dex".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.one_dex".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/pump_swap.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_pump_swap`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmPumpSwapExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmPumpSwapExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.pump_swap";
|
||||
return "ks-lib-executor.amm.pump_swap";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmPumpSwapExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.pump_swap".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.pump_swap".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/raydium_lp_v4.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_raydium_lp_v4`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmRaydiumLpV4Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmRaydiumLpV4Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.raydium_lp_v4";
|
||||
return "ks-lib-executor.amm.raydium_lp_v4";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmRaydiumLpV4Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.raydium_lp_v4".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.raydium_lp_v4".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/solfi.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_solfi`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmSolfiExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmSolfiExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.solfi";
|
||||
return "ks-lib-executor.amm.solfi";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmSolfiExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.solfi".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.solfi".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/solfi_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_solfi_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmSolfiV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmSolfiV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.solfi_v2";
|
||||
return "ks-lib-executor.amm.solfi_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmSolfiV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.solfi_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.solfi_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/vertigo.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_vertigo`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmVertigoExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmVertigoExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.vertigo";
|
||||
return "ks-lib-executor.amm.vertigo";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmVertigoExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.vertigo".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.vertigo".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/woofi.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_woofi`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmWoofiExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmWoofiExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.woofi";
|
||||
return "ks-lib-executor.amm.woofi";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmWoofiExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.woofi".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.woofi".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/zero_fi.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_zero_fi`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmZeroFiExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmZeroFiExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.zero_fi";
|
||||
return "ks-lib-executor.amm.zero_fi";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmZeroFiExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.zero_fi".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.zero_fi".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/amm/zora.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `amm_zora`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExAmmZoraExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExAmmZoraExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.amm.zora";
|
||||
return "ks-lib-executor.amm.zora";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExAmmZoraExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.amm.zora".to_string(),
|
||||
executor_name: "ks-lib-executor.amm.zora".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/bridge/circle_cctp_token_messenger_minter.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `bridge_circle_cctp_token_messenger_minter`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExBridgeCircleCctpTokenMessengerMinterExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExBridgeCircleCctpTokenMessengerMinterExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.bridge.circle_cctp_token_messenger_minter";
|
||||
return "ks-lib-executor.bridge.circle_cctp_token_messenger_minter";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExBridgeCircleCctpTokenMessenger
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.bridge.circle_cctp_token_messenger_minter".to_string(),
|
||||
executor_name: "ks-lib-executor.bridge.circle_cctp_token_messenger_minter".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/bridge/circle_cctp_token_messenger_minter_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `bridge_circle_cctp_token_messenger_minter_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExBridgeCircleCctpTokenMessengerMinterV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExBridgeCircleCctpTokenMessengerMinterV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.bridge.circle_cctp_token_messenger_minter_v2";
|
||||
return "ks-lib-executor.bridge.circle_cctp_token_messenger_minter_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExBridgeCircleCctpTokenMessenger
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.bridge.circle_cctp_token_messenger_minter_v2"
|
||||
executor_name: "ks-lib-executor.bridge.circle_cctp_token_messenger_minter_v2"
|
||||
.to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/bridge/layer_zero_endpoint.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `bridge_layer_zero_endpoint`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExBridgeLayerZeroEndpointExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExBridgeLayerZeroEndpointExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.bridge.layer_zero_endpoint";
|
||||
return "ks-lib-executor.bridge.layer_zero_endpoint";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExBridgeLayerZeroEndpointExecuto
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.bridge.layer_zero_endpoint".to_string(),
|
||||
executor_name: "ks-lib-executor.bridge.layer_zero_endpoint".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/bridge/layer_zero_executor.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `bridge_layer_zero_executor`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExBridgeLayerZeroExecutorExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExBridgeLayerZeroExecutorExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.bridge.layer_zero_executor";
|
||||
return "ks-lib-executor.bridge.layer_zero_executor";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExBridgeLayerZeroExecutorExecuto
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.bridge.layer_zero_executor".to_string(),
|
||||
executor_name: "ks-lib-executor.bridge.layer_zero_executor".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/byreal.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_byreal`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmByrealExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmByrealExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.byreal";
|
||||
return "ks-lib-executor.clmm.byreal";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmByrealExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.byreal".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.byreal".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/fusion.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_fusion`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmFusionExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmFusionExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.fusion";
|
||||
return "ks-lib-executor.clmm.fusion";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmFusionExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.fusion".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.fusion".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/orca_whirlpool.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_orca_whirlpool`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmOrcaWhirlpoolExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmOrcaWhirlpoolExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.orca_whirlpool";
|
||||
return "ks-lib-executor.clmm.orca_whirlpool";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmOrcaWhirlpoolExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.orca_whirlpool".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.orca_whirlpool".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/pancake_swap.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_pancake_swap`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmPancakeSwapExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmPancakeSwapExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.pancake_swap";
|
||||
return "ks-lib-executor.clmm.pancake_swap";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmPancakeSwapExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.pancake_swap".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.pancake_swap".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/raydium.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_raydium`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmRaydiumExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmRaydiumExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.raydium";
|
||||
return "ks-lib-executor.clmm.raydium";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmRaydiumExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.raydium".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.raydium".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/clmm/stabble.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `clmm_stabble`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExClmmStabbleExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExClmmStabbleExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.clmm.stabble";
|
||||
return "ks-lib-executor.clmm.stabble";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExClmmStabbleExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.clmm.stabble".to_string(),
|
||||
executor_name: "ks-lib-executor.clmm.stabble".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/cpmm/raydium.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `cpmm_raydium`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExCpmmRaydiumExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExCpmmRaydiumExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.cpmm.raydium";
|
||||
return "ks-lib-executor.cpmm.raydium";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExCpmmRaydiumExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.cpmm.raydium".to_string(),
|
||||
executor_name: "ks-lib-executor.cpmm.raydium".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/dlmm/meteora.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `dlmm_meteora`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExDlmmMeteoraExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExDlmmMeteoraExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.dlmm.meteora";
|
||||
return "ks-lib-executor.dlmm.meteora";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExDlmmMeteoraExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.dlmm.meteora".to_string(),
|
||||
executor_name: "ks-lib-executor.dlmm.meteora".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/fees/bags_fee_share_v1.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `fees_bags_fee_share_v1`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExFeesBagsFeeShareV1Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExFeesBagsFeeShareV1Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.fees.bags_fee_share_v1";
|
||||
return "ks-lib-executor.fees.bags_fee_share_v1";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExFeesBagsFeeShareV1Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.fees.bags_fee_share_v1".to_string(),
|
||||
executor_name: "ks-lib-executor.fees.bags_fee_share_v1".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/fees/bags_fee_share_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `fees_bags_fee_share_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExFeesBagsFeeShareV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExFeesBagsFeeShareV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.fees.bags_fee_share_v2";
|
||||
return "ks-lib-executor.fees.bags_fee_share_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExFeesBagsFeeShareV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.fees.bags_fee_share_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.fees.bags_fee_share_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/fees/pump_fees.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `fees_pump_fees`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExFeesPumpFeesExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExFeesPumpFeesExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.fees.pump_fees";
|
||||
return "ks-lib-executor.fees.pump_fees";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExFeesPumpFeesExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.fees.pump_fees".to_string(),
|
||||
executor_name: "ks-lib-executor.fees.pump_fees".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/governance/metadao_bid_wall.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `governance_metadao_bid_wall`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExGovernanceMetadaoBidWallExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExGovernanceMetadaoBidWallExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.governance.metadao_bid_wall";
|
||||
return "ks-lib-executor.governance.metadao_bid_wall";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExGovernanceMetadaoBidWallExecut
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.governance.metadao_bid_wall".to_string(),
|
||||
executor_name: "ks-lib-executor.governance.metadao_bid_wall".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/governance/metadao_futarchy.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `governance_metadao_futarchy`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExGovernanceMetadaoFutarchyExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExGovernanceMetadaoFutarchyExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.governance.metadao_futarchy";
|
||||
return "ks-lib-executor.governance.metadao_futarchy";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExGovernanceMetadaoFutarchyExecu
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.governance.metadao_futarchy".to_string(),
|
||||
executor_name: "ks-lib-executor.governance.metadao_futarchy".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/governance/squads_multisig.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Reserved executor for `governance_squads_multisig`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExGovernanceSquadsMultisigExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExGovernanceSquadsMultisigExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.governance.squads_multisig";
|
||||
return "ks-lib-executor.governance.squads_multisig";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExGovernanceSquadsMultisigExecut
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.governance.squads_multisig".to_string(),
|
||||
executor_name: "ks-lib-executor.governance.squads_multisig".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/boop_fun.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_boop_fun`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadBoopFunExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadBoopFunExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.boop_fun";
|
||||
return "ks-lib-executor.launchpad.boop_fun";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadBoopFunExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.boop_fun".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.boop_fun".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/metadao_ico.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_metadao_ico`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadMetadaoIcoExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMetadaoIcoExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.metadao_ico";
|
||||
return "ks-lib-executor.launchpad.metadao_ico";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMetadaoIcoExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.metadao_ico".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.metadao_ico".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/meteora_dbc.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_meteora_dbc`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadMeteoraDbcExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMeteoraDbcExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.meteora_dbc";
|
||||
return "ks-lib-executor.launchpad.meteora_dbc";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMeteoraDbcExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.meteora_dbc".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.meteora_dbc".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/moonit.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_moonit`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadMoonitExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMoonitExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.moonit";
|
||||
return "ks-lib-executor.launchpad.moonit";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadMoonitExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.moonit".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.moonit".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/orca_wavebreak.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_orca_wavebreak`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadOrcaWavebreakExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadOrcaWavebreakExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.orca_wavebreak";
|
||||
return "ks-lib-executor.launchpad.orca_wavebreak";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadOrcaWavebreakExecutor
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.orca_wavebreak".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.orca_wavebreak".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/printr.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_printr`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadPrintrExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPrintrExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.printr";
|
||||
return "ks-lib-executor.launchpad.printr";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPrintrExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.printr".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.printr".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/pump_fun.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_pump_fun`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadPumpFunExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPumpFunExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.pump_fun";
|
||||
return "ks-lib-executor.launchpad.pump_fun";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPumpFunExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.pump_fun".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.pump_fun".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/pump_pumpup_ai.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_pump_pumpup_ai`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadPumpPumpupAiExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPumpPumpupAiExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.pump_pumpup_ai";
|
||||
return "ks-lib-executor.launchpad.pump_pumpup_ai";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadPumpPumpupAiExecutor
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.pump_pumpup_ai".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.pump_pumpup_ai".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/raydium_launchlab.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_raydium_launchlab`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadRaydiumLaunchlabExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadRaydiumLaunchlabExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.raydium_launchlab";
|
||||
return "ks-lib-executor.launchpad.raydium_launchlab";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadRaydiumLaunchlabExecu
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.raydium_launchlab".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.raydium_launchlab".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/launchpad/virtuals.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `launchpad_virtuals`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLaunchpadVirtualsExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLaunchpadVirtualsExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.launchpad.virtuals";
|
||||
return "ks-lib-executor.launchpad.virtuals";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLaunchpadVirtualsExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.launchpad.virtuals".to_string(),
|
||||
executor_name: "ks-lib-executor.launchpad.virtuals".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/clone.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_clone`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingCloneExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingCloneExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.clone";
|
||||
return "ks-lib-executor.lending.clone";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingCloneExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.clone".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.clone".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/jupiter_lend_borrow.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_jupiter_lend_borrow`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingJupiterLendBorrowExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendBorrowExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.jupiter_lend_borrow";
|
||||
return "ks-lib-executor.lending.jupiter_lend_borrow";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendBorrowExecut
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.jupiter_lend_borrow".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.jupiter_lend_borrow".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/jupiter_lend_earn.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_jupiter_lend_earn`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingJupiterLendEarnExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendEarnExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.jupiter_lend_earn";
|
||||
return "ks-lib-executor.lending.jupiter_lend_earn";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendEarnExecutor
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.jupiter_lend_earn".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.jupiter_lend_earn".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/jupiter_lend_flash_loan.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_jupiter_lend_flash_loan`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingJupiterLendFlashLoanExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendFlashLoanExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.jupiter_lend_flash_loan";
|
||||
return "ks-lib-executor.lending.jupiter_lend_flash_loan";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendFlashLoanExe
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.jupiter_lend_flash_loan".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.jupiter_lend_flash_loan".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/jupiter_lend_liquidity.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_jupiter_lend_liquidity`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingJupiterLendLiquidityExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendLiquidityExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.jupiter_lend_liquidity";
|
||||
return "ks-lib-executor.lending.jupiter_lend_liquidity";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingJupiterLendLiquidityExe
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.jupiter_lend_liquidity".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.jupiter_lend_liquidity".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/kamino.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_kamino`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingKaminoExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingKaminoExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.kamino";
|
||||
return "ks-lib-executor.lending.kamino";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingKaminoExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.kamino".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.kamino".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lending/marginfi_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lending_marginfi_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLendingMarginfiV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLendingMarginfiV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lending.marginfi_v2";
|
||||
return "ks-lib-executor.lending.marginfi_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLendingMarginfiV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lending.marginfi_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.lending.marginfi_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/lock/raydium_lp.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `lock_raydium_lp`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExLockRaydiumLpExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExLockRaydiumLpExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.lock.raydium_lp";
|
||||
return "ks-lib-executor.lock.raydium_lp";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExLockRaydiumLpExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.lock.raydium_lp".to_string(),
|
||||
executor_name: "ks-lib-executor.lock.raydium_lp".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/metadata/metaplex_token_metadata/builder.rs
|
||||
// version: 12
|
||||
// version: 13
|
||||
|
||||
//! Official Metaplex builders and conservative plan validation.
|
||||
|
||||
@@ -201,7 +201,7 @@ pub(crate) fn executor_metaplex_token_metadata_build_prepared_plan(
|
||||
return std::result::Result::Err(error);
|
||||
}
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: "kb-lib.executor.metadata.metaplex_token_metadata".to_string(),
|
||||
executor_name: "ks-lib-executor.metadata.metaplex_token_metadata".to_string(),
|
||||
executor_version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: intent.operation.operation_code().to_string(),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/metadata/metaplex_token_metadata/executor.rs
|
||||
// version: 7
|
||||
// version: 8
|
||||
|
||||
//! Exact Metaplex Token Metadata capability dispatch.
|
||||
|
||||
@@ -50,7 +50,7 @@ impl crate::ExApiTypedInstructionExecutor for crate::ExMetadataMetaplexTokenMeta
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExMetadataMetaplexTokenMetadataExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.metadata.metaplex_token_metadata";
|
||||
return "ks-lib-executor.metadata.metaplex_token_metadata";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -254,7 +254,7 @@ mod tests {
|
||||
};
|
||||
assert_eq!(typed.instructions.len(), 1);
|
||||
assert_eq!(generic.instruction_count, typed.instructions.len());
|
||||
assert_eq!(generic.executor_name, "kb-lib.executor.metadata.metaplex_token_metadata",);
|
||||
assert_eq!(generic.executor_name, "ks-lib-executor.metadata.metaplex_token_metadata",);
|
||||
assert!(
|
||||
generic
|
||||
.payload_json
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// file: ks-lib/src/executor/metadata/solana_program_metadata/constants.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Stable Solana Program Metadata executor constants.
|
||||
|
||||
/// Stable executor name.
|
||||
pub(crate) const EX_METADATA_SPM_EXECUTOR_NAME: &str =
|
||||
"kb-lib.executor.metadata.solana_program_metadata";
|
||||
"ks-lib-executor.metadata.solana_program_metadata";
|
||||
/// Conservative maximum inline content accepted by one instruction builder.
|
||||
///
|
||||
/// Larger payloads must use a pre-funded Buffer account so the final transaction remains within
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/metadata/spl_name_service.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `metadata_spl_name_service`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExMetadataSplNameServiceExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExMetadataSplNameServiceExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.metadata.spl_name_service";
|
||||
return "ks-lib-executor.metadata.spl_name_service";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExMetadataSplNameServiceExecutor
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.metadata.spl_name_service".to_string(),
|
||||
executor_name: "ks-lib-executor.metadata.spl_name_service".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/nft/metaplex_bubblegum.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `nft_metaplex_bubblegum`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExNftMetaplexBubblegumExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExNftMetaplexBubblegumExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.nft.metaplex_bubblegum";
|
||||
return "ks-lib-executor.nft.metaplex_bubblegum";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExNftMetaplexBubblegumExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.nft.metaplex_bubblegum".to_string(),
|
||||
executor_name: "ks-lib-executor.nft.metaplex_bubblegum".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/nft/tensor_cnft.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Reserved executor for `nft_tensor_cnft`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExNftTensorCnftExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExNftTensorCnftExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.nft.tensor_cnft";
|
||||
return "ks-lib-executor.nft.tensor_cnft";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExNftTensorCnftExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.nft.tensor_cnft".to_string(),
|
||||
executor_name: "ks-lib-executor.nft.tensor_cnft".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/orderbook/jupiter_limit_order.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `orderbook_jupiter_limit_order`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExOrderbookJupiterLimitOrderExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExOrderbookJupiterLimitOrderExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.orderbook.jupiter_limit_order";
|
||||
return "ks-lib-executor.orderbook.jupiter_limit_order";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExOrderbookJupiterLimitOrderExec
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.orderbook.jupiter_limit_order".to_string(),
|
||||
executor_name: "ks-lib-executor.orderbook.jupiter_limit_order".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/orderbook/jupiter_limit_order_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `orderbook_jupiter_limit_order_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExOrderbookJupiterLimitOrderV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExOrderbookJupiterLimitOrderV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.orderbook.jupiter_limit_order_v2";
|
||||
return "ks-lib-executor.orderbook.jupiter_limit_order_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExOrderbookJupiterLimitOrderV2Ex
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.orderbook.jupiter_limit_order_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.orderbook.jupiter_limit_order_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/orderbook/openbook_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `orderbook_openbook_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExOrderbookOpenbookV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExOrderbookOpenbookV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.orderbook.openbook_v2";
|
||||
return "ks-lib-executor.orderbook.openbook_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExOrderbookOpenbookV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.orderbook.openbook_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.orderbook.openbook_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/router/dflow_aggregator_v4.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `router_dflow_aggregator_v4`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRouterDflowAggregatorV4Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRouterDflowAggregatorV4Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.router.dflow_aggregator_v4";
|
||||
return "ks-lib-executor.router.dflow_aggregator_v4";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRouterDflowAggregatorV4Executo
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.router.dflow_aggregator_v4".to_string(),
|
||||
executor_name: "ks-lib-executor.router.dflow_aggregator_v4".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/router/jupiter_aggregator_v4.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `router_jupiter_aggregator_v4`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRouterJupiterAggregatorV4Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRouterJupiterAggregatorV4Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.router.jupiter_aggregator_v4";
|
||||
return "ks-lib-executor.router.jupiter_aggregator_v4";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRouterJupiterAggregatorV4Execu
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.router.jupiter_aggregator_v4".to_string(),
|
||||
executor_name: "ks-lib-executor.router.jupiter_aggregator_v4".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/router/jupiter_aggregator_v6.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `router_jupiter_aggregator_v6`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRouterJupiterAggregatorV6Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRouterJupiterAggregatorV6Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.router.jupiter_aggregator_v6";
|
||||
return "ks-lib-executor.router.jupiter_aggregator_v6";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRouterJupiterAggregatorV6Execu
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.router.jupiter_aggregator_v6".to_string(),
|
||||
executor_name: "ks-lib-executor.router.jupiter_aggregator_v6".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/router/okx_labs_v1.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `router_okx_labs_v1`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRouterOkxLabsV1Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRouterOkxLabsV1Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.router.okx_labs_v1";
|
||||
return "ks-lib-executor.router.okx_labs_v1";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRouterOkxLabsV1Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.router.okx_labs_v1".to_string(),
|
||||
executor_name: "ks-lib-executor.router.okx_labs_v1".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/router/okx_labs_v2.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `router_okx_labs_v2`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRouterOkxLabsV2Executor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRouterOkxLabsV2Executor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.router.okx_labs_v2";
|
||||
return "ks-lib-executor.router.okx_labs_v2";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRouterOkxLabsV2Executor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.router.okx_labs_v2".to_string(),
|
||||
executor_name: "ks-lib-executor.router.okx_labs_v2".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/rwa/ondo_global_markets.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `rwa_ondo_global_markets`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExRwaOndoGlobalMarketsExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExRwaOndoGlobalMarketsExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.rwa.ondo_global_markets";
|
||||
return "ks-lib-executor.rwa.ondo_global_markets";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExRwaOndoGlobalMarketsExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.rwa.ondo_global_markets".to_string(),
|
||||
executor_name: "ks-lib-executor.rwa.ondo_global_markets".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/solana/core/builder.rs
|
||||
// version: 5
|
||||
// version: 6
|
||||
|
||||
//! Official Solana core instruction builders and shared plan finalization.
|
||||
|
||||
@@ -1248,7 +1248,7 @@ pub(crate) fn executor_solana_core_finalize_prepared_plan(
|
||||
"built Solana core execution plan"
|
||||
);
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.solana.core"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.solana.core"),
|
||||
executor_version: std::string::String::from(env!("CARGO_PKG_VERSION")),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: std::string::String::from(operation_code),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// file: ks-lib/src/executor/solana/core/constants.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Local constants for the `kb-lib.executor.solana.core` crate. Program identifiers live in `ks_program_ids`.
|
||||
//! Local constants for the `ks-lib-executor.solana.core` crate. Program identifiers live in `ks_program_ids`.
|
||||
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SOLANA_CORE: &str = "kb-lib.executor.solana.core";
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SOLANA_CORE: &str = "ks-lib-executor.solana.core";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/solana/core/executor.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Exact capability dispatch and typed plan construction for Solana core.
|
||||
|
||||
@@ -293,7 +293,7 @@ impl crate::ExSolanaCoreExecutor {
|
||||
}
|
||||
return crate::ExApiExecutionCapability::unsupported(
|
||||
"execution_program_not_owned",
|
||||
format!("program {} is not owned by kb-lib.executor.solana.core", program_id.0),
|
||||
format!("program {} is not owned by ks-lib-executor.solana.core", program_id.0),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -328,7 +328,7 @@ impl crate::ExApiTypedInstructionExecutor for crate::ExSolanaCoreExecutor {
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSolanaCoreExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.solana.core";
|
||||
return "ks-lib-executor.solana.core";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -435,7 +435,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSolanaCoreExecutor {
|
||||
},
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.solana.core"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.solana.core"),
|
||||
instruction_count: prepared.instructions.len(),
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/solana/transaction/constants.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Local constants for Solana transaction assembly.
|
||||
|
||||
@@ -10,4 +10,4 @@ pub(crate) const EX_SOLANA_TRANSACTION_DURABLE_NONCE_ADVANCE_OPERATION: &str =
|
||||
pub(crate) const EX_SOLANA_TRANSACTION_MAX_WIRE_BYTES: usize = 1_232;
|
||||
/// Canonical tracing target for Solana transaction assembly.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SOLANA_TRANSACTION: &str =
|
||||
"kb-lib.executor.solana.transaction";
|
||||
"ks-lib-executor.solana.transaction";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/account_compression.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `spl_account_compression`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExSplAccountCompressionExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplAccountCompressionExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.account_compression";
|
||||
return "ks-lib-executor.spl.account_compression";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplAccountCompressionExecutor
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.spl.account_compression".to_string(),
|
||||
executor_name: "ks-lib-executor.spl.account_compression".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/associated_token_account/builder.rs
|
||||
// version: 7
|
||||
// version: 8
|
||||
|
||||
//! Official ATA builders and conservative simulation-first plan validation.
|
||||
|
||||
@@ -120,7 +120,7 @@ pub(crate) fn executor_spl_ata_build_prepared_plan(
|
||||
"built SPL Associated Token Account execution plan"
|
||||
);
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: "kb-lib.executor.spl.associated_token_account".to_string(),
|
||||
executor_name: "ks-lib-executor.spl.associated_token_account".to_string(),
|
||||
executor_version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: intent.operation.operation_code().to_string(),
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// file: ks-lib/src/executor/spl/associated_token_account/constants.rs
|
||||
// version: 6
|
||||
// version: 7
|
||||
|
||||
//! Local constants for the `kb-lib.executor.spl.associated_token_account` crate. Program identifiers live in `ks_program_ids`.
|
||||
//! Local constants for the `ks-lib-executor.spl.associated_token_account` crate. Program identifiers live in `ks_program_ids`.
|
||||
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_ATA: &str =
|
||||
"kb-lib.executor.spl.associated_token_account";
|
||||
"ks-lib-executor.spl.associated_token_account";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/associated_token_account/executor.rs
|
||||
// version: 7
|
||||
// version: 8
|
||||
|
||||
//! Exact ATA capability dispatch and typed plan construction.
|
||||
|
||||
@@ -17,7 +17,7 @@ impl crate::ExSplAssociatedTokenAccountExecutor {
|
||||
return crate::ExApiExecutionCapability::unsupported(
|
||||
"execution_spl_ata_program_not_owned",
|
||||
format!(
|
||||
"program {} is not owned by kb-lib.executor.spl.associated_token_account",
|
||||
"program {} is not owned by ks-lib-executor.spl.associated_token_account",
|
||||
program_id.0
|
||||
),
|
||||
);
|
||||
@@ -63,7 +63,7 @@ impl crate::ExApiTypedInstructionExecutor for crate::ExSplAssociatedTokenAccount
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplAssociatedTokenAccountExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.associated_token_account";
|
||||
return "ks-lib-executor.spl.associated_token_account";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -139,7 +139,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplAssociatedTokenAccountExecu
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: std::string::String::from(
|
||||
"kb-lib.executor.spl.associated_token_account",
|
||||
"ks-lib-executor.spl.associated_token_account",
|
||||
),
|
||||
instruction_count: prepared.instructions.len(),
|
||||
payload_json,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/elgamal_registry/builder.rs
|
||||
// version: 8
|
||||
// version: 9
|
||||
|
||||
//! Official registry builders and conservative plan validation.
|
||||
|
||||
@@ -134,7 +134,7 @@ pub(crate) fn executor_spl_elgamal_registry_build_prepared_plan(
|
||||
"built SPL ElGamal registry execution plan"
|
||||
);
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.spl.elgamal_registry"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.spl.elgamal_registry"),
|
||||
executor_version: std::string::String::from(env!("CARGO_PKG_VERSION")),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: std::string::String::from(operation_code),
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// file: ks-lib/src/executor/spl/elgamal_registry/constants.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Executor-local constants.
|
||||
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_ELGAMAL_REGISTRY: &str =
|
||||
"kb-lib.executor.spl.elgamal_registry";
|
||||
"ks-lib-executor.spl.elgamal_registry";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/elgamal_registry/executor.rs
|
||||
// version: 6
|
||||
// version: 7
|
||||
|
||||
//! Exact capability dispatch for the SPL ElGamal registry.
|
||||
|
||||
@@ -63,7 +63,7 @@ impl crate::ExApiTypedInstructionExecutor for crate::ExSplElgamalRegistryExecuto
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplElgamalRegistryExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.elgamal_registry";
|
||||
return "ks-lib-executor.spl.elgamal_registry";
|
||||
}
|
||||
fn executor_version(&self) -> &'static str {
|
||||
return env!("CARGO_PKG_VERSION");
|
||||
@@ -130,7 +130,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplElgamalRegistryExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.spl.elgamal_registry"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.spl.elgamal_registry"),
|
||||
instruction_count: prepared.instructions.len(),
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/memo/builder.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Official SPL Memo instruction builder and conservative plan validation.
|
||||
|
||||
@@ -86,7 +86,7 @@ pub(crate) fn executor_spl_memo_build_prepared_plan(
|
||||
"built SPL Memo execution plan"
|
||||
);
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.spl.memo"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.spl.memo"),
|
||||
executor_version: std::string::String::from(env!("CARGO_PKG_VERSION")),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: std::string::String::from(crate::EX_SPL_MEMO_ADD_MEMO_OPERATION),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// file: ks-lib/src/executor/spl/memo/constants.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Local constants for the `kb-lib.executor.spl.memo` crate. Program identifiers live in `ks_program_ids`.
|
||||
//! Local constants for the `ks-lib-executor.spl.memo` crate. Program identifiers live in `ks_program_ids`.
|
||||
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_MEMO: &str = "kb-lib.executor.spl.memo";
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_MEMO: &str = "ks-lib-executor.spl.memo";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/memo/executor.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Exact capability dispatch and typed plan construction for SPL Memo.
|
||||
|
||||
@@ -18,7 +18,7 @@ impl crate::ExSplMemoExecutor {
|
||||
std::option::Option::None => {
|
||||
return crate::ExApiExecutionCapability::unsupported(
|
||||
"execution_spl_memo_program_not_owned",
|
||||
format!("program {} is not owned by kb-lib.executor.spl.memo", program_id.0),
|
||||
format!("program {} is not owned by ks-lib-executor.spl.memo", program_id.0),
|
||||
);
|
||||
},
|
||||
};
|
||||
@@ -71,7 +71,7 @@ impl crate::ExApiTypedInstructionExecutor for crate::ExSplMemoExecutor {
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplMemoExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.memo";
|
||||
return "ks-lib-executor.spl.memo";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -159,7 +159,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplMemoExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.spl.memo"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.spl.memo"),
|
||||
instruction_count: prepared.instructions.len(),
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/noop.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `spl_noop`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExSplNoopExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplNoopExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.noop";
|
||||
return "ks-lib-executor.spl.noop";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplNoopExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.spl.noop".to_string(),
|
||||
executor_name: "ks-lib-executor.spl.noop".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/single_pool.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `spl_single_pool`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExSplSinglePoolExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplSinglePoolExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.single_pool";
|
||||
return "ks-lib-executor.spl.single_pool";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplSinglePoolExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.spl.single_pool".to_string(),
|
||||
executor_name: "ks-lib-executor.spl.single_pool".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/stake_pool.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Reserved executor for `spl_stake_pool`.
|
||||
|
||||
@@ -9,7 +9,7 @@ pub struct ExSplStakePoolExecutor;
|
||||
|
||||
impl crate::ExApiInstructionExecutor for crate::ExSplStakePoolExecutor {
|
||||
fn executor_name(&self) -> &'static str {
|
||||
return "kb-lib.executor.spl.stake_pool";
|
||||
return "ks-lib-executor.spl.stake_pool";
|
||||
}
|
||||
|
||||
fn executor_version(&self) -> &'static str {
|
||||
@@ -41,7 +41,7 @@ impl crate::ExApiInstructionExecutor for crate::ExSplStakePoolExecutor {
|
||||
std::result::Result::Err(error) => return std::result::Result::Err(error),
|
||||
};
|
||||
return std::result::Result::Ok(crate::ExApiExecutionPlan {
|
||||
executor_name: "kb-lib.executor.spl.stake_pool".to_string(),
|
||||
executor_name: "ks-lib-executor.spl.stake_pool".to_string(),
|
||||
instruction_count: 0,
|
||||
payload_json,
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/token/builder.rs
|
||||
// version: 10
|
||||
// version: 11
|
||||
|
||||
//! Official classic SPL Token builders and conservative plan validation.
|
||||
|
||||
@@ -69,7 +69,7 @@ pub(crate) fn executor_spl_token_build_prepared_plan(
|
||||
"built classic SPL Token execution plan"
|
||||
);
|
||||
return std::result::Result::Ok(crate::ExApiPreparedExecutionPlan {
|
||||
executor_name: std::string::String::from("kb-lib.executor.spl.token"),
|
||||
executor_name: std::string::String::from("ks-lib-executor.spl.token"),
|
||||
executor_version: std::string::String::from(env!("CARGO_PKG_VERSION")),
|
||||
intent_id: intent.intent_id.clone(),
|
||||
operation_code: std::string::String::from(intent.operation.operation_code()),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: ks-lib/src/executor/spl/token/constants.rs
|
||||
// version: 4
|
||||
// version: 5
|
||||
|
||||
//! Local constants for the SPL Token classic executor. Program identifiers live in `ks_program_ids`.
|
||||
|
||||
@@ -12,4 +12,4 @@ pub(crate) const EX_SPL_TOKEN_MAX_MULTISIG_SIGNERS: usize = 11;
|
||||
/// Maximum UI amount string length accepted before transaction assembly.
|
||||
pub(crate) const EX_SPL_TOKEN_MAX_UI_AMOUNT_BYTES: usize = 255;
|
||||
/// Canonical tracing target for this crate.
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_TOKEN: &str = "kb-lib.executor.spl.token";
|
||||
pub(crate) const TRACING_TARGET_EXECUTOR_SPL_TOKEN: &str = "ks-lib-executor.spl.token";
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user