Skip to content

Commit

Permalink
Merge branch 'main' into feat/pdex-support-for-moonbeam
Browse files Browse the repository at this point in the history
  • Loading branch information
ap211unitech committed Jun 4, 2024
2 parents 9cd3670 + 5d0c9c4 commit eb8f75b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions packages/thea/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @polkadex/thea

## 5.5.1

### Patch Changes

- 02a8dda: Added destination fees for XCM transactions

## 5.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/thea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"license": "GPL-3.0-only",
"version": "5.5.0",
"version": "5.5.1",
"files": [
"dist/**"
],
Expand Down
16 changes: 8 additions & 8 deletions packages/thea/src/config/substrate/config/polkadex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const toPhala: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: phala,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0.064296,
asset: pha,
balance: BalanceBuilder().substrate().system().account(),
},
Expand All @@ -200,7 +200,7 @@ const toMoonbeam: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0.0035,
asset: glmr,
balance: BalanceBuilder().substrate().system().account(),
},
Expand Down Expand Up @@ -245,7 +245,7 @@ const toUnique: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: unique,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0,
asset: unq,
balance: BalanceBuilder().substrate().system().account(),
},
Expand All @@ -269,9 +269,9 @@ const toInterlay: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: interlay,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0.00000063,
asset: ibtc,
balance: BalanceBuilder().substrate().system().account(),
balance: BalanceBuilder().substrate().tokens().accounts(),
},
extrinsic: ExtrinsicBuilderV2()
.theaExecuter()
Expand All @@ -293,7 +293,7 @@ const toBifrost: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: bifrost,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0.000563136,
asset: bnc,
balance: BalanceBuilder().substrate().system().account(),
},
Expand All @@ -315,9 +315,9 @@ const toBifrost: AssetConfig[] = [
balance: BalanceBuilder().substrate().assets().account(),
destination: bifrost,
destinationFee: {
amount: 0, // TODO: Change it later
amount: 0.00000007,
asset: vdot,
balance: BalanceBuilder().substrate().system().account(),
balance: BalanceBuilder().substrate().tokens().accounts(),
},
extrinsic: ExtrinsicBuilderV2()
.theaExecuter()
Expand Down

0 comments on commit eb8f75b

Please sign in to comment.