Skip to content

Commit

Permalink
chore: remove factory flags from token_factory package
Browse files Browse the repository at this point in the history
  • Loading branch information
kerber0x committed May 7, 2024
1 parent 3525240 commit c950a4f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 35 deletions.
12 changes: 2 additions & 10 deletions packages/white-whale-std/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub mod common;

pub mod bonding_manager;
pub mod coin;
pub mod common;
pub mod constants;
pub mod epoch_manager;
pub mod fee;
Expand All @@ -12,14 +12,6 @@ pub mod migrate_guards;
pub mod pool_manager;
pub mod pool_network;
pub mod token_factory;

pub mod bonding_manager;

#[cfg(any(
feature = "token_factory",
feature = "osmosis_token_factory",
feature = "injective"
))]
pub mod tokenfactory;
pub mod traits;
pub mod vault_manager;
Expand Down
12 changes: 0 additions & 12 deletions packages/white-whale-std/src/tokenfactory/burn.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
use std::str::FromStr;

#[cfg(any(
feature = "token_factory",
feature = "osmosis_token_factory",
feature = "injective"
))]
use crate::tokenfactory::common::{create_msg, MsgTypes};
#[allow(unused_imports)]
#[cfg(any(
feature = "token_factory",
feature = "osmosis_token_factory",
feature = "injective"
))]
use crate::tokenfactory::mint::MsgMint;
use anybuf::{Anybuf, Bufany};
use cosmwasm_schema::cw_serde;
#[allow(unused_imports)]
Expand Down
1 change: 0 additions & 1 deletion packages/white-whale-std/src/tokenfactory/common.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[cfg(feature = "token_factory")]
use cosmwasm_schema::cw_serde;
use cosmwasm_std::{CosmosMsg, StdResult};

Expand Down
13 changes: 1 addition & 12 deletions packages/white-whale-std/src/tokenfactory/create_denom.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
/// Returns the MsgCreateDenom Stargate message
#[cfg(any(
feature = "token_factory",
feature = "osmosis_token_factory",
feature = "injective"
))]
use crate::tokenfactory::common::{create_msg, MsgTypes};
use anybuf::{Anybuf, Bufany};
use cosmwasm_schema::cw_serde;
use cosmwasm_std::StdResult;
/// Returns the MsgCreateDenom Stargate message
#[cfg(any(
feature = "token_factory",
feature = "osmosis_token_factory",
feature = "injective"
))]

use cosmwasm_std::{Addr, CosmosMsg};

use crate::tokenfactory::common::EncodeMessage;
Expand Down

0 comments on commit c950a4f

Please sign in to comment.