@gfxlabs/oku-chains 1.12.11 → 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 +71 -0
- package/dist/index-mjs.js +72 -2
- package/dist/index.js +71 -0
- package/dist/types/definitions/index.d.ts +1 -0
- package/dist/types/definitions/robinhood.d.ts +112 -0
- package/dist/types/index.d.ts +130 -35
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -4952,6 +4952,75 @@
|
|
|
4952
4952
|
},
|
|
4953
4953
|
});
|
|
4954
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
|
+
|
|
4955
5024
|
const ronin = makeConfig({
|
|
4956
5025
|
...chains.ronin,
|
|
4957
5026
|
blockTimeSeconds: 3,
|
|
@@ -7315,6 +7384,7 @@
|
|
|
7315
7384
|
hyperevm,
|
|
7316
7385
|
gensyn,
|
|
7317
7386
|
pharos,
|
|
7387
|
+
robinhood,
|
|
7318
7388
|
];
|
|
7319
7389
|
/**
|
|
7320
7390
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7551,6 +7621,7 @@
|
|
|
7551
7621
|
exports.polygon = polygon;
|
|
7552
7622
|
exports.polygonZkEvm = polygonZkEvm;
|
|
7553
7623
|
exports.redbelly = redbelly;
|
|
7624
|
+
exports.robinhood = robinhood;
|
|
7554
7625
|
exports.ronin = ronin;
|
|
7555
7626
|
exports.rootstock = rootstock;
|
|
7556
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) => {
|
|
@@ -4949,6 +4949,75 @@ const redbelly = makeConfig({
|
|
|
4949
4949
|
},
|
|
4950
4950
|
});
|
|
4951
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
|
+
|
|
4952
5021
|
const ronin = makeConfig({
|
|
4953
5022
|
...ronin$1,
|
|
4954
5023
|
blockTimeSeconds: 3,
|
|
@@ -7312,6 +7381,7 @@ const MAINNET_CHAINS = [
|
|
|
7312
7381
|
hyperevm,
|
|
7313
7382
|
gensyn,
|
|
7314
7383
|
pharos,
|
|
7384
|
+
robinhood,
|
|
7315
7385
|
];
|
|
7316
7386
|
/**
|
|
7317
7387
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7493,4 +7563,4 @@ function isNonEvmChain(c) {
|
|
|
7493
7563
|
return isNonEvmChain$1(namespaceOfChainLike(c));
|
|
7494
7564
|
}
|
|
7495
7565
|
|
|
7496
|
-
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
|
@@ -4951,6 +4951,75 @@ const redbelly = makeConfig({
|
|
|
4951
4951
|
},
|
|
4952
4952
|
});
|
|
4953
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
|
+
|
|
4954
5023
|
const ronin = makeConfig({
|
|
4955
5024
|
...chains.ronin,
|
|
4956
5025
|
blockTimeSeconds: 3,
|
|
@@ -7314,6 +7383,7 @@ const MAINNET_CHAINS = [
|
|
|
7314
7383
|
hyperevm,
|
|
7315
7384
|
gensyn,
|
|
7316
7385
|
pharos,
|
|
7386
|
+
robinhood,
|
|
7317
7387
|
];
|
|
7318
7388
|
/**
|
|
7319
7389
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|
|
@@ -7550,6 +7620,7 @@ exports.plasma = plasma;
|
|
|
7550
7620
|
exports.polygon = polygon;
|
|
7551
7621
|
exports.polygonZkEvm = polygonZkEvm;
|
|
7552
7622
|
exports.redbelly = redbelly;
|
|
7623
|
+
exports.robinhood = robinhood;
|
|
7553
7624
|
exports.ronin = ronin;
|
|
7554
7625
|
exports.rootstock = rootstock;
|
|
7555
7626
|
exports.saga = saga;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export declare const robinhood: Readonly<{
|
|
2
|
+
blockTimeSeconds: 2;
|
|
3
|
+
launchTime: 0;
|
|
4
|
+
transactionType: "eip1559";
|
|
5
|
+
sortIndex: 47;
|
|
6
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/robinhood-logo.svg";
|
|
7
|
+
deprecated: false;
|
|
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
|
+
poolFactory: "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA";
|
|
22
|
+
nonfungiblePositionManager: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
23
|
+
positionsNFT: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
24
|
+
wrappedNativeAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
25
|
+
wrappedNativeSymbol: string;
|
|
26
|
+
wrappedNativeName: string;
|
|
27
|
+
wrappedNativeDecimals: number;
|
|
28
|
+
nativeCurrencyName: string;
|
|
29
|
+
};
|
|
30
|
+
token: {
|
|
31
|
+
wethAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
32
|
+
};
|
|
33
|
+
oku: {
|
|
34
|
+
pricing: {
|
|
35
|
+
nativeWrappedToken: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
36
|
+
nativeWrappedName: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
defaultPool: "0x69BfaF19C9f377BB306a89aEd9F6B07e2c1a8d9a";
|
|
40
|
+
defaultToken0: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
41
|
+
defaultToken1: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
|
|
42
|
+
tokenList: ({
|
|
43
|
+
symbol: string;
|
|
44
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
45
|
+
} | {
|
|
46
|
+
symbol: string;
|
|
47
|
+
address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
|
|
48
|
+
} | {
|
|
49
|
+
symbol: string;
|
|
50
|
+
address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
|
|
51
|
+
})[];
|
|
52
|
+
stables: ("0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168" | "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34")[];
|
|
53
|
+
watchlist: never[];
|
|
54
|
+
v4Watchlist: never[];
|
|
55
|
+
internalName: "robinhood";
|
|
56
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
|
|
57
|
+
contracts: {
|
|
58
|
+
limitOrder: {
|
|
59
|
+
address: "0x0000000000000000000000000000000000000000";
|
|
60
|
+
};
|
|
61
|
+
nftManager: {
|
|
62
|
+
address: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
63
|
+
};
|
|
64
|
+
weth9: {
|
|
65
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
66
|
+
};
|
|
67
|
+
multicall3: {
|
|
68
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
blockExplorers: {
|
|
72
|
+
readonly default: {
|
|
73
|
+
readonly name: "Blockscout";
|
|
74
|
+
readonly url: "https://robinhoodchain.blockscout.com";
|
|
75
|
+
readonly apiUrl: "https://robinhoodchain.blockscout.com/api";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
blockTime?: number | undefined | undefined | undefined;
|
|
79
|
+
ensTlds?: readonly string[] | undefined;
|
|
80
|
+
id: 4663;
|
|
81
|
+
name: "Robinhood Chain";
|
|
82
|
+
nativeCurrency: {
|
|
83
|
+
readonly name: "Ether";
|
|
84
|
+
readonly symbol: "ETH";
|
|
85
|
+
readonly decimals: 18;
|
|
86
|
+
};
|
|
87
|
+
experimental_preconfirmationTime?: number | undefined | undefined | undefined;
|
|
88
|
+
rpcUrls: {
|
|
89
|
+
readonly default: {
|
|
90
|
+
readonly http: readonly ["https://rpc.mainnet.chain.robinhood.com"];
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
sourceId?: number | undefined | undefined | undefined;
|
|
94
|
+
testnet?: boolean | undefined | undefined | undefined;
|
|
95
|
+
custom?: Record<string, unknown> | undefined;
|
|
96
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
97
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
98
|
+
formatters?: undefined | undefined;
|
|
99
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
100
|
+
client: import("viem").Client;
|
|
101
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
102
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
103
|
+
client: import("viem").Client;
|
|
104
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
105
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
106
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
107
|
+
}] | undefined | undefined;
|
|
108
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
109
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
|
|
110
|
+
} & {
|
|
111
|
+
caip2Namespace: string;
|
|
112
|
+
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -541,39 +541,7 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
541
541
|
maxFeePerBlobGas?: undefined | undefined;
|
|
542
542
|
maxFeePerGas?: undefined | undefined;
|
|
543
543
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
544
|
-
isSystemTx
|
|
545
|
-
/**
|
|
546
|
-
* True if the chain belongs to the given {@link ChainType} family. Accepts an
|
|
547
|
-
* {@link IChainInfo} object, a CAIP-2 identifier or namespace string, an
|
|
548
|
-
* internal name, or a numeric chain id.
|
|
549
|
-
*
|
|
550
|
-
* Reusable, namespace-driven replacement for one-off `isBitcoinChain` style
|
|
551
|
-
* checks, e.g. `isNetworkType(ChainType.Bitcoin, "bitcoin")`.
|
|
552
|
-
*
|
|
553
|
-
* @example
|
|
554
|
-
* ```ts
|
|
555
|
-
* import { isNetworkType, ChainType } from "@gfxlabs/oku-chains";
|
|
556
|
-
* isNetworkType(ChainType.Bitcoin, "bitcoin") // => true
|
|
557
|
-
* isNetworkType(ChainType.EVM, 1) // => true
|
|
558
|
-
* isNetworkType(ChainType.EVM, "eip155:1") // => true
|
|
559
|
-
* ```
|
|
560
|
-
*/
|
|
561
|
-
? /**
|
|
562
|
-
* True if the chain belongs to the given {@link ChainType} family. Accepts an
|
|
563
|
-
* {@link IChainInfo} object, a CAIP-2 identifier or namespace string, an
|
|
564
|
-
* internal name, or a numeric chain id.
|
|
565
|
-
*
|
|
566
|
-
* Reusable, namespace-driven replacement for one-off `isBitcoinChain` style
|
|
567
|
-
* checks, e.g. `isNetworkType(ChainType.Bitcoin, "bitcoin")`.
|
|
568
|
-
*
|
|
569
|
-
* @example
|
|
570
|
-
* ```ts
|
|
571
|
-
* import { isNetworkType, ChainType } from "@gfxlabs/oku-chains";
|
|
572
|
-
* isNetworkType(ChainType.Bitcoin, "bitcoin") // => true
|
|
573
|
-
* isNetworkType(ChainType.EVM, 1) // => true
|
|
574
|
-
* isNetworkType(ChainType.EVM, "eip155:1") // => true
|
|
575
|
-
* ```
|
|
576
|
-
*/: undefined | undefined;
|
|
544
|
+
isSystemTx?: undefined | undefined;
|
|
577
545
|
mint?: undefined | undefined;
|
|
578
546
|
sourceHash?: undefined | undefined;
|
|
579
547
|
} | {
|
|
@@ -4925,7 +4893,17 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
4925
4893
|
chainId: number;
|
|
4926
4894
|
type: "eip2930";
|
|
4927
4895
|
gasPrice: bigint;
|
|
4928
|
-
maxFeePerBlobGas
|
|
4896
|
+
maxFeePerBlobGas
|
|
4897
|
+
/**
|
|
4898
|
+
* True if the chain is non-EVM (its CAIP-2 namespace is not `eip155`). Accepts
|
|
4899
|
+
* an {@link IChainInfo} object, a CAIP-2 string, an internal name, or a
|
|
4900
|
+
* numeric chain id.
|
|
4901
|
+
*/
|
|
4902
|
+
? /**
|
|
4903
|
+
* True if the chain is non-EVM (its CAIP-2 namespace is not `eip155`). Accepts
|
|
4904
|
+
* an {@link IChainInfo} object, a CAIP-2 string, an internal name, or a
|
|
4905
|
+
* numeric chain id.
|
|
4906
|
+
*/: undefined | undefined;
|
|
4929
4907
|
maxFeePerGas?: undefined | undefined;
|
|
4930
4908
|
maxPriorityFeePerGas?: undefined | undefined;
|
|
4931
4909
|
isSystemTx?: undefined | undefined;
|
|
@@ -5935,7 +5913,13 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
5935
5913
|
value: bigint;
|
|
5936
5914
|
yParity: number;
|
|
5937
5915
|
accessList: import("viem").AccessList;
|
|
5938
|
-
authorizationList
|
|
5916
|
+
authorizationList
|
|
5917
|
+
/**
|
|
5918
|
+
* True if the chain is an EVM chain (CAIP-2 namespace `eip155`). Accepts an
|
|
5919
|
+
* {@link IChainInfo} object, a CAIP-2 string, an internal name, or a numeric
|
|
5920
|
+
* chain id.
|
|
5921
|
+
*/
|
|
5922
|
+
?: undefined | undefined;
|
|
5939
5923
|
blobVersionedHashes?: undefined | undefined;
|
|
5940
5924
|
chainId: number;
|
|
5941
5925
|
type: "eip2930";
|
|
@@ -10993,6 +10977,117 @@ export declare const MAINNET_CHAINS: readonly [Readonly<{
|
|
|
10993
10977
|
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
10994
10978
|
} & {
|
|
10995
10979
|
caip2Namespace: string;
|
|
10980
|
+
}>, Readonly<{
|
|
10981
|
+
blockTimeSeconds: 2;
|
|
10982
|
+
launchTime: 0;
|
|
10983
|
+
transactionType: "eip1559";
|
|
10984
|
+
sortIndex: 47;
|
|
10985
|
+
logoUrl: "https://cms.oku.trade/cdn/public/chains/robinhood-logo.svg";
|
|
10986
|
+
deprecated: false;
|
|
10987
|
+
liteChain: true;
|
|
10988
|
+
estimatedSwapGas: 300000;
|
|
10989
|
+
estimatedBridgeGas: 200000;
|
|
10990
|
+
estimatedWrapGas: 60000;
|
|
10991
|
+
safeReorgDistance: 90000;
|
|
10992
|
+
blockAid: "";
|
|
10993
|
+
externalId: {};
|
|
10994
|
+
markets: {};
|
|
10995
|
+
bridges: {};
|
|
10996
|
+
oracles: {};
|
|
10997
|
+
morpho: {};
|
|
10998
|
+
initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
|
|
10999
|
+
uniswap: {
|
|
11000
|
+
poolFactory: "0x1f7d7550B1b028f7571E69A784071F0205FD2EfA";
|
|
11001
|
+
nonfungiblePositionManager: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
11002
|
+
positionsNFT: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
11003
|
+
wrappedNativeAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11004
|
+
wrappedNativeSymbol: string;
|
|
11005
|
+
wrappedNativeName: string;
|
|
11006
|
+
wrappedNativeDecimals: number;
|
|
11007
|
+
nativeCurrencyName: string;
|
|
11008
|
+
};
|
|
11009
|
+
token: {
|
|
11010
|
+
wethAddress: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11011
|
+
};
|
|
11012
|
+
oku: {
|
|
11013
|
+
pricing: {
|
|
11014
|
+
nativeWrappedToken: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11015
|
+
nativeWrappedName: string;
|
|
11016
|
+
};
|
|
11017
|
+
};
|
|
11018
|
+
defaultPool: "0x69BfaF19C9f377BB306a89aEd9F6B07e2c1a8d9a";
|
|
11019
|
+
defaultToken0: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11020
|
+
defaultToken1: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
|
|
11021
|
+
tokenList: ({
|
|
11022
|
+
symbol: string;
|
|
11023
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11024
|
+
} | {
|
|
11025
|
+
symbol: string;
|
|
11026
|
+
address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
|
|
11027
|
+
} | {
|
|
11028
|
+
symbol: string;
|
|
11029
|
+
address: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34";
|
|
11030
|
+
})[];
|
|
11031
|
+
stables: ("0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168" | "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34")[];
|
|
11032
|
+
watchlist: never[];
|
|
11033
|
+
v4Watchlist: never[];
|
|
11034
|
+
internalName: "robinhood";
|
|
11035
|
+
nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
|
|
11036
|
+
contracts: {
|
|
11037
|
+
limitOrder: {
|
|
11038
|
+
address: "0x0000000000000000000000000000000000000000";
|
|
11039
|
+
};
|
|
11040
|
+
nftManager: {
|
|
11041
|
+
address: "0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3";
|
|
11042
|
+
};
|
|
11043
|
+
weth9: {
|
|
11044
|
+
address: "0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73";
|
|
11045
|
+
};
|
|
11046
|
+
multicall3: {
|
|
11047
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
11048
|
+
};
|
|
11049
|
+
};
|
|
11050
|
+
blockExplorers: {
|
|
11051
|
+
readonly default: {
|
|
11052
|
+
readonly name: "Blockscout";
|
|
11053
|
+
readonly url: "https://robinhoodchain.blockscout.com";
|
|
11054
|
+
readonly apiUrl: "https://robinhoodchain.blockscout.com/api";
|
|
11055
|
+
};
|
|
11056
|
+
};
|
|
11057
|
+
blockTime?: number | undefined | undefined | undefined;
|
|
11058
|
+
ensTlds?: readonly string[] | undefined;
|
|
11059
|
+
id: 4663;
|
|
11060
|
+
name: "Robinhood Chain";
|
|
11061
|
+
nativeCurrency: {
|
|
11062
|
+
readonly name: "Ether";
|
|
11063
|
+
readonly symbol: "ETH";
|
|
11064
|
+
readonly decimals: 18;
|
|
11065
|
+
};
|
|
11066
|
+
experimental_preconfirmationTime?: number | undefined | undefined | undefined;
|
|
11067
|
+
rpcUrls: {
|
|
11068
|
+
readonly default: {
|
|
11069
|
+
readonly http: readonly ["https://rpc.mainnet.chain.robinhood.com"];
|
|
11070
|
+
};
|
|
11071
|
+
};
|
|
11072
|
+
sourceId?: number | undefined | undefined | undefined;
|
|
11073
|
+
testnet?: boolean | undefined | undefined | undefined;
|
|
11074
|
+
custom?: Record<string, unknown> | undefined;
|
|
11075
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
11076
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
11077
|
+
formatters?: undefined | undefined;
|
|
11078
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
11079
|
+
client: import("viem").Client;
|
|
11080
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
11081
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
11082
|
+
client: import("viem").Client;
|
|
11083
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
11084
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
11085
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
11086
|
+
}] | undefined | undefined;
|
|
11087
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
11088
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
|
|
11089
|
+
} & {
|
|
11090
|
+
caip2Namespace: string;
|
|
10996
11091
|
}>];
|
|
10997
11092
|
/**
|
|
10998
11093
|
* Non-EVM chains (e.g. Bitcoin). These share the {@link IChainInfo} shape as
|