Skip to content

Commit

Permalink
Cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Nov 16, 2023
1 parent c0d103c commit e24e507
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions hooks/queries/governancePower.ts
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
import { Connection, Keypair, PublicKey } from '@solana/web3.js'
import {
fetchTokenOwnerRecordByPubkey,
useTokenOwnerRecordByPubkeyQuery,
useUserCommunityTokenOwnerRecord,
useUserCouncilTokenOwnerRecord,
} from './tokenOwnerRecord'
import BN from 'bn.js'
import { fetchNftRegistrar } from './plugins/nftVoter'
import { fetchDigitalAssetsByOwner } from './digitalAssets'
import { getNetworkFromEndpoint } from '@utils/connection'
import { ON_NFT_VOTER_V2 } from '@constants/flags'
import { fetchRealmByPubkey, useRealmQuery } from './realm'
import { fetchRealmConfigQuery } from './realmConfig'
import {
GATEWAY_PLUGINS_PKS,
HELIUM_VSR_PLUGINS_PKS,
NFT_PLUGINS_PKS,
PYTH_PLUGIN_PK,
VSR_PLUGIN_PKS,
} from '@constants/plugins'
import useHeliumVsrStore from 'HeliumVotePlugin/hooks/useHeliumVsrStore'
import useGatewayPluginStore from 'GatewayPlugin/store/gatewayPluginStore'
import { useAsync } from 'react-async-hook'
import { useConnection } from '@solana/wallet-adapter-react'
import useSelectedRealmPubkey from '@hooks/selectedRealm/useSelectedRealmPubkey'
import useUserOrDelegator from '@hooks/useUserOrDelegator'
import {
useAddressQuery_CommunityTokenOwner,
useAddressQuery_CouncilTokenOwner,
} from './addresses/tokenOwnerRecord'
import {
SimpleGatedVoterWeight,
VoteNftWeight,
VoteRegistryVoterWeight,
VoterWeight,
} from '@models/voteWeights'
import { useConnection } from '@solana/wallet-adapter-react'
import { Connection, Keypair, PublicKey } from '@solana/web3.js'
import { getNetworkFromEndpoint } from '@utils/connection'
import useGatewayPluginStore from 'GatewayPlugin/store/gatewayPluginStore'
import useHeliumVsrStore from 'HeliumVotePlugin/hooks/useHeliumVsrStore'
import BN from 'bn.js'
import { useAsync } from 'react-async-hook'
import {
useAddressQuery_CommunityTokenOwner,
useAddressQuery_CouncilTokenOwner,
} from './addresses/tokenOwnerRecord'
import { fetchDigitalAssetsByOwner } from './digitalAssets'
import { fetchNftRegistrar } from './plugins/nftVoter'
import useUserOrDelegator from '@hooks/useUserOrDelegator'
import { getVsrGovpower } from './plugins/vsr'
import { fetchRealmByPubkey, useRealmQuery } from './realm'
import { fetchRealmConfigQuery } from './realmConfig'
import {
fetchTokenOwnerRecordByPubkey,
useTokenOwnerRecordByPubkeyQuery,
useUserCommunityTokenOwnerRecord,
useUserCouncilTokenOwnerRecord,
} from './tokenOwnerRecord'
import { PythClient } from '@pythnetwork/staking'
import { AnchorProvider } from '@coral-xyz/anchor'
import NodeWallet from '@coral-xyz/anchor/dist/cjs/nodewallet'
Expand Down

0 comments on commit e24e507

Please sign in to comment.