@yodlpay/tokenlists 0.8.19 → 0.8.21

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.
package/dist/abis.d.ts CHANGED
@@ -1,5 +1,27 @@
1
+ import { yodlRouterAbiV01 } from './abis-ts/YodlRouterV0.1.abi';
2
+ import { yodlRouterAbiV02 } from './abis-ts/YodlRouterV0.2.abi';
3
+ import { yodlRouterAbiV03 } from './abis-ts/YodlRouterV0.3.abi';
4
+ import { yodlRouterAbiV04 } from './abis-ts/YodlRouterV0.4.abi';
5
+ import { yodlRouterAbiV05 } from './abis-ts/YodlRouterV0.5.abi';
6
+ import { yodlRouterAbiV06 } from './abis-ts/YodlRouterV0.6.abi';
7
+ import { yodlRouterAbiV07 } from './abis-ts/YodlRouterV0.7.abi';
8
+ import { yodlRouterAbiV08 } from './abis-ts/YodlRouterV0.8.abi';
9
+ import { yodlRouterAbiV09 } from './abis-ts/YodlRouterV0.9.abi';
10
+ export declare type AbiVersion = 'test' | '0.1' | '0.2' | '0.3' | '0.4' | '0.5' | '0.6' | '0.7' | '0.8' | '0.9';
11
+ export declare type RouterAbiMap = {
12
+ test: typeof yodlRouterAbiV03;
13
+ '0.1': typeof yodlRouterAbiV01;
14
+ '0.2': typeof yodlRouterAbiV02;
15
+ '0.3': typeof yodlRouterAbiV03;
16
+ '0.4': typeof yodlRouterAbiV04;
17
+ '0.5': typeof yodlRouterAbiV05;
18
+ '0.6': typeof yodlRouterAbiV06;
19
+ '0.7': typeof yodlRouterAbiV07;
20
+ '0.8': typeof yodlRouterAbiV08;
21
+ '0.9': typeof yodlRouterAbiV09;
22
+ };
1
23
  export declare const YODL_ROUTER_ABIS: {
2
- [key: string]: any;
24
+ [K in AbiVersion]: RouterAbiMap[K];
3
25
  };
4
26
  export declare const CURVE_ROUTER_ABI: ({
5
27
  name: string;
@@ -1,5 +1,5 @@
1
- import { TokenInfo } from "./types";
2
- export declare type TokenInfoChangeKey = Exclude<keyof TokenInfo, "address" | "chainId">;
1
+ import { TokenInfo } from './types';
2
+ export declare type TokenInfoChangeKey = Exclude<keyof TokenInfo, 'address' | 'chainId'>;
3
3
  export declare type TokenInfoChanges = Array<TokenInfoChangeKey>;
4
4
  /**
5
5
  * Differences between a base list and an updated list.
@@ -1,4 +1,4 @@
1
- import { Version } from "./types";
1
+ import { Version } from './types';
2
2
  /**
3
3
  * Enum describing types of version differences
4
4
  */