@gearbox-protocol/liquidator-v2-config 9.2.1 → 9.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,926 +1,931 @@
1
- import * as _gearbox_protocol_sdk from '@gearbox-protocol/sdk';
2
- import { Curator, MultiCall, RawTx, PriceUpdate, GearboxState } from '@gearbox-protocol/sdk';
3
- import * as _gearbox_protocol_cli_utils from '@gearbox-protocol/cli-utils';
4
- import { CensoredString, ClientWhitelistItem } from '@gearbox-protocol/cli-utils';
5
- import { z } from 'zod/v4';
6
- import { Transport, Address } from 'viem';
7
- import { AccountsPlugin } from '@gearbox-protocol/sdk/plugins/accounts';
8
-
1
+ import { Address, Transport } from "viem";
2
+ import { CensoredString, ClientWhitelistItem } from "@gearbox-protocol/cli-utils";
3
+ import { z } from "zod/v4";
4
+ import { Curator, GearboxState, MultiCall, PriceUpdate, RawTx } from "@gearbox-protocol/sdk";
5
+ import { AccountsPlugin } from "@gearbox-protocol/sdk/plugins/accounts";
6
+ //#region src/batch-liquidator.d.ts
9
7
  declare const BatchLiquidatorSchema: z.ZodObject<{
10
- liquidationMode: z.ZodLiteral<"batch">;
11
- batchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
12
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13
- type: z.ZodLiteral<"slack">;
14
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
15
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
16
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
17
- }, z.core.$strip> | z.ZodObject<{
18
- type: z.ZodLiteral<"telegram">;
19
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
20
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
21
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
22
- prefix: z.ZodOptional<z.ZodString>;
23
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
24
- }, z.core.$strip>, ...(z.ZodObject<{
25
- type: z.ZodLiteral<"slack">;
26
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
27
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
28
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
29
- }, z.core.$strip> | z.ZodObject<{
30
- type: z.ZodLiteral<"telegram">;
31
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
32
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
33
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
34
- prefix: z.ZodOptional<z.ZodString>;
35
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
36
- }, z.core.$strip>)[]], "type">>>>;
37
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
38
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
39
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
40
- appName: z.ZodDefault<z.ZodString>;
41
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
42
- whitelistUrl: z.ZodOptional<z.ZodURL>;
43
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
- reason: z.ZodDefault<z.ZodString>;
45
- expiresAt: z.ZodOptional<z.ZodNumber>;
46
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
47
- contractType: z.ZodOptional<z.ZodString>;
48
- }, z.core.$strip>>>;
49
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
50
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
51
- castBin: z.ZodOptional<z.ZodString>;
52
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
53
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
54
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
55
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
56
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
57
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
58
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
59
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
60
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
61
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
62
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
63
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
64
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
65
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
66
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
67
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
68
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
69
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
70
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
71
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
72
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
73
- outDir: z.ZodDefault<z.ZodString>;
74
- outEndpoint: z.ZodOptional<z.ZodURL>;
75
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
76
- outS3Bucket: z.ZodOptional<z.ZodString>;
77
- outS3Prefix: z.ZodDefault<z.ZodString>;
78
- outFileName: z.ZodOptional<z.ZodString>;
79
- network: z.ZodEnum<{
80
- Mainnet: "Mainnet";
81
- Arbitrum: "Arbitrum";
82
- Optimism: "Optimism";
83
- Base: "Base";
84
- Sonic: "Sonic";
85
- MegaETH: "MegaETH";
86
- Monad: "Monad";
87
- Berachain: "Berachain";
88
- Avalanche: "Avalanche";
89
- BNB: "BNB";
90
- WorldChain: "WorldChain";
91
- Etherlink: "Etherlink";
92
- Hemi: "Hemi";
93
- Lisk: "Lisk";
94
- Plasma: "Plasma";
95
- Somnia: "Somnia";
96
- }>;
97
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
98
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
99
- custom: "custom";
100
- alchemy: "alchemy";
101
- drpc: "drpc";
102
- ankr: "ankr";
103
- thirdweb: "thirdweb";
104
- erpc: "erpc";
105
- }>>>>;
106
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
107
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
108
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
109
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
110
- erpcProjectId: z.ZodOptional<z.ZodString>;
111
- erpcUrl: z.ZodDefault<z.ZodURL>;
112
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
8
+ network: z.ZodEnum<{
9
+ Arbitrum: "Arbitrum";
10
+ Avalanche: "Avalanche";
11
+ BNB: "BNB";
12
+ Base: "Base";
13
+ Berachain: "Berachain";
14
+ Etherlink: "Etherlink";
15
+ Hemi: "Hemi";
16
+ Lisk: "Lisk";
17
+ Mainnet: "Mainnet";
18
+ MegaETH: "MegaETH";
19
+ Monad: "Monad";
20
+ Optimism: "Optimism";
21
+ Plasma: "Plasma";
22
+ Somnia: "Somnia";
23
+ Sonic: "Sonic";
24
+ WorldChain: "WorldChain";
25
+ }>;
26
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
27
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
28
+ alchemy: "alchemy";
29
+ ankr: "ankr";
30
+ custom: "custom";
31
+ drpc: "drpc";
32
+ erpc: "erpc";
33
+ thirdweb: "thirdweb";
34
+ }>>>>;
35
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
36
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
37
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
38
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
39
+ erpcProjectId: z.ZodOptional<z.ZodString>;
40
+ erpcUrl: z.ZodDefault<z.ZodURL>;
41
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
42
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
43
+ type: z.ZodLiteral<"slack">;
44
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
45
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
46
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
47
+ }, z.core.$strip> | z.ZodObject<{
48
+ type: z.ZodLiteral<"telegram">;
49
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
50
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
51
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
52
+ prefix: z.ZodOptional<z.ZodString>;
53
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
54
+ }, z.core.$strip>, ...(z.ZodObject<{
55
+ type: z.ZodLiteral<"slack">;
56
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
57
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
58
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
59
+ }, z.core.$strip> | z.ZodObject<{
60
+ type: z.ZodLiteral<"telegram">;
61
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
62
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
63
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
64
+ prefix: z.ZodOptional<z.ZodString>;
65
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
66
+ }, z.core.$strip>)[]], "type">>>>;
67
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
68
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
69
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
70
+ appName: z.ZodDefault<z.ZodString>;
71
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
72
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
73
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
75
+ reason: z.ZodDefault<z.ZodString>;
76
+ contractType: z.ZodOptional<z.ZodString>;
77
+ expiresAt: z.ZodOptional<z.ZodNumber>;
78
+ }, z.core.$strip>>>;
79
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
80
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
81
+ castBin: z.ZodOptional<z.ZodString>;
82
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
83
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
84
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
85
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
86
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
87
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
88
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
89
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
90
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
91
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
92
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
93
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
94
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
95
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
96
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
97
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
98
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
99
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
100
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
101
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
102
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
103
+ outDir: z.ZodDefault<z.ZodString>;
104
+ outEndpoint: z.ZodOptional<z.ZodURL>;
105
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
106
+ outS3Bucket: z.ZodOptional<z.ZodString>;
107
+ outS3Prefix: z.ZodDefault<z.ZodString>;
108
+ outFileName: z.ZodOptional<z.ZodString>;
109
+ liquidationMode: z.ZodLiteral<"batch">;
110
+ batchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
113
111
  }, z.core.$strip>;
114
112
  type BatchLiquidatorSchema = z.infer<typeof BatchLiquidatorSchema>;
115
-
113
+ //#endregion
114
+ //#region src/common.d.ts
116
115
  declare const CommonSchema: z.ZodObject<{
117
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
118
- type: z.ZodLiteral<"slack">;
119
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
120
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
121
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
122
- }, z.core.$strip> | z.ZodObject<{
123
- type: z.ZodLiteral<"telegram">;
124
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
125
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
126
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
127
- prefix: z.ZodOptional<z.ZodString>;
128
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
129
- }, z.core.$strip>, ...(z.ZodObject<{
130
- type: z.ZodLiteral<"slack">;
131
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
132
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
133
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
134
- }, z.core.$strip> | z.ZodObject<{
135
- type: z.ZodLiteral<"telegram">;
136
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
137
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
138
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
139
- prefix: z.ZodOptional<z.ZodString>;
140
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
141
- }, z.core.$strip>)[]], "type">>>>;
142
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
143
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
144
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
145
- appName: z.ZodDefault<z.ZodString>;
146
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
147
- whitelistUrl: z.ZodOptional<z.ZodURL>;
148
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
149
- reason: z.ZodDefault<z.ZodString>;
150
- expiresAt: z.ZodOptional<z.ZodNumber>;
151
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
152
- contractType: z.ZodOptional<z.ZodString>;
153
- }, z.core.$strip>>>;
154
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
155
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
156
- castBin: z.ZodOptional<z.ZodString>;
157
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
158
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
159
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
160
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
161
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<CensoredString<`0x${string}`>, `0x${string}`>>>;
162
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
163
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
164
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
165
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
166
- liquidationMode: z.ZodDefault<z.ZodEnum<{
167
- full: "full";
168
- partial: "partial";
169
- batch: "batch";
170
- deleverage: "deleverage";
171
- }>>;
172
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
173
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
174
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
175
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
176
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
177
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
178
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
179
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
180
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
181
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
182
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
183
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
184
- outDir: z.ZodDefault<z.ZodString>;
185
- outEndpoint: z.ZodOptional<z.ZodURL>;
186
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<CensoredString<string>, string>>;
187
- outS3Bucket: z.ZodOptional<z.ZodString>;
188
- outS3Prefix: z.ZodDefault<z.ZodString>;
189
- outFileName: z.ZodOptional<z.ZodString>;
190
- network: z.ZodEnum<{
191
- Mainnet: "Mainnet";
192
- Arbitrum: "Arbitrum";
193
- Optimism: "Optimism";
194
- Base: "Base";
195
- Sonic: "Sonic";
196
- MegaETH: "MegaETH";
197
- Monad: "Monad";
198
- Berachain: "Berachain";
199
- Avalanche: "Avalanche";
200
- BNB: "BNB";
201
- WorldChain: "WorldChain";
202
- Etherlink: "Etherlink";
203
- Hemi: "Hemi";
204
- Lisk: "Lisk";
205
- Plasma: "Plasma";
206
- Somnia: "Somnia";
207
- }>;
208
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
209
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
210
- custom: "custom";
211
- alchemy: "alchemy";
212
- drpc: "drpc";
213
- ankr: "ankr";
214
- thirdweb: "thirdweb";
215
- erpc: "erpc";
216
- }>>>>;
217
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
218
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
219
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
220
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
221
- erpcProjectId: z.ZodOptional<z.ZodString>;
222
- erpcUrl: z.ZodDefault<z.ZodURL>;
223
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
116
+ network: z.ZodEnum<{
117
+ Arbitrum: "Arbitrum";
118
+ Avalanche: "Avalanche";
119
+ BNB: "BNB";
120
+ Base: "Base";
121
+ Berachain: "Berachain";
122
+ Etherlink: "Etherlink";
123
+ Hemi: "Hemi";
124
+ Lisk: "Lisk";
125
+ Mainnet: "Mainnet";
126
+ MegaETH: "MegaETH";
127
+ Monad: "Monad";
128
+ Optimism: "Optimism";
129
+ Plasma: "Plasma";
130
+ Somnia: "Somnia";
131
+ Sonic: "Sonic";
132
+ WorldChain: "WorldChain";
133
+ }>;
134
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
135
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
136
+ alchemy: "alchemy";
137
+ ankr: "ankr";
138
+ custom: "custom";
139
+ drpc: "drpc";
140
+ erpc: "erpc";
141
+ thirdweb: "thirdweb";
142
+ }>>>>;
143
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
144
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
145
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
146
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<CensoredString<string>, string>>>>, z.ZodTransform<CensoredString<string>[] | undefined, CensoredString<string>[]>>>;
147
+ erpcProjectId: z.ZodOptional<z.ZodString>;
148
+ erpcUrl: z.ZodDefault<z.ZodURL>;
149
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
150
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
151
+ type: z.ZodLiteral<"slack">;
152
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
153
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
154
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
155
+ }, z.core.$strip> | z.ZodObject<{
156
+ type: z.ZodLiteral<"telegram">;
157
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
158
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
159
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
160
+ prefix: z.ZodOptional<z.ZodString>;
161
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
162
+ }, z.core.$strip>, ...(z.ZodObject<{
163
+ type: z.ZodLiteral<"slack">;
164
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
165
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
166
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
167
+ }, z.core.$strip> | z.ZodObject<{
168
+ type: z.ZodLiteral<"telegram">;
169
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
170
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>;
171
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CensoredString<string>, CensoredString<string>>]>, z.ZodTransform<CensoredString<string>, string | CensoredString<string>>>>;
172
+ prefix: z.ZodOptional<z.ZodString>;
173
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
174
+ }, z.core.$strip>)[]], "type">>>>;
175
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
176
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
177
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
178
+ appName: z.ZodDefault<z.ZodString>;
179
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
180
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
181
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
183
+ reason: z.ZodDefault<z.ZodString>;
184
+ contractType: z.ZodOptional<z.ZodString>;
185
+ expiresAt: z.ZodOptional<z.ZodNumber>;
186
+ }, z.core.$strip>>>;
187
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
188
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
189
+ castBin: z.ZodOptional<z.ZodString>;
190
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
191
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
192
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
193
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
194
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<CensoredString<`0x${string}`>, `0x${string}`>>>;
195
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
196
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
197
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
198
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
199
+ liquidationMode: z.ZodDefault<z.ZodEnum<{
200
+ batch: "batch";
201
+ deleverage: "deleverage";
202
+ full: "full";
203
+ partial: "partial";
204
+ }>>;
205
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
206
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
207
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
208
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
209
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
210
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
211
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
212
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
213
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
214
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
215
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
216
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
217
+ outDir: z.ZodDefault<z.ZodString>;
218
+ outEndpoint: z.ZodOptional<z.ZodURL>;
219
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<CensoredString<string>, string>>;
220
+ outS3Bucket: z.ZodOptional<z.ZodString>;
221
+ outS3Prefix: z.ZodDefault<z.ZodString>;
222
+ outFileName: z.ZodOptional<z.ZodString>;
224
223
  }, z.core.$strip>;
