diff --git a/packages/useink/src/core/contracts/call.ts b/packages/useink/src/core/contracts/call.ts index 380abe8..134a050 100644 --- a/packages/useink/src/core/contracts/call.ts +++ b/packages/useink/src/core/contracts/call.ts @@ -1,3 +1,4 @@ +import { BN } from '../../utils/index.ts'; import { AbiMessage, AccountId, @@ -7,7 +8,6 @@ import { DecodedContractResult, } from '../types/index'; import { decodeCallResult } from './decodeCallResult.ts'; -import { BN } from '@polkadot/util'; export async function call( contract: ContractPromise, diff --git a/packages/useink/src/core/contracts/toContractAbiMessage.ts b/packages/useink/src/core/contracts/toContractAbiMessage.ts index c98ea7d..5aeb9b0 100644 --- a/packages/useink/src/core/contracts/toContractAbiMessage.ts +++ b/packages/useink/src/core/contracts/toContractAbiMessage.ts @@ -1,5 +1,4 @@ -import { AbiMessage, Result } from '../types/index'; -import { ContractPromise } from '@polkadot/api-contract'; +import { AbiMessage, ContractPromise, Result } from '../types/index'; export const toContractAbiMessage = ( contract: ContractPromise,