@gfxlabs/oku-chains 1.12.21 → 1.12.23
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 +265 -3
- package/dist/index-mjs.js +265 -6
- package/dist/index.js +265 -3
- package/dist/types/definitions/index.d.ts +1 -0
- package/dist/types/definitions/sepolia.d.ts +135 -0
- package/dist/types/index.d.ts +137 -9
- package/dist/types/non-evm/index.d.ts +2 -0
- package/dist/types/non-evm/solana.d.ts +85 -0
- package/dist/types/non-evm/zcash.d.ts +85 -0
- package/dist/types/spec/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5705,6 +5705,92 @@ const sei = makeConfig({
|
|
|
5705
5705
|
},
|
|
5706
5706
|
});
|
|
5707
5707
|
|
|
5708
|
+
const sepolia = makeConfig({
|
|
5709
|
+
...chains.sepolia,
|
|
5710
|
+
blockTimeSeconds: 12,
|
|
5711
|
+
launchTime: 1655683200,
|
|
5712
|
+
transactionType: "eip1559",
|
|
5713
|
+
sortIndex: 47,
|
|
5714
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/ethereum-logo.webp",
|
|
5715
|
+
deprecated: true,
|
|
5716
|
+
liteChain: true,
|
|
5717
|
+
estimatedSwapGas: 300000,
|
|
5718
|
+
estimatedBridgeGas: 200000,
|
|
5719
|
+
estimatedWrapGas: 60000,
|
|
5720
|
+
safeReorgDistance: 90000,
|
|
5721
|
+
blockAid: "",
|
|
5722
|
+
externalId: {},
|
|
5723
|
+
markets: {},
|
|
5724
|
+
bridges: {},
|
|
5725
|
+
oracles: {},
|
|
5726
|
+
morpho: {},
|
|
5727
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
5728
|
+
uniswap: {
|
|
5729
|
+
deployBlock: 0,
|
|
5730
|
+
poolFactory: "0x0227628f3F023bb0B980b67D528571c95c6DaC1c",
|
|
5731
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
5732
|
+
multicall2: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07",
|
|
5733
|
+
tickLens: "0xd7f33bcdb21b359c8ee6f0251d30e94832baad07",
|
|
5734
|
+
quoter: "0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3",
|
|
5735
|
+
swapRouter02: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
5736
|
+
NFTDescriptor: "0x3B5E3c5E595D85fbFBC2a42ECC091e183E76697C",
|
|
5737
|
+
nonfungibleTokenPositionDescriptor: "0x5bE4DAa6982C69aD20A57F1e68cBcA3D37de6207",
|
|
5738
|
+
nonfungiblePositionManager: "0x1238536071E1c677A632429e3655c799b22cDA52",
|
|
5739
|
+
v3Migrator: "0x729004182cF005CEC8Bd85df140094b6aCbe8b15",
|
|
5740
|
+
positionsNFT: "0x1238536071E1c677A632429e3655c799b22cDA52",
|
|
5741
|
+
positionsNFTDeployBlock: 0,
|
|
5742
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916",
|
|
5743
|
+
wrappedNativeAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
5744
|
+
wrappedNativeSymbol: "WETH",
|
|
5745
|
+
wrappedNativeName: "Wrapped Ether",
|
|
5746
|
+
wrappedNativeDecimals: 18,
|
|
5747
|
+
nativeCurrencyName: "ETH",
|
|
5748
|
+
},
|
|
5749
|
+
uniswapv4: {
|
|
5750
|
+
deployBlock: 0,
|
|
5751
|
+
poolManager: "0xE03A1074c86CFeDd5C142C4F04F1a1536e203543",
|
|
5752
|
+
positionManager: "0x429ba70129df741B2Ca2a85BC3A2a3328e5c09b4",
|
|
5753
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916",
|
|
5754
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
5755
|
+
defaultPool: viem.zeroHash,
|
|
5756
|
+
stateView: "0xE1Dd9c3fA50EDB962E442f60DfBc432e24537E4C",
|
|
5757
|
+
},
|
|
5758
|
+
token: {
|
|
5759
|
+
usdcAddress: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17",
|
|
5760
|
+
wethAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
5761
|
+
},
|
|
5762
|
+
oku: {
|
|
5763
|
+
pricing: {
|
|
5764
|
+
nativeWrappedToken: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
5765
|
+
nativeWrappedName: "ETH",
|
|
5766
|
+
},
|
|
5767
|
+
},
|
|
5768
|
+
defaultPool: viem.zeroAddress,
|
|
5769
|
+
defaultToken0: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17",
|
|
5770
|
+
defaultToken1: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
5771
|
+
tokenList: [
|
|
5772
|
+
{ symbol: "USDC", address: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17" },
|
|
5773
|
+
{ symbol: "WETH", address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14" },
|
|
5774
|
+
],
|
|
5775
|
+
stables: ["0x699CFe8997D647d03325Ef4BFd039d5bb0984A17"],
|
|
5776
|
+
watchlist: [],
|
|
5777
|
+
v4Watchlist: [],
|
|
5778
|
+
internalName: "sepolia",
|
|
5779
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png",
|
|
5780
|
+
contracts: {
|
|
5781
|
+
...chains.sepolia.contracts,
|
|
5782
|
+
nftManager: {
|
|
5783
|
+
address: "0x1238536071E1c677A632429e3655c799b22cDA52",
|
|
5784
|
+
},
|
|
5785
|
+
weth9: {
|
|
5786
|
+
address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
|
|
5787
|
+
},
|
|
5788
|
+
multicall2: {
|
|
5789
|
+
address: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07",
|
|
5790
|
+
},
|
|
5791
|
+
},
|
|
5792
|
+
});
|
|
5793
|
+
|
|
5708
5794
|
const sonic = makeConfig({
|
|
5709
5795
|
...chains.sonic,
|
|
5710
5796
|
blockTimeSeconds: 3,
|
|
@@ -6958,7 +7044,10 @@ exports.ChainType = void 0;
|
|
|
6958
7044
|
(function (ChainType) {
|
|
6959
7045
|
/** EVM chains (CAIP-2 namespace `eip155`). */
|
|
6960
7046
|
ChainType["EVM"] = "eip155";
|
|
6961
|
-
/**
|
|
7047
|
+
/**
|
|
7048
|
+
* Bitcoin and Bitcoin-derived chains, e.g. Zcash (CAIP-2 namespace
|
|
7049
|
+
* `bip122`).
|
|
7050
|
+
*/
|
|
6962
7051
|
ChainType["Bitcoin"] = "bip122";
|
|
6963
7052
|
/** Solana (CAIP-2 namespace `solana`). */
|
|
6964
7053
|
ChainType["Solana"] = "solana";
|
|
@@ -7058,7 +7147,7 @@ function isNonEvmChain$1(c) {
|
|
|
7058
7147
|
* Refs:
|
|
7059
7148
|
* - https://github.com/ChainAgnostic/namespaces/blob/main/bip122/caip2.md
|
|
7060
7149
|
*/
|
|
7061
|
-
const chain = viem.defineChain({
|
|
7150
|
+
const chain$2 = viem.defineChain({
|
|
7062
7151
|
id: NON_EVM_CHAIN_ID,
|
|
7063
7152
|
name: "Bitcoin",
|
|
7064
7153
|
nativeCurrency: {
|
|
@@ -7080,7 +7169,7 @@ const chain = viem.defineChain({
|
|
|
7080
7169
|
},
|
|
7081
7170
|
});
|
|
7082
7171
|
const bitcoin = makeConfig({
|
|
7083
|
-
...chain,
|
|
7172
|
+
...chain$2,
|
|
7084
7173
|
caip2Namespace: "bip122",
|
|
7085
7174
|
caip2Reference: "000000000019d6689c085ae165831e93",
|
|
7086
7175
|
internalName: "bitcoin",
|
|
@@ -7125,6 +7214,173 @@ const bitcoin = makeConfig({
|
|
|
7125
7214
|
},
|
|
7126
7215
|
});
|
|
7127
7216
|
|
|
7217
|
+
/**
|
|
7218
|
+
* Solana mainnet-beta.
|
|
7219
|
+
*
|
|
7220
|
+
* A non-EVM chain expressed within the EVM-shaped {@link IChainInfo} so it
|
|
7221
|
+
* flows through the existing resolvers and consumers unchanged. Because viem's
|
|
7222
|
+
* `Chain` requires a numeric `id`, Solana uses the {@link NON_EVM_CHAIN_ID}
|
|
7223
|
+
* (`0`) placeholder and is identified/resolved via CAIP-2 instead:
|
|
7224
|
+
* `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`, where the reference is the first
|
|
7225
|
+
* 32 base58 chars of the genesis hash per the CAIP-2 `solana` namespace.
|
|
7226
|
+
*
|
|
7227
|
+
* EVM-only fields (uniswap, morpho, contracts, etc.) are present but empty.
|
|
7228
|
+
*
|
|
7229
|
+
* Refs:
|
|
7230
|
+
* - https://github.com/ChainAgnostic/namespaces/blob/main/solana/caip2.md
|
|
7231
|
+
*/
|
|
7232
|
+
const chain$1 = viem.defineChain({
|
|
7233
|
+
id: NON_EVM_CHAIN_ID,
|
|
7234
|
+
name: "Solana",
|
|
7235
|
+
nativeCurrency: {
|
|
7236
|
+
name: "Solana",
|
|
7237
|
+
symbol: "SOL",
|
|
7238
|
+
decimals: 9,
|
|
7239
|
+
},
|
|
7240
|
+
rpcUrls: {
|
|
7241
|
+
default: {
|
|
7242
|
+
http: ["https://api.mainnet-beta.solana.com"],
|
|
7243
|
+
},
|
|
7244
|
+
},
|
|
7245
|
+
blockExplorers: {
|
|
7246
|
+
default: {
|
|
7247
|
+
name: "Solscan",
|
|
7248
|
+
url: "https://solscan.io",
|
|
7249
|
+
apiUrl: "https://public-api.solscan.io",
|
|
7250
|
+
},
|
|
7251
|
+
},
|
|
7252
|
+
});
|
|
7253
|
+
const solana = makeConfig({
|
|
7254
|
+
...chain$1,
|
|
7255
|
+
caip2Namespace: "solana",
|
|
7256
|
+
caip2Reference: "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
|
|
7257
|
+
internalName: "solana",
|
|
7258
|
+
transactionType: "solana",
|
|
7259
|
+
sortIndex: 1001,
|
|
7260
|
+
launchTime: 1584368940,
|
|
7261
|
+
blockTimeSeconds: 0.4,
|
|
7262
|
+
deprecated: false,
|
|
7263
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/solana-logo.webp",
|
|
7264
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/sol.png",
|
|
7265
|
+
blockAid: "solana",
|
|
7266
|
+
estimatedSwapGas: 0,
|
|
7267
|
+
estimatedBridgeGas: 0,
|
|
7268
|
+
estimatedWrapGas: 0,
|
|
7269
|
+
initCodeHash: "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
7270
|
+
defaultPool: "0x0000000000000000000000000000000000000000",
|
|
7271
|
+
defaultToken0: "0x0000000000000000000000000000000000000000",
|
|
7272
|
+
defaultToken1: "0x0000000000000000000000000000000000000000",
|
|
7273
|
+
tokenList: [],
|
|
7274
|
+
stables: [],
|
|
7275
|
+
watchlist: [],
|
|
7276
|
+
v4Watchlist: [],
|
|
7277
|
+
externalId: {
|
|
7278
|
+
coingecko: "solana",
|
|
7279
|
+
},
|
|
7280
|
+
markets: {},
|
|
7281
|
+
bridges: {},
|
|
7282
|
+
oracles: {
|
|
7283
|
+
coingecko: {
|
|
7284
|
+
slug: "solana",
|
|
7285
|
+
native: "solana",
|
|
7286
|
+
},
|
|
7287
|
+
},
|
|
7288
|
+
uniswap: {},
|
|
7289
|
+
morpho: {},
|
|
7290
|
+
token: {},
|
|
7291
|
+
oku: {},
|
|
7292
|
+
contracts: {
|
|
7293
|
+
nftManager: {
|
|
7294
|
+
address: "0x0000000000000000000000000000000000000000",
|
|
7295
|
+
},
|
|
7296
|
+
},
|
|
7297
|
+
});
|
|
7298
|
+
|
|
7299
|
+
/**
|
|
7300
|
+
* Zcash mainnet.
|
|
7301
|
+
*
|
|
7302
|
+
* A non-EVM chain expressed within the EVM-shaped {@link IChainInfo} so it
|
|
7303
|
+
* flows through the existing resolvers and consumers unchanged. Because viem's
|
|
7304
|
+
* `Chain` requires a numeric `id`, Zcash uses the {@link NON_EVM_CHAIN_ID}
|
|
7305
|
+
* (`0`) placeholder and is identified/resolved via CAIP-2 instead:
|
|
7306
|
+
* `bip122:00040fe8ec8471911baa1db1266ea15d`, where the reference is the first
|
|
7307
|
+
* 32 hex chars of the genesis block hash per the CAIP-2 `bip122` namespace.
|
|
7308
|
+
* Zcash is a Bitcoin-derived chain and therefore shares the `bip122`
|
|
7309
|
+
* namespace, so `chainType(zcash)` is `ChainType.Bitcoin`; use `internalName`
|
|
7310
|
+
* (or the CAIP-2 identifier) to distinguish it from Bitcoin itself.
|
|
7311
|
+
*
|
|
7312
|
+
* EVM-only fields (uniswap, morpho, contracts, etc.) are present but empty.
|
|
7313
|
+
*
|
|
7314
|
+
* Refs:
|
|
7315
|
+
* - https://github.com/ChainAgnostic/namespaces/blob/main/bip122/caip2.md
|
|
7316
|
+
*/
|
|
7317
|
+
const chain = viem.defineChain({
|
|
7318
|
+
id: NON_EVM_CHAIN_ID,
|
|
7319
|
+
name: "Zcash",
|
|
7320
|
+
nativeCurrency: {
|
|
7321
|
+
name: "Zcash",
|
|
7322
|
+
symbol: "ZEC",
|
|
7323
|
+
decimals: 8,
|
|
7324
|
+
},
|
|
7325
|
+
rpcUrls: {
|
|
7326
|
+
default: {
|
|
7327
|
+
http: ["https://zec.rocks:443"],
|
|
7328
|
+
},
|
|
7329
|
+
},
|
|
7330
|
+
blockExplorers: {
|
|
7331
|
+
default: {
|
|
7332
|
+
name: "Blockchair",
|
|
7333
|
+
url: "https://blockchair.com/zcash",
|
|
7334
|
+
apiUrl: "https://api.blockchair.com/zcash",
|
|
7335
|
+
},
|
|
7336
|
+
},
|
|
7337
|
+
});
|
|
7338
|
+
const zcash = makeConfig({
|
|
7339
|
+
...chain,
|
|
7340
|
+
caip2Namespace: "bip122",
|
|
7341
|
+
caip2Reference: "00040fe8ec8471911baa1db1266ea15d",
|
|
7342
|
+
internalName: "zcash",
|
|
7343
|
+
transactionType: "zcash",
|
|
7344
|
+
sortIndex: 1002,
|
|
7345
|
+
launchTime: 1477641360,
|
|
7346
|
+
blockTimeSeconds: 75,
|
|
7347
|
+
deprecated: false,
|
|
7348
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/zcash-logo.webp",
|
|
7349
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/zec.png",
|
|
7350
|
+
blockAid: "",
|
|
7351
|
+
estimatedSwapGas: 0,
|
|
7352
|
+
estimatedBridgeGas: 0,
|
|
7353
|
+
estimatedWrapGas: 0,
|
|
7354
|
+
initCodeHash: "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
7355
|
+
defaultPool: "0x0000000000000000000000000000000000000000",
|
|
7356
|
+
defaultToken0: "0x0000000000000000000000000000000000000000",
|
|
7357
|
+
defaultToken1: "0x0000000000000000000000000000000000000000",
|
|
7358
|
+
tokenList: [],
|
|
7359
|
+
stables: [],
|
|
7360
|
+
watchlist: [],
|
|
7361
|
+
v4Watchlist: [],
|
|
7362
|
+
externalId: {
|
|
7363
|
+
coingecko: "zcash",
|
|
7364
|
+
},
|
|
7365
|
+
markets: {},
|
|
7366
|
+
bridges: {},
|
|
7367
|
+
oracles: {
|
|
7368
|
+
coingecko: {
|
|
7369
|
+
slug: "zcash",
|
|
7370
|
+
native: "zcash",
|
|
7371
|
+
},
|
|
7372
|
+
},
|
|
7373
|
+
uniswap: {},
|
|
7374
|
+
morpho: {},
|
|
7375
|
+
token: {},
|
|
7376
|
+
oku: {},
|
|
7377
|
+
contracts: {
|
|
7378
|
+
nftManager: {
|
|
7379
|
+
address: "0x0000000000000000000000000000000000000000",
|
|
7380
|
+
},
|
|
7381
|
+
},
|
|
7382
|
+
});
|
|
7383
|
+
|
|
7128
7384
|
/**
|
|
7129
7385
|
* Parse a CAIP-2 chain ID string into its namespace and reference components.
|
|
7130
7386
|
*
|
|
@@ -7392,6 +7648,7 @@ const MAINNET_CHAINS = [
|
|
|
7392
7648
|
gensyn,
|
|
7393
7649
|
pharos,
|
|
7394
7650
|
robinhood,
|
|
7651
|
+
sepolia,
|
|
7395
7652
|
];
|
|
7396
7653
|
/**
|
|
7397
7654
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7402,6 +7659,8 @@ const MAINNET_CHAINS = [
|
|
|
7402
7659
|
*/
|
|
7403
7660
|
const NON_EVM_CHAINS = [
|
|
7404
7661
|
bitcoin,
|
|
7662
|
+
solana,
|
|
7663
|
+
zcash,
|
|
7405
7664
|
];
|
|
7406
7665
|
/**
|
|
7407
7666
|
* All networks, EVM and non-EVM. Use this when you need to enumerate every
|
|
@@ -7634,6 +7893,8 @@ exports.rootstock = rootstock;
|
|
|
7634
7893
|
exports.saga = saga;
|
|
7635
7894
|
exports.scroll = scroll;
|
|
7636
7895
|
exports.sei = sei;
|
|
7896
|
+
exports.sepolia = sepolia;
|
|
7897
|
+
exports.solana = solana;
|
|
7637
7898
|
exports.sonic = sonic;
|
|
7638
7899
|
exports.taiko = taiko;
|
|
7639
7900
|
exports.telos = telos;
|
|
@@ -7642,5 +7903,6 @@ exports.tronShasta = tronShasta;
|
|
|
7642
7903
|
exports.unichain = unichain;
|
|
7643
7904
|
exports.worldchain = worldchain;
|
|
7644
7905
|
exports.xdc = xdc;
|
|
7906
|
+
exports.zcash = zcash;
|
|
7645
7907
|
exports.zerog = zerog;
|
|
7646
7908
|
exports.zkSync = zkSync;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export declare const sepolia: Readonly<{
|
|
2
|
+
blockTimeSeconds: 12;
|
|
3
|
+
launchTime: 1655683200;
|
|
4
|
+
transactionType: "eip1559";
|
|
5
|
+
sortIndex: 47;
|
|
6
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/ethereum-logo.webp";
|
|
7
|
+
deprecated: true;
|
|
8
|
+
liteChain: true;
|
|
9
|
+
estimatedSwapGas: 300000;
|
|
10
|
+
estimatedBridgeGas: 200000;
|
|
11
|
+
estimatedWrapGas: 60000;
|
|
12
|
+
safeReorgDistance: 90000;
|
|
13
|
+
blockAid: "";
|
|
14
|
+
externalId: {};
|
|
15
|
+
markets: {};
|
|
16
|
+
bridges: {};
|
|
17
|
+
oracles: {};
|
|
18
|
+
morpho: {};
|
|
19
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
20
|
+
uniswap: {
|
|
21
|
+
deployBlock: number;
|
|
22
|
+
poolFactory: "0x0227628f3F023bb0B980b67D528571c95c6DaC1c";
|
|
23
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
24
|
+
multicall2: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07";
|
|
25
|
+
tickLens: "0xd7f33bcdb21b359c8ee6f0251d30e94832baad07";
|
|
26
|
+
quoter: "0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3";
|
|
27
|
+
swapRouter02: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E";
|
|
28
|
+
NFTDescriptor: "0x3B5E3c5E595D85fbFBC2a42ECC091e183E76697C";
|
|
29
|
+
nonfungibleTokenPositionDescriptor: "0x5bE4DAa6982C69aD20A57F1e68cBcA3D37de6207";
|
|
30
|
+
nonfungiblePositionManager: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
31
|
+
v3Migrator: "0x729004182cF005CEC8Bd85df140094b6aCbe8b15";
|
|
32
|
+
positionsNFT: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
33
|
+
positionsNFTDeployBlock: number;
|
|
34
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916";
|
|
35
|
+
wrappedNativeAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
36
|
+
wrappedNativeSymbol: string;
|
|
37
|
+
wrappedNativeName: string;
|
|
38
|
+
wrappedNativeDecimals: number;
|
|
39
|
+
nativeCurrencyName: string;
|
|
40
|
+
};
|
|
41
|
+
uniswapv4: {
|
|
42
|
+
deployBlock: number;
|
|
43
|
+
poolManager: "0xE03A1074c86CFeDd5C142C4F04F1a1536e203543";
|
|
44
|
+
positionManager: "0x429ba70129df741B2Ca2a85BC3A2a3328e5c09b4";
|
|
45
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916";
|
|
46
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
47
|
+
defaultPool: "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
48
|
+
stateView: "0xE1Dd9c3fA50EDB962E442f60DfBc432e24537E4C";
|
|
49
|
+
};
|
|
50
|
+
token: {
|
|
51
|
+
usdcAddress: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
52
|
+
wethAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
53
|
+
};
|
|
54
|
+
oku: {
|
|
55
|
+
pricing: {
|
|
56
|
+
nativeWrappedToken: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
57
|
+
nativeWrappedName: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
61
|
+
defaultToken0: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
62
|
+
defaultToken1: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
63
|
+
tokenList: ({
|
|
64
|
+
symbol: string;
|
|
65
|
+
address: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
66
|
+
} | {
|
|
67
|
+
symbol: string;
|
|
68
|
+
address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
69
|
+
})[];
|
|
70
|
+
stables: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17"[];
|
|
71
|
+
watchlist: never[];
|
|
72
|
+
v4Watchlist: never[];
|
|
73
|
+
internalName: "sepolia";
|
|
74
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
|
|
75
|
+
contracts: {
|
|
76
|
+
nftManager: {
|
|
77
|
+
address: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
78
|
+
};
|
|
79
|
+
weth9: {
|
|
80
|
+
address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
81
|
+
};
|
|
82
|
+
multicall2: {
|
|
83
|
+
address: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07";
|
|
84
|
+
};
|
|
85
|
+
multicall3: {
|
|
86
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
87
|
+
readonly blockCreated: 751532;
|
|
88
|
+
};
|
|
89
|
+
ensUniversalResolver: {
|
|
90
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
91
|
+
readonly blockCreated: 8928790;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
blockExplorers: {
|
|
95
|
+
readonly default: {
|
|
96
|
+
readonly name: "Etherscan";
|
|
97
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
98
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
blockTime?: number | undefined | undefined | undefined;
|
|
102
|
+
ensTlds?: readonly string[] | undefined;
|
|
103
|
+
id: 11155111;
|
|
104
|
+
name: "Sepolia";
|
|
105
|
+
nativeCurrency: {
|
|
106
|
+
readonly name: "Sepolia Ether";
|
|
107
|
+
readonly symbol: "ETH";
|
|
108
|
+
readonly decimals: 18;
|
|
109
|
+
};
|
|
110
|
+
experimental_preconfirmationTime?: number | undefined | undefined | undefined;
|
|
111
|
+
rpcUrls: {
|
|
112
|
+
readonly default: {
|
|
113
|
+
readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
sourceId?: number | undefined | undefined | undefined;
|
|
117
|
+
testnet: true;
|
|
118
|
+
custom?: Record<string, unknown> | undefined;
|
|
119
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
120
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
121
|
+
formatters?: undefined | undefined;
|
|
122
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
123
|
+
client: import("viem").Client;
|
|
124
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
125
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
126
|
+
client: import("viem").Client;
|
|
127
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
128
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
129
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
130
|
+
}] | undefined | undefined;
|
|
131
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
132
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
|
|
133
|
+
} & {
|
|
134
|
+
caip2Namespace: string;
|
|
135
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4890,7 +4890,8 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4890
4890
|
chainId: number;
|
|
4891
4891
|
type: "eip2930";
|
|
4892
4892
|
gasPrice: bigint;
|
|
4893
|
-
maxFeePerBlobGas
|
|
4893
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
4894
|
+
maxFeePerGas
|
|
4894
4895
|
/**
|
|
4895
4896
|
* True if the chain is non-EVM (its CAIP-2 namespace is not `eip155`). Accepts
|
|
4896
4897
|
* an {@link IChainInfo} object, a CAIP-2 string, an internal name, or a
|
|
@@ -4901,7 +4902,6 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4901
4902
|
* an {@link IChainInfo} object, a CAIP-2 string, an internal name, or a
|
|
4902
4903
|
* numeric chain id.
|
|
4903
4904
|
*/: undefined | undefined;
|
|
4904
|
-
maxFeePerGas?: undefined | undefined;
|
|
4905
4905
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
4906
4906
|
isSystemTx?: undefined | undefined;
|
|
4907
4907
|
mint?: undefined | undefined;
|
|
@@ -5910,13 +5910,7 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5910
5910
|
value: bigint;
|
|
5911
5911
|
yParity: number;
|
|
5912
5912
|
accessList: import("viem").AccessList;
|
|
5913
|
-
authorizationList
|
|
5914
|
-
/**
|
|
5915
|
-
* True if the chain is an EVM chain (CAIP-2 namespace `eip155`). Accepts an
|
|
5916
|
-
* {@link IChainInfo} object, a CAIP-2 string, an internal name, or a numeric
|
|
5917
|
-
* chain id.
|
|
5918
|
-
*/
|
|
5919
|
-
?: undefined | undefined;
|
|
5913
|
+
authorizationList?: undefined | undefined;
|
|
5920
5914
|
blobVersionedHashes?: undefined | undefined;
|
|
5921
5915
|
chainId: number;
|
|
5922
5916
|
type: "eip2930";
|
|
@@ -11094,6 +11088,140 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
11094
11088
|
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
|
|
11095
11089
|
} & {
|
|
11096
11090
|
caip2Namespace: string;
|
|
11091
|
+
}>, Readonly<{
|
|
11092
|
+
blockTimeSeconds: 12;
|
|
11093
|
+
launchTime: 1655683200;
|
|
11094
|
+
transactionType: "eip1559";
|
|
11095
|
+
sortIndex: 47;
|
|
11096
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/ethereum-logo.webp";
|
|
11097
|
+
deprecated: true;
|
|
11098
|
+
liteChain: true;
|
|
11099
|
+
estimatedSwapGas: 300000;
|
|
11100
|
+
estimatedBridgeGas: 200000;
|
|
11101
|
+
estimatedWrapGas: 60000;
|
|
11102
|
+
safeReorgDistance: 90000;
|
|
11103
|
+
blockAid: "";
|
|
11104
|
+
externalId: {};
|
|
11105
|
+
markets: {};
|
|
11106
|
+
bridges: {};
|
|
11107
|
+
oracles: {};
|
|
11108
|
+
morpho: {};
|
|
11109
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
11110
|
+
uniswap: {
|
|
11111
|
+
deployBlock: number;
|
|
11112
|
+
poolFactory: "0x0227628f3F023bb0B980b67D528571c95c6DaC1c";
|
|
11113
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
11114
|
+
multicall2: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07";
|
|
11115
|
+
tickLens: "0xd7f33bcdb21b359c8ee6f0251d30e94832baad07";
|
|
11116
|
+
quoter: "0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3";
|
|
11117
|
+
swapRouter02: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E";
|
|
11118
|
+
NFTDescriptor: "0x3B5E3c5E595D85fbFBC2a42ECC091e183E76697C";
|
|
11119
|
+
nonfungibleTokenPositionDescriptor: "0x5bE4DAa6982C69aD20A57F1e68cBcA3D37de6207";
|
|
11120
|
+
nonfungiblePositionManager: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
11121
|
+
v3Migrator: "0x729004182cF005CEC8Bd85df140094b6aCbe8b15";
|
|
11122
|
+
positionsNFT: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
11123
|
+
positionsNFTDeployBlock: number;
|
|
11124
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916";
|
|
11125
|
+
wrappedNativeAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11126
|
+
wrappedNativeSymbol: string;
|
|
11127
|
+
wrappedNativeName: string;
|
|
11128
|
+
wrappedNativeDecimals: number;
|
|
11129
|
+
nativeCurrencyName: string;
|
|
11130
|
+
};
|
|
11131
|
+
uniswapv4: {
|
|
11132
|
+
deployBlock: number;
|
|
11133
|
+
poolManager: "0xE03A1074c86CFeDd5C142C4F04F1a1536e203543";
|
|
11134
|
+
positionManager: "0x429ba70129df741B2Ca2a85BC3A2a3328e5c09b4";
|
|
11135
|
+
universalRouter: "0xB0C89059d7190EDb17eFF19829cc009cEe923916";
|
|
11136
|
+
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
11137
|
+
defaultPool: "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
11138
|
+
stateView: "0xE1Dd9c3fA50EDB962E442f60DfBc432e24537E4C";
|
|
11139
|
+
};
|
|
11140
|
+
token: {
|
|
11141
|
+
usdcAddress: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
11142
|
+
wethAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11143
|
+
};
|
|
11144
|
+
oku: {
|
|
11145
|
+
pricing: {
|
|
11146
|
+
nativeWrappedToken: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11147
|
+
nativeWrappedName: string;
|
|
11148
|
+
};
|
|
11149
|
+
};
|
|
11150
|
+
defaultPool: "0x0000000000000000000000000000000000000000";
|
|
11151
|
+
defaultToken0: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
11152
|
+
defaultToken1: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11153
|
+
tokenList: ({
|
|
11154
|
+
symbol: string;
|
|
11155
|
+
address: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17";
|
|
11156
|
+
} | {
|
|
11157
|
+
symbol: string;
|
|
11158
|
+
address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11159
|
+
})[];
|
|
11160
|
+
stables: "0x699CFe8997D647d03325Ef4BFd039d5bb0984A17"[];
|
|
11161
|
+
watchlist: never[];
|
|
11162
|
+
v4Watchlist: never[];
|
|
11163
|
+
internalName: "sepolia";
|
|
11164
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
|
|
11165
|
+
contracts: {
|
|
11166
|
+
nftManager: {
|
|
11167
|
+
address: "0x1238536071E1c677A632429e3655c799b22cDA52";
|
|
11168
|
+
};
|
|
11169
|
+
weth9: {
|
|
11170
|
+
address: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14";
|
|
11171
|
+
};
|
|
11172
|
+
multicall2: {
|
|
11173
|
+
address: "0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07";
|
|
11174
|
+
};
|
|
11175
|
+
multicall3: {
|
|
11176
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
11177
|
+
readonly blockCreated: 751532;
|
|
11178
|
+
};
|
|
11179
|
+
ensUniversalResolver: {
|
|
11180
|
+
readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
|
|
11181
|
+
readonly blockCreated: 8928790;
|
|
11182
|
+
};
|
|
11183
|
+
};
|
|
11184
|
+
blockExplorers: {
|
|
11185
|
+
readonly default: {
|
|
11186
|
+
readonly name: "Etherscan";
|
|
11187
|
+
readonly url: "https://sepolia.etherscan.io";
|
|
11188
|
+
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
11189
|
+
};
|
|
11190
|
+
};
|
|
11191
|
+
blockTime?: number | undefined | undefined | undefined;
|
|
11192
|
+
ensTlds?: readonly string[] | undefined;
|
|
11193
|
+
id: 11155111;
|
|
11194
|
+
name: "Sepolia";
|
|
11195
|
+
nativeCurrency: {
|
|
11196
|
+
readonly name: "Sepolia Ether";
|
|
11197
|
+
readonly symbol: "ETH";
|
|
11198
|
+
readonly decimals: 18;
|
|
11199
|
+
};
|
|
11200
|
+
experimental_preconfirmationTime?: number | undefined | undefined | undefined;
|
|
11201
|
+
rpcUrls: {
|
|
11202
|
+
readonly default: {
|
|
11203
|
+
readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
|
|
11204
|
+
};
|
|
11205
|
+
};
|
|
11206
|
+
sourceId?: number | undefined | undefined | undefined;
|
|
11207
|
+
testnet: true;
|
|
11208
|
+
custom?: Record<string, unknown> | undefined;
|
|
11209
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
11210
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
11211
|
+
formatters?: undefined | undefined;
|
|
11212
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
11213
|
+
client: import("viem").Client;
|
|
11214
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
11215
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
11216
|
+
client: import("viem").Client;
|
|
11217
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
11218
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
11219
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
11220
|
+
}] | undefined | undefined;
|
|
11221
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
11222
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
|
|
11223
|
+
} & {
|
|
11224
|
+
caip2Namespace: string;
|
|
11097
11225
|
}>];
|
|
11098
11226
|
/**
|
|
11099
11227
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|