225
224
  type CommonSchema = z.infer<typeof CommonSchema>;
226
-
225
+ //#endregion
226
+ //#region src/schema.d.ts
227
227
  declare const ConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
- liquidationMode: z.ZodLiteral<"full">;
229
- debtPolicy: z.ZodDefault<z.ZodEnum<{
230
- full: "full";
231
- "debt-only": "debt-only";
232
- "debt-expired": "debt-expired";
233
- }>>;
234
- strategy: z.ZodDefault<z.ZodEnum<{
235
- full: "full";
236
- auto: "auto";
237
- rwa: "rwa";
238
- loss: "loss";
239
- }>>;
240
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
241
- type: z.ZodLiteral<"slack">;
242
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
243
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
244
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
245
- }, z.core.$strip> | z.ZodObject<{
246
- type: z.ZodLiteral<"telegram">;
247
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
248
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
249
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
250
- prefix: z.ZodOptional<z.ZodString>;
251
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
252
- }, z.core.$strip>, ...(z.ZodObject<{
253
- type: z.ZodLiteral<"slack">;
254
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
255
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
256
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
257
- }, z.core.$strip> | z.ZodObject<{
258
- type: z.ZodLiteral<"telegram">;
259
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
260
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
261
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
262
- prefix: z.ZodOptional<z.ZodString>;
263
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
264
- }, z.core.$strip>)[]], "type">>>>;
265
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
266
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
267
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
268
- appName: z.ZodDefault<z.ZodString>;
269
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
270
- whitelistUrl: z.ZodOptional<z.ZodURL>;
271
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
272
- reason: z.ZodDefault<z.ZodString>;
273
- expiresAt: z.ZodOptional<z.ZodNumber>;
274
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
275
- contractType: z.ZodOptional<z.ZodString>;
276
- }, z.core.$strip>>>;
277
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
278
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
279
- castBin: z.ZodOptional<z.ZodString>;
280
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
281
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
282
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
283
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
284
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
285
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
286
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
287
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
288
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
289
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
290
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
291
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
292
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
293
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
294
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
295
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
296
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
297
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
298
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
299
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
300
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
301
- outDir: z.ZodDefault<z.ZodString>;
302
- outEndpoint: z.ZodOptional<z.ZodURL>;
303
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
304
- outS3Bucket: z.ZodOptional<z.ZodString>;
305
- outS3Prefix: z.ZodDefault<z.ZodString>;
306
- outFileName: z.ZodOptional<z.ZodString>;
307
- network: z.ZodEnum<{
308
- Mainnet: "Mainnet";
309
- Arbitrum: "Arbitrum";
310
- Optimism: "Optimism";
311
- Base: "Base";
312
- Sonic: "Sonic";
313
- MegaETH: "MegaETH";
314
- Monad: "Monad";
315
- Berachain: "Berachain";
316
- Avalanche: "Avalanche";
317
- BNB: "BNB";
318
- WorldChain: "WorldChain";
319
- Etherlink: "Etherlink";
320
- Hemi: "Hemi";
321
- Lisk: "Lisk";
322
- Plasma: "Plasma";
323
- Somnia: "Somnia";
324
- }>;
325
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
326
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
327
- custom: "custom";
328
- alchemy: "alchemy";
329
- drpc: "drpc";
330
- ankr: "ankr";
331
- thirdweb: "thirdweb";
332
- erpc: "erpc";
333
- }>>>>;
334
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
335
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
336
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
337
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
338
- erpcProjectId: z.ZodOptional<z.ZodString>;
339
- erpcUrl: z.ZodDefault<z.ZodURL>;
340
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
228
+ network: z.ZodEnum<{
229
+ Arbitrum: "Arbitrum";
230
+ Avalanche: "Avalanche";
231
+ BNB: "BNB";
232
+ Base: "Base";
233
+ Berachain: "Berachain";
234
+ Etherlink: "Etherlink";
235
+ Hemi: "Hemi";
236
+ Lisk: "Lisk";
237
+ Mainnet: "Mainnet";
238
+ MegaETH: "MegaETH";
239
+ Monad: "Monad";
240
+ Optimism: "Optimism";
241
+ Plasma: "Plasma";
242
+ Somnia: "Somnia";
243
+ Sonic: "Sonic";
244
+ WorldChain: "WorldChain";
245
+ }>;
246
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
247
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
248
+ alchemy: "alchemy";
249
+ ankr: "ankr";
250
+ custom: "custom";
251
+ drpc: "drpc";
252
+ erpc: "erpc";
253
+ thirdweb: "thirdweb";
254
+ }>>>>;
255
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
256
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
257
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
258
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
259
+ erpcProjectId: z.ZodOptional<z.ZodString>;
260
+ erpcUrl: z.ZodDefault<z.ZodURL>;
261
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
262
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ type: z.ZodLiteral<"slack">;
264
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
265
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
266
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
267
+ }, z.core.$strip> | z.ZodObject<{
268
+ type: z.ZodLiteral<"telegram">;
269
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
270
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
271
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
272
+ prefix: z.ZodOptional<z.ZodString>;
273
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
274
+ }, z.core.$strip>, ...(z.ZodObject<{
275
+ type: z.ZodLiteral<"slack">;
276
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
277
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
278
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
279
+ }, z.core.$strip> | z.ZodObject<{
280
+ type: z.ZodLiteral<"telegram">;
281
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
282
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
283
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
284
+ prefix: z.ZodOptional<z.ZodString>;
285
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
286
+ }, z.core.$strip>)[]], "type">>>>;
287
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
288
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
289
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
290
+ appName: z.ZodDefault<z.ZodString>;
291
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
292
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
293
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
295
+ reason: z.ZodDefault<z.ZodString>;
296
+ contractType: z.ZodOptional<z.ZodString>;
297
+ expiresAt: z.ZodOptional<z.ZodNumber>;
298
+ }, z.core.$strip>>>;
299
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
300
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
301
+ castBin: z.ZodOptional<z.ZodString>;
302
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
303
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
304
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
305
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
306
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
307
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
308
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
309
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
310
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
311
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
312
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
313
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
314
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
315
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
316
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
317
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
318
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
319
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
320
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
321
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
322
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
323
+ outDir: z.ZodDefault<z.ZodString>;
324
+ outEndpoint: z.ZodOptional<z.ZodURL>;
325
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
326
+ outS3Bucket: z.ZodOptional<z.ZodString>;
327
+ outS3Prefix: z.ZodDefault<z.ZodString>;
328
+ outFileName: z.ZodOptional<z.ZodString>;
329
+ liquidationMode: z.ZodLiteral<"full">;
330
+ debtPolicy: z.ZodDefault<z.ZodEnum<{
331
+ "debt-expired": "debt-expired";
332
+ "debt-only": "debt-only";
333
+ full: "full";
334
+ }>>;
335
+ strategy: z.ZodDefault<z.ZodEnum<{
336
+ auto: "auto";
337
+ full: "full";
338
+ loss: "loss";
339
+ rwa: "rwa";
340
+ }>>;
341
341
  }, z.core.$strip>, z.ZodObject<{
342
- liquidationMode: z.ZodLiteral<"partial">;
343
- partialFallback: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
344
- targetPartialHF: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
345
- calculatePartialHF: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
346
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
- type: z.ZodLiteral<"slack">;
348
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
349
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
350
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
351
- }, z.core.$strip> | z.ZodObject<{
352
- type: z.ZodLiteral<"telegram">;
353
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
354
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
355
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
356
- prefix: z.ZodOptional<z.ZodString>;
357
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
358
- }, z.core.$strip>, ...(z.ZodObject<{
359
- type: z.ZodLiteral<"slack">;
360
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
361
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
362
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
363
- }, z.core.$strip> | z.ZodObject<{
364
- type: z.ZodLiteral<"telegram">;
365
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
366
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
367
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
368
- prefix: z.ZodOptional<z.ZodString>;
369
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
370
- }, z.core.$strip>)[]], "type">>>>;
371
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
372
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
373
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
374
- appName: z.ZodDefault<z.ZodString>;
375
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
376
- whitelistUrl: z.ZodOptional<z.ZodURL>;
377
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
- reason: z.ZodDefault<z.ZodString>;
379
- expiresAt: z.ZodOptional<z.ZodNumber>;
380
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
381
- contractType: z.ZodOptional<z.ZodString>;
382
- }, z.core.$strip>>>;
383
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
384
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
385
- castBin: z.ZodOptional<z.ZodString>;
386
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
387
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
388
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
389
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
390
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
391
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
392
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
393
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
394
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
395
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
396
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
397
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
398
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
399
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
400
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
401
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
402
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
403
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
404
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
405
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
406
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
407
- outDir: z.ZodDefault<z.ZodString>;
408
- outEndpoint: z.ZodOptional<z.ZodURL>;
409
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
410
- outS3Bucket: z.ZodOptional<z.ZodString>;
411
- outS3Prefix: z.ZodDefault<z.ZodString>;
412
- outFileName: z.ZodOptional<z.ZodString>;
413
- network: z.ZodEnum<{
414
- Mainnet: "Mainnet";
415
- Arbitrum: "Arbitrum";
416
- Optimism: "Optimism";
417
- Base: "Base";
418
- Sonic: "Sonic";
419
- MegaETH: "MegaETH";
420
- Monad: "Monad";
421
- Berachain: "Berachain";
422
- Avalanche: "Avalanche";
423
- BNB: "BNB";
424
- WorldChain: "WorldChain";
425
- Etherlink: "Etherlink";
426
- Hemi: "Hemi";
427
- Lisk: "Lisk";
428
- Plasma: "Plasma";
429
- Somnia: "Somnia";
430
- }>;
431
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
432
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
433
- custom: "custom";
434
- alchemy: "alchemy";
435
- drpc: "drpc";
436
- ankr: "ankr";
437
- thirdweb: "thirdweb";
438
- erpc: "erpc";
439
- }>>>>;
440
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
441
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
442
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
443
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
444
- erpcProjectId: z.ZodOptional<z.ZodString>;
445
- erpcUrl: z.ZodDefault<z.ZodURL>;
446
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
342
+ network: z.ZodEnum<{
343
+ Arbitrum: "Arbitrum";
344
+ Avalanche: "Avalanche";
345
+ BNB: "BNB";
346
+ Base: "Base";
347
+ Berachain: "Berachain";
348
+ Etherlink: "Etherlink";
349
+ Hemi: "Hemi";
350
+ Lisk: "Lisk";
351
+ Mainnet: "Mainnet";
352
+ MegaETH: "MegaETH";
353
+ Monad: "Monad";
354
+ Optimism: "Optimism";
355
+ Plasma: "Plasma";
356
+ Somnia: "Somnia";
357
+ Sonic: "Sonic";
358
+ WorldChain: "WorldChain";
359
+ }>;
360
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
361
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
362
+ alchemy: "alchemy";
363
+ ankr: "ankr";
364
+ custom: "custom";
365
+ drpc: "drpc";
366
+ erpc: "erpc";
367
+ thirdweb: "thirdweb";
368
+ }>>>>;
369
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
370
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
371
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
372
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
373
+ erpcProjectId: z.ZodOptional<z.ZodString>;
374
+ erpcUrl: z.ZodDefault<z.ZodURL>;
375
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
376
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
377
+ type: z.ZodLiteral<"slack">;
378
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
379
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
380
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
381
+ }, z.core.$strip> | z.ZodObject<{
382
+ type: z.ZodLiteral<"telegram">;
383
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
384
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
385
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
386
+ prefix: z.ZodOptional<z.ZodString>;
387
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
388
+ }, z.core.$strip>, ...(z.ZodObject<{
389
+ type: z.ZodLiteral<"slack">;
390
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
391
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
392
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
393
+ }, z.core.$strip> | z.ZodObject<{
394
+ type: z.ZodLiteral<"telegram">;
395
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
396
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
397
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
398
+ prefix: z.ZodOptional<z.ZodString>;
399
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
400
+ }, z.core.$strip>)[]], "type">>>>;
401
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
402
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
403
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
404
+ appName: z.ZodDefault<z.ZodString>;
405
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
406
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
407
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
408
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
409
+ reason: z.ZodDefault<z.ZodString>;
410
+ contractType: z.ZodOptional<z.ZodString>;
411
+ expiresAt: z.ZodOptional<z.ZodNumber>;
412
+ }, z.core.$strip>>>;
413
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
414
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
415
+ castBin: z.ZodOptional<z.ZodString>;
416
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
417
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
418
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
419
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
420
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
421
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
422
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
423
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
424
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
425
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
426
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
427
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
428
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
429
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
430
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
431
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
432
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
433
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
434
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
435
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
436
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
437
+ outDir: z.ZodDefault<z.ZodString>;
438
+ outEndpoint: z.ZodOptional<z.ZodURL>;
439
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
440
+ outS3Bucket: z.ZodOptional<z.ZodString>;
441
+ outS3Prefix: z.ZodDefault<z.ZodString>;
442
+ outFileName: z.ZodOptional<z.ZodString>;
443
+ liquidationMode: z.ZodLiteral<"partial">;
444
+ partialFallback: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
445
+ targetPartialHF: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
446
+ calculatePartialHF: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
447
447
  }, z.core.$strip>, z.ZodObject<{
448
- liquidationMode: z.ZodLiteral<"batch">;
449
- batchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
450
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
451
- type: z.ZodLiteral<"slack">;
452
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
453
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
454
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
455
- }, z.core.$strip> | z.ZodObject<{
456
- type: z.ZodLiteral<"telegram">;
457
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
458
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
459
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
460
- prefix: z.ZodOptional<z.ZodString>;
461
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
462
- }, z.core.$strip>, ...(z.ZodObject<{
463
- type: z.ZodLiteral<"slack">;
464
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
465
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
466
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
467
- }, z.core.$strip> | z.ZodObject<{
468
- type: z.ZodLiteral<"telegram">;
469
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
470
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
471
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
472
- prefix: z.ZodOptional<z.ZodString>;
473
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
474
- }, z.core.$strip>)[]], "type">>>>;
475
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
476
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
477
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
478
- appName: z.ZodDefault<z.ZodString>;
479
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
480
- whitelistUrl: z.ZodOptional<z.ZodURL>;
481
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
482
- reason: z.ZodDefault<z.ZodString>;
483
- expiresAt: z.ZodOptional<z.ZodNumber>;
484
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
485
- contractType: z.ZodOptional<z.ZodString>;
486
- }, z.core.$strip>>>;
487
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
488
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
489
- castBin: z.ZodOptional<z.ZodString>;
490
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
491
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
492
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
493
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
494
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
495
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
496
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
497
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
498
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
499
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
500
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
501
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
502
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
503
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
504
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
505
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
506
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
507
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
508
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
509
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
510
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
511
- outDir: z.ZodDefault<z.ZodString>;
512
- outEndpoint: z.ZodOptional<z.ZodURL>;
513
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
514
- outS3Bucket: z.ZodOptional<z.ZodString>;
515
- outS3Prefix: z.ZodDefault<z.ZodString>;
516
- outFileName: z.ZodOptional<z.ZodString>;
517
- network: z.ZodEnum<{
518
- Mainnet: "Mainnet";
519
- Arbitrum: "Arbitrum";
520
- Optimism: "Optimism";
521
- Base: "Base";
522
- Sonic: "Sonic";
523
- MegaETH: "MegaETH";
524
- Monad: "Monad";
525
- Berachain: "Berachain";
526
- Avalanche: "Avalanche";
527
- BNB: "BNB";
528
- WorldChain: "WorldChain";
529
- Etherlink: "Etherlink";
530
- Hemi: "Hemi";
531
- Lisk: "Lisk";
532
- Plasma: "Plasma";
533
- Somnia: "Somnia";
534
- }>;
535
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
536
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
537
- custom: "custom";
538
- alchemy: "alchemy";
539
- drpc: "drpc";
540
- ankr: "ankr";
541
- thirdweb: "thirdweb";
542
- erpc: "erpc";
543
- }>>>>;
544
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
545
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
546
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
547
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
548
- erpcProjectId: z.ZodOptional<z.ZodString>;
549
- erpcUrl: z.ZodDefault<z.ZodURL>;
550
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
448
+ network: z.ZodEnum<{
449
+ Arbitrum: "Arbitrum";
450
+ Avalanche: "Avalanche";
451
+ BNB: "BNB";
452
+ Base: "Base";
453
+ Berachain: "Berachain";
454
+ Etherlink: "Etherlink";
455
+ Hemi: "Hemi";
456
+ Lisk: "Lisk";
457
+ Mainnet: "Mainnet";
458
+ MegaETH: "MegaETH";
459
+ Monad: "Monad";
460
+ Optimism: "Optimism";
461
+ Plasma: "Plasma";
462
+ Somnia: "Somnia";
463
+ Sonic: "Sonic";
464
+ WorldChain: "WorldChain";
465
+ }>;
466
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
467
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
468
+ alchemy: "alchemy";
469
+ ankr: "ankr";
470
+ custom: "custom";
471
+ drpc: "drpc";
472
+ erpc: "erpc";
473
+ thirdweb: "thirdweb";
474
+ }>>>>;
475
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
476
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
477
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
478
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
479
+ erpcProjectId: z.ZodOptional<z.ZodString>;
480
+ erpcUrl: z.ZodDefault<z.ZodURL>;
481
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
482
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
483
+ type: z.ZodLiteral<"slack">;
484
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
485
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
486
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
487
+ }, z.core.$strip> | z.ZodObject<{
488
+ type: z.ZodLiteral<"telegram">;
489
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
490
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
491
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
492
+ prefix: z.ZodOptional<z.ZodString>;
493
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
494
+ }, z.core.$strip>, ...(z.ZodObject<{
495
+ type: z.ZodLiteral<"slack">;
496
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
497
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
498
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
499
+ }, z.core.$strip> | z.ZodObject<{
500
+ type: z.ZodLiteral<"telegram">;
501
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
502
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
503
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
504
+ prefix: z.ZodOptional<z.ZodString>;
505
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
506
+ }, z.core.$strip>)[]], "type">>>>;
507
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
508
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
509
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
510
+ appName: z.ZodDefault<z.ZodString>;
511
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
512
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
513
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
514
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
515
+ reason: z.ZodDefault<z.ZodString>;
516
+ contractType: z.ZodOptional<z.ZodString>;
517
+ expiresAt: z.ZodOptional<z.ZodNumber>;
518
+ }, z.core.$strip>>>;
519
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
520
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
521
+ castBin: z.ZodOptional<z.ZodString>;
522
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
523
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
524
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
525
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
526
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
527
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
528
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
529
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
530
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
531
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
532
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
533
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
534
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
535
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
536
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
537
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
538
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
539
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
540
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
541
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
542
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
543
+ outDir: z.ZodDefault<z.ZodString>;
544
+ outEndpoint: z.ZodOptional<z.ZodURL>;
545
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
546
+ outS3Bucket: z.ZodOptional<z.ZodString>;
547
+ outS3Prefix: z.ZodDefault<z.ZodString>;
548
+ outFileName: z.ZodOptional<z.ZodString>;
549
+ liquidationMode: z.ZodLiteral<"batch">;
550
+ batchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
551
551
  }, z.core.$strip>, z.ZodObject<{
552
- liquidationMode: z.ZodLiteral<"deleverage">;
553
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
554
- type: z.ZodLiteral<"slack">;
555
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
556
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
557
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
558
- }, z.core.$strip> | z.ZodObject<{
559
- type: z.ZodLiteral<"telegram">;
560
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
561
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
562
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
563
- prefix: z.ZodOptional<z.ZodString>;
564
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
565
- }, z.core.$strip>, ...(z.ZodObject<{
566
- type: z.ZodLiteral<"slack">;
567
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
568
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
569
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
570
- }, z.core.$strip> | z.ZodObject<{
571
- type: z.ZodLiteral<"telegram">;
572
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
573
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
574
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
575
- prefix: z.ZodOptional<z.ZodString>;
576
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
577
- }, z.core.$strip>)[]], "type">>>>;
578
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
579
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
580
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
581
- appName: z.ZodDefault<z.ZodString>;
582
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
583
- whitelistUrl: z.ZodOptional<z.ZodURL>;
584
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
585
- reason: z.ZodDefault<z.ZodString>;
586
- expiresAt: z.ZodOptional<z.ZodNumber>;
587
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
588
- contractType: z.ZodOptional<z.ZodString>;
589
- }, z.core.$strip>>>;
590
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
591
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
592
- castBin: z.ZodOptional<z.ZodString>;
593
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
594
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
595
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
596
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
597
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
598
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
599
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
600
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
601
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
602
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
603
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
604
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
605
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
606
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
607
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
608
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
609
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
610
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
611
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
612
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
613
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
614
- outDir: z.ZodDefault<z.ZodString>;
615
- outEndpoint: z.ZodOptional<z.ZodURL>;
616
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
617
- outS3Bucket: z.ZodOptional<z.ZodString>;
618
- outS3Prefix: z.ZodDefault<z.ZodString>;
619
- outFileName: z.ZodOptional<z.ZodString>;
620
- network: z.ZodEnum<{
621
- Mainnet: "Mainnet";
622
- Arbitrum: "Arbitrum";
623
- Optimism: "Optimism";
624
- Base: "Base";
625
- Sonic: "Sonic";
626
- MegaETH: "MegaETH";
627
- Monad: "Monad";
628
- Berachain: "Berachain";
629
- Avalanche: "Avalanche";
630
- BNB: "BNB";
631
- WorldChain: "WorldChain";
632
- Etherlink: "Etherlink";
633
- Hemi: "Hemi";
634
- Lisk: "Lisk";
635
- Plasma: "Plasma";
636
- Somnia: "Somnia";
637
- }>;
638
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
639
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
640
- custom: "custom";
641
- alchemy: "alchemy";
642
- drpc: "drpc";
643
- ankr: "ankr";
644
- thirdweb: "thirdweb";
645
- erpc: "erpc";
646
- }>>>>;
647
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
648
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
649
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
650
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
651
- erpcProjectId: z.ZodOptional<z.ZodString>;
652
- erpcUrl: z.ZodDefault<z.ZodURL>;
653
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
552
+ network: z.ZodEnum<{
553
+ Arbitrum: "Arbitrum";
554
+ Avalanche: "Avalanche";
555
+ BNB: "BNB";
556
+ Base: "Base";
557
+ Berachain: "Berachain";
558
+ Etherlink: "Etherlink";
559
+ Hemi: "Hemi";
560
+ Lisk: "Lisk";
561
+ Mainnet: "Mainnet";
562
+ MegaETH: "MegaETH";
563
+ Monad: "Monad";
564
+ Optimism: "Optimism";
565
+ Plasma: "Plasma";
566
+ Somnia: "Somnia";
567
+ Sonic: "Sonic";
568
+ WorldChain: "WorldChain";
569
+ }>;
570
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
571
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
572
+ alchemy: "alchemy";
573
+ ankr: "ankr";
574
+ custom: "custom";
575
+ drpc: "drpc";
576
+ erpc: "erpc";
577
+ thirdweb: "thirdweb";
578
+ }>>>>;
579
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
580
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
581
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
582
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
583
+ erpcProjectId: z.ZodOptional<z.ZodString>;
584
+ erpcUrl: z.ZodDefault<z.ZodURL>;
585
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
586
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
587
+ type: z.ZodLiteral<"slack">;
588
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
589
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
590
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
591
+ }, z.core.$strip> | z.ZodObject<{
592
+ type: z.ZodLiteral<"telegram">;
593
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
594
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
595
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
596
+ prefix: z.ZodOptional<z.ZodString>;
597
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
598
+ }, z.core.$strip>, ...(z.ZodObject<{
599
+ type: z.ZodLiteral<"slack">;
600
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
601
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
602
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
603
+ }, z.core.$strip> | z.ZodObject<{
604
+ type: z.ZodLiteral<"telegram">;
605
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
606
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
607
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
608
+ prefix: z.ZodOptional<z.ZodString>;
609
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
610
+ }, z.core.$strip>)[]], "type">>>>;
611
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
612
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
613
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
614
+ appName: z.ZodDefault<z.ZodString>;
615
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
616
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
617
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
618
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
619
+ reason: z.ZodDefault<z.ZodString>;
620
+ contractType: z.ZodOptional<z.ZodString>;
621
+ expiresAt: z.ZodOptional<z.ZodNumber>;
622
+ }, z.core.$strip>>>;
623
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
624
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
625
+ castBin: z.ZodOptional<z.ZodString>;
626
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
627
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
628
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
629
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
630
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
631
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
632
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
633
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
634
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
635
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
636
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
637
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
638
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
639
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
640
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
641
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
642
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
643
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
644
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
645
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
646
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
647
+ outDir: z.ZodDefault<z.ZodString>;
648
+ outEndpoint: z.ZodOptional<z.ZodURL>;
649
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
650
+ outS3Bucket: z.ZodOptional<z.ZodString>;
651
+ outS3Prefix: z.ZodDefault<z.ZodString>;
652
+ outFileName: z.ZodOptional<z.ZodString>;
653
+ liquidationMode: z.ZodLiteral<"deleverage">;
654
654
  }, z.core.$strip>], "liquidationMode">;
