@steerprotocol/sdk 3.8.0 → 3.8.1
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 +74 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +74 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +50 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +74 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -57,6 +57,7 @@ let Chain = /* @__PURE__ */ function(Chain) {
|
|
|
57
57
|
Chain["Nibiru"] = "Nibiru";
|
|
58
58
|
Chain["Hyperevm"] = "Hyperevm";
|
|
59
59
|
Chain["Bittensor"] = "Bittensor";
|
|
60
|
+
Chain["Monad"] = "Monad";
|
|
60
61
|
Chain["Robinhood"] = "Robinhood";
|
|
61
62
|
return Chain;
|
|
62
63
|
}({});
|
|
@@ -112,6 +113,7 @@ const ChainId = {
|
|
|
112
113
|
Nibiru: 6900,
|
|
113
114
|
Hyperevm: 999,
|
|
114
115
|
Bittensor: 964,
|
|
116
|
+
Monad: 143,
|
|
115
117
|
Robinhood: 4663
|
|
116
118
|
};
|
|
117
119
|
let Protocol = /* @__PURE__ */ function(Protocol) {
|
|
@@ -8089,6 +8091,54 @@ const robinhoodAddresses = {
|
|
|
8089
8091
|
}
|
|
8090
8092
|
};
|
|
8091
8093
|
//#endregion
|
|
8094
|
+
//#region src/const/deployments/monad.ts
|
|
8095
|
+
const monadAddresses = {
|
|
8096
|
+
KeeperRegistry: {
|
|
8097
|
+
address: "0xc76A94F0cb1877B2C036821CEB3b9a21eEADb266",
|
|
8098
|
+
startBlock: 111283055
|
|
8099
|
+
},
|
|
8100
|
+
StrategyRegistry: {
|
|
8101
|
+
address: "0xAc7D3A933c44b4D4bad6D5F0685900482E0d995E",
|
|
8102
|
+
startBlock: 111283115
|
|
8103
|
+
},
|
|
8104
|
+
Orchestrator: {
|
|
8105
|
+
address: "0xCD31EbF762A5d1F88399E692316903767DA06Cf9",
|
|
8106
|
+
startBlock: 111283234
|
|
8107
|
+
},
|
|
8108
|
+
WhitelistRegistry: {
|
|
8109
|
+
address: "0xfB30AE7542a5E8A5BC134128c0c9dEb4646a2508",
|
|
8110
|
+
startBlock: 111283142
|
|
8111
|
+
},
|
|
8112
|
+
Helper: {
|
|
8113
|
+
address: "0x8725f2f77508EDd583C6f3840F88Db6A2d0Cf009",
|
|
8114
|
+
startBlock: 111283171
|
|
8115
|
+
},
|
|
8116
|
+
VaultRegistry: {
|
|
8117
|
+
address: "0x52Db9bcb9EFdBAaa8E1D2326E0b69c57Bf14c333",
|
|
8118
|
+
startBlock: 111283296
|
|
8119
|
+
},
|
|
8120
|
+
GasVault: {
|
|
8121
|
+
address: "0x2c637b31A2b320E4f28c148328443d22498294fa",
|
|
8122
|
+
startBlock: 111283356
|
|
8123
|
+
},
|
|
8124
|
+
StakingRewards: {
|
|
8125
|
+
address: "0x8c78E9F6336bFC518B6651e3A2d02F745a94B09E",
|
|
8126
|
+
startBlock: 111283417
|
|
8127
|
+
},
|
|
8128
|
+
SteerPeriphery: {
|
|
8129
|
+
address: "0xcE33017087582548c996581d1cde9549ea54221d",
|
|
8130
|
+
startBlock: 111283601
|
|
8131
|
+
},
|
|
8132
|
+
BundleRegistry: {
|
|
8133
|
+
address: "0x0a271fc23BA4c6A4a668E7Ceef9aDE60C59f5Ec5",
|
|
8134
|
+
startBlock: 111283478
|
|
8135
|
+
},
|
|
8136
|
+
FeeManager: {
|
|
8137
|
+
address: "0xb05107884d9a54B0dd58eBd06C93399941B0e6Cd",
|
|
8138
|
+
startBlock: 111283540
|
|
8139
|
+
}
|
|
8140
|
+
};
|
|
8141
|
+
//#endregion
|
|
8092
8142
|
//#region src/const/deployments/berachainbartio.ts
|
|
8093
8143
|
const berachainbartioAddresses = {
|
|
8094
8144
|
"Orchestrator_Proxy": {
|
|
@@ -8983,6 +9033,15 @@ const networks = {
|
|
|
8983
9033
|
transactionType: 0,
|
|
8984
9034
|
...bittensorAddresses
|
|
8985
9035
|
},
|
|
9036
|
+
[Chain.Monad]: {
|
|
9037
|
+
address: "0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A",
|
|
9038
|
+
name: Chain.Monad,
|
|
9039
|
+
wrappedNativeToken: "WMON",
|
|
9040
|
+
isWrappingEnabled: true,
|
|
9041
|
+
chainId: ChainId.Monad,
|
|
9042
|
+
transactionType: 2,
|
|
9043
|
+
...monadAddresses
|
|
9044
|
+
},
|
|
8986
9045
|
[Chain.Robinhood]: {
|
|
8987
9046
|
address: "0x0bd7d308f8e1639fab988df18a8011f41eacad73",
|
|
8988
9047
|
name: Chain.Robinhood,
|
|
@@ -9990,6 +10049,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
9990
10049
|
beaconContract: MultiPositionManagers.MultiPositionUniswapV4ALM,
|
|
9991
10050
|
additionalBeaconContracts: UniswapV4Beacons.slice(1),
|
|
9992
10051
|
subgraph: {
|
|
10052
|
+
[Chain.Monad]: getTheGraphResolverUrl(`DiYPVdygkfjDWhbxGSqAQxwBKmfKnkWQojqeM2rkLb3G`, false, theGraphApiKey),
|
|
9993
10053
|
[Chain.Unichain]: getTheGraphResolverUrl(`EoCvJ5tyMLMJcTnLQwWpjAtPdn74PcrZgzfcT5bYxNBH`, false, theGraphApiKey),
|
|
9994
10054
|
[Chain.BSC]: getTheGraphResolverUrl(`EAq1nJKgjnuKH6Gj4RFjCW7LcL7E2uipbncdwV7TTWkX`, false, theGraphApiKey),
|
|
9995
10055
|
[Chain.Base]: getTheGraphResolverUrl(`HNCFA9TyBqpo5qpe6QreQABAA1kV8g46mhkCcicu6v2R`, false, theGraphApiKey),
|
|
@@ -9998,6 +10058,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
9998
10058
|
[Chain.Robinhood]: getTheGraphResolverUrl(`DiYPVdygkfjDWhbxGSqAQxwBKmfKnkWQojqeM2rkLb3G`, false, theGraphApiKey)
|
|
9999
10059
|
},
|
|
10000
10060
|
PoolManager: {
|
|
10061
|
+
[Chain.Monad]: "0x188d586ddcf52439676ca21a244753fa19f9ea8e",
|
|
10001
10062
|
[Chain.Unichain]: "0x1f98400000000000000000000000000000000004",
|
|
10002
10063
|
[Chain.BSC]: "0x28e2ea090877bf75740558f6bfb36a5ffee9e9df",
|
|
10003
10064
|
[Chain.Base]: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
@@ -10006,6 +10067,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10006
10067
|
[Chain.Robinhood]: "0x8366a39cc670b4001a1121b8f6a443a643e40951"
|
|
10007
10068
|
},
|
|
10008
10069
|
PositionDescriptor: {
|
|
10070
|
+
[Chain.Monad]: "0x5770d2914355a6d0a39a70aeea9bcce55df4201b",
|
|
10009
10071
|
[Chain.Unichain]: "0x9fb28449a191cd8c03a1b7abfb0f5996ecf7f722",
|
|
10010
10072
|
[Chain.BSC]: "0xf0432f360703ec3d33931a8356a75a77d8d380e1",
|
|
10011
10073
|
[Chain.Base]: "0x25d093633990dc94bedeed76c8f3cdaa75f3e7d5",
|
|
@@ -10014,6 +10076,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10014
10076
|
[Chain.Robinhood]: "0x9639443158e8c5efa35bd45287bf2effd3d8dc06"
|
|
10015
10077
|
},
|
|
10016
10078
|
PositionManager: {
|
|
10079
|
+
[Chain.Monad]: "0x5b7ec4a94ff9bedb700fb82ab09d5846972f4016",
|
|
10017
10080
|
[Chain.Unichain]: "0x4529A01c7A0410167c5740C487A8DE60232617bf",
|
|
10018
10081
|
[Chain.BSC]: "0x7a4a5c919ae2541aed11041a1aeee68f1287f95b",
|
|
10019
10082
|
[Chain.Base]: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
@@ -10022,6 +10085,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10022
10085
|
[Chain.Robinhood]: "0x58daec3116aae6d93017baaea7749052e8a04fa7"
|
|
10023
10086
|
},
|
|
10024
10087
|
Quoter: {
|
|
10088
|
+
[Chain.Monad]: "0xa222dd357a9076d1091ed6aa2e16c9742dd26891",
|
|
10025
10089
|
[Chain.Unichain]: "0x333e3c607b141b18ff6de9f258db6e77fe7491e0",
|
|
10026
10090
|
[Chain.BSC]: "0x9f75dd27d6664c475b90e105573e550ff69437b0",
|
|
10027
10091
|
[Chain.Base]: "0x0d5e0f971ed27fbff6c2837bf31316121532048d",
|
|
@@ -10030,6 +10094,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10030
10094
|
[Chain.Robinhood]: "0x8dc178efb8111bb0973dd9d722ebeff267c98f94"
|
|
10031
10095
|
},
|
|
10032
10096
|
StateView: {
|
|
10097
|
+
[Chain.Monad]: "0x77395f3b2e73ae90843717371294fa97cc419d64",
|
|
10033
10098
|
[Chain.Unichain]: "0x86e8631a016f9068c3f085faf484ee3f5fdee8f2",
|
|
10034
10099
|
[Chain.BSC]: "0xd13dd3d6e93f276fafc9db9e6bb47c1180aee0c4",
|
|
10035
10100
|
[Chain.Base]: "0xa3c0c9b65bad0b08107aa264b0f3db444b867a71",
|
|
@@ -10037,8 +10102,12 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10037
10102
|
[Chain.Mainnet]: "0x7ffe42c4a5deea5b0fec41c94c136cf115597227",
|
|
10038
10103
|
[Chain.Robinhood]: "0xf3334192d15450cdd385c8b70e03f9a6bd9e673b"
|
|
10039
10104
|
},
|
|
10040
|
-
ReservesLens: {
|
|
10105
|
+
ReservesLens: {
|
|
10106
|
+
[Chain.Monad]: "0x0000001b173C3bbF3984D417d8614E3eed34865B",
|
|
10107
|
+
[Chain.Robinhood]: "0x0000001b173C3bbF3984D417d8614E3eed34865B"
|
|
10108
|
+
},
|
|
10041
10109
|
UniversalRouter: {
|
|
10110
|
+
[Chain.Monad]: "0xfdf682f51fe81aa4898f0ae2163d8a55c127fbc7",
|
|
10042
10111
|
[Chain.Unichain]: "0xef740bf23acae26f6492b10de645d6b98dc8eaf3",
|
|
10043
10112
|
[Chain.BSC]: "0x8b844f885672f333bc0042cb669255f93a4c1e6b",
|
|
10044
10113
|
[Chain.Base]: "0xfdf682f51fe81aa4898f0ae2163d8a55c127fbc7",
|
|
@@ -10047,6 +10116,7 @@ const uniswapV4Config = (theGraphApiKey) => ({
|
|
|
10047
10116
|
[Chain.Robinhood]: "0x8876789976decbfcbbbe364623c63652db8c0904"
|
|
10048
10117
|
},
|
|
10049
10118
|
Permit2: {
|
|
10119
|
+
[Chain.Monad]: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
10050
10120
|
[Chain.Unichain]: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
10051
10121
|
[Chain.BSC]: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
10052
10122
|
[Chain.Base]: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
@@ -10689,6 +10759,7 @@ const steerSubgraphConfig = {
|
|
|
10689
10759
|
[Chain.Nibiru]: offlineSubgraphUrl("nibiru"),
|
|
10690
10760
|
[Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
|
|
10691
10761
|
[Chain.Bittensor]: "https://subgraphs.steer.finance/subgraphs/name/steer-subgraph/graphql",
|
|
10762
|
+
[Chain.Monad]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-monad/prod/gn",
|
|
10692
10763
|
[Chain.Robinhood]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-robinhood/prod/gn"
|
|
10693
10764
|
};
|
|
10694
10765
|
/**
|
|
@@ -25900,6 +25971,7 @@ function deployment(chainId, poolManager, stateView, startBlock) {
|
|
|
25900
25971
|
* is deliberately reviewed and versioned here.
|
|
25901
25972
|
*/
|
|
25902
25973
|
const CURRENT_V4_LIFECYCLE_DEPLOYMENTS = Object.freeze([
|
|
25974
|
+
deployment(ChainId.Monad, "0x188d586ddcf52439676ca21a244753fa19f9ea8e", "0x77395f3b2e73ae90843717371294fa97cc419d64", 29255895n),
|
|
25903
25975
|
deployment(ChainId.Mainnet, "0x000000000004444c5dc75cB358380D2e3dE08A90", "0x7ffe42c4a5deea5b0fec41c94c136cf115597227", 21688329n),
|
|
25904
25976
|
deployment(ChainId.BSC, "0x28e2ea090877bf75740558f6bfb36a5ffee9e9df", "0xd13dd3d6e93f276fafc9db9e6bb47c1180aee0c4", 45970610n),
|
|
25905
25977
|
deployment(ChainId.Unichain, "0x1f98400000000000000000000000000000000004", "0x86e8631a016f9068c3f085faf484ee3f5fdee8f2", 25500n),
|
|
@@ -29426,6 +29498,7 @@ exports.mantleAddresses = mantleAddresses;
|
|
|
29426
29498
|
exports.metaVaultConfig = metaVaultConfig;
|
|
29427
29499
|
exports.metisAddresses = metisAddresses;
|
|
29428
29500
|
exports.modeAddresses = modeAddresses;
|
|
29501
|
+
exports.monadAddresses = monadAddresses;
|
|
29429
29502
|
exports.moonbeamAddresses = moonbeamAddresses;
|
|
29430
29503
|
exports.mumbaiAddresses = mumbaiAddresses;
|
|
29431
29504
|
exports.nestVaultConfig = nestVaultConfig;
|