Skip to content

Commit

Permalink
Merge pull request #44 from timewave-computer/benskey/single-side-lp-…
Browse files Browse the repository at this point in the history
…limit

rework of LP module; single-side lp limits
  • Loading branch information
bekauz authored Jul 12, 2023
2 parents bd3e33b + 9cab44a commit 48022a1
Show file tree
Hide file tree
Showing 7 changed files with 517 additions and 178 deletions.
7 changes: 6 additions & 1 deletion contracts/covenant/src/suite_test/suite.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use cosmwasm_std::{Addr, Empty, Uint64};
use covenant_lp::msg::AssetData;
use cw_multi_test::{App, Contract, ContractWrapper, Executor};

use crate::msg::{InstantiateMsg, QueryMsg};
Expand Down Expand Up @@ -79,10 +80,14 @@ impl Default for SuiteBuilder {
preset_lp_fields: covenant_lp::msg::PresetLpFields {
slippage_tolerance: None,
autostake: Some(false),
assets: vec![],
lp_code: 1,
lp_position: TODO.to_string(),
label: "covenant_lp_contract".to_string(),
single_side_lp_limits: None,
assets: AssetData {
native_asset_denom: "uatom".to_string(),
ls_asset_denom: "stuatom".to_string(),
},
},
preset_holder_fields: covenant_holder::msg::PresetHolderFields {
withdrawer: Some(CREATOR_ADDR.to_string()),
Expand Down
Loading

0 comments on commit 48022a1

Please sign in to comment.