Skip to content

Commit

Permalink
add ldot bridge for hyda acala (#133)
Browse files Browse the repository at this point in the history
* add lodt bridge for hyda acala

* version
  • Loading branch information
qiweiii committed Jun 17, 2024
1 parent e56a0ec commit 78d4df2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
"jest": "^28.1.1",
"typescript": "^4.7.4"
},
"stableVersion": "0.1.7-3"
"stableVersion": "0.1.7-4"
}
7 changes: 7 additions & 0 deletions src/adapters/acala/acala-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ export const acalaRouteConfigs = createRouteConfigs("acala", [
fee: { token: "WBTC", amount: "6" },
},
},
{
to: "hydradx",
token: "LDOT",
xcm: {
fee: { token: "LDOT", amount: "11516111" },
},
},
{
to: "unique",
token: "UNQ",
Expand Down
14 changes: 14 additions & 0 deletions src/adapters/hydradx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,13 @@ export const hydradxRoutersConfig = createRouteConfigs("hydradx", [
fee: { token: "WBTC", amount: "4" },
},
},
{
to: "acala",
token: "LDOT",
xcm: {
fee: { token: "LDOT", amount: "7143397" },
},
},
{
to: "interlay",
token: "HDX",
Expand Down Expand Up @@ -313,6 +320,13 @@ export const hydradxTokensConfig: Record<string, ExtendedToken> = {
ed: "17540000",
toRaw: () => 5,
},
LDOT: {
name: "LDOT",
symbol: "LDOT",
decimals: 10,
ed: "100200401",
toRaw: () => 1000100,
},
DAI: {
name: "DAI",
symbol: "DAI",
Expand Down

0 comments on commit 78d4df2

Please sign in to comment.