Update nssa/program_methods/guest/src/bin/amm.rs

Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
This commit is contained in:
jonesmarvin8 2025-12-22 11:41:44 -05:00 committed by GitHub
parent 32de4e2990
commit 05d34bf9ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -771,7 +771,8 @@ fn swap_logic(
vault_deposit: AccountWithMetadata, vault_deposit: AccountWithMetadata,
vault_withdraw: AccountWithMetadata, vault_withdraw: AccountWithMetadata,
user_withdraw: AccountWithMetadata, user_withdraw: AccountWithMetadata,
balances: &[u128], deposit_amount: u128,
min_amount_out: u128,
reserve_amounts: &[u128], reserve_amounts: &[u128],
pool_id: AccountId, pool_id: AccountId,
) -> (Vec<ChainedCall>, u128, u128) { ) -> (Vec<ChainedCall>, u128, u128) {