@dodoex/api 3.0.0-beta.1 → 3.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,5 +14,6 @@ export declare enum ChainId {
14
14
  LINEA = 59144,
15
15
  SCROLL = 534352,
16
16
  MANTA = 169,
17
- MANTLE = 5000
17
+ MANTLE = 5000,
18
+ DODO_CHAIN_TESTNET = 53457
18
19
  }
@@ -14,5 +14,6 @@ export declare enum ChainId {
14
14
  LINEA = 59144,
15
15
  SCROLL = 534352,
16
16
  MANTA = 169,
17
- MANTLE = 5000
17
+ MANTLE = 5000,
18
+ DODO_CHAIN_TESTNET = 53457
18
19
  }
@@ -5,7 +5,9 @@ import { ChainId } from '../../chainConfig';
5
5
  import { ABIName } from './abi/abiName';
6
6
  import type { Query } from './type';
7
7
  import { Interface } from '@ethersproject/abi';
8
+ import { BatchProvider } from './batchProvider';
8
9
  import BigNumber from 'bignumber.js';
10
+ export declare const CONTRACT_QUERY_KEY = "contract-query";
9
11
  export type { Query } from './type';
10
12
  export { ABIName } from './abi/abiName';
11
13
  declare type ContractInterface = Exclude<ContractInterfaceSource, Interface>;
@@ -31,7 +33,7 @@ export default class ContractRequests {
31
33
  setRpc(rpc: ContractRequestsConfig['rpc']): void;
32
34
  setGetConfigProvider(getProvider: ContractRequestsConfig['getProvider']): void;
33
35
  getProvider(chainId: number): JsonRpcProvider;
34
- getBatchProvider(chainId: number): JsonRpcProvider;
36
+ getBatchProvider(chainId: number): BatchProvider;
35
37
  /**
36
38
  * Create ContractRequests of the same configuration.
37
39
  * Updating the configuration of the current ContractRequests will also update the created ContractRequests.