655
655
  type ConfigSchema = z.infer<typeof ConfigSchema>;
656
-
656
+ //#endregion
657
+ //#region src/config.d.ts
657
658
  type Config = ConfigSchema & {
658
- readonly chainId: number;
659
- readonly startBlock: bigint;
659
+ readonly chainId: number;
660
+ readonly startBlock: bigint;
660
661
  };
661
662
  type LiqduiatorConfig<TSchema extends CommonSchema> = TSchema & {
662
- readonly chainId: number;
663
- readonly startBlock: bigint;
663
+ readonly chainId: number;
664
+ readonly startBlock: bigint;
664
665
  };
665
666
  declare class ConfigImplementation {
666
- #private;
667
- constructor(schema: ConfigSchema);
668
- initialize(transport: Transport): Promise<void>;
669
- get startBlock(): bigint;
670
- get chainId(): number;
667
+ #private;
668
+ constructor(schema: ConfigSchema);
669
+ initialize(transport: Transport): Promise<void>;
670
+ get startBlock(): bigint;
671
+ get chainId(): number;
671
672
  }
672
-
673
+ //#endregion
674
+ //#region src/deleverage-liquidator.d.ts
673
675
  declare const DeleverageLiquidatorSchema: z.ZodObject<{
674
- liquidationMode: z.ZodLiteral<"deleverage">;
675
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
676
- type: z.ZodLiteral<"slack">;
677
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
678
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
679
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
680
- }, z.core.$strip> | z.ZodObject<{
681
- type: z.ZodLiteral<"telegram">;
682
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
683
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
684
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
685
- prefix: z.ZodOptional<z.ZodString>;
686
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
687
- }, z.core.$strip>, ...(z.ZodObject<{
688
- type: z.ZodLiteral<"slack">;
689
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
690
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
691
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
692
- }, z.core.$strip> | z.ZodObject<{
693
- type: z.ZodLiteral<"telegram">;
694
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
695
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
696
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
697
- prefix: z.ZodOptional<z.ZodString>;
698
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
699
- }, z.core.$strip>)[]], "type">>>>;
700
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
701
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
702
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
703
- appName: z.ZodDefault<z.ZodString>;
704
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
705
- whitelistUrl: z.ZodOptional<z.ZodURL>;
706
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
707
- reason: z.ZodDefault<z.ZodString>;
708
- expiresAt: z.ZodOptional<z.ZodNumber>;
709
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
710
- contractType: z.ZodOptional<z.ZodString>;
711
- }, z.core.$strip>>>;
712
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
713
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
714
- castBin: z.ZodOptional<z.ZodString>;
715
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
716
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
717
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
718
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
719
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
720
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
721
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
722
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
723
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
724
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
725
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
726
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
727
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
728
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
729
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
730
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
731
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
732
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
733
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
734
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
735
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
736
- outDir: z.ZodDefault<z.ZodString>;
737
- outEndpoint: z.ZodOptional<z.ZodURL>;
738
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
739
- outS3Bucket: z.ZodOptional<z.ZodString>;
740
- outS3Prefix: z.ZodDefault<z.ZodString>;
741
- outFileName: z.ZodOptional<z.ZodString>;
742
- network: z.ZodEnum<{
743
- Mainnet: "Mainnet";
744
- Arbitrum: "Arbitrum";
745
- Optimism: "Optimism";
746
- Base: "Base";
747
- Sonic: "Sonic";
748
- MegaETH: "MegaETH";
749
- Monad: "Monad";
750
- Berachain: "Berachain";
751
- Avalanche: "Avalanche";
752
- BNB: "BNB";
753
- WorldChain: "WorldChain";
754
- Etherlink: "Etherlink";
755
- Hemi: "Hemi";
756
- Lisk: "Lisk";
757
- Plasma: "Plasma";
758
- Somnia: "Somnia";
759
- }>;
760
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
761
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
762
- custom: "custom";
763
- alchemy: "alchemy";
764
- drpc: "drpc";
765
- ankr: "ankr";
766
- thirdweb: "thirdweb";
767
- erpc: "erpc";
768
- }>>>>;
769
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
770
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
771
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
772
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
773
- erpcProjectId: z.ZodOptional<z.ZodString>;
774
- erpcUrl: z.ZodDefault<z.ZodURL>;
775
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
676
+ network: z.ZodEnum<{
677
+ Arbitrum: "Arbitrum";
678
+ Avalanche: "Avalanche";
679
+ BNB: "BNB";
680
+ Base: "Base";
681
+ Berachain: "Berachain";
682
+ Etherlink: "Etherlink";
683
+ Hemi: "Hemi";
684
+ Lisk: "Lisk";
685
+ Mainnet: "Mainnet";
686
+ MegaETH: "MegaETH";
687
+ Monad: "Monad";
688
+ Optimism: "Optimism";
689
+ Plasma: "Plasma";
690
+ Somnia: "Somnia";
691
+ Sonic: "Sonic";
692
+ WorldChain: "WorldChain";
693
+ }>;
694
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
695
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
696
+ alchemy: "alchemy";
697
+ ankr: "ankr";
698
+ custom: "custom";
699
+ drpc: "drpc";
700
+ erpc: "erpc";
701
+ thirdweb: "thirdweb";
702
+ }>>>>;
703
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
704
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
705
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
706
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
707
+ erpcProjectId: z.ZodOptional<z.ZodString>;
708
+ erpcUrl: z.ZodDefault<z.ZodURL>;
709
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
710
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
711
+ type: z.ZodLiteral<"slack">;
712
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
713
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
714
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
715
+ }, z.core.$strip> | z.ZodObject<{
716
+ type: z.ZodLiteral<"telegram">;
717
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
718
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
719
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
720
+ prefix: z.ZodOptional<z.ZodString>;
721
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
722
+ }, z.core.$strip>, ...(z.ZodObject<{
723
+ type: z.ZodLiteral<"slack">;
724
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
725
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
726
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
727
+ }, z.core.$strip> | z.ZodObject<{
728
+ type: z.ZodLiteral<"telegram">;
729
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
730
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
731
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
732
+ prefix: z.ZodOptional<z.ZodString>;
733
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
734
+ }, z.core.$strip>)[]], "type">>>>;
735
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
736
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
737
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
738
+ appName: z.ZodDefault<z.ZodString>;
739
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
740
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
741
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
742
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
743
+ reason: z.ZodDefault<z.ZodString>;
744
+ contractType: z.ZodOptional<z.ZodString>;
745
+ expiresAt: z.ZodOptional<z.ZodNumber>;
746
+ }, z.core.$strip>>>;
747
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
748
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
749
+ castBin: z.ZodOptional<z.ZodString>;
750
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
751
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
752
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
753
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
754
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
755
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
756
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
757
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
758
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
759
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
760
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
761
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
762
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
763
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
764
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
765
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
766
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
767
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
768
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
769
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
770
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
771
+ outDir: z.ZodDefault<z.ZodString>;
772
+ outEndpoint: z.ZodOptional<z.ZodURL>;
773
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
774
+ outS3Bucket: z.ZodOptional<z.ZodString>;
775
+ outS3Prefix: z.ZodDefault<z.ZodString>;
776
+ outFileName: z.ZodOptional<z.ZodString>;
777
+ liquidationMode: z.ZodLiteral<"deleverage">;
776
778
  }, z.core.$strip>;
