Skip to content

Commit

Permalink
fix: update types for xtokens
Browse files Browse the repository at this point in the history
[only @mangata-finance/sdk]
  • Loading branch information
devdanco committed Dec 13, 2023
1 parent 931f481 commit 5bf0e8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/sdk/src/types/xTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
Prettify
} from "./common";
import { Merge, Except } from "type-fest";
import { StagingXcmVersionedMultiAsset, StagingXcmVersionedMultiLocation, StagingXcmVersionedMultiAssets, StagingXcmV3WeightLimit } from "@polkadot/types/lookup"
import { XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmVersionedMultiAssets, XcmV3WeightLimit } from "@polkadot/types/lookup"

export type XcmTxOptions = Partial<
Omit<TxOptions, "statusCallback" | "extrinsicStatus">
>;

export type Deposit<A = string | Uint8Array | StagingXcmVersionedMultiAsset | { V2: any; } | { V3: any; }, D = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, W = StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array> = Prettify<
export type Deposit<A = string | Uint8Array | XcmVersionedMultiAsset | { V2: any; } | { V3: any; }, D = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array, W = XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array> = Prettify<
Merge<
ExtrinsicCommon,
{
Expand Down Expand Up @@ -45,11 +45,11 @@ export type MoonriverWithdraw = Merge<
>;

export type RelayDeposit<
A = StagingXcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array,
D = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
A = XcmVersionedMultiAssets | { V2: any } | { V3: any } | string | Uint8Array,
D = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
F = number,
B = StagingXcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
W = StagingXcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array
B = XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array,
W = XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array
> = Prettify<
Merge<
ExtrinsicCommon,
Expand Down

0 comments on commit 5bf0e8a

Please sign in to comment.