@gfxlabs/oku-chains 1.1.127 → 1.1.129
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 +71 -0
- package/dist/index-mjs.js +72 -2
- package/dist/index.js +71 -0
- package/dist/types/browser.d.ts +186 -1
- package/dist/types/index-mjs.d.ts +186 -1
- package/dist/types/index.d.ts +186 -1
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -935,6 +935,75 @@
|
|
|
935
935
|
},
|
|
936
936
|
});
|
|
937
937
|
|
|
938
|
+
const corn = makeConfig({
|
|
939
|
+
...chains.corn,
|
|
940
|
+
blockTimeSeconds: 35,
|
|
941
|
+
launchTime: 1733882663,
|
|
942
|
+
sortIndex: 15,
|
|
943
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png",
|
|
944
|
+
safeReorgDistance: 90000,
|
|
945
|
+
externalId: {},
|
|
946
|
+
markets: {},
|
|
947
|
+
bridges: {},
|
|
948
|
+
oracles: {},
|
|
949
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
950
|
+
uniswap: {
|
|
951
|
+
deployBlock: 10878,
|
|
952
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
953
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
954
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
955
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
956
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
957
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
958
|
+
positionsNFTDeployBlock: 10901,
|
|
959
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
960
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
961
|
+
wrappedNativeSymbol: "WBTCN",
|
|
962
|
+
wrappedNativeName: "Wrapped Bitcorn",
|
|
963
|
+
wrappedNativeDecimals: 18,
|
|
964
|
+
nativeCurrencyName: "BTCN",
|
|
965
|
+
},
|
|
966
|
+
token: {
|
|
967
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
968
|
+
},
|
|
969
|
+
oku: {
|
|
970
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
971
|
+
limitOrderRegistryDeployBlock: 10948,
|
|
972
|
+
pricing: {
|
|
973
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
974
|
+
nativeWrappedName: "BTCN",
|
|
975
|
+
},
|
|
976
|
+
},
|
|
977
|
+
defaultPool: viem.zeroAddress,
|
|
978
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
979
|
+
defaultToken1: viem.zeroAddress,
|
|
980
|
+
tokenList: [
|
|
981
|
+
{ symbol: "WBTCN", address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2" },
|
|
982
|
+
],
|
|
983
|
+
stables: [],
|
|
984
|
+
watchlist: [],
|
|
985
|
+
internalName: "corn",
|
|
986
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
987
|
+
contracts: {
|
|
988
|
+
...chains.corn.contracts,
|
|
989
|
+
limitOrder: {
|
|
990
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
991
|
+
},
|
|
992
|
+
nftManager: {
|
|
993
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
994
|
+
},
|
|
995
|
+
weth9: {
|
|
996
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
997
|
+
},
|
|
998
|
+
multicall2: {
|
|
999
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
1000
|
+
},
|
|
1001
|
+
multicall3: {
|
|
1002
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
});
|
|
1006
|
+
|
|
938
1007
|
const filecoin = makeConfig({
|
|
939
1008
|
...chains.filecoin,
|
|
940
1009
|
sortIndex: 10,
|
|
@@ -3424,6 +3493,7 @@
|
|
|
3424
3493
|
gnosis,
|
|
3425
3494
|
xLayer,
|
|
3426
3495
|
metal,
|
|
3496
|
+
corn,
|
|
3427
3497
|
];
|
|
3428
3498
|
|
|
3429
3499
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -3433,6 +3503,7 @@
|
|
|
3433
3503
|
exports.bob = bob;
|
|
3434
3504
|
exports.boba = boba;
|
|
3435
3505
|
exports.bsc = bsc;
|
|
3506
|
+
exports.corn = corn;
|
|
3436
3507
|
exports.filecoin = filecoin;
|
|
3437
3508
|
exports.gnosis = gnosis;
|
|
3438
3509
|
exports.linea = linea;
|
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, filecoin as filecoin$1, gnosis as gnosis$1, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, metalL2, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, xLayer as xLayer$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, corn as corn$1, filecoin as filecoin$1, gnosis as gnosis$1, linea as linea$1, lisk as lisk$1, mainnet as mainnet$1, manta as manta$1, mantle as mantle$1, metalL2, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, sei as sei$1, taiko as taiko$1, xLayer as xLayer$1, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
2
2
|
import { zeroAddress } from 'viem';
|
|
3
3
|
|
|
4
4
|
const makeConfig = (x) => {
|
|
@@ -932,6 +932,75 @@ const bsc = makeConfig({
|
|
|
932
932
|
},
|
|
933
933
|
});
|
|
934
934
|
|
|
935
|
+
const corn = makeConfig({
|
|
936
|
+
...corn$1,
|
|
937
|
+
blockTimeSeconds: 35,
|
|
938
|
+
launchTime: 1733882663,
|
|
939
|
+
sortIndex: 15,
|
|
940
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png",
|
|
941
|
+
safeReorgDistance: 90000,
|
|
942
|
+
externalId: {},
|
|
943
|
+
markets: {},
|
|
944
|
+
bridges: {},
|
|
945
|
+
oracles: {},
|
|
946
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
947
|
+
uniswap: {
|
|
948
|
+
deployBlock: 10878,
|
|
949
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
950
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
951
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
952
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
953
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
954
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
955
|
+
positionsNFTDeployBlock: 10901,
|
|
956
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
957
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
958
|
+
wrappedNativeSymbol: "WBTCN",
|
|
959
|
+
wrappedNativeName: "Wrapped Bitcorn",
|
|
960
|
+
wrappedNativeDecimals: 18,
|
|
961
|
+
nativeCurrencyName: "BTCN",
|
|
962
|
+
},
|
|
963
|
+
token: {
|
|
964
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
965
|
+
},
|
|
966
|
+
oku: {
|
|
967
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
968
|
+
limitOrderRegistryDeployBlock: 10948,
|
|
969
|
+
pricing: {
|
|
970
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
971
|
+
nativeWrappedName: "BTCN",
|
|
972
|
+
},
|
|
973
|
+
},
|
|
974
|
+
defaultPool: zeroAddress,
|
|
975
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
976
|
+
defaultToken1: zeroAddress,
|
|
977
|
+
tokenList: [
|
|
978
|
+
{ symbol: "WBTCN", address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2" },
|
|
979
|
+
],
|
|
980
|
+
stables: [],
|
|
981
|
+
watchlist: [],
|
|
982
|
+
internalName: "corn",
|
|
983
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
984
|
+
contracts: {
|
|
985
|
+
...corn$1.contracts,
|
|
986
|
+
limitOrder: {
|
|
987
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
988
|
+
},
|
|
989
|
+
nftManager: {
|
|
990
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
991
|
+
},
|
|
992
|
+
weth9: {
|
|
993
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
994
|
+
},
|
|
995
|
+
multicall2: {
|
|
996
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
997
|
+
},
|
|
998
|
+
multicall3: {
|
|
999
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1000
|
+
},
|
|
1001
|
+
},
|
|
1002
|
+
});
|
|
1003
|
+
|
|
935
1004
|
const filecoin = makeConfig({
|
|
936
1005
|
...filecoin$1,
|
|
937
1006
|
sortIndex: 10,
|
|
@@ -3421,6 +3490,7 @@ const MAINNET_CHAINS = [
|
|
|
3421
3490
|
gnosis,
|
|
3422
3491
|
xLayer,
|
|
3423
3492
|
metal,
|
|
3493
|
+
corn,
|
|
3424
3494
|
];
|
|
3425
3495
|
|
|
3426
|
-
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, xLayer, zkSync };
|
|
3496
|
+
export { MAINNET_CHAINS, arbitrum, base, blast, bob, boba, bsc, corn, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, sei, taiko, xLayer, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -934,6 +934,75 @@ const bsc = makeConfig({
|
|
|
934
934
|
},
|
|
935
935
|
});
|
|
936
936
|
|
|
937
|
+
const corn = makeConfig({
|
|
938
|
+
...chains.corn,
|
|
939
|
+
blockTimeSeconds: 35,
|
|
940
|
+
launchTime: 1733882663,
|
|
941
|
+
sortIndex: 15,
|
|
942
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png",
|
|
943
|
+
safeReorgDistance: 90000,
|
|
944
|
+
externalId: {},
|
|
945
|
+
markets: {},
|
|
946
|
+
bridges: {},
|
|
947
|
+
oracles: {},
|
|
948
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
949
|
+
uniswap: {
|
|
950
|
+
deployBlock: 10878,
|
|
951
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
|
|
952
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578",
|
|
953
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
954
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641",
|
|
955
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
956
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
957
|
+
positionsNFTDeployBlock: 10901,
|
|
958
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407",
|
|
959
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
960
|
+
wrappedNativeSymbol: "WBTCN",
|
|
961
|
+
wrappedNativeName: "Wrapped Bitcorn",
|
|
962
|
+
wrappedNativeDecimals: 18,
|
|
963
|
+
nativeCurrencyName: "BTCN",
|
|
964
|
+
},
|
|
965
|
+
token: {
|
|
966
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
967
|
+
},
|
|
968
|
+
oku: {
|
|
969
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
970
|
+
limitOrderRegistryDeployBlock: 10948,
|
|
971
|
+
pricing: {
|
|
972
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
973
|
+
nativeWrappedName: "BTCN",
|
|
974
|
+
},
|
|
975
|
+
},
|
|
976
|
+
defaultPool: viem.zeroAddress,
|
|
977
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
978
|
+
defaultToken1: viem.zeroAddress,
|
|
979
|
+
tokenList: [
|
|
980
|
+
{ symbol: "WBTCN", address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2" },
|
|
981
|
+
],
|
|
982
|
+
stables: [],
|
|
983
|
+
watchlist: [],
|
|
984
|
+
internalName: "corn",
|
|
985
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png",
|
|
986
|
+
contracts: {
|
|
987
|
+
...chains.corn.contracts,
|
|
988
|
+
limitOrder: {
|
|
989
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4",
|
|
990
|
+
},
|
|
991
|
+
nftManager: {
|
|
992
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c",
|
|
993
|
+
},
|
|
994
|
+
weth9: {
|
|
995
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2",
|
|
996
|
+
},
|
|
997
|
+
multicall2: {
|
|
998
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435",
|
|
999
|
+
},
|
|
1000
|
+
multicall3: {
|
|
1001
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
1002
|
+
},
|
|
1003
|
+
},
|
|
1004
|
+
});
|
|
1005
|
+
|
|
937
1006
|
const filecoin = makeConfig({
|
|
938
1007
|
...chains.filecoin,
|
|
939
1008
|
sortIndex: 10,
|
|
@@ -3423,6 +3492,7 @@ const MAINNET_CHAINS = [
|
|
|
3423
3492
|
gnosis,
|
|
3424
3493
|
xLayer,
|
|
3425
3494
|
metal,
|
|
3495
|
+
corn,
|
|
3426
3496
|
];
|
|
3427
3497
|
|
|
3428
3498
|
exports.MAINNET_CHAINS = MAINNET_CHAINS;
|
|
@@ -3432,6 +3502,7 @@ exports.blast = blast;
|
|
|
3432
3502
|
exports.bob = bob;
|
|
3433
3503
|
exports.boba = boba;
|
|
3434
3504
|
exports.bsc = bsc;
|
|
3505
|
+
exports.corn = corn;
|
|
3435
3506
|
exports.filecoin = filecoin;
|
|
3436
3507
|
exports.gnosis = gnosis;
|
|
3437
3508
|
exports.linea = linea;
|
package/dist/types/browser.d.ts
CHANGED
|
@@ -1372,6 +1372,100 @@ declare const bsc: Readonly<{
|
|
|
1372
1372
|
formatters?: undefined;
|
|
1373
1373
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1374
1374
|
}>;
|
|
1375
|
+
declare const corn: Readonly<{
|
|
1376
|
+
blockTimeSeconds: 35;
|
|
1377
|
+
launchTime: 1733882663;
|
|
1378
|
+
sortIndex: 15;
|
|
1379
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
1380
|
+
safeReorgDistance: 90000;
|
|
1381
|
+
externalId: {};
|
|
1382
|
+
markets: {};
|
|
1383
|
+
bridges: {};
|
|
1384
|
+
oracles: {};
|
|
1385
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
1386
|
+
uniswap: {
|
|
1387
|
+
deployBlock: number;
|
|
1388
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
1389
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
1390
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1391
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
1392
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1393
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1394
|
+
positionsNFTDeployBlock: number;
|
|
1395
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
1396
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1397
|
+
wrappedNativeSymbol: string;
|
|
1398
|
+
wrappedNativeName: string;
|
|
1399
|
+
wrappedNativeDecimals: number;
|
|
1400
|
+
nativeCurrencyName: string;
|
|
1401
|
+
};
|
|
1402
|
+
token: {
|
|
1403
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1404
|
+
};
|
|
1405
|
+
oku: {
|
|
1406
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1407
|
+
limitOrderRegistryDeployBlock: number;
|
|
1408
|
+
pricing: {
|
|
1409
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1410
|
+
nativeWrappedName: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
1414
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1415
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
1416
|
+
tokenList: {
|
|
1417
|
+
symbol: string;
|
|
1418
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1419
|
+
}[];
|
|
1420
|
+
stables: never[];
|
|
1421
|
+
watchlist: never[];
|
|
1422
|
+
internalName: "corn";
|
|
1423
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
1424
|
+
contracts: {
|
|
1425
|
+
limitOrder: {
|
|
1426
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1427
|
+
};
|
|
1428
|
+
nftManager: {
|
|
1429
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1430
|
+
};
|
|
1431
|
+
weth9: {
|
|
1432
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1433
|
+
};
|
|
1434
|
+
multicall2: {
|
|
1435
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1436
|
+
};
|
|
1437
|
+
multicall3: {
|
|
1438
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
blockExplorers: {
|
|
1442
|
+
readonly default: {
|
|
1443
|
+
readonly name: "Corn Explorer";
|
|
1444
|
+
readonly url: "https://cornscan.io";
|
|
1445
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
id: 21000000;
|
|
1449
|
+
name: "Corn Maizenet";
|
|
1450
|
+
nativeCurrency: {
|
|
1451
|
+
readonly decimals: 18;
|
|
1452
|
+
readonly name: "Bitcorn";
|
|
1453
|
+
readonly symbol: "BTCN";
|
|
1454
|
+
};
|
|
1455
|
+
rpcUrls: {
|
|
1456
|
+
readonly default: {
|
|
1457
|
+
readonly http: readonly [
|
|
1458
|
+
"https://rpc.ankr.com/corn_maizenet"
|
|
1459
|
+
];
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
sourceId: 1;
|
|
1463
|
+
testnet?: boolean | undefined;
|
|
1464
|
+
custom?: Record<string, unknown> | undefined;
|
|
1465
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1466
|
+
formatters?: undefined;
|
|
1467
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1468
|
+
}>;
|
|
1375
1469
|
declare const filecoin: Readonly<{
|
|
1376
1470
|
sortIndex: 10;
|
|
1377
1471
|
launchTime: 1677600000;
|
|
@@ -9868,6 +9962,97 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9868
9962
|
serializers: {
|
|
9869
9963
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
9870
9964
|
};
|
|
9965
|
+
}>, Readonly<{
|
|
9966
|
+
blockTimeSeconds: 35;
|
|
9967
|
+
launchTime: 1733882663;
|
|
9968
|
+
sortIndex: 15;
|
|
9969
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
9970
|
+
safeReorgDistance: 90000;
|
|
9971
|
+
externalId: {};
|
|
9972
|
+
markets: {};
|
|
9973
|
+
bridges: {};
|
|
9974
|
+
oracles: {};
|
|
9975
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
9976
|
+
uniswap: {
|
|
9977
|
+
deployBlock: number;
|
|
9978
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
9979
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
9980
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
9981
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
9982
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9983
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9984
|
+
positionsNFTDeployBlock: number;
|
|
9985
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
9986
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9987
|
+
wrappedNativeSymbol: string;
|
|
9988
|
+
wrappedNativeName: string;
|
|
9989
|
+
wrappedNativeDecimals: number;
|
|
9990
|
+
nativeCurrencyName: string;
|
|
9991
|
+
};
|
|
9992
|
+
token: {
|
|
9993
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9994
|
+
};
|
|
9995
|
+
oku: {
|
|
9996
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
9997
|
+
limitOrderRegistryDeployBlock: number;
|
|
9998
|
+
pricing: {
|
|
9999
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10000
|
+
nativeWrappedName: string;
|
|
10001
|
+
};
|
|
10002
|
+
};
|
|
10003
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
10004
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10005
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
10006
|
+
tokenList: {
|
|
10007
|
+
symbol: string;
|
|
10008
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10009
|
+
}[];
|
|
10010
|
+
stables: never[];
|
|
10011
|
+
watchlist: never[];
|
|
10012
|
+
internalName: "corn";
|
|
10013
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
10014
|
+
contracts: {
|
|
10015
|
+
limitOrder: {
|
|
10016
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
10017
|
+
};
|
|
10018
|
+
nftManager: {
|
|
10019
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
10020
|
+
};
|
|
10021
|
+
weth9: {
|
|
10022
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10023
|
+
};
|
|
10024
|
+
multicall2: {
|
|
10025
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
10026
|
+
};
|
|
10027
|
+
multicall3: {
|
|
10028
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10029
|
+
};
|
|
10030
|
+
};
|
|
10031
|
+
blockExplorers: {
|
|
10032
|
+
readonly default: {
|
|
10033
|
+
readonly name: "Corn Explorer";
|
|
10034
|
+
readonly url: "https://cornscan.io";
|
|
10035
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
10036
|
+
};
|
|
10037
|
+
};
|
|
10038
|
+
id: 21000000;
|
|
10039
|
+
name: "Corn Maizenet";
|
|
10040
|
+
nativeCurrency: {
|
|
10041
|
+
readonly decimals: 18;
|
|
10042
|
+
readonly name: "Bitcorn";
|
|
10043
|
+
readonly symbol: "BTCN";
|
|
10044
|
+
};
|
|
10045
|
+
rpcUrls: {
|
|
10046
|
+
readonly default: {
|
|
10047
|
+
readonly http: readonly ["https://rpc.ankr.com/corn_maizenet"];
|
|
10048
|
+
};
|
|
10049
|
+
};
|
|
10050
|
+
sourceId: 1;
|
|
10051
|
+
testnet?: boolean | undefined;
|
|
10052
|
+
custom?: Record<string, unknown> | undefined;
|
|
10053
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10054
|
+
formatters?: undefined;
|
|
10055
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
9871
10056
|
}>];
|
|
9872
|
-
export { arbitrum, base, blast, bob, boba, bsc, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
10057
|
+
export { arbitrum, base, blast, bob, boba, bsc, corn, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
9873
10058
|
export { ChainContract } from "viem";
|
|
@@ -1372,6 +1372,100 @@ declare const bsc: Readonly<{
|
|
|
1372
1372
|
formatters?: undefined;
|
|
1373
1373
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1374
1374
|
}>;
|
|
1375
|
+
declare const corn: Readonly<{
|
|
1376
|
+
blockTimeSeconds: 35;
|
|
1377
|
+
launchTime: 1733882663;
|
|
1378
|
+
sortIndex: 15;
|
|
1379
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
1380
|
+
safeReorgDistance: 90000;
|
|
1381
|
+
externalId: {};
|
|
1382
|
+
markets: {};
|
|
1383
|
+
bridges: {};
|
|
1384
|
+
oracles: {};
|
|
1385
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
1386
|
+
uniswap: {
|
|
1387
|
+
deployBlock: number;
|
|
1388
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
1389
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
1390
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1391
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
1392
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1393
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1394
|
+
positionsNFTDeployBlock: number;
|
|
1395
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
1396
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1397
|
+
wrappedNativeSymbol: string;
|
|
1398
|
+
wrappedNativeName: string;
|
|
1399
|
+
wrappedNativeDecimals: number;
|
|
1400
|
+
nativeCurrencyName: string;
|
|
1401
|
+
};
|
|
1402
|
+
token: {
|
|
1403
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1404
|
+
};
|
|
1405
|
+
oku: {
|
|
1406
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1407
|
+
limitOrderRegistryDeployBlock: number;
|
|
1408
|
+
pricing: {
|
|
1409
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1410
|
+
nativeWrappedName: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
1414
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1415
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
1416
|
+
tokenList: {
|
|
1417
|
+
symbol: string;
|
|
1418
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1419
|
+
}[];
|
|
1420
|
+
stables: never[];
|
|
1421
|
+
watchlist: never[];
|
|
1422
|
+
internalName: "corn";
|
|
1423
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
1424
|
+
contracts: {
|
|
1425
|
+
limitOrder: {
|
|
1426
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1427
|
+
};
|
|
1428
|
+
nftManager: {
|
|
1429
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1430
|
+
};
|
|
1431
|
+
weth9: {
|
|
1432
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1433
|
+
};
|
|
1434
|
+
multicall2: {
|
|
1435
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1436
|
+
};
|
|
1437
|
+
multicall3: {
|
|
1438
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
blockExplorers: {
|
|
1442
|
+
readonly default: {
|
|
1443
|
+
readonly name: "Corn Explorer";
|
|
1444
|
+
readonly url: "https://cornscan.io";
|
|
1445
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
id: 21000000;
|
|
1449
|
+
name: "Corn Maizenet";
|
|
1450
|
+
nativeCurrency: {
|
|
1451
|
+
readonly decimals: 18;
|
|
1452
|
+
readonly name: "Bitcorn";
|
|
1453
|
+
readonly symbol: "BTCN";
|
|
1454
|
+
};
|
|
1455
|
+
rpcUrls: {
|
|
1456
|
+
readonly default: {
|
|
1457
|
+
readonly http: readonly [
|
|
1458
|
+
"https://rpc.ankr.com/corn_maizenet"
|
|
1459
|
+
];
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
sourceId: 1;
|
|
1463
|
+
testnet?: boolean | undefined;
|
|
1464
|
+
custom?: Record<string, unknown> | undefined;
|
|
1465
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1466
|
+
formatters?: undefined;
|
|
1467
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1468
|
+
}>;
|
|
1375
1469
|
declare const filecoin: Readonly<{
|
|
1376
1470
|
sortIndex: 10;
|
|
1377
1471
|
launchTime: 1677600000;
|
|
@@ -9868,6 +9962,97 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9868
9962
|
serializers: {
|
|
9869
9963
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
9870
9964
|
};
|
|
9965
|
+
}>, Readonly<{
|
|
9966
|
+
blockTimeSeconds: 35;
|
|
9967
|
+
launchTime: 1733882663;
|
|
9968
|
+
sortIndex: 15;
|
|
9969
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
9970
|
+
safeReorgDistance: 90000;
|
|
9971
|
+
externalId: {};
|
|
9972
|
+
markets: {};
|
|
9973
|
+
bridges: {};
|
|
9974
|
+
oracles: {};
|
|
9975
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
9976
|
+
uniswap: {
|
|
9977
|
+
deployBlock: number;
|
|
9978
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
9979
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
9980
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
9981
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
9982
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9983
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9984
|
+
positionsNFTDeployBlock: number;
|
|
9985
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
9986
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9987
|
+
wrappedNativeSymbol: string;
|
|
9988
|
+
wrappedNativeName: string;
|
|
9989
|
+
wrappedNativeDecimals: number;
|
|
9990
|
+
nativeCurrencyName: string;
|
|
9991
|
+
};
|
|
9992
|
+
token: {
|
|
9993
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9994
|
+
};
|
|
9995
|
+
oku: {
|
|
9996
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
9997
|
+
limitOrderRegistryDeployBlock: number;
|
|
9998
|
+
pricing: {
|
|
9999
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10000
|
+
nativeWrappedName: string;
|
|
10001
|
+
};
|
|
10002
|
+
};
|
|
10003
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
10004
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10005
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
10006
|
+
tokenList: {
|
|
10007
|
+
symbol: string;
|
|
10008
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10009
|
+
}[];
|
|
10010
|
+
stables: never[];
|
|
10011
|
+
watchlist: never[];
|
|
10012
|
+
internalName: "corn";
|
|
10013
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
10014
|
+
contracts: {
|
|
10015
|
+
limitOrder: {
|
|
10016
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
10017
|
+
};
|
|
10018
|
+
nftManager: {
|
|
10019
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
10020
|
+
};
|
|
10021
|
+
weth9: {
|
|
10022
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10023
|
+
};
|
|
10024
|
+
multicall2: {
|
|
10025
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
10026
|
+
};
|
|
10027
|
+
multicall3: {
|
|
10028
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10029
|
+
};
|
|
10030
|
+
};
|
|
10031
|
+
blockExplorers: {
|
|
10032
|
+
readonly default: {
|
|
10033
|
+
readonly name: "Corn Explorer";
|
|
10034
|
+
readonly url: "https://cornscan.io";
|
|
10035
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
10036
|
+
};
|
|
10037
|
+
};
|
|
10038
|
+
id: 21000000;
|
|
10039
|
+
name: "Corn Maizenet";
|
|
10040
|
+
nativeCurrency: {
|
|
10041
|
+
readonly decimals: 18;
|
|
10042
|
+
readonly name: "Bitcorn";
|
|
10043
|
+
readonly symbol: "BTCN";
|
|
10044
|
+
};
|
|
10045
|
+
rpcUrls: {
|
|
10046
|
+
readonly default: {
|
|
10047
|
+
readonly http: readonly ["https://rpc.ankr.com/corn_maizenet"];
|
|
10048
|
+
};
|
|
10049
|
+
};
|
|
10050
|
+
sourceId: 1;
|
|
10051
|
+
testnet?: boolean | undefined;
|
|
10052
|
+
custom?: Record<string, unknown> | undefined;
|
|
10053
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10054
|
+
formatters?: undefined;
|
|
10055
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
9871
10056
|
}>];
|
|
9872
|
-
export { arbitrum, base, blast, bob, boba, bsc, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
10057
|
+
export { arbitrum, base, blast, bob, boba, bsc, corn, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
9873
10058
|
export { ChainContract } from "viem";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1372,6 +1372,100 @@ declare const bsc: Readonly<{
|
|
|
1372
1372
|
formatters?: undefined;
|
|
1373
1373
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1374
1374
|
}>;
|
|
1375
|
+
declare const corn: Readonly<{
|
|
1376
|
+
blockTimeSeconds: 35;
|
|
1377
|
+
launchTime: 1733882663;
|
|
1378
|
+
sortIndex: 15;
|
|
1379
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
1380
|
+
safeReorgDistance: 90000;
|
|
1381
|
+
externalId: {};
|
|
1382
|
+
markets: {};
|
|
1383
|
+
bridges: {};
|
|
1384
|
+
oracles: {};
|
|
1385
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
1386
|
+
uniswap: {
|
|
1387
|
+
deployBlock: number;
|
|
1388
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
1389
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
1390
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1391
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
1392
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1393
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1394
|
+
positionsNFTDeployBlock: number;
|
|
1395
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
1396
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1397
|
+
wrappedNativeSymbol: string;
|
|
1398
|
+
wrappedNativeName: string;
|
|
1399
|
+
wrappedNativeDecimals: number;
|
|
1400
|
+
nativeCurrencyName: string;
|
|
1401
|
+
};
|
|
1402
|
+
token: {
|
|
1403
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1404
|
+
};
|
|
1405
|
+
oku: {
|
|
1406
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1407
|
+
limitOrderRegistryDeployBlock: number;
|
|
1408
|
+
pricing: {
|
|
1409
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1410
|
+
nativeWrappedName: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
1414
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1415
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
1416
|
+
tokenList: {
|
|
1417
|
+
symbol: string;
|
|
1418
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1419
|
+
}[];
|
|
1420
|
+
stables: never[];
|
|
1421
|
+
watchlist: never[];
|
|
1422
|
+
internalName: "corn";
|
|
1423
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
1424
|
+
contracts: {
|
|
1425
|
+
limitOrder: {
|
|
1426
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
1427
|
+
};
|
|
1428
|
+
nftManager: {
|
|
1429
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
1430
|
+
};
|
|
1431
|
+
weth9: {
|
|
1432
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
1433
|
+
};
|
|
1434
|
+
multicall2: {
|
|
1435
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
1436
|
+
};
|
|
1437
|
+
multicall3: {
|
|
1438
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
blockExplorers: {
|
|
1442
|
+
readonly default: {
|
|
1443
|
+
readonly name: "Corn Explorer";
|
|
1444
|
+
readonly url: "https://cornscan.io";
|
|
1445
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
id: 21000000;
|
|
1449
|
+
name: "Corn Maizenet";
|
|
1450
|
+
nativeCurrency: {
|
|
1451
|
+
readonly decimals: 18;
|
|
1452
|
+
readonly name: "Bitcorn";
|
|
1453
|
+
readonly symbol: "BTCN";
|
|
1454
|
+
};
|
|
1455
|
+
rpcUrls: {
|
|
1456
|
+
readonly default: {
|
|
1457
|
+
readonly http: readonly [
|
|
1458
|
+
"https://rpc.ankr.com/corn_maizenet"
|
|
1459
|
+
];
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
sourceId: 1;
|
|
1463
|
+
testnet?: boolean | undefined;
|
|
1464
|
+
custom?: Record<string, unknown> | undefined;
|
|
1465
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1466
|
+
formatters?: undefined;
|
|
1467
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
1468
|
+
}>;
|
|
1375
1469
|
declare const filecoin: Readonly<{
|
|
1376
1470
|
sortIndex: 10;
|
|
1377
1471
|
launchTime: 1677600000;
|
|
@@ -9868,6 +9962,97 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
9868
9962
|
serializers: {
|
|
9869
9963
|
readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
|
|
9870
9964
|
};
|
|
9965
|
+
}>, Readonly<{
|
|
9966
|
+
blockTimeSeconds: 35;
|
|
9967
|
+
launchTime: 1733882663;
|
|
9968
|
+
sortIndex: 15;
|
|
9969
|
+
logoUrl: "https://assets.oku.trade/corn-logo.png";
|
|
9970
|
+
safeReorgDistance: 90000;
|
|
9971
|
+
externalId: {};
|
|
9972
|
+
markets: {};
|
|
9973
|
+
bridges: {};
|
|
9974
|
+
oracles: {};
|
|
9975
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
9976
|
+
uniswap: {
|
|
9977
|
+
deployBlock: number;
|
|
9978
|
+
poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
|
|
9979
|
+
permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
|
|
9980
|
+
multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
9981
|
+
tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
|
|
9982
|
+
nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9983
|
+
positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
9984
|
+
positionsNFTDeployBlock: number;
|
|
9985
|
+
universalRouter: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
|
|
9986
|
+
wrappedNativeAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9987
|
+
wrappedNativeSymbol: string;
|
|
9988
|
+
wrappedNativeName: string;
|
|
9989
|
+
wrappedNativeDecimals: number;
|
|
9990
|
+
nativeCurrencyName: string;
|
|
9991
|
+
};
|
|
9992
|
+
token: {
|
|
9993
|
+
wethAddress: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
9994
|
+
};
|
|
9995
|
+
oku: {
|
|
9996
|
+
limitOrderRegistry: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
9997
|
+
limitOrderRegistryDeployBlock: number;
|
|
9998
|
+
pricing: {
|
|
9999
|
+
nativeWrappedToken: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10000
|
+
nativeWrappedName: string;
|
|
10001
|
+
};
|
|
10002
|
+
};
|
|
10003
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
10004
|
+
defaultToken0: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10005
|
+
defaultToken1: "0x0000000000000000000000000000000000000000";
|
|
10006
|
+
tokenList: {
|
|
10007
|
+
symbol: string;
|
|
10008
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10009
|
+
}[];
|
|
10010
|
+
stables: never[];
|
|
10011
|
+
watchlist: never[];
|
|
10012
|
+
internalName: "corn";
|
|
10013
|
+
nativeLogoUrl: "https://assets.oku.trade/natives/eth.png";
|
|
10014
|
+
contracts: {
|
|
10015
|
+
limitOrder: {
|
|
10016
|
+
address: "0x346239972d1fa486FC4a521031BC81bFB7D6e8a4";
|
|
10017
|
+
};
|
|
10018
|
+
nftManager: {
|
|
10019
|
+
address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
|
|
10020
|
+
};
|
|
10021
|
+
weth9: {
|
|
10022
|
+
address: "0xda5dDd7270381A7C2717aD10D1c0ecB19e3CDFb2";
|
|
10023
|
+
};
|
|
10024
|
+
multicall2: {
|
|
10025
|
+
address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
|
|
10026
|
+
};
|
|
10027
|
+
multicall3: {
|
|
10028
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10029
|
+
};
|
|
10030
|
+
};
|
|
10031
|
+
blockExplorers: {
|
|
10032
|
+
readonly default: {
|
|
10033
|
+
readonly name: "Corn Explorer";
|
|
10034
|
+
readonly url: "https://cornscan.io";
|
|
10035
|
+
readonly apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api";
|
|
10036
|
+
};
|
|
10037
|
+
};
|
|
10038
|
+
id: 21000000;
|
|
10039
|
+
name: "Corn Maizenet";
|
|
10040
|
+
nativeCurrency: {
|
|
10041
|
+
readonly decimals: 18;
|
|
10042
|
+
readonly name: "Bitcorn";
|
|
10043
|
+
readonly symbol: "BTCN";
|
|
10044
|
+
};
|
|
10045
|
+
rpcUrls: {
|
|
10046
|
+
readonly default: {
|
|
10047
|
+
readonly http: readonly ["https://rpc.ankr.com/corn_maizenet"];
|
|
10048
|
+
};
|
|
10049
|
+
};
|
|
10050
|
+
sourceId: 1;
|
|
10051
|
+
testnet?: boolean | undefined;
|
|
10052
|
+
custom?: Record<string, unknown> | undefined;
|
|
10053
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10054
|
+
formatters?: undefined;
|
|
10055
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
9871
10056
|
}>];
|
|
9872
|
-
export { arbitrum, base, blast, bob, boba, bsc, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
10057
|
+
export { arbitrum, base, blast, bob, boba, bsc, corn, filecoin, gnosis, linea, lisk, mainnet, manta, mantle, metal, moonbeam, optimism, polygon, rootstock, scroll, sei, taiko, xLayer, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, Markets, Bridges, Oracles, IChainInfo, MAINNET_CHAINS };
|
|
9873
10058
|
export { ChainContract } from "viem";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfxlabs/oku-chains",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.129",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index-mjs.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"tslib": "^2.6.2",
|
|
51
51
|
"tsx": "^4.7.1",
|
|
52
52
|
"typescript": "^5.3.3",
|
|
53
|
-
"viem": "^2.21.
|
|
53
|
+
"viem": "^2.21.54"
|
|
54
54
|
},
|
|
55
55
|
"packageManager": "yarn@4.2.2",
|
|
56
56
|
"peerDependencies": {
|