Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b927e5d
:tada: ($PALLET) Init liqudity-mining
AllenPocketGamer Jul 30, 2021
a92c2d1
:construction: ($PALLET) Basic framework
AllenPocketGamer Aug 2, 2021
3f25dda
:construction: ($PALLET) Add hook
AllenPocketGamer Aug 3, 2021
65450df
:green_heart: ($PALLET) Refactor the structure and define the calcula…
AllenPocketGamer Aug 9, 2021
cc54851
:sparkles: ($PALLET) Impl function: create mining pool
AllenPocketGamer Aug 10, 2021
990d071
:sparkles: ($PALLET) Impl function: create farming pool & Complete ev…
AllenPocketGamer Aug 10, 2021
27bc40c
:sparkles: ($PALLET) Complete the functions about liquidity-pool
AllenPocketGamer Aug 10, 2021
c66b5d5
:construction: ($PALLET) Refactor code & define the corner conditions
AllenPocketGamer Aug 10, 2021
d3897bd
:construction: ($PALLET) Impl claim
AllenPocketGamer Aug 11, 2021
0c1e514
:construction: ($PALLET) Impl helper functions
AllenPocketGamer Aug 11, 2021
58cc751
:construction: ($PALLET) Docs & Fix & Impl
AllenPocketGamer Aug 11, 2021
9930ce4
:tada: ($PALLET) Compl all extrinsics
AllenPocketGamer Aug 12, 2021
39296e3
:white_check_mark: ($PALLET) Impl mock
AllenPocketGamer Aug 12, 2021
56a9abb
:art: ($PALLET) Rename activated to approved, init to under_audit
AllenPocketGamer Aug 13, 2021
0b19f97
:construction: ($PALLET) CodeFix & First UT & Adjust Mock
AllenPocketGamer Aug 13, 2021
3168dd8
:construction: ($PALLET) CodeFix & UT & MockAdjust
AllenPocketGamer Aug 13, 2021
fdfc9e6
:white_check_mark: ($PALLET) Compl some tests
AllenPocketGamer Aug 16, 2021
965b7da
:sparkles: ($PALLET) Try to delete useless storage items
AllenPocketGamer Aug 16, 2021
6204580
:bug: ($PALLET) Limit the number of pool approved
AllenPocketGamer Aug 16, 2021
d9ae323
:white_check_mark: ($PALLET) Compl some unit-tests
AllenPocketGamer Aug 16, 2021
170154e
:sparkles: ($PALLET) Access LpToken
AllenPocketGamer Aug 16, 2021
1674f52
:bug: ($PALLET) Fix the wrong reward calculation
AllenPocketGamer Aug 16, 2021
16619ec
:white_check_mark: ($PALLET) Compl deposit unit-tests
AllenPocketGamer Aug 16, 2021
cec2336
:white_check_mark: ($PALLET) More unit-tests
AllenPocketGamer Aug 16, 2021
ee1a903
:bug: ($PALLET) Fix divide zero error
AllenPocketGamer Aug 16, 2021
2d0b0ae
:bug: ($PALLET) Fix the bugs of redeem
AllenPocketGamer Aug 17, 2021
1261742
:white_check_mark: ($PALLET) Compl redeem unit-tests
AllenPocketGamer Aug 17, 2021
3dde497
:construction: ($PALLET) Fix & Refactor & Docs
AllenPocketGamer Aug 17, 2021
80ce453
:white_check_mark: ($PALLET) Compl all unit-tests
AllenPocketGamer Aug 17, 2021
b925f3c
:rocket: ($PALLET) Intergate liquidity-mining to asgard
AllenPocketGamer Aug 17, 2021
7a87b58
:fire: ($PALLET) Remove useless code
AllenPocketGamer Aug 17, 2021
01edb64
Merge branch 'develop' into liquidity-mining-dev
ark930 Aug 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"node/service",
"pallets/bancor",
"pallets/bid",
"pallets/liquidity-mining",
"pallets/flexible-fee",
"pallets/minter-reward",
"pallets/vesting",
Expand Down
33 changes: 33 additions & 0 deletions pallets/liquidity-mining/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[package]
name = "bifrost-liquidity-mining"
version = "0.8.0"
authors = ["Allen Pocket <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false }
frame-system = { version = "3.0.0", default-features = false }
frame-support = { version = "3.0.0", default-features = false }
node-primitives = { path = "../../node/primitives", default-features = false }
orml-traits = { version = "0.4.1-dev", default-features = false }

[dev-dependencies]
sp-core = "3.0.0"
pallet-balances = "3.0.0"
pallet-collective = "3.0.0"
orml-tokens = "0.4.1-dev"
orml-currencies = "0.4.1-dev"

[features]
default = ["std"]
std = [
"codec/std",
"substrate-fixed/std",
"frame-system/std",
"frame-support/std",
"node-primitives/std",
"orml-traits/std",
]
Loading