@hyperlane-xyz/rebalancer 2.0.0 → 3.0.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/bridges/LiFiBridge.d.ts +67 -0
- package/dist/bridges/LiFiBridge.d.ts.map +1 -0
- package/dist/bridges/LiFiBridge.js +386 -0
- package/dist/bridges/LiFiBridge.js.map +1 -0
- package/dist/config/RebalancerConfig.d.ts +7 -2
- package/dist/config/RebalancerConfig.d.ts.map +1 -1
- package/dist/config/RebalancerConfig.js +7 -4
- package/dist/config/RebalancerConfig.js.map +1 -1
- package/dist/config/RebalancerConfig.test.js +134 -1
- package/dist/config/RebalancerConfig.test.js.map +1 -1
- package/dist/config/types.d.ts +1016 -304
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +105 -10
- package/dist/config/types.js.map +1 -1
- package/dist/core/InventoryRebalancer.d.ts +190 -0
- package/dist/core/InventoryRebalancer.d.ts.map +1 -0
- package/dist/core/InventoryRebalancer.js +885 -0
- package/dist/core/InventoryRebalancer.js.map +1 -0
- package/dist/core/InventoryRebalancer.test.d.ts +2 -0
- package/dist/core/InventoryRebalancer.test.d.ts.map +1 -0
- package/dist/core/InventoryRebalancer.test.js +1351 -0
- package/dist/core/InventoryRebalancer.test.js.map +1 -0
- package/dist/core/Rebalancer.d.ts +11 -4
- package/dist/core/Rebalancer.d.ts.map +1 -1
- package/dist/core/Rebalancer.js +92 -9
- package/dist/core/Rebalancer.js.map +1 -1
- package/dist/core/Rebalancer.test.js +82 -49
- package/dist/core/Rebalancer.test.js.map +1 -1
- package/dist/core/RebalancerOrchestrator.d.ts +30 -9
- package/dist/core/RebalancerOrchestrator.d.ts.map +1 -1
- package/dist/core/RebalancerOrchestrator.js +79 -71
- package/dist/core/RebalancerOrchestrator.js.map +1 -1
- package/dist/core/RebalancerOrchestrator.test.d.ts +2 -0
- package/dist/core/RebalancerOrchestrator.test.d.ts.map +1 -0
- package/dist/core/RebalancerOrchestrator.test.js +714 -0
- package/dist/core/RebalancerOrchestrator.test.js.map +1 -0
- package/dist/core/RebalancerService.d.ts +7 -3
- package/dist/core/RebalancerService.d.ts.map +1 -1
- package/dist/core/RebalancerService.js +44 -24
- package/dist/core/RebalancerService.js.map +1 -1
- package/dist/core/RebalancerService.test.js +71 -109
- package/dist/core/RebalancerService.test.js.map +1 -1
- package/dist/e2e/collateral-deficit.e2e-test.js +1 -3
- package/dist/e2e/collateral-deficit.e2e-test.js.map +1 -1
- package/dist/e2e/composite.e2e-test.js.map +1 -1
- package/dist/e2e/harness/BridgeSetup.d.ts +6 -0
- package/dist/e2e/harness/BridgeSetup.d.ts.map +1 -1
- package/dist/e2e/harness/BridgeSetup.js +10 -1
- package/dist/e2e/harness/BridgeSetup.js.map +1 -1
- package/dist/e2e/harness/TestHelpers.d.ts.map +1 -1
- package/dist/e2e/harness/TestHelpers.js +1 -4
- package/dist/e2e/harness/TestHelpers.js.map +1 -1
- package/dist/e2e/harness/TestRebalancer.d.ts +1 -1
- package/dist/e2e/harness/TestRebalancer.d.ts.map +1 -1
- package/dist/e2e/harness/TestRebalancer.js +6 -7
- package/dist/e2e/harness/TestRebalancer.js.map +1 -1
- package/dist/e2e/minAmount.e2e-test.js +0 -1
- package/dist/e2e/minAmount.e2e-test.js.map +1 -1
- package/dist/e2e/weighted.e2e-test.js +0 -1
- package/dist/e2e/weighted.e2e-test.js.map +1 -1
- package/dist/factories/RebalancerContextFactory.d.ts +48 -6
- package/dist/factories/RebalancerContextFactory.d.ts.map +1 -1
- package/dist/factories/RebalancerContextFactory.js +170 -17
- package/dist/factories/RebalancerContextFactory.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IExternalBridge.d.ts +101 -0
- package/dist/interfaces/IExternalBridge.d.ts.map +1 -0
- package/dist/interfaces/IExternalBridge.js +2 -0
- package/dist/interfaces/IExternalBridge.js.map +1 -0
- package/dist/interfaces/IMonitor.d.ts +1 -0
- package/dist/interfaces/IMonitor.d.ts.map +1 -1
- package/dist/interfaces/IRebalancer.d.ts +25 -25
- package/dist/interfaces/IRebalancer.d.ts.map +1 -1
- package/dist/interfaces/IStrategy.d.ts +36 -3
- package/dist/interfaces/IStrategy.d.ts.map +1 -1
- package/dist/interfaces/IStrategy.js +12 -1
- package/dist/interfaces/IStrategy.js.map +1 -1
- package/dist/metrics/PriceGetter.js +1 -1
- package/dist/metrics/PriceGetter.js.map +1 -1
- package/dist/metrics/scripts/metrics.d.ts +3 -3
- package/dist/monitor/Monitor.d.ts +12 -2
- package/dist/monitor/Monitor.d.ts.map +1 -1
- package/dist/monitor/Monitor.js +46 -1
- package/dist/monitor/Monitor.js.map +1 -1
- package/dist/service.js +40 -17
- package/dist/service.js.map +1 -1
- package/dist/strategy/BaseStrategy.d.ts +12 -6
- package/dist/strategy/BaseStrategy.d.ts.map +1 -1
- package/dist/strategy/BaseStrategy.js +56 -21
- package/dist/strategy/BaseStrategy.js.map +1 -1
- package/dist/strategy/CollateralDeficitStrategy.d.ts +1 -1
- package/dist/strategy/CollateralDeficitStrategy.d.ts.map +1 -1
- package/dist/strategy/CollateralDeficitStrategy.js +19 -11
- package/dist/strategy/CollateralDeficitStrategy.js.map +1 -1
- package/dist/strategy/CollateralDeficitStrategy.test.js +135 -2
- package/dist/strategy/CollateralDeficitStrategy.test.js.map +1 -1
- package/dist/strategy/CompositeStrategy.test.js +13 -0
- package/dist/strategy/CompositeStrategy.test.js.map +1 -1
- package/dist/strategy/MinAmountStrategy.test.js +4 -0
- package/dist/strategy/MinAmountStrategy.test.js.map +1 -1
- package/dist/strategy/StrategyFactory.d.ts +2 -1
- package/dist/strategy/StrategyFactory.d.ts.map +1 -1
- package/dist/strategy/StrategyFactory.js +24 -8
- package/dist/strategy/StrategyFactory.js.map +1 -1
- package/dist/strategy/WeightedStrategy.test.js +6 -0
- package/dist/strategy/WeightedStrategy.test.js.map +1 -1
- package/dist/test/helpers.d.ts +8 -7
- package/dist/test/helpers.d.ts.map +1 -1
- package/dist/test/helpers.js +23 -5
- package/dist/test/helpers.js.map +1 -1
- package/dist/test/lifiMocks.d.ts +51 -0
- package/dist/test/lifiMocks.d.ts.map +1 -0
- package/dist/test/lifiMocks.js +130 -0
- package/dist/test/lifiMocks.js.map +1 -0
- package/dist/tracking/ActionTracker.d.ts +33 -1
- package/dist/tracking/ActionTracker.d.ts.map +1 -1
- package/dist/tracking/ActionTracker.js +193 -22
- package/dist/tracking/ActionTracker.js.map +1 -1
- package/dist/tracking/ActionTracker.test.js +107 -19
- package/dist/tracking/ActionTracker.test.js.map +1 -1
- package/dist/tracking/IActionTracker.d.ts +47 -3
- package/dist/tracking/IActionTracker.d.ts.map +1 -1
- package/dist/tracking/InflightContextAdapter.d.ts.map +1 -1
- package/dist/tracking/InflightContextAdapter.js +24 -7
- package/dist/tracking/InflightContextAdapter.js.map +1 -1
- package/dist/tracking/InflightContextAdapter.test.js +7 -4
- package/dist/tracking/InflightContextAdapter.test.js.map +1 -1
- package/dist/tracking/types.d.ts +31 -2
- package/dist/tracking/types.d.ts.map +1 -1
- package/dist/utils/ExplorerClient.d.ts +2 -1
- package/dist/utils/ExplorerClient.d.ts.map +1 -1
- package/dist/utils/ExplorerClient.js +13 -8
- package/dist/utils/ExplorerClient.js.map +1 -1
- package/dist/utils/bridgeUtils.d.ts +27 -4
- package/dist/utils/bridgeUtils.d.ts.map +1 -1
- package/dist/utils/bridgeUtils.js +38 -0
- package/dist/utils/bridgeUtils.js.map +1 -1
- package/dist/utils/bridgeUtils.test.js +9 -0
- package/dist/utils/bridgeUtils.test.js.map +1 -1
- package/dist/utils/gasEstimation.d.ts +65 -0
- package/dist/utils/gasEstimation.d.ts.map +1 -0
- package/dist/utils/gasEstimation.js +176 -0
- package/dist/utils/gasEstimation.js.map +1 -0
- package/dist/utils/tokenUtils.d.ts +9 -1
- package/dist/utils/tokenUtils.d.ts.map +1 -1
- package/dist/utils/tokenUtils.js +11 -0
- package/dist/utils/tokenUtils.js.map +1 -1
- package/package.json +9 -7
- package/src/bridges/LiFiBridge.ts +538 -0
- package/src/config/RebalancerConfig.test.ts +160 -0
- package/src/config/RebalancerConfig.ts +14 -3
- package/src/config/types.ts +136 -10
- package/src/core/InventoryRebalancer.test.ts +1684 -0
- package/src/core/InventoryRebalancer.ts +1255 -0
- package/src/core/Rebalancer.test.ts +84 -30
- package/src/core/Rebalancer.ts +144 -23
- package/src/core/RebalancerOrchestrator.test.ts +860 -0
- package/src/core/RebalancerOrchestrator.ts +146 -95
- package/src/core/RebalancerService.test.ts +80 -123
- package/src/core/RebalancerService.ts +67 -33
- package/src/e2e/collateral-deficit.e2e-test.ts +2 -4
- package/src/e2e/composite.e2e-test.ts +5 -5
- package/src/e2e/harness/BridgeSetup.ts +28 -1
- package/src/e2e/harness/TestHelpers.ts +1 -4
- package/src/e2e/harness/TestRebalancer.ts +7 -7
- package/src/e2e/minAmount.e2e-test.ts +1 -2
- package/src/e2e/weighted.e2e-test.ts +1 -2
- package/src/factories/RebalancerContextFactory.ts +293 -24
- package/src/index.ts +20 -5
- package/src/interfaces/IExternalBridge.ts +115 -0
- package/src/interfaces/IMonitor.ts +1 -0
- package/src/interfaces/IRebalancer.ts +45 -29
- package/src/interfaces/IStrategy.ts +50 -3
- package/src/metrics/PriceGetter.ts +1 -1
- package/src/monitor/Monitor.ts +81 -2
- package/src/service.ts +59 -18
- package/src/strategy/BaseStrategy.ts +77 -24
- package/src/strategy/CollateralDeficitStrategy.test.ts +181 -4
- package/src/strategy/CollateralDeficitStrategy.ts +42 -15
- package/src/strategy/CompositeStrategy.test.ts +13 -0
- package/src/strategy/MinAmountStrategy.test.ts +4 -0
- package/src/strategy/StrategyFactory.ts +33 -6
- package/src/strategy/WeightedStrategy.test.ts +6 -0
- package/src/test/helpers.ts +39 -14
- package/src/test/lifiMocks.ts +174 -0
- package/src/tracking/ActionTracker.test.ts +122 -19
- package/src/tracking/ActionTracker.ts +284 -24
- package/src/tracking/IActionTracker.ts +58 -3
- package/src/tracking/InflightContextAdapter.test.ts +7 -4
- package/src/tracking/InflightContextAdapter.ts +42 -9
- package/src/tracking/types.ts +43 -2
- package/src/utils/ExplorerClient.ts +23 -10
- package/src/utils/bridgeUtils.test.ts +9 -0
- package/src/utils/bridgeUtils.ts +75 -6
- package/src/utils/gasEstimation.ts +272 -0
- package/src/utils/tokenUtils.ts +12 -0
- package/dist/tracking/index.d.ts +0 -7
- package/dist/tracking/index.d.ts.map +0 -1
- package/dist/tracking/index.js +0 -6
- package/dist/tracking/index.js.map +0 -1
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -5
- package/dist/utils/index.js.map +0 -1
- package/src/tracking/index.ts +0 -36
- package/src/utils/index.ts +0 -4
package/dist/config/types.d.ts
CHANGED
|
@@ -18,6 +18,18 @@ export declare enum RebalancerMinAmountType {
|
|
|
18
18
|
Absolute = "absolute",
|
|
19
19
|
Relative = "relative"
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Execution type for rebalancing on a chain:
|
|
23
|
+
* - `movableCollateral`: Uses MovableCollateralRouter.rebalance() on-chain (requires bridge address)
|
|
24
|
+
* - `inventory`: Uses external bridges (LiFi) + transferRemote (no bridge address needed)
|
|
25
|
+
*/
|
|
26
|
+
export declare enum ExecutionType {
|
|
27
|
+
MovableCollateral = "movableCollateral",
|
|
28
|
+
Inventory = "inventory"
|
|
29
|
+
}
|
|
30
|
+
export declare enum ExternalBridgeType {
|
|
31
|
+
LiFi = "lifi"
|
|
32
|
+
}
|
|
21
33
|
export declare const RebalancerMinAmountConfigSchema: z.ZodObject<{
|
|
22
34
|
min: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
23
35
|
target: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -32,79 +44,111 @@ export declare const RebalancerMinAmountConfigSchema: z.ZodObject<{
|
|
|
32
44
|
target: string | number;
|
|
33
45
|
}>;
|
|
34
46
|
export declare const RebalancerBaseChainConfigSchema: z.ZodObject<{
|
|
35
|
-
bridge: z.ZodString
|
|
47
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
48
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
49
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
36
50
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
37
51
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
38
52
|
} & {
|
|
39
53
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
|
-
bridge: z.ZodOptional<z.ZodString
|
|
54
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
56
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
41
57
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
42
58
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
43
59
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
44
|
-
bridge: z.ZodOptional<z.ZodString
|
|
60
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
61
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
62
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
45
63
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
46
64
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
47
65
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
48
|
-
bridge: z.ZodOptional<z.ZodString
|
|
66
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
68
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
49
69
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
50
70
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
51
71
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
52
72
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
bridge
|
|
73
|
+
bridge?: string | undefined;
|
|
74
|
+
executionType?: ExecutionType | undefined;
|
|
75
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
54
76
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
55
77
|
bridgeLockTime?: number | undefined;
|
|
56
78
|
override?: Record<string, z.objectOutputType<{
|
|
57
|
-
bridge: z.ZodOptional<z.ZodString
|
|
79
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
81
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
58
82
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
59
83
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
60
84
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
61
85
|
}, {
|
|
62
|
-
bridge
|
|
86
|
+
bridge?: string | undefined;
|
|
87
|
+
executionType?: ExecutionType | undefined;
|
|
88
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
63
89
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
64
90
|
bridgeLockTime?: number | undefined;
|
|
65
91
|
override?: Record<string, z.objectInputType<{
|
|
66
|
-
bridge: z.ZodOptional<z.ZodString
|
|
92
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
93
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
94
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
67
95
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
68
96
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
69
97
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
70
98
|
}>;
|
|
71
99
|
declare const CollateralDeficitChainConfigSchema: z.ZodObject<{
|
|
72
|
-
bridge: z.ZodString
|
|
100
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
101
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
102
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
73
103
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
74
104
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
75
105
|
} & {
|
|
76
106
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77
|
-
bridge: z.ZodOptional<z.ZodString
|
|
107
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
108
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
109
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
78
110
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
79
111
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
80
112
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
81
|
-
bridge: z.ZodOptional<z.ZodString
|
|
113
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
115
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
82
116
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
83
117
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
84
118
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
85
|
-
bridge: z.ZodOptional<z.ZodString
|
|
119
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
120
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
121
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
86
122
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
87
123
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
88
124
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
89
125
|
} & {
|
|
90
126
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
91
127
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
bridge: string;
|
|
93
128
|
buffer: string | number;
|
|
129
|
+
bridge?: string | undefined;
|
|
130
|
+
executionType?: ExecutionType | undefined;
|
|
131
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
94
132
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
95
133
|
bridgeLockTime?: number | undefined;
|
|
96
134
|
override?: Record<string, z.objectOutputType<{
|
|
97
|
-
bridge: z.ZodOptional<z.ZodString
|
|
135
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
136
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
137
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
98
138
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
99
139
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
100
140
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
101
141
|
}, {
|
|
102
|
-
bridge: string;
|
|
103
142
|
buffer: string | number;
|
|
143
|
+
bridge?: string | undefined;
|
|
144
|
+
executionType?: ExecutionType | undefined;
|
|
145
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
104
146
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
105
147
|
bridgeLockTime?: number | undefined;
|
|
106
148
|
override?: Record<string, z.objectInputType<{
|
|
107
|
-
bridge: z.ZodOptional<z.ZodString
|
|
149
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
150
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
151
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
108
152
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
109
153
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
110
154
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -112,20 +156,28 @@ declare const CollateralDeficitChainConfigSchema: z.ZodObject<{
|
|
|
112
156
|
declare const WeightedStrategySchema: z.ZodObject<{
|
|
113
157
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
114
158
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
115
|
-
bridge: z.ZodString
|
|
159
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
160
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
161
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
116
162
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
117
163
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
118
164
|
} & {
|
|
119
165
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
120
|
-
bridge: z.ZodOptional<z.ZodString
|
|
166
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
167
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
168
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
121
169
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
122
170
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
123
171
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
124
|
-
bridge: z.ZodOptional<z.ZodString
|
|
172
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
173
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
174
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
125
175
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
126
176
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
127
177
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
128
|
-
bridge: z.ZodOptional<z.ZodString
|
|
178
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
179
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
180
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
129
181
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
130
182
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
131
183
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -145,11 +197,15 @@ declare const WeightedStrategySchema: z.ZodObject<{
|
|
|
145
197
|
weight: bigint;
|
|
146
198
|
tolerance: bigint;
|
|
147
199
|
};
|
|
148
|
-
bridge
|
|
200
|
+
bridge?: string | undefined;
|
|
201
|
+
executionType?: ExecutionType | undefined;
|
|
202
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
149
203
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
150
204
|
bridgeLockTime?: number | undefined;
|
|
151
205
|
override?: Record<string, z.objectOutputType<{
|
|
152
|
-
bridge: z.ZodOptional<z.ZodString
|
|
206
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
207
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
208
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
153
209
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
154
210
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
155
211
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -158,11 +214,15 @@ declare const WeightedStrategySchema: z.ZodObject<{
|
|
|
158
214
|
weight: string | number;
|
|
159
215
|
tolerance: string | number;
|
|
160
216
|
};
|
|
161
|
-
bridge
|
|
217
|
+
bridge?: string | undefined;
|
|
218
|
+
executionType?: ExecutionType | undefined;
|
|
219
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
162
220
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
163
221
|
bridgeLockTime?: number | undefined;
|
|
164
222
|
override?: Record<string, z.objectInputType<{
|
|
165
|
-
bridge: z.ZodOptional<z.ZodString
|
|
223
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
224
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
225
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
166
226
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
167
227
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
168
228
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -174,11 +234,15 @@ declare const WeightedStrategySchema: z.ZodObject<{
|
|
|
174
234
|
weight: bigint;
|
|
175
235
|
tolerance: bigint;
|
|
176
236
|
};
|
|
177
|
-
bridge
|
|
237
|
+
bridge?: string | undefined;
|
|
238
|
+
executionType?: ExecutionType | undefined;
|
|
239
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
178
240
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
179
241
|
bridgeLockTime?: number | undefined;
|
|
180
242
|
override?: Record<string, z.objectOutputType<{
|
|
181
|
-
bridge: z.ZodOptional<z.ZodString
|
|
243
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
244
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
245
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
182
246
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
183
247
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
184
248
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -190,11 +254,15 @@ declare const WeightedStrategySchema: z.ZodObject<{
|
|
|
190
254
|
weight: string | number;
|
|
191
255
|
tolerance: string | number;
|
|
192
256
|
};
|
|
193
|
-
bridge
|
|
257
|
+
bridge?: string | undefined;
|
|
258
|
+
executionType?: ExecutionType | undefined;
|
|
259
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
194
260
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
195
261
|
bridgeLockTime?: number | undefined;
|
|
196
262
|
override?: Record<string, z.objectInputType<{
|
|
197
|
-
bridge: z.ZodOptional<z.ZodString
|
|
263
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
264
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
265
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
198
266
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
199
267
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
200
268
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -203,20 +271,28 @@ declare const WeightedStrategySchema: z.ZodObject<{
|
|
|
203
271
|
declare const MinAmountStrategySchema: z.ZodObject<{
|
|
204
272
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
205
273
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
206
|
-
bridge: z.ZodString
|
|
274
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
275
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
276
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
207
277
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
208
278
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
209
279
|
} & {
|
|
210
280
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
211
|
-
bridge: z.ZodOptional<z.ZodString
|
|
281
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
282
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
283
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
212
284
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
213
285
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
214
286
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
215
|
-
bridge: z.ZodOptional<z.ZodString
|
|
287
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
288
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
289
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
216
290
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
217
291
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
218
292
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
219
|
-
bridge: z.ZodOptional<z.ZodString
|
|
293
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
294
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
295
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
220
296
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
221
297
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
222
298
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -240,11 +316,15 @@ declare const MinAmountStrategySchema: z.ZodObject<{
|
|
|
240
316
|
min: string | number;
|
|
241
317
|
target: string | number;
|
|
242
318
|
};
|
|
243
|
-
bridge
|
|
319
|
+
bridge?: string | undefined;
|
|
320
|
+
executionType?: ExecutionType | undefined;
|
|
321
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
244
322
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
245
323
|
bridgeLockTime?: number | undefined;
|
|
246
324
|
override?: Record<string, z.objectOutputType<{
|
|
247
|
-
bridge: z.ZodOptional<z.ZodString
|
|
325
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
326
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
327
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
248
328
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
249
329
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
250
330
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -254,11 +334,15 @@ declare const MinAmountStrategySchema: z.ZodObject<{
|
|
|
254
334
|
min: string | number;
|
|
255
335
|
target: string | number;
|
|
256
336
|
};
|
|
257
|
-
bridge
|
|
337
|
+
bridge?: string | undefined;
|
|
338
|
+
executionType?: ExecutionType | undefined;
|
|
339
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
258
340
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
259
341
|
bridgeLockTime?: number | undefined;
|
|
260
342
|
override?: Record<string, z.objectInputType<{
|
|
261
|
-
bridge: z.ZodOptional<z.ZodString
|
|
343
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
344
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
345
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
262
346
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
263
347
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
264
348
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -271,11 +355,15 @@ declare const MinAmountStrategySchema: z.ZodObject<{
|
|
|
271
355
|
min: string | number;
|
|
272
356
|
target: string | number;
|
|
273
357
|
};
|
|
274
|
-
bridge
|
|
358
|
+
bridge?: string | undefined;
|
|
359
|
+
executionType?: ExecutionType | undefined;
|
|
360
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
275
361
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
276
362
|
bridgeLockTime?: number | undefined;
|
|
277
363
|
override?: Record<string, z.objectOutputType<{
|
|
278
|
-
bridge: z.ZodOptional<z.ZodString
|
|
364
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
365
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
366
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
279
367
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
280
368
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
281
369
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -288,11 +376,15 @@ declare const MinAmountStrategySchema: z.ZodObject<{
|
|
|
288
376
|
min: string | number;
|
|
289
377
|
target: string | number;
|
|
290
378
|
};
|
|
291
|
-
bridge
|
|
379
|
+
bridge?: string | undefined;
|
|
380
|
+
executionType?: ExecutionType | undefined;
|
|
381
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
292
382
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
293
383
|
bridgeLockTime?: number | undefined;
|
|
294
384
|
override?: Record<string, z.objectInputType<{
|
|
295
|
-
bridge: z.ZodOptional<z.ZodString
|
|
385
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
386
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
387
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
296
388
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
297
389
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
298
390
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -301,42 +393,58 @@ declare const MinAmountStrategySchema: z.ZodObject<{
|
|
|
301
393
|
declare const CollateralDeficitStrategySchema: z.ZodObject<{
|
|
302
394
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
303
395
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
304
|
-
bridge: z.ZodString
|
|
396
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
397
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
398
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
305
399
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
306
400
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
307
401
|
} & {
|
|
308
402
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
309
|
-
bridge: z.ZodOptional<z.ZodString
|
|
403
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
404
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
405
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
310
406
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
311
407
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
312
408
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
313
|
-
bridge: z.ZodOptional<z.ZodString
|
|
409
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
410
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
411
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
314
412
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
315
413
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
316
414
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
317
|
-
bridge: z.ZodOptional<z.ZodString
|
|
415
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
416
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
417
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
318
418
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
319
419
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
320
420
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
321
421
|
} & {
|
|
322
422
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
323
423
|
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
bridge: string;
|
|
325
424
|
buffer: string | number;
|
|
425
|
+
bridge?: string | undefined;
|
|
426
|
+
executionType?: ExecutionType | undefined;
|
|
427
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
326
428
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
327
429
|
bridgeLockTime?: number | undefined;
|
|
328
430
|
override?: Record<string, z.objectOutputType<{
|
|
329
|
-
bridge: z.ZodOptional<z.ZodString
|
|
431
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
432
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
433
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
330
434
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
331
435
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
332
436
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
333
437
|
}, {
|
|
334
|
-
bridge: string;
|
|
335
438
|
buffer: string | number;
|
|
439
|
+
bridge?: string | undefined;
|
|
440
|
+
executionType?: ExecutionType | undefined;
|
|
441
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
336
442
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
337
443
|
bridgeLockTime?: number | undefined;
|
|
338
444
|
override?: Record<string, z.objectInputType<{
|
|
339
|
-
bridge: z.ZodOptional<z.ZodString
|
|
445
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
446
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
447
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
340
448
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
341
449
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
342
450
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -344,12 +452,16 @@ declare const CollateralDeficitStrategySchema: z.ZodObject<{
|
|
|
344
452
|
}, "strip", z.ZodTypeAny, {
|
|
345
453
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
346
454
|
chains: Record<string, {
|
|
347
|
-
bridge: string;
|
|
348
455
|
buffer: string | number;
|
|
456
|
+
bridge?: string | undefined;
|
|
457
|
+
executionType?: ExecutionType | undefined;
|
|
458
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
349
459
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
350
460
|
bridgeLockTime?: number | undefined;
|
|
351
461
|
override?: Record<string, z.objectOutputType<{
|
|
352
|
-
bridge: z.ZodOptional<z.ZodString
|
|
462
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
463
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
464
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
353
465
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
354
466
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
355
467
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -357,12 +469,16 @@ declare const CollateralDeficitStrategySchema: z.ZodObject<{
|
|
|
357
469
|
}, {
|
|
358
470
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
359
471
|
chains: Record<string, {
|
|
360
|
-
bridge: string;
|
|
361
472
|
buffer: string | number;
|
|
473
|
+
bridge?: string | undefined;
|
|
474
|
+
executionType?: ExecutionType | undefined;
|
|
475
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
362
476
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
363
477
|
bridgeLockTime?: number | undefined;
|
|
364
478
|
override?: Record<string, z.objectInputType<{
|
|
365
|
-
bridge: z.ZodOptional<z.ZodString
|
|
479
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
480
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
481
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
366
482
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
367
483
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
368
484
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -377,20 +493,28 @@ export type CollateralDeficitStrategyConfig = CollateralDeficitStrategy['chains'
|
|
|
377
493
|
export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
378
494
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
379
495
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
380
|
-
bridge: z.ZodString
|
|
496
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
497
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
498
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
381
499
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
382
500
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
383
501
|
} & {
|
|
384
502
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
385
|
-
bridge: z.ZodOptional<z.ZodString
|
|
503
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
504
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
505
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
386
506
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
387
507
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
388
508
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
389
|
-
bridge: z.ZodOptional<z.ZodString
|
|
509
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
510
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
511
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
390
512
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
391
513
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
392
514
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
393
|
-
bridge: z.ZodOptional<z.ZodString
|
|
515
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
516
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
517
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
394
518
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
395
519
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
396
520
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -410,11 +534,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
410
534
|
weight: bigint;
|
|
411
535
|
tolerance: bigint;
|
|
412
536
|
};
|
|
413
|
-
bridge
|
|
537
|
+
bridge?: string | undefined;
|
|
538
|
+
executionType?: ExecutionType | undefined;
|
|
539
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
414
540
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
415
541
|
bridgeLockTime?: number | undefined;
|
|
416
542
|
override?: Record<string, z.objectOutputType<{
|
|
417
|
-
bridge: z.ZodOptional<z.ZodString
|
|
543
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
544
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
545
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
418
546
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
419
547
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
420
548
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -423,11 +551,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
423
551
|
weight: string | number;
|
|
424
552
|
tolerance: string | number;
|
|
425
553
|
};
|
|
426
|
-
bridge
|
|
554
|
+
bridge?: string | undefined;
|
|
555
|
+
executionType?: ExecutionType | undefined;
|
|
556
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
427
557
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
428
558
|
bridgeLockTime?: number | undefined;
|
|
429
559
|
override?: Record<string, z.objectInputType<{
|
|
430
|
-
bridge: z.ZodOptional<z.ZodString
|
|
560
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
561
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
562
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
431
563
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
432
564
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
433
565
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -439,11 +571,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
439
571
|
weight: bigint;
|
|
440
572
|
tolerance: bigint;
|
|
441
573
|
};
|
|
442
|
-
bridge
|
|
574
|
+
bridge?: string | undefined;
|
|
575
|
+
executionType?: ExecutionType | undefined;
|
|
576
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
443
577
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
444
578
|
bridgeLockTime?: number | undefined;
|
|
445
579
|
override?: Record<string, z.objectOutputType<{
|
|
446
|
-
bridge: z.ZodOptional<z.ZodString
|
|
580
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
581
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
582
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
447
583
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
448
584
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
449
585
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -455,11 +591,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
455
591
|
weight: string | number;
|
|
456
592
|
tolerance: string | number;
|
|
457
593
|
};
|
|
458
|
-
bridge
|
|
594
|
+
bridge?: string | undefined;
|
|
595
|
+
executionType?: ExecutionType | undefined;
|
|
596
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
459
597
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
460
598
|
bridgeLockTime?: number | undefined;
|
|
461
599
|
override?: Record<string, z.objectInputType<{
|
|
462
|
-
bridge: z.ZodOptional<z.ZodString
|
|
600
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
601
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
602
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
463
603
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
464
604
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
465
605
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -467,20 +607,28 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
467
607
|
}>, z.ZodObject<{
|
|
468
608
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
469
609
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
470
|
-
bridge: z.ZodString
|
|
610
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
611
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
612
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
471
613
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
472
614
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
473
615
|
} & {
|
|
474
616
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
475
|
-
bridge: z.ZodOptional<z.ZodString
|
|
617
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
618
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
619
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
476
620
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
477
621
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
478
622
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
479
|
-
bridge: z.ZodOptional<z.ZodString
|
|
623
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
624
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
625
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
480
626
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
481
627
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
482
628
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
483
|
-
bridge: z.ZodOptional<z.ZodString
|
|
629
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
630
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
631
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
484
632
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
485
633
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
486
634
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -504,11 +652,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
504
652
|
min: string | number;
|
|
505
653
|
target: string | number;
|
|
506
654
|
};
|
|
507
|
-
bridge
|
|
655
|
+
bridge?: string | undefined;
|
|
656
|
+
executionType?: ExecutionType | undefined;
|
|
657
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
508
658
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
509
659
|
bridgeLockTime?: number | undefined;
|
|
510
660
|
override?: Record<string, z.objectOutputType<{
|
|
511
|
-
bridge: z.ZodOptional<z.ZodString
|
|
661
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
662
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
663
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
512
664
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
513
665
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
514
666
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -518,11 +670,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
518
670
|
min: string | number;
|
|
519
671
|
target: string | number;
|
|
520
672
|
};
|
|
521
|
-
bridge
|
|
673
|
+
bridge?: string | undefined;
|
|
674
|
+
executionType?: ExecutionType | undefined;
|
|
675
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
522
676
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
523
677
|
bridgeLockTime?: number | undefined;
|
|
524
678
|
override?: Record<string, z.objectInputType<{
|
|
525
|
-
bridge: z.ZodOptional<z.ZodString
|
|
679
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
680
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
681
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
526
682
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
527
683
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
528
684
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -535,11 +691,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
535
691
|
min: string | number;
|
|
536
692
|
target: string | number;
|
|
537
693
|
};
|
|
538
|
-
bridge
|
|
694
|
+
bridge?: string | undefined;
|
|
695
|
+
executionType?: ExecutionType | undefined;
|
|
696
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
539
697
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
540
698
|
bridgeLockTime?: number | undefined;
|
|
541
699
|
override?: Record<string, z.objectOutputType<{
|
|
542
|
-
bridge: z.ZodOptional<z.ZodString
|
|
700
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
701
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
702
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
543
703
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
544
704
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
545
705
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -552,11 +712,15 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
552
712
|
min: string | number;
|
|
553
713
|
target: string | number;
|
|
554
714
|
};
|
|
555
|
-
bridge
|
|
715
|
+
bridge?: string | undefined;
|
|
716
|
+
executionType?: ExecutionType | undefined;
|
|
717
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
556
718
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
557
719
|
bridgeLockTime?: number | undefined;
|
|
558
720
|
override?: Record<string, z.objectInputType<{
|
|
559
|
-
bridge: z.ZodOptional<z.ZodString
|
|
721
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
722
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
723
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
560
724
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
561
725
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
562
726
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -564,42 +728,58 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
564
728
|
}>, z.ZodObject<{
|
|
565
729
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
566
730
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
567
|
-
bridge: z.ZodString
|
|
731
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
732
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
733
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
568
734
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
569
735
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
570
736
|
} & {
|
|
571
737
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
572
|
-
bridge: z.ZodOptional<z.ZodString
|
|
738
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
739
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
740
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
573
741
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
574
742
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
575
743
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
576
|
-
bridge: z.ZodOptional<z.ZodString
|
|
744
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
745
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
746
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
577
747
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
578
748
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
579
749
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
580
|
-
bridge: z.ZodOptional<z.ZodString
|
|
750
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
751
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
752
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
581
753
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
582
754
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
583
755
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
584
756
|
} & {
|
|
585
757
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
586
758
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
bridge: string;
|
|
588
759
|
buffer: string | number;
|
|
760
|
+
bridge?: string | undefined;
|
|
761
|
+
executionType?: ExecutionType | undefined;
|
|
762
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
589
763
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
590
764
|
bridgeLockTime?: number | undefined;
|
|
591
765
|
override?: Record<string, z.objectOutputType<{
|
|
592
|
-
bridge: z.ZodOptional<z.ZodString
|
|
766
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
767
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
768
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
593
769
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
594
770
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
595
771
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
596
772
|
}, {
|
|
597
|
-
bridge: string;
|
|
598
773
|
buffer: string | number;
|
|
774
|
+
bridge?: string | undefined;
|
|
775
|
+
executionType?: ExecutionType | undefined;
|
|
776
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
599
777
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
600
778
|
bridgeLockTime?: number | undefined;
|
|
601
779
|
override?: Record<string, z.objectInputType<{
|
|
602
|
-
bridge: z.ZodOptional<z.ZodString
|
|
780
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
781
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
782
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
603
783
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
604
784
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
605
785
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -607,12 +787,16 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
607
787
|
}, "strip", z.ZodTypeAny, {
|
|
608
788
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
609
789
|
chains: Record<string, {
|
|
610
|
-
bridge: string;
|
|
611
790
|
buffer: string | number;
|
|
791
|
+
bridge?: string | undefined;
|
|
792
|
+
executionType?: ExecutionType | undefined;
|
|
793
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
612
794
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
613
795
|
bridgeLockTime?: number | undefined;
|
|
614
796
|
override?: Record<string, z.objectOutputType<{
|
|
615
|
-
bridge: z.ZodOptional<z.ZodString
|
|
797
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
798
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
799
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
616
800
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
617
801
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
618
802
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -620,12 +804,16 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
620
804
|
}, {
|
|
621
805
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
622
806
|
chains: Record<string, {
|
|
623
|
-
bridge: string;
|
|
624
807
|
buffer: string | number;
|
|
808
|
+
bridge?: string | undefined;
|
|
809
|
+
executionType?: ExecutionType | undefined;
|
|
810
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
625
811
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
626
812
|
bridgeLockTime?: number | undefined;
|
|
627
813
|
override?: Record<string, z.objectInputType<{
|
|
628
|
-
bridge: z.ZodOptional<z.ZodString
|
|
814
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
815
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
816
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
629
817
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
630
818
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
631
819
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -634,20 +822,28 @@ export declare const StrategyConfigSchema: z.ZodDiscriminatedUnion<"rebalanceStr
|
|
|
634
822
|
export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
635
823
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
636
824
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
637
|
-
bridge: z.ZodString
|
|
825
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
826
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
827
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
638
828
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
639
829
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
640
830
|
} & {
|
|
641
831
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
642
|
-
bridge: z.ZodOptional<z.ZodString
|
|
832
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
833
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
834
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
643
835
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
644
836
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
645
837
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
646
|
-
bridge: z.ZodOptional<z.ZodString
|
|
838
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
839
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
840
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
647
841
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
648
842
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
649
843
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
650
|
-
bridge: z.ZodOptional<z.ZodString
|
|
844
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
845
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
846
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
651
847
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
652
848
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
653
849
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -667,11 +863,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
667
863
|
weight: bigint;
|
|
668
864
|
tolerance: bigint;
|
|
669
865
|
};
|
|
670
|
-
bridge
|
|
866
|
+
bridge?: string | undefined;
|
|
867
|
+
executionType?: ExecutionType | undefined;
|
|
868
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
671
869
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
672
870
|
bridgeLockTime?: number | undefined;
|
|
673
871
|
override?: Record<string, z.objectOutputType<{
|
|
674
|
-
bridge: z.ZodOptional<z.ZodString
|
|
872
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
873
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
874
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
675
875
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
676
876
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
677
877
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -680,11 +880,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
680
880
|
weight: string | number;
|
|
681
881
|
tolerance: string | number;
|
|
682
882
|
};
|
|
683
|
-
bridge
|
|
883
|
+
bridge?: string | undefined;
|
|
884
|
+
executionType?: ExecutionType | undefined;
|
|
885
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
684
886
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
685
887
|
bridgeLockTime?: number | undefined;
|
|
686
888
|
override?: Record<string, z.objectInputType<{
|
|
687
|
-
bridge: z.ZodOptional<z.ZodString
|
|
889
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
890
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
891
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
688
892
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
689
893
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
690
894
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -696,11 +900,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
696
900
|
weight: bigint;
|
|
697
901
|
tolerance: bigint;
|
|
698
902
|
};
|
|
699
|
-
bridge
|
|
903
|
+
bridge?: string | undefined;
|
|
904
|
+
executionType?: ExecutionType | undefined;
|
|
905
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
700
906
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
701
907
|
bridgeLockTime?: number | undefined;
|
|
702
908
|
override?: Record<string, z.objectOutputType<{
|
|
703
|
-
bridge: z.ZodOptional<z.ZodString
|
|
909
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
910
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
911
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
704
912
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
705
913
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
706
914
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -712,11 +920,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
712
920
|
weight: string | number;
|
|
713
921
|
tolerance: string | number;
|
|
714
922
|
};
|
|
715
|
-
bridge
|
|
923
|
+
bridge?: string | undefined;
|
|
924
|
+
executionType?: ExecutionType | undefined;
|
|
925
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
716
926
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
717
927
|
bridgeLockTime?: number | undefined;
|
|
718
928
|
override?: Record<string, z.objectInputType<{
|
|
719
|
-
bridge: z.ZodOptional<z.ZodString
|
|
929
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
930
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
931
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
720
932
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
721
933
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
722
934
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -724,20 +936,28 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
724
936
|
}>, z.ZodObject<{
|
|
725
937
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
726
938
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
727
|
-
bridge: z.ZodString
|
|
939
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
940
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
941
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
728
942
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
729
943
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
730
944
|
} & {
|
|
731
945
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
732
|
-
bridge: z.ZodOptional<z.ZodString
|
|
946
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
947
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
948
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
733
949
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
734
950
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
735
951
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
736
|
-
bridge: z.ZodOptional<z.ZodString
|
|
952
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
953
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
954
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
737
955
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
738
956
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
739
957
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
740
|
-
bridge: z.ZodOptional<z.ZodString
|
|
958
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
959
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
960
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
741
961
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
742
962
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
743
963
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -761,11 +981,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
761
981
|
min: string | number;
|
|
762
982
|
target: string | number;
|
|
763
983
|
};
|
|
764
|
-
bridge
|
|
984
|
+
bridge?: string | undefined;
|
|
985
|
+
executionType?: ExecutionType | undefined;
|
|
986
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
765
987
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
766
988
|
bridgeLockTime?: number | undefined;
|
|
767
989
|
override?: Record<string, z.objectOutputType<{
|
|
768
|
-
bridge: z.ZodOptional<z.ZodString
|
|
990
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
991
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
992
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
769
993
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
770
994
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
771
995
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -775,11 +999,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
775
999
|
min: string | number;
|
|
776
1000
|
target: string | number;
|
|
777
1001
|
};
|
|
778
|
-
bridge
|
|
1002
|
+
bridge?: string | undefined;
|
|
1003
|
+
executionType?: ExecutionType | undefined;
|
|
1004
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
779
1005
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
780
1006
|
bridgeLockTime?: number | undefined;
|
|
781
1007
|
override?: Record<string, z.objectInputType<{
|
|
782
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1008
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1009
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1010
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
783
1011
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
784
1012
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
785
1013
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -792,11 +1020,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
792
1020
|
min: string | number;
|
|
793
1021
|
target: string | number;
|
|
794
1022
|
};
|
|
795
|
-
bridge
|
|
1023
|
+
bridge?: string | undefined;
|
|
1024
|
+
executionType?: ExecutionType | undefined;
|
|
1025
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
796
1026
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
797
1027
|
bridgeLockTime?: number | undefined;
|
|
798
1028
|
override?: Record<string, z.objectOutputType<{
|
|
799
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1029
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1030
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1031
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
800
1032
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
801
1033
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
802
1034
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -809,11 +1041,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
809
1041
|
min: string | number;
|
|
810
1042
|
target: string | number;
|
|
811
1043
|
};
|
|
812
|
-
bridge
|
|
1044
|
+
bridge?: string | undefined;
|
|
1045
|
+
executionType?: ExecutionType | undefined;
|
|
1046
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
813
1047
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
814
1048
|
bridgeLockTime?: number | undefined;
|
|
815
1049
|
override?: Record<string, z.objectInputType<{
|
|
816
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1050
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1051
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1052
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
817
1053
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
818
1054
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
819
1055
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -821,42 +1057,58 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
821
1057
|
}>, z.ZodObject<{
|
|
822
1058
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
823
1059
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
824
|
-
bridge: z.ZodString
|
|
1060
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1062
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
825
1063
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
826
1064
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
827
1065
|
} & {
|
|
828
1066
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
829
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1067
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1068
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1069
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
830
1070
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
831
1071
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
832
1072
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
833
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1073
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1074
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1075
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
834
1076
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
835
1077
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
836
1078
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
837
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1079
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1080
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1081
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
838
1082
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
839
1083
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
840
1084
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
841
1085
|
} & {
|
|
842
1086
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
843
1087
|
}, "strip", z.ZodTypeAny, {
|
|
844
|
-
bridge: string;
|
|
845
1088
|
buffer: string | number;
|
|
1089
|
+
bridge?: string | undefined;
|
|
1090
|
+
executionType?: ExecutionType | undefined;
|
|
1091
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
846
1092
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
847
1093
|
bridgeLockTime?: number | undefined;
|
|
848
1094
|
override?: Record<string, z.objectOutputType<{
|
|
849
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1095
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1096
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1097
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
850
1098
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
851
1099
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
852
1100
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
853
1101
|
}, {
|
|
854
|
-
bridge: string;
|
|
855
1102
|
buffer: string | number;
|
|
1103
|
+
bridge?: string | undefined;
|
|
1104
|
+
executionType?: ExecutionType | undefined;
|
|
1105
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
856
1106
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
857
1107
|
bridgeLockTime?: number | undefined;
|
|
858
1108
|
override?: Record<string, z.objectInputType<{
|
|
859
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1109
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1110
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1111
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
860
1112
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
861
1113
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
862
1114
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -864,12 +1116,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
864
1116
|
}, "strip", z.ZodTypeAny, {
|
|
865
1117
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
866
1118
|
chains: Record<string, {
|
|
867
|
-
bridge: string;
|
|
868
1119
|
buffer: string | number;
|
|
1120
|
+
bridge?: string | undefined;
|
|
1121
|
+
executionType?: ExecutionType | undefined;
|
|
1122
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
869
1123
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
870
1124
|
bridgeLockTime?: number | undefined;
|
|
871
1125
|
override?: Record<string, z.objectOutputType<{
|
|
872
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1126
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1127
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1128
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
873
1129
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
874
1130
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
875
1131
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -877,12 +1133,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
877
1133
|
}, {
|
|
878
1134
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
879
1135
|
chains: Record<string, {
|
|
880
|
-
bridge: string;
|
|
881
1136
|
buffer: string | number;
|
|
1137
|
+
bridge?: string | undefined;
|
|
1138
|
+
executionType?: ExecutionType | undefined;
|
|
1139
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
882
1140
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
883
1141
|
bridgeLockTime?: number | undefined;
|
|
884
1142
|
override?: Record<string, z.objectInputType<{
|
|
885
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1143
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1144
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1145
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
886
1146
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
887
1147
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
888
1148
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -890,20 +1150,28 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
890
1150
|
}>]>, z.ZodArray<z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
891
1151
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
892
1152
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
893
|
-
bridge: z.ZodString
|
|
1153
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1155
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
894
1156
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
895
1157
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
896
1158
|
} & {
|
|
897
1159
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
898
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1160
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1161
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1162
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
899
1163
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
900
1164
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
901
1165
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
902
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1166
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1167
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1168
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
903
1169
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
904
1170
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
905
1171
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
906
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1172
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1173
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1174
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
907
1175
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
908
1176
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
909
1177
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -923,11 +1191,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
923
1191
|
weight: bigint;
|
|
924
1192
|
tolerance: bigint;
|
|
925
1193
|
};
|
|
926
|
-
bridge
|
|
1194
|
+
bridge?: string | undefined;
|
|
1195
|
+
executionType?: ExecutionType | undefined;
|
|
1196
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
927
1197
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
928
1198
|
bridgeLockTime?: number | undefined;
|
|
929
1199
|
override?: Record<string, z.objectOutputType<{
|
|
930
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1200
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1201
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1202
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
931
1203
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
932
1204
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
933
1205
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -936,11 +1208,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
936
1208
|
weight: string | number;
|
|
937
1209
|
tolerance: string | number;
|
|
938
1210
|
};
|
|
939
|
-
bridge
|
|
1211
|
+
bridge?: string | undefined;
|
|
1212
|
+
executionType?: ExecutionType | undefined;
|
|
1213
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
940
1214
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
941
1215
|
bridgeLockTime?: number | undefined;
|
|
942
1216
|
override?: Record<string, z.objectInputType<{
|
|
943
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1217
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1218
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1219
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
944
1220
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
945
1221
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
946
1222
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -952,11 +1228,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
952
1228
|
weight: bigint;
|
|
953
1229
|
tolerance: bigint;
|
|
954
1230
|
};
|
|
955
|
-
bridge
|
|
1231
|
+
bridge?: string | undefined;
|
|
1232
|
+
executionType?: ExecutionType | undefined;
|
|
1233
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
956
1234
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
957
1235
|
bridgeLockTime?: number | undefined;
|
|
958
1236
|
override?: Record<string, z.objectOutputType<{
|
|
959
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1237
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1238
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1239
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
960
1240
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
961
1241
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
962
1242
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -968,11 +1248,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
968
1248
|
weight: string | number;
|
|
969
1249
|
tolerance: string | number;
|
|
970
1250
|
};
|
|
971
|
-
bridge
|
|
1251
|
+
bridge?: string | undefined;
|
|
1252
|
+
executionType?: ExecutionType | undefined;
|
|
1253
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
972
1254
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
973
1255
|
bridgeLockTime?: number | undefined;
|
|
974
1256
|
override?: Record<string, z.objectInputType<{
|
|
975
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1257
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1258
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1259
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
976
1260
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
977
1261
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
978
1262
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -980,20 +1264,28 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
980
1264
|
}>, z.ZodObject<{
|
|
981
1265
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
982
1266
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
983
|
-
bridge: z.ZodString
|
|
1267
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1269
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
984
1270
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
985
1271
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
986
1272
|
} & {
|
|
987
1273
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
988
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1274
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1275
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1276
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
989
1277
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
990
1278
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
991
1279
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
992
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1280
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1281
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1282
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
993
1283
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
994
1284
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
995
1285
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
996
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1286
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1287
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1288
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
997
1289
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
998
1290
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
999
1291
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1017,11 +1309,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1017
1309
|
min: string | number;
|
|
1018
1310
|
target: string | number;
|
|
1019
1311
|
};
|
|
1020
|
-
bridge
|
|
1312
|
+
bridge?: string | undefined;
|
|
1313
|
+
executionType?: ExecutionType | undefined;
|
|
1314
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1021
1315
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1022
1316
|
bridgeLockTime?: number | undefined;
|
|
1023
1317
|
override?: Record<string, z.objectOutputType<{
|
|
1024
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1318
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1319
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1320
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1025
1321
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1026
1322
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1027
1323
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1031,11 +1327,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1031
1327
|
min: string | number;
|
|
1032
1328
|
target: string | number;
|
|
1033
1329
|
};
|
|
1034
|
-
bridge
|
|
1330
|
+
bridge?: string | undefined;
|
|
1331
|
+
executionType?: ExecutionType | undefined;
|
|
1332
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1035
1333
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1036
1334
|
bridgeLockTime?: number | undefined;
|
|
1037
1335
|
override?: Record<string, z.objectInputType<{
|
|
1038
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1336
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1337
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1338
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1039
1339
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1040
1340
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1041
1341
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1048,11 +1348,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1048
1348
|
min: string | number;
|
|
1049
1349
|
target: string | number;
|
|
1050
1350
|
};
|
|
1051
|
-
bridge
|
|
1351
|
+
bridge?: string | undefined;
|
|
1352
|
+
executionType?: ExecutionType | undefined;
|
|
1353
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1052
1354
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1053
1355
|
bridgeLockTime?: number | undefined;
|
|
1054
1356
|
override?: Record<string, z.objectOutputType<{
|
|
1055
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1357
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1358
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1359
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1056
1360
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1057
1361
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1058
1362
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1065,11 +1369,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1065
1369
|
min: string | number;
|
|
1066
1370
|
target: string | number;
|
|
1067
1371
|
};
|
|
1068
|
-
bridge
|
|
1372
|
+
bridge?: string | undefined;
|
|
1373
|
+
executionType?: ExecutionType | undefined;
|
|
1374
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1069
1375
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1070
1376
|
bridgeLockTime?: number | undefined;
|
|
1071
1377
|
override?: Record<string, z.objectInputType<{
|
|
1072
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1378
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1379
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1380
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1073
1381
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1074
1382
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1075
1383
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1077,42 +1385,58 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1077
1385
|
}>, z.ZodObject<{
|
|
1078
1386
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
1079
1387
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1080
|
-
bridge: z.ZodString
|
|
1388
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1389
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1390
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1081
1391
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1082
1392
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1083
1393
|
} & {
|
|
1084
1394
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1085
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1395
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1396
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1397
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1086
1398
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1087
1399
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1088
1400
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1089
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1401
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1402
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1403
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1090
1404
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1091
1405
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1092
1406
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1093
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1407
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1408
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1409
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1094
1410
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1095
1411
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1096
1412
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1097
1413
|
} & {
|
|
1098
1414
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1099
1415
|
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
bridge: string;
|
|
1101
1416
|
buffer: string | number;
|
|
1417
|
+
bridge?: string | undefined;
|
|
1418
|
+
executionType?: ExecutionType | undefined;
|
|
1419
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1102
1420
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1103
1421
|
bridgeLockTime?: number | undefined;
|
|
1104
1422
|
override?: Record<string, z.objectOutputType<{
|
|
1105
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1423
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1424
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1425
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1106
1426
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1107
1427
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1108
1428
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1109
1429
|
}, {
|
|
1110
|
-
bridge: string;
|
|
1111
1430
|
buffer: string | number;
|
|
1431
|
+
bridge?: string | undefined;
|
|
1432
|
+
executionType?: ExecutionType | undefined;
|
|
1433
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1112
1434
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1113
1435
|
bridgeLockTime?: number | undefined;
|
|
1114
1436
|
override?: Record<string, z.objectInputType<{
|
|
1115
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1437
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1438
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1439
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1116
1440
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1117
1441
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1118
1442
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1120,12 +1444,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1120
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1121
1445
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1122
1446
|
chains: Record<string, {
|
|
1123
|
-
bridge: string;
|
|
1124
1447
|
buffer: string | number;
|
|
1448
|
+
bridge?: string | undefined;
|
|
1449
|
+
executionType?: ExecutionType | undefined;
|
|
1450
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1125
1451
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1126
1452
|
bridgeLockTime?: number | undefined;
|
|
1127
1453
|
override?: Record<string, z.objectOutputType<{
|
|
1128
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1454
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1455
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1456
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1129
1457
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1130
1458
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1131
1459
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1133,12 +1461,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1133
1461
|
}, {
|
|
1134
1462
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1135
1463
|
chains: Record<string, {
|
|
1136
|
-
bridge: string;
|
|
1137
1464
|
buffer: string | number;
|
|
1465
|
+
bridge?: string | undefined;
|
|
1466
|
+
executionType?: ExecutionType | undefined;
|
|
1467
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1138
1468
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1139
1469
|
bridgeLockTime?: number | undefined;
|
|
1140
1470
|
override?: Record<string, z.objectInputType<{
|
|
1141
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1471
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1472
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1473
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1142
1474
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1143
1475
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1144
1476
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1150,11 +1482,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1150
1482
|
weight: bigint;
|
|
1151
1483
|
tolerance: bigint;
|
|
1152
1484
|
};
|
|
1153
|
-
bridge
|
|
1485
|
+
bridge?: string | undefined;
|
|
1486
|
+
executionType?: ExecutionType | undefined;
|
|
1487
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1154
1488
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1155
1489
|
bridgeLockTime?: number | undefined;
|
|
1156
1490
|
override?: Record<string, z.objectOutputType<{
|
|
1157
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1491
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1492
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1493
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1158
1494
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1159
1495
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1160
1496
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1167,11 +1503,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1167
1503
|
min: string | number;
|
|
1168
1504
|
target: string | number;
|
|
1169
1505
|
};
|
|
1170
|
-
bridge
|
|
1506
|
+
bridge?: string | undefined;
|
|
1507
|
+
executionType?: ExecutionType | undefined;
|
|
1508
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1171
1509
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1172
1510
|
bridgeLockTime?: number | undefined;
|
|
1173
1511
|
override?: Record<string, z.objectOutputType<{
|
|
1174
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1512
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1513
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1514
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1175
1515
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1176
1516
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1177
1517
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1179,12 +1519,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1179
1519
|
} | {
|
|
1180
1520
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1181
1521
|
chains: Record<string, {
|
|
1182
|
-
bridge: string;
|
|
1183
1522
|
buffer: string | number;
|
|
1523
|
+
bridge?: string | undefined;
|
|
1524
|
+
executionType?: ExecutionType | undefined;
|
|
1525
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1184
1526
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1185
1527
|
bridgeLockTime?: number | undefined;
|
|
1186
1528
|
override?: Record<string, z.objectOutputType<{
|
|
1187
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1529
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1530
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1531
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1188
1532
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1189
1533
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1190
1534
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1196,11 +1540,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1196
1540
|
weight: string | number;
|
|
1197
1541
|
tolerance: string | number;
|
|
1198
1542
|
};
|
|
1199
|
-
bridge
|
|
1543
|
+
bridge?: string | undefined;
|
|
1544
|
+
executionType?: ExecutionType | undefined;
|
|
1545
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1200
1546
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1201
1547
|
bridgeLockTime?: number | undefined;
|
|
1202
1548
|
override?: Record<string, z.objectInputType<{
|
|
1203
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1549
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1550
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1551
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1204
1552
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1205
1553
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1206
1554
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1213,11 +1561,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1213
1561
|
min: string | number;
|
|
1214
1562
|
target: string | number;
|
|
1215
1563
|
};
|
|
1216
|
-
bridge
|
|
1564
|
+
bridge?: string | undefined;
|
|
1565
|
+
executionType?: ExecutionType | undefined;
|
|
1566
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1217
1567
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1218
1568
|
bridgeLockTime?: number | undefined;
|
|
1219
1569
|
override?: Record<string, z.objectInputType<{
|
|
1220
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1570
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1571
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1572
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1221
1573
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1222
1574
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1223
1575
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1225,12 +1577,16 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1225
1577
|
} | {
|
|
1226
1578
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1227
1579
|
chains: Record<string, {
|
|
1228
|
-
bridge: string;
|
|
1229
1580
|
buffer: string | number;
|
|
1581
|
+
bridge?: string | undefined;
|
|
1582
|
+
executionType?: ExecutionType | undefined;
|
|
1583
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1230
1584
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1231
1585
|
bridgeLockTime?: number | undefined;
|
|
1232
1586
|
override?: Record<string, z.objectInputType<{
|
|
1233
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1587
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1588
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1589
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1234
1590
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1235
1591
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1236
1592
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1242,11 +1598,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1242
1598
|
weight: string | number;
|
|
1243
1599
|
tolerance: string | number;
|
|
1244
1600
|
};
|
|
1245
|
-
bridge
|
|
1601
|
+
bridge?: string | undefined;
|
|
1602
|
+
executionType?: ExecutionType | undefined;
|
|
1603
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1246
1604
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1247
1605
|
bridgeLockTime?: number | undefined;
|
|
1248
1606
|
override?: Record<string, z.objectInputType<{
|
|
1249
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1607
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1608
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1609
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1250
1610
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1251
1611
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1252
1612
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1259,11 +1619,15 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1259
1619
|
min: string | number;
|
|
1260
1620
|
target: string | number;
|
|
1261
1621
|
};
|
|
1262
|
-
bridge
|
|
1622
|
+
bridge?: string | undefined;
|
|
1623
|
+
executionType?: ExecutionType | undefined;
|
|
1624
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1263
1625
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1264
1626
|
bridgeLockTime?: number | undefined;
|
|
1265
1627
|
override?: Record<string, z.objectInputType<{
|
|
1266
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1628
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1629
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1630
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1267
1631
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1268
1632
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1269
1633
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1271,36 +1635,80 @@ export declare const RebalancerStrategySchema: z.ZodEffects<z.ZodUnion<[z.ZodDis
|
|
|
1271
1635
|
} | {
|
|
1272
1636
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1273
1637
|
chains: Record<string, {
|
|
1274
|
-
bridge: string;
|
|
1275
1638
|
buffer: string | number;
|
|
1639
|
+
bridge?: string | undefined;
|
|
1640
|
+
executionType?: ExecutionType | undefined;
|
|
1641
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1276
1642
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1277
1643
|
bridgeLockTime?: number | undefined;
|
|
1278
1644
|
override?: Record<string, z.objectInputType<{
|
|
1279
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1645
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1646
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1647
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1280
1648
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1281
1649
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1282
1650
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1283
1651
|
}>;
|
|
1284
1652
|
})[]>;
|
|
1653
|
+
export declare const LiFiBridgeConfigSchema: z.ZodObject<{
|
|
1654
|
+
integrator: z.ZodString;
|
|
1655
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
+
}, "strip", z.ZodTypeAny, {
|
|
1657
|
+
integrator: string;
|
|
1658
|
+
defaultSlippage?: number | undefined;
|
|
1659
|
+
}, {
|
|
1660
|
+
integrator: string;
|
|
1661
|
+
defaultSlippage?: number | undefined;
|
|
1662
|
+
}>;
|
|
1663
|
+
export declare const ExternalBridgesConfigSchema: z.ZodObject<{
|
|
1664
|
+
lifi: z.ZodOptional<z.ZodObject<{
|
|
1665
|
+
integrator: z.ZodString;
|
|
1666
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
1667
|
+
}, "strip", z.ZodTypeAny, {
|
|
1668
|
+
integrator: string;
|
|
1669
|
+
defaultSlippage?: number | undefined;
|
|
1670
|
+
}, {
|
|
1671
|
+
integrator: string;
|
|
1672
|
+
defaultSlippage?: number | undefined;
|
|
1673
|
+
}>>;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
lifi?: {
|
|
1676
|
+
integrator: string;
|
|
1677
|
+
defaultSlippage?: number | undefined;
|
|
1678
|
+
} | undefined;
|
|
1679
|
+
}, {
|
|
1680
|
+
lifi?: {
|
|
1681
|
+
integrator: string;
|
|
1682
|
+
defaultSlippage?: number | undefined;
|
|
1683
|
+
} | undefined;
|
|
1684
|
+
}>;
|
|
1285
1685
|
export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
1286
1686
|
warpRouteId: z.ZodString;
|
|
1287
1687
|
strategy: z.ZodEffects<z.ZodUnion<[z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
1288
1688
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
1289
1689
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1290
|
-
bridge: z.ZodString
|
|
1690
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1691
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1692
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1291
1693
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1292
1694
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1293
1695
|
} & {
|
|
1294
1696
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1295
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1697
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1698
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1699
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1296
1700
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1297
1701
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1298
1702
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1299
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1703
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1704
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1705
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1300
1706
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1301
1707
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1302
1708
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1303
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1709
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1710
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1711
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1304
1712
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1305
1713
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1306
1714
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1320,11 +1728,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1320
1728
|
weight: bigint;
|
|
1321
1729
|
tolerance: bigint;
|
|
1322
1730
|
};
|
|
1323
|
-
bridge
|
|
1731
|
+
bridge?: string | undefined;
|
|
1732
|
+
executionType?: ExecutionType | undefined;
|
|
1733
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1324
1734
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1325
1735
|
bridgeLockTime?: number | undefined;
|
|
1326
1736
|
override?: Record<string, z.objectOutputType<{
|
|
1327
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1737
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1738
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1739
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1328
1740
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1329
1741
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1330
1742
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1333,11 +1745,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1333
1745
|
weight: string | number;
|
|
1334
1746
|
tolerance: string | number;
|
|
1335
1747
|
};
|
|
1336
|
-
bridge
|
|
1748
|
+
bridge?: string | undefined;
|
|
1749
|
+
executionType?: ExecutionType | undefined;
|
|
1750
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1337
1751
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1338
1752
|
bridgeLockTime?: number | undefined;
|
|
1339
1753
|
override?: Record<string, z.objectInputType<{
|
|
1340
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1754
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1755
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1756
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1341
1757
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1342
1758
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1343
1759
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1349,11 +1765,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1349
1765
|
weight: bigint;
|
|
1350
1766
|
tolerance: bigint;
|
|
1351
1767
|
};
|
|
1352
|
-
bridge
|
|
1768
|
+
bridge?: string | undefined;
|
|
1769
|
+
executionType?: ExecutionType | undefined;
|
|
1770
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1353
1771
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1354
1772
|
bridgeLockTime?: number | undefined;
|
|
1355
1773
|
override?: Record<string, z.objectOutputType<{
|
|
1356
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1774
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1775
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1776
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1357
1777
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1358
1778
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1359
1779
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1365,11 +1785,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1365
1785
|
weight: string | number;
|
|
1366
1786
|
tolerance: string | number;
|
|
1367
1787
|
};
|
|
1368
|
-
bridge
|
|
1788
|
+
bridge?: string | undefined;
|
|
1789
|
+
executionType?: ExecutionType | undefined;
|
|
1790
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1369
1791
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1370
1792
|
bridgeLockTime?: number | undefined;
|
|
1371
1793
|
override?: Record<string, z.objectInputType<{
|
|
1372
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1794
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1795
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1796
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1373
1797
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1374
1798
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1375
1799
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1377,20 +1801,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1377
1801
|
}>, z.ZodObject<{
|
|
1378
1802
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
1379
1803
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1380
|
-
bridge: z.ZodString
|
|
1804
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1806
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1381
1807
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1382
1808
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1383
1809
|
} & {
|
|
1384
1810
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1385
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1811
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1812
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1813
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1386
1814
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1387
1815
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1388
1816
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1389
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1817
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1818
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1819
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1390
1820
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1391
1821
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1392
1822
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1393
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1823
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1824
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1825
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1394
1826
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1395
1827
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1396
1828
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1414,11 +1846,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1414
1846
|
min: string | number;
|
|
1415
1847
|
target: string | number;
|
|
1416
1848
|
};
|
|
1417
|
-
bridge
|
|
1849
|
+
bridge?: string | undefined;
|
|
1850
|
+
executionType?: ExecutionType | undefined;
|
|
1851
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1418
1852
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1419
1853
|
bridgeLockTime?: number | undefined;
|
|
1420
1854
|
override?: Record<string, z.objectOutputType<{
|
|
1421
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1855
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1856
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1857
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1422
1858
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1423
1859
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1424
1860
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1428,11 +1864,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
1864
|
min: string | number;
|
|
1429
1865
|
target: string | number;
|
|
1430
1866
|
};
|
|
1431
|
-
bridge
|
|
1867
|
+
bridge?: string | undefined;
|
|
1868
|
+
executionType?: ExecutionType | undefined;
|
|
1869
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1432
1870
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1433
1871
|
bridgeLockTime?: number | undefined;
|
|
1434
1872
|
override?: Record<string, z.objectInputType<{
|
|
1435
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1873
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1874
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1875
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1436
1876
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1437
1877
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1438
1878
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1445,11 +1885,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1445
1885
|
min: string | number;
|
|
1446
1886
|
target: string | number;
|
|
1447
1887
|
};
|
|
1448
|
-
bridge
|
|
1888
|
+
bridge?: string | undefined;
|
|
1889
|
+
executionType?: ExecutionType | undefined;
|
|
1890
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1449
1891
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1450
1892
|
bridgeLockTime?: number | undefined;
|
|
1451
1893
|
override?: Record<string, z.objectOutputType<{
|
|
1452
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1894
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1895
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1896
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1453
1897
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1454
1898
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1455
1899
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1462,11 +1906,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1462
1906
|
min: string | number;
|
|
1463
1907
|
target: string | number;
|
|
1464
1908
|
};
|
|
1465
|
-
bridge
|
|
1909
|
+
bridge?: string | undefined;
|
|
1910
|
+
executionType?: ExecutionType | undefined;
|
|
1911
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1466
1912
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1467
1913
|
bridgeLockTime?: number | undefined;
|
|
1468
1914
|
override?: Record<string, z.objectInputType<{
|
|
1469
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1915
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1916
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1917
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1470
1918
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1471
1919
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1472
1920
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1474,42 +1922,58 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1474
1922
|
}>, z.ZodObject<{
|
|
1475
1923
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
1476
1924
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1477
|
-
bridge: z.ZodString
|
|
1925
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1927
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1478
1928
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1479
1929
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1480
1930
|
} & {
|
|
1481
1931
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1482
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1932
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1933
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1934
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1483
1935
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1484
1936
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1485
1937
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1486
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1938
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1939
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1940
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1487
1941
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1488
1942
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1489
1943
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1490
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1944
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1945
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1946
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1491
1947
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1492
1948
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1493
1949
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1494
1950
|
} & {
|
|
1495
1951
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1496
1952
|
}, "strip", z.ZodTypeAny, {
|
|
1497
|
-
bridge: string;
|
|
1498
1953
|
buffer: string | number;
|
|
1954
|
+
bridge?: string | undefined;
|
|
1955
|
+
executionType?: ExecutionType | undefined;
|
|
1956
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1499
1957
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1500
1958
|
bridgeLockTime?: number | undefined;
|
|
1501
1959
|
override?: Record<string, z.objectOutputType<{
|
|
1502
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1960
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1961
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1962
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1503
1963
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1504
1964
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1505
1965
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1506
1966
|
}, {
|
|
1507
|
-
bridge: string;
|
|
1508
1967
|
buffer: string | number;
|
|
1968
|
+
bridge?: string | undefined;
|
|
1969
|
+
executionType?: ExecutionType | undefined;
|
|
1970
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1509
1971
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1510
1972
|
bridgeLockTime?: number | undefined;
|
|
1511
1973
|
override?: Record<string, z.objectInputType<{
|
|
1512
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1974
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1975
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1976
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1513
1977
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1514
1978
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1515
1979
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1517,12 +1981,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1517
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1982
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1519
1983
|
chains: Record<string, {
|
|
1520
|
-
bridge: string;
|
|
1521
1984
|
buffer: string | number;
|
|
1985
|
+
bridge?: string | undefined;
|
|
1986
|
+
executionType?: ExecutionType | undefined;
|
|
1987
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1522
1988
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1523
1989
|
bridgeLockTime?: number | undefined;
|
|
1524
1990
|
override?: Record<string, z.objectOutputType<{
|
|
1525
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1991
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1992
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1993
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1526
1994
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1527
1995
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1528
1996
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1530,12 +1998,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1530
1998
|
}, {
|
|
1531
1999
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1532
2000
|
chains: Record<string, {
|
|
1533
|
-
bridge: string;
|
|
1534
2001
|
buffer: string | number;
|
|
2002
|
+
bridge?: string | undefined;
|
|
2003
|
+
executionType?: ExecutionType | undefined;
|
|
2004
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1535
2005
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1536
2006
|
bridgeLockTime?: number | undefined;
|
|
1537
2007
|
override?: Record<string, z.objectInputType<{
|
|
1538
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2008
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2009
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2010
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1539
2011
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1540
2012
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1541
2013
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1543,20 +2015,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1543
2015
|
}>]>, z.ZodArray<z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
1544
2016
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
1545
2017
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1546
|
-
bridge: z.ZodString
|
|
2018
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2019
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2020
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1547
2021
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1548
2022
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1549
2023
|
} & {
|
|
1550
2024
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1551
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2025
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2026
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2027
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1552
2028
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1553
2029
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1554
2030
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1555
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2031
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2032
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2033
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1556
2034
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1557
2035
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1558
2036
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1559
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2037
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2038
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2039
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1560
2040
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1561
2041
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1562
2042
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1576,11 +2056,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1576
2056
|
weight: bigint;
|
|
1577
2057
|
tolerance: bigint;
|
|
1578
2058
|
};
|
|
1579
|
-
bridge
|
|
2059
|
+
bridge?: string | undefined;
|
|
2060
|
+
executionType?: ExecutionType | undefined;
|
|
2061
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1580
2062
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1581
2063
|
bridgeLockTime?: number | undefined;
|
|
1582
2064
|
override?: Record<string, z.objectOutputType<{
|
|
1583
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2065
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2066
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2067
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1584
2068
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1585
2069
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1586
2070
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1589,11 +2073,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1589
2073
|
weight: string | number;
|
|
1590
2074
|
tolerance: string | number;
|
|
1591
2075
|
};
|
|
1592
|
-
bridge
|
|
2076
|
+
bridge?: string | undefined;
|
|
2077
|
+
executionType?: ExecutionType | undefined;
|
|
2078
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1593
2079
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1594
2080
|
bridgeLockTime?: number | undefined;
|
|
1595
2081
|
override?: Record<string, z.objectInputType<{
|
|
1596
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2082
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2083
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2084
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1597
2085
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1598
2086
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1599
2087
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1605,11 +2093,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1605
2093
|
weight: bigint;
|
|
1606
2094
|
tolerance: bigint;
|
|
1607
2095
|
};
|
|
1608
|
-
bridge
|
|
2096
|
+
bridge?: string | undefined;
|
|
2097
|
+
executionType?: ExecutionType | undefined;
|
|
2098
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1609
2099
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1610
2100
|
bridgeLockTime?: number | undefined;
|
|
1611
2101
|
override?: Record<string, z.objectOutputType<{
|
|
1612
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2102
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2103
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2104
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1613
2105
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1614
2106
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1615
2107
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1621,11 +2113,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1621
2113
|
weight: string | number;
|
|
1622
2114
|
tolerance: string | number;
|
|
1623
2115
|
};
|
|
1624
|
-
bridge
|
|
2116
|
+
bridge?: string | undefined;
|
|
2117
|
+
executionType?: ExecutionType | undefined;
|
|
2118
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1625
2119
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1626
2120
|
bridgeLockTime?: number | undefined;
|
|
1627
2121
|
override?: Record<string, z.objectInputType<{
|
|
1628
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2122
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2123
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2124
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1629
2125
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1630
2126
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1631
2127
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1633,20 +2129,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1633
2129
|
}>, z.ZodObject<{
|
|
1634
2130
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
1635
2131
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1636
|
-
bridge: z.ZodString
|
|
2132
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2134
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1637
2135
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1638
2136
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1639
2137
|
} & {
|
|
1640
2138
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1641
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2139
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2140
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2141
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1642
2142
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1643
2143
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1644
2144
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1645
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2145
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2146
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2147
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1646
2148
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1647
2149
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1648
2150
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1649
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2151
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2152
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2153
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1650
2154
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1651
2155
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1652
2156
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1670,11 +2174,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1670
2174
|
min: string | number;
|
|
1671
2175
|
target: string | number;
|
|
1672
2176
|
};
|
|
1673
|
-
bridge
|
|
2177
|
+
bridge?: string | undefined;
|
|
2178
|
+
executionType?: ExecutionType | undefined;
|
|
2179
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1674
2180
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1675
2181
|
bridgeLockTime?: number | undefined;
|
|
1676
2182
|
override?: Record<string, z.objectOutputType<{
|
|
1677
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2183
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2184
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2185
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1678
2186
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1679
2187
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1680
2188
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1684,11 +2192,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1684
2192
|
min: string | number;
|
|
1685
2193
|
target: string | number;
|
|
1686
2194
|
};
|
|
1687
|
-
bridge
|
|
2195
|
+
bridge?: string | undefined;
|
|
2196
|
+
executionType?: ExecutionType | undefined;
|
|
2197
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1688
2198
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1689
2199
|
bridgeLockTime?: number | undefined;
|
|
1690
2200
|
override?: Record<string, z.objectInputType<{
|
|
1691
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2201
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2202
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2203
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1692
2204
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1693
2205
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1694
2206
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1701,11 +2213,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1701
2213
|
min: string | number;
|
|
1702
2214
|
target: string | number;
|
|
1703
2215
|
};
|
|
1704
|
-
bridge
|
|
2216
|
+
bridge?: string | undefined;
|
|
2217
|
+
executionType?: ExecutionType | undefined;
|
|
2218
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1705
2219
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1706
2220
|
bridgeLockTime?: number | undefined;
|
|
1707
2221
|
override?: Record<string, z.objectOutputType<{
|
|
1708
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2222
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2223
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2224
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1709
2225
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1710
2226
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1711
2227
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1718,11 +2234,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1718
2234
|
min: string | number;
|
|
1719
2235
|
target: string | number;
|
|
1720
2236
|
};
|
|
1721
|
-
bridge
|
|
2237
|
+
bridge?: string | undefined;
|
|
2238
|
+
executionType?: ExecutionType | undefined;
|
|
2239
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1722
2240
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1723
2241
|
bridgeLockTime?: number | undefined;
|
|
1724
2242
|
override?: Record<string, z.objectInputType<{
|
|
1725
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2243
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2244
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2245
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1726
2246
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1727
2247
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1728
2248
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1730,42 +2250,58 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1730
2250
|
}>, z.ZodObject<{
|
|
1731
2251
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
1732
2252
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1733
|
-
bridge: z.ZodString
|
|
2253
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2254
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2255
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1734
2256
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1735
2257
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1736
2258
|
} & {
|
|
1737
2259
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1738
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2260
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2261
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2262
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1739
2263
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1740
2264
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1741
2265
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1742
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2266
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2267
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2268
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1743
2269
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1744
2270
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1745
2271
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1746
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2272
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2273
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2274
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1747
2275
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1748
2276
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1749
2277
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1750
2278
|
} & {
|
|
1751
2279
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1752
2280
|
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
bridge: string;
|
|
1754
2281
|
buffer: string | number;
|
|
2282
|
+
bridge?: string | undefined;
|
|
2283
|
+
executionType?: ExecutionType | undefined;
|
|
2284
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1755
2285
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1756
2286
|
bridgeLockTime?: number | undefined;
|
|
1757
2287
|
override?: Record<string, z.objectOutputType<{
|
|
1758
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2288
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2289
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2290
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1759
2291
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1760
2292
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1761
2293
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1762
2294
|
}, {
|
|
1763
|
-
bridge: string;
|
|
1764
2295
|
buffer: string | number;
|
|
2296
|
+
bridge?: string | undefined;
|
|
2297
|
+
executionType?: ExecutionType | undefined;
|
|
2298
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1765
2299
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1766
2300
|
bridgeLockTime?: number | undefined;
|
|
1767
2301
|
override?: Record<string, z.objectInputType<{
|
|
1768
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2302
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2303
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2304
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1769
2305
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1770
2306
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1771
2307
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1773,12 +2309,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1773
2309
|
}, "strip", z.ZodTypeAny, {
|
|
1774
2310
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1775
2311
|
chains: Record<string, {
|
|
1776
|
-
bridge: string;
|
|
1777
2312
|
buffer: string | number;
|
|
2313
|
+
bridge?: string | undefined;
|
|
2314
|
+
executionType?: ExecutionType | undefined;
|
|
2315
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1778
2316
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1779
2317
|
bridgeLockTime?: number | undefined;
|
|
1780
2318
|
override?: Record<string, z.objectOutputType<{
|
|
1781
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2319
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2320
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2321
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1782
2322
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1783
2323
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1784
2324
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1786,12 +2326,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1786
2326
|
}, {
|
|
1787
2327
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1788
2328
|
chains: Record<string, {
|
|
1789
|
-
bridge: string;
|
|
1790
2329
|
buffer: string | number;
|
|
2330
|
+
bridge?: string | undefined;
|
|
2331
|
+
executionType?: ExecutionType | undefined;
|
|
2332
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1791
2333
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1792
2334
|
bridgeLockTime?: number | undefined;
|
|
1793
2335
|
override?: Record<string, z.objectInputType<{
|
|
1794
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2336
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2337
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2338
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1795
2339
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1796
2340
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1797
2341
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1803,11 +2347,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1803
2347
|
weight: bigint;
|
|
1804
2348
|
tolerance: bigint;
|
|
1805
2349
|
};
|
|
1806
|
-
bridge
|
|
2350
|
+
bridge?: string | undefined;
|
|
2351
|
+
executionType?: ExecutionType | undefined;
|
|
2352
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1807
2353
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1808
2354
|
bridgeLockTime?: number | undefined;
|
|
1809
2355
|
override?: Record<string, z.objectOutputType<{
|
|
1810
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2356
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2357
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2358
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1811
2359
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1812
2360
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1813
2361
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1820,11 +2368,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1820
2368
|
min: string | number;
|
|
1821
2369
|
target: string | number;
|
|
1822
2370
|
};
|
|
1823
|
-
bridge
|
|
2371
|
+
bridge?: string | undefined;
|
|
2372
|
+
executionType?: ExecutionType | undefined;
|
|
2373
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1824
2374
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1825
2375
|
bridgeLockTime?: number | undefined;
|
|
1826
2376
|
override?: Record<string, z.objectOutputType<{
|
|
1827
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2377
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2378
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2379
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1828
2380
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1829
2381
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1830
2382
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1832,12 +2384,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1832
2384
|
} | {
|
|
1833
2385
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1834
2386
|
chains: Record<string, {
|
|
1835
|
-
bridge: string;
|
|
1836
2387
|
buffer: string | number;
|
|
2388
|
+
bridge?: string | undefined;
|
|
2389
|
+
executionType?: ExecutionType | undefined;
|
|
2390
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1837
2391
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1838
2392
|
bridgeLockTime?: number | undefined;
|
|
1839
2393
|
override?: Record<string, z.objectOutputType<{
|
|
1840
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2394
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2395
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2396
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1841
2397
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1842
2398
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1843
2399
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1849,11 +2405,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1849
2405
|
weight: string | number;
|
|
1850
2406
|
tolerance: string | number;
|
|
1851
2407
|
};
|
|
1852
|
-
bridge
|
|
2408
|
+
bridge?: string | undefined;
|
|
2409
|
+
executionType?: ExecutionType | undefined;
|
|
2410
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1853
2411
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1854
2412
|
bridgeLockTime?: number | undefined;
|
|
1855
2413
|
override?: Record<string, z.objectInputType<{
|
|
1856
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2414
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2415
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2416
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1857
2417
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1858
2418
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1859
2419
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1866,11 +2426,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1866
2426
|
min: string | number;
|
|
1867
2427
|
target: string | number;
|
|
1868
2428
|
};
|
|
1869
|
-
bridge
|
|
2429
|
+
bridge?: string | undefined;
|
|
2430
|
+
executionType?: ExecutionType | undefined;
|
|
2431
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1870
2432
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1871
2433
|
bridgeLockTime?: number | undefined;
|
|
1872
2434
|
override?: Record<string, z.objectInputType<{
|
|
1873
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2435
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2436
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2437
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1874
2438
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1875
2439
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1876
2440
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1878,12 +2442,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1878
2442
|
} | {
|
|
1879
2443
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1880
2444
|
chains: Record<string, {
|
|
1881
|
-
bridge: string;
|
|
1882
2445
|
buffer: string | number;
|
|
2446
|
+
bridge?: string | undefined;
|
|
2447
|
+
executionType?: ExecutionType | undefined;
|
|
2448
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1883
2449
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1884
2450
|
bridgeLockTime?: number | undefined;
|
|
1885
2451
|
override?: Record<string, z.objectInputType<{
|
|
1886
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2452
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2453
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2454
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1887
2455
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1888
2456
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1889
2457
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1895,11 +2463,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1895
2463
|
weight: string | number;
|
|
1896
2464
|
tolerance: string | number;
|
|
1897
2465
|
};
|
|
1898
|
-
bridge
|
|
2466
|
+
bridge?: string | undefined;
|
|
2467
|
+
executionType?: ExecutionType | undefined;
|
|
2468
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1899
2469
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1900
2470
|
bridgeLockTime?: number | undefined;
|
|
1901
2471
|
override?: Record<string, z.objectInputType<{
|
|
1902
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2472
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2473
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2474
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1903
2475
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1904
2476
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1905
2477
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1912,11 +2484,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1912
2484
|
min: string | number;
|
|
1913
2485
|
target: string | number;
|
|
1914
2486
|
};
|
|
1915
|
-
bridge
|
|
2487
|
+
bridge?: string | undefined;
|
|
2488
|
+
executionType?: ExecutionType | undefined;
|
|
2489
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1916
2490
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1917
2491
|
bridgeLockTime?: number | undefined;
|
|
1918
2492
|
override?: Record<string, z.objectInputType<{
|
|
1919
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2493
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2494
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2495
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1920
2496
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1921
2497
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1922
2498
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1924,17 +2500,44 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1924
2500
|
} | {
|
|
1925
2501
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1926
2502
|
chains: Record<string, {
|
|
1927
|
-
bridge: string;
|
|
1928
2503
|
buffer: string | number;
|
|
2504
|
+
bridge?: string | undefined;
|
|
2505
|
+
executionType?: ExecutionType | undefined;
|
|
2506
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1929
2507
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1930
2508
|
bridgeLockTime?: number | undefined;
|
|
1931
2509
|
override?: Record<string, z.objectInputType<{
|
|
1932
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2510
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2511
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2512
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1933
2513
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1934
2514
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1935
2515
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1936
2516
|
}>;
|
|
1937
2517
|
})[]>;
|
|
2518
|
+
inventorySigner: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
externalBridges: z.ZodOptional<z.ZodObject<{
|
|
2520
|
+
lifi: z.ZodOptional<z.ZodObject<{
|
|
2521
|
+
integrator: z.ZodString;
|
|
2522
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
integrator: string;
|
|
2525
|
+
defaultSlippage?: number | undefined;
|
|
2526
|
+
}, {
|
|
2527
|
+
integrator: string;
|
|
2528
|
+
defaultSlippage?: number | undefined;
|
|
2529
|
+
}>>;
|
|
2530
|
+
}, "strip", z.ZodTypeAny, {
|
|
2531
|
+
lifi?: {
|
|
2532
|
+
integrator: string;
|
|
2533
|
+
defaultSlippage?: number | undefined;
|
|
2534
|
+
} | undefined;
|
|
2535
|
+
}, {
|
|
2536
|
+
lifi?: {
|
|
2537
|
+
integrator: string;
|
|
2538
|
+
defaultSlippage?: number | undefined;
|
|
2539
|
+
} | undefined;
|
|
2540
|
+
}>>;
|
|
1938
2541
|
}, "strip", z.ZodTypeAny, {
|
|
1939
2542
|
warpRouteId: string;
|
|
1940
2543
|
strategy: ({
|
|
@@ -1944,11 +2547,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1944
2547
|
weight: bigint;
|
|
1945
2548
|
tolerance: bigint;
|
|
1946
2549
|
};
|
|
1947
|
-
bridge
|
|
2550
|
+
bridge?: string | undefined;
|
|
2551
|
+
executionType?: ExecutionType | undefined;
|
|
2552
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1948
2553
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1949
2554
|
bridgeLockTime?: number | undefined;
|
|
1950
2555
|
override?: Record<string, z.objectOutputType<{
|
|
1951
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2556
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2557
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2558
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1952
2559
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1953
2560
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1954
2561
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1961,11 +2568,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1961
2568
|
min: string | number;
|
|
1962
2569
|
target: string | number;
|
|
1963
2570
|
};
|
|
1964
|
-
bridge
|
|
2571
|
+
bridge?: string | undefined;
|
|
2572
|
+
executionType?: ExecutionType | undefined;
|
|
2573
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1965
2574
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1966
2575
|
bridgeLockTime?: number | undefined;
|
|
1967
2576
|
override?: Record<string, z.objectOutputType<{
|
|
1968
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2577
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2578
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2579
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1969
2580
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1970
2581
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1971
2582
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1973,17 +2584,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1973
2584
|
} | {
|
|
1974
2585
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1975
2586
|
chains: Record<string, {
|
|
1976
|
-
bridge: string;
|
|
1977
2587
|
buffer: string | number;
|
|
2588
|
+
bridge?: string | undefined;
|
|
2589
|
+
executionType?: ExecutionType | undefined;
|
|
2590
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1978
2591
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1979
2592
|
bridgeLockTime?: number | undefined;
|
|
1980
2593
|
override?: Record<string, z.objectOutputType<{
|
|
1981
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2594
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2595
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2596
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1982
2597
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1983
2598
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1984
2599
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1985
2600
|
}>;
|
|
1986
2601
|
})[];
|
|
2602
|
+
inventorySigner?: string | undefined;
|
|
2603
|
+
externalBridges?: {
|
|
2604
|
+
lifi?: {
|
|
2605
|
+
integrator: string;
|
|
2606
|
+
defaultSlippage?: number | undefined;
|
|
2607
|
+
} | undefined;
|
|
2608
|
+
} | undefined;
|
|
1987
2609
|
}, {
|
|
1988
2610
|
warpRouteId: string;
|
|
1989
2611
|
strategy: {
|
|
@@ -1993,11 +2615,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1993
2615
|
weight: string | number;
|
|
1994
2616
|
tolerance: string | number;
|
|
1995
2617
|
};
|
|
1996
|
-
bridge
|
|
2618
|
+
bridge?: string | undefined;
|
|
2619
|
+
executionType?: ExecutionType | undefined;
|
|
2620
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1997
2621
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1998
2622
|
bridgeLockTime?: number | undefined;
|
|
1999
2623
|
override?: Record<string, z.objectInputType<{
|
|
2000
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2624
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2625
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2626
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2001
2627
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2002
2628
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2003
2629
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2010,11 +2636,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2010
2636
|
min: string | number;
|
|
2011
2637
|
target: string | number;
|
|
2012
2638
|
};
|
|
2013
|
-
bridge
|
|
2639
|
+
bridge?: string | undefined;
|
|
2640
|
+
executionType?: ExecutionType | undefined;
|
|
2641
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2014
2642
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2015
2643
|
bridgeLockTime?: number | undefined;
|
|
2016
2644
|
override?: Record<string, z.objectInputType<{
|
|
2017
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2645
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2646
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2647
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2018
2648
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2019
2649
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2020
2650
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2022,12 +2652,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2022
2652
|
} | {
|
|
2023
2653
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2024
2654
|
chains: Record<string, {
|
|
2025
|
-
bridge: string;
|
|
2026
2655
|
buffer: string | number;
|
|
2656
|
+
bridge?: string | undefined;
|
|
2657
|
+
executionType?: ExecutionType | undefined;
|
|
2658
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2027
2659
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2028
2660
|
bridgeLockTime?: number | undefined;
|
|
2029
2661
|
override?: Record<string, z.objectInputType<{
|
|
2030
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2662
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2663
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2664
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2031
2665
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2032
2666
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2033
2667
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2039,11 +2673,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2039
2673
|
weight: string | number;
|
|
2040
2674
|
tolerance: string | number;
|
|
2041
2675
|
};
|
|
2042
|
-
bridge
|
|
2676
|
+
bridge?: string | undefined;
|
|
2677
|
+
executionType?: ExecutionType | undefined;
|
|
2678
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2043
2679
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2044
2680
|
bridgeLockTime?: number | undefined;
|
|
2045
2681
|
override?: Record<string, z.objectInputType<{
|
|
2046
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2682
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2683
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2684
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2047
2685
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2048
2686
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2049
2687
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2056,11 +2694,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2056
2694
|
min: string | number;
|
|
2057
2695
|
target: string | number;
|
|
2058
2696
|
};
|
|
2059
|
-
bridge
|
|
2697
|
+
bridge?: string | undefined;
|
|
2698
|
+
executionType?: ExecutionType | undefined;
|
|
2699
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2060
2700
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2061
2701
|
bridgeLockTime?: number | undefined;
|
|
2062
2702
|
override?: Record<string, z.objectInputType<{
|
|
2063
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2703
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2704
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2705
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2064
2706
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2065
2707
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2066
2708
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2068,17 +2710,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2068
2710
|
} | {
|
|
2069
2711
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2070
2712
|
chains: Record<string, {
|
|
2071
|
-
bridge: string;
|
|
2072
2713
|
buffer: string | number;
|
|
2714
|
+
bridge?: string | undefined;
|
|
2715
|
+
executionType?: ExecutionType | undefined;
|
|
2716
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2073
2717
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2074
2718
|
bridgeLockTime?: number | undefined;
|
|
2075
2719
|
override?: Record<string, z.objectInputType<{
|
|
2076
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2720
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2721
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2722
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2077
2723
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2078
2724
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2079
2725
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2080
2726
|
}>;
|
|
2081
2727
|
})[];
|
|
2728
|
+
inventorySigner?: string | undefined;
|
|
2729
|
+
externalBridges?: {
|
|
2730
|
+
lifi?: {
|
|
2731
|
+
integrator: string;
|
|
2732
|
+
defaultSlippage?: number | undefined;
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
} | undefined;
|
|
2082
2735
|
}>, {
|
|
2083
2736
|
warpRouteId: string;
|
|
2084
2737
|
strategy: ({
|
|
@@ -2088,11 +2741,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2088
2741
|
weight: bigint;
|
|
2089
2742
|
tolerance: bigint;
|
|
2090
2743
|
};
|
|
2091
|
-
bridge
|
|
2744
|
+
bridge?: string | undefined;
|
|
2745
|
+
executionType?: ExecutionType | undefined;
|
|
2746
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2092
2747
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2093
2748
|
bridgeLockTime?: number | undefined;
|
|
2094
2749
|
override?: Record<string, z.objectOutputType<{
|
|
2095
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2750
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2751
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2752
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2096
2753
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2097
2754
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2098
2755
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2105,11 +2762,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2105
2762
|
min: string | number;
|
|
2106
2763
|
target: string | number;
|
|
2107
2764
|
};
|
|
2108
|
-
bridge
|
|
2765
|
+
bridge?: string | undefined;
|
|
2766
|
+
executionType?: ExecutionType | undefined;
|
|
2767
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2109
2768
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2110
2769
|
bridgeLockTime?: number | undefined;
|
|
2111
2770
|
override?: Record<string, z.objectOutputType<{
|
|
2112
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2771
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2772
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2773
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2113
2774
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2114
2775
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2115
2776
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2117,17 +2778,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2117
2778
|
} | {
|
|
2118
2779
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2119
2780
|
chains: Record<string, {
|
|
2120
|
-
bridge: string;
|
|
2121
2781
|
buffer: string | number;
|
|
2782
|
+
bridge?: string | undefined;
|
|
2783
|
+
executionType?: ExecutionType | undefined;
|
|
2784
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2122
2785
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2123
2786
|
bridgeLockTime?: number | undefined;
|
|
2124
2787
|
override?: Record<string, z.objectOutputType<{
|
|
2125
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2788
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2789
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2790
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2126
2791
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2127
2792
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2128
2793
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2129
2794
|
}>;
|
|
2130
2795
|
})[];
|
|
2796
|
+
inventorySigner?: string | undefined;
|
|
2797
|
+
externalBridges?: {
|
|
2798
|
+
lifi?: {
|
|
2799
|
+
integrator: string;
|
|
2800
|
+
defaultSlippage?: number | undefined;
|
|
2801
|
+
} | undefined;
|
|
2802
|
+
} | undefined;
|
|
2131
2803
|
}, {
|
|
2132
2804
|
warpRouteId: string;
|
|
2133
2805
|
strategy: {
|
|
@@ -2137,11 +2809,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2137
2809
|
weight: string | number;
|
|
2138
2810
|
tolerance: string | number;
|
|
2139
2811
|
};
|
|
2140
|
-
bridge
|
|
2812
|
+
bridge?: string | undefined;
|
|
2813
|
+
executionType?: ExecutionType | undefined;
|
|
2814
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2141
2815
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2142
2816
|
bridgeLockTime?: number | undefined;
|
|
2143
2817
|
override?: Record<string, z.objectInputType<{
|
|
2144
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2818
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2819
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2820
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2145
2821
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2146
2822
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2147
2823
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2154,11 +2830,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2154
2830
|
min: string | number;
|
|
2155
2831
|
target: string | number;
|
|
2156
2832
|
};
|
|
2157
|
-
bridge
|
|
2833
|
+
bridge?: string | undefined;
|
|
2834
|
+
executionType?: ExecutionType | undefined;
|
|
2835
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2158
2836
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2159
2837
|
bridgeLockTime?: number | undefined;
|
|
2160
2838
|
override?: Record<string, z.objectInputType<{
|
|
2161
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2839
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2840
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2841
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2162
2842
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2163
2843
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2164
2844
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2166,12 +2846,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2166
2846
|
} | {
|
|
2167
2847
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2168
2848
|
chains: Record<string, {
|
|
2169
|
-
bridge: string;
|
|
2170
2849
|
buffer: string | number;
|
|
2850
|
+
bridge?: string | undefined;
|
|
2851
|
+
executionType?: ExecutionType | undefined;
|
|
2852
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2171
2853
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2172
2854
|
bridgeLockTime?: number | undefined;
|
|
2173
2855
|
override?: Record<string, z.objectInputType<{
|
|
2174
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2856
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2857
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2858
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2175
2859
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2176
2860
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2177
2861
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2183,11 +2867,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2183
2867
|
weight: string | number;
|
|
2184
2868
|
tolerance: string | number;
|
|
2185
2869
|
};
|
|
2186
|
-
bridge
|
|
2870
|
+
bridge?: string | undefined;
|
|
2871
|
+
executionType?: ExecutionType | undefined;
|
|
2872
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2187
2873
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2188
2874
|
bridgeLockTime?: number | undefined;
|
|
2189
2875
|
override?: Record<string, z.objectInputType<{
|
|
2190
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2876
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2877
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2878
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2191
2879
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2192
2880
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2193
2881
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2200,11 +2888,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2200
2888
|
min: string | number;
|
|
2201
2889
|
target: string | number;
|
|
2202
2890
|
};
|
|
2203
|
-
bridge
|
|
2891
|
+
bridge?: string | undefined;
|
|
2892
|
+
executionType?: ExecutionType | undefined;
|
|
2893
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2204
2894
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2205
2895
|
bridgeLockTime?: number | undefined;
|
|
2206
2896
|
override?: Record<string, z.objectInputType<{
|
|
2207
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2897
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2898
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2899
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2208
2900
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2209
2901
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2210
2902
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2212,17 +2904,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2212
2904
|
} | {
|
|
2213
2905
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2214
2906
|
chains: Record<string, {
|
|
2215
|
-
bridge: string;
|
|
2216
2907
|
buffer: string | number;
|
|
2908
|
+
bridge?: string | undefined;
|
|
2909
|
+
executionType?: ExecutionType | undefined;
|
|
2910
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2217
2911
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2218
2912
|
bridgeLockTime?: number | undefined;
|
|
2219
2913
|
override?: Record<string, z.objectInputType<{
|
|
2220
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2914
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2915
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2916
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2221
2917
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2222
2918
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2223
2919
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2224
2920
|
}>;
|
|
2225
2921
|
})[];
|
|
2922
|
+
inventorySigner?: string | undefined;
|
|
2923
|
+
externalBridges?: {
|
|
2924
|
+
lifi?: {
|
|
2925
|
+
integrator: string;
|
|
2926
|
+
defaultSlippage?: number | undefined;
|
|
2927
|
+
} | undefined;
|
|
2928
|
+
} | undefined;
|
|
2226
2929
|
}>;
|
|
2227
2930
|
export type RebalancerWeightedChainConfig = z.infer<typeof RebalancerWeightedChainConfigSchema>;
|
|
2228
2931
|
export type RebalancerMinAmountChainConfig = z.infer<typeof RebalancerMinAmountConfigSchema>;
|
|
@@ -2244,5 +2947,14 @@ export declare function getStrategyChainConfig(strategies: StrategyConfig[], cha
|
|
|
2244
2947
|
* This is used by ActionTracker to detect inflight rebalances across all configured bridges.
|
|
2245
2948
|
*/
|
|
2246
2949
|
export declare function getAllBridges(strategies: StrategyConfig[]): string[];
|
|
2950
|
+
/**
|
|
2951
|
+
* Get the execution type for a chain.
|
|
2952
|
+
* Returns the executionType from chain config, or MovableCollateral as default.
|
|
2953
|
+
*/
|
|
2954
|
+
export declare function getChainExecutionType(strategies: StrategyConfig[], chainName: string): ExecutionType;
|
|
2955
|
+
/**
|
|
2956
|
+
* Check if any chain in the strategies uses inventory execution type.
|
|
2957
|
+
*/
|
|
2958
|
+
export declare function hasInventoryChains(strategies: StrategyConfig[]): boolean;
|
|
2247
2959
|
export {};
|
|
2248
2960
|
//# sourceMappingURL=types.d.ts.map
|