diff --git a/contracts/token-contracts/cw-hub-bnusd/src/constants.rs b/contracts/token-contracts/cw-hub-bnusd/src/constants.rs index 8c37fd6..a205778 100644 --- a/contracts/token-contracts/cw-hub-bnusd/src/constants.rs +++ b/contracts/token-contracts/cw-hub-bnusd/src/constants.rs @@ -1,4 +1,3 @@ - use cosmwasm_std::Uint128; pub const X_CROSS_TRANSFER: &str = "xCrossTransfer"; diff --git a/contracts/token-contracts/cw-hub-bnusd/src/contract.rs b/contracts/token-contracts/cw-hub-bnusd/src/contract.rs index 60ce385..c1699c4 100644 --- a/contracts/token-contracts/cw-hub-bnusd/src/contract.rs +++ b/contracts/token-contracts/cw-hub-bnusd/src/contract.rs @@ -1,8 +1,8 @@ use std::str::FromStr; use crate::constants::{ - TOKEN_DECIMALS, TOKEN_NAME, TOKEN_SYMBOL, TOKEN_TOTAL_SUPPLY, - X_CROSS_TRANSFER, X_CROSS_TRANSFER_REVERT, + TOKEN_DECIMALS, TOKEN_NAME, TOKEN_SYMBOL, TOKEN_TOTAL_SUPPLY, X_CROSS_TRANSFER, + X_CROSS_TRANSFER_REVERT, }; use crate::error::ContractError; use crate::state::{ @@ -13,7 +13,8 @@ use cw_common::network_address::IconAddressValidation; #[cfg(not(feature = "library"))] use cosmwasm_std::entry_point; use cosmwasm_std::{ - to_binary, Addr, Binary, Deps, DepsMut, Empty, Env, MessageInfo, QueryRequest, Response, StdResult, WasmQuery, + to_binary, Addr, Binary, Deps, DepsMut, Empty, Env, MessageInfo, QueryRequest, Response, + StdResult, WasmQuery, }; use cw2::set_contract_version; @@ -161,7 +162,6 @@ pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { } } - #[cfg_attr(not(feature = "library"), entry_point)] pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result { set_contract_version(deps.storage, CONTRACT_NAME, CONTRACT_VERSION) @@ -170,12 +170,11 @@ pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result