Skip to content

Commit

Permalink
Improve some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv committed Apr 24, 2024
1 parent e8ee338 commit 2c72b5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 0 additions & 4 deletions packages/protocol-kit/src/contracts/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import SafeProvider from '../SafeProvider'
import { SafeProviderConfig } from '../types'
import CreateCallBaseContract from './CreateCall/CreateCallBaseContract'
import MultiSendBaseContract from './MultiSend/MultiSendBaseContract'
import MultiSendCallOnlyBaseContract from './MultiSend/MultiSendCallOnlyBaseContract'
Expand All @@ -9,8 +7,6 @@ import SignMessageLibBaseContract from './SignMessageLib/SignMessageLibBaseContr

export {
CreateCallBaseContract,
SafeProvider,
SafeProviderConfig,
MultiSendCallOnlyBaseContract,
MultiSendBaseContract,
SafeBaseContract,
Expand Down
8 changes: 3 additions & 5 deletions packages/protocol-kit/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import Safe from './Safe'
import SafeProvider from './SafeProvider'
import {
CreateCallBaseContract,
SafeProvider,
SafeProviderConfig,
MultiSendBaseContract,
MultiSendCallOnlyBaseContract,
SafeBaseContract,
Expand Down Expand Up @@ -72,8 +71,6 @@ export {
DEFAULT_SAFE_VERSION,
DeploySafeProps,
EthSafeSignature,
SafeProvider,
SafeProviderConfig,
MultiSendCallOnlyBaseContract,
MultiSendBaseContract,
PREDETERMINED_SALT_NONCE,
Expand Down Expand Up @@ -109,7 +106,8 @@ export {
getEip712TxTypes,
getEip712MessageTypes,
hashSafeMessage,
generateTypedData
generateTypedData,
SafeProvider
}

export * from './types'
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-kit/src/utils/transactions/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ethers, Interface, getBytes, solidityPacked as solidityPack } from 'ethers'
import SafeProvider from '@safe-global/protocol-kit/SafeProvider'
import { DEFAULT_SAFE_VERSION } from '@safe-global/protocol-kit/contracts/config'
import { StandardizeSafeTransactionDataProps } from '@safe-global/protocol-kit/types'
import { hasSafeFeature, SAFE_FEATURES } from '@safe-global/protocol-kit/utils'
Expand All @@ -14,7 +15,6 @@ import {
} from '@safe-global/safe-core-sdk-types'
import semverSatisfies from 'semver/functions/satisfies'
import { estimateGas, estimateTxGas } from './gas'
import { SafeProvider } from '../..'

export function standardizeMetaTransactionData(
tx: SafeTransactionDataPartial
Expand Down

0 comments on commit 2c72b5e

Please sign in to comment.