Skip to content

Commit

Permalink
Merge pull request #590 from comdex-official/lpair
Browse files Browse the repository at this point in the history
New liquidity pairs in mainet upgrade
  • Loading branch information
dheerajkd30 authored Nov 14, 2022
2 parents 99feef4 + f2ccce2 commit 272e718
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/upgrades/mainnet/v5/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,10 @@ func InitializeStates(
}

liquidityPairs := []LiquidityPair{
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9", QuoteCoinDenom: "ucmdx"},
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518", QuoteCoinDenom: "ucmdx"},
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ucmdx", QuoteCoinDenom: "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9"},
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ucmdx", QuoteCoinDenom: "ibc/ED07A3391A112B175915CD8FAF43A2DA8E4790EDE12566649D0C2F97716B8518"},
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ucmdx", QuoteCoinDenom: "ucmst"},
{AppID: 1, From: "comdex12gfx7e3p08ljrwhq4lxz0360czcv9jpzajlytv", BaseCoinDenom: "ucmdx", QuoteCoinDenom: "uharbor"},
}

for _, lpair := range liquidityPairs {
Expand Down
4 changes: 2 additions & 2 deletions x/liquidity/types/generic_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const (
// Liquidity params default values.
var (
DefaultMinInitialPoolCoinSupply = sdk.NewInt(1_000_000_000_000)
DefaultPairCreationFee = sdk.NewCoins(sdk.NewInt64Coin(DefaultFeeDenom, 5000_000_000))
DefaultPoolCreationFee = sdk.NewCoins(sdk.NewInt64Coin(DefaultFeeDenom, 5000_000_000))
DefaultPairCreationFee = sdk.NewCoins(sdk.NewInt64Coin(DefaultFeeDenom, 2000_000_000))
DefaultPoolCreationFee = sdk.NewCoins(sdk.NewInt64Coin(DefaultFeeDenom, 2000_000_000))
DefaultMinInitialDepositAmount = sdk.NewInt(1000000)
DefaultMaxPriceLimitRatio = sdk.NewDecWithPrec(1, 1) // 10%
DefaultSwapFeeRate = sdk.NewDecWithPrec(3, 3) // 0.3%
Expand Down

0 comments on commit 272e718

Please sign in to comment.