@gfxlabs/oku-chains 1.1.288 → 1.1.289
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 +76 -0
- package/dist/index-mjs.js +77 -2
- package/dist/index.js +76 -0
- package/dist/types/browser.d.ts +350 -153
- package/dist/types/index-mjs.d.ts +350 -153
- package/dist/types/index.d.ts +350 -153
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -3711,6 +3711,80 @@
|
|
|
3711
3711
|
},
|
|
3712
3712
|
});
|
|
3713
3713
|
|
|
3714
|
+
const plasma = makeConfig({
|
|
3715
|
+
...chains.plasma,
|
|
3716
|
+
name: "Plasma",
|
|
3717
|
+
blockTimeSeconds: 1,
|
|
3718
|
+
launchTime: 1758588527,
|
|
3719
|
+
transactionType: "eip1559",
|
|
3720
|
+
sortIndex: 15,
|
|
3721
|
+
logoUrl: "https://assets.oku.trade/chains/plasma-logo.svg",
|
|
3722
|
+
deprecated: false,
|
|
3723
|
+
safeReorgDistance: 90000,
|
|
3724
|
+
blockAid: "",
|
|
3725
|
+
externalId: {},
|
|
3726
|
+
markets: {},
|
|
3727
|
+
bridges: {},
|
|
3728
|
+
oracles: {},
|
|
3729
|
+
morpho: {},
|
|
3730
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3731
|
+
uniswap: {
|
|
3732
|
+
deployBlock: 430127,
|
|
3733
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
3734
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
3735
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3736
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
3737
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3738
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3739
|
+
positionsNFTDeployBlock: 430178,
|
|
3740
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
3741
|
+
wrappedNativeAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3742
|
+
wrappedNativeSymbol: "WXPL",
|
|
3743
|
+
wrappedNativeName: "Wrapped XPL",
|
|
3744
|
+
wrappedNativeDecimals: 18,
|
|
3745
|
+
nativeCurrencyName: "XPL",
|
|
3746
|
+
},
|
|
3747
|
+
token: {
|
|
3748
|
+
wethAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3749
|
+
},
|
|
3750
|
+
oku: {
|
|
3751
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3752
|
+
limitOrderRegistryDeployBlock: 431349,
|
|
3753
|
+
pricing: {
|
|
3754
|
+
nativeWrappedToken: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3755
|
+
nativeWrappedName: "XPL",
|
|
3756
|
+
},
|
|
3757
|
+
},
|
|
3758
|
+
defaultPool: viem.zeroAddress,
|
|
3759
|
+
defaultToken0: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3760
|
+
defaultToken1: viem.zeroAddress,
|
|
3761
|
+
tokenList: [
|
|
3762
|
+
{ symbol: "WXPL", address: "0x6100E367285b01F48D07953803A2d8dCA5D19873" },
|
|
3763
|
+
],
|
|
3764
|
+
stables: [],
|
|
3765
|
+
watchlist: [],
|
|
3766
|
+
internalName: "plasma",
|
|
3767
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/xpl.png",
|
|
3768
|
+
contracts: {
|
|
3769
|
+
...chains.plasma.contracts,
|
|
3770
|
+
limitOrder: {
|
|
3771
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3772
|
+
},
|
|
3773
|
+
nftManager: {
|
|
3774
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3775
|
+
},
|
|
3776
|
+
weth9: {
|
|
3777
|
+
address: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3778
|
+
},
|
|
3779
|
+
multicall2: {
|
|
3780
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3781
|
+
},
|
|
3782
|
+
multicall3: {
|
|
3783
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3784
|
+
},
|
|
3785
|
+
},
|
|
3786
|
+
});
|
|
3787
|
+
|
|
3714
3788
|
const polygon = makeConfig({
|
|
3715
3789
|
...chains.polygon,
|
|
3716
3790
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -5738,6 +5812,7 @@
|
|
|
5738
5812
|
etherlink,
|
|
5739
5813
|
unichain,
|
|
5740
5814
|
matchain,
|
|
5815
|
+
plasma,
|
|
5741
5816
|
];
|
|
5742
5817
|
|
|
5743
5818
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -5766,6 +5841,7 @@
|
|
|
5766
5841
|
exports.moonbeam = moonbeam;
|
|
5767
5842
|
exports.nibiru = nibiru;
|
|
5768
5843
|
exports.optimism = optimism;
|
|
5844
|
+
exports.plasma = plasma;
|
|
5769
5845
|
exports.polygon = polygon;
|
|
5770
5846
|
exports.polygonZkEvm = polygonZkEvm;
|
|
5771
5847
|
exports.redbelly = redbelly;
|
package/dist/index-mjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, bob as bob$1, boba as boba$1, bsc as bsc$1, celo as celo$1, corn as corn$1, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, polygon as polygon$1, redbellyMainnet, rootstock as rootstock$1, saga as saga$1, scroll as scroll$1, sei as sei$1, sonic as sonic$1, taiko as taiko$1, telos as telos$1, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
1
|
+
import { arbitrum as arbitrum$1, base as base$1, blast as blast$1, bob as bob$1, boba as boba$1, bsc as bsc$1, celo as celo$1, corn as corn$1, etherlink as etherlink$1, filecoin as filecoin$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, lens as lens$1, lightlinkPhoenix, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, matchain as matchain$1, metalL2, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$1, polygon as polygon$1, redbellyMainnet, rootstock as rootstock$1, saga as saga$1, scroll as scroll$1, sei as sei$1, sonic as sonic$1, taiko as taiko$1, telos as telos$1, tronShasta as tronShasta$1, unichain as unichain$1, worldchain as worldchain$1, xdc as xdc$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
2
2
|
import { zeroAddress } from 'viem';
|
|
3
3
|
|
|
4
4
|
const makeConfig = (x) => {
|
|
@@ -3708,6 +3708,80 @@ const optimism = makeConfig({
|
|
|
3708
3708
|
},
|
|
3709
3709
|
});
|
|
3710
3710
|
|
|
3711
|
+
const plasma = makeConfig({
|
|
3712
|
+
...plasma$1,
|
|
3713
|
+
name: "Plasma",
|
|
3714
|
+
blockTimeSeconds: 1,
|
|
3715
|
+
launchTime: 1758588527,
|
|
3716
|
+
transactionType: "eip1559",
|
|
3717
|
+
sortIndex: 15,
|
|
3718
|
+
logoUrl: "https://assets.oku.trade/chains/plasma-logo.svg",
|
|
3719
|
+
deprecated: false,
|
|
3720
|
+
safeReorgDistance: 90000,
|
|
3721
|
+
blockAid: "",
|
|
3722
|
+
externalId: {},
|
|
3723
|
+
markets: {},
|
|
3724
|
+
bridges: {},
|
|
3725
|
+
oracles: {},
|
|
3726
|
+
morpho: {},
|
|
3727
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3728
|
+
uniswap: {
|
|
3729
|
+
deployBlock: 430127,
|
|
3730
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
3731
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
3732
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3733
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
3734
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3735
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3736
|
+
positionsNFTDeployBlock: 430178,
|
|
3737
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
3738
|
+
wrappedNativeAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3739
|
+
wrappedNativeSymbol: "WXPL",
|
|
3740
|
+
wrappedNativeName: "Wrapped XPL",
|
|
3741
|
+
wrappedNativeDecimals: 18,
|
|
3742
|
+
nativeCurrencyName: "XPL",
|
|
3743
|
+
},
|
|
3744
|
+
token: {
|
|
3745
|
+
wethAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3746
|
+
},
|
|
3747
|
+
oku: {
|
|
3748
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3749
|
+
limitOrderRegistryDeployBlock: 431349,
|
|
3750
|
+
pricing: {
|
|
3751
|
+
nativeWrappedToken: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3752
|
+
nativeWrappedName: "XPL",
|
|
3753
|
+
},
|
|
3754
|
+
},
|
|
3755
|
+
defaultPool: zeroAddress,
|
|
3756
|
+
defaultToken0: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3757
|
+
defaultToken1: zeroAddress,
|
|
3758
|
+
tokenList: [
|
|
3759
|
+
{ symbol: "WXPL", address: "0x6100E367285b01F48D07953803A2d8dCA5D19873" },
|
|
3760
|
+
],
|
|
3761
|
+
stables: [],
|
|
3762
|
+
watchlist: [],
|
|
3763
|
+
internalName: "plasma",
|
|
3764
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/xpl.png",
|
|
3765
|
+
contracts: {
|
|
3766
|
+
...plasma$1.contracts,
|
|
3767
|
+
limitOrder: {
|
|
3768
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3769
|
+
},
|
|
3770
|
+
nftManager: {
|
|
3771
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3772
|
+
},
|
|
3773
|
+
weth9: {
|
|
3774
|
+
address: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3775
|
+
},
|
|
3776
|
+
multicall2: {
|
|
3777
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3778
|
+
},
|
|
3779
|
+
multicall3: {
|
|
3780
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3781
|
+
},
|
|
3782
|
+
},
|
|
3783
|
+
});
|
|
3784
|
+
|
|
3711
3785
|
const polygon = makeConfig({
|
|
3712
3786
|
...polygon$1,
|
|
3713
3787
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -5735,6 +5809,7 @@ const MAINNET_CHAINS = [
|
|
|
5735
5809
|
etherlink,
|
|
5736
5810
|
unichain,
|
|
5737
5811
|
matchain,
|
|
5812
|
+
plasma,
|
|
5738
5813
|
];
|
|
5739
5814
|
|
|
5740
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zkSync };
|
|
5815
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, celo, corn, etherlink, filecoin, gnosis, goat, hemi, lens, lightlink, linea, lisk, mainnet, manta, mantle, matchain, metal, moonbeam, nibiru, optimism, plasma, polygon, polygonZkEvm, redbelly, rootstock, saga, scroll, sei, sonic, taiko, telos, tronShasta, unichain, worldchain, xdc, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -3710,6 +3710,80 @@ const optimism = makeConfig({
|
|
|
3710
3710
|
},
|
|
3711
3711
|
});
|
|
3712
3712
|
|
|
3713
|
+
const plasma = makeConfig({
|
|
3714
|
+
...chains.plasma,
|
|
3715
|
+
name: "Plasma",
|
|
3716
|
+
blockTimeSeconds: 1,
|
|
3717
|
+
launchTime: 1758588527,
|
|
3718
|
+
transactionType: "eip1559",
|
|
3719
|
+
sortIndex: 15,
|
|
3720
|
+
logoUrl: "https://assets.oku.trade/chains/plasma-logo.svg",
|
|
3721
|
+
deprecated: false,
|
|
3722
|
+
safeReorgDistance: 90000,
|
|
3723
|
+
blockAid: "",
|
|
3724
|
+
externalId: {},
|
|
3725
|
+
markets: {},
|
|
3726
|
+
bridges: {},
|
|
3727
|
+
oracles: {},
|
|
3728
|
+
morpho: {},
|
|
3729
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3730
|
+
uniswap: {
|
|
3731
|
+
deployBlock: 430127,
|
|
3732
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
3733
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
3734
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3735
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
3736
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3737
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3738
|
+
positionsNFTDeployBlock: 430178,
|
|
3739
|
+
universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc",
|
|
3740
|
+
wrappedNativeAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3741
|
+
wrappedNativeSymbol: "WXPL",
|
|
3742
|
+
wrappedNativeName: "Wrapped XPL",
|
|
3743
|
+
wrappedNativeDecimals: 18,
|
|
3744
|
+
nativeCurrencyName: "XPL",
|
|
3745
|
+
},
|
|
3746
|
+
token: {
|
|
3747
|
+
wethAddress: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3748
|
+
},
|
|
3749
|
+
oku: {
|
|
3750
|
+
limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3751
|
+
limitOrderRegistryDeployBlock: 431349,
|
|
3752
|
+
pricing: {
|
|
3753
|
+
nativeWrappedToken: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3754
|
+
nativeWrappedName: "XPL",
|
|
3755
|
+
},
|
|
3756
|
+
},
|
|
3757
|
+
defaultPool: viem.zeroAddress,
|
|
3758
|
+
defaultToken0: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3759
|
+
defaultToken1: viem.zeroAddress,
|
|
3760
|
+
tokenList: [
|
|
3761
|
+
{ symbol: "WXPL", address: "0x6100E367285b01F48D07953803A2d8dCA5D19873" },
|
|
3762
|
+
],
|
|
3763
|
+
stables: [],
|
|
3764
|
+
watchlist: [],
|
|
3765
|
+
internalName: "plasma",
|
|
3766
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/xpl.png",
|
|
3767
|
+
contracts: {
|
|
3768
|
+
...chains.plasma.contracts,
|
|
3769
|
+
limitOrder: {
|
|
3770
|
+
address: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
3771
|
+
},
|
|
3772
|
+
nftManager: {
|
|
3773
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
3774
|
+
},
|
|
3775
|
+
weth9: {
|
|
3776
|
+
address: "0x6100E367285b01F48D07953803A2d8dCA5D19873",
|
|
3777
|
+
},
|
|
3778
|
+
multicall2: {
|
|
3779
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
3780
|
+
},
|
|
3781
|
+
multicall3: {
|
|
3782
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
3783
|
+
},
|
|
3784
|
+
},
|
|
3785
|
+
});
|
|
3786
|
+
|
|
3713
3787
|
const polygon = makeConfig({
|
|
3714
3788
|
...chains.polygon,
|
|
3715
3789
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
@@ -5737,6 +5811,7 @@ const MAINNET_CHAINS = [
|
|
|
5737
5811
|
etherlink,
|
|
5738
5812
|
unichain,
|
|
5739
5813
|
matchain,
|
|
5814
|
+
plasma,
|
|
5740
5815
|
];
|
|
5741
5816
|
|
|
5742
5817
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -5765,6 +5840,7 @@ exports.metal = metal;
|
|
|
5765
5840
|
exports.moonbeam = moonbeam;
|
|
5766
5841
|
exports.nibiru = nibiru;
|
|
5767
5842
|
exports.optimism = optimism;
|
|
5843
|
+
exports.plasma = plasma;
|
|
5768
5844
|
exports.polygon = polygon;
|
|
5769
5845
|
exports.polygonZkEvm = polygonZkEvm;
|
|
5770
5846
|
exports.redbelly = redbelly;
|