chore: Rename selector to function signature
Took 8 minutes
This commit is contained in:
@@ -26,8 +26,8 @@ use crate::encoding::{
|
||||
/// outer function call arguments themselves** and verify that they enforce correct and secure
|
||||
/// behavior.
|
||||
pub trait TychoEncoder {
|
||||
/// Encodes a list of [`Solution`]s into [`EncodedSolution`]s, which include the selector and
|
||||
/// internal swap call data.
|
||||
/// Encodes a list of [`Solution`]s into [`EncodedSolution`]s, which include the function
|
||||
/// signature and internal swap call data.
|
||||
///
|
||||
/// This method gives users maximum flexibility and control. It **does not** produce full
|
||||
/// transaction objects. Users are responsible for:
|
||||
@@ -36,7 +36,7 @@ pub trait TychoEncoder {
|
||||
///
|
||||
/// # Returns
|
||||
/// A vector of encoded solutions, each containing:
|
||||
/// - The Tycho method selector
|
||||
/// - The Tycho method function signature
|
||||
/// - The encoded swap path
|
||||
/// - Additional metadata (e.g., permit2 information)
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user