Skip to content

Commit

Permalink
chore: update SourceProtocol denom
Browse files Browse the repository at this point in the history
  • Loading branch information
mbreithecker committed Jul 3, 2024
1 parent 1f1e62a commit b45970a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/upgrades/v1_5/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,29 +205,31 @@ func migrateFundersModule(sdkCtx sdk.Context, cdc codec.Codec, fundersStoreKey s

newParams := fundersTypes.Params{
CoinWhitelist: []*fundersTypes.WhitelistCoinEntry{
// Prices were obtained on 03.07.2024

// KYVE
{
CoinDenom: globalTypes.Denom,
CoinDecimals: uint32(6),
MinFundingAmount: math.NewIntFromUint64(oldParams.MinFundingAmount),
MinFundingAmountPerBundle: math.NewIntFromUint64(oldParams.MinFundingAmountPerBundle),
CoinWeight: math.LegacyMustNewDecFromStr("0.06"),
CoinWeight: math.LegacyMustNewDecFromStr("0.0358"),
},
// Andromeda
{
CoinDenom: "ibc/58EDC95E791161D711F4CF012ACF30A5DA8DDEB40A484F293A52B1968903F643",
CoinDecimals: uint32(6),
MinFundingAmount: math.NewInt(1000_000_000),
MinFundingAmountPerBundle: math.NewInt(100_000),
CoinWeight: math.LegacyMustNewDecFromStr("0.1"),
CoinWeight: math.LegacyMustNewDecFromStr("0.1007"),
},
// Source Protocol
{
CoinDenom: "", // TODO: obtain Source denom
CoinDenom: "ibc/0D2ABDF58A5DBA3D2A90398F8737D16ECAC0DDE58F9792B2918495D499400672",
CoinDecimals: uint32(6),
MinFundingAmount: math.NewInt(1000_000_000),
MinFundingAmountPerBundle: math.NewInt(100_000),
CoinWeight: math.LegacyMustNewDecFromStr("0.21"),
CoinWeight: math.LegacyMustNewDecFromStr("0.0207"),
},
},
MinFundingMultiple: oldParams.MinFundingMultiple,
Expand Down

0 comments on commit b45970a

Please sign in to comment.