Skip to content

Commit af2f4bc

Browse files
committed
Merge remote-tracking branch 'origin/main' into release-0.21
2 parents e1748d2 + da4a029 commit af2f4bc

5 files changed

Lines changed: 1765 additions & 229 deletions

File tree

modules/contracts/adapters/dex/src/api.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
use crate::DEX_ADAPTER_ID;
12
use abstract_core::objects::{module::ModuleId, AnsAsset, AssetEntry, PoolAddress};
3+
use abstract_dex_standard::msg::GenerateMessagesResponse;
24
use abstract_dex_standard::{
35
ans_action::DexAnsAction,
46
msg::{DexExecuteMsg, DexName, DexQueryMsg, SimulateSwapResponse},
@@ -12,10 +14,6 @@ use cosmwasm_schema::serde::de::DeserializeOwned;
1214
use cosmwasm_std::{CosmosMsg, Decimal, Deps};
1315
use cw_asset::{Asset, AssetInfo, AssetInfoBase};
1416

15-
use crate::msg::GenerateMessagesResponse;
16-
17-
use crate::DEX_ADAPTER_ID;
18-
1917
use self::{ans::AnsDex, raw::Dex};
2018

2119
// API for Abstract SDK users

schema/dex/0.20.0/adapter_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"description": "The pool on which the swap was simulated",
3030
"allOf": [
3131
{
32-
"$ref": "#/definitions/DexAssetPairing"
32+
"$ref": "#/definitions/DexAssetPairing_for_AssetEntry"
3333
}
3434
]
3535
},
@@ -64,7 +64,7 @@
6464
"description": "An unchecked ANS asset entry. This is a string that is formatted as `src_chain>[intermediate_chain>]asset_name`",
6565
"type": "string"
6666
},
67-
"DexAssetPairing": {
67+
"DexAssetPairing_for_AssetEntry": {
6868
"description": "The key for an asset pairing Consists of the two assets and the dex name TODO: what if we made keys equal based on the two assets either way?",
6969
"type": "array",
7070
"items": [

0 commit comments

Comments
 (0)