Skip to content

Commit

Permalink
finish removing unused exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Rihyx committed Nov 22, 2024
1 parent 5fc3dd3 commit 602e53c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/mrl/src/getTransferData/getTransferData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
getMrlMin,
} from './getTransferData.utils';

export interface GetTransferDataParams {
interface GetTransferDataParams {
route: MrlAssetRoute;
sourceAddress: string;
destinationAddress: string;
Expand Down
6 changes: 2 additions & 4 deletions packages/mrl/src/getTransferData/getTransferData.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const MOON_CHAIN_AUTOMATIC_GAS_ESTIMATION = {
[moonbaseAlpha.key]: 1470417n,
};

export interface DataParams {
interface DataParams {
destinationData: DestinationChainTransferData;
moonChainData: MoonChainTransferData;
sourceData: SourceTransferData;
Expand Down Expand Up @@ -199,9 +199,7 @@ async function getTransact(params: MrlBuilderParams): Promise<Transact> {
};
}

export async function getMoonGasLimit(
params: MrlBuilderParams,
): Promise<bigint> {
async function getMoonGasLimit(params: MrlBuilderParams): Promise<bigint> {
const { asset, isAutomatic, moonChain, source, sourceAddress } = params;

if (!EvmParachain.isAnyParachain(source)) {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/getTransferData/getTransferData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
validateSovereignAccountBalances,
} from './getTransferData.utils';

export interface GetTransferDataParams {
interface GetTransferDataParams {
route: AssetRoute;
sourceAddress: string;
destinationAddress: string;
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion packages/types/src/chain/Chain.utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type Chain, defineChain } from 'viem';
import type { ChainAsset } from '../asset';

export interface GetViemChainParams {
interface GetViemChainParams {
id: number;
name: string;
nativeAsset: ChainAsset;
Expand Down

0 comments on commit 602e53c

Please sign in to comment.