mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 23:51:01 +00:00
BN type imports (#479)
This commit is contained in:
@@ -1,14 +1,13 @@
|
|||||||
// Copyright 2017-2021 @polkadot/ui-keyring authors & contributors
|
// Copyright 2017-2021 @polkadot/ui-keyring authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import type BN from 'bn.js';
|
||||||
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@polkadot/keyring/types';
|
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@polkadot/keyring/types';
|
||||||
import type { EncryptedJson } from '@polkadot/util-crypto/json/types';
|
import type { EncryptedJson } from '@polkadot/util-crypto/json/types';
|
||||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||||
import type { AddressSubject, SingleAddress } from './observable/types';
|
import type { AddressSubject, SingleAddress } from './observable/types';
|
||||||
import type { CreateResult, KeyringAddress, KeyringAddressType, KeyringItemType, KeyringJson, KeyringJson$Meta, KeyringOptions, KeyringPairs$Json, KeyringStruct } from './types';
|
import type { CreateResult, KeyringAddress, KeyringAddressType, KeyringItemType, KeyringJson, KeyringJson$Meta, KeyringOptions, KeyringPairs$Json, KeyringStruct } from './types';
|
||||||
|
|
||||||
import BN from 'bn.js';
|
|
||||||
|
|
||||||
import { createPair } from '@polkadot/keyring/pair';
|
import { createPair } from '@polkadot/keyring/pair';
|
||||||
import { chains } from '@polkadot/ui-settings/defaults/chains';
|
import { chains } from '@polkadot/ui-settings/defaults/chains';
|
||||||
import { bnToBn, hexToU8a, isHex, isString, stringToU8a, u8aSorted, u8aToString } from '@polkadot/util';
|
import { bnToBn, hexToU8a, isHex, isString, stringToU8a, u8aSorted, u8aToString } from '@polkadot/util';
|
||||||
|
|||||||
Reference in New Issue
Block a user