chore: update executor_selector to swap_selector in swap encoder trait and attribute

This commit is contained in:
royvardhan
2025-02-19 19:01:32 +05:30
parent 9219dd329d
commit 5b183b6690
3 changed files with 23 additions and 31 deletions

View File

@@ -20,7 +20,7 @@ pub trait SwapEncoder: Sync + Send {
fn executor_address(&self) -> &str;
/// The selector of the executor function that will be called in order to perform a swap.
fn executor_selector(&self) -> &str;
fn swap_selector(&self) -> &str;
/// Clones the swap encoder as a trait object.
/// This allows the encoder to be cloned when it is being used as a `Box<dyn SwapEncoder>`.