@gfxlabs/oku-chains 1.1.19 → 1.1.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/browser.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('viem/chains')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'viem/chains'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.viem_chains));
5
- })(this, (function (exports, chains) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('viem/chains'), require('viem')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'viem/chains', 'viem'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["oku-chains"] = {}, global.viem_chains, global.viem));
5
+ })(this, (function (exports, chains, viem) { 'use strict';
6
6
 
7
7
  const makeConfig = (x) => {
8
8
  return x;
@@ -1734,6 +1734,67 @@
1734
1734
  },
1735
1735
  });
1736
1736
 
1737
+ const seitestnet = makeConfig({
1738
+ ...chains.seiDevnet,
1739
+ blockTimeSeconds: .5,
1740
+ sortIndex: 17,
1741
+ logoUrl: "https://assets.oku.trade/sei-logo.webp",
1742
+ safeReorgDistance: 90000,
1743
+ externalId: {},
1744
+ uniswap: {
1745
+ deployBlock: 16206422,
1746
+ poolFactory: "0x32CB2e76E80B2A8abc968985B23408E2D5885341",
1747
+ multicall2: "0x474bD11F7777d0a1EE0B7c0bb48Acd9244A2afCE",
1748
+ tickLens: "0x09E6a35D9c4d6fA4257aeE015793Cd5Cbf8fa6D8",
1749
+ nonfungiblePositionManager: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1750
+ positionsNFT: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1751
+ positionsNFTDeployBlock: 16206612,
1752
+ universalRouter: "0x61a27a55f72bbCba64554246BCE2da43C164543B",
1753
+ },
1754
+ token: {
1755
+ usdcAddress: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1756
+ wethAddress: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1757
+ },
1758
+ oku: {
1759
+ limitOrderRegistry: viem.zeroAddress,
1760
+ limitOrderRegistryDeployBlock: 0,
1761
+ pricing: {
1762
+ nativeWrappedToken: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1763
+ nativeWrappedName: "SEI",
1764
+ },
1765
+ },
1766
+ defaultPool: viem.zeroAddress,
1767
+ defaultToken0: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1768
+ defaultToken1: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1769
+ tokenList: [
1770
+ { symbol: "WSEI", address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330" },
1771
+ { symbol: "USDC", address: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C" },
1772
+ ],
1773
+ stables: [
1774
+ "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1775
+ ],
1776
+ watchlist: [],
1777
+ internalName: "seitestnet",
1778
+ contracts: {
1779
+ ...chains.seiDevnet.contracts,
1780
+ limitOrder: {
1781
+ address: viem.zeroAddress,
1782
+ },
1783
+ nftManager: {
1784
+ address: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1785
+ },
1786
+ weth9: {
1787
+ address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1788
+ },
1789
+ multicall2: {
1790
+ address: "0x58A80812EDC79CE80eeF0c9940528f57CafFe2a2",
1791
+ },
1792
+ multicall3: {
1793
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1794
+ },
1795
+ },
1796
+ });
1797
+
1737
1798
  const polygonZkEvm = makeConfig({
1738
1799
  ...chains.polygonZkEvm,
1739
1800
  sortIndex: 6,
@@ -1895,6 +1956,7 @@
1895
1956
  zkSync,
1896
1957
  manta,
1897
1958
  linea,
1959
+ seitestnet,
1898
1960
  ];
1899
1961
 
1900
1962
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -1913,6 +1975,7 @@
1913
1975
  exports.polygonZkEvm = polygonZkEvm;
1914
1976
  exports.rootstock = rootstock;
1915
1977
  exports.scroll = scroll;
1978
+ exports.seitestnet = seitestnet;
1916
1979
  exports.zkSync = zkSync;
1917
1980
 
1918
1981
  }));
package/dist/index-mjs.js CHANGED
@@ -1,4 +1,5 @@
1
- import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, linea as linea$1, mainnet as mainnet$1, manta as manta$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
1
+ import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, linea as linea$1, mainnet as mainnet$1, manta as manta$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, seiDevnet, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
2
+ import { zeroAddress } from 'viem';
2
3
 
3
4
  const makeConfig = (x) => {
4
5
  return x;
@@ -1730,6 +1731,67 @@ const scroll = makeConfig({
1730
1731
  },
1731
1732
  });
1732
1733
 
1734
+ const seitestnet = makeConfig({
1735
+ ...seiDevnet,
1736
+ blockTimeSeconds: .5,
1737
+ sortIndex: 17,
1738
+ logoUrl: "https://assets.oku.trade/sei-logo.webp",
1739
+ safeReorgDistance: 90000,
1740
+ externalId: {},
1741
+ uniswap: {
1742
+ deployBlock: 16206422,
1743
+ poolFactory: "0x32CB2e76E80B2A8abc968985B23408E2D5885341",
1744
+ multicall2: "0x474bD11F7777d0a1EE0B7c0bb48Acd9244A2afCE",
1745
+ tickLens: "0x09E6a35D9c4d6fA4257aeE015793Cd5Cbf8fa6D8",
1746
+ nonfungiblePositionManager: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1747
+ positionsNFT: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1748
+ positionsNFTDeployBlock: 16206612,
1749
+ universalRouter: "0x61a27a55f72bbCba64554246BCE2da43C164543B",
1750
+ },
1751
+ token: {
1752
+ usdcAddress: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1753
+ wethAddress: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1754
+ },
1755
+ oku: {
1756
+ limitOrderRegistry: zeroAddress,
1757
+ limitOrderRegistryDeployBlock: 0,
1758
+ pricing: {
1759
+ nativeWrappedToken: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1760
+ nativeWrappedName: "SEI",
1761
+ },
1762
+ },
1763
+ defaultPool: zeroAddress,
1764
+ defaultToken0: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1765
+ defaultToken1: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1766
+ tokenList: [
1767
+ { symbol: "WSEI", address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330" },
1768
+ { symbol: "USDC", address: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C" },
1769
+ ],
1770
+ stables: [
1771
+ "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1772
+ ],
1773
+ watchlist: [],
1774
+ internalName: "seitestnet",
1775
+ contracts: {
1776
+ ...seiDevnet.contracts,
1777
+ limitOrder: {
1778
+ address: zeroAddress,
1779
+ },
1780
+ nftManager: {
1781
+ address: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1782
+ },
1783
+ weth9: {
1784
+ address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1785
+ },
1786
+ multicall2: {
1787
+ address: "0x58A80812EDC79CE80eeF0c9940528f57CafFe2a2",
1788
+ },
1789
+ multicall3: {
1790
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1791
+ },
1792
+ },
1793
+ });
1794
+
1733
1795
  const polygonZkEvm = makeConfig({
1734
1796
  ...polygonZkEvm$1,
1735
1797
  sortIndex: 6,
@@ -1891,6 +1953,7 @@ const MAINNET_CHAINS = [
1891
1953
  zkSync,
1892
1954
  manta,
1893
1955
  linea,
1956
+ seitestnet,
1894
1957
  ];
1895
1958
 
1896
- export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
1959
+ export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, seitestnet, zkSync };
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chains = require('viem/chains');
4
+ var viem = require('viem');
4
5
 
5
6
  const makeConfig = (x) => {
6
7
  return x;
@@ -1732,6 +1733,67 @@ const scroll = makeConfig({
1732
1733
  },
1733
1734
  });
1734
1735
 
1736
+ const seitestnet = makeConfig({
1737
+ ...chains.seiDevnet,
1738
+ blockTimeSeconds: .5,
1739
+ sortIndex: 17,
1740
+ logoUrl: "https://assets.oku.trade/sei-logo.webp",
1741
+ safeReorgDistance: 90000,
1742
+ externalId: {},
1743
+ uniswap: {
1744
+ deployBlock: 16206422,
1745
+ poolFactory: "0x32CB2e76E80B2A8abc968985B23408E2D5885341",
1746
+ multicall2: "0x474bD11F7777d0a1EE0B7c0bb48Acd9244A2afCE",
1747
+ tickLens: "0x09E6a35D9c4d6fA4257aeE015793Cd5Cbf8fa6D8",
1748
+ nonfungiblePositionManager: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1749
+ positionsNFT: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1750
+ positionsNFTDeployBlock: 16206612,
1751
+ universalRouter: "0x61a27a55f72bbCba64554246BCE2da43C164543B",
1752
+ },
1753
+ token: {
1754
+ usdcAddress: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1755
+ wethAddress: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1756
+ },
1757
+ oku: {
1758
+ limitOrderRegistry: viem.zeroAddress,
1759
+ limitOrderRegistryDeployBlock: 0,
1760
+ pricing: {
1761
+ nativeWrappedToken: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1762
+ nativeWrappedName: "SEI",
1763
+ },
1764
+ },
1765
+ defaultPool: viem.zeroAddress,
1766
+ defaultToken0: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1767
+ defaultToken1: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1768
+ tokenList: [
1769
+ { symbol: "WSEI", address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330" },
1770
+ { symbol: "USDC", address: "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C" },
1771
+ ],
1772
+ stables: [
1773
+ "0xace5f7Ea93439Af39b46d2748fA1aC19951c8d7C",
1774
+ ],
1775
+ watchlist: [],
1776
+ internalName: "seitestnet",
1777
+ contracts: {
1778
+ ...chains.seiDevnet.contracts,
1779
+ limitOrder: {
1780
+ address: viem.zeroAddress,
1781
+ },
1782
+ nftManager: {
1783
+ address: "0x2d1886A4C71df03685ba1e6B0075e285a34e2c30",
1784
+ },
1785
+ weth9: {
1786
+ address: "0x26841a0A5D958B128209F4ea9a1DD7E61558c330",
1787
+ },
1788
+ multicall2: {
1789
+ address: "0x58A80812EDC79CE80eeF0c9940528f57CafFe2a2",
1790
+ },
1791
+ multicall3: {
1792
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
1793
+ },
1794
+ },
1795
+ });
1796
+
1735
1797
  const polygonZkEvm = makeConfig({
1736
1798
  ...chains.polygonZkEvm,
1737
1799
  sortIndex: 6,
@@ -1893,6 +1955,7 @@ const MAINNET_CHAINS = [
1893
1955
  zkSync,
1894
1956
  manta,
1895
1957
  linea,
1958
+ seitestnet,
1896
1959
  ];
1897
1960
 
1898
1961
  exports.MAINNET_CHAINS = MAINNET_CHAINS;
@@ -1911,4 +1974,5 @@ exports.polygon = polygon;
1911
1974
  exports.polygonZkEvm = polygonZkEvm;
1912
1975
  exports.rootstock = rootstock;
1913
1976
  exports.scroll = scroll;
1977
+ exports.seitestnet = seitestnet;
1914
1978
  exports.zkSync = zkSync;