@gfxlabs/oku-chains 1.12.8 → 1.12.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 +74 -0
- package/dist/index-mjs.js +75 -2
- package/dist/index.js +74 -0
- package/dist/types/definitions/arbitrum.d.ts +3 -0
- package/dist/types/definitions/avalanche.d.ts +2 -0
- package/dist/types/definitions/base.d.ts +11 -0
- package/dist/types/definitions/blast.d.ts +10 -0
- package/dist/types/definitions/bob.d.ts +10 -0
- package/dist/types/definitions/boba.d.ts +2 -0
- package/dist/types/definitions/bsc.d.ts +2 -0
- package/dist/types/definitions/celo.d.ts +18 -0
- package/dist/types/definitions/corn.d.ts +2 -0
- package/dist/types/definitions/etherlink.d.ts +2 -0
- package/dist/types/definitions/filecoin.d.ts +2 -0
- package/dist/types/definitions/gensyn.d.ts +2 -0
- package/dist/types/definitions/gnosis.d.ts +2 -0
- package/dist/types/definitions/goat.d.ts +2 -0
- package/dist/types/definitions/hemi.d.ts +2 -0
- package/dist/types/definitions/hyperevem.d.ts +2 -0
- package/dist/types/definitions/index.d.ts +1 -0
- package/dist/types/definitions/lens.d.ts +2 -0
- package/dist/types/definitions/lightlink.d.ts +2 -0
- package/dist/types/definitions/linea.d.ts +2 -0
- package/dist/types/definitions/lisk.d.ts +10 -0
- package/dist/types/definitions/mainnet.d.ts +2 -0
- package/dist/types/definitions/manta.d.ts +2 -0
- package/dist/types/definitions/mantle.d.ts +2 -0
- package/dist/types/definitions/matchain.d.ts +2 -0
- package/dist/types/definitions/metal.d.ts +10 -0
- package/dist/types/definitions/monad.d.ts +7 -5
- package/dist/types/definitions/moonbeam.d.ts +3 -1
- package/dist/types/definitions/nibiru.d.ts +2 -0
- package/dist/types/definitions/optimism.d.ts +11 -0
- package/dist/types/definitions/pharos.d.ts +2 -0
- package/dist/types/definitions/plasma.d.ts +2 -0
- package/dist/types/definitions/polygon.d.ts +2 -0
- package/dist/types/definitions/redbelly.d.ts +2 -0
- package/dist/types/definitions/robinhood.d.ts +112 -0
- package/dist/types/definitions/ronin.d.ts +2 -0
- package/dist/types/definitions/rootstock.d.ts +2 -0
- package/dist/types/definitions/saga.d.ts +2 -0
- package/dist/types/definitions/scroll.d.ts +2 -0
- package/dist/types/definitions/sei.d.ts +2 -0
- package/dist/types/definitions/sonic.d.ts +2 -0
- package/dist/types/definitions/taiko.d.ts +2 -0
- package/dist/types/definitions/telos.d.ts +2 -0
- package/dist/types/definitions/tronShasta.d.ts +2 -0
- package/dist/types/definitions/unichain.d.ts +10 -0
- package/dist/types/definitions/worldchain.d.ts +26 -16
- package/dist/types/definitions/xdc.d.ts +2 -0
- package/dist/types/definitions/zerog.d.ts +2 -0
- package/dist/types/definitions/zkevm.d.ts +2 -0
- package/dist/types/definitions/zksync.d.ts +20 -11
- package/dist/types/index.d.ts +338 -25
- package/dist/types/non-evm/bitcoin.d.ts +2 -0
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
const arbitrum = makeConfig({
|
|
12
12
|
...chains.arbitrum,
|
|
13
13
|
name: "Arbitrum",
|
|
14
|
+
liteChain: true,
|
|
14
15
|
launchTime: 1688997600,
|
|
15
16
|
transactionType: "eip1559",
|
|
16
17
|
sortIndex: 1,
|
|
@@ -460,6 +461,7 @@
|
|
|
460
461
|
const base = makeConfig({
|
|
461
462
|
...chains.base,
|
|
462
463
|
sortIndex: 2,
|
|
464
|
+
liteChain: true,
|
|
463
465
|
launchTime: 1707321600,
|
|
464
466
|
transactionType: "eip1559",
|
|
465
467
|
blockTimeSeconds: 2,
|
|
@@ -3969,6 +3971,7 @@
|
|
|
3969
3971
|
const optimism = makeConfig({
|
|
3970
3972
|
...chains.optimism,
|
|
3971
3973
|
name: "Optimism",
|
|
3974
|
+
liteChain: true,
|
|
3972
3975
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3973
3976
|
blockTimeSeconds: 0.5,
|
|
3974
3977
|
launchTime: 1688997600,
|
|
@@ -4949,6 +4952,75 @@
|
|
|
4949
4952
|
},
|
|
4950
4953
|
});
|
|
4951
4954
|
|
|
4955
|
+
const robinhood = makeConfig({
|
|
4956
|
+
...chains.robinhood,
|
|
4957
|
+
blockTimeSeconds: 2,
|
|
4958
|
+
launchTime: 0,
|
|
4959
|
+
transactionType: "eip1559",
|
|
4960
|
+
sortIndex: 47,
|
|
4961
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/robinhood-logo.svg",
|
|
4962
|
+
deprecated: false,
|
|
4963
|
+
liteChain: true,
|
|
4964
|
+
estimatedSwapGas: 300000,
|
|
4965
|
+
estimatedBridgeGas: 200000,
|
|
4966
|
+
estimatedWrapGas: 60000,
|
|
4967
|
+
safeReorgDistance: 90000,
|
|
4968
|
+
blockAid: "",
|
|
4969
|
+
externalId: {},
|
|
4970
|
+
markets: {},
|
|
4971
|
+
bridges: {},
|
|
4972
|
+
oracles: {},
|
|
4973
|
+
morpho: {},
|
|
4974
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4975
|
+
uniswap: {
|
|
4976
|
+
poolFactory: "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
|
|
4977
|
+
nonfungiblePositionManager: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4978
|
+
positionsNFT: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4979
|
+
wrappedNativeAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4980
|
+
wrappedNativeSymbol: "WETH",
|
|
4981
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4982
|
+
wrappedNativeDecimals: 18,
|
|
4983
|
+
nativeCurrencyName: "ETH",
|
|
4984
|
+
},
|
|
4985
|
+
token: {
|
|
4986
|
+
wethAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4987
|
+
},
|
|
4988
|
+
oku: {
|
|
4989
|
+
pricing: {
|
|
4990
|
+
nativeWrappedToken: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4991
|
+
nativeWrappedName: "ETH",
|
|
4992
|
+
},
|
|
4993
|
+
},
|
|
4994
|
+
defaultPool: "0x69BfaF19C9f377BB306a89aEd9F6B07e2c1a8d9a",
|
|
4995
|
+
defaultToken0: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4996
|
+
defaultToken1: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
4997
|
+
tokenList: [
|
|
4998
|
+
{ symbol: "WETH", address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73" },
|
|
4999
|
+
{ symbol: "USDG", address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168" },
|
|
5000
|
+
{ symbol: "USDe", address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34" },
|
|
5001
|
+
],
|
|
5002
|
+
stables: [
|
|
5003
|
+
"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
5004
|
+
"0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
5005
|
+
],
|
|
5006
|
+
watchlist: [],
|
|
5007
|
+
v4Watchlist: [],
|
|
5008
|
+
internalName: "robinhood",
|
|
5009
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png",
|
|
5010
|
+
contracts: {
|
|
5011
|
+
...chains.robinhood.contracts,
|
|
5012
|
+
limitOrder: {
|
|
5013
|
+
address: viem.zeroAddress,
|
|
5014
|
+
},
|
|
5015
|
+
nftManager: {
|
|
5016
|
+
address: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
5017
|
+
},
|
|
5018
|
+
weth9: {
|
|
5019
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
5020
|
+
},
|
|
5021
|
+
},
|
|
5022
|
+
});
|
|
5023
|
+
|
|
4952
5024
|
const ronin = makeConfig({
|
|
4953
5025
|
...chains.ronin,
|
|
4954
5026
|
blockTimeSeconds: 3,
|
|
@@ -7312,6 +7384,7 @@
|
|
|
7312
7384
|
hyperevm,
|
|
7313
7385
|
gensyn,
|
|
7314
7386
|
pharos,
|
|
7387
|
+
robinhood,
|
|
7315
7388
|
];
|
|
7316
7389
|
/**
|
|
7317
7390
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7548,6 +7621,7 @@
|
|
|
7548
7621
|
exports.polygon = polygon;
|
|
7549
7622
|
exports.polygonZkEvm = polygonZkEvm;
|
|
7550
7623
|
exports.redbelly = redbelly;
|
|
7624
|
+
exports.robinhood = robinhood;
|
|
7551
7625
|
exports.ronin = ronin;
|
|
7552
7626
|
exports.rootstock = rootstock;
|
|
7553
7627
|
exports.saga = saga;
|
package/dist/index-mjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { arbitrum as arbitrum$1, avalanche as avalanche$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, gensyn as gensyn$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, hyperEvm, 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, monad as monad$1, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$1, polygon as polygon$1, redbellyMainnet, ronin as ronin$1, 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, zeroGMainnet, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
1
|
+
import { arbitrum as arbitrum$1, avalanche as avalanche$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, gensyn as gensyn$1, gnosis as gnosis$1, goat as goat$1, hemi as hemi$1, hyperEvm, 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, monad as monad$1, moonbeam as moonbeam$1, nibiru as nibiru$1, optimism as optimism$1, plasma as plasma$1, polygon as polygon$1, redbellyMainnet, robinhood as robinhood$1, ronin as ronin$1, 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, zeroGMainnet, polygonZkEvm as polygonZkEvm$1, zksync } from 'viem/chains';
|
|
2
2
|
import { zeroAddress, defineChain } from 'viem';
|
|
3
3
|
|
|
4
4
|
const makeConfig = (x) => {
|
|
@@ -8,6 +8,7 @@ const makeConfig = (x) => {
|
|
|
8
8
|
const arbitrum = makeConfig({
|
|
9
9
|
...arbitrum$1,
|
|
10
10
|
name: "Arbitrum",
|
|
11
|
+
liteChain: true,
|
|
11
12
|
launchTime: 1688997600,
|
|
12
13
|
transactionType: "eip1559",
|
|
13
14
|
sortIndex: 1,
|
|
@@ -457,6 +458,7 @@ const avalanche = makeConfig({
|
|
|
457
458
|
const base = makeConfig({
|
|
458
459
|
...base$1,
|
|
459
460
|
sortIndex: 2,
|
|
461
|
+
liteChain: true,
|
|
460
462
|
launchTime: 1707321600,
|
|
461
463
|
transactionType: "eip1559",
|
|
462
464
|
blockTimeSeconds: 2,
|
|
@@ -3966,6 +3968,7 @@ const nibiru = makeConfig({
|
|
|
3966
3968
|
const optimism = makeConfig({
|
|
3967
3969
|
...optimism$1,
|
|
3968
3970
|
name: "Optimism",
|
|
3971
|
+
liteChain: true,
|
|
3969
3972
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3970
3973
|
blockTimeSeconds: 0.5,
|
|
3971
3974
|
launchTime: 1688997600,
|
|
@@ -4946,6 +4949,75 @@ const redbelly = makeConfig({
|
|
|
4946
4949
|
},
|
|
4947
4950
|
});
|
|
4948
4951
|
|
|
4952
|
+
const robinhood = makeConfig({
|
|
4953
|
+
...robinhood$1,
|
|
4954
|
+
blockTimeSeconds: 2,
|
|
4955
|
+
launchTime: 0,
|
|
4956
|
+
transactionType: "eip1559",
|
|
4957
|
+
sortIndex: 47,
|
|
4958
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/robinhood-logo.svg",
|
|
4959
|
+
deprecated: false,
|
|
4960
|
+
liteChain: true,
|
|
4961
|
+
estimatedSwapGas: 300000,
|
|
4962
|
+
estimatedBridgeGas: 200000,
|
|
4963
|
+
estimatedWrapGas: 60000,
|
|
4964
|
+
safeReorgDistance: 90000,
|
|
4965
|
+
blockAid: "",
|
|
4966
|
+
externalId: {},
|
|
4967
|
+
markets: {},
|
|
4968
|
+
bridges: {},
|
|
4969
|
+
oracles: {},
|
|
4970
|
+
morpho: {},
|
|
4971
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4972
|
+
uniswap: {
|
|
4973
|
+
poolFactory: "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
|
|
4974
|
+
nonfungiblePositionManager: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4975
|
+
positionsNFT: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4976
|
+
wrappedNativeAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4977
|
+
wrappedNativeSymbol: "WETH",
|
|
4978
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4979
|
+
wrappedNativeDecimals: 18,
|
|
4980
|
+
nativeCurrencyName: "ETH",
|
|
4981
|
+
},
|
|
4982
|
+
token: {
|
|
4983
|
+
wethAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4984
|
+
},
|
|
4985
|
+
oku: {
|
|
4986
|
+
pricing: {
|
|
4987
|
+
nativeWrappedToken: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4988
|
+
nativeWrappedName: "ETH",
|
|
4989
|
+
},
|
|
4990
|
+
},
|
|
4991
|
+
defaultPool: "0x69BfaF19C9f377BB306a89aEd9F6B07e2c1a8d9a",
|
|
4992
|
+
defaultToken0: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4993
|
+
defaultToken1: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
4994
|
+
tokenList: [
|
|
4995
|
+
{ symbol: "WETH", address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73" },
|
|
4996
|
+
{ symbol: "USDG", address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168" },
|
|
4997
|
+
{ symbol: "USDe", address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34" },
|
|
4998
|
+
],
|
|
4999
|
+
stables: [
|
|
5000
|
+
"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
5001
|
+
"0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
5002
|
+
],
|
|
5003
|
+
watchlist: [],
|
|
5004
|
+
v4Watchlist: [],
|
|
5005
|
+
internalName: "robinhood",
|
|
5006
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png",
|
|
5007
|
+
contracts: {
|
|
5008
|
+
...robinhood$1.contracts,
|
|
5009
|
+
limitOrder: {
|
|
5010
|
+
address: zeroAddress,
|
|
5011
|
+
},
|
|
5012
|
+
nftManager: {
|
|
5013
|
+
address: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
5014
|
+
},
|
|
5015
|
+
weth9: {
|
|
5016
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
5017
|
+
},
|
|
5018
|
+
},
|
|
5019
|
+
});
|
|
5020
|
+
|
|
4949
5021
|
const ronin = makeConfig({
|
|
4950
5022
|
...ronin$1,
|
|
4951
5023
|
blockTimeSeconds: 3,
|
|
@@ -7309,6 +7381,7 @@ const MAINNET_CHAINS = [
|
|
|
7309
7381
|
hyperevm,
|
|
7310
7382
|
gensyn,
|
|
7311
7383
|
pharos,
|
|
7384
|
+
robinhood,
|
|
7312
7385
|
];
|
|
7313
7386
|
/**
|
|
7314
7387
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7490,4 +7563,4 @@ function isNonEvmChain(c) {
|
|
|
7490
7563
|
return isNonEvmChain$1(namespaceOfChainLike(c));
|
|
7491
7564
|
}
|
|
7492
7565
|
|
|
7493
|
-
export { ALL_NETWORKS, ChainType, MAINNET_CHAINS, NON_EVM_CHAINS, NON_EVM_CHAIN_ID, NetworkNotFoundError, arbitrum, avalanche, base, bitcoin, blast, bob, boba, bsc, buildNetworkIndex, caip2Reference, celo, chainType, corn, etherlink, filecoin, formatCAIP2, fromCAIP2, gensyn, gnosis, goat, hemi, hyperevm, isEvmChain, isNetworkType, isNonEvmChain, lens, lightlink, linea, lisk, mainnet, makeConfig, manta, mantle, matchain, metal, monad, moonbeam, networkByAny, networkByCAIP2, networkById, networkByName, networkByString, nibiru, optimism, parseCAIP2, pharos, plasma, polygon, polygonZkEvm, redbelly, ronin, rootstock, saga, scroll, sei, sonic, taiko, telos, toCAIP2, tronShasta, unichain, worldchain, xdc, zerog, zkSync };
|
|
7566
|
+
export { ALL_NETWORKS, ChainType, MAINNET_CHAINS, NON_EVM_CHAINS, NON_EVM_CHAIN_ID, NetworkNotFoundError, arbitrum, avalanche, base, bitcoin, blast, bob, boba, bsc, buildNetworkIndex, caip2Reference, celo, chainType, corn, etherlink, filecoin, formatCAIP2, fromCAIP2, gensyn, gnosis, goat, hemi, hyperevm, isEvmChain, isNetworkType, isNonEvmChain, lens, lightlink, linea, lisk, mainnet, makeConfig, manta, mantle, matchain, metal, monad, moonbeam, networkByAny, networkByCAIP2, networkById, networkByName, networkByString, nibiru, optimism, parseCAIP2, pharos, plasma, polygon, polygonZkEvm, redbelly, robinhood, ronin, rootstock, saga, scroll, sei, sonic, taiko, telos, toCAIP2, tronShasta, unichain, worldchain, xdc, zerog, zkSync };
|
package/dist/index.js
CHANGED
|
@@ -10,6 +10,7 @@ const makeConfig = (x) => {
|
|
|
10
10
|
const arbitrum = makeConfig({
|
|
11
11
|
...chains.arbitrum,
|
|
12
12
|
name: "Arbitrum",
|
|
13
|
+
liteChain: true,
|
|
13
14
|
launchTime: 1688997600,
|
|
14
15
|
transactionType: "eip1559",
|
|
15
16
|
sortIndex: 1,
|
|
@@ -459,6 +460,7 @@ const avalanche = makeConfig({
|
|
|
459
460
|
const base = makeConfig({
|
|
460
461
|
...chains.base,
|
|
461
462
|
sortIndex: 2,
|
|
463
|
+
liteChain: true,
|
|
462
464
|
launchTime: 1707321600,
|
|
463
465
|
transactionType: "eip1559",
|
|
464
466
|
blockTimeSeconds: 2,
|
|
@@ -3968,6 +3970,7 @@ const nibiru = makeConfig({
|
|
|
3968
3970
|
const optimism = makeConfig({
|
|
3969
3971
|
...chains.optimism,
|
|
3970
3972
|
name: "Optimism",
|
|
3973
|
+
liteChain: true,
|
|
3971
3974
|
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
3972
3975
|
blockTimeSeconds: 0.5,
|
|
3973
3976
|
launchTime: 1688997600,
|
|
@@ -4948,6 +4951,75 @@ const redbelly = makeConfig({
|
|
|
4948
4951
|
},
|
|
4949
4952
|
});
|
|
4950
4953
|
|
|
4954
|
+
const robinhood = makeConfig({
|
|
4955
|
+
...chains.robinhood,
|
|
4956
|
+
blockTimeSeconds: 2,
|
|
4957
|
+
launchTime: 0,
|
|
4958
|
+
transactionType: "eip1559",
|
|
4959
|
+
sortIndex: 47,
|
|
4960
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/robinhood-logo.svg",
|
|
4961
|
+
deprecated: false,
|
|
4962
|
+
liteChain: true,
|
|
4963
|
+
estimatedSwapGas: 300000,
|
|
4964
|
+
estimatedBridgeGas: 200000,
|
|
4965
|
+
estimatedWrapGas: 60000,
|
|
4966
|
+
safeReorgDistance: 90000,
|
|
4967
|
+
blockAid: "",
|
|
4968
|
+
externalId: {},
|
|
4969
|
+
markets: {},
|
|
4970
|
+
bridges: {},
|
|
4971
|
+
oracles: {},
|
|
4972
|
+
morpho: {},
|
|
4973
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54",
|
|
4974
|
+
uniswap: {
|
|
4975
|
+
poolFactory: "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA",
|
|
4976
|
+
nonfungiblePositionManager: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4977
|
+
positionsNFT: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
4978
|
+
wrappedNativeAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4979
|
+
wrappedNativeSymbol: "WETH",
|
|
4980
|
+
wrappedNativeName: "Wrapped Ether",
|
|
4981
|
+
wrappedNativeDecimals: 18,
|
|
4982
|
+
nativeCurrencyName: "ETH",
|
|
4983
|
+
},
|
|
4984
|
+
token: {
|
|
4985
|
+
wethAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4986
|
+
},
|
|
4987
|
+
oku: {
|
|
4988
|
+
pricing: {
|
|
4989
|
+
nativeWrappedToken: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4990
|
+
nativeWrappedName: "ETH",
|
|
4991
|
+
},
|
|
4992
|
+
},
|
|
4993
|
+
defaultPool: "0x69BfaF19C9f377BB306a89aEd9F6B07e2c1a8d9a",
|
|
4994
|
+
defaultToken0: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
4995
|
+
defaultToken1: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
4996
|
+
tokenList: [
|
|
4997
|
+
{ symbol: "WETH", address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73" },
|
|
4998
|
+
{ symbol: "USDG", address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168" },
|
|
4999
|
+
{ symbol: "USDe", address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34" },
|
|
5000
|
+
],
|
|
5001
|
+
stables: [
|
|
5002
|
+
"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
5003
|
+
"0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
5004
|
+
],
|
|
5005
|
+
watchlist: [],
|
|
5006
|
+
v4Watchlist: [],
|
|
5007
|
+
internalName: "robinhood",
|
|
5008
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png",
|
|
5009
|
+
contracts: {
|
|
5010
|
+
...chains.robinhood.contracts,
|
|
5011
|
+
limitOrder: {
|
|
5012
|
+
address: viem.zeroAddress,
|
|
5013
|
+
},
|
|
5014
|
+
nftManager: {
|
|
5015
|
+
address: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3",
|
|
5016
|
+
},
|
|
5017
|
+
weth9: {
|
|
5018
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73",
|
|
5019
|
+
},
|
|
5020
|
+
},
|
|
5021
|
+
});
|
|
5022
|
+
|
|
4951
5023
|
const ronin = makeConfig({
|
|
4952
5024
|
...chains.ronin,
|
|
4953
5025
|
blockTimeSeconds: 3,
|
|
@@ -7311,6 +7383,7 @@ const MAINNET_CHAINS = [
|
|
|
7311
7383
|
hyperevm,
|
|
7312
7384
|
gensyn,
|
|
7313
7385
|
pharos,
|
|
7386
|
+
robinhood,
|
|
7314
7387
|
];
|
|
7315
7388
|
/**
|
|
7316
7389
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7547,6 +7620,7 @@ exports.plasma = plasma;
|
|
|
7547
7620
|
exports.polygon = polygon;
|
|
7548
7621
|
exports.polygonZkEvm = polygonZkEvm;
|
|
7549
7622
|
exports.redbelly = redbelly;
|
|
7623
|
+
exports.robinhood = robinhood;
|
|
7550
7624
|
exports.ronin = ronin;
|
|
7551
7625
|
exports.rootstock = rootstock;
|
|
7552
7626
|
exports.saga = saga;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const arbitrum: Readonly<{
|
|
2
2
|
name: "Arbitrum";
|
|
3
|
+
liteChain: true;
|
|
3
4
|
launchTime: 1688997600;
|
|
4
5
|
transactionType: "eip1559";
|
|
5
6
|
sortIndex: 1;
|
|
@@ -201,8 +202,10 @@ export declare const arbitrum: Readonly<{
|
|
|
201
202
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
202
203
|
formatters?: undefined | undefined;
|
|
203
204
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
205
|
+
client: import("viem").Client;
|
|
204
206
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
205
207
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
208
|
+
client: import("viem").Client;
|
|
206
209
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
207
210
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
208
211
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -141,8 +141,10 @@ export declare const avalanche: Readonly<{
|
|
|
141
141
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
142
142
|
formatters?: undefined | undefined;
|
|
143
143
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
144
|
+
client: import("viem").Client;
|
|
144
145
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
145
146
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
147
|
+
client: import("viem").Client;
|
|
146
148
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
147
149
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
148
150
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const base: Readonly<{
|
|
2
2
|
sortIndex: 2;
|
|
3
|
+
liteChain: true;
|
|
3
4
|
launchTime: 1707321600;
|
|
4
5
|
transactionType: "eip1559";
|
|
5
6
|
blockTimeSeconds: 2;
|
|
@@ -268,6 +269,7 @@ export declare const base: Readonly<{
|
|
|
268
269
|
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
269
270
|
blockHash: `0x${string}` | null;
|
|
270
271
|
blockNumber: bigint | null;
|
|
272
|
+
blockTimestamp?: bigint | undefined;
|
|
271
273
|
from: import("abitype").Address;
|
|
272
274
|
gas: bigint;
|
|
273
275
|
hash: import("viem").Hash;
|
|
@@ -300,6 +302,7 @@ export declare const base: Readonly<{
|
|
|
300
302
|
value: bigint;
|
|
301
303
|
blockHash: `0x${string}` | null;
|
|
302
304
|
blockNumber: bigint | null;
|
|
305
|
+
blockTimestamp?: bigint | undefined;
|
|
303
306
|
hash: import("viem").Hash;
|
|
304
307
|
input: import("viem").Hex;
|
|
305
308
|
transactionIndex: number | null;
|
|
@@ -320,6 +323,7 @@ export declare const base: Readonly<{
|
|
|
320
323
|
} | {
|
|
321
324
|
blockHash: `0x${string}` | null;
|
|
322
325
|
blockNumber: bigint | null;
|
|
326
|
+
blockTimestamp?: bigint | undefined;
|
|
323
327
|
from: import("abitype").Address;
|
|
324
328
|
gas: bigint;
|
|
325
329
|
hash: import("viem").Hash;
|
|
@@ -348,6 +352,7 @@ export declare const base: Readonly<{
|
|
|
348
352
|
} | {
|
|
349
353
|
blockHash: `0x${string}` | null;
|
|
350
354
|
blockNumber: bigint | null;
|
|
355
|
+
blockTimestamp?: bigint | undefined;
|
|
351
356
|
from: import("abitype").Address;
|
|
352
357
|
gas: bigint;
|
|
353
358
|
hash: import("viem").Hash;
|
|
@@ -376,6 +381,7 @@ export declare const base: Readonly<{
|
|
|
376
381
|
} | {
|
|
377
382
|
blockHash: `0x${string}` | null;
|
|
378
383
|
blockNumber: bigint | null;
|
|
384
|
+
blockTimestamp?: bigint | undefined;
|
|
379
385
|
from: import("abitype").Address;
|
|
380
386
|
gas: bigint;
|
|
381
387
|
hash: import("viem").Hash;
|
|
@@ -404,6 +410,7 @@ export declare const base: Readonly<{
|
|
|
404
410
|
} | {
|
|
405
411
|
blockHash: `0x${string}` | null;
|
|
406
412
|
blockNumber: bigint | null;
|
|
413
|
+
blockTimestamp?: bigint | undefined;
|
|
407
414
|
from: import("abitype").Address;
|
|
408
415
|
gas: bigint;
|
|
409
416
|
hash: import("viem").Hash;
|
|
@@ -453,6 +460,8 @@ export declare const base: Readonly<{
|
|
|
453
460
|
transactionHash: import("viem").Hash;
|
|
454
461
|
transactionIndex: number;
|
|
455
462
|
type: import("viem").TransactionType;
|
|
463
|
+
depositNonce?: bigint | undefined | undefined;
|
|
464
|
+
depositReceiptVersion?: number | undefined | undefined;
|
|
456
465
|
l1GasPrice: bigint | null;
|
|
457
466
|
l1GasUsed: bigint | null;
|
|
458
467
|
l1Fee: bigint | null;
|
|
@@ -462,8 +471,10 @@ export declare const base: Readonly<{
|
|
|
462
471
|
};
|
|
463
472
|
};
|
|
464
473
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
474
|
+
client: import("viem").Client;
|
|
465
475
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
466
476
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
477
|
+
client: import("viem").Client;
|
|
467
478
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
468
479
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
469
480
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -209,6 +209,7 @@ export declare const blast: Readonly<{
|
|
|
209
209
|
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
210
210
|
blockHash: `0x${string}` | null;
|
|
211
211
|
blockNumber: bigint | null;
|
|
212
|
+
blockTimestamp?: bigint | undefined;
|
|
212
213
|
from: import("abitype").Address;
|
|
213
214
|
gas: bigint;
|
|
214
215
|
hash: import("viem").Hash;
|
|
@@ -241,6 +242,7 @@ export declare const blast: Readonly<{
|
|
|
241
242
|
value: bigint;
|
|
242
243
|
blockHash: `0x${string}` | null;
|
|
243
244
|
blockNumber: bigint | null;
|
|
245
|
+
blockTimestamp?: bigint | undefined;
|
|
244
246
|
hash: import("viem").Hash;
|
|
245
247
|
input: import("viem").Hex;
|
|
246
248
|
transactionIndex: number | null;
|
|
@@ -261,6 +263,7 @@ export declare const blast: Readonly<{
|
|
|
261
263
|
} | {
|
|
262
264
|
blockHash: `0x${string}` | null;
|
|
263
265
|
blockNumber: bigint | null;
|
|
266
|
+
blockTimestamp?: bigint | undefined;
|
|
264
267
|
from: import("abitype").Address;
|
|
265
268
|
gas: bigint;
|
|
266
269
|
hash: import("viem").Hash;
|
|
@@ -289,6 +292,7 @@ export declare const blast: Readonly<{
|
|
|
289
292
|
} | {
|
|
290
293
|
blockHash: `0x${string}` | null;
|
|
291
294
|
blockNumber: bigint | null;
|
|
295
|
+
blockTimestamp?: bigint | undefined;
|
|
292
296
|
from: import("abitype").Address;
|
|
293
297
|
gas: bigint;
|
|
294
298
|
hash: import("viem").Hash;
|
|
@@ -317,6 +321,7 @@ export declare const blast: Readonly<{
|
|
|
317
321
|
} | {
|
|
318
322
|
blockHash: `0x${string}` | null;
|
|
319
323
|
blockNumber: bigint | null;
|
|
324
|
+
blockTimestamp?: bigint | undefined;
|
|
320
325
|
from: import("abitype").Address;
|
|
321
326
|
gas: bigint;
|
|
322
327
|
hash: import("viem").Hash;
|
|
@@ -345,6 +350,7 @@ export declare const blast: Readonly<{
|
|
|
345
350
|
} | {
|
|
346
351
|
blockHash: `0x${string}` | null;
|
|
347
352
|
blockNumber: bigint | null;
|
|
353
|
+
blockTimestamp?: bigint | undefined;
|
|
348
354
|
from: import("abitype").Address;
|
|
349
355
|
gas: bigint;
|
|
350
356
|
hash: import("viem").Hash;
|
|
@@ -394,6 +400,8 @@ export declare const blast: Readonly<{
|
|
|
394
400
|
transactionHash: import("viem").Hash;
|
|
395
401
|
transactionIndex: number;
|
|
396
402
|
type: import("viem").TransactionType;
|
|
403
|
+
depositNonce?: bigint | undefined | undefined;
|
|
404
|
+
depositReceiptVersion?: number | undefined | undefined;
|
|
397
405
|
l1GasPrice: bigint | null;
|
|
398
406
|
l1GasUsed: bigint | null;
|
|
399
407
|
l1Fee: bigint | null;
|
|
@@ -403,8 +411,10 @@ export declare const blast: Readonly<{
|
|
|
403
411
|
};
|
|
404
412
|
};
|
|
405
413
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
414
|
+
client: import("viem").Client;
|
|
406
415
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
407
416
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
417
|
+
client: import("viem").Client;
|
|
408
418
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
409
419
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
410
420
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -207,6 +207,7 @@ export declare const bob: Readonly<{
|
|
|
207
207
|
format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
|
|
208
208
|
blockHash: `0x${string}` | null;
|
|
209
209
|
blockNumber: bigint | null;
|
|
210
|
+
blockTimestamp?: bigint | undefined;
|
|
210
211
|
from: import("abitype").Address;
|
|
211
212
|
gas: bigint;
|
|
212
213
|
hash: import("viem").Hash;
|
|
@@ -239,6 +240,7 @@ export declare const bob: Readonly<{
|
|
|
239
240
|
value: bigint;
|
|
240
241
|
blockHash: `0x${string}` | null;
|
|
241
242
|
blockNumber: bigint | null;
|
|
243
|
+
blockTimestamp?: bigint | undefined;
|
|
242
244
|
hash: import("viem").Hash;
|
|
243
245
|
input: import("viem").Hex;
|
|
244
246
|
transactionIndex: number | null;
|
|
@@ -259,6 +261,7 @@ export declare const bob: Readonly<{
|
|
|
259
261
|
} | {
|
|
260
262
|
blockHash: `0x${string}` | null;
|
|
261
263
|
blockNumber: bigint | null;
|
|
264
|
+
blockTimestamp?: bigint | undefined;
|
|
262
265
|
from: import("abitype").Address;
|
|
263
266
|
gas: bigint;
|
|
264
267
|
hash: import("viem").Hash;
|
|
@@ -287,6 +290,7 @@ export declare const bob: Readonly<{
|
|
|
287
290
|
} | {
|
|
288
291
|
blockHash: `0x${string}` | null;
|
|
289
292
|
blockNumber: bigint | null;
|
|
293
|
+
blockTimestamp?: bigint | undefined;
|
|
290
294
|
from: import("abitype").Address;
|
|
291
295
|
gas: bigint;
|
|
292
296
|
hash: import("viem").Hash;
|
|
@@ -315,6 +319,7 @@ export declare const bob: Readonly<{
|
|
|
315
319
|
} | {
|
|
316
320
|
blockHash: `0x${string}` | null;
|
|
317
321
|
blockNumber: bigint | null;
|
|
322
|
+
blockTimestamp?: bigint | undefined;
|
|
318
323
|
from: import("abitype").Address;
|
|
319
324
|
gas: bigint;
|
|
320
325
|
hash: import("viem").Hash;
|
|
@@ -343,6 +348,7 @@ export declare const bob: Readonly<{
|
|
|
343
348
|
} | {
|
|
344
349
|
blockHash: `0x${string}` | null;
|
|
345
350
|
blockNumber: bigint | null;
|
|
351
|
+
blockTimestamp?: bigint | undefined;
|
|
346
352
|
from: import("abitype").Address;
|
|
347
353
|
gas: bigint;
|
|
348
354
|
hash: import("viem").Hash;
|
|
@@ -392,6 +398,8 @@ export declare const bob: Readonly<{
|
|
|
392
398
|
transactionHash: import("viem").Hash;
|
|
393
399
|
transactionIndex: number;
|
|
394
400
|
type: import("viem").TransactionType;
|
|
401
|
+
depositNonce?: bigint | undefined | undefined;
|
|
402
|
+
depositReceiptVersion?: number | undefined | undefined;
|
|
395
403
|
l1GasPrice: bigint | null;
|
|
396
404
|
l1GasUsed: bigint | null;
|
|
397
405
|
l1Fee: bigint | null;
|
|
@@ -401,8 +409,10 @@ export declare const bob: Readonly<{
|
|
|
401
409
|
};
|
|
402
410
|
};
|
|
403
411
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
412
|
+
client: import("viem").Client;
|
|
404
413
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
405
414
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
415
|
+
client: import("viem").Client;
|
|
406
416
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
407
417
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
408
418
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -135,8 +135,10 @@ export declare const boba: Readonly<{
|
|
|
135
135
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
136
136
|
formatters?: undefined | undefined;
|
|
137
137
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
138
|
+
client: import("viem").Client;
|
|
138
139
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
139
140
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
141
|
+
client: import("viem").Client;
|
|
140
142
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
141
143
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
142
144
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -181,8 +181,10 @@ export declare const bsc: Readonly<{
|
|
|
181
181
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
182
182
|
formatters?: undefined | undefined;
|
|
183
183
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
184
|
+
client: import("viem").Client;
|
|
184
185
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
185
186
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
187
|
+
client: import("viem").Client;
|
|
186
188
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
187
189
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
188
190
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|