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