@gfxlabs/oku-chains 0.0.1 → 0.0.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.
package/dist/index.js CHANGED
@@ -1,6 +1,24 @@
1
1
  'use strict';
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Chains = void 0;
5
- const tslib_1 = require("tslib");
6
- exports.Chains = tslib_1.__importStar(require("./chains/"));
4
+ exports.rootstock = exports.mainnet = exports.polygon = exports.zkSync = exports.filecoin = exports.moonbeam = exports.boba = exports.bsc = exports.arbitrum = exports.optimism = void 0;
5
+ var optimism_js_1 = require("./definitions/optimism.js");
6
+ Object.defineProperty(exports, "optimism", { enumerable: true, get: function () { return optimism_js_1.optimism; } });
7
+ var arbitrum_js_1 = require("./definitions/arbitrum.js");
8
+ Object.defineProperty(exports, "arbitrum", { enumerable: true, get: function () { return arbitrum_js_1.arbitrum; } });
9
+ var bsc_js_1 = require("./definitions/bsc.js");
10
+ Object.defineProperty(exports, "bsc", { enumerable: true, get: function () { return bsc_js_1.bsc; } });
11
+ var boba_js_1 = require("./definitions/boba.js");
12
+ Object.defineProperty(exports, "boba", { enumerable: true, get: function () { return boba_js_1.boba; } });
13
+ var moonbeam_js_1 = require("./definitions/moonbeam.js");
14
+ Object.defineProperty(exports, "moonbeam", { enumerable: true, get: function () { return moonbeam_js_1.moonbeam; } });
15
+ var filecoin_js_1 = require("./definitions/filecoin.js");
16
+ Object.defineProperty(exports, "filecoin", { enumerable: true, get: function () { return filecoin_js_1.filecoin; } });
17
+ var zksync_js_1 = require("./definitions/zksync.js");
18
+ Object.defineProperty(exports, "zkSync", { enumerable: true, get: function () { return zksync_js_1.zkSync; } });
19
+ var polygon_js_1 = require("./definitions/polygon.js");
20
+ Object.defineProperty(exports, "polygon", { enumerable: true, get: function () { return polygon_js_1.polygon; } });
21
+ var mainnet_js_1 = require("./definitions/mainnet.js");
22
+ Object.defineProperty(exports, "mainnet", { enumerable: true, get: function () { return mainnet_js_1.mainnet; } });
23
+ var rootstock_js_1 = require("./definitions/rootstock.js");
24
+ Object.defineProperty(exports, "rootstock", { enumerable: true, get: function () { return rootstock_js_1.rootstock; } });
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const arbitrum: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const boba: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const boba: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const bsc: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const filecoin: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const mainnet: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const moonbeam: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const optimism: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const polygon: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const rootstock: IChainInfo;
@@ -0,0 +1,2 @@
1
+ import { IChainInfo } from '..';
2
+ export declare const zkSync: IChainInfo;
@@ -1 +1,37 @@
1
- export * as Chains from './chains/';
1
+ import { Chain, ChainContract } from 'viem';
2
+ export { optimism } from './definitions/optimism.js';
3
+ export { arbitrum } from './definitions/arbitrum.js';
4
+ export { bsc } from './definitions/bsc.js';
5
+ export { boba } from './definitions/boba.js';
6
+ export { moonbeam } from './definitions/moonbeam.js';
7
+ export { filecoin } from './definitions/filecoin.js';
8
+ export { zkSync } from './definitions/zksync.js';
9
+ export { polygon } from './definitions/polygon.js';
10
+ export { mainnet } from './definitions/mainnet.js';
11
+ export { rootstock } from './definitions/rootstock.js';
12
+ export interface IChainInfo extends Chain {
13
+ logoUrl: string;
14
+ defaultPool: string;
15
+ internalName: string;
16
+ defaultToken0: string;
17
+ defaultToken1: string;
18
+ tokenList: {
19
+ symbol: string;
20
+ address: string;
21
+ }[];
22
+ stables: string[];
23
+ watchlist: string[];
24
+ blockTimeSeconds: number;
25
+ contracts: {
26
+ [key: string]: ChainContract | {
27
+ [chainId: number]: ChainContract;
28
+ };
29
+ } & {
30
+ ensRegistry?: ChainContract;
31
+ ensUniversalResolver?: ChainContract;
32
+ multicall3?: ChainContract;
33
+ nftManager: ChainContract;
34
+ limitOrder?: ChainContract;
35
+ weth9: ChainContract;
36
+ };
37
+ }
package/package.json CHANGED
@@ -1,10 +1,8 @@
1
1
  {
2
2
  "name": "@gfxlabs/oku-chains",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
- "module": "./dist/index-mjs.js",
7
- "browser": "./dist/browser.js",
8
6
  "types": "./dist/types/index.d.ts",
9
7
  "scripts": {
10
8
  "build": "npx rollup -c",