@gfxlabs/oku-chains 1.1.10 → 1.1.11
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 +67 -0
- package/dist/index-mjs.js +68 -2
- package/dist/index.js +67 -0
- package/dist/types/browser.d.ts +3895 -1137
- package/dist/types/index-mjs.d.ts +3895 -1137
- package/dist/types/index.d.ts +3895 -1137
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -701,6 +701,72 @@
|
|
|
701
701
|
},
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
+
const linea = makeConfig({
|
|
705
|
+
...chains.linea,
|
|
706
|
+
blockTimeSeconds: 3,
|
|
707
|
+
sortIndex: 15,
|
|
708
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg",
|
|
709
|
+
safeReorgDistance: 100,
|
|
710
|
+
externalId: {
|
|
711
|
+
zerion: "linea",
|
|
712
|
+
},
|
|
713
|
+
uniswap: {
|
|
714
|
+
deployBlock: 25248,
|
|
715
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9",
|
|
716
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F",
|
|
717
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9",
|
|
718
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
719
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
720
|
+
positionsNFTDeployBlock: 25264,
|
|
721
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd",
|
|
722
|
+
},
|
|
723
|
+
token: {
|
|
724
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
725
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
726
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4",
|
|
727
|
+
},
|
|
728
|
+
oku: {
|
|
729
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
730
|
+
limitOrderRegistryDeployBlock: 3610379,
|
|
731
|
+
pricing: {
|
|
732
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
733
|
+
nativeWrappedName: "ETH",
|
|
734
|
+
},
|
|
735
|
+
},
|
|
736
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf",
|
|
737
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
738
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
739
|
+
tokenList: [
|
|
740
|
+
{ symbol: "WETH", address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f" },
|
|
741
|
+
{ symbol: "USDC", address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff" },
|
|
742
|
+
],
|
|
743
|
+
stables: [
|
|
744
|
+
"0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
745
|
+
"0xa219439258ca9da29e9cc4ce5596924745e12b93",
|
|
746
|
+
"0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5",
|
|
747
|
+
],
|
|
748
|
+
watchlist: [],
|
|
749
|
+
internalName: "linea",
|
|
750
|
+
contracts: {
|
|
751
|
+
...chains.linea.contracts,
|
|
752
|
+
limitOrder: {
|
|
753
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
754
|
+
},
|
|
755
|
+
nftManager: {
|
|
756
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
757
|
+
},
|
|
758
|
+
weth9: {
|
|
759
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
760
|
+
},
|
|
761
|
+
multicall2: {
|
|
762
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845",
|
|
763
|
+
},
|
|
764
|
+
multicall3: {
|
|
765
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
});
|
|
769
|
+
|
|
704
770
|
const mainnet = makeConfig({
|
|
705
771
|
...chains.mainnet,
|
|
706
772
|
sortIndex: 0,
|
|
@@ -1824,6 +1890,7 @@
|
|
|
1824
1890
|
exports.boba = boba;
|
|
1825
1891
|
exports.bsc = bsc;
|
|
1826
1892
|
exports.filecoin = filecoin;
|
|
1893
|
+
exports.linea = linea;
|
|
1827
1894
|
exports.mainnet = mainnet;
|
|
1828
1895
|
exports.manta = manta;
|
|
1829
1896
|
exports.moonbeam = moonbeam;
|
package/dist/index-mjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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, 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, polygonZkEvm as polygonZkEvm$1, zkSync as zkSync$1 } from 'viem/chains';
|
|
2
2
|
|
|
3
3
|
const makeConfig = (x) => {
|
|
4
4
|
return x;
|
|
@@ -697,6 +697,72 @@ const filecoin = makeConfig({
|
|
|
697
697
|
},
|
|
698
698
|
});
|
|
699
699
|
|
|
700
|
+
const linea = makeConfig({
|
|
701
|
+
...linea$1,
|
|
702
|
+
blockTimeSeconds: 3,
|
|
703
|
+
sortIndex: 15,
|
|
704
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg",
|
|
705
|
+
safeReorgDistance: 100,
|
|
706
|
+
externalId: {
|
|
707
|
+
zerion: "linea",
|
|
708
|
+
},
|
|
709
|
+
uniswap: {
|
|
710
|
+
deployBlock: 25248,
|
|
711
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9",
|
|
712
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F",
|
|
713
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9",
|
|
714
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
715
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
716
|
+
positionsNFTDeployBlock: 25264,
|
|
717
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd",
|
|
718
|
+
},
|
|
719
|
+
token: {
|
|
720
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
721
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
722
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4",
|
|
723
|
+
},
|
|
724
|
+
oku: {
|
|
725
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
726
|
+
limitOrderRegistryDeployBlock: 3610379,
|
|
727
|
+
pricing: {
|
|
728
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
729
|
+
nativeWrappedName: "ETH",
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf",
|
|
733
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
734
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
735
|
+
tokenList: [
|
|
736
|
+
{ symbol: "WETH", address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f" },
|
|
737
|
+
{ symbol: "USDC", address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff" },
|
|
738
|
+
],
|
|
739
|
+
stables: [
|
|
740
|
+
"0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
741
|
+
"0xa219439258ca9da29e9cc4ce5596924745e12b93",
|
|
742
|
+
"0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5",
|
|
743
|
+
],
|
|
744
|
+
watchlist: [],
|
|
745
|
+
internalName: "linea",
|
|
746
|
+
contracts: {
|
|
747
|
+
...linea$1.contracts,
|
|
748
|
+
limitOrder: {
|
|
749
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
750
|
+
},
|
|
751
|
+
nftManager: {
|
|
752
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
753
|
+
},
|
|
754
|
+
weth9: {
|
|
755
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
756
|
+
},
|
|
757
|
+
multicall2: {
|
|
758
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845",
|
|
759
|
+
},
|
|
760
|
+
multicall3: {
|
|
761
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
});
|
|
765
|
+
|
|
700
766
|
const mainnet = makeConfig({
|
|
701
767
|
...mainnet$1,
|
|
702
768
|
sortIndex: 0,
|
|
@@ -1813,4 +1879,4 @@ const MAINNET_CHAINS = [
|
|
|
1813
1879
|
manta,
|
|
1814
1880
|
];
|
|
1815
1881
|
|
|
1816
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, mainnet, manta, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
|
|
1882
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -699,6 +699,72 @@ const filecoin = makeConfig({
|
|
|
699
699
|
},
|
|
700
700
|
});
|
|
701
701
|
|
|
702
|
+
const linea = makeConfig({
|
|
703
|
+
...chains.linea,
|
|
704
|
+
blockTimeSeconds: 3,
|
|
705
|
+
sortIndex: 15,
|
|
706
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg",
|
|
707
|
+
safeReorgDistance: 100,
|
|
708
|
+
externalId: {
|
|
709
|
+
zerion: "linea",
|
|
710
|
+
},
|
|
711
|
+
uniswap: {
|
|
712
|
+
deployBlock: 25248,
|
|
713
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9",
|
|
714
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F",
|
|
715
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9",
|
|
716
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
717
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
718
|
+
positionsNFTDeployBlock: 25264,
|
|
719
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd",
|
|
720
|
+
},
|
|
721
|
+
token: {
|
|
722
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
723
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
724
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4",
|
|
725
|
+
},
|
|
726
|
+
oku: {
|
|
727
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
728
|
+
limitOrderRegistryDeployBlock: 3610379,
|
|
729
|
+
pricing: {
|
|
730
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
731
|
+
nativeWrappedName: "ETH",
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf",
|
|
735
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
736
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
737
|
+
tokenList: [
|
|
738
|
+
{ symbol: "WETH", address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f" },
|
|
739
|
+
{ symbol: "USDC", address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff" },
|
|
740
|
+
],
|
|
741
|
+
stables: [
|
|
742
|
+
"0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
|
|
743
|
+
"0xa219439258ca9da29e9cc4ce5596924745e12b93",
|
|
744
|
+
"0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5",
|
|
745
|
+
],
|
|
746
|
+
watchlist: [],
|
|
747
|
+
internalName: "linea",
|
|
748
|
+
contracts: {
|
|
749
|
+
...chains.linea.contracts,
|
|
750
|
+
limitOrder: {
|
|
751
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74",
|
|
752
|
+
},
|
|
753
|
+
nftManager: {
|
|
754
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463",
|
|
755
|
+
},
|
|
756
|
+
weth9: {
|
|
757
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
|
|
758
|
+
},
|
|
759
|
+
multicall2: {
|
|
760
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845",
|
|
761
|
+
},
|
|
762
|
+
multicall3: {
|
|
763
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
764
|
+
},
|
|
765
|
+
},
|
|
766
|
+
});
|
|
767
|
+
|
|
702
768
|
const mainnet = makeConfig({
|
|
703
769
|
...chains.mainnet,
|
|
704
770
|
sortIndex: 0,
|
|
@@ -1822,6 +1888,7 @@ exports.blast = blast;
|
|
|
1822
1888
|
exports.boba = boba;
|
|
1823
1889
|
exports.bsc = bsc;
|
|
1824
1890
|
exports.filecoin = filecoin;
|
|
1891
|
+
exports.linea = linea;
|
|
1825
1892
|
exports.mainnet = mainnet;
|
|
1826
1893
|
exports.manta = manta;
|
|
1827
1894
|
exports.moonbeam = moonbeam;
|