Skip to content

Commit

Permalink
BBB VXOR instead of TBCD (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
vovac12 authored Oct 16, 2024
1 parent 354aee6 commit 43a2dbe
Show file tree
Hide file tree
Showing 29 changed files with 117 additions and 107 deletions.
2 changes: 1 addition & 1 deletion common/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ impl Default for RewardReason {
#[derive(Encode, Decode, Clone, RuntimeDebug, Default, scale_info::TypeInfo)]
pub struct PswapRemintInfo {
pub liquidity_providers: Balance,
pub buy_back_tbcd: Balance,
pub buy_back_amount: Balance,
pub vesting: Balance,
}

Expand Down
8 changes: 4 additions & 4 deletions pallets/apollo-platform/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
use common::mock_vested_rewards_config;
use {
crate as apollo_platform,
common::{
balance, fixed, hash,
mock::{ExistentialDeposits, GetTradingPairRestrictedFlag},
mock_assets_config, mock_common_config, mock_currencies_config, mock_frame_system_config,
mock_pallet_balances_config, mock_technical_config, mock_tokens_config,
mock_vested_rewards_config,
prelude::{Balance, SwapOutcome},
AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource,
DEXId::Polkaswap,
DEXInfo, Description, Fixed, FromGenericPair, LiquidityProxyTrait, PriceToolsProvider,
PriceVariant, APOLLO_ASSET_ID, CERES_ASSET_ID, DAI, DOT, KSM, PSWAP, TBCD, XOR, XST,
PriceVariant, APOLLO_ASSET_ID, CERES_ASSET_ID, DAI, DOT, KSM, PSWAP, VXOR, XOR, XST,
},
currencies::BasicCurrencyAdapter,
frame_support::{
Expand Down Expand Up @@ -125,7 +125,7 @@ parameter_types! {
parameter_types! {
pub const GetNumSamples: usize = 40;
pub const GetBaseAssetId: AssetId = APOLLO_ASSET_ID;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetLiquidityProxyTechAccountId: TechAccountId = {

TechAccountId::from_generic_pair(
Expand Down Expand Up @@ -250,7 +250,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/ceres-governance-platform/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use common::{
balance, fixed, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource,
Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD,
Description, Fixed, CERES_ASSET_ID, PSWAP, VXOR,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, Hooks};
Expand Down Expand Up @@ -98,7 +98,7 @@ impl crate::Config for Runtime {

parameter_types! {
pub const GetBaseAssetId: AssetId = CERES_ASSET_ID;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1);
}

Expand Down Expand Up @@ -164,7 +164,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/ceres-launchpad/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use common::{
balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, mock_vested_rewards_config, AssetName, AssetSymbol, BalancePrecision,
ContentSource, DEXId, DEXInfo, Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD, XOR, XST,
ContentSource, DEXId, DEXInfo, Description, Fixed, CERES_ASSET_ID, PSWAP, VXOR, XOR, XST,
XSTUSD,
};
use currencies::BasicCurrencyAdapter;
Expand Down Expand Up @@ -107,7 +107,7 @@ impl crate::Config for Runtime {

parameter_types! {
pub const GetBaseAssetId: AssetId = XOR;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1);
}
Expand Down Expand Up @@ -209,7 +209,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/ceres-liquidity-locker/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use common::mock::{ExistentialDeposits, GetTradingPairRestrictedFlag};
use common::{
fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, TBCD, XST,
mock_tokens_config, Amount, DEXId, DEXInfo, Fixed, PSWAP, VXOR, XST,
};
use currencies::BasicCurrencyAdapter;

Expand Down Expand Up @@ -84,7 +84,7 @@ construct_runtime! {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1);
}

Expand Down Expand Up @@ -156,7 +156,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/ceres-liquidity-locker/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use common::prelude::{Balance, Fixed};
use common::{
balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config, DEXId, DEXInfo,
TBCD, XOR, XST,
VXOR, XOR, XST,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, Hooks};
Expand Down Expand Up @@ -127,7 +127,7 @@ impl orml_tokens::Config for Runtime {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
}

impl pallet_timestamp::Config for Runtime {
Expand Down Expand Up @@ -177,7 +177,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/ceres-token-locker/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use common::{
balance, fixed, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource,
Description, Fixed, CERES_ASSET_ID, PSWAP, TBCD,
Description, Fixed, CERES_ASSET_ID, PSWAP, VXOR,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, Hooks};
Expand Down Expand Up @@ -98,7 +98,7 @@ impl crate::Config for Runtime {

parameter_types! {
pub const GetBaseAssetId: AssetId = CERES_ASSET_ID;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
}

impl permissions::Config for Runtime {
Expand Down Expand Up @@ -147,7 +147,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/demeter-farming-platform/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use common::{
balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, mock_vested_rewards_config, DEXId, DEXInfo, Fixed, CERES_ASSET_ID,
DEMETER_ASSET_ID, PSWAP, TBCD, XOR, XST,
DEMETER_ASSET_ID, PSWAP, VXOR, XOR, XST,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild};
Expand Down Expand Up @@ -107,7 +107,7 @@ parameter_types! {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1);
pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1);
Expand Down Expand Up @@ -194,7 +194,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/demeter-farming-platform/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use common::{
balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, mock_vested_rewards_config, DEXId, DEXInfo, Fixed, CERES_ASSET_ID,
DEMETER_ASSET_ID, PSWAP, TBCD, XOR, XST, XSTUSD,
DEMETER_ASSET_ID, PSWAP, VXOR, XOR, XST, XSTUSD,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, Hooks};
Expand Down Expand Up @@ -102,7 +102,7 @@ impl demeter_farming_platform::Config for Runtime {

parameter_types! {
pub const GetBaseAssetId: AssetId = XOR;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
pub GetXykIrreducibleReservePercent: Percent = Percent::from_percent(1);
pub GetTbcIrreducibleReservePercent: Percent = Percent::from_percent(1);
Expand Down Expand Up @@ -189,7 +189,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/dex-api/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use common::{
balance, fixed, fixed_from_basis_points, hash, mock_assets_config, mock_common_config,
mock_currencies_config, mock_frame_system_config, mock_pallet_balances_config,
mock_technical_config, mock_tokens_config, Amount, AssetId32, DEXId, DEXInfo, Fixed,
LiquiditySource, LiquiditySourceType, RewardReason, DOT, KSM, PSWAP, TBCD, XOR, XST,
LiquiditySource, LiquiditySourceType, RewardReason, DOT, KSM, PSWAP, VXOR, XOR, XST,
};
use currencies::BasicCurrencyAdapter;
use frame_support::sp_runtime::DispatchError;
Expand Down Expand Up @@ -275,7 +275,7 @@ impl permissions::Config for Runtime {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
}

impl mock_liquidity_source::Config<mock_liquidity_source::Instance1> for Runtime {
Expand Down Expand Up @@ -347,7 +347,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/farming/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use common::{
balance, fixed, hash, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, mock_vested_rewards_config, AssetName, AssetSymbol, DEXId, DEXInfo, Fixed,
DEFAULT_BALANCE_PRECISION, DOT, PSWAP, TBCD, VAL, XOR, XST, XSTUSD,
DEFAULT_BALANCE_PRECISION, DOT, PSWAP, VAL, VXOR, XOR, XST, XSTUSD,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, OnFinalize, OnInitialize, PrivilegeCmp};
Expand Down Expand Up @@ -179,7 +179,7 @@ impl trading_pair::Config for Runtime {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
}

Expand Down Expand Up @@ -223,7 +223,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/hermes-governance-platform/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use common::{
balance, fixed, mock_assets_config, mock_common_config, mock_currencies_config,
mock_frame_system_config, mock_pallet_balances_config, mock_technical_config,
mock_tokens_config, AssetId32, AssetName, AssetSymbol, BalancePrecision, ContentSource,
Description, Fixed, HERMES_ASSET_ID, PSWAP, TBCD,
Description, Fixed, HERMES_ASSET_ID, PSWAP, VXOR,
};
use currencies::BasicCurrencyAdapter;
use frame_support::traits::{Everything, GenesisBuild, Hooks};
Expand Down Expand Up @@ -124,7 +124,7 @@ impl crate::Config for Runtime {

parameter_types! {
pub const GetBaseAssetId: AssetId = HERMES_ASSET_ID;
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
}

impl permissions::Config for Runtime {
Expand Down Expand Up @@ -198,7 +198,7 @@ impl pswap_distribution::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
8 changes: 4 additions & 4 deletions pallets/liquidity-proxy/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ use common::{
mock_technical_config, mock_tokens_config, mock_vested_rewards_config, Amount, AssetId32,
AssetName, AssetSymbol, BalancePrecision, ContentSource, DEXId, DEXInfo, Description, Fixed,
FromGenericPair, LiquidityProxyTrait, LiquiditySourceFilter, LiquiditySourceType,
PriceToolsProvider, PriceVariant, TechPurpose, DEFAULT_BALANCE_PRECISION, DOT, PSWAP, TBCD,
USDT, VAL, XOR, XST,
PriceToolsProvider, PriceVariant, TechPurpose, DEFAULT_BALANCE_PRECISION, DOT, PSWAP, USDT,
VAL, VXOR, XOR, XST,
};
use currencies::BasicCurrencyAdapter;
use hex_literal::hex;
Expand Down Expand Up @@ -170,7 +170,7 @@ impl liquidity_proxy::Config for Runtime {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
}

Expand Down Expand Up @@ -446,7 +446,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = liquidity_proxy::Pallet<Runtime>;
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/liquidity-proxy/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use common::{
mock_pallet_balances_config, mock_technical_config, mock_tokens_config,
mock_vested_rewards_config, Amount, AssetId32, AssetName, AssetSymbol, DEXInfo, Fixed,
FromGenericPair, GetMarketInfo, LiquiditySource, LiquiditySourceType, RewardReason, DAI,
DEFAULT_BALANCE_PRECISION, DOT, ETH, KSM, PSWAP, TBCD, USDT, VAL, XOR, XST, XSTUSD,
DEFAULT_BALANCE_PRECISION, DOT, ETH, KSM, PSWAP, USDT, VAL, VXOR, XOR, XST, XSTUSD,
};
use currencies::BasicCurrencyAdapter;

Expand Down Expand Up @@ -200,7 +200,7 @@ impl Config for Runtime {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
pub GetTBCBuyBackTBCDPercent: Fixed = fixed!(0.025);
}

Expand Down Expand Up @@ -268,7 +268,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
6 changes: 3 additions & 3 deletions pallets/multicollateral-bonding-curve-pool/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use common::{
mock_technical_config, mock_tokens_config, Amount, AssetId32, AssetName, AssetSymbol,
BuyBackHandler, DEXInfo, Fixed, LiquidityProxyTrait, LiquiditySourceFilter,
LiquiditySourceType, PriceVariant, TechPurpose, Vesting, DAI, DEFAULT_BALANCE_PRECISION, PSWAP,
TBCD, USDT, VAL, XOR, XST, XSTUSD,
TBCD, USDT, VAL, VXOR, XOR, XST, XSTUSD,
};
use currencies::BasicCurrencyAdapter;
use frame_support::pallet_prelude::OptionQuery;
Expand Down Expand Up @@ -253,7 +253,7 @@ impl Vesting<AccountId, AssetId> for MockVestedRewards {
}

parameter_types! {
pub const GetBuyBackAssetId: AssetId = TBCD;
pub const GetBuyBackAssetId: AssetId = VXOR;
}

impl permissions::Config for Runtime {
Expand All @@ -264,7 +264,7 @@ impl pswap_distribution::Config for Runtime {
const PSWAP_BURN_PERCENT: Percent = Percent::from_percent(3);
type RuntimeEvent = RuntimeEvent;
type GetIncentiveAssetId = GetIncentiveAssetId;
type GetTBCDAssetId = GetBuyBackAssetId;
type GetBuyBackAssetId = GetBuyBackAssetId;
type LiquidityProxy = ();
type CompatBalance = Balance;
type GetDefaultSubscriptionFrequency = GetDefaultSubscriptionFrequency;
Expand Down
Loading

0 comments on commit 43a2dbe

Please sign in to comment.