777
779
  type DeleverageLiquidatorSchema = z.infer<typeof DeleverageLiquidatorSchema>;
778
-
780
+ //#endregion
781
+ //#region src/full-liquidator.d.ts
779
782
  declare const FullLiquidatorSchema: z.ZodObject<{
780
- liquidationMode: z.ZodLiteral<"full">;
781
- debtPolicy: z.ZodDefault<z.ZodEnum<{
782
- full: "full";
783
- "debt-only": "debt-only";
784
- "debt-expired": "debt-expired";
785
- }>>;
786
- strategy: z.ZodDefault<z.ZodEnum<{
787
- full: "full";
788
- auto: "auto";
789
- rwa: "rwa";
790
- loss: "loss";
791
- }>>;
792
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
793
- type: z.ZodLiteral<"slack">;
794
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
795
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
796
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
797
- }, z.core.$strip> | z.ZodObject<{
798
- type: z.ZodLiteral<"telegram">;
799
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
800
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
801
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
802
- prefix: z.ZodOptional<z.ZodString>;
803
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
804
- }, z.core.$strip>, ...(z.ZodObject<{
805
- type: z.ZodLiteral<"slack">;
806
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
807
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
808
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
809
- }, z.core.$strip> | z.ZodObject<{
810
- type: z.ZodLiteral<"telegram">;
811
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
812
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
813
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
814
- prefix: z.ZodOptional<z.ZodString>;
815
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
816
- }, z.core.$strip>)[]], "type">>>>;
817
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
818
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
819
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
820
- appName: z.ZodDefault<z.ZodString>;
821
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
822
- whitelistUrl: z.ZodOptional<z.ZodURL>;
823
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
824
- reason: z.ZodDefault<z.ZodString>;
825
- expiresAt: z.ZodOptional<z.ZodNumber>;
826
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
827
- contractType: z.ZodOptional<z.ZodString>;
828
- }, z.core.$strip>>>;
829
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
830
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
831
- castBin: z.ZodOptional<z.ZodString>;
832
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
833
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
834
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
835
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
836
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
837
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
838
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
839
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
840
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
841
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
842
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
843
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
844
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
845
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
846
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
847
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
848
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
849
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
850
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
851
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
852
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
853
- outDir: z.ZodDefault<z.ZodString>;
854
- outEndpoint: z.ZodOptional<z.ZodURL>;
855
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
856
- outS3Bucket: z.ZodOptional<z.ZodString>;
857
- outS3Prefix: z.ZodDefault<z.ZodString>;
858
- outFileName: z.ZodOptional<z.ZodString>;
859
- network: z.ZodEnum<{
860
- Mainnet: "Mainnet";
861
- Arbitrum: "Arbitrum";
862
- Optimism: "Optimism";
863
- Base: "Base";
864
- Sonic: "Sonic";
865
- MegaETH: "MegaETH";
866
- Monad: "Monad";
867
- Berachain: "Berachain";
868
- Avalanche: "Avalanche";
869
- BNB: "BNB";
870
- WorldChain: "WorldChain";
871
- Etherlink: "Etherlink";
872
- Hemi: "Hemi";
873
- Lisk: "Lisk";
874
- Plasma: "Plasma";
875
- Somnia: "Somnia";
876
- }>;
877
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
878
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
879
- custom: "custom";
880
- alchemy: "alchemy";
881
- drpc: "drpc";
882
- ankr: "ankr";
883
- thirdweb: "thirdweb";
884
- erpc: "erpc";
885
- }>>>>;
886
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
887
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
888
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
889
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
890
- erpcProjectId: z.ZodOptional<z.ZodString>;
891
- erpcUrl: z.ZodDefault<z.ZodURL>;
892
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
783
+ network: z.ZodEnum<{
784
+ Arbitrum: "Arbitrum";
785
+ Avalanche: "Avalanche";
786
+ BNB: "BNB";
787
+ Base: "Base";
788
+ Berachain: "Berachain";
789
+ Etherlink: "Etherlink";
790
+ Hemi: "Hemi";
791
+ Lisk: "Lisk";
792
+ Mainnet: "Mainnet";
793
+ MegaETH: "MegaETH";
794
+ Monad: "Monad";
795
+ Optimism: "Optimism";
796
+ Plasma: "Plasma";
797
+ Somnia: "Somnia";
798
+ Sonic: "Sonic";
799
+ WorldChain: "WorldChain";
800
+ }>;
801
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
802
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
803
+ alchemy: "alchemy";
804
+ ankr: "ankr";
805
+ custom: "custom";
806
+ drpc: "drpc";
807
+ erpc: "erpc";
808
+ thirdweb: "thirdweb";
809
+ }>>>>;
810
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
811
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
812
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
813
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
814
+ erpcProjectId: z.ZodOptional<z.ZodString>;
815
+ erpcUrl: z.ZodDefault<z.ZodURL>;
816
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
817
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
818
+ type: z.ZodLiteral<"slack">;
819
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
820
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
821
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
822
+ }, z.core.$strip> | z.ZodObject<{
823
+ type: z.ZodLiteral<"telegram">;
824
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
825
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
826
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
827
+ prefix: z.ZodOptional<z.ZodString>;
828
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
829
+ }, z.core.$strip>, ...(z.ZodObject<{
830
+ type: z.ZodLiteral<"slack">;
831
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
832
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
833
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
834
+ }, z.core.$strip> | z.ZodObject<{
835
+ type: z.ZodLiteral<"telegram">;
836
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
837
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
838
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
839
+ prefix: z.ZodOptional<z.ZodString>;
840
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
841
+ }, z.core.$strip>)[]], "type">>>>;
842
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
843
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
844
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
845
+ appName: z.ZodDefault<z.ZodString>;
846
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
847
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
848
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
849
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
850
+ reason: z.ZodDefault<z.ZodString>;
851
+ contractType: z.ZodOptional<z.ZodString>;
852
+ expiresAt: z.ZodOptional<z.ZodNumber>;
853
+ }, z.core.$strip>>>;
854
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
855
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
856
+ castBin: z.ZodOptional<z.ZodString>;
857
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
858
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
859
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
860
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
861
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
862
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
863
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
864
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
865
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
866
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
867
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
868
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
869
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
870
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
871
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
872
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
873
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
874
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
875
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
876
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
877
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
878
+ outDir: z.ZodDefault<z.ZodString>;
879
+ outEndpoint: z.ZodOptional<z.ZodURL>;
880
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
881
+ outS3Bucket: z.ZodOptional<z.ZodString>;
882
+ outS3Prefix: z.ZodDefault<z.ZodString>;
883
+ outFileName: z.ZodOptional<z.ZodString>;
884
+ liquidationMode: z.ZodLiteral<"full">;
885
+ debtPolicy: z.ZodDefault<z.ZodEnum<{
886
+ "debt-expired": "debt-expired";
887
+ "debt-only": "debt-only";
888
+ full: "full";
889
+ }>>;
890
+ strategy: z.ZodDefault<z.ZodEnum<{
891
+ auto: "auto";
892
+ full: "full";
893
+ loss: "loss";
894
+ rwa: "rwa";
895
+ }>>;
893
896
  }, z.core.$strip>;
