@lagoon-protocol/v0-core 0.11.0 → 0.14.0
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 +43 -4
- package/dist/esm/index.js +43 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/constants/abis.d.ts +380 -0
- package/dist/types/constants/abis.d.ts.map +1 -1
- package/dist/types/vault/User.d.ts +62 -5
- package/dist/types/vault/User.d.ts.map +1 -1
- package/dist/types/vault/Vault.d.ts +4 -1
- package/dist/types/vault/Vault.d.ts.map +1 -1
- package/dist/types/vault/VaultUtils.d.ts +3 -0
- package/dist/types/vault/VaultUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9363,4 +9363,384 @@ export declare const vaultAbi_v0_1_0: readonly [{
|
|
|
9363
9363
|
readonly name: "WrongNewTotalAssets";
|
|
9364
9364
|
readonly inputs: readonly [];
|
|
9365
9365
|
}];
|
|
9366
|
+
export declare const feeRegistryAbi_v2: readonly [{
|
|
9367
|
+
readonly inputs: readonly [{
|
|
9368
|
+
readonly internalType: "bool";
|
|
9369
|
+
readonly name: "disable";
|
|
9370
|
+
readonly type: "bool";
|
|
9371
|
+
}];
|
|
9372
|
+
readonly stateMutability: "nonpayable";
|
|
9373
|
+
readonly type: "constructor";
|
|
9374
|
+
}, {
|
|
9375
|
+
readonly inputs: readonly [];
|
|
9376
|
+
readonly name: "CantRemoveDefaultLogic";
|
|
9377
|
+
readonly type: "error";
|
|
9378
|
+
}, {
|
|
9379
|
+
readonly inputs: readonly [];
|
|
9380
|
+
readonly name: "InvalidInitialization";
|
|
9381
|
+
readonly type: "error";
|
|
9382
|
+
}, {
|
|
9383
|
+
readonly inputs: readonly [{
|
|
9384
|
+
readonly internalType: "address";
|
|
9385
|
+
readonly name: "Logic";
|
|
9386
|
+
readonly type: "address";
|
|
9387
|
+
}];
|
|
9388
|
+
readonly name: "LogicNotWhitelisted";
|
|
9389
|
+
readonly type: "error";
|
|
9390
|
+
}, {
|
|
9391
|
+
readonly inputs: readonly [];
|
|
9392
|
+
readonly name: "NotInitializing";
|
|
9393
|
+
readonly type: "error";
|
|
9394
|
+
}, {
|
|
9395
|
+
readonly inputs: readonly [{
|
|
9396
|
+
readonly internalType: "address";
|
|
9397
|
+
readonly name: "owner";
|
|
9398
|
+
readonly type: "address";
|
|
9399
|
+
}];
|
|
9400
|
+
readonly name: "OwnableInvalidOwner";
|
|
9401
|
+
readonly type: "error";
|
|
9402
|
+
}, {
|
|
9403
|
+
readonly inputs: readonly [{
|
|
9404
|
+
readonly internalType: "address";
|
|
9405
|
+
readonly name: "account";
|
|
9406
|
+
readonly type: "address";
|
|
9407
|
+
}];
|
|
9408
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
9409
|
+
readonly type: "error";
|
|
9410
|
+
}, {
|
|
9411
|
+
readonly anonymous: false;
|
|
9412
|
+
readonly inputs: readonly [{
|
|
9413
|
+
readonly indexed: false;
|
|
9414
|
+
readonly internalType: "address";
|
|
9415
|
+
readonly name: "vault";
|
|
9416
|
+
readonly type: "address";
|
|
9417
|
+
}, {
|
|
9418
|
+
readonly indexed: false;
|
|
9419
|
+
readonly internalType: "uint16";
|
|
9420
|
+
readonly name: "rate";
|
|
9421
|
+
readonly type: "uint16";
|
|
9422
|
+
}, {
|
|
9423
|
+
readonly indexed: false;
|
|
9424
|
+
readonly internalType: "bool";
|
|
9425
|
+
readonly name: "isActivated";
|
|
9426
|
+
readonly type: "bool";
|
|
9427
|
+
}];
|
|
9428
|
+
readonly name: "CustomRateUpdated";
|
|
9429
|
+
readonly type: "event";
|
|
9430
|
+
}, {
|
|
9431
|
+
readonly anonymous: false;
|
|
9432
|
+
readonly inputs: readonly [{
|
|
9433
|
+
readonly indexed: false;
|
|
9434
|
+
readonly internalType: "address";
|
|
9435
|
+
readonly name: "previous";
|
|
9436
|
+
readonly type: "address";
|
|
9437
|
+
}, {
|
|
9438
|
+
readonly indexed: false;
|
|
9439
|
+
readonly internalType: "address";
|
|
9440
|
+
readonly name: "newImpl";
|
|
9441
|
+
readonly type: "address";
|
|
9442
|
+
}];
|
|
9443
|
+
readonly name: "DefaultLogicUpdated";
|
|
9444
|
+
readonly type: "event";
|
|
9445
|
+
}, {
|
|
9446
|
+
readonly anonymous: false;
|
|
9447
|
+
readonly inputs: readonly [{
|
|
9448
|
+
readonly indexed: false;
|
|
9449
|
+
readonly internalType: "uint256";
|
|
9450
|
+
readonly name: "oldRate";
|
|
9451
|
+
readonly type: "uint256";
|
|
9452
|
+
}, {
|
|
9453
|
+
readonly indexed: false;
|
|
9454
|
+
readonly internalType: "uint256";
|
|
9455
|
+
readonly name: "newRate";
|
|
9456
|
+
readonly type: "uint256";
|
|
9457
|
+
}];
|
|
9458
|
+
readonly name: "DefaultRateUpdated";
|
|
9459
|
+
readonly type: "event";
|
|
9460
|
+
}, {
|
|
9461
|
+
readonly anonymous: false;
|
|
9462
|
+
readonly inputs: readonly [{
|
|
9463
|
+
readonly indexed: false;
|
|
9464
|
+
readonly internalType: "uint64";
|
|
9465
|
+
readonly name: "version";
|
|
9466
|
+
readonly type: "uint64";
|
|
9467
|
+
}];
|
|
9468
|
+
readonly name: "Initialized";
|
|
9469
|
+
readonly type: "event";
|
|
9470
|
+
}, {
|
|
9471
|
+
readonly anonymous: false;
|
|
9472
|
+
readonly inputs: readonly [{
|
|
9473
|
+
readonly indexed: false;
|
|
9474
|
+
readonly internalType: "address";
|
|
9475
|
+
readonly name: "Logic";
|
|
9476
|
+
readonly type: "address";
|
|
9477
|
+
}];
|
|
9478
|
+
readonly name: "LogicAdded";
|
|
9479
|
+
readonly type: "event";
|
|
9480
|
+
}, {
|
|
9481
|
+
readonly anonymous: false;
|
|
9482
|
+
readonly inputs: readonly [{
|
|
9483
|
+
readonly indexed: false;
|
|
9484
|
+
readonly internalType: "address";
|
|
9485
|
+
readonly name: "Logic";
|
|
9486
|
+
readonly type: "address";
|
|
9487
|
+
}];
|
|
9488
|
+
readonly name: "LogicRemoved";
|
|
9489
|
+
readonly type: "event";
|
|
9490
|
+
}, {
|
|
9491
|
+
readonly anonymous: false;
|
|
9492
|
+
readonly inputs: readonly [{
|
|
9493
|
+
readonly indexed: true;
|
|
9494
|
+
readonly internalType: "address";
|
|
9495
|
+
readonly name: "previousOwner";
|
|
9496
|
+
readonly type: "address";
|
|
9497
|
+
}, {
|
|
9498
|
+
readonly indexed: true;
|
|
9499
|
+
readonly internalType: "address";
|
|
9500
|
+
readonly name: "newOwner";
|
|
9501
|
+
readonly type: "address";
|
|
9502
|
+
}];
|
|
9503
|
+
readonly name: "OwnershipTransferStarted";
|
|
9504
|
+
readonly type: "event";
|
|
9505
|
+
}, {
|
|
9506
|
+
readonly anonymous: false;
|
|
9507
|
+
readonly inputs: readonly [{
|
|
9508
|
+
readonly indexed: true;
|
|
9509
|
+
readonly internalType: "address";
|
|
9510
|
+
readonly name: "previousOwner";
|
|
9511
|
+
readonly type: "address";
|
|
9512
|
+
}, {
|
|
9513
|
+
readonly indexed: true;
|
|
9514
|
+
readonly internalType: "address";
|
|
9515
|
+
readonly name: "newOwner";
|
|
9516
|
+
readonly type: "address";
|
|
9517
|
+
}];
|
|
9518
|
+
readonly name: "OwnershipTransferred";
|
|
9519
|
+
readonly type: "event";
|
|
9520
|
+
}, {
|
|
9521
|
+
readonly anonymous: false;
|
|
9522
|
+
readonly inputs: readonly [{
|
|
9523
|
+
readonly indexed: false;
|
|
9524
|
+
readonly internalType: "address";
|
|
9525
|
+
readonly name: "oldReceiver";
|
|
9526
|
+
readonly type: "address";
|
|
9527
|
+
}, {
|
|
9528
|
+
readonly indexed: false;
|
|
9529
|
+
readonly internalType: "address";
|
|
9530
|
+
readonly name: "newReceiver";
|
|
9531
|
+
readonly type: "address";
|
|
9532
|
+
}];
|
|
9533
|
+
readonly name: "ProtocolFeeReceiverUpdated";
|
|
9534
|
+
readonly type: "event";
|
|
9535
|
+
}, {
|
|
9536
|
+
readonly inputs: readonly [{
|
|
9537
|
+
readonly internalType: "address";
|
|
9538
|
+
readonly name: "_protocolFeeReceiver";
|
|
9539
|
+
readonly type: "address";
|
|
9540
|
+
}];
|
|
9541
|
+
readonly name: "__FeeRegistry_init";
|
|
9542
|
+
readonly outputs: readonly [];
|
|
9543
|
+
readonly stateMutability: "nonpayable";
|
|
9544
|
+
readonly type: "function";
|
|
9545
|
+
}, {
|
|
9546
|
+
readonly inputs: readonly [];
|
|
9547
|
+
readonly name: "acceptOwnership";
|
|
9548
|
+
readonly outputs: readonly [];
|
|
9549
|
+
readonly stateMutability: "nonpayable";
|
|
9550
|
+
readonly type: "function";
|
|
9551
|
+
}, {
|
|
9552
|
+
readonly inputs: readonly [{
|
|
9553
|
+
readonly internalType: "address";
|
|
9554
|
+
readonly name: "_newLogic";
|
|
9555
|
+
readonly type: "address";
|
|
9556
|
+
}];
|
|
9557
|
+
readonly name: "addLogic";
|
|
9558
|
+
readonly outputs: readonly [];
|
|
9559
|
+
readonly stateMutability: "nonpayable";
|
|
9560
|
+
readonly type: "function";
|
|
9561
|
+
}, {
|
|
9562
|
+
readonly inputs: readonly [{
|
|
9563
|
+
readonly internalType: "address";
|
|
9564
|
+
readonly name: "fromLogic";
|
|
9565
|
+
readonly type: "address";
|
|
9566
|
+
}, {
|
|
9567
|
+
readonly internalType: "address";
|
|
9568
|
+
readonly name: "logic";
|
|
9569
|
+
readonly type: "address";
|
|
9570
|
+
}];
|
|
9571
|
+
readonly name: "canUseLogic";
|
|
9572
|
+
readonly outputs: readonly [{
|
|
9573
|
+
readonly internalType: "bool";
|
|
9574
|
+
readonly name: "";
|
|
9575
|
+
readonly type: "bool";
|
|
9576
|
+
}];
|
|
9577
|
+
readonly stateMutability: "view";
|
|
9578
|
+
readonly type: "function";
|
|
9579
|
+
}, {
|
|
9580
|
+
readonly inputs: readonly [];
|
|
9581
|
+
readonly name: "defaultLogic";
|
|
9582
|
+
readonly outputs: readonly [{
|
|
9583
|
+
readonly internalType: "address";
|
|
9584
|
+
readonly name: "";
|
|
9585
|
+
readonly type: "address";
|
|
9586
|
+
}];
|
|
9587
|
+
readonly stateMutability: "view";
|
|
9588
|
+
readonly type: "function";
|
|
9589
|
+
}, {
|
|
9590
|
+
readonly inputs: readonly [{
|
|
9591
|
+
readonly internalType: "address";
|
|
9592
|
+
readonly name: "initialOwner";
|
|
9593
|
+
readonly type: "address";
|
|
9594
|
+
}, {
|
|
9595
|
+
readonly internalType: "address";
|
|
9596
|
+
readonly name: "_protocolFeeReceiver";
|
|
9597
|
+
readonly type: "address";
|
|
9598
|
+
}];
|
|
9599
|
+
readonly name: "initialize";
|
|
9600
|
+
readonly outputs: readonly [];
|
|
9601
|
+
readonly stateMutability: "nonpayable";
|
|
9602
|
+
readonly type: "function";
|
|
9603
|
+
}, {
|
|
9604
|
+
readonly inputs: readonly [{
|
|
9605
|
+
readonly internalType: "address";
|
|
9606
|
+
readonly name: "vault";
|
|
9607
|
+
readonly type: "address";
|
|
9608
|
+
}];
|
|
9609
|
+
readonly name: "isCustomRate";
|
|
9610
|
+
readonly outputs: readonly [{
|
|
9611
|
+
readonly internalType: "bool";
|
|
9612
|
+
readonly name: "";
|
|
9613
|
+
readonly type: "bool";
|
|
9614
|
+
}];
|
|
9615
|
+
readonly stateMutability: "view";
|
|
9616
|
+
readonly type: "function";
|
|
9617
|
+
}, {
|
|
9618
|
+
readonly inputs: readonly [];
|
|
9619
|
+
readonly name: "owner";
|
|
9620
|
+
readonly outputs: readonly [{
|
|
9621
|
+
readonly internalType: "address";
|
|
9622
|
+
readonly name: "";
|
|
9623
|
+
readonly type: "address";
|
|
9624
|
+
}];
|
|
9625
|
+
readonly stateMutability: "view";
|
|
9626
|
+
readonly type: "function";
|
|
9627
|
+
}, {
|
|
9628
|
+
readonly inputs: readonly [];
|
|
9629
|
+
readonly name: "pendingOwner";
|
|
9630
|
+
readonly outputs: readonly [{
|
|
9631
|
+
readonly internalType: "address";
|
|
9632
|
+
readonly name: "";
|
|
9633
|
+
readonly type: "address";
|
|
9634
|
+
}];
|
|
9635
|
+
readonly stateMutability: "view";
|
|
9636
|
+
readonly type: "function";
|
|
9637
|
+
}, {
|
|
9638
|
+
readonly inputs: readonly [];
|
|
9639
|
+
readonly name: "protocolFeeReceiver";
|
|
9640
|
+
readonly outputs: readonly [{
|
|
9641
|
+
readonly internalType: "address";
|
|
9642
|
+
readonly name: "";
|
|
9643
|
+
readonly type: "address";
|
|
9644
|
+
}];
|
|
9645
|
+
readonly stateMutability: "view";
|
|
9646
|
+
readonly type: "function";
|
|
9647
|
+
}, {
|
|
9648
|
+
readonly inputs: readonly [];
|
|
9649
|
+
readonly name: "protocolRate";
|
|
9650
|
+
readonly outputs: readonly [{
|
|
9651
|
+
readonly internalType: "uint256";
|
|
9652
|
+
readonly name: "rate";
|
|
9653
|
+
readonly type: "uint256";
|
|
9654
|
+
}];
|
|
9655
|
+
readonly stateMutability: "view";
|
|
9656
|
+
readonly type: "function";
|
|
9657
|
+
}, {
|
|
9658
|
+
readonly inputs: readonly [{
|
|
9659
|
+
readonly internalType: "address";
|
|
9660
|
+
readonly name: "vault";
|
|
9661
|
+
readonly type: "address";
|
|
9662
|
+
}];
|
|
9663
|
+
readonly name: "protocolRate";
|
|
9664
|
+
readonly outputs: readonly [{
|
|
9665
|
+
readonly internalType: "uint256";
|
|
9666
|
+
readonly name: "rate";
|
|
9667
|
+
readonly type: "uint256";
|
|
9668
|
+
}];
|
|
9669
|
+
readonly stateMutability: "view";
|
|
9670
|
+
readonly type: "function";
|
|
9671
|
+
}, {
|
|
9672
|
+
readonly inputs: readonly [{
|
|
9673
|
+
readonly internalType: "address";
|
|
9674
|
+
readonly name: "_logic";
|
|
9675
|
+
readonly type: "address";
|
|
9676
|
+
}];
|
|
9677
|
+
readonly name: "removeLogic";
|
|
9678
|
+
readonly outputs: readonly [];
|
|
9679
|
+
readonly stateMutability: "nonpayable";
|
|
9680
|
+
readonly type: "function";
|
|
9681
|
+
}, {
|
|
9682
|
+
readonly inputs: readonly [];
|
|
9683
|
+
readonly name: "renounceOwnership";
|
|
9684
|
+
readonly outputs: readonly [];
|
|
9685
|
+
readonly stateMutability: "nonpayable";
|
|
9686
|
+
readonly type: "function";
|
|
9687
|
+
}, {
|
|
9688
|
+
readonly inputs: readonly [{
|
|
9689
|
+
readonly internalType: "address";
|
|
9690
|
+
readonly name: "newOwner";
|
|
9691
|
+
readonly type: "address";
|
|
9692
|
+
}];
|
|
9693
|
+
readonly name: "transferOwnership";
|
|
9694
|
+
readonly outputs: readonly [];
|
|
9695
|
+
readonly stateMutability: "nonpayable";
|
|
9696
|
+
readonly type: "function";
|
|
9697
|
+
}, {
|
|
9698
|
+
readonly inputs: readonly [{
|
|
9699
|
+
readonly internalType: "address";
|
|
9700
|
+
readonly name: "vault";
|
|
9701
|
+
readonly type: "address";
|
|
9702
|
+
}, {
|
|
9703
|
+
readonly internalType: "uint16";
|
|
9704
|
+
readonly name: "rate";
|
|
9705
|
+
readonly type: "uint16";
|
|
9706
|
+
}, {
|
|
9707
|
+
readonly internalType: "bool";
|
|
9708
|
+
readonly name: "isActivated";
|
|
9709
|
+
readonly type: "bool";
|
|
9710
|
+
}];
|
|
9711
|
+
readonly name: "updateCustomRate";
|
|
9712
|
+
readonly outputs: readonly [];
|
|
9713
|
+
readonly stateMutability: "nonpayable";
|
|
9714
|
+
readonly type: "function";
|
|
9715
|
+
}, {
|
|
9716
|
+
readonly inputs: readonly [{
|
|
9717
|
+
readonly internalType: "address";
|
|
9718
|
+
readonly name: "_newLogic";
|
|
9719
|
+
readonly type: "address";
|
|
9720
|
+
}];
|
|
9721
|
+
readonly name: "updateDefaultLogic";
|
|
9722
|
+
readonly outputs: readonly [];
|
|
9723
|
+
readonly stateMutability: "nonpayable";
|
|
9724
|
+
readonly type: "function";
|
|
9725
|
+
}, {
|
|
9726
|
+
readonly inputs: readonly [{
|
|
9727
|
+
readonly internalType: "uint16";
|
|
9728
|
+
readonly name: "rate";
|
|
9729
|
+
readonly type: "uint16";
|
|
9730
|
+
}];
|
|
9731
|
+
readonly name: "updateDefaultRate";
|
|
9732
|
+
readonly outputs: readonly [];
|
|
9733
|
+
readonly stateMutability: "nonpayable";
|
|
9734
|
+
readonly type: "function";
|
|
9735
|
+
}, {
|
|
9736
|
+
readonly inputs: readonly [{
|
|
9737
|
+
readonly internalType: "address";
|
|
9738
|
+
readonly name: "_protocolFeeReceiver";
|
|
9739
|
+
readonly type: "address";
|
|
9740
|
+
}];
|
|
9741
|
+
readonly name: "updateProtocolFeeReceiver";
|
|
9742
|
+
readonly outputs: readonly [];
|
|
9743
|
+
readonly stateMutability: "nonpayable";
|
|
9744
|
+
readonly type: "function";
|
|
9745
|
+
}];
|
|
9366
9746
|
//# sourceMappingURL=abis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../../src/constants/abis.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAo++B,CAAC;AAEjg/B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqsL,CAAC"}
|
|
@@ -4,10 +4,19 @@ interface IUser {
|
|
|
4
4
|
vault: Address;
|
|
5
5
|
hasDepositRequestOnboarded: boolean;
|
|
6
6
|
hasRedeemRequestOnboarded: boolean;
|
|
7
|
-
maxMint: bigint;
|
|
8
|
-
maxWithdraw: bigint;
|
|
9
7
|
lastDepositRequestId: number;
|
|
10
8
|
lastRedeemRequestId: number;
|
|
9
|
+
pendingDepositRequest: bigint;
|
|
10
|
+
pendingDepositRequestInShares: bigint;
|
|
11
|
+
maxMint: bigint;
|
|
12
|
+
maxDeposit: bigint;
|
|
13
|
+
claimableDepositRequestActualized: bigint;
|
|
14
|
+
balance: bigint;
|
|
15
|
+
balanceInAssets: bigint;
|
|
16
|
+
pendingRedeemRequest: bigint;
|
|
17
|
+
pendingRedeemRequestInAssets: bigint;
|
|
18
|
+
maxWithdraw: bigint;
|
|
19
|
+
maxRedeem: bigint;
|
|
11
20
|
}
|
|
12
21
|
export declare class User {
|
|
13
22
|
/**
|
|
@@ -27,13 +36,23 @@ export declare class User {
|
|
|
27
36
|
*/
|
|
28
37
|
hasRedeemRequestOnboarded: boolean;
|
|
29
38
|
/**
|
|
30
|
-
* The maximum amount of shares the user can claim from
|
|
39
|
+
* The maximum amount of shares the user can claim from his deposit request
|
|
31
40
|
*/
|
|
32
41
|
maxMint: bigint;
|
|
33
42
|
/**
|
|
34
|
-
* The maximum amount of
|
|
43
|
+
* The maximum amount of shares the user can finalize the deposit request for
|
|
44
|
+
*/
|
|
45
|
+
maxDeposit: bigint;
|
|
46
|
+
/** Claimable deposit request value in assets evolves, this is the actualized value */
|
|
47
|
+
claimableDepositRequestActualized: bigint;
|
|
48
|
+
/**
|
|
49
|
+
* The maximum amount of assets the user can claim from his redeem request
|
|
35
50
|
*/
|
|
36
51
|
maxWithdraw: bigint;
|
|
52
|
+
/**
|
|
53
|
+
* The maximum amount of shares the user can finalize his redeem request for
|
|
54
|
+
*/
|
|
55
|
+
maxRedeem: bigint;
|
|
37
56
|
/**
|
|
38
57
|
* The last deposit request ID
|
|
39
58
|
*/
|
|
@@ -42,7 +61,45 @@ export declare class User {
|
|
|
42
61
|
* The last redeem request ID
|
|
43
62
|
**/
|
|
44
63
|
lastRedeemRequestId: number;
|
|
45
|
-
|
|
64
|
+
/**
|
|
65
|
+
* The user's balance of shares
|
|
66
|
+
*/
|
|
67
|
+
balance: bigint;
|
|
68
|
+
/**
|
|
69
|
+
* The user's balance converted into assets at current valuation
|
|
70
|
+
*/
|
|
71
|
+
balanceInAssets: bigint;
|
|
72
|
+
/**
|
|
73
|
+
* The user's position in assets. It takes into account
|
|
74
|
+
* user's balance
|
|
75
|
+
* pending and claimable deposit requests.
|
|
76
|
+
* pending and claimable redeem requests.
|
|
77
|
+
*/
|
|
78
|
+
positionInShares: bigint;
|
|
79
|
+
/**
|
|
80
|
+
* The user's position in assets. It takes into account
|
|
81
|
+
* user's balance
|
|
82
|
+
* pending and claimable deposit requests.
|
|
83
|
+
* pending and claimable redeem requests.
|
|
84
|
+
*/
|
|
85
|
+
positionInAssets: bigint;
|
|
86
|
+
/**
|
|
87
|
+
* The user's pending deposit request expressed in assets
|
|
88
|
+
*/
|
|
89
|
+
pendingDepositRequest: bigint;
|
|
90
|
+
/**
|
|
91
|
+
* The user's pending deposit request in shares, converted at current valuation
|
|
92
|
+
*/
|
|
93
|
+
pendingDepositRequestInShares: bigint;
|
|
94
|
+
/**
|
|
95
|
+
* The user's pending redeem request, expressed in shares.
|
|
96
|
+
*/
|
|
97
|
+
pendingRedeemRequest: bigint;
|
|
98
|
+
/**
|
|
99
|
+
* The user's pending redeem request in assets, converted at current valuation
|
|
100
|
+
*/
|
|
101
|
+
pendingRedeemRequestInAssets: bigint;
|
|
102
|
+
constructor({ address, vault, hasDepositRequestOnboarded, hasRedeemRequestOnboarded, lastDepositRequestId, lastRedeemRequestId, pendingDepositRequest, pendingDepositRequestInShares, maxMint, maxDeposit, claimableDepositRequestActualized, balance, balanceInAssets, pendingRedeemRequest, pendingRedeemRequestInAssets, maxWithdraw, maxRedeem, }: IUser);
|
|
46
103
|
}
|
|
47
104
|
export {};
|
|
48
105
|
//# sourceMappingURL=User.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../src/vault/User.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,0BAA0B,EAAE,OAAO,CAAC;IACpC,yBAAyB,EAAE,OAAO,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../src/vault/User.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,UAAU,KAAK;IACb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E,MAAM,CAAC;IAEhC;;OAEG;IACI,qBAAqB,EAAE,MAAM,CAAC;IAErC;;OAEG;IACI,6BAA6B,EAAE,MAAM,CAAC;IAG7C;;OAEG;IACI,oBAAoB,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACI,4BAA4B,EAAE,MAAM,CAAC;gBAEhC,EACV,OAAO,EACP,KAAK,EACL,0BAA0B,EAC1B,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,OAAO,EACP,UAAU,EACV,iCAAiC,EACjC,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,WAAW,EACX,SAAS,GACV,EAAE,KAAK;CAyBT"}
|
|
@@ -53,6 +53,7 @@ export interface IVault extends IToken {
|
|
|
53
53
|
state: State;
|
|
54
54
|
isWhitelistActivated: boolean;
|
|
55
55
|
version: VersionOrLatest;
|
|
56
|
+
protocolRate: bigint;
|
|
56
57
|
}
|
|
57
58
|
export declare class Vault extends Token implements IVault {
|
|
58
59
|
/** The underlying token address */
|
|
@@ -141,6 +142,8 @@ export declare class Vault extends Token implements IVault {
|
|
|
141
142
|
readonly cooldown: bigint;
|
|
142
143
|
/** The current fee rates */
|
|
143
144
|
readonly feeRates: Rates;
|
|
145
|
+
/** The current protocol rate */
|
|
146
|
+
readonly protocolRate: bigint;
|
|
144
147
|
/** The vault admin */
|
|
145
148
|
readonly owner: Address;
|
|
146
149
|
/** The next vault admin if ownership is accepted */
|
|
@@ -168,7 +171,7 @@ export declare class Vault extends Token implements IVault {
|
|
|
168
171
|
readonly state: State;
|
|
169
172
|
readonly isWhitelistActivated: boolean;
|
|
170
173
|
readonly version: VersionOrLatest;
|
|
171
|
-
constructor({ asset, underlyingDecimals, totalAssets, newTotalAssets, depositEpochId, depositSettleId, lastDepositEpochIdSettled, redeemEpochId, redeemSettleId, lastRedeemEpochIdSettled, pendingSilo, wrappedNativeToken, decimalsOffset, totalAssetsExpiration, totalAssetsLifespan, feeRegistry, newRatesTimestamp, lastFeeTime, highWaterMark, cooldown, feeRates, owner, pendingOwner, whitelistManager, feeReceiver, safe, valuationManager, state, isWhitelistActivated, version, ...config }: IVault);
|
|
174
|
+
constructor({ asset, underlyingDecimals, totalAssets, newTotalAssets, depositEpochId, depositSettleId, lastDepositEpochIdSettled, redeemEpochId, redeemSettleId, lastRedeemEpochIdSettled, pendingSilo, wrappedNativeToken, decimalsOffset, totalAssetsExpiration, totalAssetsLifespan, feeRegistry, newRatesTimestamp, lastFeeTime, highWaterMark, cooldown, feeRates, owner, pendingOwner, whitelistManager, feeReceiver, safe, valuationManager, state, isWhitelistActivated, version, protocolRate, ...config }: IVault);
|
|
172
175
|
convertToAssets(shares: BigIntish, rounding?: RoundingDirection): bigint;
|
|
173
176
|
convertToShares(assets: BigIntish, rounding?: RoundingDirection): bigint;
|
|
174
177
|
calculateTotalAssetsAtHWM(): bigint;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Vault.d.ts","sourceRoot":"","sources":["../../../src/vault/Vault.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAGxD,oBAAY,OAAO;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,cAAc,iBAAiB,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEjD,wBAAgB,cAAc,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAEhE;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,IAAI,OAAO,CAWlE;AAED,oBA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
|
6
|
+
const MAX_MANAGEMENT_RATE = 1000n;
|
|
7
|
+
const MAX_PERFORMANCE_RATE = 5000n;
|
|
8
|
+
const MAX_PROTOCOL_RATE = 3000n;
|
|
6
9
|
const ONE_SHARE: bigint;
|
|
7
10
|
function decimalsOffset(decimals: BigIntish): bigint;
|
|
8
11
|
function convertToAssets(shares: BigIntish, { totalAssets, totalSupply, decimalsOffset, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaultUtils.d.ts","sourceRoot":"","sources":["../../../src/vault/VaultUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,yBAAiB,UAAU,CAAC;IACnB,MAAM,cAAc,KAAK,CAAC;IAC1B,MAAM,GAAG,SAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"VaultUtils.d.ts","sourceRoot":"","sources":["../../../src/vault/VaultUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,yBAAiB,UAAU,CAAC;IACnB,MAAM,cAAc,KAAK,CAAC;IAC1B,MAAM,GAAG,SAAU,CAAC;IACpB,MAAM,mBAAmB,QAAS,CAAC;IACnC,MAAM,oBAAoB,QAAS,CAAC;IACpC,MAAM,iBAAiB,QAAS,CAAC;IACjC,MAAM,SAAS,QAAa,CAAC;IAEpC,SAAgB,cAAc,CAAC,QAAQ,EAAE,SAAS,UAEjD;IAED,SAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS,EACjB,EACE,WAAW,EACX,WAAW,EACX,cAAc,GACf,EAAE;QACD,WAAW,EAAE,SAAS,CAAC;QACvB,WAAW,EAAE,SAAS,CAAC;QACvB,cAAc,EAAE,SAAS,CAAC;KAC3B,E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