@gfxlabs/oku-chains 1.1.11 → 1.1.12
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 +1 -0
- package/dist/index-mjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/browser.d.ts +87 -0
- package/dist/types/index-mjs.d.ts +87 -0
- package/dist/types/index.d.ts +87 -0
- package/package.json +1 -1
package/dist/browser.js
CHANGED
package/dist/index-mjs.js
CHANGED
|
@@ -1877,6 +1877,7 @@ const MAINNET_CHAINS = [
|
|
|
1877
1877
|
polygonZkEvm,
|
|
1878
1878
|
zkSync,
|
|
1879
1879
|
manta,
|
|
1880
|
+
linea,
|
|
1880
1881
|
];
|
|
1881
1882
|
|
|
1882
1883
|
export { MAINNET_CHAINS, arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, polygonZkEvm, rootstock, scroll, zkSync };
|
package/dist/index.js
CHANGED
package/dist/types/browser.d.ts
CHANGED
|
@@ -10204,6 +10204,93 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
10204
10204
|
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10205
10205
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10206
10206
|
network: "manta";
|
|
10207
|
+
}>, Readonly<{
|
|
10208
|
+
blockTimeSeconds: 3;
|
|
10209
|
+
sortIndex: 15;
|
|
10210
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg";
|
|
10211
|
+
safeReorgDistance: 100;
|
|
10212
|
+
externalId: {
|
|
10213
|
+
zerion: string;
|
|
10214
|
+
};
|
|
10215
|
+
uniswap: {
|
|
10216
|
+
deployBlock: number;
|
|
10217
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9";
|
|
10218
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F";
|
|
10219
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9";
|
|
10220
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10221
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10222
|
+
positionsNFTDeployBlock: number;
|
|
10223
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd";
|
|
10224
|
+
};
|
|
10225
|
+
token: {
|
|
10226
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10227
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10228
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4";
|
|
10229
|
+
};
|
|
10230
|
+
oku: {
|
|
10231
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10232
|
+
limitOrderRegistryDeployBlock: number;
|
|
10233
|
+
pricing: {
|
|
10234
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10235
|
+
nativeWrappedName: string;
|
|
10236
|
+
};
|
|
10237
|
+
};
|
|
10238
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf";
|
|
10239
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10240
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10241
|
+
tokenList: ({
|
|
10242
|
+
symbol: string;
|
|
10243
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10244
|
+
} | {
|
|
10245
|
+
symbol: string;
|
|
10246
|
+
address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10247
|
+
})[];
|
|
10248
|
+
stables: ("0x176211869ca2b568f2a7d4ee941e073a821ee1ff" | "0xa219439258ca9da29e9cc4ce5596924745e12b93" | "0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5")[];
|
|
10249
|
+
watchlist: never[];
|
|
10250
|
+
internalName: "linea";
|
|
10251
|
+
contracts: {
|
|
10252
|
+
limitOrder: {
|
|
10253
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10254
|
+
};
|
|
10255
|
+
nftManager: {
|
|
10256
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10257
|
+
};
|
|
10258
|
+
weth9: {
|
|
10259
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10260
|
+
};
|
|
10261
|
+
multicall2: {
|
|
10262
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845";
|
|
10263
|
+
};
|
|
10264
|
+
multicall3: {
|
|
10265
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10266
|
+
};
|
|
10267
|
+
};
|
|
10268
|
+
blockExplorers: {
|
|
10269
|
+
readonly default: {
|
|
10270
|
+
readonly name: "Etherscan";
|
|
10271
|
+
readonly url: "https://lineascan.build";
|
|
10272
|
+
readonly apiUrl: "https://api.lineascan.build/api";
|
|
10273
|
+
};
|
|
10274
|
+
};
|
|
10275
|
+
id: 59144;
|
|
10276
|
+
name: "Linea Mainnet";
|
|
10277
|
+
nativeCurrency: {
|
|
10278
|
+
readonly name: "Linea Ether";
|
|
10279
|
+
readonly symbol: "ETH";
|
|
10280
|
+
readonly decimals: 18;
|
|
10281
|
+
};
|
|
10282
|
+
rpcUrls: {
|
|
10283
|
+
readonly default: {
|
|
10284
|
+
readonly http: readonly ["https://rpc.linea.build"];
|
|
10285
|
+
readonly webSocket: readonly ["wss://rpc.linea.build"];
|
|
10286
|
+
};
|
|
10287
|
+
};
|
|
10288
|
+
sourceId?: number | undefined;
|
|
10289
|
+
testnet: false;
|
|
10290
|
+
custom?: Record<string, unknown> | undefined;
|
|
10291
|
+
formatters?: undefined;
|
|
10292
|
+
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10293
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10207
10294
|
}>];
|
|
10208
10295
|
export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, rootstock, scroll, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
|
|
10209
10296
|
export { ChainContract } from "viem";
|
|
@@ -10204,6 +10204,93 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
10204
10204
|
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10205
10205
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10206
10206
|
network: "manta";
|
|
10207
|
+
}>, Readonly<{
|
|
10208
|
+
blockTimeSeconds: 3;
|
|
10209
|
+
sortIndex: 15;
|
|
10210
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg";
|
|
10211
|
+
safeReorgDistance: 100;
|
|
10212
|
+
externalId: {
|
|
10213
|
+
zerion: string;
|
|
10214
|
+
};
|
|
10215
|
+
uniswap: {
|
|
10216
|
+
deployBlock: number;
|
|
10217
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9";
|
|
10218
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F";
|
|
10219
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9";
|
|
10220
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10221
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10222
|
+
positionsNFTDeployBlock: number;
|
|
10223
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd";
|
|
10224
|
+
};
|
|
10225
|
+
token: {
|
|
10226
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10227
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10228
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4";
|
|
10229
|
+
};
|
|
10230
|
+
oku: {
|
|
10231
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10232
|
+
limitOrderRegistryDeployBlock: number;
|
|
10233
|
+
pricing: {
|
|
10234
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10235
|
+
nativeWrappedName: string;
|
|
10236
|
+
};
|
|
10237
|
+
};
|
|
10238
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf";
|
|
10239
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10240
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10241
|
+
tokenList: ({
|
|
10242
|
+
symbol: string;
|
|
10243
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10244
|
+
} | {
|
|
10245
|
+
symbol: string;
|
|
10246
|
+
address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10247
|
+
})[];
|
|
10248
|
+
stables: ("0x176211869ca2b568f2a7d4ee941e073a821ee1ff" | "0xa219439258ca9da29e9cc4ce5596924745e12b93" | "0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5")[];
|
|
10249
|
+
watchlist: never[];
|
|
10250
|
+
internalName: "linea";
|
|
10251
|
+
contracts: {
|
|
10252
|
+
limitOrder: {
|
|
10253
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10254
|
+
};
|
|
10255
|
+
nftManager: {
|
|
10256
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10257
|
+
};
|
|
10258
|
+
weth9: {
|
|
10259
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10260
|
+
};
|
|
10261
|
+
multicall2: {
|
|
10262
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845";
|
|
10263
|
+
};
|
|
10264
|
+
multicall3: {
|
|
10265
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10266
|
+
};
|
|
10267
|
+
};
|
|
10268
|
+
blockExplorers: {
|
|
10269
|
+
readonly default: {
|
|
10270
|
+
readonly name: "Etherscan";
|
|
10271
|
+
readonly url: "https://lineascan.build";
|
|
10272
|
+
readonly apiUrl: "https://api.lineascan.build/api";
|
|
10273
|
+
};
|
|
10274
|
+
};
|
|
10275
|
+
id: 59144;
|
|
10276
|
+
name: "Linea Mainnet";
|
|
10277
|
+
nativeCurrency: {
|
|
10278
|
+
readonly name: "Linea Ether";
|
|
10279
|
+
readonly symbol: "ETH";
|
|
10280
|
+
readonly decimals: 18;
|
|
10281
|
+
};
|
|
10282
|
+
rpcUrls: {
|
|
10283
|
+
readonly default: {
|
|
10284
|
+
readonly http: readonly ["https://rpc.linea.build"];
|
|
10285
|
+
readonly webSocket: readonly ["wss://rpc.linea.build"];
|
|
10286
|
+
};
|
|
10287
|
+
};
|
|
10288
|
+
sourceId?: number | undefined;
|
|
10289
|
+
testnet: false;
|
|
10290
|
+
custom?: Record<string, unknown> | undefined;
|
|
10291
|
+
formatters?: undefined;
|
|
10292
|
+
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10293
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10207
10294
|
}>];
|
|
10208
10295
|
export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, rootstock, scroll, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
|
|
10209
10296
|
export { ChainContract } from "viem";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10204,6 +10204,93 @@ declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
10204
10204
|
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10205
10205
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10206
10206
|
network: "manta";
|
|
10207
|
+
}>, Readonly<{
|
|
10208
|
+
blockTimeSeconds: 3;
|
|
10209
|
+
sortIndex: 15;
|
|
10210
|
+
logoUrl: "https://assets.oku.trade/linea-logo.svg";
|
|
10211
|
+
safeReorgDistance: 100;
|
|
10212
|
+
externalId: {
|
|
10213
|
+
zerion: string;
|
|
10214
|
+
};
|
|
10215
|
+
uniswap: {
|
|
10216
|
+
deployBlock: number;
|
|
10217
|
+
poolFactory: "0x31FAfd4889FA1269F7a13A66eE0fB458f27D72A9";
|
|
10218
|
+
multicall2: "0x93e253D101519578A8DF0BCe2A43D8292BFb3A1F";
|
|
10219
|
+
tickLens: "0x3334d83e224aF5ef9C2E7DDA7c7C98Efd9621fA9";
|
|
10220
|
+
nonfungiblePositionManager: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10221
|
+
positionsNFT: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10222
|
+
positionsNFTDeployBlock: number;
|
|
10223
|
+
universalRouter: "0xd7c7d7f18dd5388d5217c9696c7e799fcd75c6bd";
|
|
10224
|
+
};
|
|
10225
|
+
token: {
|
|
10226
|
+
usdcAddress: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10227
|
+
wethAddress: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10228
|
+
wbtcAddress: "0x3aab2285ddcddad8edf438c1bab47e1a9d05a9b4";
|
|
10229
|
+
};
|
|
10230
|
+
oku: {
|
|
10231
|
+
limitOrderRegistry: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10232
|
+
limitOrderRegistryDeployBlock: number;
|
|
10233
|
+
pricing: {
|
|
10234
|
+
nativeWrappedToken: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10235
|
+
nativeWrappedName: string;
|
|
10236
|
+
};
|
|
10237
|
+
};
|
|
10238
|
+
defaultPool: "0xff577f0e828a878743ecc5e2632cbf65cecf17cf";
|
|
10239
|
+
defaultToken0: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10240
|
+
defaultToken1: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10241
|
+
tokenList: ({
|
|
10242
|
+
symbol: string;
|
|
10243
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10244
|
+
} | {
|
|
10245
|
+
symbol: string;
|
|
10246
|
+
address: "0x176211869ca2b568f2a7d4ee941e073a821ee1ff";
|
|
10247
|
+
})[];
|
|
10248
|
+
stables: ("0x176211869ca2b568f2a7d4ee941e073a821ee1ff" | "0xa219439258ca9da29e9cc4ce5596924745e12b93" | "0x4af15ec2a0bd43db75dd04e62faa3b8ef36b00d5")[];
|
|
10249
|
+
watchlist: never[];
|
|
10250
|
+
internalName: "linea";
|
|
10251
|
+
contracts: {
|
|
10252
|
+
limitOrder: {
|
|
10253
|
+
address: "0x63c8527f670d4eb3401c80c5905ceca8727f1e74";
|
|
10254
|
+
};
|
|
10255
|
+
nftManager: {
|
|
10256
|
+
address: "0x4615C383F85D0a2BbED973d83ccecf5CB7121463";
|
|
10257
|
+
};
|
|
10258
|
+
weth9: {
|
|
10259
|
+
address: "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f";
|
|
10260
|
+
};
|
|
10261
|
+
multicall2: {
|
|
10262
|
+
address: "0x9A27B81b034e585be9d366DEB7aBAD036BE50845";
|
|
10263
|
+
};
|
|
10264
|
+
multicall3: {
|
|
10265
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
10266
|
+
};
|
|
10267
|
+
};
|
|
10268
|
+
blockExplorers: {
|
|
10269
|
+
readonly default: {
|
|
10270
|
+
readonly name: "Etherscan";
|
|
10271
|
+
readonly url: "https://lineascan.build";
|
|
10272
|
+
readonly apiUrl: "https://api.lineascan.build/api";
|
|
10273
|
+
};
|
|
10274
|
+
};
|
|
10275
|
+
id: 59144;
|
|
10276
|
+
name: "Linea Mainnet";
|
|
10277
|
+
nativeCurrency: {
|
|
10278
|
+
readonly name: "Linea Ether";
|
|
10279
|
+
readonly symbol: "ETH";
|
|
10280
|
+
readonly decimals: 18;
|
|
10281
|
+
};
|
|
10282
|
+
rpcUrls: {
|
|
10283
|
+
readonly default: {
|
|
10284
|
+
readonly http: readonly ["https://rpc.linea.build"];
|
|
10285
|
+
readonly webSocket: readonly ["wss://rpc.linea.build"];
|
|
10286
|
+
};
|
|
10287
|
+
};
|
|
10288
|
+
sourceId?: number | undefined;
|
|
10289
|
+
testnet: false;
|
|
10290
|
+
custom?: Record<string, unknown> | undefined;
|
|
10291
|
+
formatters?: undefined;
|
|
10292
|
+
serializers?: import("viem").ChainSerializers<undefined> | undefined;
|
|
10293
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
10207
10294
|
}>];
|
|
10208
10295
|
export { arbitrum, base, blast, boba, bsc, filecoin, linea, mainnet, manta, moonbeam, optimism, polygon, rootstock, scroll, polygonZkEvm, zkSync, UniswapMetadata, OkuPricingMetadata, OkuMetadata, TokenMetadata, IChainInfo, MAINNET_CHAINS };
|
|
10209
10296
|
export { ChainContract } from "viem";
|