894
897
  type FullLiquidatorSchema = z.infer<typeof FullLiquidatorSchema>;
895
-
898
+ //#endregion
899
+ //#region src/notifications.d.ts
896
900
  declare const NotificationsConfig: z.ZodObject<{
897
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
898
- type: z.ZodLiteral<"slack">;
899
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
900
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
901
- curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
902
- }, z.core.$strip> | z.ZodObject<{
903
- type: z.ZodLiteral<"telegram">;
904
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
905
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
906
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
907
- prefix: z.ZodOptional<z.ZodString>;
908
- curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
909
- }, z.core.$strip>, ...(z.ZodObject<{
910
- type: z.ZodLiteral<"slack">;
911
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
912
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
913
- curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
914
- }, z.core.$strip> | z.ZodObject<{
915
- type: z.ZodLiteral<"telegram">;
916
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
917
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
918
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
919
- prefix: z.ZodOptional<z.ZodString>;
920
- curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
921
- }, z.core.$strip>)[]], "type">>>>;
901
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
902
+ type: z.ZodLiteral<"slack">;
903
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
904
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
905
+ curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
906
+ }, z.core.$strip> | z.ZodObject<{
907
+ type: z.ZodLiteral<"telegram">;
908
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
909
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
910
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
911
+ prefix: z.ZodOptional<z.ZodString>;
912
+ curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
913
+ }, z.core.$strip>, ...(z.ZodObject<{
914
+ type: z.ZodLiteral<"slack">;
915
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
916
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
917
+ curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
918
+ }, z.core.$strip> | z.ZodObject<{
919
+ type: z.ZodLiteral<"telegram">;
920
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
921
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
922
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
923
+ prefix: z.ZodOptional<z.ZodString>;
924
+ curator: z.ZodOptional<z.ZodCustom<Curator, Curator>>;
925
+ }, z.core.$strip>)[]], "type">>>>;
922
926
  }, z.core.$strip>;
