Skip to content

Commit

Permalink
Move tBTC related types to separate file
Browse files Browse the repository at this point in the history
Moved, updated imports
  • Loading branch information
kpyszkowski committed Nov 8, 2023
1 parent d51cbfc commit 8196b10
Show file tree
Hide file tree
Showing 7 changed files with 367 additions and 336 deletions.
2 changes: 1 addition & 1 deletion src/components/tBTC/BridgeActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
BridgeActivityStatus,
BridgeActivity as BridgeActivityType,
UnmintBridgeActivityAdditionalData,
} from "../../threshold-ts/tbtc"
} from "../../threshold-ts/types/tbtc"
import emptyHistoryImageSrcDark from "../../static/images/tBTC-bridge-no-history-dark.svg"
import emptyHistoryImageSrcLight from "../../static/images/tBTC-bridge-no-history-light.svg"
import { InlineTokenBalance } from "../TokenBalance"
Expand Down
4 changes: 2 additions & 2 deletions src/pages/tBTC/Bridge/Unmint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ import { useModal } from "../../../hooks/useModal"
import { UnmintDetails } from "./UnmintDetails"
import { UnmintingCard } from "./UnmintingCard"
import { featureFlags } from "../../../constants"
import { RedemptionWalletData } from "../../../threshold-ts/tbtc"
import { UnspentTransactionOutputPlainObject } from "../../../types/tbtc"
import { UnspentTransactionOutputPlainObject } from "../../../types"
import { RedemptionWalletData } from "../../../threshold-ts/types/tbtc"
import { BridgeProcessEmptyState } from "./components/BridgeProcessEmptyState"

const UnmintFormPage: PageComponent = ({}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/store/tbtc/tbtcSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
BridgeActivityStatus,
BridgeActivity,
UnmintBridgeActivityAdditionalData,
} from "../../threshold-ts/tbtc"
} from "../../threshold-ts/types/tbtc"
import { featureFlags } from "../../constants"
import { startAppListening } from "../listener"
import {
Expand Down
3 changes: 2 additions & 1 deletion src/threshold-ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { MultiAppStaking } from "./mas"
import { IMulticall, Multicall } from "./multicall"
import { IStaking, Staking } from "./staking"
import { ITBTC, TBTC } from "./tbtc"
import { TBTC } from "./tbtc"
import { ThresholdConfig } from "./types"
import { ITBTC } from "./types/tbtc"
import { IVendingMachines, VendingMachines } from "./vending-machine"

export class Threshold {
Expand Down
Loading

0 comments on commit 8196b10

Please sign in to comment.