|
1 | 1 | import { useChain } from '@cosmos-kit/react'; |
2 | 2 | import { isDeliverTxSuccess, StdFee } from '@cosmjs/stargate'; |
3 | 3 |
|
4 | | -import { MsgVote } from 'interchain-react/cosmos/gov/v1beta1/tx'; |
5 | | -import { MsgWithdrawDelegatorReward } from 'interchain-react/cosmos/distribution/v1beta1/tx'; |
6 | | -import { MsgExec, MsgGrant } from 'interchain-react/cosmos/authz/v1beta1/tx'; |
7 | | -import { EncodeObject } from 'interchain-react/types'; |
8 | | -import { SendAuthorization } from 'interchain-react/cosmos/bank/v1beta1/authz'; |
| 4 | +import { MsgVote } from '@interchainjs/react/cosmos/gov/v1beta1/tx'; |
| 5 | +import { MsgWithdrawDelegatorReward } from '@interchainjs/react/cosmos/distribution/v1beta1/tx'; |
| 6 | +import { MsgExec, MsgGrant } from '@interchainjs/react/cosmos/authz/v1beta1/tx'; |
| 7 | +import { EncodeObject } from '@interchainjs/react/types'; |
| 8 | +import { SendAuthorization } from '@interchainjs/react/cosmos/bank/v1beta1/authz'; |
9 | 9 | import { |
10 | 10 | AuthorizationType, |
11 | 11 | StakeAuthorization, |
12 | | -} from 'interchain-react/cosmos/staking/v1beta1/authz'; |
13 | | -import { GenericAuthorization } from 'interchain-react/cosmos/authz/v1beta1/authz'; |
| 12 | +} from '@interchainjs/react/cosmos/staking/v1beta1/authz'; |
| 13 | +import { GenericAuthorization } from '@interchainjs/react/cosmos/authz/v1beta1/authz'; |
14 | 14 |
|
15 | 15 | import { getTokenByChainName, PrettyPermission } from '@/utils'; |
16 | 16 | import { Permission } from '@/configs'; |
17 | 17 | import { useToast, type CustomToast } from './useToast'; |
18 | 18 | import { coin } from '@cosmjs/amino'; |
19 | | -import { MsgSend } from 'interchain-react/cosmos/bank/v1beta1/tx'; |
| 19 | +import { MsgSend } from '@interchainjs/react/cosmos/bank/v1beta1/tx'; |
20 | 20 | import { |
21 | 21 | MsgDelegate, |
22 | 22 | MsgBeginRedelegate, |
23 | 23 | MsgUndelegate, |
24 | | -} from 'interchain-react/cosmos/staking/v1beta1/tx'; |
| 24 | +} from '@interchainjs/react/cosmos/staking/v1beta1/tx'; |
25 | 25 | import dayjs from 'dayjs'; |
26 | 26 |
|
27 | 27 | // ========================================== |
|
0 commit comments