923
-
927
+ //#endregion
928
+ //#region src/optimist.d.ts
924
929
  type Numberish = number | string | bigint;
925
930
  /**
926
931
  * Discriminator for the liquidation strategy that produced an {@link OptimisticResult}.
@@ -935,28 +940,28 @@ type LiquidationStrategyKind = "full" | "loss-policy" | "rwa-via-stablecoins" |
935
940
  * stored as-is in {@link OptimisticResult}.
936
941
  */
937
942
  interface FullStrategyPreview<N extends Numberish = Numberish> {
938
- /**
939
- * Router's pre-tx estimate (`routerCloseResult.underlyingBalance`) of how much
940
- * underlying the account holds after all non-underlying collateral is swapped to
941
- * underlying: existing underlying plus the amount received from swaps.
942
- */
943
- routerAmount: N;
944
- /**
945
- * Minimum acceptable underlying amount out after applying slippage.
946
- */
947
- minAmount?: N;
948
- /**
949
- * Multicalls used to liquidate the account.
950
- */
951
- calls: readonly MultiCall[];
952
- /**
953
- * Raw liquidation transaction produced by the pathfinder.
954
- */
955
- rawTx: RawTx;
956
- /**
957
- * If true, will not attempt to liquidate this account again.
958
- */
959
- skipOnFailure?: boolean;
943
+ /**
944
+ * Router's pre-tx estimate (`routerCloseResult.underlyingBalance`) of how much
945
+ * underlying the account holds after all non-underlying collateral is swapped to
946
+ * underlying: existing underlying plus the amount received from swaps.
947
+ */
948
+ routerAmount: N;
949
+ /**
950
+ * Minimum acceptable underlying amount out after applying slippage.
951
+ */
952
+ minAmount?: N;
953
+ /**
954
+ * Multicalls used to liquidate the account.
955
+ */
956
+ calls: readonly MultiCall[];
957
+ /**
958
+ * Raw liquidation transaction produced by the pathfinder.
959
+ */
960
+ rawTx: RawTx;
961
+ /**
962
+ * If true, will not attempt to liquidate this account again.
963
+ */
964
+ skipOnFailure?: boolean;
960
965
  }
961
966
  /**
962
967
  * Preview data shared by partial and deleverage strategies. Carries the
@@ -964,218 +969,216 @@ interface FullStrategyPreview<N extends Numberish = Numberish> {
964
969
  * and send the liquidation tx; these are stored as-is in {@link OptimisticResult}.
965
970
  */
966
971
  interface PartialStrategyPreview<N extends Numberish = Numberish> {
967
- /**
968
- * Token taken out of the account in exchange for repaying part of the debt.
969
- */
970
- assetOut: Address;
971
- /**
972
- * Amount of {@link assetOut} taken out of the account.
973
- */
974
- amountOut: N;
975
- /**
976
- * Flash loan amount used to repay the debt during partial liquidation.
977
- */
978
- flashLoanAmount: N;
979
- /**
980
- * Partial-liquidator contract's previewed profit in underlying token
981
- * (`previewPartialLiquidation().profit`).
982
- */
983
- previewedProfit: N;
984
- /**
985
- * On-demand (redstone) price updates included in the liquidation call.
986
- */
987
- priceUpdates: PriceUpdate[];
988
- /**
989
- * Multicalls used to liquidate the account.
990
- */
991
- calls: readonly MultiCall[];
992
- /**
993
- * If true, will not attempt to liquidate this account again.
994
- */
995
- skipOnFailure?: boolean;
972
+ /**
973
+ * Token taken out of the account in exchange for repaying part of the debt.
974
+ */
975
+ assetOut: Address;
976
+ /**
977
+ * Amount of {@link assetOut} taken out of the account.
978
+ */
979
+ amountOut: N;
980
+ /**
981
+ * Flash loan amount used to repay the debt during partial liquidation.
982
+ */
983
+ flashLoanAmount: N;
984
+ /**
985
+ * Partial-liquidator contract's previewed profit in underlying token
986
+ * (`previewPartialLiquidation().profit`).
987
+ */
988
+ previewedProfit: N;
989
+ /**
990
+ * On-demand (redstone) price updates included in the liquidation call.
991
+ */
992
+ priceUpdates: PriceUpdate[];
993
+ /**
994
+ * Multicalls used to liquidate the account.
995
+ */
996
+ calls: readonly MultiCall[];
997
+ /**
998
+ * If true, will not attempt to liquidate this account again.
999
+ */
1000
+ skipOnFailure?: boolean;
996
1001
  }
997
1002
  interface RwaStrategyPreview {
998
- /**
999
- * Securitize redemption gateway used during liquidation.
1000
- */
1001
- redemptionGateway: Address;
1002
- /**
1003
- * On-demand (redstone) price updates included in the liquidation call.
1004
- */
1005
- priceUpdates: PriceUpdate[];
1006
- /**
1007
- * Multicalls used to liquidate the account.
1008
- */
1009
- calls: readonly MultiCall[];
1010
- /**
1011
- * If true, will not attempt to liquidate this account again.
1012
- */
1013
- skipOnFailure?: boolean;
1003
+ /**
1004
+ * Securitize redemption gateway used during liquidation.
1005
+ */
1006
+ redemptionGateway: Address;
1007
+ /**
1008
+ * On-demand (redstone) price updates included in the liquidation call.
1009
+ */
1010
+ priceUpdates: PriceUpdate[];
1011
+ /**
1012
+ * Multicalls used to liquidate the account.
1013
+ */
1014
+ calls: readonly MultiCall[];
1015
+ /**
1016
+ * If true, will not attempt to liquidate this account again.
1017
+ */
1018
+ skipOnFailure?: boolean;
1014
1019
  }
1015
1020
  interface LossPolicyStrategySetup<N extends Numberish = Numberish> {
1016
- /**
1017
- * Amount the account debt was artificially increased by.
1018
- */
1019
- inducedDebtIncrease: N;
1020
- /**
1021
- * Resulting account debt after the artificial increase.
1022
- */
1023
- newDebt: N;
1021
+ /**
1022
+ * Amount the account debt was artificially increased by.
1023
+ */
1024
+ inducedDebtIncrease: N;
1025
+ /**
1026
+ * Resulting account debt after the artificial increase.
1027
+ */
1028
+ newDebt: N;
1024
1029
  }
1025
1030
  interface PartialStrategySetup<N extends Numberish = Numberish> {
1026
- /**
1027
- * Mapping token address -> [old LT, new LT]
1028
- */
1029
- ltChanges?: Record<Address, [ltOld: N, ltNew: N]> | null;
1030
- /**
1031
- * Account health factor after changing LTs
1032
- */
1033
- hfNew: N;
1031
+ /**
1032
+ * Mapping token address -> [old LT, new LT]
1033
+ */
1034
+ ltChanges?: Record<Address, [ltOld: N, ltNew: N]> | null;
1035
+ /**
1036
+ * Account health factor after changing LTs
1037
+ */
1038
+ hfNew: N;
1034
1039
  }
1035
1040
  interface DeleverageStrategySetup<N extends Numberish = Numberish> extends PartialStrategySetup<N> {
1036
- /**
1037
- * True when deleverage bot permissions were force-enabled on the account
1038
- * (false when relying on the production scanner).
1039
- */
1040
- botForceEnabled: boolean;
1041
+ /**
1042
+ * True when deleverage bot permissions were force-enabled on the account
1043
+ * (false when relying on the production scanner).
1044
+ */
1045
+ botForceEnabled: boolean;
1041
1046
  }
1042
1047
  interface RwaStrategySetup {
1043
- /**
1044
- * Securitize redemption gateway used to redeem the RWA collateral.
1045
- */
1046
- redemptionGateway: Address;
1047
- /**
1048
- * Investor account that owns the RWA position being redeemed.
1049
- */
1050
- investor?: Address;
1048
+ /**
1049
+ * Securitize redemption gateway used to redeem the RWA collateral.
1050
+ */
1051
+ redemptionGateway: Address;
1052
+ /**
1053
+ * Investor account that owns the RWA position being redeemed.
1054
+ */
1055
+ investor?: Address;
1051
1056
  }
1052
1057
  /**
1053
1058
  * Maps each {@link LiquidationStrategyKind} to its preview shape.
1054
1059
  * `none` has no preview.
1055
1060
  */
1056
1061
  interface StrategyPreviews<N extends Numberish = Numberish> {
1057
- full: FullStrategyPreview<N>;
1058
- "loss-policy": FullStrategyPreview<N>;
1059
- partial: PartialStrategyPreview<N>;
1060
- deleverage: PartialStrategyPreview<N>;
1061
- "rwa-via-stablecoins": RwaStrategyPreview;
1062
- none: never;
1062
+ full: FullStrategyPreview<N>;
1063
+ "loss-policy": FullStrategyPreview<N>;
1064
+ partial: PartialStrategyPreview<N>;
1065
+ deleverage: PartialStrategyPreview<N>;
1066
+ "rwa-via-stablecoins": RwaStrategyPreview;
1067
+ none: never;
1063
1068
  }
1064
1069
  /**
1065
1070
  * Maps each {@link LiquidationStrategyKind} to its `setup` shape (how the account
1066
1071
  * was made liquidatable). `full`/`none` have no setup.
1067
1072
  */
1068
1073
  interface StrategySetups<N extends Numberish = Numberish> {
1069
- full: never;
1070
- "loss-policy": LossPolicyStrategySetup<N>;
1071
- partial: PartialStrategySetup<N>;
1072
- deleverage: DeleverageStrategySetup<N>;
1073
- "rwa-via-stablecoins": RwaStrategySetup;
1074
- none: never;
1074
+ full: never;
1075
+ "loss-policy": LossPolicyStrategySetup<N>;
1076
+ partial: PartialStrategySetup<N>;
1077
+ deleverage: DeleverageStrategySetup<N>;
1078
+ "rwa-via-stablecoins": RwaStrategySetup;
1079
+ none: never;
1075
1080
  }
