Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jun 27, 2023
1 parent f9ad0cf commit 563af2c
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions contracts/provider/external-staking/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
use cosmwasm_std::{
coin, ensure, ensure_eq, from_binary, Addr, Binary, Coin, Decimal, DepsMut, Env, Event, Order,
Response, StdResult, Storage, Uint128, Uint256, WasmMsg,
coin, ensure, ensure_eq, from_binary, to_binary, Addr, Binary, Coin, Decimal, DepsMut, Env,
Event, IbcMsg, Order, Response, StdResult, Storage, Uint128, Uint256, WasmMsg,
};
use cw2::set_contract_version;
use cw_storage_plus::{Bounder, Item, Map};
use cw_utils::PaymentError;

use sylvia::contract;
use sylvia::types::{ExecCtx, InstantiateCtx, QueryCtx};

use mesh_apis::cross_staking_api::{self, CrossStakingApi};
use mesh_apis::ibc::AddValidator;
use mesh_apis::ibc::ProviderPacket;
use mesh_apis::local_staking_api::MaxSlashResponse;
use mesh_apis::vault_api::VaultApiHelper;
use mesh_sync::Lockable;
use mesh_sync::Tx;

use crate::crdt::CrdtState;
use crate::ibc::{packet_timeout, IBC_CHANNEL};
use cosmwasm_std::{to_binary, IbcMsg};
use mesh_apis::ibc::ProviderPacket;

use sylvia::contract;
use sylvia::types::{ExecCtx, InstantiateCtx, QueryCtx};

use crate::error::ContractError;
use crate::ibc::{packet_timeout, IBC_CHANNEL};
use crate::msg::{
AllTxsResponse, AuthorizedEndpointResponse, ConfigResponse, IbcChannelResponse,
ListRemoteValidatorsResponse, PendingRewards, ReceiveVirtualStake, StakeInfo, StakesResponse,
TxResponse,
};
use crate::state::{Config, Distribution, Stake};
use mesh_sync::Tx;

pub const CONTRACT_NAME: &str = env!("CARGO_PKG_NAME");
pub const CONTRACT_VERSION: &str = env!("CARGO_PKG_VERSION");
Expand Down

0 comments on commit 563af2c

Please sign in to comment.