@uniswap/token-list-bridge-utils 1.1.0 → 1.2.0

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.
@@ -7,5 +7,6 @@ export declare enum ChainId {
7
7
  OPTIMISTIC_KOVAN = 69,
8
8
  POLYGON = 137,
9
9
  POLYGON_MUMBAI = 80001,
10
- CELO = 42220
10
+ CELO = 42220,
11
+ BNB = 56
11
12
  }
@@ -3,3 +3,4 @@ export declare const DAI: Token;
3
3
  export declare const DAI_ARBITRUM_ONE: Token;
4
4
  export declare const DAI_OPTIMISM: Token;
5
5
  export declare const DAI_POLYGON: Token;
6
+ export declare const DAI_BNB: Token;
@@ -1,29 +1,7 @@
1
1
  export interface PolygonMappedToken {
2
- chainId: number;
3
- child_address_passed_by_user: boolean;
4
- child_token: string;
5
- count: number;
6
- created_at: string;
7
- decimals: number;
8
- deleted: boolean;
9
- id: number;
10
- map_type: 'POS';
11
- mintable: boolean;
12
- name: string;
13
- new_child_token: string;
14
- new_mintable: boolean;
15
- owner: string;
16
- reason: string;
17
- reason_for_remapping: string;
18
- remapping_allowed: boolean;
19
- remapping_request_submitted: boolean;
20
- remapping_verified: boolean;
21
- root_token: string;
22
- status: number;
23
- symbol: string;
24
- token_type: string;
25
- updated_at: string;
26
- uri: string;
2
+ rootToken: string;
3
+ childToken: string;
4
+ isPos?: boolean;
27
5
  }
28
6
  export declare type GenericMappedTokenData = {
29
7
  [key: string]: string | undefined;
@@ -22,6 +22,15 @@ export declare const polygonedSampleTokenList: {
22
22
  tags?: import("@uniswap/token-lists").Tags | undefined;
23
23
  logoURI?: string | undefined;
24
24
  };
25
+ export declare const bnbedSampleTokenList: {
26
+ name: string;
27
+ tokens: TokenInfo[];
28
+ timestamp: string;
29
+ version: import("@uniswap/token-lists").Version;
30
+ keywords?: string[] | undefined;
31
+ tags?: import("@uniswap/token-lists").Tags | undefined;
32
+ logoURI?: string | undefined;
33
+ };
25
34
  export declare const optimizedSampleTokenList: {
26
35
  name: string;
27
36
  tokens: TokenInfo[];
@@ -0,0 +1,5 @@
1
+ import { MappingProvider } from './MappingProvider';
2
+ import { GenericMappedTokenData } from '../constants/types';
3
+ export declare class BnbMappingProvider implements MappingProvider {
4
+ provide(): Promise<GenericMappedTokenData>;
5
+ }