@magmaprotocol/magma-clmm-sdk 0.5.9 → 0.5.10
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.d.ts +2 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3303,6 +3303,8 @@ type WithdrawPosition = {
|
|
|
3303
3303
|
type EpochEmission = {
|
|
3304
3304
|
emission: number | string;
|
|
3305
3305
|
rebase: number | string;
|
|
3306
|
+
total_supply: number | string;
|
|
3307
|
+
total_locked: number | string;
|
|
3306
3308
|
};
|
|
3307
3309
|
declare class GaugeModule implements IModule {
|
|
3308
3310
|
protected _sdk: MagmaClmmSDK;
|
package/dist/index.js
CHANGED
|
@@ -9362,12 +9362,16 @@ var GaugeModule = class {
|
|
|
9362
9362
|
}
|
|
9363
9363
|
let res = {
|
|
9364
9364
|
emission: 0,
|
|
9365
|
-
rebase: 0
|
|
9365
|
+
rebase: 0,
|
|
9366
|
+
total_supply: 0,
|
|
9367
|
+
total_locked: 0
|
|
9366
9368
|
};
|
|
9367
9369
|
simulateRes.events?.forEach((item) => {
|
|
9368
9370
|
res = {
|
|
9369
9371
|
emission: item.parsedJson.emission,
|
|
9370
|
-
rebase: item.parsedJson.rebase
|
|
9372
|
+
rebase: item.parsedJson.rebase,
|
|
9373
|
+
total_supply: item.parsedJson.total_supply,
|
|
9374
|
+
total_locked: item.parsedJson.total_locked
|
|
9371
9375
|
};
|
|
9372
9376
|
});
|
|
9373
9377
|
return res;
|