Skip to content

Commit

Permalink
Added liquidity_book multi_tests and router (#364)
Browse files Browse the repository at this point in the history
* Added liquidity_book multi_tests

* lb_pair test completed

* prepared lb_pair for swaps

* router added

* added fixes

* cargo clippy --fix and minor fixes

* added to_cosmos implementation
  • Loading branch information
itsHaseebSaeed authored Oct 23, 2023
1 parent cfee3d8 commit 5dbf4b6
Show file tree
Hide file tree
Showing 101 changed files with 11,575 additions and 2,488 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ target/
# Code coverage stuff
*.profraw

.history

# IDEs
.vscode/
.idea/
Expand Down
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ resolver = "2"
members = [
# Packages
"packages/shade_protocol",
"packages/shadeswap_shared",
"packages/secretcli",
"packages/multi_test",
"packages/multi_derive",
Expand All @@ -25,7 +26,9 @@ members = [
"contracts/liquidity_book/lb_factory",
"contracts/liquidity_book/lb_pair",
"contracts/liquidity_book/lb_token",
#"contracts/liquidity_book/router",
"contracts/liquidity_book/router",
"contracts/liquidity_book/tests",


# Staking
#"contracts/basic_staking",
Expand Down
2 changes: 1 addition & 1 deletion contracts/liquidity_book/lb_factory/src/bin/schema.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use cosmwasm_schema::write_api;

use lb_factory::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};
use shade_protocol::liquidity_book::lb_factory::{ExecuteMsg, InstantiateMsg, QueryMsg};

fn main() {
write_api! {
Expand Down
Loading

0 comments on commit 5dbf4b6

Please sign in to comment.