Skip to content

Commit

Permalink
Fix importing from quais export file
Browse files Browse the repository at this point in the history
  • Loading branch information
rileystephens28 committed Jun 18, 2024
1 parent 7ed9205 commit dab9c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/contract/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import type { BytesLike } from '../utils/index.js';
import { getZoneForAddress, isQiAddress } from '../utils/index.js';
import type { ContractInterface, ContractMethodArgs, ContractDeployTransaction, ContractRunner } from './types.js';
import type { ContractTransactionResponse } from './wrappers.js';
import { Wallet, randomBytes } from '../quais.js';
import { Wallet } from '../wallet/index.js';
import { randomBytes } from '../crypto/index.js';
import { getContractAddress } from '../address/address.js';
import { getStatic } from '../utils/properties.js';
import { QuaiTransactionRequest } from '../providers/provider.js';
Expand Down
14 changes: 4 additions & 10 deletions src/providers/provider-jsonrpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/ethereum/eth1.0-apis/assembled-spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:splitView%5D=true&uiSchema%5BappBar%5D%5Bui:input%5D=false&uiSchema%5BappBar%5D%5Bui:examplesDropdown%5D=false

import { AbiCoder } from '../abi/index.js';
import { getAddress } from '../address/index.js';
import { getAddress, resolveAddress } from '../address/index.js';
import { accessListify, QuaiTransactionLike } from '../transaction/index.js';
import {
getBigInt,
Expand All @@ -39,15 +39,9 @@ import type { PerformActionRequest, Subscriber, Subscription } from './abstract-
import type { Networkish } from './network.js';
import type { Provider, QuaiTransactionRequest, TransactionRequest, TransactionResponse } from './provider.js';
import { Shard, toShard } from '../constants/index.js';
import {
AbstractSigner,
resolveAddress,
Signer,
toUtf8Bytes,
TypedDataDomain,
TypedDataEncoder,
TypedDataField,
} from '../quais';
import { TypedDataDomain, TypedDataEncoder, TypedDataField } from '../hash/index.js';
import { AbstractSigner, Signer } from '../signers/index.js';
import { toUtf8Bytes } from '../encoding/index.js';
import { addressFromTransactionRequest } from './provider.js';

type Timer = ReturnType<typeof setTimeout>;
Expand Down

0 comments on commit dab9c45

Please sign in to comment.