Skip to content

Commit abe4a19

Browse files
committed
fix things
1 parent 35e10b0 commit abe4a19

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/neutron-sdk/src/stargate/dex/query.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const POOL_QUERY_PATH: &str = "/neutron.dex.Query/Pool";
4848
const POOL_BY_ID_QUERY_PATH: &str = "/neutron.dex.Query/PoolByID";
4949
const POOL_METADATA_QUERY_PATH: &str = "/neutron.dex.Query/PoolMetadata";
5050
const POOL_METADATA_ALL_QUERY_PATH: &str = "/neutron.dex.Query/PoolMetadataAll";
51-
const SIMULATE_PLACE_LIMIT_ORDER__QUERY_PATH: &str = "/neutron.dex.Query/SimulatePlaceLimitOrder";
51+
const SIMULATE_PLACE_LIMIT_ORDER_QUERY_PATH: &str = "/neutron.dex.Query/SimulatePlaceLimitOrder";
5252
const SIMULATE_MULTI_HOP_SWAP_QUERY_PATH: &str = "/neutron.dex.Query/SimulateMultiHopSwap";
5353

5454
/// Queries the parameters of the module.
@@ -248,7 +248,7 @@ pub fn get_pool_metadata_all(
248248

249249

250250
/// Simulate Place Limit Order
251-
pub fn simulate_place_place_order(
251+
pub fn get_simulate_place_order(
252252
deps: Deps,
253253
req: SimulatePlaceLimitOrderRequest,
254254
) -> StdResult<SimulatePlaceLimitOrderResponse> {
@@ -260,7 +260,7 @@ pub fn simulate_place_place_order(
260260
}
261261

262262
/// Simulate MultiHopSwap
263-
pub fn simulate_multi_hop_swap(
263+
pub fn get_simulate_multi_hop_swap(
264264
deps: Deps,
265265
req: SimulateMultiHopSwapRequest,
266266
) -> StdResult<SimulateMultiHopSwapResponse> {

packages/neutron-sdk/src/stargate/dex/types.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ pub struct SimulatePlaceLimitOrderRequest {
697697

698698
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
699699
pub struct SimulatePlaceLimitOrderResponse{
700-
resp: PlaceLimitOrderResponse
700+
pub resp: PlaceLimitOrderResponse
701701
}
702702

703703
impl From<SimulatePlaceLimitOrderRequest> for QuerySimulatePlaceLimitOrderRequest {
@@ -738,7 +738,7 @@ pub struct SimulateMultiHopSwapRequest{
738738

739739
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
740740
pub struct SimulateMultiHopSwapResponse{
741-
resp: MultiHopSwapResponse
741+
pub resp: MultiHopSwapResponse
742742
}
743743

744744
impl From<SimulateMultiHopSwapRequest> for QuerySimulateMultiHopSwapRequest {

0 commit comments

Comments
 (0)