1
1
[package ]
2
- authors = [" Apollo Devs" ]
2
+ authors = [ " Apollo Devs" ]
3
3
description = " Helper library for interacting with Cosmos dexes"
4
4
edition = " 2021"
5
5
license = " GPL-3.0-or-later"
6
6
name = " cw-dex"
7
7
repository = " https://github.com/apollodao/cw-dex"
8
- version = " 0 .0.1 "
8
+ version = " 2 .0.0 "
9
9
10
10
[features ]
11
- default = [" osmosis" ]
12
- osmosis = []
11
+ default = [ " osmosis" ]
12
+ osmosis = [ ]
13
13
14
14
[dependencies ]
15
15
cosmwasm-schema = " 1.1.0"
16
- cosmwasm-std = {version = " 1.1.0" , features = [" stargate" ]}
17
16
cosmwasm-storage = " 1.1.0"
18
- cw-asset = { git = " https://github.com/apollodao/cw-asset.git" , features = [" astroport" ] }
19
17
cw-storage-plus = " 0.16"
20
18
cw-utils = " 0.11"
21
19
cw20 = " 0.16"
@@ -25,20 +23,51 @@ num-rational = "0.4"
25
23
num-traits = " 0.2.15"
26
24
osmo-bindings = " 0.5.1"
27
25
schemars = " 0.8.8"
28
- serde = {version = " 1.0.137" , default-features = false , features = [" derive" ]}
29
- thiserror = {version = " 1.0.31" }
30
- prost = {version = " 0.11.0" , default-features = false , features = [" prost-derive" ]}
31
- apollo-utils = { git = " https://github.com/apollodao/apollo-utils.git" }
26
+ stake-cw20 = " 0.2"
27
+ delegate = " 0.8"
32
28
33
- # Osmosis
34
- osmosis-std = { git = " https://github.com/apollodao/osmosis-rust" , branch = " feat/latest-build" }
29
+ [dependencies .cosmwasm-std ]
30
+ version = " 1.1.0"
31
+ features = [ " stargate" ]
35
32
36
- # Junoswap
37
- wasmswap = { git = " https://github.com/Wasmswap/wasmswap-contracts.git" , tag = " v1.1.0-beta" , features = [" library" ] }
38
- cw20-0_10_3 = { package = " cw20" , version = " 0.10.3" } # We must import this version separately since it is what wasmswap uses.
39
- stake-cw20 = " 0.2"
40
- stake-cw20-external-rewards = { git = " https://github.com/DA0-DA0/dao-contracts" , features = [" library" ] } # TODO: what version?
33
+ [dependencies .cw-asset ]
34
+ git = " https://github.com/apollodao/cw-asset.git"
35
+ features = [ " astroport" ]
41
36
42
- # Astroport
43
- astroport-core = { package = " astroport" , rev = " 126d43216111df786472fe2a845c1e2fadfe4a36" , git = " https://github.com/astroport-fi/astroport-core.git" }
44
- delegate = " 0.8"
37
+ [dependencies .serde ]
38
+ version = " 1.0.137"
39
+ default-features = false
40
+ features = [ " derive" ]
41
+
42
+ [dependencies .thiserror ]
43
+ version = " 1.0.31"
44
+
45
+ [dependencies .prost ]
46
+ version = " 0.11.0"
47
+ default-features = false
48
+ features = [ " prost-derive" ]
49
+
50
+ [dependencies .apollo-utils ]
51
+ git = " https://github.com/apollodao/apollo-utils.git"
52
+
53
+ [dependencies .osmosis-std ]
54
+ git = " https://github.com/apollodao/osmosis-rust"
55
+ branch = " feat/latest-build"
56
+
57
+ [dependencies .wasmswap ]
58
+ git = " https://github.com/Wasmswap/wasmswap-contracts.git"
59
+ tag = " v1.1.0-beta"
60
+ features = [ " library" ]
61
+
62
+ [dependencies .cw20-0_10_3 ]
63
+ package = " cw20"
64
+ version = " 0.10.3"
65
+
66
+ [dependencies .stake-cw20-external-rewards ]
67
+ git = " https://github.com/DA0-DA0/dao-contracts"
68
+ features = [ " library" ]
69
+
70
+ [dependencies .astroport-core ]
71
+ package = " astroport"
72
+ rev = " 126d43216111df786472fe2a845c1e2fadfe4a36"
73
+ git = " https://github.com/astroport-fi/astroport-core.git"
0 commit comments