@gfxlabs/oku-chains 0.1.0 → 0.1.2

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.
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const scroll: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const polygonZkEvm: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const zkSync: IChainInfo;
@@ -0,0 +1,30 @@
1
+ import { Chain, ChainContract } from 'viem';
2
+ export * from './definitions/';
3
+ export declare const MAINNET_CHAINS: readonly [IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo, IChainInfo];
4
+ export interface IChainInfo extends Chain {
5
+ logoUrl: string;
6
+ sortIndex: number;
7
+ defaultPool: string;
8
+ internalName: string;
9
+ defaultToken0: string;
10
+ defaultToken1: string;
11
+ tokenList: {
12
+ symbol: string;
13
+ address: string;
14
+ }[];
15
+ stables: string[];
16
+ watchlist: string[];
17
+ blockTimeSeconds: number;
18
+ contracts: {
19
+ [key: string]: ChainContract | {
20
+ [chainId: number]: ChainContract;
21
+ };
22
+ } & {
23
+ ensRegistry?: ChainContract;
24
+ ensUniversalResolver?: ChainContract;
25
+ multicall3?: ChainContract;
26
+ nftManager: ChainContract;
27
+ limitOrder?: ChainContract;
28
+ weth9: ChainContract;
29
+ };
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gfxlabs/oku-chains",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -11,6 +11,7 @@
11
11
  "prepack": "yarn build",
12
12
  "semantic-release": "npx semantic-release",
13
13
  "bump": "npm version patch",
14
+ "prepublish": "yarn build",
14
15
  "publish": "npm publish --access=public"
15
16
  },
16
17
  "publishConfig": {
package/readme.md CHANGED
@@ -1 +1,2 @@
1
1
  chain configs
2
+