@steerprotocol/sdk 3.0.27 → 3.1.0
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/index.browser.mjs +72 -4
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +72 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +103 -95
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +72 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.mjs
CHANGED
|
@@ -55,6 +55,7 @@ let Chain = /* @__PURE__ */ function(Chain) {
|
|
|
55
55
|
Chain["Nibiru"] = "Nibiru";
|
|
56
56
|
Chain["Hyperevm"] = "Hyperevm";
|
|
57
57
|
Chain["Bittensor"] = "Bittensor";
|
|
58
|
+
Chain["Robinhood"] = "Robinhood";
|
|
58
59
|
return Chain;
|
|
59
60
|
}({});
|
|
60
61
|
const ChainId = {
|
|
@@ -107,7 +108,8 @@ const ChainId = {
|
|
|
107
108
|
Saga: 5464,
|
|
108
109
|
Nibiru: 6900,
|
|
109
110
|
Hyperevm: 999,
|
|
110
|
-
Bittensor: 964
|
|
111
|
+
Bittensor: 964,
|
|
112
|
+
Robinhood: 4663
|
|
111
113
|
};
|
|
112
114
|
let Protocol = /* @__PURE__ */ function(Protocol) {
|
|
113
115
|
Protocol["QuickSwap"] = "QuickSwap";
|
|
@@ -7968,6 +7970,54 @@ const bittensorAddresses = {
|
|
|
7968
7970
|
}
|
|
7969
7971
|
};
|
|
7970
7972
|
//#endregion
|
|
7973
|
+
//#region src/const/deployments/robinhood.ts
|
|
7974
|
+
const robinhoodAddresses = {
|
|
7975
|
+
KeeperRegistry: {
|
|
7976
|
+
address: "0xF6aB5f1faED774e62D30c2A65e39a5a25F8E14e7",
|
|
7977
|
+
startBlock: 8704501
|
|
7978
|
+
},
|
|
7979
|
+
Orchestrator: {
|
|
7980
|
+
address: "0x20B895F7C02e754AdC461e80b39a9e85f02e2bE3",
|
|
7981
|
+
startBlock: 8704962
|
|
7982
|
+
},
|
|
7983
|
+
StrategyRegistry: {
|
|
7984
|
+
address: "0xAc7D3A933c44b4D4bad6D5F0685900482E0d995E",
|
|
7985
|
+
startBlock: 8704773
|
|
7986
|
+
},
|
|
7987
|
+
VaultRegistry: {
|
|
7988
|
+
address: "0x5c7d564fA5CE0e874367121E33c1ff10dB2115dC",
|
|
7989
|
+
startBlock: 8705247
|
|
7990
|
+
},
|
|
7991
|
+
BundleRegistry: {
|
|
7992
|
+
address: "0xEe351402D6A89E4468D2E6fD0f702602AdeAde91",
|
|
7993
|
+
startBlock: 8705995
|
|
7994
|
+
},
|
|
7995
|
+
GasVault: {
|
|
7996
|
+
address: "0x3B4cAD7D6cd045bD038697a4EaA3AD5A99E5Aa70",
|
|
7997
|
+
startBlock: 8705555
|
|
7998
|
+
},
|
|
7999
|
+
WhitelistRegistry: {
|
|
8000
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9",
|
|
8001
|
+
startBlock: 8705032
|
|
8002
|
+
},
|
|
8003
|
+
SteerPeriphery: {
|
|
8004
|
+
address: "0xCCd21830A8774484AE824AC05B3784D195686C7e",
|
|
8005
|
+
startBlock: 8705824
|
|
8006
|
+
},
|
|
8007
|
+
StakingRewards: {
|
|
8008
|
+
address: "0x8c78E9F6336bFC518B6651e3A2d02F745a94B09E",
|
|
8009
|
+
startBlock: 8705422
|
|
8010
|
+
},
|
|
8011
|
+
Helper: {
|
|
8012
|
+
address: "0x2af1bD206aAf5e74073691707d0A006ae2128ED3",
|
|
8013
|
+
startBlock: 8705074
|
|
8014
|
+
},
|
|
8015
|
+
FeeManager: {
|
|
8016
|
+
address: "0x22518d0C864F6C6391b76850d96D5fC27a7A45bD",
|
|
8017
|
+
startBlock: 8706188
|
|
8018
|
+
}
|
|
8019
|
+
};
|
|
8020
|
+
//#endregion
|
|
7971
8021
|
//#region src/const/deployments/berachainbartio.ts
|
|
7972
8022
|
const berachainbartioAddresses = {
|
|
7973
8023
|
"Orchestrator_Proxy": {
|
|
@@ -8848,6 +8898,15 @@ const networks = {
|
|
|
8848
8898
|
chainId: ChainId.Bittensor,
|
|
8849
8899
|
transactionType: 0,
|
|
8850
8900
|
...bittensorAddresses
|
|
8901
|
+
},
|
|
8902
|
+
[Chain.Robinhood]: {
|
|
8903
|
+
address: "0x0000000000000000000000000000000000000000",
|
|
8904
|
+
name: Chain.Robinhood,
|
|
8905
|
+
wrappedNativeToken: "WETH",
|
|
8906
|
+
isWrappingEnabled: false,
|
|
8907
|
+
chainId: ChainId.Robinhood,
|
|
8908
|
+
transactionType: 0,
|
|
8909
|
+
...robinhoodAddresses
|
|
8851
8910
|
}
|
|
8852
8911
|
};
|
|
8853
8912
|
for (const network of Object.values(networks)) {
|
|
@@ -9200,7 +9259,8 @@ const steerSubgraphConfig = {
|
|
|
9200
9259
|
[Chain.Saga]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-saga/prod/gn",
|
|
9201
9260
|
[Chain.Nibiru]: "https://app.sentio.xyz//api/v1/graphql/rakesh/steer-protocol-nibiru",
|
|
9202
9261
|
[Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
|
|
9203
|
-
[Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph"
|
|
9262
|
+
[Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph",
|
|
9263
|
+
[Chain.Robinhood]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-robinhood/prod/gn"
|
|
9204
9264
|
};
|
|
9205
9265
|
/**
|
|
9206
9266
|
* Retrieves the subgraph URL for a given chain ID.
|
|
@@ -14561,6 +14621,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14561
14621
|
[Chain.Filecoin]: "https://sushi.laconic.com/subgraphs/name/sushiswap/v3-filecoin",
|
|
14562
14622
|
[Chain.Hemi]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GQU44ZBv8NpiBUxA6eLSDSdd7bs6TVop9dASKzrdirUv",
|
|
14563
14623
|
[Chain.Katana]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-katana/gn",
|
|
14624
|
+
[Chain.Robinhood]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-robinhood/gn",
|
|
14564
14625
|
[Chain.Mainnet]: getTheGraphResolverUrl("5nnoU1nUFeWqtXgbpC54L9PWdpgo7Y9HYinR3uTMsfzs", false, theGraphApiKey)
|
|
14565
14626
|
},
|
|
14566
14627
|
factoryAddress: {
|
|
@@ -14578,8 +14639,10 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14578
14639
|
[Chain.Filecoin]: "0xc35DADB65012eC5796536bD9864eD8773aBc74C4",
|
|
14579
14640
|
[Chain.Hemi]: "0xCdBCd51a5E8728E0AF4895ce5771b7d17fF71959",
|
|
14580
14641
|
[Chain.Katana]: "0x203e8740894c8955cB8950759876d7E7E45E04c1",
|
|
14642
|
+
[Chain.Robinhood]: "0xe51960f1b45f1c9fb6d166e6a884f866fc70433b",
|
|
14581
14643
|
[Chain.Mainnet]: "0xbaceb8ec6b9355dfc0269c18bac9d6e2bdc29c4f"
|
|
14582
14644
|
},
|
|
14645
|
+
NFTManagerAddress: { [Chain.Robinhood]: "0x51d0e5188afe12d502e29d982d20c190e7816107" },
|
|
14583
14646
|
TickLensAddress: {
|
|
14584
14647
|
[Chain.Polygon]: "0x9fdeA1412e50D78B25aCE4f96d35801647Fdf7dA",
|
|
14585
14648
|
[Chain.Arbitrum]: "0x8516944E89f296eb6473d79aED1Ba12088016c9e",
|
|
@@ -14595,6 +14658,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14595
14658
|
[Chain.Filecoin]: "0x1be211D8DA40BC0ae8719c6663307Bfc987b1d6c",
|
|
14596
14659
|
[Chain.Hemi]: "0x1f2FCf1d036b375b384012e61D3AA33F8C256bbE",
|
|
14597
14660
|
[Chain.Katana]: "0x35DC3E13469E980c37b6F288BBb9822B1f9bD435",
|
|
14661
|
+
[Chain.Robinhood]: "0x80126a8d806d029ac551ac6f30baf06b785175d1",
|
|
14598
14662
|
[Chain.Mainnet]: "0xfb70ad5a200d784e7901230e6875d91d5fa6b68c"
|
|
14599
14663
|
},
|
|
14600
14664
|
swapRouterAddress: {
|
|
@@ -14602,7 +14666,10 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14602
14666
|
[Chain.Base]: "0xFB7eF66a7e61224DD6FcD0D7d9C3be5C8B049b9f",
|
|
14603
14667
|
[Chain.Linea]: "0xc14Ee6B248787847527e11b8d7Cf257b212f7a9F"
|
|
14604
14668
|
},
|
|
14605
|
-
initCodeHash: {
|
|
14669
|
+
initCodeHash: {
|
|
14670
|
+
[Chain.Blast]: "0x8e13daee7f5a62e37e71bf852bcd44e7d16b90617ed2b17c24c2ee62411c5bae",
|
|
14671
|
+
[Chain.Robinhood]: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
|
14672
|
+
},
|
|
14606
14673
|
QuoterV2Address: {
|
|
14607
14674
|
[Chain.Polygon]: "0xb1E835Dc2785b52265711e17fCCb0fd018226a6e",
|
|
14608
14675
|
[Chain.Optimism]: "0xb1E835Dc2785b52265711e17fCCb0fd018226a6e",
|
|
@@ -14617,6 +14684,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14617
14684
|
[Chain.Filecoin]: "0x9B3fF703FA9C8B467F5886d7b61E61ba07a9b51c",
|
|
14618
14685
|
[Chain.Hemi]: "0x779EA16ebe59bdFa7230aa4F40D876446e387856",
|
|
14619
14686
|
[Chain.Katana]: "0x92dea23ED1C683940fF1a2f8fE23FE98C5d3041c",
|
|
14687
|
+
[Chain.Robinhood]: "0x3e290e5e01818002a0b672148bdc7514d861c7b3",
|
|
14620
14688
|
[Chain.Mainnet]: "0x64e8802FE490fa7cc61d3463958199161Bb608A7"
|
|
14621
14689
|
}
|
|
14622
14690
|
});
|
|
@@ -23607,6 +23675,6 @@ var FeeManagerClient = class extends SubgraphClient {
|
|
|
23607
23675
|
* See {@link SmartRewards} for detailed API documentation.
|
|
23608
23676
|
*/
|
|
23609
23677
|
//#endregion
|
|
23610
|
-
export { AERODROME_PROTOCOLS, ALGEBRA_INTEGRAL_PROTOCOLS, ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS, ALGEBRA_PROTOCOLS, AMMType, API_URLS, AlgebgraHookBeacons, Chain, ChainId, DIRECTIONAL_ALGEBRA_PROTOCOLS, FEE_MANAGER_ABI, FeeManagerClient, MultiPositionManagers, POOLSHARK_PROTOCOLS, PoolClient, Protocol, QuickSwapQuoterV2, QuoterV2AlgebgraIntegral, QuoterV2AlgebgraIntegral21, QuoterV2Factory, QuoterV2Shadow, QuoterV2Thick, SHADOW_PROTOCOLS, SingleAssetDepositClient, SmartRewards, StakingClient, StakingProtocol, SteerClient, StrykePositionManagers, SubgraphClient, SubgraphVaultClient, UniswapHookBeacons, UniswapV3PoolABI, UniswapV3QuoterABI, VAULT_FEES_ABI, VaultClient, abis, apechainAddresses, arbitrumAddresses, arbitrumgoerliAddresses, arthswapConfig, astarAddresses, astarzkevmAddresses, avalancheAddresses, bartiotestAddresses, baseAddresses, baseSwapConfig, basexConfig, beraAddresses, bittensorAddresses, bittensorUniV3Config, blastAddresses, bscAddresses, calculateLimitPrice, calculateSwapAmount, camelotConfig, celoAddresses, chainIdToName, chainNameToId, crustConfig, deprecatedBundlesURL, determineSwapDirection, equilibreConfig, erc1155Abi, erc20Abi, erc721Abi, estimateLpTokens, ethAddresses, evmosAddresses, fantomAddresses, fenixConfig, filecoinAddresses, flareAddresses, forgeConfig, fusionxConfig, getAmmConfig, getAmmConfigByChainId, getApiUrl, getBeaconNameByProtocol, getContractAddressByChainIdAndContractName, getExpectedParamType, getFactoryAddress, getInitCodeHash, getNFTManagerAddress, getNetworkByChainId, getPoolHelperByChainId, getPoolSlot0, getProtcolTypeByAmmType, getProtocolBySubgraph, getProtocolConfigByBeacon, getProtocolContractAddresses, getProtocolInfoByChainId, getProtocolInfoByName, getProtocolSubgraphURL, getProtocolTypeByBeacon, getProtocolsForChainId, getQuoterV2Address, getStabilityVaultsPeripheryAddress, getStabilityVaultsSubgraphUrl, getSubgraphUrlByChainId, getSupportedChainByChainId, getSupportedChainIds, getSupportedChains, getSwapRouterAddress, getTheGraphResolverUrl, getTickLensAddress, getVaultReserves, glyphConfig, goerliAddresses, hemiAddresses, henjinConfig, herculesConfig, horizaConfig, isAerodromeVault, isAlgebraDirectionProtocol, isAlgebraIntegral21QuoteParams, isAlgebraIntegralProtocol, isAlgebraIntegralV2Protocol, isAlgebraProtocol, isAlgebraProtocolBySubgraph, isAlgebraQuoteParams, isPoolSharkProtocol, isShadowProtocol, isShadowQuoteParams, isSingleAssetDepositSupported, isThickQuoteParams, isThickV2Protocol, isUniswapQuoteParams, isValidStakingProtocol, katanaAddresses, katanaConfig, kavaAddresses, kimConfig, kinetixConfig, lineaAddresses, linehubConfig, localhostAddresses, lynexConfig, maiaConfig, mantaAddresses, mantleAddresses, metaVaultConfig, metisAddresses, modeAddresses, moonbeamAddresses, mumbaiAddresses, nestVaultConfig, networks, normalizeProtocol, novaswapConfig, okxtestnetAddresses, optimismAddresses, optimismgoerliAddresses, pancakeSwapConfig, polygonAddresses, polyzkevmAddresses, poolsharkConfig, quickSwapAlgebraConfig, quickSwapConfig, quickSwapIntegralConfig, quickSwapUniv3Config, retroConfig, rootstockAddresses, sagaAddresses, scrollAddresses, seiAddresses, shadowConfig, simulateSwap, singleTokenDepositAbi, soneiumAddresses, sonicAddresses, spark32Config, sparkConfig, stabilityVaultsConfig, steerSubgraphConfig, supswapConfig, sushiConfig, swapmodeConfig, swapsicleConfig, taikoAddresses, telosAddresses, thenaConfig, thickConfig, thrusterConfig, thundercoreAddresses, uniAddresses, uniswapConfig, validateQuoteParams, validateSwapParams, xlayerAddresses, zetaAddresses, zircuitAddresses };
|
|
23678
|
+
export { AERODROME_PROTOCOLS, ALGEBRA_INTEGRAL_PROTOCOLS, ALGEBRA_INTEGRAL_V_2_0_PROTOCOLS, ALGEBRA_PROTOCOLS, AMMType, API_URLS, AlgebgraHookBeacons, Chain, ChainId, DIRECTIONAL_ALGEBRA_PROTOCOLS, FEE_MANAGER_ABI, FeeManagerClient, MultiPositionManagers, POOLSHARK_PROTOCOLS, PoolClient, Protocol, QuickSwapQuoterV2, QuoterV2AlgebgraIntegral, QuoterV2AlgebgraIntegral21, QuoterV2Factory, QuoterV2Shadow, QuoterV2Thick, SHADOW_PROTOCOLS, SingleAssetDepositClient, SmartRewards, StakingClient, StakingProtocol, SteerClient, StrykePositionManagers, SubgraphClient, SubgraphVaultClient, UniswapHookBeacons, UniswapV3PoolABI, UniswapV3QuoterABI, VAULT_FEES_ABI, VaultClient, abis, apechainAddresses, arbitrumAddresses, arbitrumgoerliAddresses, arthswapConfig, astarAddresses, astarzkevmAddresses, avalancheAddresses, bartiotestAddresses, baseAddresses, baseSwapConfig, basexConfig, beraAddresses, bittensorAddresses, bittensorUniV3Config, blastAddresses, bscAddresses, calculateLimitPrice, calculateSwapAmount, camelotConfig, celoAddresses, chainIdToName, chainNameToId, crustConfig, deprecatedBundlesURL, determineSwapDirection, equilibreConfig, erc1155Abi, erc20Abi, erc721Abi, estimateLpTokens, ethAddresses, evmosAddresses, fantomAddresses, fenixConfig, filecoinAddresses, flareAddresses, forgeConfig, fusionxConfig, getAmmConfig, getAmmConfigByChainId, getApiUrl, getBeaconNameByProtocol, getContractAddressByChainIdAndContractName, getExpectedParamType, getFactoryAddress, getInitCodeHash, getNFTManagerAddress, getNetworkByChainId, getPoolHelperByChainId, getPoolSlot0, getProtcolTypeByAmmType, getProtocolBySubgraph, getProtocolConfigByBeacon, getProtocolContractAddresses, getProtocolInfoByChainId, getProtocolInfoByName, getProtocolSubgraphURL, getProtocolTypeByBeacon, getProtocolsForChainId, getQuoterV2Address, getStabilityVaultsPeripheryAddress, getStabilityVaultsSubgraphUrl, getSubgraphUrlByChainId, getSupportedChainByChainId, getSupportedChainIds, getSupportedChains, getSwapRouterAddress, getTheGraphResolverUrl, getTickLensAddress, getVaultReserves, glyphConfig, goerliAddresses, hemiAddresses, henjinConfig, herculesConfig, horizaConfig, isAerodromeVault, isAlgebraDirectionProtocol, isAlgebraIntegral21QuoteParams, isAlgebraIntegralProtocol, isAlgebraIntegralV2Protocol, isAlgebraProtocol, isAlgebraProtocolBySubgraph, isAlgebraQuoteParams, isPoolSharkProtocol, isShadowProtocol, isShadowQuoteParams, isSingleAssetDepositSupported, isThickQuoteParams, isThickV2Protocol, isUniswapQuoteParams, isValidStakingProtocol, katanaAddresses, katanaConfig, kavaAddresses, kimConfig, kinetixConfig, lineaAddresses, linehubConfig, localhostAddresses, lynexConfig, maiaConfig, mantaAddresses, mantleAddresses, metaVaultConfig, metisAddresses, modeAddresses, moonbeamAddresses, mumbaiAddresses, nestVaultConfig, networks, normalizeProtocol, novaswapConfig, okxtestnetAddresses, optimismAddresses, optimismgoerliAddresses, pancakeSwapConfig, polygonAddresses, polyzkevmAddresses, poolsharkConfig, quickSwapAlgebraConfig, quickSwapConfig, quickSwapIntegralConfig, quickSwapUniv3Config, retroConfig, robinhoodAddresses, rootstockAddresses, sagaAddresses, scrollAddresses, seiAddresses, shadowConfig, simulateSwap, singleTokenDepositAbi, soneiumAddresses, sonicAddresses, spark32Config, sparkConfig, stabilityVaultsConfig, steerSubgraphConfig, supswapConfig, sushiConfig, swapmodeConfig, swapsicleConfig, taikoAddresses, telosAddresses, thenaConfig, thickConfig, thrusterConfig, thundercoreAddresses, uniAddresses, uniswapConfig, validateQuoteParams, validateSwapParams, xlayerAddresses, zetaAddresses, zircuitAddresses };
|
|
23611
23679
|
|
|
23612
23680
|
//# sourceMappingURL=index.browser.mjs.map
|