Skip to content

Commit d57704d

Browse files
committed
Update wyndex constant name
1 parent 2b2aace commit d57704d

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

modules/contracts/adapters/cw-staking/tests/stake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use cw_orch::prelude::*;
2121
use speculoos::*;
2222
use wyndex_bundle::{EUR_USD_LP, WYNDEX as WYNDEX_WITHOUT_CHAIN, WYNDEX_OWNER, WYND_TOKEN};
2323

24-
const WYNDEX: &str = "cosmos-testnet>wynd";
24+
const WYNDEX: &str = "cosmos-testnet>wyndex";
2525

2626
use abstract_cw_staking::CW_STAKING;
2727
use common::create_default_account;

modules/contracts/adapters/dex/tests/swap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use cw_orch::prelude::*;
1717
use speculoos::*;
1818
use wyndex_bundle::{EUR, RAW_TOKEN, USD, WYNDEX as WYNDEX_WITHOUT_CHAIN, WYNDEX_OWNER};
1919

20-
const WYNDEX: &str = "cosmos-testnet>wynd";
20+
const WYNDEX: &str = "cosmos-testnet>wyndex";
2121

2222
#[allow(clippy::type_complexity)]
2323
fn setup_mock() -> anyhow::Result<(

modules/contracts/apps/dca/tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ fn create_dca_convert_negative() -> anyhow::Result<()> {
315315
offer_asset = OfferAsset::new(USD, 100_u128),
316316
target_asset = AssetEntry::new(USD),
317317
e = AbstractError::from(StdError::generic_err(
318-
"asset pairing wynd/usd,usd not found in ans_host"
318+
"asset pairing wyndex/usd,usd not found in ans_host"
319319
))
320320
)),
321321
);
@@ -477,7 +477,7 @@ fn update_dca_negative() -> anyhow::Result<()> {
477477
offer_asset = OfferAsset::new(USD, 200_u128),
478478
target_asset = AssetEntry::new(USD),
479479
e = AbstractError::from(StdError::generic_err(
480-
"asset pairing wynd/usd,usd not found in ans_host"
480+
"asset pairing wyndex/usd,usd not found in ans_host"
481481
))
482482
)),
483483
);

modules/packages/bundles/wyndex/src/lib.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ use wyndex::{
2323

2424
use cw20_base::contract::AbstractCw20Base;
2525

26-
pub const STAKING: &str = "wynd:staking";
27-
pub const FACTORY: &str = "wynd:factory";
26+
pub const STAKING: &str = "wyndex:staking";
27+
pub const FACTORY: &str = "wyndex:factory";
2828
pub const WYND_TOKEN: &str = "wynd";
29-
const EUR_USD_PAIR: &str = "wynd:eur_usd_pair";
30-
pub const EUR_USD_STAKE: &str = "wynd:eur_usd_staking";
31-
pub const EUR_USD_LP: &str = "wynd/eur,usd";
32-
const WYND_EUR_PAIR: &str = "wynd:wynd_eur_pair";
33-
pub const WYND_EUR_LP: &str = "wynd/wynd,eur";
29+
const EUR_USD_PAIR: &str = "wyndex:eur_usd_pair";
30+
pub const EUR_USD_STAKE: &str = "wyndex:eur_usd_staking";
31+
pub const EUR_USD_LP: &str = "wyndex/eur,usd";
32+
const WYND_EUR_PAIR: &str = "wyndex:wynd_eur_pair";
33+
pub const WYND_EUR_LP: &str = "wyndex/wynd,eur";
3434
pub const EUR: &str = "eur";
3535
pub const USD: &str = "usd";
36-
pub const WYNDEX: &str = "wynd";
36+
pub const WYNDEX: &str = "wyndex";
3737
pub const WYNDEX_OWNER: &str = "wyndex_owner";
3838
pub const POOL_FACTORY: &str = "pool_factory";
3939
pub const MULTI_HOP: &str = "multi_hop";
4040
pub const RAW_TOKEN: &str = "raw";
41-
pub const RAW_EUR_LP: &str = "wynd/eur,raw";
42-
const RAW_EUR_PAIR: &str = "wynd:eur_raw_pair";
41+
pub const RAW_EUR_LP: &str = "wyndex/eur,raw";
42+
const RAW_EUR_PAIR: &str = "wyndex:eur_raw_pair";
4343

4444
pub struct WynDex {
4545
/// Suite can be used to create new pools and register new rewards.

0 commit comments

Comments
 (0)