impermax-sdk 2.1.474 → 2.1.476

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.
@@ -54,7 +54,7 @@ export declare enum Amms {
54
54
  velodromeStable = "velodromeStable",
55
55
  blackhole = "blackhole",
56
56
  blackhole1 = "blackhole1",
57
- aerodromev3 = "aerodromev3"
57
+ aeroCL = "aeroCL"
58
58
  }
59
59
  export declare const hrAmms: {
60
60
  uniswap: string;
@@ -111,7 +111,7 @@ export declare const hrAmms: {
111
111
  velodromeStable: string;
112
112
  blackhole: string;
113
113
  blackhole1: string;
114
- aerodromev3: string;
114
+ aeroCL: string;
115
115
  };
116
116
  export declare const AMM_FACTORY: AmmIndex;
117
117
  export declare function getAmmByFactory(network: Networks, address: Address): Amms | null;
@@ -58,7 +58,7 @@ var Amms;
58
58
  Amms["velodromeStable"] = "velodromeStable";
59
59
  Amms["blackhole"] = "blackhole";
60
60
  Amms["blackhole1"] = "blackhole1";
61
- Amms["aerodromev3"] = "aerodromev3";
61
+ Amms["aeroCL"] = "aeroCL";
62
62
  })(Amms = exports.Amms || (exports.Amms = {}));
63
63
  exports.hrAmms = {
64
64
  [Amms.uniswap]: 'UniswapV2',
@@ -115,7 +115,7 @@ exports.hrAmms = {
115
115
  [Amms.velodromeStable]: 'Velodrome Stable',
116
116
  [Amms.blackhole]: 'Blackhole',
117
117
  [Amms.blackhole1]: 'Blackhole',
118
- [Amms.aerodromev3]: 'AerodromeV3'
118
+ [Amms.aeroCL]: 'Aero Slipstream'
119
119
  };
120
120
  exports.AMM_FACTORY = {
121
121
  [types_1.Networks.Ropsten]: {
@@ -196,7 +196,7 @@ exports.AMM_FACTORY = {
196
196
  [Amms.uniswap]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6',
197
197
  [Amms.alien]: '0x3E84D913803b02A4a7f027165E8cA42C14C0FdE7',
198
198
  [Amms.uniswapv3]: '0x33128a8fc17869897dce68ed026d694621f6fdfd',
199
- [Amms.aerodromev3]: '0x5e7bb104d84c7cb9b682aac2f3d509f5f406809a'
199
+ [Amms.aeroCL]: '0x5e7bb104d84c7cb9b682aac2f3d509f5f406809a'
200
200
  },
201
201
  [types_1.Networks.Scroll]: {
202
202
  [Amms.tokan]: '0x074568F090e93194289c2C2BF285eE7f60b485a9',
@@ -44,7 +44,7 @@ class OffchainNftlpAeroCL extends offchainNftlpGenericCL_1.default {
44
44
  if (data.rewardRate != currentRewardRate)
45
45
  break;
46
46
  leastRecentTimestamp = data.timestamp;
47
- pastRewardGrowthGlobalX128 = BigInt(data.feeGrowthGlobal0X128);
47
+ pastRewardGrowthGlobalX128 = BigInt(data.rewardGrowthGlobalX128);
48
48
  }
49
49
  let rewardRatePerUnitOfLiquidity;
50
50
  if (leastRecentTimestamp === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.474",
3
+ "version": "2.1.476",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",