Skip to content

Commit

Permalink
Merge pull request #838 from multiversx/farm-concentrated-liq
Browse files Browse the repository at this point in the history
farm concentrated liq - copy farm
  • Loading branch information
dorin-iancu authored Feb 20, 2024
2 parents ef574c1 + 042c7f1 commit ba7f410
Show file tree
Hide file tree
Showing 12 changed files with 1,523 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ members = [
"dex",
"dex/farm",
"dex/farm/meta",
"dex/farm-concentrated-liq",
"dex/farm-concentrated-liq/meta",
"dex/farm-with-locked-rewards",
"dex/farm-with-locked-rewards/meta",
"dex/pair",
Expand Down
91 changes: 91 additions & 0 deletions dex/farm-concentrated-liq/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
[package]
name = "farm-concentrated-liq"
version = "0.0.0"
authors = ["MultiversX <[email protected]>"]
edition = "2021"
publish = false

[lib]
path = "src/lib.rs"

[dependencies.farm_base_impl]
path = "../../common/modules/farm/farm_base_impl"

[dependencies.config]
path = "../../common/modules/farm/config"

[dependencies.farm_token]
path = "../../common/modules/farm/farm_token"

[dependencies.rewards]
path = "../../common/modules/farm/rewards"

[dependencies.events]
path = "../../common/modules/farm/events"

[dependencies.contexts]
path = "../../common/modules/farm/contexts"

[dependencies.token_send]
path = "../../common/modules/token_send"

[dependencies.utils]
path = "../../common/modules/utils"

[dependencies.pausable]
path = "../../common/modules/pausable"

[dependencies.permissions_module]
path = "../../common/modules/permissions_module"

[dependencies.sc_whitelist_module]
path = "../../common/modules/sc_whitelist_module"

[dependencies.pair]
path = "../pair"

[dependencies.common_structs]
path = "../../common/common_structs"

[dependencies.common_errors]
path = "../../common/common_errors"

[dependencies.mergeable]
path = "../../common/traits/mergeable"

[dependencies.fixed-supply-token]
path = "../../common/traits/fixed-supply-token"

[dependencies.farm-boosted-yields]
path = "../../energy-integration/farm-boosted-yields"

[dependencies.week-timekeeping]
path = "../../energy-integration/common-modules/week-timekeeping"

[dependencies.weekly-rewards-splitting]
path = "../../energy-integration/common-modules/weekly-rewards-splitting"

[dependencies.energy-query]
path = "../../energy-integration/common-modules/energy-query"

[dependencies.multiversx-sc]
version = "=0.46.1"
features = ["esdt-token-payment-legacy-decode"]

[dependencies.multiversx-sc-modules]
version = "=0.46.1"

[dev-dependencies]
num-bigint = "0.4.2"

[dev-dependencies.energy-update]
path = "../../energy-integration/energy-update"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.46.1"

[dev-dependencies.energy-factory-mock]
path = "../../energy-integration/energy-factory-mock"

[dev-dependencies.simple-lock]
path = "../../locked-asset/simple-lock"
13 changes: 13 additions & 0 deletions dex/farm-concentrated-liq/meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "farm-concentrated-liq-abi"
version = "0.0.0"
authors = ["MultiversX <[email protected]>"]
edition = "2021"
publish = false

[dependencies.farm-concentrated-liq]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.46.1"
default-features = false
3 changes: 3 additions & 0 deletions dex/farm-concentrated-liq/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<farm_concentrated_liq::AbiProvider>();
}
3 changes: 3 additions & 0 deletions dex/farm-concentrated-liq/multiversx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"language": "rust"
}
Loading

0 comments on commit ba7f410

Please sign in to comment.