-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
72 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
// Copyright 2023 Parity Technologies (UK) Ltd. | ||
|
||
import type { ApiPromise } from '@polkadot/api'; | ||
import type { XcmBaseArgs } from '../../types'; | ||
|
||
import type { Registry } from '../../registry'; | ||
import type { XcmDirection } from '../../types'; | ||
|
||
export interface PolkadotXcmBaseArgs { | ||
api: ApiPromise; | ||
direction: XcmDirection; | ||
destAddr: string; | ||
assetIds: string[]; | ||
amounts: string[]; | ||
destChainId: string; | ||
xcmVersion: number; | ||
specName: string; | ||
registry: Registry; | ||
} | ||
export type PolkadotXcmBaseArgs = XcmBaseArgs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import type { PolkadotXcmBaseArgs } from '../polkadotXcm/types'; | ||
import type { XcmBaseArgs } from '../../types'; | ||
import type { XcmPalletName } from '../util/establishXcmPallet'; | ||
|
||
export interface XTokensBaseArgs extends PolkadotXcmBaseArgs { | ||
export interface XTokensBaseArgs extends XcmBaseArgs { | ||
xcmPallet: XcmPalletName; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2023 Parity Technologies (UK) Ltd. | ||
|
||
export interface CheckXcmTxInputsOpts { | ||
isForeignAssetsTransfer: boolean; | ||
isLiquidTokenTransfer: boolean; | ||
isPrimaryParachainNativeAsset: boolean; | ||
paysWithFeeDest?: string; | ||
isLimited?: boolean; | ||
weightLimit?: { refTime?: string; proofSize?: string }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters