-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
160 lines (151 loc) · 6.36 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[workspace]
resolver = "2"
members = [
# prod contracts
"contracts/address-provider",
"contracts/account-nft",
"contracts/credit-manager",
"contracts/health",
"contracts/incentives",
"contracts/oracle/*",
"contracts/params",
"contracts/perps",
"contracts/red-bank",
"contracts/rewards-collector/*",
"contracts/swapper/*",
"contracts/v2-zapper/*",
"contracts/vault",
# mock contracts
"contracts/mock-astroport-incentives",
"contracts/mock-credit-manager",
"contracts/mock-health",
"contracts/mock-incentives",
"contracts/mock-oracle",
"contracts/mock-pyth",
"contracts/mock-red-bank",
"contracts/mock-vault",
# packages
"packages/chains/*",
"packages/health",
"packages/health-computer",
"packages/interest-rate",
"packages/liquidation",
"packages/perps-common",
"packages/testing",
"packages/types",
"packages/utils",
"integration-tests",
]
[workspace.package]
version = "2.2.0"
authors = [
"Piotr B. <[email protected]>",
"Bob v.d. H. <[email protected]>",
"Mark Watney <[email protected]>",
"Gabe R. <[email protected]>",
"Larry Engineer <[email protected]>",
"Spike Spiegel <[email protected]>",
"Brianna M. <[email protected]>",
"Ahmad Kaouk",
"Harry Scholes",
]
edition = "2021"
license = "FSL-1.1-Apache-2.0"
repository = "https://github.com/mars-protocol/contracts"
homepage = "https://marsprotocol.io"
documentation = "https://docs.marsprotocol.io/"
keywords = ["mars", "cosmos", "cosmwasm"]
[workspace.dependencies]
anyhow = "1.0.86"
apollo-cw-asset = { version = "0.1.2", features = ["astroport"] }
apollo-utils = "0.1.2"
astroport = "2.8.0"
astroport-v5 = { package = "astroport", version = "5.2.0" }
bech32 = "0.11.0"
cosmwasm-schema = "1.5.7"
cosmwasm-std = "1.5.7"
cw2 = "1.1.2"
cw721 = { git = "https://github.com/CosmWasm/cw-nfts/", rev = "177a993" }
cw721-base = { git = "https://github.com/CosmWasm/cw-nfts/", rev = "177a993", features = ["library"] }
cw-dex = { version = "0.3.1", features = ["osmosis"] }
cw-paginate = { git = "https://github.com/mars-protocol/cw-plus-plus", rev = "607be11" }
cw-storage-plus = "1.2.0"
cw-utils = "1.0.3"
cw-vault-standard = { version = "0.4.0", features = ["lockup", "force-unlock"] }
ica-oracle = { git = "https://github.com/Stride-Labs/ica-oracle", rev = "2fdf76f", features = ["library"] }
itertools = "0.13.0"
mars-owner = { version = "2.0.0", features = ["emergency-owner"] }
# Use fix https://github.com/neutron-org/neutron-sdk/pull/152
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk", rev = "98d81ea" }
osmosis-std = "0.22.0"
prost = { version = "0.12.6", default-features = false }
pyth-sdk-cw = "1.2.0"
regex = "1.10.4"
schemars = "0.8.21"
serde = { version = "1.0.203", default-features = false }
serde_json = "1.0.117"
serde-json-wasm = "1.0.1"
serde-wasm-bindgen = "0.6.5"
strum = "0.26.2"
thiserror = "1.0.61"
tsify = "0.4.5"
wasm-bindgen = "0.2.92"
# Only used for FE helper functions
bigdecimal = "0.4.5"
# dev-dependencies
cw-multi-test = { version = "0.20.0", features = ["cosmwasm_1_1"] }
cw-it = "0.3.0"
osmosis-test-tube = "22.1.0"
proptest = "1.4.0"
test-case = "3.3.1"
# packages
mars-health = { path = "./packages/health" }
mars-rover-health-computer = { path = "./packages/health-computer" }
mars-interest-rate = { path = "./packages/interest-rate" }
mars-liquidation = { path = "./packages/liquidation" }
mars-osmosis = { path = "./packages/chains/osmosis" }
mars-testing = { path = "./packages/testing" }
mars-types = { path = "./packages/types" }
mars-utils = { path = "./packages/utils" }
mars-perps-common = { path = "./packages/perps-common" }
# contracts
mars-account-nft = { path = "./contracts/account-nft" }
mars-address-provider = { path = "./contracts/address-provider" }
mars-credit-manager = { path = "./contracts/credit-manager" }
mars-incentives = { path = "./contracts/incentives" }
mars-mock-pyth = { path = "./contracts/mock-pyth" }
mars-oracle-base = { path = "./contracts/oracle/base" }
mars-oracle-osmosis = { path = "./contracts/oracle/osmosis" }
mars-oracle-wasm = { path = "./contracts/oracle/wasm" }
mars-params = { path = "./contracts/params" }
mars-perps = { path = "./contracts/perps" }
mars-red-bank = { path = "./contracts/red-bank" }
mars-rewards-collector-base = { path = "./contracts/rewards-collector/base" }
mars-rewards-collector-neutron = { path = "./contracts/rewards-collector/neutron" }
mars-rewards-collector-osmosis = { path = "./contracts/rewards-collector/osmosis" }
mars-rover-health = { path = "./contracts/health" }
mars-swapper-astroport = { path = "./contracts/swapper/astroport" }
mars-swapper-base = { path = "./contracts/swapper/base" }
mars-swapper-osmosis = { path = "./contracts/swapper/osmosis" }
mars-vault = { path = "./contracts/vault" }
mars-zapper-base = { path = "./contracts/v2-zapper/base" }
# mocks
mars-mock-astroport-incentives = { path = "./contracts/mock-astroport-incentives" }
mars-mock-credit-manager = { path = "./contracts/mock-credit-manager" }
mars-mock-incentives = { path = "./contracts/mock-incentives" }
mars-mock-oracle = { path = "./contracts/mock-oracle" }
mars-mock-red-bank = { path = "./contracts/mock-red-bank" }
mars-mock-vault = { path = "./contracts/mock-vault" }
mars-mock-rover-health = { path = "./contracts/mock-health" }
mars-swapper-mock = { path = "./contracts/swapper/mock" }
mars-zapper-mock = { path = "./contracts/v2-zapper/mock" }
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
overflow-checks = true
opt-level = 3
panic = "abort"
rpath = false