Skip to content

Commit

Permalink
Updated default fees for IRO plan creation and bonding to gauge.
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix committed Nov 30, 2024
1 parent d2b9920 commit 49b39b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions x/iro/keeper/settle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func (s *KeeperTestSuite) TestBootstrapLiquidityPool() {
{
name: "Small purchase",
buyAmt: math.NewInt(1_000).MulRaw(1e18),
expectedDYM: math.NewInt(110).MulRaw(1e18),
expectedTokens: math.NewInt(1_100).MulRaw(1e18),
expectedDYM: math.NewInt(101).MulRaw(1e18),
expectedTokens: math.NewInt(1_010).MulRaw(1e18),
},
{
name: "Large purchase - left tokens are limiting factor",
Expand All @@ -97,8 +97,8 @@ func (s *KeeperTestSuite) TestBootstrapLiquidityPool() {
{
name: "Nothing sold - pool contains only creation fee",
buyAmt: math.NewInt(0),
expectedDYM: math.NewInt(10).MulRaw(1e18), // creation fee
expectedTokens: math.NewInt(100).MulRaw(1e18),
expectedDYM: math.NewInt(1).MulRaw(1e18), // creation fee
expectedTokens: math.NewInt(10).MulRaw(1e18),
},
{
name: "All sold - pool contains only reserved tokens",
Expand Down
2 changes: 1 addition & 1 deletion x/iro/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var (
DefaultTakerFee = "0.02" // 2%
DefaultCreationFee = math.NewInt(10).MulRaw(1e18) /* 10 DYM */
DefaultCreationFee = math.NewInt(1).MulRaw(1e18) /* 1 DYM */
DefaultMinPlanDuration = 0 * time.Hour // no enforced minimum by default
DefaultIncentivePlanMinimumNumEpochsPaidOver = uint64(10_080) // default: min 7 days (based on 1 minute distribution epoch)
DefaultIncentivePlanMinimumStartTimeAfterSettlement = 60 * time.Minute // default: min 1 hour after settlement
Expand Down
2 changes: 1 addition & 1 deletion x/lockup/types/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import (
"github.com/dymensionxyz/dymension/v3/x/common/types"
)

var DefaultLockFee = types.DYM.QuoRaw(4) // 0.25 DYM
var DefaultLockFee = types.DYM.QuoRaw(20) // 0.05 DYM

0 comments on commit 49b39b5

Please sign in to comment.