@lagoon-protocol/v0-core 0.18.2 → 0.18.3

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.
@@ -3281,12 +3281,15 @@ class Initialized extends Log {
3281
3281
  class NewTotalAssetsUpdated extends Log {
3282
3282
  name = "NewTotalAssetsUpdated";
3283
3283
  totalAssets;
3284
+ totalSupply;
3284
3285
  constructor({
3285
3286
  totalAssets,
3287
+ totalSupply,
3286
3288
  ...args
3287
3289
  }) {
3288
3290
  super(args);
3289
3291
  this.totalAssets = BigInt(totalAssets);
3292
+ this.totalSupply = totalSupply ? BigInt(totalSupply) : null;
3290
3293
  }
3291
3294
  }
3292
3295
  // src/events/vault/OperatorSet.ts
@@ -3353,17 +3356,17 @@ class Paused extends Log {
3353
3356
  class RatesUpdated extends Log {
3354
3357
  name = "RatesUpdated";
3355
3358
  oldRates;
3356
- newRate;
3359
+ newRates;
3357
3360
  timestamp;
3358
3361
  constructor({
3359
3362
  oldRates,
3360
- newRate,
3363
+ newRates,
3361
3364
  timestamp,
3362
3365
  ...args
3363
3366
  }) {
3364
3367
  super(args);
3365
3368
  this.oldRates = oldRates;
3366
- this.newRate = newRate;
3369
+ this.newRates = newRates;
3367
3370
  this.timestamp = BigInt(timestamp);
3368
3371
  }
3369
3372
  }
@@ -3416,14 +3419,14 @@ class Referral extends Log {
3416
3419
  class SettleDeposit extends Log {
3417
3420
  name = "SettleDeposit";
3418
3421
  epochId;
3419
- settleId;
3422
+ settledId;
3420
3423
  totalAssets;
3421
3424
  totalSupply;
3422
3425
  assetsDeposited;
3423
3426
  sharesMinted;
3424
3427
  constructor({
3425
3428
  epochId,
3426
- settleId,
3429
+ settledId,
3427
3430
  totalAssets,
3428
3431
  totalSupply,
3429
3432
  assetsDeposited,
@@ -3432,7 +3435,7 @@ class SettleDeposit extends Log {
3432
3435
  }) {
3433
3436
  super(args);
3434
3437
  this.epochId = epochId;
3435
- this.settleId = settleId;
3438
+ this.settledId = settledId;
3436
3439
  this.totalAssets = BigInt(totalAssets);
3437
3440
  this.totalSupply = BigInt(totalSupply);
3438
3441
  this.assetsDeposited = BigInt(assetsDeposited);
@@ -3443,14 +3446,14 @@ class SettleDeposit extends Log {
3443
3446
  class SettleRedeem extends Log {
3444
3447
  name = "SettleRedeem";
3445
3448
  epochId;
3446
- settleId;
3449
+ settledId;
3447
3450
  totalAssets;
3448
3451
  totalSupply;
3449
3452
  assetsWithdrawed;
3450
3453
  sharesBurned;
3451
3454
  constructor({
3452
3455
  epochId,
3453
- settleId,
3456
+ settledId,
3454
3457
  totalAssets,
3455
3458
  totalSupply,
3456
3459
  assetsWithdrawed,
@@ -3459,7 +3462,7 @@ class SettleRedeem extends Log {
3459
3462
  }) {
3460
3463
  super(args);
3461
3464
  this.epochId = epochId;
3462
- this.settleId = settleId;
3465
+ this.settledId = settledId;
3463
3466
  this.totalAssets = BigInt(totalAssets);
3464
3467
  this.totalSupply = BigInt(totalSupply);
3465
3468
  this.assetsWithdrawed = BigInt(assetsWithdrawed);
@@ -3497,9 +3500,11 @@ class TotalAssetsLifespanUpdated extends Log {
3497
3500
  class TotalAssetsUpdated extends Log {
3498
3501
  name = "TotalAssetsUpdated";
3499
3502
  totalAssets;
3500
- constructor({ totalAssets, ...args }) {
3503
+ totalSupply;
3504
+ constructor({ totalAssets, totalSupply, ...args }) {
3501
3505
  super(args);
3502
3506
  this.totalAssets = BigInt(totalAssets);
3507
+ this.totalSupply = totalSupply ? BigInt(totalSupply) : null;
3503
3508
  }
3504
3509
  }
3505
3510
  // src/events/vault/Transfer.ts
package/dist/esm/index.js CHANGED
@@ -3186,12 +3186,15 @@ class Initialized extends Log {
3186
3186
  class NewTotalAssetsUpdated extends Log {
3187
3187
  name = "NewTotalAssetsUpdated";
3188
3188
  totalAssets;
3189
+ totalSupply;
3189
3190
  constructor({
3190
3191
  totalAssets,
3192
+ totalSupply,
3191
3193
  ...args
3192
3194
  }) {
3193
3195
  super(args);
3194
3196
  this.totalAssets = BigInt(totalAssets);
3197
+ this.totalSupply = totalSupply ? BigInt(totalSupply) : null;
3195
3198
  }
3196
3199
  }
3197
3200
  // src/events/vault/OperatorSet.ts
@@ -3258,17 +3261,17 @@ class Paused extends Log {
3258
3261
  class RatesUpdated extends Log {
3259
3262
  name = "RatesUpdated";
3260
3263
  oldRates;
3261
- newRate;
3264
+ newRates;
3262
3265
  timestamp;
3263
3266
  constructor({
3264
3267
  oldRates,
3265
- newRate,
3268
+ newRates,
3266
3269
  timestamp,
3267
3270
  ...args
3268
3271
  }) {
3269
3272
  super(args);
3270
3273
  this.oldRates = oldRates;
3271
- this.newRate = newRate;
3274
+ this.newRates = newRates;
3272
3275
  this.timestamp = BigInt(timestamp);
3273
3276
  }
3274
3277
  }
@@ -3321,14 +3324,14 @@ class Referral extends Log {
3321
3324
  class SettleDeposit extends Log {
3322
3325
  name = "SettleDeposit";
3323
3326
  epochId;
3324
- settleId;
3327
+ settledId;
3325
3328
  totalAssets;
3326
3329
  totalSupply;
3327
3330
  assetsDeposited;
3328
3331
  sharesMinted;
3329
3332
  constructor({
3330
3333
  epochId,
3331
- settleId,
3334
+ settledId,
3332
3335
  totalAssets,
3333
3336
  totalSupply,
3334
3337
  assetsDeposited,
@@ -3337,7 +3340,7 @@ class SettleDeposit extends Log {
3337
3340
  }) {
3338
3341
  super(args);
3339
3342
  this.epochId = epochId;
3340
- this.settleId = settleId;
3343
+ this.settledId = settledId;
3341
3344
  this.totalAssets = BigInt(totalAssets);
3342
3345
  this.totalSupply = BigInt(totalSupply);
3343
3346
  this.assetsDeposited = BigInt(assetsDeposited);
@@ -3348,14 +3351,14 @@ class SettleDeposit extends Log {
3348
3351
  class SettleRedeem extends Log {
3349
3352
  name = "SettleRedeem";
3350
3353
  epochId;
3351
- settleId;
3354
+ settledId;
3352
3355
  totalAssets;
3353
3356
  totalSupply;
3354
3357
  assetsWithdrawed;
3355
3358
  sharesBurned;
3356
3359
  constructor({
3357
3360
  epochId,
3358
- settleId,
3361
+ settledId,
3359
3362
  totalAssets,
3360
3363
  totalSupply,
3361
3364
  assetsWithdrawed,
@@ -3364,7 +3367,7 @@ class SettleRedeem extends Log {
3364
3367
  }) {
3365
3368
  super(args);
3366
3369
  this.epochId = epochId;
3367
- this.settleId = settleId;
3370
+ this.settledId = settledId;
3368
3371
  this.totalAssets = BigInt(totalAssets);
3369
3372
  this.totalSupply = BigInt(totalSupply);
3370
3373
  this.assetsWithdrawed = BigInt(assetsWithdrawed);
@@ -3402,9 +3405,11 @@ class TotalAssetsLifespanUpdated extends Log {
3402
3405
  class TotalAssetsUpdated extends Log {
3403
3406
  name = "TotalAssetsUpdated";
3404
3407
  totalAssets;
3405
- constructor({ totalAssets, ...args }) {
3408
+ totalSupply;
3409
+ constructor({ totalAssets, totalSupply, ...args }) {
3406
3410
  super(args);
3407
3411
  this.totalAssets = BigInt(totalAssets);
3412
+ this.totalSupply = totalSupply ? BigInt(totalSupply) : null;
3408
3413
  }
3409
3414
  }
3410
3415
  // src/events/vault/Transfer.ts