-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init osmosis lper * clippy * wip: osmosis lper integration into valence services; testing suite init * update optimize.sh * adding osmosis-utils package * wip: osmo uploading contracts debugging * fix unit test setup * removing duplicate pool_id field from configs * providing two sided liquidity * extend test suite * single sided liquidity provision * add OsmosisPoolType * move osmo message related utils to osmosis-utils package * add pool_types mod * concentrated liquidity mod * add a shift cl pool helper * cosmwasm pool test setup * wip: transmuter * remove cl & cw osmo lper logic * rename to osmosis-gamm-lper * cleanup; add lp token transfer from input -> output acc * add post-lp transfer to single side lp * cleanup osmo gamm lper * add spot price range validation & tests * add pool denom validation * readme * adjust cargo.toml * rearrange utils * remove valence_service_integration & balancer mods; toml updates * rename ActionMsgs; schemagen * ci * merge
- Loading branch information
Showing
25 changed files
with
2,051 additions
and
46 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[alias] | ||
wasm = "build --release --lib --target wasm32-unknown-unknown" | ||
schema = "run --bin schema" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[package] | ||
name = "valence-osmosis-gamm-lper" | ||
authors = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
version = { workspace = true } | ||
repository = { workspace = true } | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[features] | ||
# use library feature to disable all instantiate/execute/query exports | ||
library = [] | ||
|
||
[dependencies] | ||
cosmwasm-std = { workspace = true } | ||
cosmwasm-schema = { workspace = true } | ||
cw-ownable = { workspace = true } | ||
valence-macros = { workspace = true } | ||
valence-service-utils = { workspace = true } | ||
valence-service-base = { workspace = true } | ||
osmosis-std = { workspace = true } | ||
valence-account-utils = { workspace = true } | ||
valence-osmosis-utils = { workspace = true } | ||
|
||
[dev-dependencies] | ||
cosmwasm-std-old = { package = "cosmwasm-std", version = "1.5.7" } | ||
cw20 = { workspace = true } | ||
osmosis-test-tube = { workspace = true } | ||
valence-osmosis-utils = { workspace = true, features = ["testing"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Osmosis GAMM liquidity provider service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use cosmwasm_schema::write_api; | ||
|
||
use valence_osmosis_gamm_lper::msg::{ActionMsgs, QueryMsg, ServiceConfig, ServiceConfigUpdate}; | ||
use valence_service_utils::msg::{ExecuteMsg, InstantiateMsg}; | ||
|
||
fn main() { | ||
write_api! { | ||
instantiate: InstantiateMsg<ServiceConfig>, | ||
execute: ExecuteMsg<ActionMsgs, ServiceConfigUpdate>, | ||
query: QueryMsg, | ||
} | ||
} |
Oops, something went wrong.