@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.cjs
CHANGED
|
@@ -56,6 +56,7 @@ let Chain = /* @__PURE__ */ function(Chain) {
|
|
|
56
56
|
Chain["Nibiru"] = "Nibiru";
|
|
57
57
|
Chain["Hyperevm"] = "Hyperevm";
|
|
58
58
|
Chain["Bittensor"] = "Bittensor";
|
|
59
|
+
Chain["Robinhood"] = "Robinhood";
|
|
59
60
|
return Chain;
|
|
60
61
|
}({});
|
|
61
62
|
const ChainId = {
|
|
@@ -108,7 +109,8 @@ const ChainId = {
|
|
|
108
109
|
Saga: 5464,
|
|
109
110
|
Nibiru: 6900,
|
|
110
111
|
Hyperevm: 999,
|
|
111
|
-
Bittensor: 964
|
|
112
|
+
Bittensor: 964,
|
|
113
|
+
Robinhood: 4663
|
|
112
114
|
};
|
|
113
115
|
let Protocol = /* @__PURE__ */ function(Protocol) {
|
|
114
116
|
Protocol["QuickSwap"] = "QuickSwap";
|
|
@@ -7969,6 +7971,54 @@ const bittensorAddresses = {
|
|
|
7969
7971
|
}
|
|
7970
7972
|
};
|
|
7971
7973
|
//#endregion
|
|
7974
|
+
//#region src/const/deployments/robinhood.ts
|
|
7975
|
+
const robinhoodAddresses = {
|
|
7976
|
+
KeeperRegistry: {
|
|
7977
|
+
address: "0xF6aB5f1faED774e62D30c2A65e39a5a25F8E14e7",
|
|
7978
|
+
startBlock: 8704501
|
|
7979
|
+
},
|
|
7980
|
+
Orchestrator: {
|
|
7981
|
+
address: "0x20B895F7C02e754AdC461e80b39a9e85f02e2bE3",
|
|
7982
|
+
startBlock: 8704962
|
|
7983
|
+
},
|
|
7984
|
+
StrategyRegistry: {
|
|
7985
|
+
address: "0xAc7D3A933c44b4D4bad6D5F0685900482E0d995E",
|
|
7986
|
+
startBlock: 8704773
|
|
7987
|
+
},
|
|
7988
|
+
VaultRegistry: {
|
|
7989
|
+
address: "0x5c7d564fA5CE0e874367121E33c1ff10dB2115dC",
|
|
7990
|
+
startBlock: 8705247
|
|
7991
|
+
},
|
|
7992
|
+
BundleRegistry: {
|
|
7993
|
+
address: "0xEe351402D6A89E4468D2E6fD0f702602AdeAde91",
|
|
7994
|
+
startBlock: 8705995
|
|
7995
|
+
},
|
|
7996
|
+
GasVault: {
|
|
7997
|
+
address: "0x3B4cAD7D6cd045bD038697a4EaA3AD5A99E5Aa70",
|
|
7998
|
+
startBlock: 8705555
|
|
7999
|
+
},
|
|
8000
|
+
WhitelistRegistry: {
|
|
8001
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9",
|
|
8002
|
+
startBlock: 8705032
|
|
8003
|
+
},
|
|
8004
|
+
SteerPeriphery: {
|
|
8005
|
+
address: "0xCCd21830A8774484AE824AC05B3784D195686C7e",
|
|
8006
|
+
startBlock: 8705824
|
|
8007
|
+
},
|
|
8008
|
+
StakingRewards: {
|
|
8009
|
+
address: "0x8c78E9F6336bFC518B6651e3A2d02F745a94B09E",
|
|
8010
|
+
startBlock: 8705422
|
|
8011
|
+
},
|
|
8012
|
+
Helper: {
|
|
8013
|
+
address: "0x2af1bD206aAf5e74073691707d0A006ae2128ED3",
|
|
8014
|
+
startBlock: 8705074
|
|
8015
|
+
},
|
|
8016
|
+
FeeManager: {
|
|
8017
|
+
address: "0x22518d0C864F6C6391b76850d96D5fC27a7A45bD",
|
|
8018
|
+
startBlock: 8706188
|
|
8019
|
+
}
|
|
8020
|
+
};
|
|
8021
|
+
//#endregion
|
|
7972
8022
|
//#region src/const/deployments/berachainbartio.ts
|
|
7973
8023
|
const berachainbartioAddresses = {
|
|
7974
8024
|
"Orchestrator_Proxy": {
|
|
@@ -8849,6 +8899,15 @@ const networks = {
|
|
|
8849
8899
|
chainId: ChainId.Bittensor,
|
|
8850
8900
|
transactionType: 0,
|
|
8851
8901
|
...bittensorAddresses
|
|
8902
|
+
},
|
|
8903
|
+
[Chain.Robinhood]: {
|
|
8904
|
+
address: "0x0000000000000000000000000000000000000000",
|
|
8905
|
+
name: Chain.Robinhood,
|
|
8906
|
+
wrappedNativeToken: "WETH",
|
|
8907
|
+
isWrappingEnabled: false,
|
|
8908
|
+
chainId: ChainId.Robinhood,
|
|
8909
|
+
transactionType: 0,
|
|
8910
|
+
...robinhoodAddresses
|
|
8852
8911
|
}
|
|
8853
8912
|
};
|
|
8854
8913
|
for (const network of Object.values(networks)) {
|
|
@@ -9201,7 +9260,8 @@ const steerSubgraphConfig = {
|
|
|
9201
9260
|
[Chain.Saga]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-saga/prod/gn",
|
|
9202
9261
|
[Chain.Nibiru]: "https://app.sentio.xyz//api/v1/graphql/rakesh/steer-protocol-nibiru",
|
|
9203
9262
|
[Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
|
|
9204
|
-
[Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph"
|
|
9263
|
+
[Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph",
|
|
9264
|
+
[Chain.Robinhood]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-robinhood/prod/gn"
|
|
9205
9265
|
};
|
|
9206
9266
|
/**
|
|
9207
9267
|
* Retrieves the subgraph URL for a given chain ID.
|
|
@@ -14562,6 +14622,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14562
14622
|
[Chain.Filecoin]: "https://sushi.laconic.com/subgraphs/name/sushiswap/v3-filecoin",
|
|
14563
14623
|
[Chain.Hemi]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GQU44ZBv8NpiBUxA6eLSDSdd7bs6TVop9dASKzrdirUv",
|
|
14564
14624
|
[Chain.Katana]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-katana/gn",
|
|
14625
|
+
[Chain.Robinhood]: "https://api.goldsky.com/api/public/project_clslspm3c0knv01wvgfb2fqyq/subgraphs/sushiswap/v3-robinhood/gn",
|
|
14565
14626
|
[Chain.Mainnet]: getTheGraphResolverUrl("5nnoU1nUFeWqtXgbpC54L9PWdpgo7Y9HYinR3uTMsfzs", false, theGraphApiKey)
|
|
14566
14627
|
},
|
|
14567
14628
|
factoryAddress: {
|
|
@@ -14579,8 +14640,10 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14579
14640
|
[Chain.Filecoin]: "0xc35DADB65012eC5796536bD9864eD8773aBc74C4",
|
|
14580
14641
|
[Chain.Hemi]: "0xCdBCd51a5E8728E0AF4895ce5771b7d17fF71959",
|
|
14581
14642
|
[Chain.Katana]: "0x203e8740894c8955cB8950759876d7E7E45E04c1",
|
|
14643
|
+
[Chain.Robinhood]: "0xe51960f1b45f1c9fb6d166e6a884f866fc70433b",
|
|
14582
14644
|
[Chain.Mainnet]: "0xbaceb8ec6b9355dfc0269c18bac9d6e2bdc29c4f"
|
|
14583
14645
|
},
|
|
14646
|
+
NFTManagerAddress: { [Chain.Robinhood]: "0x51d0e5188afe12d502e29d982d20c190e7816107" },
|
|
14584
14647
|
TickLensAddress: {
|
|
14585
14648
|
[Chain.Polygon]: "0x9fdeA1412e50D78B25aCE4f96d35801647Fdf7dA",
|
|
14586
14649
|
[Chain.Arbitrum]: "0x8516944E89f296eb6473d79aED1Ba12088016c9e",
|
|
@@ -14596,6 +14659,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14596
14659
|
[Chain.Filecoin]: "0x1be211D8DA40BC0ae8719c6663307Bfc987b1d6c",
|
|
14597
14660
|
[Chain.Hemi]: "0x1f2FCf1d036b375b384012e61D3AA33F8C256bbE",
|
|
14598
14661
|
[Chain.Katana]: "0x35DC3E13469E980c37b6F288BBb9822B1f9bD435",
|
|
14662
|
+
[Chain.Robinhood]: "0x80126a8d806d029ac551ac6f30baf06b785175d1",
|
|
14599
14663
|
[Chain.Mainnet]: "0xfb70ad5a200d784e7901230e6875d91d5fa6b68c"
|
|
14600
14664
|
},
|
|
14601
14665
|
swapRouterAddress: {
|
|
@@ -14603,7 +14667,10 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14603
14667
|
[Chain.Base]: "0xFB7eF66a7e61224DD6FcD0D7d9C3be5C8B049b9f",
|
|
14604
14668
|
[Chain.Linea]: "0xc14Ee6B248787847527e11b8d7Cf257b212f7a9F"
|
|
14605
14669
|
},
|
|
14606
|
-
initCodeHash: {
|
|
14670
|
+
initCodeHash: {
|
|
14671
|
+
[Chain.Blast]: "0x8e13daee7f5a62e37e71bf852bcd44e7d16b90617ed2b17c24c2ee62411c5bae",
|
|
14672
|
+
[Chain.Robinhood]: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
|
14673
|
+
},
|
|
14607
14674
|
QuoterV2Address: {
|
|
14608
14675
|
[Chain.Polygon]: "0xb1E835Dc2785b52265711e17fCCb0fd018226a6e",
|
|
14609
14676
|
[Chain.Optimism]: "0xb1E835Dc2785b52265711e17fCCb0fd018226a6e",
|
|
@@ -14618,6 +14685,7 @@ const sushiConfig = (theGraphApiKey) => ({
|
|
|
14618
14685
|
[Chain.Filecoin]: "0x9B3fF703FA9C8B467F5886d7b61E61ba07a9b51c",
|
|
14619
14686
|
[Chain.Hemi]: "0x779EA16ebe59bdFa7230aa4F40D876446e387856",
|
|
14620
14687
|
[Chain.Katana]: "0x92dea23ED1C683940fF1a2f8fE23FE98C5d3041c",
|
|
14688
|
+
[Chain.Robinhood]: "0x3e290e5e01818002a0b672148bdc7514d861c7b3",
|
|
14621
14689
|
[Chain.Mainnet]: "0x64e8802FE490fa7cc61d3463958199161Bb608A7"
|
|
14622
14690
|
}
|
|
14623
14691
|
});
|
|
@@ -23770,6 +23838,7 @@ exports.quickSwapConfig = quickSwapConfig;
|
|
|
23770
23838
|
exports.quickSwapIntegralConfig = quickSwapIntegralConfig;
|
|
23771
23839
|
exports.quickSwapUniv3Config = quickSwapUniv3Config;
|
|
23772
23840
|
exports.retroConfig = retroConfig;
|
|
23841
|
+
exports.robinhoodAddresses = robinhoodAddresses;
|
|
23773
23842
|
exports.rootstockAddresses = rootstockAddresses;
|
|
23774
23843
|
exports.sagaAddresses = sagaAddresses;
|
|
23775
23844
|
exports.scrollAddresses = scrollAddresses;
|