Skip to content

Commit

Permalink
more init
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Dec 10, 2023
1 parent a431735 commit 38c11a3
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion mantis/node/src/solver/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,19 @@ pub fn populate_chain_dict(chains: &mut HashMap<String, Vec<String>>, center_nod
}
}

pub fn solve(all_tokens: &[str]) {}
pub fn solve(
all_tokens: Vec<String>,
all_cffms: Vec<(String, String)>,
reserves: ndarray::Array1<f64>,
cfmm_tx_cost: Vec<f64>,
fees: Vec<f64>,
ibc_pools: u16,
origin_token: String,
number_of_init_tokens: u128,
obj_token: String,
force_eta: Vec<f64>,
) {
let count_tokens = all_tokens.len();
let count_cffms = all_cffms.len();
let current_assets = ndarray::Array1::<f64>::from_elem(count_tokens, <_>::default());
}

0 comments on commit 38c11a3

Please sign in to comment.