diff --git a/contract/r/gnoswap/gns/tests/halving_year_mint_test.gnoA b/contract/r/gnoswap/gns/tests/halving_year_mint_test.gnoA index fbb65ce0..f9d0fee9 100644 --- a/contract/r/gnoswap/gns/tests/halving_year_mint_test.gnoA +++ b/contract/r/gnoswap/gns/tests/halving_year_mint_test.gnoA @@ -5,8 +5,7 @@ import ( "testing" "gno.land/p/demo/uassert" - - "gno.land/r/gnoswap/v1/consts" + "gno.land/p/gnoswap/consts" ) var ( diff --git a/contract/r/gnoswap/router/tests/router_all_2_route_2_hop_with_emission_test.gnoA b/contract/r/gnoswap/router/tests/router_all_2_route_2_hop_with_emission_test.gnoA deleted file mode 100644 index e69de29b..00000000 diff --git a/contract/r/gnoswap/staker/filetests/average_block_time_change_from_gns_filetest.gno b/contract/r/gnoswap/staker/filetests/average_block_time_change_from_gns_filetest.gno index 67057774..265c6637 100644 --- a/contract/r/gnoswap/staker/filetests/average_block_time_change_from_gns_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/average_block_time_change_from_gns_filetest.gno @@ -93,7 +93,7 @@ func testInit() { std.TestSetOrigSend(nil, nil) // set unstaking fee to 0 - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_change_to_tier3_internal_filetest.gno b/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_change_to_tier3_internal_filetest.gno index 4f822de2..69263375 100644 --- a/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_change_to_tier3_internal_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_change_to_tier3_internal_filetest.gno @@ -93,7 +93,7 @@ func testInit() { std.TestSetOrigSend(nil, nil) // set unstaking fee to 0 - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_removed_internal_filetest.gno b/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_removed_internal_filetest.gno index 495d35f2..9e90a96c 100644 --- a/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_removed_internal_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/pool_add_to_tier2_and_removed_internal_filetest.gno @@ -93,7 +93,7 @@ func testInit() { std.TestSetOrigSend(nil, nil) // set unstaking fee to 0 - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/filetests/single_gns_external_ends_filetest.gno b/contract/r/gnoswap/staker/filetests/single_gns_external_ends_filetest.gno index bb4294f9..814e539e 100644 --- a/contract/r/gnoswap/staker/filetests/single_gns_external_ends_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/single_gns_external_ends_filetest.gno @@ -92,7 +92,7 @@ func main() { func testInit() { std.TestSetRealm(adminRealm) - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_external_filetest.gno b/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_external_filetest.gno index 0851df9e..5aa78002 100644 --- a/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_external_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_external_filetest.gno @@ -88,7 +88,7 @@ func main() { func testInit() { std.TestSetRealm(adminRealm) - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_internal_filetest.gno b/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_internal_filetest.gno index e4877b63..47be2eef 100644 --- a/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_internal_filetest.gno +++ b/contract/r/gnoswap/staker/filetests/staked_liquidity_change_by_staking_unstaking_internal_filetest.gno @@ -88,7 +88,7 @@ func testInit() { wugnot.Deposit() std.TestSetOrigSend(nil, nil) - sr.SetUnstakingFeeByAdmin(0) + sr.SetUnStakingFeeByAdmin(0) } func testCreatePool() { diff --git a/contract/r/gnoswap/staker/tests/full_internal_external_test.gnoA b/contract/r/gnoswap/staker/tests/full_internal_external_test.gnoA index 40ecbc4d..3278e1f9 100644 --- a/contract/r/gnoswap/staker/tests/full_internal_external_test.gnoA +++ b/contract/r/gnoswap/staker/tests/full_internal_external_test.gnoA @@ -106,8 +106,8 @@ func testInit(t *testing.T) { println("[", std.GetHeight(), "] [testInit]") std.TestSetRealm(adminRealm) - SetUnstakingFeeByAdmin(0) - println("[", std.GetHeight(), "] [testInit] SetUnstakingFeeByAdmin(0)") + SetUnStakingFeeByAdmin(0) + println("[", std.GetHeight(), "] [testInit] SetUnStakingFeeByAdmin(0)") en.ChangeDistributionPctByAdmin( 1, 7500, // staker diff --git a/contract/r/gnoswap/staker/tests/more_01_single_position_for_each_warmup_tier_total_4_position_internal_only_test.gnoA b/contract/r/gnoswap/staker/tests/more_01_single_position_for_each_warmup_tier_total_4_position_internal_only_test.gnoA index 8c73e4fc..21464f11 100644 --- a/contract/r/gnoswap/staker/tests/more_01_single_position_for_each_warmup_tier_total_4_position_internal_only_test.gnoA +++ b/contract/r/gnoswap/staker/tests/more_01_single_position_for_each_warmup_tier_total_4_position_internal_only_test.gnoA @@ -43,7 +43,7 @@ func testInit(t *testing.T) { deletePoolTier(t, MUST_EXISTS_IN_TIER_1) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set community pool distribution to 0% (give it to devOps) en.ChangeDistributionPctByAdmin( diff --git a/contract/r/gnoswap/staker/tests/more_02_single_position_for_each_warmup_tier_total_4_position_two_external_test.gnoA b/contract/r/gnoswap/staker/tests/more_02_single_position_for_each_warmup_tier_total_4_position_two_external_test.gnoA index 4a246730..5cb01e7b 100644 --- a/contract/r/gnoswap/staker/tests/more_02_single_position_for_each_warmup_tier_total_4_position_two_external_test.gnoA +++ b/contract/r/gnoswap/staker/tests/more_02_single_position_for_each_warmup_tier_total_4_position_two_external_test.gnoA @@ -42,7 +42,7 @@ func testInit(t *testing.T) { std.TestSetRealm(adminRealm) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/more_04_positions_with_different_liquidity_and_in_range_chane_by_swap_test.gnoA b/contract/r/gnoswap/staker/tests/more_04_positions_with_different_liquidity_and_in_range_chane_by_swap_test.gnoA index 12dc37c1..52e3d24e 100644 --- a/contract/r/gnoswap/staker/tests/more_04_positions_with_different_liquidity_and_in_range_chane_by_swap_test.gnoA +++ b/contract/r/gnoswap/staker/tests/more_04_positions_with_different_liquidity_and_in_range_chane_by_swap_test.gnoA @@ -51,7 +51,7 @@ func testInit(t *testing.T) { ) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) std.TestSkipHeights(1) }) diff --git a/contract/r/gnoswap/staker/tests/short_warmup_internal_gnot_gns_3000_test.gnoA b/contract/r/gnoswap/staker/tests/short_warmup_internal_gnot_gns_3000_test.gnoA index 2a904f11..277da865 100644 --- a/contract/r/gnoswap/staker/tests/short_warmup_internal_gnot_gns_3000_test.gnoA +++ b/contract/r/gnoswap/staker/tests/short_warmup_internal_gnot_gns_3000_test.gnoA @@ -37,7 +37,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_native_create_collect_unstake_test.gnoA b/contract/r/gnoswap/staker/tests/staker_native_create_collect_unstake_test.gnoA index 70d28437..60d2f4cc 100644 --- a/contract/r/gnoswap/staker/tests/staker_native_create_collect_unstake_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_native_create_collect_unstake_test.gnoA @@ -43,7 +43,7 @@ func testInit_NativeCreateCollectUnstake(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_calculate_pool_position_reward_API_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_calculate_pool_position_reward_API_test.gnoA index 817257d4..a15d487c 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_calculate_pool_position_reward_API_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_calculate_pool_position_reward_API_test.gnoA @@ -71,7 +71,7 @@ func testInit(t *testing.T) { pl.SetPoolCreationFeeByAdmin(0) // no unstaking fee - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) std.TestSkipHeights(1) }) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_10_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_10_test.gnoA index 8804741e..7f5e4b97 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_10_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_10_test.gnoA @@ -48,7 +48,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_12_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_12_test.gnoA index 7b83f7d1..bc4aecb1 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_12_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_12_test.gnoA @@ -47,7 +47,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_13_gns_external_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_13_gns_external_test.gnoA index b6931deb..fc7b0725 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_13_gns_external_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_13_gns_external_test.gnoA @@ -47,7 +47,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_14_position_in_out_range_changed_by_swap_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_14_position_in_out_range_changed_by_swap_test.gnoA index f7c99a50..77a8422b 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_14_position_in_out_range_changed_by_swap_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_14_position_in_out_range_changed_by_swap_test.gnoA @@ -47,7 +47,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_15_90d_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_15_90d_test.gnoA index fafe2a56..69ee56be 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_15_90d_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_15_90d_test.gnoA @@ -45,7 +45,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_16_180d_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_16_180d_test.gnoA index 553d0b4f..c5a9875e 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_16_180d_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_external_16_180d_test.gnoA @@ -45,7 +45,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_01_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_01_test.gnoA index e789ae12..99e1f9af 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_01_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_01_test.gnoA @@ -43,7 +43,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_02_small_liq_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_02_small_liq_test.gnoA index 2fd932f9..d09fdadd 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_02_small_liq_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_02_small_liq_test.gnoA @@ -44,7 +44,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_03_change_tier_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_03_change_tier_test.gnoA index 34814989..efeebbc1 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_03_change_tier_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_03_change_tier_test.gnoA @@ -50,7 +50,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_04_remove_tier_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_04_remove_tier_test.gnoA index 387073bf..d704274a 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_04_remove_tier_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_04_remove_tier_test.gnoA @@ -49,7 +49,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) // set pool creation fee to 0 pl.SetPoolCreationFeeByAdmin(0) diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_05_position_in_out_range_changed_by_swap_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_05_position_in_out_range_changed_by_swap_test.gnoA index 0995a074..d1d2c07b 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_05_position_in_out_range_changed_by_swap_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_05_position_in_out_range_changed_by_swap_test.gnoA @@ -46,7 +46,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) }) } diff --git a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_gns_and_external_gns_90_test.gnoA b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_gns_and_external_gns_90_test.gnoA index 291b9f77..7731e7ba 100644 --- a/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_gns_and_external_gns_90_test.gnoA +++ b/contract/r/gnoswap/staker/tests/staker_short_warmup_period_internal_gns_and_external_gns_90_test.gnoA @@ -47,7 +47,7 @@ func testInit(t *testing.T) { changeWarmup(t, 3, math.MaxInt64) // set unstaking fee to 0 - SetUnstakingFeeByAdmin(0) + SetUnStakingFeeByAdmin(0) changeWarmup(t, 0, 150) changeWarmup(t, 1, 300)