Skip to content

Commit

Permalink
Adjust GLMR amount for fees (#340)
Browse files Browse the repository at this point in the history
* double GLMR fees for wormhole assets

* add changeset
  • Loading branch information
mmaurello authored Sep 3, 2024
1 parent d61e4ba commit 8747171
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-bees-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Increase GLMR sent along for fees
10 changes: 5 additions & 5 deletions packages/config/src/configs/hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const hydrationConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand All @@ -52,7 +52,7 @@ export const hydrationConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand All @@ -67,7 +67,7 @@ export const hydrationConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand All @@ -82,7 +82,7 @@ export const hydrationConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand All @@ -97,7 +97,7 @@ export const hydrationConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand Down
10 changes: 5 additions & 5 deletions packages/config/src/configs/peaq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const peaqConfig = new ChainConfig({
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().assets().account(),
},
Expand All @@ -55,7 +55,7 @@ export const peaqConfig = new ChainConfig({
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().assets().account(),
},
Expand All @@ -71,7 +71,7 @@ export const peaqConfig = new ChainConfig({
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().assets().account(),
},
Expand All @@ -87,7 +87,7 @@ export const peaqConfig = new ChainConfig({
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().assets().account(),
},
Expand All @@ -103,7 +103,7 @@ export const peaqConfig = new ChainConfig({
balance: BalanceBuilder().substrate().assets().account(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().assets().account(),
},
Expand Down
10 changes: 5 additions & 5 deletions packages/config/src/configs/peaqEvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const peaqEvmConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().evm().erc20(),
},
Expand All @@ -48,7 +48,7 @@ export const peaqEvmConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.1,
asset: glmr,
balance: BalanceBuilder().evm().erc20(),
},
Expand All @@ -64,7 +64,7 @@ export const peaqEvmConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().evm().erc20(),
},
Expand All @@ -80,7 +80,7 @@ export const peaqEvmConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().evm().erc20(),
},
Expand All @@ -96,7 +96,7 @@ export const peaqEvmConfig = new ChainConfig({
contract: ContractBuilder().Xtokens().transferMultiCurrencies(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().evm().erc20(),
},
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/configs/pendulum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const pendulumConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/configs/zeitgeist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const zeitgeistConfig = new ChainConfig({
balance: BalanceBuilder().substrate().tokens().accounts(),
destination: moonbeam,
destinationFee: {
amount: 0.04,
amount: 0.08,
asset: glmr,
balance: BalanceBuilder().substrate().tokens().accounts(),
},
Expand Down

0 comments on commit 8747171

Please sign in to comment.