@hyperlane-xyz/rebalancer 2.0.0 → 3.1.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 +8 -2
- package/dist/config/RebalancerConfig.d.ts.map +1 -1
- package/dist/config/RebalancerConfig.js +9 -4
- package/dist/config/RebalancerConfig.js.map +1 -1
- package/dist/config/RebalancerConfig.test.js +135 -1
- package/dist/config/RebalancerConfig.test.js.map +1 -1
- package/dist/config/types.d.ts +1023 -304
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +113 -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 +892 -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 +1382 -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 +719 -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 +74 -110
- 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/ForkIndexer.d.ts.map +1 -1
- package/dist/e2e/harness/ForkIndexer.js +1 -0
- package/dist/e2e/harness/ForkIndexer.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 +9 -9
- 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 +171 -17
- package/dist/factories/RebalancerContextFactory.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- 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 +34 -1
- package/dist/tracking/ActionTracker.d.ts.map +1 -1
- package/dist/tracking/ActionTracker.js +233 -26
- package/dist/tracking/ActionTracker.js.map +1 -1
- package/dist/tracking/ActionTracker.test.js +380 -19
- package/dist/tracking/ActionTracker.test.js.map +1 -1
- package/dist/tracking/IActionTracker.d.ts +48 -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 +33 -2
- package/dist/tracking/types.d.ts.map +1 -1
- package/dist/utils/ExplorerClient.d.ts +3 -1
- package/dist/utils/ExplorerClient.d.ts.map +1 -1
- package/dist/utils/ExplorerClient.js +16 -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 +162 -0
- package/src/config/RebalancerConfig.ts +21 -3
- package/src/config/types.ts +147 -10
- package/src/core/InventoryRebalancer.test.ts +1721 -0
- package/src/core/InventoryRebalancer.ts +1265 -0
- package/src/core/Rebalancer.test.ts +84 -30
- package/src/core/Rebalancer.ts +144 -23
- package/src/core/RebalancerOrchestrator.test.ts +869 -0
- package/src/core/RebalancerOrchestrator.ts +146 -95
- package/src/core/RebalancerService.test.ts +86 -124
- 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/ForkIndexer.ts +1 -0
- package/src/e2e/harness/TestHelpers.ts +1 -4
- package/src/e2e/harness/TestRebalancer.ts +10 -7
- package/src/e2e/minAmount.e2e-test.ts +1 -2
- package/src/e2e/weighted.e2e-test.ts +1 -2
- package/src/factories/RebalancerContextFactory.ts +294 -24
- package/src/index.ts +22 -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 +443 -19
- package/src/tracking/ActionTracker.ts +339 -28
- package/src/tracking/IActionTracker.ts +59 -3
- package/src/tracking/InflightContextAdapter.test.ts +7 -4
- package/src/tracking/InflightContextAdapter.ts +42 -9
- package/src/tracking/types.ts +45 -2
- package/src/utils/ExplorerClient.ts +27 -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,82 @@ 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 DEFAULT_INTENT_TTL_S = 604800;
|
|
1654
|
+
export declare const DEFAULT_INTENT_TTL_MS: number;
|
|
1655
|
+
export declare const LiFiBridgeConfigSchema: z.ZodObject<{
|
|
1656
|
+
integrator: z.ZodString;
|
|
1657
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
1658
|
+
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
integrator: string;
|
|
1660
|
+
defaultSlippage?: number | undefined;
|
|
1661
|
+
}, {
|
|
1662
|
+
integrator: string;
|
|
1663
|
+
defaultSlippage?: number | undefined;
|
|
1664
|
+
}>;
|
|
1665
|
+
export declare const ExternalBridgesConfigSchema: z.ZodObject<{
|
|
1666
|
+
lifi: z.ZodOptional<z.ZodObject<{
|
|
1667
|
+
integrator: z.ZodString;
|
|
1668
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
1669
|
+
}, "strip", z.ZodTypeAny, {
|
|
1670
|
+
integrator: string;
|
|
1671
|
+
defaultSlippage?: number | undefined;
|
|
1672
|
+
}, {
|
|
1673
|
+
integrator: string;
|
|
1674
|
+
defaultSlippage?: number | undefined;
|
|
1675
|
+
}>>;
|
|
1676
|
+
}, "strip", z.ZodTypeAny, {
|
|
1677
|
+
lifi?: {
|
|
1678
|
+
integrator: string;
|
|
1679
|
+
defaultSlippage?: number | undefined;
|
|
1680
|
+
} | undefined;
|
|
1681
|
+
}, {
|
|
1682
|
+
lifi?: {
|
|
1683
|
+
integrator: string;
|
|
1684
|
+
defaultSlippage?: number | undefined;
|
|
1685
|
+
} | undefined;
|
|
1686
|
+
}>;
|
|
1285
1687
|
export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
1286
1688
|
warpRouteId: z.ZodString;
|
|
1287
1689
|
strategy: z.ZodEffects<z.ZodUnion<[z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
1288
1690
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
1289
1691
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1290
|
-
bridge: z.ZodString
|
|
1692
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1694
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1291
1695
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1292
1696
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1293
1697
|
} & {
|
|
1294
1698
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1295
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1699
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1700
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1701
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1296
1702
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1297
1703
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1298
1704
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1299
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1705
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1706
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1707
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1300
1708
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1301
1709
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1302
1710
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1303
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1711
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1712
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1713
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1304
1714
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1305
1715
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1306
1716
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1320,11 +1730,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1320
1730
|
weight: bigint;
|
|
1321
1731
|
tolerance: bigint;
|
|
1322
1732
|
};
|
|
1323
|
-
bridge
|
|
1733
|
+
bridge?: string | undefined;
|
|
1734
|
+
executionType?: ExecutionType | undefined;
|
|
1735
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1324
1736
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1325
1737
|
bridgeLockTime?: number | undefined;
|
|
1326
1738
|
override?: Record<string, z.objectOutputType<{
|
|
1327
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1739
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1740
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1741
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1328
1742
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1329
1743
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1330
1744
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1333,11 +1747,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1333
1747
|
weight: string | number;
|
|
1334
1748
|
tolerance: string | number;
|
|
1335
1749
|
};
|
|
1336
|
-
bridge
|
|
1750
|
+
bridge?: string | undefined;
|
|
1751
|
+
executionType?: ExecutionType | undefined;
|
|
1752
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1337
1753
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1338
1754
|
bridgeLockTime?: number | undefined;
|
|
1339
1755
|
override?: Record<string, z.objectInputType<{
|
|
1340
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1756
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1757
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1758
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1341
1759
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1342
1760
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1343
1761
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1349,11 +1767,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1349
1767
|
weight: bigint;
|
|
1350
1768
|
tolerance: bigint;
|
|
1351
1769
|
};
|
|
1352
|
-
bridge
|
|
1770
|
+
bridge?: string | undefined;
|
|
1771
|
+
executionType?: ExecutionType | undefined;
|
|
1772
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1353
1773
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1354
1774
|
bridgeLockTime?: number | undefined;
|
|
1355
1775
|
override?: Record<string, z.objectOutputType<{
|
|
1356
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1776
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1777
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1778
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1357
1779
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1358
1780
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1359
1781
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1365,11 +1787,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1365
1787
|
weight: string | number;
|
|
1366
1788
|
tolerance: string | number;
|
|
1367
1789
|
};
|
|
1368
|
-
bridge
|
|
1790
|
+
bridge?: string | undefined;
|
|
1791
|
+
executionType?: ExecutionType | undefined;
|
|
1792
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1369
1793
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1370
1794
|
bridgeLockTime?: number | undefined;
|
|
1371
1795
|
override?: Record<string, z.objectInputType<{
|
|
1372
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1796
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1797
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1798
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1373
1799
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1374
1800
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1375
1801
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1377,20 +1803,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1377
1803
|
}>, z.ZodObject<{
|
|
1378
1804
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
1379
1805
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1380
|
-
bridge: z.ZodString
|
|
1806
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1807
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1808
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1381
1809
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1382
1810
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1383
1811
|
} & {
|
|
1384
1812
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1385
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1813
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1814
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1815
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1386
1816
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1387
1817
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1388
1818
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1389
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1819
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1820
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1821
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1390
1822
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1391
1823
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1392
1824
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1393
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1825
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1826
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1827
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1394
1828
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1395
1829
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1396
1830
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1414,11 +1848,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1414
1848
|
min: string | number;
|
|
1415
1849
|
target: string | number;
|
|
1416
1850
|
};
|
|
1417
|
-
bridge
|
|
1851
|
+
bridge?: string | undefined;
|
|
1852
|
+
executionType?: ExecutionType | undefined;
|
|
1853
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1418
1854
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1419
1855
|
bridgeLockTime?: number | undefined;
|
|
1420
1856
|
override?: Record<string, z.objectOutputType<{
|
|
1421
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1857
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1858
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1859
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1422
1860
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1423
1861
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1424
1862
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1428,11 +1866,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1428
1866
|
min: string | number;
|
|
1429
1867
|
target: string | number;
|
|
1430
1868
|
};
|
|
1431
|
-
bridge
|
|
1869
|
+
bridge?: string | undefined;
|
|
1870
|
+
executionType?: ExecutionType | undefined;
|
|
1871
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1432
1872
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1433
1873
|
bridgeLockTime?: number | undefined;
|
|
1434
1874
|
override?: Record<string, z.objectInputType<{
|
|
1435
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1875
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1876
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1877
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1436
1878
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1437
1879
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1438
1880
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1445,11 +1887,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1445
1887
|
min: string | number;
|
|
1446
1888
|
target: string | number;
|
|
1447
1889
|
};
|
|
1448
|
-
bridge
|
|
1890
|
+
bridge?: string | undefined;
|
|
1891
|
+
executionType?: ExecutionType | undefined;
|
|
1892
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1449
1893
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1450
1894
|
bridgeLockTime?: number | undefined;
|
|
1451
1895
|
override?: Record<string, z.objectOutputType<{
|
|
1452
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1896
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1897
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1898
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1453
1899
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1454
1900
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1455
1901
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1462,11 +1908,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1462
1908
|
min: string | number;
|
|
1463
1909
|
target: string | number;
|
|
1464
1910
|
};
|
|
1465
|
-
bridge
|
|
1911
|
+
bridge?: string | undefined;
|
|
1912
|
+
executionType?: ExecutionType | undefined;
|
|
1913
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1466
1914
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1467
1915
|
bridgeLockTime?: number | undefined;
|
|
1468
1916
|
override?: Record<string, z.objectInputType<{
|
|
1469
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1917
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1918
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1919
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1470
1920
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1471
1921
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1472
1922
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1474,42 +1924,58 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1474
1924
|
}>, z.ZodObject<{
|
|
1475
1925
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
1476
1926
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1477
|
-
bridge: z.ZodString
|
|
1927
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
1929
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1478
1930
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1479
1931
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1480
1932
|
} & {
|
|
1481
1933
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1482
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1934
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1935
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1936
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1483
1937
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1484
1938
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1485
1939
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1486
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1940
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1941
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1942
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1487
1943
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1488
1944
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1489
1945
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1490
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1946
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1947
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1948
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1491
1949
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1492
1950
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1493
1951
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1494
1952
|
} & {
|
|
1495
1953
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1496
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1497
|
-
bridge: string;
|
|
1498
1955
|
buffer: string | number;
|
|
1956
|
+
bridge?: string | undefined;
|
|
1957
|
+
executionType?: ExecutionType | undefined;
|
|
1958
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1499
1959
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1500
1960
|
bridgeLockTime?: number | undefined;
|
|
1501
1961
|
override?: Record<string, z.objectOutputType<{
|
|
1502
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1962
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1963
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1964
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1503
1965
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1504
1966
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1505
1967
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1506
1968
|
}, {
|
|
1507
|
-
bridge: string;
|
|
1508
1969
|
buffer: string | number;
|
|
1970
|
+
bridge?: string | undefined;
|
|
1971
|
+
executionType?: ExecutionType | undefined;
|
|
1972
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1509
1973
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1510
1974
|
bridgeLockTime?: number | undefined;
|
|
1511
1975
|
override?: Record<string, z.objectInputType<{
|
|
1512
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1976
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1977
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1978
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1513
1979
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1514
1980
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1515
1981
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1517,12 +1983,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1517
1983
|
}, "strip", z.ZodTypeAny, {
|
|
1518
1984
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1519
1985
|
chains: Record<string, {
|
|
1520
|
-
bridge: string;
|
|
1521
1986
|
buffer: string | number;
|
|
1987
|
+
bridge?: string | undefined;
|
|
1988
|
+
executionType?: ExecutionType | undefined;
|
|
1989
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1522
1990
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1523
1991
|
bridgeLockTime?: number | undefined;
|
|
1524
1992
|
override?: Record<string, z.objectOutputType<{
|
|
1525
|
-
bridge: z.ZodOptional<z.ZodString
|
|
1993
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1994
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
1995
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1526
1996
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1527
1997
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1528
1998
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1530,12 +2000,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1530
2000
|
}, {
|
|
1531
2001
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1532
2002
|
chains: Record<string, {
|
|
1533
|
-
bridge: string;
|
|
1534
2003
|
buffer: string | number;
|
|
2004
|
+
bridge?: string | undefined;
|
|
2005
|
+
executionType?: ExecutionType | undefined;
|
|
2006
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1535
2007
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1536
2008
|
bridgeLockTime?: number | undefined;
|
|
1537
2009
|
override?: Record<string, z.objectInputType<{
|
|
1538
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2010
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2011
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2012
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1539
2013
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1540
2014
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1541
2015
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1543,20 +2017,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1543
2017
|
}>]>, z.ZodArray<z.ZodDiscriminatedUnion<"rebalanceStrategy", [z.ZodObject<{
|
|
1544
2018
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.Weighted>;
|
|
1545
2019
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1546
|
-
bridge: z.ZodString
|
|
2020
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2021
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2022
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1547
2023
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1548
2024
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1549
2025
|
} & {
|
|
1550
2026
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1551
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2027
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2028
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2029
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1552
2030
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1553
2031
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1554
2032
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1555
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2033
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2034
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2035
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1556
2036
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1557
2037
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1558
2038
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1559
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2039
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2040
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2041
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1560
2042
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1561
2043
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1562
2044
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1576,11 +2058,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1576
2058
|
weight: bigint;
|
|
1577
2059
|
tolerance: bigint;
|
|
1578
2060
|
};
|
|
1579
|
-
bridge
|
|
2061
|
+
bridge?: string | undefined;
|
|
2062
|
+
executionType?: ExecutionType | undefined;
|
|
2063
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1580
2064
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1581
2065
|
bridgeLockTime?: number | undefined;
|
|
1582
2066
|
override?: Record<string, z.objectOutputType<{
|
|
1583
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2067
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2068
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2069
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1584
2070
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1585
2071
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1586
2072
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1589,11 +2075,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1589
2075
|
weight: string | number;
|
|
1590
2076
|
tolerance: string | number;
|
|
1591
2077
|
};
|
|
1592
|
-
bridge
|
|
2078
|
+
bridge?: string | undefined;
|
|
2079
|
+
executionType?: ExecutionType | undefined;
|
|
2080
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1593
2081
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1594
2082
|
bridgeLockTime?: number | undefined;
|
|
1595
2083
|
override?: Record<string, z.objectInputType<{
|
|
1596
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2084
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2085
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2086
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1597
2087
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1598
2088
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1599
2089
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1605,11 +2095,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1605
2095
|
weight: bigint;
|
|
1606
2096
|
tolerance: bigint;
|
|
1607
2097
|
};
|
|
1608
|
-
bridge
|
|
2098
|
+
bridge?: string | undefined;
|
|
2099
|
+
executionType?: ExecutionType | undefined;
|
|
2100
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1609
2101
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1610
2102
|
bridgeLockTime?: number | undefined;
|
|
1611
2103
|
override?: Record<string, z.objectOutputType<{
|
|
1612
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2104
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2105
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2106
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1613
2107
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1614
2108
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1615
2109
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1621,11 +2115,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1621
2115
|
weight: string | number;
|
|
1622
2116
|
tolerance: string | number;
|
|
1623
2117
|
};
|
|
1624
|
-
bridge
|
|
2118
|
+
bridge?: string | undefined;
|
|
2119
|
+
executionType?: ExecutionType | undefined;
|
|
2120
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1625
2121
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1626
2122
|
bridgeLockTime?: number | undefined;
|
|
1627
2123
|
override?: Record<string, z.objectInputType<{
|
|
1628
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2124
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2125
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2126
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1629
2127
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1630
2128
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1631
2129
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1633,20 +2131,28 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1633
2131
|
}>, z.ZodObject<{
|
|
1634
2132
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.MinAmount>;
|
|
1635
2133
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1636
|
-
bridge: z.ZodString
|
|
2134
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2135
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2136
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1637
2137
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1638
2138
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1639
2139
|
} & {
|
|
1640
2140
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1641
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2141
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2142
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2143
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1642
2144
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1643
2145
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1644
2146
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1645
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2147
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2148
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2149
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1646
2150
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1647
2151
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1648
2152
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1649
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2153
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2154
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2155
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1650
2156
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1651
2157
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1652
2158
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
@@ -1670,11 +2176,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1670
2176
|
min: string | number;
|
|
1671
2177
|
target: string | number;
|
|
1672
2178
|
};
|
|
1673
|
-
bridge
|
|
2179
|
+
bridge?: string | undefined;
|
|
2180
|
+
executionType?: ExecutionType | undefined;
|
|
2181
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1674
2182
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1675
2183
|
bridgeLockTime?: number | undefined;
|
|
1676
2184
|
override?: Record<string, z.objectOutputType<{
|
|
1677
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2185
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2186
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2187
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1678
2188
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1679
2189
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1680
2190
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1684,11 +2194,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1684
2194
|
min: string | number;
|
|
1685
2195
|
target: string | number;
|
|
1686
2196
|
};
|
|
1687
|
-
bridge
|
|
2197
|
+
bridge?: string | undefined;
|
|
2198
|
+
executionType?: ExecutionType | undefined;
|
|
2199
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1688
2200
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1689
2201
|
bridgeLockTime?: number | undefined;
|
|
1690
2202
|
override?: Record<string, z.objectInputType<{
|
|
1691
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2203
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2204
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2205
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1692
2206
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1693
2207
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1694
2208
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1701,11 +2215,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1701
2215
|
min: string | number;
|
|
1702
2216
|
target: string | number;
|
|
1703
2217
|
};
|
|
1704
|
-
bridge
|
|
2218
|
+
bridge?: string | undefined;
|
|
2219
|
+
executionType?: ExecutionType | undefined;
|
|
2220
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1705
2221
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1706
2222
|
bridgeLockTime?: number | undefined;
|
|
1707
2223
|
override?: Record<string, z.objectOutputType<{
|
|
1708
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2224
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2225
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2226
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1709
2227
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1710
2228
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1711
2229
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1718,11 +2236,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1718
2236
|
min: string | number;
|
|
1719
2237
|
target: string | number;
|
|
1720
2238
|
};
|
|
1721
|
-
bridge
|
|
2239
|
+
bridge?: string | undefined;
|
|
2240
|
+
executionType?: ExecutionType | undefined;
|
|
2241
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1722
2242
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1723
2243
|
bridgeLockTime?: number | undefined;
|
|
1724
2244
|
override?: Record<string, z.objectInputType<{
|
|
1725
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2245
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2246
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2247
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1726
2248
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1727
2249
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1728
2250
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1730,42 +2252,58 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1730
2252
|
}>, z.ZodObject<{
|
|
1731
2253
|
rebalanceStrategy: z.ZodLiteral<RebalancerStrategyOptions.CollateralDeficit>;
|
|
1732
2254
|
chains: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1733
|
-
bridge: z.ZodString
|
|
2255
|
+
bridge: z.ZodOptional<z.ZodString>;
|
|
2256
|
+
executionType: z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>;
|
|
2257
|
+
externalBridge: z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>;
|
|
1734
2258
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1735
2259
|
bridgeLockTime: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
1736
2260
|
} & {
|
|
1737
2261
|
override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1738
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2262
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2263
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2264
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1739
2265
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1740
2266
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1741
2267
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1742
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2268
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2269
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2270
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1743
2271
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1744
2272
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1745
2273
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1746
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2274
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2275
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2276
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1747
2277
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1748
2278
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1749
2279
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1750
2280
|
} & {
|
|
1751
2281
|
buffer: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1752
2282
|
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
bridge: string;
|
|
1754
2283
|
buffer: string | number;
|
|
2284
|
+
bridge?: string | undefined;
|
|
2285
|
+
executionType?: ExecutionType | undefined;
|
|
2286
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1755
2287
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1756
2288
|
bridgeLockTime?: number | undefined;
|
|
1757
2289
|
override?: Record<string, z.objectOutputType<{
|
|
1758
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2290
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2291
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2292
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1759
2293
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1760
2294
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1761
2295
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1762
2296
|
}, {
|
|
1763
|
-
bridge: string;
|
|
1764
2297
|
buffer: string | number;
|
|
2298
|
+
bridge?: string | undefined;
|
|
2299
|
+
executionType?: ExecutionType | undefined;
|
|
2300
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1765
2301
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1766
2302
|
bridgeLockTime?: number | undefined;
|
|
1767
2303
|
override?: Record<string, z.objectInputType<{
|
|
1768
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2304
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2305
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2306
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1769
2307
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1770
2308
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1771
2309
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1773,12 +2311,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1773
2311
|
}, "strip", z.ZodTypeAny, {
|
|
1774
2312
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1775
2313
|
chains: Record<string, {
|
|
1776
|
-
bridge: string;
|
|
1777
2314
|
buffer: string | number;
|
|
2315
|
+
bridge?: string | undefined;
|
|
2316
|
+
executionType?: ExecutionType | undefined;
|
|
2317
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1778
2318
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1779
2319
|
bridgeLockTime?: number | undefined;
|
|
1780
2320
|
override?: Record<string, z.objectOutputType<{
|
|
1781
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2321
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2322
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2323
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1782
2324
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1783
2325
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1784
2326
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1786,12 +2328,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1786
2328
|
}, {
|
|
1787
2329
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1788
2330
|
chains: Record<string, {
|
|
1789
|
-
bridge: string;
|
|
1790
2331
|
buffer: string | number;
|
|
2332
|
+
bridge?: string | undefined;
|
|
2333
|
+
executionType?: ExecutionType | undefined;
|
|
2334
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1791
2335
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1792
2336
|
bridgeLockTime?: number | undefined;
|
|
1793
2337
|
override?: Record<string, z.objectInputType<{
|
|
1794
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2338
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2339
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2340
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1795
2341
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1796
2342
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1797
2343
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1803,11 +2349,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1803
2349
|
weight: bigint;
|
|
1804
2350
|
tolerance: bigint;
|
|
1805
2351
|
};
|
|
1806
|
-
bridge
|
|
2352
|
+
bridge?: string | undefined;
|
|
2353
|
+
executionType?: ExecutionType | undefined;
|
|
2354
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1807
2355
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1808
2356
|
bridgeLockTime?: number | undefined;
|
|
1809
2357
|
override?: Record<string, z.objectOutputType<{
|
|
1810
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2358
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2359
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2360
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1811
2361
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1812
2362
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1813
2363
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1820,11 +2370,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1820
2370
|
min: string | number;
|
|
1821
2371
|
target: string | number;
|
|
1822
2372
|
};
|
|
1823
|
-
bridge
|
|
2373
|
+
bridge?: string | undefined;
|
|
2374
|
+
executionType?: ExecutionType | undefined;
|
|
2375
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1824
2376
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1825
2377
|
bridgeLockTime?: number | undefined;
|
|
1826
2378
|
override?: Record<string, z.objectOutputType<{
|
|
1827
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2379
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2380
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2381
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1828
2382
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1829
2383
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1830
2384
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1832,12 +2386,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1832
2386
|
} | {
|
|
1833
2387
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1834
2388
|
chains: Record<string, {
|
|
1835
|
-
bridge: string;
|
|
1836
2389
|
buffer: string | number;
|
|
2390
|
+
bridge?: string | undefined;
|
|
2391
|
+
executionType?: ExecutionType | undefined;
|
|
2392
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1837
2393
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1838
2394
|
bridgeLockTime?: number | undefined;
|
|
1839
2395
|
override?: Record<string, z.objectOutputType<{
|
|
1840
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2396
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2397
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2398
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1841
2399
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1842
2400
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1843
2401
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1849,11 +2407,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1849
2407
|
weight: string | number;
|
|
1850
2408
|
tolerance: string | number;
|
|
1851
2409
|
};
|
|
1852
|
-
bridge
|
|
2410
|
+
bridge?: string | undefined;
|
|
2411
|
+
executionType?: ExecutionType | undefined;
|
|
2412
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1853
2413
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1854
2414
|
bridgeLockTime?: number | undefined;
|
|
1855
2415
|
override?: Record<string, z.objectInputType<{
|
|
1856
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2416
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2417
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2418
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1857
2419
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1858
2420
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1859
2421
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1866,11 +2428,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1866
2428
|
min: string | number;
|
|
1867
2429
|
target: string | number;
|
|
1868
2430
|
};
|
|
1869
|
-
bridge
|
|
2431
|
+
bridge?: string | undefined;
|
|
2432
|
+
executionType?: ExecutionType | undefined;
|
|
2433
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1870
2434
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1871
2435
|
bridgeLockTime?: number | undefined;
|
|
1872
2436
|
override?: Record<string, z.objectInputType<{
|
|
1873
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2437
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2438
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2439
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1874
2440
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1875
2441
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1876
2442
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1878,12 +2444,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1878
2444
|
} | {
|
|
1879
2445
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1880
2446
|
chains: Record<string, {
|
|
1881
|
-
bridge: string;
|
|
1882
2447
|
buffer: string | number;
|
|
2448
|
+
bridge?: string | undefined;
|
|
2449
|
+
executionType?: ExecutionType | undefined;
|
|
2450
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1883
2451
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1884
2452
|
bridgeLockTime?: number | undefined;
|
|
1885
2453
|
override?: Record<string, z.objectInputType<{
|
|
1886
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2454
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2455
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2456
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1887
2457
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1888
2458
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1889
2459
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1895,11 +2465,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1895
2465
|
weight: string | number;
|
|
1896
2466
|
tolerance: string | number;
|
|
1897
2467
|
};
|
|
1898
|
-
bridge
|
|
2468
|
+
bridge?: string | undefined;
|
|
2469
|
+
executionType?: ExecutionType | undefined;
|
|
2470
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1899
2471
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1900
2472
|
bridgeLockTime?: number | undefined;
|
|
1901
2473
|
override?: Record<string, z.objectInputType<{
|
|
1902
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2474
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2475
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2476
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1903
2477
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1904
2478
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1905
2479
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1912,11 +2486,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1912
2486
|
min: string | number;
|
|
1913
2487
|
target: string | number;
|
|
1914
2488
|
};
|
|
1915
|
-
bridge
|
|
2489
|
+
bridge?: string | undefined;
|
|
2490
|
+
executionType?: ExecutionType | undefined;
|
|
2491
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1916
2492
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1917
2493
|
bridgeLockTime?: number | undefined;
|
|
1918
2494
|
override?: Record<string, z.objectInputType<{
|
|
1919
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2495
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2496
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2497
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1920
2498
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1921
2499
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1922
2500
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1924,17 +2502,45 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1924
2502
|
} | {
|
|
1925
2503
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1926
2504
|
chains: Record<string, {
|
|
1927
|
-
bridge: string;
|
|
1928
2505
|
buffer: string | number;
|
|
2506
|
+
bridge?: string | undefined;
|
|
2507
|
+
executionType?: ExecutionType | undefined;
|
|
2508
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1929
2509
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1930
2510
|
bridgeLockTime?: number | undefined;
|
|
1931
2511
|
override?: Record<string, z.objectInputType<{
|
|
1932
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2512
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2513
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2514
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1933
2515
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1934
2516
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1935
2517
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1936
2518
|
}>;
|
|
1937
2519
|
})[]>;
|
|
2520
|
+
inventorySigner: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
externalBridges: z.ZodOptional<z.ZodObject<{
|
|
2522
|
+
lifi: z.ZodOptional<z.ZodObject<{
|
|
2523
|
+
integrator: z.ZodString;
|
|
2524
|
+
defaultSlippage: z.ZodOptional<z.ZodNumber>;
|
|
2525
|
+
}, "strip", z.ZodTypeAny, {
|
|
2526
|
+
integrator: string;
|
|
2527
|
+
defaultSlippage?: number | undefined;
|
|
2528
|
+
}, {
|
|
2529
|
+
integrator: string;
|
|
2530
|
+
defaultSlippage?: number | undefined;
|
|
2531
|
+
}>>;
|
|
2532
|
+
}, "strip", z.ZodTypeAny, {
|
|
2533
|
+
lifi?: {
|
|
2534
|
+
integrator: string;
|
|
2535
|
+
defaultSlippage?: number | undefined;
|
|
2536
|
+
} | undefined;
|
|
2537
|
+
}, {
|
|
2538
|
+
lifi?: {
|
|
2539
|
+
integrator: string;
|
|
2540
|
+
defaultSlippage?: number | undefined;
|
|
2541
|
+
} | undefined;
|
|
2542
|
+
}>>;
|
|
2543
|
+
intentTTL: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
|
|
1938
2544
|
}, "strip", z.ZodTypeAny, {
|
|
1939
2545
|
warpRouteId: string;
|
|
1940
2546
|
strategy: ({
|
|
@@ -1944,11 +2550,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1944
2550
|
weight: bigint;
|
|
1945
2551
|
tolerance: bigint;
|
|
1946
2552
|
};
|
|
1947
|
-
bridge
|
|
2553
|
+
bridge?: string | undefined;
|
|
2554
|
+
executionType?: ExecutionType | undefined;
|
|
2555
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1948
2556
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1949
2557
|
bridgeLockTime?: number | undefined;
|
|
1950
2558
|
override?: Record<string, z.objectOutputType<{
|
|
1951
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2559
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2560
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2561
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1952
2562
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1953
2563
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1954
2564
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1961,11 +2571,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1961
2571
|
min: string | number;
|
|
1962
2572
|
target: string | number;
|
|
1963
2573
|
};
|
|
1964
|
-
bridge
|
|
2574
|
+
bridge?: string | undefined;
|
|
2575
|
+
executionType?: ExecutionType | undefined;
|
|
2576
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1965
2577
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1966
2578
|
bridgeLockTime?: number | undefined;
|
|
1967
2579
|
override?: Record<string, z.objectOutputType<{
|
|
1968
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2580
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2581
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2582
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1969
2583
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1970
2584
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1971
2585
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -1973,17 +2587,29 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1973
2587
|
} | {
|
|
1974
2588
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
1975
2589
|
chains: Record<string, {
|
|
1976
|
-
bridge: string;
|
|
1977
2590
|
buffer: string | number;
|
|
2591
|
+
bridge?: string | undefined;
|
|
2592
|
+
executionType?: ExecutionType | undefined;
|
|
2593
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1978
2594
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1979
2595
|
bridgeLockTime?: number | undefined;
|
|
1980
2596
|
override?: Record<string, z.objectOutputType<{
|
|
1981
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2597
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2598
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2599
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
1982
2600
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
1983
2601
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1984
2602
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
1985
2603
|
}>;
|
|
1986
2604
|
})[];
|
|
2605
|
+
intentTTL: number;
|
|
2606
|
+
inventorySigner?: string | undefined;
|
|
2607
|
+
externalBridges?: {
|
|
2608
|
+
lifi?: {
|
|
2609
|
+
integrator: string;
|
|
2610
|
+
defaultSlippage?: number | undefined;
|
|
2611
|
+
} | undefined;
|
|
2612
|
+
} | undefined;
|
|
1987
2613
|
}, {
|
|
1988
2614
|
warpRouteId: string;
|
|
1989
2615
|
strategy: {
|
|
@@ -1993,11 +2619,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1993
2619
|
weight: string | number;
|
|
1994
2620
|
tolerance: string | number;
|
|
1995
2621
|
};
|
|
1996
|
-
bridge
|
|
2622
|
+
bridge?: string | undefined;
|
|
2623
|
+
executionType?: ExecutionType | undefined;
|
|
2624
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
1997
2625
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
1998
2626
|
bridgeLockTime?: number | undefined;
|
|
1999
2627
|
override?: Record<string, z.objectInputType<{
|
|
2000
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2628
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2629
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2630
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2001
2631
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2002
2632
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2003
2633
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2010,11 +2640,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2010
2640
|
min: string | number;
|
|
2011
2641
|
target: string | number;
|
|
2012
2642
|
};
|
|
2013
|
-
bridge
|
|
2643
|
+
bridge?: string | undefined;
|
|
2644
|
+
executionType?: ExecutionType | undefined;
|
|
2645
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2014
2646
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2015
2647
|
bridgeLockTime?: number | undefined;
|
|
2016
2648
|
override?: Record<string, z.objectInputType<{
|
|
2017
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2649
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2650
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2651
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2018
2652
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2019
2653
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2020
2654
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2022,12 +2656,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2022
2656
|
} | {
|
|
2023
2657
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2024
2658
|
chains: Record<string, {
|
|
2025
|
-
bridge: string;
|
|
2026
2659
|
buffer: string | number;
|
|
2660
|
+
bridge?: string | undefined;
|
|
2661
|
+
executionType?: ExecutionType | undefined;
|
|
2662
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2027
2663
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2028
2664
|
bridgeLockTime?: number | undefined;
|
|
2029
2665
|
override?: Record<string, z.objectInputType<{
|
|
2030
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2666
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2667
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2668
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2031
2669
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2032
2670
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2033
2671
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2039,11 +2677,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2039
2677
|
weight: string | number;
|
|
2040
2678
|
tolerance: string | number;
|
|
2041
2679
|
};
|
|
2042
|
-
bridge
|
|
2680
|
+
bridge?: string | undefined;
|
|
2681
|
+
executionType?: ExecutionType | undefined;
|
|
2682
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2043
2683
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2044
2684
|
bridgeLockTime?: number | undefined;
|
|
2045
2685
|
override?: Record<string, z.objectInputType<{
|
|
2046
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2686
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2687
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2688
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2047
2689
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2048
2690
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2049
2691
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2056,11 +2698,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2056
2698
|
min: string | number;
|
|
2057
2699
|
target: string | number;
|
|
2058
2700
|
};
|
|
2059
|
-
bridge
|
|
2701
|
+
bridge?: string | undefined;
|
|
2702
|
+
executionType?: ExecutionType | undefined;
|
|
2703
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2060
2704
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2061
2705
|
bridgeLockTime?: number | undefined;
|
|
2062
2706
|
override?: Record<string, z.objectInputType<{
|
|
2063
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2707
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2708
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2709
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2064
2710
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2065
2711
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2066
2712
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2068,17 +2714,29 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2068
2714
|
} | {
|
|
2069
2715
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2070
2716
|
chains: Record<string, {
|
|
2071
|
-
bridge: string;
|
|
2072
2717
|
buffer: string | number;
|
|
2718
|
+
bridge?: string | undefined;
|
|
2719
|
+
executionType?: ExecutionType | undefined;
|
|
2720
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2073
2721
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2074
2722
|
bridgeLockTime?: number | undefined;
|
|
2075
2723
|
override?: Record<string, z.objectInputType<{
|
|
2076
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2724
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2725
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2726
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2077
2727
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2078
2728
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2079
2729
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2080
2730
|
}>;
|
|
2081
2731
|
})[];
|
|
2732
|
+
inventorySigner?: string | undefined;
|
|
2733
|
+
externalBridges?: {
|
|
2734
|
+
lifi?: {
|
|
2735
|
+
integrator: string;
|
|
2736
|
+
defaultSlippage?: number | undefined;
|
|
2737
|
+
} | undefined;
|
|
2738
|
+
} | undefined;
|
|
2739
|
+
intentTTL?: number | undefined;
|
|
2082
2740
|
}>, {
|
|
2083
2741
|
warpRouteId: string;
|
|
2084
2742
|
strategy: ({
|
|
@@ -2088,11 +2746,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2088
2746
|
weight: bigint;
|
|
2089
2747
|
tolerance: bigint;
|
|
2090
2748
|
};
|
|
2091
|
-
bridge
|
|
2749
|
+
bridge?: string | undefined;
|
|
2750
|
+
executionType?: ExecutionType | undefined;
|
|
2751
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2092
2752
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2093
2753
|
bridgeLockTime?: number | undefined;
|
|
2094
2754
|
override?: Record<string, z.objectOutputType<{
|
|
2095
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2755
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2756
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2757
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2096
2758
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2097
2759
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2098
2760
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2105,11 +2767,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2105
2767
|
min: string | number;
|
|
2106
2768
|
target: string | number;
|
|
2107
2769
|
};
|
|
2108
|
-
bridge
|
|
2770
|
+
bridge?: string | undefined;
|
|
2771
|
+
executionType?: ExecutionType | undefined;
|
|
2772
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2109
2773
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2110
2774
|
bridgeLockTime?: number | undefined;
|
|
2111
2775
|
override?: Record<string, z.objectOutputType<{
|
|
2112
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2776
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2777
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2778
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2113
2779
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2114
2780
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2115
2781
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2117,17 +2783,29 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2117
2783
|
} | {
|
|
2118
2784
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2119
2785
|
chains: Record<string, {
|
|
2120
|
-
bridge: string;
|
|
2121
2786
|
buffer: string | number;
|
|
2787
|
+
bridge?: string | undefined;
|
|
2788
|
+
executionType?: ExecutionType | undefined;
|
|
2789
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2122
2790
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2123
2791
|
bridgeLockTime?: number | undefined;
|
|
2124
2792
|
override?: Record<string, z.objectOutputType<{
|
|
2125
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2793
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2794
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2795
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2126
2796
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2127
2797
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2128
2798
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2129
2799
|
}>;
|
|
2130
2800
|
})[];
|
|
2801
|
+
intentTTL: number;
|
|
2802
|
+
inventorySigner?: string | undefined;
|
|
2803
|
+
externalBridges?: {
|
|
2804
|
+
lifi?: {
|
|
2805
|
+
integrator: string;
|
|
2806
|
+
defaultSlippage?: number | undefined;
|
|
2807
|
+
} | undefined;
|
|
2808
|
+
} | undefined;
|
|
2131
2809
|
}, {
|
|
2132
2810
|
warpRouteId: string;
|
|
2133
2811
|
strategy: {
|
|
@@ -2137,11 +2815,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2137
2815
|
weight: string | number;
|
|
2138
2816
|
tolerance: string | number;
|
|
2139
2817
|
};
|
|
2140
|
-
bridge
|
|
2818
|
+
bridge?: string | undefined;
|
|
2819
|
+
executionType?: ExecutionType | undefined;
|
|
2820
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2141
2821
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2142
2822
|
bridgeLockTime?: number | undefined;
|
|
2143
2823
|
override?: Record<string, z.objectInputType<{
|
|
2144
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2824
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2825
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2826
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2145
2827
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2146
2828
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2147
2829
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2154,11 +2836,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2154
2836
|
min: string | number;
|
|
2155
2837
|
target: string | number;
|
|
2156
2838
|
};
|
|
2157
|
-
bridge
|
|
2839
|
+
bridge?: string | undefined;
|
|
2840
|
+
executionType?: ExecutionType | undefined;
|
|
2841
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2158
2842
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2159
2843
|
bridgeLockTime?: number | undefined;
|
|
2160
2844
|
override?: Record<string, z.objectInputType<{
|
|
2161
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2845
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2846
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2847
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2162
2848
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2163
2849
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2164
2850
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2166,12 +2852,16 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2166
2852
|
} | {
|
|
2167
2853
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2168
2854
|
chains: Record<string, {
|
|
2169
|
-
bridge: string;
|
|
2170
2855
|
buffer: string | number;
|
|
2856
|
+
bridge?: string | undefined;
|
|
2857
|
+
executionType?: ExecutionType | undefined;
|
|
2858
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2171
2859
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2172
2860
|
bridgeLockTime?: number | undefined;
|
|
2173
2861
|
override?: Record<string, z.objectInputType<{
|
|
2174
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2862
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2863
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2864
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2175
2865
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2176
2866
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2177
2867
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2183,11 +2873,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2183
2873
|
weight: string | number;
|
|
2184
2874
|
tolerance: string | number;
|
|
2185
2875
|
};
|
|
2186
|
-
bridge
|
|
2876
|
+
bridge?: string | undefined;
|
|
2877
|
+
executionType?: ExecutionType | undefined;
|
|
2878
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2187
2879
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2188
2880
|
bridgeLockTime?: number | undefined;
|
|
2189
2881
|
override?: Record<string, z.objectInputType<{
|
|
2190
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2882
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2883
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2884
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2191
2885
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2192
2886
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2193
2887
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2200,11 +2894,15 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2200
2894
|
min: string | number;
|
|
2201
2895
|
target: string | number;
|
|
2202
2896
|
};
|
|
2203
|
-
bridge
|
|
2897
|
+
bridge?: string | undefined;
|
|
2898
|
+
executionType?: ExecutionType | undefined;
|
|
2899
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2204
2900
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2205
2901
|
bridgeLockTime?: number | undefined;
|
|
2206
2902
|
override?: Record<string, z.objectInputType<{
|
|
2207
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2903
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2904
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2905
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2208
2906
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2209
2907
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2210
2908
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
@@ -2212,17 +2910,29 @@ export declare const RebalancerConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2212
2910
|
} | {
|
|
2213
2911
|
rebalanceStrategy: RebalancerStrategyOptions.CollateralDeficit;
|
|
2214
2912
|
chains: Record<string, {
|
|
2215
|
-
bridge: string;
|
|
2216
2913
|
buffer: string | number;
|
|
2914
|
+
bridge?: string | undefined;
|
|
2915
|
+
executionType?: ExecutionType | undefined;
|
|
2916
|
+
externalBridge?: ExternalBridgeType | undefined;
|
|
2217
2917
|
bridgeMinAcceptedAmount?: string | number | undefined;
|
|
2218
2918
|
bridgeLockTime?: number | undefined;
|
|
2219
2919
|
override?: Record<string, z.objectInputType<{
|
|
2220
|
-
bridge: z.ZodOptional<z.ZodString
|
|
2920
|
+
bridge: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2921
|
+
executionType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExecutionType>>>;
|
|
2922
|
+
externalBridge: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ExternalBridgeType>>>;
|
|
2221
2923
|
bridgeMinAcceptedAmount: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
|
|
2222
2924
|
bridgeLockTime: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
2223
2925
|
}, z.ZodTypeAny, "passthrough">> | undefined;
|
|
2224
2926
|
}>;
|
|
2225
2927
|
})[];
|
|
2928
|
+
inventorySigner?: string | undefined;
|
|
2929
|
+
externalBridges?: {
|
|
2930
|
+
lifi?: {
|
|
2931
|
+
integrator: string;
|
|
2932
|
+
defaultSlippage?: number | undefined;
|
|
2933
|
+
} | undefined;
|
|
2934
|
+
} | undefined;
|
|
2935
|
+
intentTTL?: number | undefined;
|
|
2226
2936
|
}>;
|
|
2227
2937
|
export type RebalancerWeightedChainConfig = z.infer<typeof RebalancerWeightedChainConfigSchema>;
|
|
2228
2938
|
export type RebalancerMinAmountChainConfig = z.infer<typeof RebalancerMinAmountConfigSchema>;
|
|
@@ -2244,5 +2954,14 @@ export declare function getStrategyChainConfig(strategies: StrategyConfig[], cha
|
|
|
2244
2954
|
* This is used by ActionTracker to detect inflight rebalances across all configured bridges.
|
|
2245
2955
|
*/
|
|
2246
2956
|
export declare function getAllBridges(strategies: StrategyConfig[]): string[];
|
|
2957
|
+
/**
|
|
2958
|
+
* Get the execution type for a chain.
|
|
2959
|
+
* Returns the executionType from chain config, or MovableCollateral as default.
|
|
2960
|
+
*/
|
|
2961
|
+
export declare function getChainExecutionType(strategies: StrategyConfig[], chainName: string): ExecutionType;
|
|
2962
|
+
/**
|
|
2963
|
+
* Check if any chain in the strategies uses inventory execution type.
|
|
2964
|
+
*/
|
|
2965
|
+
export declare function hasInventoryChains(strategies: StrategyConfig[]): boolean;
|
|
2247
2966
|
export {};
|
|
2248
2967
|
//# sourceMappingURL=types.d.ts.map
|