@voltr/vault-sdk 1.0.19 → 1.0.20

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.
@@ -34,6 +34,17 @@ export interface RequestWithdrawVaultArgs {
34
34
  isAmountInLp: boolean;
35
35
  isWithdrawAll: boolean;
36
36
  }
37
+ export interface InstantWithdrawVaultArgs {
38
+ amount: BN;
39
+ isAmountInLp: boolean;
40
+ isWithdrawAll: boolean;
41
+ }
42
+ export interface InstantWithdrawStrategyArgs {
43
+ amount: BN;
44
+ isAmountInLp: boolean;
45
+ isWithdrawAll: boolean;
46
+ userArgs?: Buffer | null;
47
+ }
37
48
  export declare enum VaultConfigField {
38
49
  MaxCap = "maxCap",
39
50
  StartAtTs = "startAtTs",
@@ -49,3 +60,11 @@ export declare enum VaultConfigField {
49
60
  PendingAdmin = "pendingAdmin",
50
61
  DisabledOperations = "disabledOperations"
51
62
  }
63
+ export declare enum ProtocolConfigField {
64
+ OperationalState = "operationalState",
65
+ PendingAdmin = "pendingAdmin"
66
+ }
67
+ export declare enum ProtocolFeeField {
68
+ ProtocolPerformanceFee = "protocolPerformanceFee",
69
+ ProtocolManagementFee = "protocolManagementFee"
70
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VaultConfigField = void 0;
3
+ exports.ProtocolFeeField = exports.ProtocolConfigField = exports.VaultConfigField = void 0;
4
4
  var VaultConfigField;
5
5
  (function (VaultConfigField) {
6
6
  VaultConfigField["MaxCap"] = "maxCap";
@@ -17,3 +17,13 @@ var VaultConfigField;
17
17
  VaultConfigField["PendingAdmin"] = "pendingAdmin";
18
18
  VaultConfigField["DisabledOperations"] = "disabledOperations";
19
19
  })(VaultConfigField || (exports.VaultConfigField = VaultConfigField = {}));
20
+ var ProtocolConfigField;
21
+ (function (ProtocolConfigField) {
22
+ ProtocolConfigField["OperationalState"] = "operationalState";
23
+ ProtocolConfigField["PendingAdmin"] = "pendingAdmin";
24
+ })(ProtocolConfigField || (exports.ProtocolConfigField = ProtocolConfigField = {}));
25
+ var ProtocolFeeField;
26
+ (function (ProtocolFeeField) {
27
+ ProtocolFeeField["ProtocolPerformanceFee"] = "protocolPerformanceFee";
28
+ ProtocolFeeField["ProtocolManagementFee"] = "protocolManagementFee";
29
+ })(ProtocolFeeField || (exports.ProtocolFeeField = ProtocolFeeField = {}));