From 38c11a320749d299252bb0ec360fcf25530b0e1e Mon Sep 17 00:00:00 2001 From: dzmitry-lahoda Date: Sun, 10 Dec 2023 16:24:50 +0000 Subject: [PATCH] more init --- mantis/node/src/solver/router.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/mantis/node/src/solver/router.rs b/mantis/node/src/solver/router.rs index 5f2cf413..1f079473 100644 --- a/mantis/node/src/solver/router.rs +++ b/mantis/node/src/solver/router.rs @@ -38,4 +38,19 @@ pub fn populate_chain_dict(chains: &mut HashMap>, center_nod } } -pub fn solve(all_tokens: &[str]) {} +pub fn solve( + all_tokens: Vec, + all_cffms: Vec<(String, String)>, + reserves: ndarray::Array1, + cfmm_tx_cost: Vec, + fees: Vec, + ibc_pools: u16, + origin_token: String, + number_of_init_tokens: u128, + obj_token: String, + force_eta: Vec, +) { + let count_tokens = all_tokens.len(); + let count_cffms = all_cffms.len(); + let current_assets = ndarray::Array1::::from_elem(count_tokens, <_>::default()); +}