Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brimigs committed Oct 13, 2023
1 parent 6a0ee5f commit d854ec5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 3 additions & 6 deletions contracts/entry-point/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
use crate::error::ContractError::ReplyIdError;
use crate::reply::{
handle_swap_and_action_request, SWAP_AND_ACTION_REQUEST_REPLY_ID,
};
use crate::execute::execute_axelar_swap_and_action;
use crate::reply::{handle_swap_and_action_request, SWAP_AND_ACTION_REQUEST_REPLY_ID};
use crate::{
error::{ContractError, ContractResult},
execute::{execute_post_swap_action, execute_swap_and_action, execute_user_swap},
query::{query_ibc_transfer_adapter_contract, query_swap_venue_adapter_contract},
state::{BLOCKED_CONTRACT_ADDRESSES, IBC_TRANSFER_CONTRACT_ADDRESS, SWAP_VENUE_MAP},
};
use cosmwasm_std::{
entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Reply, Response,
StdResult,
entry_point, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Reply, Response, StdResult,
};
use skip::entry_point::{ExecuteMsg, InstantiateMsg, QueryMsg};
use crate::execute::execute_axelar_swap_and_action;

///////////////////
/// INSTANTIATE ///
Expand Down
9 changes: 6 additions & 3 deletions contracts/entry-point/src/execute.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
use crate::reply::{SwapActionTempStorage, SWAP_AND_ACTION_REQUEST_REPLY_ID};
use crate::state::SWAP_AND_ACTION_REQUEST_TEMP_STORAGE;
use crate::{
error::{ContractError, ContractResult},
state::{BLOCKED_CONTRACT_ADDRESSES, IBC_TRANSFER_CONTRACT_ADDRESS, SWAP_VENUE_MAP},
};
use cosmwasm_std::{to_binary, Addr, BankMsg, Coin, DepsMut, Env, MessageInfo, Response, Uint128, WasmMsg, SubMsg, CosmosMsg};
use cosmwasm_std::{
to_binary, Addr, BankMsg, Coin, CosmosMsg, DepsMut, Env, MessageInfo, Response, SubMsg,
Uint128, WasmMsg,
};
use cw_utils::one_coin;
use skip::{
entry_point::{Action, Affiliate, ExecuteMsg},
Expand All @@ -12,8 +17,6 @@ use skip::{
SwapExactCoinOut,
},
};
use crate::reply::{SWAP_AND_ACTION_REQUEST_REPLY_ID, SwapActionTempStorage};
use crate::state::SWAP_AND_ACTION_REQUEST_TEMP_STORAGE;

///////////////////////////
/// EXECUTE ENTRYPOINTS ///
Expand Down

0 comments on commit d854ec5

Please sign in to comment.