refactor: make group tokens and amount out min non optional

This commit is contained in:
royvardhan
2025-02-20 00:05:47 +05:30
parent e2a2aaaad1
commit c472cda697
3 changed files with 48 additions and 56 deletions

View File

@@ -119,9 +119,9 @@ pub struct EncodingContext {
pub receiver: Bytes,
pub exact_out: bool,
pub router_address: Bytes,
pub group_token_in: Option<Bytes>,
pub group_token_out: Option<Bytes>,
pub amount_out_min: Option<BigUint>,
pub group_token_in: Bytes,
pub group_token_out: Bytes,
pub amount_out_min: BigUint,
}
#[derive(Clone, PartialEq, Eq, Hash)]