1076
1081
  /**
1077
1082
  * Fields shared by every {@link OptimisticResult}, independent of strategy.
1078
1083
  */
1079
1084
  interface OptimisticResultBase<N extends Numberish = Numberish> {
1080
- /**
1081
- * Credit Manager address
1082
- */
1083
- creditManager: Address;
1084
- /**
1085
- * Borrower address
1086
- */
1087
- borrower: Address;
1088
- /**
1089
- * Credit account address
1090
- */
1091
- account: Address;
1092
- /**
1093
- * Gas used for liquidation from tx recepit
1094
- */
1095
- gasUsed: N;
1096
- /**
1097
- * Multicalls used as parameter in liquidateCreditAccount function
1098
- * Can be null or undfined in case of error
1099
- */
1100
- calls?: MultiCall[] | null;
1101
- /**
1102
- * Realized change in the premium receiver's underlying token balance across the
1103
- * liquidation tx (`underlyingAfter - underlyingBefore`). This is the underlying
1104
- * the liquidator actually pocketed. Measured (not estimated).
1105
- */
1106
- liquidatorPremium: N;
1107
- /**
1108
- * Native token (ETH) spent by the executor across the real liquidation tx
1109
- * (`ethBefore - ethAfter`), stored as a positive value. In practice this is the
1110
- * gas paid, since the liquidation premium is received in the underlying token
1111
- * rather than in native token (no underlying->native swap happens here).
1112
- */
1113
- gasCost: N;
1114
- /**
1115
- * True if errors accrued
1116
- */
1117
- isError: boolean;
1118
- /**
1119
- * How much time it took to liquidate this account (ms)
1120
- */
1121
- duration?: number;
1122
- /**
1123
- * Parsed version of calls
1124
- * Reason why we do it here is that parser is available in gearbox SDK only, which uses ethers-5 and cannot be imported in other places
1125
- * This field is not available in all the liquidators
1126
- */
1127
- callsHuman?: string[] | null;
1128
- /**
1129
- * Token balances before liquidation
1130
- */
1131
- balancesBefore: Record<Address, N>;
1132
- /**
1133
- * Token after (partial) liquidation
1134
- */
1135
- balancesAfter: Record<Address, N>;
1136
- /**
1137
- * Health factor before liquidation
1138
- */
1139
- hfBefore: N;
1140
- /**
1141
- * Health factor after (partial) liquidation
1142
- */
1143
- hfAfter: N;
1144
- /**
1145
- * Error occured during liquidation
1146
- */
1147
- error?: string;
1148
- /**
1149
- * In case of error, cast call --trace ansii file name
1150
- */
1151
- traceFile?: string;
1152
- /**
1153
- * In case when account are liquidated in batches
1154
- */
1155
- batchId?: string;
1156
- /**
1157
- * Track identifier. Defaults to the strategy kind in the liquidator; the
1158
- * optimistic runner (apps/optimist) overwrites it with the actual track id,
1159
- * so several tracks can share one strategy.
1160
- */
1161
- trackId: string;
1085
+ /**
1086
+ * Credit Manager address
1087
+ */
1088
+ creditManager: Address;
1089
+ /**
1090
+ * Borrower address
1091
+ */
1092
+ borrower: Address;
1093
+ /**
1094
+ * Credit account address
1095
+ */
1096
+ account: Address;
1097
+ /**
1098
+ * Gas used for liquidation from tx recepit
1099
+ */
1100
+ gasUsed: N;
1101
+ /**
1102
+ * Multicalls used as parameter in liquidateCreditAccount function
1103
+ * Can be null or undfined in case of error
1104
+ */
1105
+ calls?: MultiCall[] | null;
1106
+ /**
1107
+ * Realized change in the premium receiver's underlying token balance across the
1108
+ * liquidation tx (`underlyingAfter - underlyingBefore`). This is the underlying
1109
+ * the liquidator actually pocketed. Measured (not estimated).
1110
+ */
1111
+ liquidatorPremium: N;
1112
+ /**
1113
+ * Native token (ETH) spent by the executor across the real liquidation tx
1114
+ * (`ethBefore - ethAfter`), stored as a positive value. In practice this is the
1115
+ * gas paid, since the liquidation premium is received in the underlying token
1116
+ * rather than in native token (no underlying->native swap happens here).
1117
+ */
1118
+ gasCost: N;
1119
+ /**
1120
+ * True if errors accrued
1121
+ */
1122
+ isError: boolean;
1123
+ /**
1124
+ * How much time it took to liquidate this account (ms)
1125
+ */
1126
+ duration?: number;
1127
+ /**
1128
+ * Parsed version of calls
1129
+ * Reason why we do it here is that parser is available in gearbox SDK only, which uses ethers-5 and cannot be imported in other places
1130
+ * This field is not available in all the liquidators
1131
+ */
1132
+ callsHuman?: string[] | null;
1133
+ /**
1134
+ * Token balances before liquidation
1135
+ */
1136
+ balancesBefore: Record<Address, N>;
1137
+ /**
1138
+ * Token after (partial) liquidation
1139
+ */
1140
+ balancesAfter: Record<Address, N>;
1141
+ /**
1142
+ * Health factor before liquidation
1143
+ */
1144
+ hfBefore: N;
1145
+ /**
1146
+ * Health factor after (partial) liquidation
1147
+ */
1148
+ hfAfter: N;
1149
+ /**
1150
+ * Error occured during liquidation
1151
+ */
1152
+ error?: string;
1153
+ /**
1154
+ * In case of error, cast call --trace ansii file name
1155
+ */
1156
+ traceFile?: string;
1157
+ /**
1158
+ * In case when account are liquidated in batches
1159
+ */
1160
+ batchId?: string;
1161
+ /**
1162
+ * Track identifier. Defaults to the strategy kind in the liquidator; the
1163
+ * optimistic runner (apps/optimist) overwrites it with the actual track id,
1164
+ * so several tracks can share one strategy.
1165
+ */
1166
+ trackId: string;
1162
1167
  }
1163
- type OptimisticResultByKind<N extends Numberish = Numberish> = {
1164
- [K in LiquidationStrategyKind]: OptimisticResultBase<N> & {
1165
- /**
1166
- * Strategy that produced this result.
1167
- */
1168
- strategy: K;
1169
- /**
1170
- * Strategy-specific setup that made the account liquidatable.
1171
- */
1172
- setup?: StrategySetups<N>[K];
1173
- /**
1174
- * Strategy-specific liquidation preview.
1175
- */
1176
- preview?: StrategyPreviews<N>[K];
1177
- };
1178
- };
1168
+ type OptimisticResultByKind<N extends Numberish = Numberish> = { [K in LiquidationStrategyKind]: OptimisticResultBase<N> & {
1169
+ /**
1170
+ * Strategy that produced this result.
1171
+ */
1172
+ strategy: K;
1173
+ /**
1174
+ * Strategy-specific setup that made the account liquidatable.
1175
+ */
1176
+ setup?: StrategySetups<N>[K];
1177
+ /**
1178
+ * Strategy-specific liquidation preview.
1179
+ */
1180
+ preview?: StrategyPreviews<N>[K];
1181
+ }; };
1179
1182
  /**
1180
1183
  * Optimistic liquidation result format, shared by all liquidators.
1181
1184
  *
@@ -1184,159 +1187,162 @@ type OptimisticResultByKind<N extends Numberish = Numberish> = {
1184
1187
  * `OptimisticResult<bigint, "partial">`) to pin one variant.
1185
1188
  */
1186
1189
  type OptimisticResult<N extends Numberish = Numberish, K extends LiquidationStrategyKind = LiquidationStrategyKind> = OptimisticResultByKind<N>[K];
1187
-
1190
+ //#endregion
1191
+ //#region src/partial-liquidator.d.ts
1188
1192
  declare const PartialLiquidatorSchema: z.ZodObject<{
1189
- liquidationMode: z.ZodLiteral<"partial">;
1190
- partialFallback: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1191
- targetPartialHF: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1192
- calculatePartialHF: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1193
- notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1194
- type: z.ZodLiteral<"slack">;
1195
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1196
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1197
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
1198
- }, z.core.$strip> | z.ZodObject<{
1199
- type: z.ZodLiteral<"telegram">;
1200
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1201
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1202
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
1203
- prefix: z.ZodOptional<z.ZodString>;
1204
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
1205
- }, z.core.$strip>, ...(z.ZodObject<{
1206
- type: z.ZodLiteral<"slack">;
1207
- webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1208
- alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1209
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
1210
- }, z.core.$strip> | z.ZodObject<{
1211
- type: z.ZodLiteral<"telegram">;
1212
- token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1213
- alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>;
1214
- notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<_gearbox_protocol_cli_utils.CensoredString<string>, _gearbox_protocol_cli_utils.CensoredString<string>>]>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string | _gearbox_protocol_cli_utils.CensoredString<string>>>>;
1215
- prefix: z.ZodOptional<z.ZodString>;
1216
- curator: z.ZodOptional<z.ZodCustom<_gearbox_protocol_sdk.Curator, _gearbox_protocol_sdk.Curator>>;
1217
- }, z.core.$strip>)[]], "type">>>>;
1218
- addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1219
- marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1220
- rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1221
- appName: z.ZodDefault<z.ZodString>;
1222
- port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1223
- whitelistUrl: z.ZodOptional<z.ZodURL>;
1224
- hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
- reason: z.ZodDefault<z.ZodString>;
1226
- expiresAt: z.ZodOptional<z.ZodNumber>;
1227
- address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1228
- contractType: z.ZodOptional<z.ZodString>;
1229
- }, z.core.$strip>>>;
1230
- debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1231
- debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1232
- castBin: z.ZodOptional<z.ZodString>;
1233
- castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1234
- staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1235
- logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1236
- pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1237
- privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<`0x${string}`>, `0x${string}`>>>;
1238
- liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1239
- minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1240
- hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1241
- numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1242
- optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1243
- useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1244
- optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
1245
- failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1246
- gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1247
- dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1248
- redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
1249
- compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1250
- slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1251
- updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
1252
- keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1253
- premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1254
- outDir: z.ZodDefault<z.ZodString>;
1255
- outEndpoint: z.ZodOptional<z.ZodURL>;
1256
- outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>;
1257
- outS3Bucket: z.ZodOptional<z.ZodString>;
1258
- outS3Prefix: z.ZodDefault<z.ZodString>;
1259
- outFileName: z.ZodOptional<z.ZodString>;
1260
- network: z.ZodEnum<{
1261
- Mainnet: "Mainnet";
1262
- Arbitrum: "Arbitrum";
1263
- Optimism: "Optimism";
1264
- Base: "Base";
1265
- Sonic: "Sonic";
1266
- MegaETH: "MegaETH";
1267
- Monad: "Monad";
1268
- Berachain: "Berachain";
1269
- Avalanche: "Avalanche";
1270
- BNB: "BNB";
1271
- WorldChain: "WorldChain";
1272
- Etherlink: "Etherlink";
1273
- Hemi: "Hemi";
1274
- Lisk: "Lisk";
1275
- Plasma: "Plasma";
1276
- Somnia: "Somnia";
1277
- }>;
1278
- jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredURL[] | undefined, _gearbox_protocol_cli_utils.CensoredURL[]>>>;
1279
- enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
1280
- custom: "custom";
1281
- alchemy: "alchemy";
1282
- drpc: "drpc";
1283
- ankr: "ankr";
1284
- thirdweb: "thirdweb";
1285
- erpc: "erpc";
1286
- }>>>>;
1287
- alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
1288
- drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
1289
- ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
1290
- thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>, string>>>>, z.ZodTransform<_gearbox_protocol_cli_utils.CensoredString<string>[] | undefined, _gearbox_protocol_cli_utils.CensoredString<string>[]>>>;
1291
- erpcProjectId: z.ZodOptional<z.ZodString>;
1292
- erpcUrl: z.ZodDefault<z.ZodURL>;
1293
- jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1193
+ network: z.ZodEnum<{
1194
+ Arbitrum: "Arbitrum";
1195
+ Avalanche: "Avalanche";
1196
+ BNB: "BNB";
1197
+ Base: "Base";
1198
+ Berachain: "Berachain";
1199
+ Etherlink: "Etherlink";
1200
+ Hemi: "Hemi";
1201
+ Lisk: "Lisk";
1202
+ Mainnet: "Mainnet";
1203
+ MegaETH: "MegaETH";
1204
+ Monad: "Monad";
1205
+ Optimism: "Optimism";
1206
+ Plasma: "Plasma";
1207
+ Somnia: "Somnia";
1208
+ Sonic: "Sonic";
1209
+ WorldChain: "WorldChain";
1210
+ }>;
1211
+ jsonRpcProviders: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodURL, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredURL[] | undefined, import("@gearbox-protocol/cli-utils").CensoredURL[]>>>;
1212
+ enabledProviders: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodEnum<{
1213
+ alchemy: "alchemy";
1214
+ ankr: "ankr";
1215
+ custom: "custom";
1216
+ drpc: "drpc";
1217
+ erpc: "erpc";
1218
+ thirdweb: "thirdweb";
1219
+ }>>>>;
1220
+ alchemyKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
1221
+ drpcKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
1222
+ ankrKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
1223
+ thirdwebKeys: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>[] | undefined, import("@gearbox-protocol/cli-utils").CensoredString<string>[]>>>;
1224
+ erpcProjectId: z.ZodOptional<z.ZodString>;
1225
+ erpcUrl: z.ZodDefault<z.ZodURL>;
1226
+ jsonRpcTimeout: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1227
+ notifications: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1228
+ type: z.ZodLiteral<"slack">;
1229
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1230
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1231
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
1232
+ }, z.core.$strip> | z.ZodObject<{
1233
+ type: z.ZodLiteral<"telegram">;
1234
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1235
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1236
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
1237
+ prefix: z.ZodOptional<z.ZodString>;
1238
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
1239
+ }, z.core.$strip>, ...(z.ZodObject<{
1240
+ type: z.ZodLiteral<"slack">;
1241
+ webhookUrl: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1242
+ alertsOnly: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1243
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
1244
+ }, z.core.$strip> | z.ZodObject<{
1245
+ type: z.ZodLiteral<"telegram">;
1246
+ token: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1247
+ alertsChannel: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>;
1248
+ notificationsChannel: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<import("@gearbox-protocol/cli-utils").CensoredString<string>, import("@gearbox-protocol/cli-utils").CensoredString<string>>]>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string | import("@gearbox-protocol/cli-utils").CensoredString<string>>>>;
1249
+ prefix: z.ZodOptional<z.ZodString>;
1250
+ curator: z.ZodOptional<z.ZodCustom<import("@gearbox-protocol/sdk").Curator, import("@gearbox-protocol/sdk").Curator>>;
1251
+ }, z.core.$strip>)[]], "type">>>>;
1252
+ addressProvider: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1253
+ marketConfigurators: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1254
+ rwaFactories: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1255
+ appName: z.ZodDefault<z.ZodString>;
1256
+ port: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1257
+ whitelistUrl: z.ZodOptional<z.ZodURL>;
1258
+ hardWhitelist: z.ZodOptional<z.ZodArray<z.ZodObject<{
1259
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1260
+ reason: z.ZodDefault<z.ZodString>;
1261
+ contractType: z.ZodOptional<z.ZodString>;
1262
+ expiresAt: z.ZodOptional<z.ZodNumber>;
1263
+ }, z.core.$strip>>>;
1264
+ debugAccount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1265
+ debugManager: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1266
+ castBin: z.ZodOptional<z.ZodString>;
1267
+ castTimeout: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1268
+ staleBlockThreshold: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1269
+ logsPageSize: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1270
+ pollingInterval: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1271
+ privateKey: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<`0x${string}`>, `0x${string}`>>>;
1272
+ liquidatorAddress: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1273
+ minBalanceGas: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1274
+ hfThreshold: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1275
+ numSplits: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1276
+ optimistic: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1277
+ useProductionScanner: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1278
+ optimisticTimestamp: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
1279
+ failOnMissingFeeds: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1280
+ gasLimit: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
1281
+ dryRun: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1282
+ redstoneGateways: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodURL>>, z.ZodTransform<string[] | undefined, string[]>>>;
1283
+ compressorBatchSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1284
+ slippage: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1285
+ updateReservePrices: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>>;
1286
+ keepAssets: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1287
+ premiumReceiver: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
1288
+ outDir: z.ZodDefault<z.ZodString>;
1289
+ outEndpoint: z.ZodOptional<z.ZodURL>;
1290
+ outHeaders: z.ZodPipe<z.ZodDefault<z.ZodString>, z.ZodTransform<import("@gearbox-protocol/cli-utils").CensoredString<string>, string>>;
1291
+ outS3Bucket: z.ZodOptional<z.ZodString>;
1292
+ outS3Prefix: z.ZodDefault<z.ZodString>;
1293
+ outFileName: z.ZodOptional<z.ZodString>;
1294
+ liquidationMode: z.ZodLiteral<"partial">;
1295
+ partialFallback: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<boolean, any>>>;
1296
+ targetPartialHF: z.ZodDefault<z.ZodCoercedBigInt<unknown>>;
1297
+ calculatePartialHF: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>>, z.ZodTransform<`0x${string}`[] | undefined, `0x${string}`[] | undefined>>;
1294
1298
  }, z.core.$strip>;
1295
1299
  type PartialLiquidatorSchema = z.infer<typeof PartialLiquidatorSchema>;
1296
-
1300
+ //#endregion
1301
+ //#region src/report.d.ts
1297
1302
  type TypedSDKState = GearboxState<{
1298
- readonly accounts: AccountsPlugin;
1303
+ readonly accounts: AccountsPlugin;
1299
1304
  }>;
1300
1305
  type WhitelistEntry = ClientWhitelistItem;
1301
1306
  interface TrackReport {
1302
- id: string;
1303
- name: string;
1304
- start: Date;
1305
- end: Date;
1306
- version: string;
1307
- emergency: boolean;
1307
+ id: string;
1308
+ name: string;
1309
+ start: Date;
1310
+ end: Date;
1311
+ version: string;
1312
+ emergency: boolean;
1308
1313
  }
1309
1314
  interface ExecutionReport {
1310
- /**
1311
- * execution_id to view logs in grafana
1312
- */
1313
- id: string;
1314
- start: Date;
1315
- end: Date;
1316
- /**
1317
- * Top-level error in optimistic runner execution (e.g. terminated early)
1318
- */
1319
- error?: string;
1320
- /**
1321
- * Executed tracks
1322
- */
1323
- tracks: TrackReport[];
1324
- /**
1325
- * Account liquidation results (for all tracks together)
1326
- */
1327
- results: OptimisticResult[];
1328
- /**
1329
- * Account/CM/Token addresses that we do not need to alert about, if they cannot be liquidated
1330
- */
1331
- whitelist?: WhitelistEntry[];
1332
- /**
1333
- * Gearbox SDK state when it was attached
1334
- */
1335
- sdkState: TypedSDKState;
1336
- /**
1337
- * Gas price (wei) at execution block, from sdk.client.getGasPrice()
1338
- */
1339
- gasPrice: bigint;
1315
+ /**
1316
+ * execution_id to view logs in grafana
1317
+ */
1318
+ id: string;
1319
+ start: Date;
1320
+ end: Date;
1321
+ /**
1322
+ * Top-level error in optimistic runner execution (e.g. terminated early)
1323
+ */
1324
+ error?: string;
1325
+ /**
1326
+ * Executed tracks
1327
+ */
1328
+ tracks: TrackReport[];
1329
+ /**
1330
+ * Account liquidation results (for all tracks together)
1331
+ */
1332
+ results: OptimisticResult[];
1333
+ /**
1334
+ * Account/CM/Token addresses that we do not need to alert about, if they cannot be liquidated
1335
+ */
1336
+ whitelist?: WhitelistEntry[];
1337
+ /**
1338
+ * Gearbox SDK state when it was attached
1339
+ */
1340
+ sdkState: TypedSDKState;
1341
+ /**
1342
+ * Gas price (wei) at execution block, from sdk.client.getGasPrice()
1343
+ */
1344
+ gasPrice: bigint;
1340
1345
  }
1341
-
1342
- export { BatchLiquidatorSchema, CommonSchema, type Config, ConfigImplementation, ConfigSchema, DeleverageLiquidatorSchema, type DeleverageStrategySetup, type ExecutionReport, FullLiquidatorSchema, type FullStrategyPreview, type LiqduiatorConfig, type LiquidationStrategyKind, type LossPolicyStrategySetup, NotificationsConfig, type Numberish, type OptimisticResult, type OptimisticResultBase, PartialLiquidatorSchema, type PartialStrategyPreview, type PartialStrategySetup, type RwaStrategyPreview, type RwaStrategySetup, type StrategyPreviews, type StrategySetups, type TrackReport, type TypedSDKState, type WhitelistEntry };
1346
+ //#endregion
1347
+ export { type BatchLiquidatorSchema, type CommonSchema, Config, ConfigImplementation, ConfigSchema, type DeleverageLiquidatorSchema, type DeleverageStrategySetup, type ExecutionReport, type FullLiquidatorSchema, type FullStrategyPreview, LiqduiatorConfig, type LiquidationStrategyKind, type LossPolicyStrategySetup, NotificationsConfig, type Numberish, type OptimisticResult, type OptimisticResultBase, type PartialLiquidatorSchema, type PartialStrategyPreview, type PartialStrategySetup, type RwaStrategyPreview, type RwaStrategySetup, type StrategyPreviews, type StrategySetups, type TrackReport, type TypedSDKState, type WhitelistEntry };
1348
+ //# sourceMappingURL=index.d.ts.map