@hyperlane-xyz/sdk 35.1.0 → 36.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/block-explorer/utils.d.ts +8 -0
- package/dist/block-explorer/utils.d.ts.map +1 -1
- package/dist/block-explorer/utils.js +16 -3
- package/dist/block-explorer/utils.js.map +1 -1
- package/dist/ccip/consts.d.ts.map +1 -1
- package/dist/ccip/consts.js +0 -40
- package/dist/ccip/consts.js.map +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +39 -241
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/contracts/contracts.d.ts.map +1 -1
- package/dist/contracts/contracts.js +6 -1
- package/dist/contracts/contracts.js.map +1 -1
- package/dist/core/CoreDeployer.hardhat-test.js +9 -0
- package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.hardhat-test.js +23 -0
- package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.js +8 -5
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/EvmCoreReader.d.ts.map +1 -1
- package/dist/core/EvmCoreReader.js +34 -15
- package/dist/core/EvmCoreReader.js.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +34 -13
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/TestCoreApp.d.ts +1 -1
- package/dist/core/contracts.d.ts +5 -2
- package/dist/core/contracts.d.ts.map +1 -1
- package/dist/core/contracts.js +4 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/core/types.d.ts +1092 -627
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +30 -2
- package/dist/core/types.js.map +1 -1
- package/dist/core/types.test.d.ts +2 -0
- package/dist/core/types.test.d.ts.map +1 -0
- package/dist/core/types.test.js +50 -0
- package/dist/core/types.test.js.map +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +17 -8
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/deploy/proxy.d.ts.map +1 -1
- package/dist/deploy/proxy.js +9 -5
- package/dist/deploy/proxy.js.map +1 -1
- package/dist/deploy/warp.d.ts.map +1 -1
- package/dist/deploy/warp.js +5 -0
- package/dist/deploy/warp.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.d.ts +1 -0
- package/dist/fee/EvmTokenFeeDeployer.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js +40 -0
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.js +8 -0
- package/dist/fee/EvmTokenFeeDeployer.js.map +1 -1
- package/dist/fee/EvmTokenFeeReader.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeReader.js +3 -13
- package/dist/fee/EvmTokenFeeReader.js.map +1 -1
- package/dist/fee/feeConfigMapping.d.ts +9 -0
- package/dist/fee/feeConfigMapping.d.ts.map +1 -0
- package/dist/fee/feeConfigMapping.js +86 -0
- package/dist/fee/feeConfigMapping.js.map +1 -0
- package/dist/fee/feeConfigMapping.test.d.ts +2 -0
- package/dist/fee/feeConfigMapping.test.d.ts.map +1 -0
- package/dist/fee/feeConfigMapping.test.js +204 -0
- package/dist/fee/feeConfigMapping.test.js.map +1 -0
- package/dist/fee/types.d.ts +185 -113
- package/dist/fee/types.d.ts.map +1 -1
- package/dist/fee/types.js +13 -11
- package/dist/fee/types.js.map +1 -1
- package/dist/fee/utils.d.ts +1 -32
- package/dist/fee/utils.d.ts.map +1 -1
- package/dist/fee/utils.js +1 -47
- package/dist/fee/utils.js.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.d.ts +1 -0
- package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.js +43 -1
- package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.d.ts +17 -0
- package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +124 -4
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js +33 -2
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js.map +1 -1
- package/dist/gas/types.d.ts +17 -3
- package/dist/gas/types.d.ts.map +1 -1
- package/dist/gas/types.js +19 -0
- package/dist/gas/types.js.map +1 -1
- package/dist/gas/utils.d.ts +5 -1
- package/dist/gas/utils.d.ts.map +1 -1
- package/dist/gas/utils.js +92 -31
- package/dist/gas/utils.js.map +1 -1
- package/dist/gas/utils.test.d.ts +2 -0
- package/dist/gas/utils.test.d.ts.map +1 -0
- package/dist/gas/utils.test.js +132 -0
- package/dist/gas/utils.test.js.map +1 -0
- package/dist/hook/EvmHookModule.d.ts +21 -1
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.hardhat-test.js +125 -2
- package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
- package/dist/hook/EvmHookModule.js +191 -17
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +4 -4
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +67 -16
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +128 -2
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts +10 -5
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/types.d.ts +338 -264
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +30 -6
- package/dist/hook/types.js.map +1 -1
- package/dist/hook/types.test.d.ts +2 -0
- package/dist/hook/types.test.d.ts.map +1 -0
- package/dist/hook/types.test.js +184 -0
- package/dist/hook/types.test.js.map +1 -0
- package/dist/hook/utils.d.ts +1 -0
- package/dist/hook/utils.d.ts.map +1 -1
- package/dist/hook/utils.js +16 -10
- package/dist/hook/utils.js.map +1 -1
- package/dist/ica/types.d.ts +380 -188
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +7 -1
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +4 -0
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmModule.js +152 -4
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +1 -2
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +17 -0
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +35 -9
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/types.d.ts +88 -3
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +4 -0
- package/dist/ism/types.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
- package/dist/metadata/ChainMetadataManager.js +2 -2
- package/dist/metadata/ChainMetadataManager.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.test.js +71 -0
- package/dist/metadata/ChainMetadataManager.test.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +937 -168
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/agentConfig.js +68 -1
- package/dist/metadata/agentConfig.js.map +1 -1
- package/dist/metadata/agentConfig.test.js +67 -1
- package/dist/metadata/agentConfig.test.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.js +10 -0
- package/dist/middleware/account/InterchainAccount.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.test.js +26 -0
- package/dist/middleware/account/InterchainAccount.test.js.map +1 -1
- package/dist/providers/MultiProvider.d.ts +6 -0
- package/dist/providers/MultiProvider.d.ts.map +1 -1
- package/dist/providers/MultiProvider.js +28 -2
- package/dist/providers/MultiProvider.js.map +1 -1
- package/dist/providers/SeismicSigner.d.ts +54 -0
- package/dist/providers/SeismicSigner.d.ts.map +1 -0
- package/dist/providers/SeismicSigner.js +89 -0
- package/dist/providers/SeismicSigner.js.map +1 -0
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js +8 -0
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.js +69 -23
- package/dist/providers/SmartProvider/SmartProvider.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.test.js +34 -5
- package/dist/providers/SmartProvider/SmartProvider.test.js.map +1 -1
- package/dist/providers/builders/starknet.d.ts.map +1 -1
- package/dist/providers/builders/starknet.js +6 -1
- package/dist/providers/builders/starknet.js.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.js +23 -8
- package/dist/providers/transactions/submitter/IcaTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.test.js +45 -0
- package/dist/providers/transactions/submitter/IcaTxSubmitter.test.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxBuilder.d.ts +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxBuilder.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/types.d.ts +6 -0
- package/dist/providers/transactions/submitter/ethersV5/types.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/types.js +26 -5
- package/dist/providers/transactions/submitter/ethersV5/types.js.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js +11 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.d.ts +2 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.d.ts.map +1 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.js +38 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.js.map +1 -0
- package/dist/router/types.d.ts +481 -236
- package/dist/router/types.d.ts.map +1 -1
- package/dist/router/types.js +1 -0
- package/dist/router/types.js.map +1 -1
- package/dist/router/types.test.d.ts +2 -0
- package/dist/router/types.test.d.ts.map +1 -0
- package/dist/router/types.test.js +32 -0
- package/dist/router/types.test.js.map +1 -0
- package/dist/test/testUtils.d.ts.map +1 -1
- package/dist/test/testUtils.js +3 -0
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/EvmWarpModule.d.ts +18 -1
- package/dist/token/EvmWarpModule.d.ts.map +1 -1
- package/dist/token/EvmWarpModule.hardhat-test.js +30 -0
- package/dist/token/EvmWarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmWarpModule.js +67 -5
- package/dist/token/EvmWarpModule.js.map +1 -1
- package/dist/token/EvmWarpModule.test.d.ts +2 -0
- package/dist/token/EvmWarpModule.test.d.ts.map +1 -0
- package/dist/token/EvmWarpModule.test.js +77 -0
- package/dist/token/EvmWarpModule.test.js.map +1 -0
- package/dist/token/EvmWarpRouteReader.d.ts +1 -0
- package/dist/token/EvmWarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmWarpRouteReader.js +17 -0
- package/dist/token/EvmWarpRouteReader.js.map +1 -1
- package/dist/token/EvmXERC20Module.d.ts +31 -26
- package/dist/token/EvmXERC20Module.d.ts.map +1 -1
- package/dist/token/EvmXERC20Module.js +46 -3
- package/dist/token/EvmXERC20Module.js.map +1 -1
- package/dist/token/EvmXERC20Module.test.js +162 -1
- package/dist/token/EvmXERC20Module.test.js.map +1 -1
- package/dist/token/EvmXERC20Reader.d.ts +17 -0
- package/dist/token/EvmXERC20Reader.d.ts.map +1 -1
- package/dist/token/EvmXERC20Reader.js +37 -1
- package/dist/token/EvmXERC20Reader.js.map +1 -1
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.d.ts +2 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.d.ts.map +1 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.js +96 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.js.map +1 -0
- package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.js +25 -12
- package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
- package/dist/token/configUtils.test.js.map +1 -1
- package/dist/token/deploy.d.ts +1 -0
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +13 -0
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/tokenMetadataUtils.d.ts.map +1 -1
- package/dist/token/tokenMetadataUtils.js +1 -0
- package/dist/token/tokenMetadataUtils.js.map +1 -1
- package/dist/token/types.d.ts +1373 -699
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.test.js +11 -0
- package/dist/token/types.test.js.map +1 -1
- package/dist/token/xerc20.d.ts.map +1 -1
- package/dist/token/xerc20.js +10 -2
- package/dist/token/xerc20.js.map +1 -1
- package/dist/token/xerc20.test.d.ts +2 -0
- package/dist/token/xerc20.test.d.ts.map +1 -0
- package/dist/token/xerc20.test.js +143 -0
- package/dist/token/xerc20.test.js.map +1 -0
- package/dist/utils/contract.d.ts +6 -0
- package/dist/utils/contract.d.ts.map +1 -1
- package/dist/utils/contract.js +11 -0
- package/dist/utils/contract.js.map +1 -1
- package/dist/utils/contract.test.js +2 -1
- package/dist/utils/contract.test.js.map +1 -1
- package/dist/utils/gas.d.ts +1 -0
- package/dist/utils/gas.d.ts.map +1 -1
- package/dist/utils/gas.js +1 -0
- package/dist/utils/gas.js.map +1 -1
- package/dist/utils/gnosisSafe.d.ts +4 -1
- package/dist/utils/gnosisSafe.d.ts.map +1 -1
- package/dist/utils/gnosisSafe.js +20 -7
- package/dist/utils/gnosisSafe.js.map +1 -1
- package/dist/utils/gnosisSafe.test.js +44 -1
- package/dist/utils/gnosisSafe.test.js.map +1 -1
- package/dist/utils/ism.d.ts.map +1 -1
- package/dist/utils/ism.js +4 -2
- package/dist/utils/ism.js.map +1 -1
- package/dist/warp/WarpCore.d.ts.map +1 -1
- package/dist/warp/WarpCore.js +4 -3
- package/dist/warp/WarpCore.js.map +1 -1
- package/package.json +14 -14
package/dist/core/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Mailbox } from '@hyperlane-xyz/core';
|
|
|
3
3
|
import type { Address, ParsedMessage } from '@hyperlane-xyz/utils';
|
|
4
4
|
import type { UpgradeConfig } from '../deploy/proxy.js';
|
|
5
5
|
import type { CheckerViolation } from '../deploy/types.js';
|
|
6
|
-
import { DerivedHookConfig } from '../hook/types.js';
|
|
6
|
+
import type { DerivedHookConfig } from '../hook/types.js';
|
|
7
7
|
import type { DerivedIsmConfig, IsmConfig } from '../ism/types.js';
|
|
8
8
|
import type { ChainName } from '../types.js';
|
|
9
9
|
export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -28,7 +28,32 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28
28
|
type: "opStackIsm";
|
|
29
29
|
origin: string;
|
|
30
30
|
nativeBridge: string;
|
|
31
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
31
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
32
|
+
owner: z.ZodString;
|
|
33
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34
|
+
} & {
|
|
35
|
+
paused: z.ZodBoolean;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
owner: string;
|
|
38
|
+
paused: boolean;
|
|
39
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
owner: string;
|
|
42
|
+
paused: boolean;
|
|
43
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
44
|
+
}>, z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
type: "pausableIsm";
|
|
48
|
+
}, {
|
|
49
|
+
type: "pausableIsm";
|
|
50
|
+
}>>, z.ZodObject<{
|
|
51
|
+
address: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
address: string;
|
|
54
|
+
}, {
|
|
55
|
+
address: string;
|
|
56
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
32
57
|
owner: z.ZodString;
|
|
33
58
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34
59
|
} & {
|
|
@@ -204,15 +229,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
204
229
|
}, "strip", z.ZodTypeAny, {
|
|
205
230
|
type: "protocolFee";
|
|
206
231
|
owner: string;
|
|
207
|
-
protocolFee: string;
|
|
208
232
|
beneficiary: string;
|
|
233
|
+
protocolFee: string;
|
|
209
234
|
maxProtocolFee: string;
|
|
210
235
|
ownerOverrides?: Record<string, string> | undefined;
|
|
211
236
|
}, {
|
|
212
237
|
type: "protocolFee";
|
|
213
238
|
owner: string;
|
|
214
|
-
protocolFee: string;
|
|
215
239
|
beneficiary: string;
|
|
240
|
+
protocolFee: string;
|
|
216
241
|
maxProtocolFee: string;
|
|
217
242
|
ownerOverrides?: Record<string, string> | undefined;
|
|
218
243
|
}>, z.ZodObject<{
|
|
@@ -303,8 +328,23 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
303
328
|
totalUsdCost: number;
|
|
304
329
|
} | undefined;
|
|
305
330
|
}>>;
|
|
331
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
306
332
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
307
333
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
334
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
335
|
+
gasPrice: z.ZodString;
|
|
336
|
+
tokenExchangeRate: z.ZodString;
|
|
337
|
+
} & {
|
|
338
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
gasPrice: string;
|
|
341
|
+
tokenExchangeRate: string;
|
|
342
|
+
tokenDecimals?: number | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
gasPrice: string;
|
|
345
|
+
tokenExchangeRate: string;
|
|
346
|
+
tokenDecimals?: number | undefined;
|
|
347
|
+
}>>>>;
|
|
308
348
|
}, "strip", z.ZodTypeAny, {
|
|
309
349
|
type: "interchainGasPaymaster";
|
|
310
350
|
owner: string;
|
|
@@ -323,7 +363,13 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
323
363
|
}>;
|
|
324
364
|
ownerOverrides?: Record<string, string> | undefined;
|
|
325
365
|
quoteSigners?: string[] | undefined;
|
|
366
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
326
367
|
contractVersion?: string | undefined;
|
|
368
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
369
|
+
gasPrice: string;
|
|
370
|
+
tokenExchangeRate: string;
|
|
371
|
+
tokenDecimals?: number | undefined;
|
|
372
|
+
}>> | undefined;
|
|
327
373
|
}, {
|
|
328
374
|
type: "interchainGasPaymaster";
|
|
329
375
|
owner: string;
|
|
@@ -342,26 +388,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
342
388
|
}>;
|
|
343
389
|
ownerOverrides?: Record<string, string> | undefined;
|
|
344
390
|
quoteSigners?: string[] | undefined;
|
|
391
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
345
392
|
contractVersion?: string | undefined;
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}, "strip", z.ZodTypeAny, {
|
|
353
|
-
type: "arbL2ToL1Hook";
|
|
354
|
-
destinationChain: string;
|
|
355
|
-
arbSys: string;
|
|
356
|
-
bridge?: string | undefined;
|
|
357
|
-
childHook?: any;
|
|
358
|
-
}, {
|
|
359
|
-
type: "arbL2ToL1Hook";
|
|
360
|
-
destinationChain: string;
|
|
361
|
-
arbSys: string;
|
|
362
|
-
bridge?: string | undefined;
|
|
363
|
-
childHook?: any;
|
|
364
|
-
}>, z.ZodObject<{
|
|
393
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
394
|
+
gasPrice: string;
|
|
395
|
+
tokenExchangeRate: string;
|
|
396
|
+
tokenDecimals?: number | undefined;
|
|
397
|
+
}>> | undefined;
|
|
398
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
365
399
|
type: z.ZodLiteral<"defaultHook">;
|
|
366
400
|
}, "strip", z.ZodTypeAny, {
|
|
367
401
|
type: "defaultHook";
|
|
@@ -448,15 +482,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
448
482
|
}, "strip", z.ZodTypeAny, {
|
|
449
483
|
type: "protocolFee";
|
|
450
484
|
owner: string;
|
|
451
|
-
protocolFee: string;
|
|
452
485
|
beneficiary: string;
|
|
486
|
+
protocolFee: string;
|
|
453
487
|
maxProtocolFee: string;
|
|
454
488
|
ownerOverrides?: Record<string, string> | undefined;
|
|
455
489
|
}, {
|
|
456
490
|
type: "protocolFee";
|
|
457
491
|
owner: string;
|
|
458
|
-
protocolFee: string;
|
|
459
492
|
beneficiary: string;
|
|
493
|
+
protocolFee: string;
|
|
460
494
|
maxProtocolFee: string;
|
|
461
495
|
ownerOverrides?: Record<string, string> | undefined;
|
|
462
496
|
}>, z.ZodObject<{
|
|
@@ -547,8 +581,23 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
547
581
|
totalUsdCost: number;
|
|
548
582
|
} | undefined;
|
|
549
583
|
}>>;
|
|
584
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
550
585
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
551
586
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
587
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
588
|
+
gasPrice: z.ZodString;
|
|
589
|
+
tokenExchangeRate: z.ZodString;
|
|
590
|
+
} & {
|
|
591
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
}, "strip", z.ZodTypeAny, {
|
|
593
|
+
gasPrice: string;
|
|
594
|
+
tokenExchangeRate: string;
|
|
595
|
+
tokenDecimals?: number | undefined;
|
|
596
|
+
}, {
|
|
597
|
+
gasPrice: string;
|
|
598
|
+
tokenExchangeRate: string;
|
|
599
|
+
tokenDecimals?: number | undefined;
|
|
600
|
+
}>>>>;
|
|
552
601
|
}, "strip", z.ZodTypeAny, {
|
|
553
602
|
type: "interchainGasPaymaster";
|
|
554
603
|
owner: string;
|
|
@@ -567,7 +616,13 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
616
|
}>;
|
|
568
617
|
ownerOverrides?: Record<string, string> | undefined;
|
|
569
618
|
quoteSigners?: string[] | undefined;
|
|
619
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
570
620
|
contractVersion?: string | undefined;
|
|
621
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
622
|
+
gasPrice: string;
|
|
623
|
+
tokenExchangeRate: string;
|
|
624
|
+
tokenDecimals?: number | undefined;
|
|
625
|
+
}>> | undefined;
|
|
571
626
|
}, {
|
|
572
627
|
type: "interchainGasPaymaster";
|
|
573
628
|
owner: string;
|
|
@@ -586,26 +641,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
641
|
}>;
|
|
587
642
|
ownerOverrides?: Record<string, string> | undefined;
|
|
588
643
|
quoteSigners?: string[] | undefined;
|
|
644
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
589
645
|
contractVersion?: string | undefined;
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}, "strip", z.ZodTypeAny, {
|
|
597
|
-
type: "arbL2ToL1Hook";
|
|
598
|
-
destinationChain: string;
|
|
599
|
-
arbSys: string;
|
|
600
|
-
bridge?: string | undefined;
|
|
601
|
-
childHook?: any;
|
|
602
|
-
}, {
|
|
603
|
-
type: "arbL2ToL1Hook";
|
|
604
|
-
destinationChain: string;
|
|
605
|
-
arbSys: string;
|
|
606
|
-
bridge?: string | undefined;
|
|
607
|
-
childHook?: any;
|
|
608
|
-
}>, z.ZodObject<{
|
|
646
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
647
|
+
gasPrice: string;
|
|
648
|
+
tokenExchangeRate: string;
|
|
649
|
+
tokenDecimals?: number | undefined;
|
|
650
|
+
}>> | undefined;
|
|
651
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
609
652
|
type: z.ZodLiteral<"defaultHook">;
|
|
610
653
|
}, "strip", z.ZodTypeAny, {
|
|
611
654
|
type: "defaultHook";
|
|
@@ -711,15 +754,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
711
754
|
}, "strip", z.ZodTypeAny, {
|
|
712
755
|
type: "protocolFee";
|
|
713
756
|
owner: string;
|
|
714
|
-
protocolFee: string;
|
|
715
757
|
beneficiary: string;
|
|
758
|
+
protocolFee: string;
|
|
716
759
|
maxProtocolFee: string;
|
|
717
760
|
ownerOverrides?: Record<string, string> | undefined;
|
|
718
761
|
}, {
|
|
719
762
|
type: "protocolFee";
|
|
720
763
|
owner: string;
|
|
721
|
-
protocolFee: string;
|
|
722
764
|
beneficiary: string;
|
|
765
|
+
protocolFee: string;
|
|
723
766
|
maxProtocolFee: string;
|
|
724
767
|
ownerOverrides?: Record<string, string> | undefined;
|
|
725
768
|
}>, z.ZodObject<{
|
|
@@ -810,8 +853,23 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
810
853
|
totalUsdCost: number;
|
|
811
854
|
} | undefined;
|
|
812
855
|
}>>;
|
|
856
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
813
857
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
814
858
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
859
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
860
|
+
gasPrice: z.ZodString;
|
|
861
|
+
tokenExchangeRate: z.ZodString;
|
|
862
|
+
} & {
|
|
863
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
864
|
+
}, "strip", z.ZodTypeAny, {
|
|
865
|
+
gasPrice: string;
|
|
866
|
+
tokenExchangeRate: string;
|
|
867
|
+
tokenDecimals?: number | undefined;
|
|
868
|
+
}, {
|
|
869
|
+
gasPrice: string;
|
|
870
|
+
tokenExchangeRate: string;
|
|
871
|
+
tokenDecimals?: number | undefined;
|
|
872
|
+
}>>>>;
|
|
815
873
|
}, "strip", z.ZodTypeAny, {
|
|
816
874
|
type: "interchainGasPaymaster";
|
|
817
875
|
owner: string;
|
|
@@ -830,7 +888,13 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
830
888
|
}>;
|
|
831
889
|
ownerOverrides?: Record<string, string> | undefined;
|
|
832
890
|
quoteSigners?: string[] | undefined;
|
|
891
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
833
892
|
contractVersion?: string | undefined;
|
|
893
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
894
|
+
gasPrice: string;
|
|
895
|
+
tokenExchangeRate: string;
|
|
896
|
+
tokenDecimals?: number | undefined;
|
|
897
|
+
}>> | undefined;
|
|
834
898
|
}, {
|
|
835
899
|
type: "interchainGasPaymaster";
|
|
836
900
|
owner: string;
|
|
@@ -849,26 +913,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
849
913
|
}>;
|
|
850
914
|
ownerOverrides?: Record<string, string> | undefined;
|
|
851
915
|
quoteSigners?: string[] | undefined;
|
|
916
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
852
917
|
contractVersion?: string | undefined;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
}, "strip", z.ZodTypeAny, {
|
|
860
|
-
type: "arbL2ToL1Hook";
|
|
861
|
-
destinationChain: string;
|
|
862
|
-
arbSys: string;
|
|
863
|
-
bridge?: string | undefined;
|
|
864
|
-
childHook?: any;
|
|
865
|
-
}, {
|
|
866
|
-
type: "arbL2ToL1Hook";
|
|
867
|
-
destinationChain: string;
|
|
868
|
-
arbSys: string;
|
|
869
|
-
bridge?: string | undefined;
|
|
870
|
-
childHook?: any;
|
|
871
|
-
}>, z.ZodObject<{
|
|
918
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
919
|
+
gasPrice: string;
|
|
920
|
+
tokenExchangeRate: string;
|
|
921
|
+
tokenDecimals?: number | undefined;
|
|
922
|
+
}>> | undefined;
|
|
923
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
872
924
|
type: z.ZodLiteral<"defaultHook">;
|
|
873
925
|
}, "strip", z.ZodTypeAny, {
|
|
874
926
|
type: "defaultHook";
|
|
@@ -962,7 +1014,32 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
962
1014
|
type: "opStackIsm";
|
|
963
1015
|
origin: string;
|
|
964
1016
|
nativeBridge: string;
|
|
965
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1017
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1018
|
+
owner: z.ZodString;
|
|
1019
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1020
|
+
} & {
|
|
1021
|
+
paused: z.ZodBoolean;
|
|
1022
|
+
}, "strip", z.ZodTypeAny, {
|
|
1023
|
+
owner: string;
|
|
1024
|
+
paused: boolean;
|
|
1025
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1026
|
+
}, {
|
|
1027
|
+
owner: string;
|
|
1028
|
+
paused: boolean;
|
|
1029
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1030
|
+
}>, z.ZodObject<{
|
|
1031
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
type: "pausableIsm";
|
|
1034
|
+
}, {
|
|
1035
|
+
type: "pausableIsm";
|
|
1036
|
+
}>>, z.ZodObject<{
|
|
1037
|
+
address: z.ZodString;
|
|
1038
|
+
}, "strip", z.ZodTypeAny, {
|
|
1039
|
+
address: string;
|
|
1040
|
+
}, {
|
|
1041
|
+
address: string;
|
|
1042
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
966
1043
|
owner: z.ZodString;
|
|
967
1044
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
968
1045
|
} & {
|
|
@@ -1153,192 +1230,226 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1153
1230
|
}>>;
|
|
1154
1231
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1155
1232
|
owner: z.ZodString;
|
|
1233
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1156
1234
|
} & {
|
|
1157
1235
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1158
1236
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1159
|
-
type: z.ZodLiteral<
|
|
1237
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
1160
1238
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1161
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1162
|
-
type:
|
|
1240
|
+
type: "LinearFee";
|
|
1163
1241
|
owner: string;
|
|
1242
|
+
beneficiary?: string | undefined;
|
|
1164
1243
|
maxFee?: bigint | undefined;
|
|
1165
1244
|
halfAmount?: bigint | undefined;
|
|
1166
1245
|
bps?: number | undefined;
|
|
1167
1246
|
}, {
|
|
1168
|
-
type:
|
|
1247
|
+
type: "LinearFee";
|
|
1169
1248
|
owner: string;
|
|
1249
|
+
beneficiary?: string | undefined;
|
|
1170
1250
|
maxFee?: string | number | bigint | undefined;
|
|
1171
1251
|
halfAmount?: string | number | bigint | undefined;
|
|
1172
1252
|
bps?: string | number | undefined;
|
|
1173
1253
|
}>, {
|
|
1174
|
-
type:
|
|
1254
|
+
type: "LinearFee";
|
|
1175
1255
|
owner: string;
|
|
1256
|
+
beneficiary?: string | undefined;
|
|
1176
1257
|
maxFee?: bigint | undefined;
|
|
1177
1258
|
halfAmount?: bigint | undefined;
|
|
1178
1259
|
bps?: number | undefined;
|
|
1179
1260
|
}, {
|
|
1180
|
-
type:
|
|
1261
|
+
type: "LinearFee";
|
|
1181
1262
|
owner: string;
|
|
1263
|
+
beneficiary?: string | undefined;
|
|
1182
1264
|
maxFee?: string | number | bigint | undefined;
|
|
1183
1265
|
halfAmount?: string | number | bigint | undefined;
|
|
1184
1266
|
bps?: string | number | undefined;
|
|
1185
1267
|
}>, {
|
|
1186
1268
|
bps: number;
|
|
1187
|
-
type:
|
|
1269
|
+
type: "LinearFee";
|
|
1188
1270
|
owner: string;
|
|
1271
|
+
beneficiary?: string | undefined;
|
|
1189
1272
|
maxFee?: bigint | undefined;
|
|
1190
1273
|
halfAmount?: bigint | undefined;
|
|
1191
1274
|
}, {
|
|
1192
|
-
type:
|
|
1275
|
+
type: "LinearFee";
|
|
1193
1276
|
owner: string;
|
|
1277
|
+
beneficiary?: string | undefined;
|
|
1194
1278
|
maxFee?: string | number | bigint | undefined;
|
|
1195
1279
|
halfAmount?: string | number | bigint | undefined;
|
|
1196
1280
|
bps?: string | number | undefined;
|
|
1197
1281
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1198
1282
|
owner: z.ZodString;
|
|
1283
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1199
1284
|
} & {
|
|
1200
1285
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1201
1286
|
} & {
|
|
1202
1287
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1203
1288
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1204
|
-
type: z.ZodLiteral<
|
|
1289
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
1205
1290
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1206
1291
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
-
type:
|
|
1292
|
+
type: "OffchainQuotedLinearFee";
|
|
1208
1293
|
owner: string;
|
|
1294
|
+
beneficiary?: string | undefined;
|
|
1209
1295
|
maxFee?: bigint | undefined;
|
|
1210
1296
|
halfAmount?: bigint | undefined;
|
|
1211
1297
|
bps?: number | undefined;
|
|
1212
1298
|
quoteSigners?: string[] | undefined;
|
|
1213
1299
|
}, {
|
|
1214
|
-
type:
|
|
1300
|
+
type: "OffchainQuotedLinearFee";
|
|
1215
1301
|
owner: string;
|
|
1302
|
+
beneficiary?: string | undefined;
|
|
1216
1303
|
maxFee?: string | number | bigint | undefined;
|
|
1217
1304
|
halfAmount?: string | number | bigint | undefined;
|
|
1218
1305
|
bps?: string | number | undefined;
|
|
1219
1306
|
quoteSigners?: string[] | undefined;
|
|
1220
1307
|
}>, {
|
|
1221
|
-
type:
|
|
1308
|
+
type: "OffchainQuotedLinearFee";
|
|
1222
1309
|
owner: string;
|
|
1310
|
+
beneficiary?: string | undefined;
|
|
1223
1311
|
maxFee?: bigint | undefined;
|
|
1224
1312
|
halfAmount?: bigint | undefined;
|
|
1225
1313
|
bps?: number | undefined;
|
|
1226
1314
|
quoteSigners?: string[] | undefined;
|
|
1227
1315
|
}, {
|
|
1228
|
-
type:
|
|
1316
|
+
type: "OffchainQuotedLinearFee";
|
|
1229
1317
|
owner: string;
|
|
1318
|
+
beneficiary?: string | undefined;
|
|
1230
1319
|
maxFee?: string | number | bigint | undefined;
|
|
1231
1320
|
halfAmount?: string | number | bigint | undefined;
|
|
1232
1321
|
bps?: string | number | undefined;
|
|
1233
1322
|
quoteSigners?: string[] | undefined;
|
|
1234
1323
|
}>, {
|
|
1235
1324
|
bps: number;
|
|
1236
|
-
type:
|
|
1325
|
+
type: "OffchainQuotedLinearFee";
|
|
1237
1326
|
owner: string;
|
|
1327
|
+
beneficiary?: string | undefined;
|
|
1238
1328
|
maxFee?: bigint | undefined;
|
|
1239
1329
|
halfAmount?: bigint | undefined;
|
|
1240
1330
|
quoteSigners?: string[] | undefined;
|
|
1241
1331
|
}, {
|
|
1242
|
-
type:
|
|
1332
|
+
type: "OffchainQuotedLinearFee";
|
|
1243
1333
|
owner: string;
|
|
1334
|
+
beneficiary?: string | undefined;
|
|
1244
1335
|
maxFee?: string | number | bigint | undefined;
|
|
1245
1336
|
halfAmount?: string | number | bigint | undefined;
|
|
1246
1337
|
bps?: string | number | undefined;
|
|
1247
1338
|
quoteSigners?: string[] | undefined;
|
|
1248
1339
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1249
1340
|
owner: z.ZodString;
|
|
1341
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1250
1342
|
} & {
|
|
1251
|
-
type: z.ZodLiteral<
|
|
1343
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
1252
1344
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1253
1345
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1254
1346
|
}, "strip", z.ZodTypeAny, {
|
|
1255
|
-
type:
|
|
1347
|
+
type: "ProgressiveFee";
|
|
1256
1348
|
owner: string;
|
|
1257
1349
|
maxFee: bigint;
|
|
1258
1350
|
halfAmount: bigint;
|
|
1351
|
+
beneficiary?: string | undefined;
|
|
1259
1352
|
}, {
|
|
1260
|
-
type:
|
|
1353
|
+
type: "ProgressiveFee";
|
|
1261
1354
|
owner: string;
|
|
1262
1355
|
maxFee: string | number | bigint;
|
|
1263
1356
|
halfAmount: string | number | bigint;
|
|
1357
|
+
beneficiary?: string | undefined;
|
|
1264
1358
|
}>, {
|
|
1265
|
-
type:
|
|
1359
|
+
type: "ProgressiveFee";
|
|
1266
1360
|
owner: string;
|
|
1267
1361
|
maxFee: bigint;
|
|
1268
1362
|
halfAmount: bigint;
|
|
1363
|
+
beneficiary?: string | undefined;
|
|
1269
1364
|
}, {
|
|
1270
|
-
type:
|
|
1365
|
+
type: "ProgressiveFee";
|
|
1271
1366
|
owner: string;
|
|
1272
1367
|
maxFee: string | number | bigint;
|
|
1273
1368
|
halfAmount: string | number | bigint;
|
|
1369
|
+
beneficiary?: string | undefined;
|
|
1274
1370
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1275
1371
|
owner: z.ZodString;
|
|
1372
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1276
1373
|
} & {
|
|
1277
|
-
type: z.ZodLiteral<
|
|
1374
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
1278
1375
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1279
1376
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1280
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
type:
|
|
1378
|
+
type: "RegressiveFee";
|
|
1282
1379
|
owner: string;
|
|
1283
1380
|
maxFee: bigint;
|
|
1284
1381
|
halfAmount: bigint;
|
|
1382
|
+
beneficiary?: string | undefined;
|
|
1285
1383
|
}, {
|
|
1286
|
-
type:
|
|
1384
|
+
type: "RegressiveFee";
|
|
1287
1385
|
owner: string;
|
|
1288
1386
|
maxFee: string | number | bigint;
|
|
1289
1387
|
halfAmount: string | number | bigint;
|
|
1388
|
+
beneficiary?: string | undefined;
|
|
1290
1389
|
}>, {
|
|
1291
|
-
type:
|
|
1390
|
+
type: "RegressiveFee";
|
|
1292
1391
|
owner: string;
|
|
1293
1392
|
maxFee: bigint;
|
|
1294
1393
|
halfAmount: bigint;
|
|
1394
|
+
beneficiary?: string | undefined;
|
|
1295
1395
|
}, {
|
|
1296
|
-
type:
|
|
1396
|
+
type: "RegressiveFee";
|
|
1297
1397
|
owner: string;
|
|
1298
1398
|
maxFee: string | number | bigint;
|
|
1299
1399
|
halfAmount: string | number | bigint;
|
|
1400
|
+
beneficiary?: string | undefined;
|
|
1300
1401
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1301
1402
|
owner: z.ZodString;
|
|
1403
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1302
1404
|
} & {
|
|
1303
|
-
type: z.ZodLiteral<
|
|
1405
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
1304
1406
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1305
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1306
|
-
type:
|
|
1408
|
+
type: "RoutingFee";
|
|
1307
1409
|
owner: string;
|
|
1308
1410
|
feeContracts: Record<string, any>;
|
|
1411
|
+
beneficiary?: string | undefined;
|
|
1309
1412
|
}, {
|
|
1310
|
-
type:
|
|
1413
|
+
type: "RoutingFee";
|
|
1311
1414
|
owner: string;
|
|
1312
1415
|
feeContracts: Record<string, any>;
|
|
1416
|
+
beneficiary?: string | undefined;
|
|
1313
1417
|
}>, {
|
|
1314
|
-
type:
|
|
1418
|
+
type: "RoutingFee";
|
|
1315
1419
|
owner: string;
|
|
1316
1420
|
feeContracts: Record<string, any>;
|
|
1421
|
+
beneficiary?: string | undefined;
|
|
1317
1422
|
}, {
|
|
1318
|
-
type:
|
|
1423
|
+
type: "RoutingFee";
|
|
1319
1424
|
owner: string;
|
|
1320
1425
|
feeContracts: Record<string, any>;
|
|
1426
|
+
beneficiary?: string | undefined;
|
|
1321
1427
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1322
1428
|
owner: z.ZodString;
|
|
1429
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1323
1430
|
} & {
|
|
1324
|
-
type: z.ZodLiteral<
|
|
1431
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
1325
1432
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
|
|
1326
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1327
|
-
type:
|
|
1434
|
+
type: "CrossCollateralRoutingFee";
|
|
1328
1435
|
owner: string;
|
|
1329
1436
|
feeContracts: Record<string, Record<string, any>>;
|
|
1437
|
+
beneficiary?: string | undefined;
|
|
1330
1438
|
}, {
|
|
1331
|
-
type:
|
|
1439
|
+
type: "CrossCollateralRoutingFee";
|
|
1332
1440
|
owner: string;
|
|
1333
1441
|
feeContracts: Record<string, Record<string, any>>;
|
|
1442
|
+
beneficiary?: string | undefined;
|
|
1334
1443
|
}>, {
|
|
1335
|
-
type:
|
|
1444
|
+
type: "CrossCollateralRoutingFee";
|
|
1336
1445
|
owner: string;
|
|
1337
1446
|
feeContracts: Record<string, Record<string, any>>;
|
|
1447
|
+
beneficiary?: string | undefined;
|
|
1338
1448
|
}, {
|
|
1339
|
-
type:
|
|
1449
|
+
type: "CrossCollateralRoutingFee";
|
|
1340
1450
|
owner: string;
|
|
1341
1451
|
feeContracts: Record<string, Record<string, any>>;
|
|
1452
|
+
beneficiary?: string | undefined;
|
|
1342
1453
|
}>]>>;
|
|
1343
1454
|
} & {
|
|
1344
1455
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -1398,12 +1509,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1398
1509
|
}>;
|
|
1399
1510
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1400
1511
|
quoteSigners?: string[] | undefined;
|
|
1512
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1401
1513
|
contractVersion?: string | undefined;
|
|
1514
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1515
|
+
gasPrice: string;
|
|
1516
|
+
tokenExchangeRate: string;
|
|
1517
|
+
tokenDecimals?: number | undefined;
|
|
1518
|
+
}>> | undefined;
|
|
1402
1519
|
} | {
|
|
1403
1520
|
type: "protocolFee";
|
|
1404
1521
|
owner: string;
|
|
1405
|
-
protocolFee: string;
|
|
1406
1522
|
beneficiary: string;
|
|
1523
|
+
protocolFee: string;
|
|
1407
1524
|
maxProtocolFee: string;
|
|
1408
1525
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1409
1526
|
} | {
|
|
@@ -1417,25 +1534,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1417
1534
|
nativeBridge: string;
|
|
1418
1535
|
destinationChain: string;
|
|
1419
1536
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1537
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
1538
|
+
type: "defaultHook";
|
|
1420
1539
|
} | {
|
|
1421
|
-
type: "
|
|
1540
|
+
type: "ccipHook";
|
|
1422
1541
|
destinationChain: string;
|
|
1423
|
-
arbSys: string;
|
|
1424
|
-
bridge?: string | undefined;
|
|
1425
|
-
childHook?: any;
|
|
1426
1542
|
} | {
|
|
1427
|
-
type: "
|
|
1543
|
+
type: "cctpHook";
|
|
1544
|
+
address: string;
|
|
1428
1545
|
} | {
|
|
1429
1546
|
type: "rateLimitedHook";
|
|
1430
1547
|
owner: string;
|
|
1431
1548
|
maxCapacity: string;
|
|
1432
1549
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1433
|
-
} | {
|
|
1434
|
-
type: "ccipHook";
|
|
1435
|
-
destinationChain: string;
|
|
1436
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1437
|
-
type: "cctpHook";
|
|
1438
|
-
address: string;
|
|
1439
1550
|
} | z.objectOutputType<{
|
|
1440
1551
|
type: z.ZodLiteral<"unknownHook">;
|
|
1441
1552
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1486,7 +1597,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1486
1597
|
owner: string;
|
|
1487
1598
|
urls: string[];
|
|
1488
1599
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1489
|
-
} |
|
|
1600
|
+
} | ({
|
|
1601
|
+
owner: string;
|
|
1602
|
+
paused: boolean;
|
|
1603
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1604
|
+
} & {
|
|
1605
|
+
type: "pausableIsm";
|
|
1606
|
+
} & {
|
|
1607
|
+
address: string;
|
|
1608
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1490
1609
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1491
1610
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1492
1611
|
foreignDeployment?: string | undefined;
|
|
@@ -1495,35 +1614,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1495
1614
|
}> | undefined;
|
|
1496
1615
|
tokenFee?: {
|
|
1497
1616
|
bps: number;
|
|
1498
|
-
type:
|
|
1617
|
+
type: "LinearFee";
|
|
1499
1618
|
owner: string;
|
|
1619
|
+
beneficiary?: string | undefined;
|
|
1500
1620
|
maxFee?: bigint | undefined;
|
|
1501
1621
|
halfAmount?: bigint | undefined;
|
|
1502
1622
|
} | {
|
|
1503
1623
|
bps: number;
|
|
1504
|
-
type:
|
|
1624
|
+
type: "OffchainQuotedLinearFee";
|
|
1505
1625
|
owner: string;
|
|
1626
|
+
beneficiary?: string | undefined;
|
|
1506
1627
|
maxFee?: bigint | undefined;
|
|
1507
1628
|
halfAmount?: bigint | undefined;
|
|
1508
1629
|
quoteSigners?: string[] | undefined;
|
|
1509
1630
|
} | {
|
|
1510
|
-
type:
|
|
1631
|
+
type: "ProgressiveFee";
|
|
1511
1632
|
owner: string;
|
|
1512
1633
|
maxFee: bigint;
|
|
1513
1634
|
halfAmount: bigint;
|
|
1635
|
+
beneficiary?: string | undefined;
|
|
1514
1636
|
} | {
|
|
1515
|
-
type:
|
|
1637
|
+
type: "RegressiveFee";
|
|
1516
1638
|
owner: string;
|
|
1517
1639
|
maxFee: bigint;
|
|
1518
1640
|
halfAmount: bigint;
|
|
1641
|
+
beneficiary?: string | undefined;
|
|
1519
1642
|
} | {
|
|
1520
|
-
type:
|
|
1643
|
+
type: "RoutingFee";
|
|
1521
1644
|
owner: string;
|
|
1522
1645
|
feeContracts: Record<string, any>;
|
|
1646
|
+
beneficiary?: string | undefined;
|
|
1523
1647
|
} | {
|
|
1524
|
-
type:
|
|
1648
|
+
type: "CrossCollateralRoutingFee";
|
|
1525
1649
|
owner: string;
|
|
1526
1650
|
feeContracts: Record<string, Record<string, any>>;
|
|
1651
|
+
beneficiary?: string | undefined;
|
|
1527
1652
|
} | undefined;
|
|
1528
1653
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1529
1654
|
commitmentIsm?: {
|
|
@@ -1565,12 +1690,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1565
1690
|
}>;
|
|
1566
1691
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1567
1692
|
quoteSigners?: string[] | undefined;
|
|
1693
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1568
1694
|
contractVersion?: string | undefined;
|
|
1695
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1696
|
+
gasPrice: string;
|
|
1697
|
+
tokenExchangeRate: string;
|
|
1698
|
+
tokenDecimals?: number | undefined;
|
|
1699
|
+
}>> | undefined;
|
|
1569
1700
|
} | {
|
|
1570
1701
|
type: "protocolFee";
|
|
1571
1702
|
owner: string;
|
|
1572
|
-
protocolFee: string;
|
|
1573
1703
|
beneficiary: string;
|
|
1704
|
+
protocolFee: string;
|
|
1574
1705
|
maxProtocolFee: string;
|
|
1575
1706
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1576
1707
|
} | {
|
|
@@ -1584,25 +1715,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1584
1715
|
nativeBridge: string;
|
|
1585
1716
|
destinationChain: string;
|
|
1586
1717
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1718
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
1719
|
+
type: "defaultHook";
|
|
1587
1720
|
} | {
|
|
1588
|
-
type: "
|
|
1721
|
+
type: "ccipHook";
|
|
1589
1722
|
destinationChain: string;
|
|
1590
|
-
arbSys: string;
|
|
1591
|
-
bridge?: string | undefined;
|
|
1592
|
-
childHook?: any;
|
|
1593
1723
|
} | {
|
|
1594
|
-
type: "
|
|
1724
|
+
type: "cctpHook";
|
|
1725
|
+
address: string;
|
|
1595
1726
|
} | {
|
|
1596
1727
|
type: "rateLimitedHook";
|
|
1597
1728
|
owner: string;
|
|
1598
1729
|
maxCapacity: string;
|
|
1599
1730
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1600
|
-
} | {
|
|
1601
|
-
type: "ccipHook";
|
|
1602
|
-
destinationChain: string;
|
|
1603
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1604
|
-
type: "cctpHook";
|
|
1605
|
-
address: string;
|
|
1606
1731
|
} | z.objectInputType<{
|
|
1607
1732
|
type: z.ZodLiteral<"unknownHook">;
|
|
1608
1733
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1653,7 +1778,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1653
1778
|
owner: string;
|
|
1654
1779
|
urls: string[];
|
|
1655
1780
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1656
|
-
} | {
|
|
1781
|
+
} | ({
|
|
1782
|
+
owner: string;
|
|
1783
|
+
paused: boolean;
|
|
1784
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1785
|
+
} & {
|
|
1786
|
+
type: "pausableIsm";
|
|
1787
|
+
} & {
|
|
1788
|
+
address: string;
|
|
1789
|
+
}) | {
|
|
1657
1790
|
type: "interchainAccountRouting";
|
|
1658
1791
|
owner: string;
|
|
1659
1792
|
isms: Record<string, string>;
|
|
@@ -1666,36 +1799,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1666
1799
|
address: string;
|
|
1667
1800
|
}> | undefined;
|
|
1668
1801
|
tokenFee?: {
|
|
1669
|
-
type:
|
|
1802
|
+
type: "LinearFee";
|
|
1670
1803
|
owner: string;
|
|
1804
|
+
beneficiary?: string | undefined;
|
|
1671
1805
|
maxFee?: string | number | bigint | undefined;
|
|
1672
1806
|
halfAmount?: string | number | bigint | undefined;
|
|
1673
1807
|
bps?: string | number | undefined;
|
|
1674
1808
|
} | {
|
|
1675
|
-
type:
|
|
1809
|
+
type: "OffchainQuotedLinearFee";
|
|
1676
1810
|
owner: string;
|
|
1811
|
+
beneficiary?: string | undefined;
|
|
1677
1812
|
maxFee?: string | number | bigint | undefined;
|
|
1678
1813
|
halfAmount?: string | number | bigint | undefined;
|
|
1679
1814
|
bps?: string | number | undefined;
|
|
1680
1815
|
quoteSigners?: string[] | undefined;
|
|
1681
1816
|
} | {
|
|
1682
|
-
type:
|
|
1817
|
+
type: "ProgressiveFee";
|
|
1683
1818
|
owner: string;
|
|
1684
1819
|
maxFee: string | number | bigint;
|
|
1685
1820
|
halfAmount: string | number | bigint;
|
|
1821
|
+
beneficiary?: string | undefined;
|
|
1686
1822
|
} | {
|
|
1687
|
-
type:
|
|
1823
|
+
type: "RegressiveFee";
|
|
1688
1824
|
owner: string;
|
|
1689
1825
|
maxFee: string | number | bigint;
|
|
1690
1826
|
halfAmount: string | number | bigint;
|
|
1827
|
+
beneficiary?: string | undefined;
|
|
1691
1828
|
} | {
|
|
1692
|
-
type:
|
|
1829
|
+
type: "RoutingFee";
|
|
1693
1830
|
owner: string;
|
|
1694
1831
|
feeContracts: Record<string, any>;
|
|
1832
|
+
beneficiary?: string | undefined;
|
|
1695
1833
|
} | {
|
|
1696
|
-
type:
|
|
1834
|
+
type: "CrossCollateralRoutingFee";
|
|
1697
1835
|
owner: string;
|
|
1698
1836
|
feeContracts: Record<string, Record<string, any>>;
|
|
1837
|
+
beneficiary?: string | undefined;
|
|
1699
1838
|
} | undefined;
|
|
1700
1839
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1701
1840
|
commitmentIsm?: {
|
|
@@ -1710,6 +1849,7 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1710
1849
|
}[] | undefined;
|
|
1711
1850
|
}>>;
|
|
1712
1851
|
permit2: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
deployQuotedCalls: z.ZodOptional<z.ZodBoolean>;
|
|
1713
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1714
1854
|
owner: string;
|
|
1715
1855
|
defaultHook: string | {
|
|
@@ -1732,12 +1872,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1732
1872
|
}>;
|
|
1733
1873
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1734
1874
|
quoteSigners?: string[] | undefined;
|
|
1875
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1735
1876
|
contractVersion?: string | undefined;
|
|
1877
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1878
|
+
gasPrice: string;
|
|
1879
|
+
tokenExchangeRate: string;
|
|
1880
|
+
tokenDecimals?: number | undefined;
|
|
1881
|
+
}>> | undefined;
|
|
1736
1882
|
} | {
|
|
1737
1883
|
type: "protocolFee";
|
|
1738
1884
|
owner: string;
|
|
1739
|
-
protocolFee: string;
|
|
1740
1885
|
beneficiary: string;
|
|
1886
|
+
protocolFee: string;
|
|
1741
1887
|
maxProtocolFee: string;
|
|
1742
1888
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1743
1889
|
} | {
|
|
@@ -1751,25 +1897,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1751
1897
|
nativeBridge: string;
|
|
1752
1898
|
destinationChain: string;
|
|
1753
1899
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1900
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
1901
|
+
type: "defaultHook";
|
|
1754
1902
|
} | {
|
|
1755
|
-
type: "
|
|
1903
|
+
type: "ccipHook";
|
|
1756
1904
|
destinationChain: string;
|
|
1757
|
-
arbSys: string;
|
|
1758
|
-
bridge?: string | undefined;
|
|
1759
|
-
childHook?: any;
|
|
1760
1905
|
} | {
|
|
1761
|
-
type: "
|
|
1906
|
+
type: "cctpHook";
|
|
1907
|
+
address: string;
|
|
1762
1908
|
} | {
|
|
1763
1909
|
type: "rateLimitedHook";
|
|
1764
1910
|
owner: string;
|
|
1765
1911
|
maxCapacity: string;
|
|
1766
1912
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1767
|
-
} | {
|
|
1768
|
-
type: "ccipHook";
|
|
1769
|
-
destinationChain: string;
|
|
1770
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1771
|
-
type: "cctpHook";
|
|
1772
|
-
address: string;
|
|
1773
1913
|
} | z.objectOutputType<{
|
|
1774
1914
|
type: z.ZodLiteral<"unknownHook">;
|
|
1775
1915
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1820,7 +1960,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1820
1960
|
owner: string;
|
|
1821
1961
|
urls: string[];
|
|
1822
1962
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1823
|
-
} |
|
|
1963
|
+
} | ({
|
|
1964
|
+
owner: string;
|
|
1965
|
+
paused: boolean;
|
|
1966
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1967
|
+
} & {
|
|
1968
|
+
type: "pausableIsm";
|
|
1969
|
+
} & {
|
|
1970
|
+
address: string;
|
|
1971
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1824
1972
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1825
1973
|
}, z.ZodTypeAny, "passthrough">;
|
|
1826
1974
|
requiredHook: string | {
|
|
@@ -1843,12 +1991,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1843
1991
|
}>;
|
|
1844
1992
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1845
1993
|
quoteSigners?: string[] | undefined;
|
|
1994
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1846
1995
|
contractVersion?: string | undefined;
|
|
1996
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1997
|
+
gasPrice: string;
|
|
1998
|
+
tokenExchangeRate: string;
|
|
1999
|
+
tokenDecimals?: number | undefined;
|
|
2000
|
+
}>> | undefined;
|
|
1847
2001
|
} | {
|
|
1848
2002
|
type: "protocolFee";
|
|
1849
2003
|
owner: string;
|
|
1850
|
-
protocolFee: string;
|
|
1851
2004
|
beneficiary: string;
|
|
2005
|
+
protocolFee: string;
|
|
1852
2006
|
maxProtocolFee: string;
|
|
1853
2007
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1854
2008
|
} | {
|
|
@@ -1862,25 +2016,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1862
2016
|
nativeBridge: string;
|
|
1863
2017
|
destinationChain: string;
|
|
1864
2018
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2019
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2020
|
+
type: "defaultHook";
|
|
1865
2021
|
} | {
|
|
1866
|
-
type: "
|
|
2022
|
+
type: "ccipHook";
|
|
1867
2023
|
destinationChain: string;
|
|
1868
|
-
arbSys: string;
|
|
1869
|
-
bridge?: string | undefined;
|
|
1870
|
-
childHook?: any;
|
|
1871
2024
|
} | {
|
|
1872
|
-
type: "
|
|
2025
|
+
type: "cctpHook";
|
|
2026
|
+
address: string;
|
|
1873
2027
|
} | {
|
|
1874
2028
|
type: "rateLimitedHook";
|
|
1875
2029
|
owner: string;
|
|
1876
2030
|
maxCapacity: string;
|
|
1877
2031
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1878
|
-
} | {
|
|
1879
|
-
type: "ccipHook";
|
|
1880
|
-
destinationChain: string;
|
|
1881
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1882
|
-
type: "cctpHook";
|
|
1883
|
-
address: string;
|
|
1884
2032
|
} | z.objectOutputType<{
|
|
1885
2033
|
type: z.ZodLiteral<"unknownHook">;
|
|
1886
2034
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1923,12 +2071,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1923
2071
|
}>;
|
|
1924
2072
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1925
2073
|
quoteSigners?: string[] | undefined;
|
|
2074
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1926
2075
|
contractVersion?: string | undefined;
|
|
2076
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2077
|
+
gasPrice: string;
|
|
2078
|
+
tokenExchangeRate: string;
|
|
2079
|
+
tokenDecimals?: number | undefined;
|
|
2080
|
+
}>> | undefined;
|
|
1927
2081
|
} | {
|
|
1928
2082
|
type: "protocolFee";
|
|
1929
2083
|
owner: string;
|
|
1930
|
-
protocolFee: string;
|
|
1931
2084
|
beneficiary: string;
|
|
2085
|
+
protocolFee: string;
|
|
1932
2086
|
maxProtocolFee: string;
|
|
1933
2087
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1934
2088
|
} | {
|
|
@@ -1942,25 +2096,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1942
2096
|
nativeBridge: string;
|
|
1943
2097
|
destinationChain: string;
|
|
1944
2098
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2099
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2100
|
+
type: "defaultHook";
|
|
1945
2101
|
} | {
|
|
1946
|
-
type: "
|
|
2102
|
+
type: "ccipHook";
|
|
1947
2103
|
destinationChain: string;
|
|
1948
|
-
arbSys: string;
|
|
1949
|
-
bridge?: string | undefined;
|
|
1950
|
-
childHook?: any;
|
|
1951
2104
|
} | {
|
|
1952
|
-
type: "
|
|
2105
|
+
type: "cctpHook";
|
|
2106
|
+
address: string;
|
|
1953
2107
|
} | {
|
|
1954
2108
|
type: "rateLimitedHook";
|
|
1955
2109
|
owner: string;
|
|
1956
2110
|
maxCapacity: string;
|
|
1957
2111
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1958
|
-
} | {
|
|
1959
|
-
type: "ccipHook";
|
|
1960
|
-
destinationChain: string;
|
|
1961
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1962
|
-
type: "cctpHook";
|
|
1963
|
-
address: string;
|
|
1964
2112
|
} | z.objectOutputType<{
|
|
1965
2113
|
type: z.ZodLiteral<"unknownHook">;
|
|
1966
2114
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2011,7 +2159,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2011
2159
|
owner: string;
|
|
2012
2160
|
urls: string[];
|
|
2013
2161
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2014
|
-
} |
|
|
2162
|
+
} | ({
|
|
2163
|
+
owner: string;
|
|
2164
|
+
paused: boolean;
|
|
2165
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2166
|
+
} & {
|
|
2167
|
+
type: "pausableIsm";
|
|
2168
|
+
} & {
|
|
2169
|
+
address: string;
|
|
2170
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2015
2171
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2016
2172
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2017
2173
|
foreignDeployment?: string | undefined;
|
|
@@ -2020,35 +2176,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2020
2176
|
}> | undefined;
|
|
2021
2177
|
tokenFee?: {
|
|
2022
2178
|
bps: number;
|
|
2023
|
-
type:
|
|
2179
|
+
type: "LinearFee";
|
|
2024
2180
|
owner: string;
|
|
2181
|
+
beneficiary?: string | undefined;
|
|
2025
2182
|
maxFee?: bigint | undefined;
|
|
2026
2183
|
halfAmount?: bigint | undefined;
|
|
2027
2184
|
} | {
|
|
2028
2185
|
bps: number;
|
|
2029
|
-
type:
|
|
2186
|
+
type: "OffchainQuotedLinearFee";
|
|
2030
2187
|
owner: string;
|
|
2188
|
+
beneficiary?: string | undefined;
|
|
2031
2189
|
maxFee?: bigint | undefined;
|
|
2032
2190
|
halfAmount?: bigint | undefined;
|
|
2033
2191
|
quoteSigners?: string[] | undefined;
|
|
2034
2192
|
} | {
|
|
2035
|
-
type:
|
|
2193
|
+
type: "ProgressiveFee";
|
|
2036
2194
|
owner: string;
|
|
2037
2195
|
maxFee: bigint;
|
|
2038
2196
|
halfAmount: bigint;
|
|
2197
|
+
beneficiary?: string | undefined;
|
|
2039
2198
|
} | {
|
|
2040
|
-
type:
|
|
2199
|
+
type: "RegressiveFee";
|
|
2041
2200
|
owner: string;
|
|
2042
2201
|
maxFee: bigint;
|
|
2043
2202
|
halfAmount: bigint;
|
|
2203
|
+
beneficiary?: string | undefined;
|
|
2044
2204
|
} | {
|
|
2045
|
-
type:
|
|
2205
|
+
type: "RoutingFee";
|
|
2046
2206
|
owner: string;
|
|
2047
2207
|
feeContracts: Record<string, any>;
|
|
2208
|
+
beneficiary?: string | undefined;
|
|
2048
2209
|
} | {
|
|
2049
|
-
type:
|
|
2210
|
+
type: "CrossCollateralRoutingFee";
|
|
2050
2211
|
owner: string;
|
|
2051
2212
|
feeContracts: Record<string, Record<string, any>>;
|
|
2213
|
+
beneficiary?: string | undefined;
|
|
2052
2214
|
} | undefined;
|
|
2053
2215
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2054
2216
|
commitmentIsm?: {
|
|
@@ -2062,6 +2224,7 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2062
2224
|
feeToken: string;
|
|
2063
2225
|
}[] | undefined;
|
|
2064
2226
|
} | undefined;
|
|
2227
|
+
deployQuotedCalls?: boolean | undefined;
|
|
2065
2228
|
}, {
|
|
2066
2229
|
owner: string;
|
|
2067
2230
|
defaultHook: string | {
|
|
@@ -2084,12 +2247,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2084
2247
|
}>;
|
|
2085
2248
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2086
2249
|
quoteSigners?: string[] | undefined;
|
|
2250
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2087
2251
|
contractVersion?: string | undefined;
|
|
2252
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2253
|
+
gasPrice: string;
|
|
2254
|
+
tokenExchangeRate: string;
|
|
2255
|
+
tokenDecimals?: number | undefined;
|
|
2256
|
+
}>> | undefined;
|
|
2088
2257
|
} | {
|
|
2089
2258
|
type: "protocolFee";
|
|
2090
2259
|
owner: string;
|
|
2091
|
-
protocolFee: string;
|
|
2092
2260
|
beneficiary: string;
|
|
2261
|
+
protocolFee: string;
|
|
2093
2262
|
maxProtocolFee: string;
|
|
2094
2263
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2095
2264
|
} | {
|
|
@@ -2103,25 +2272,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2103
2272
|
nativeBridge: string;
|
|
2104
2273
|
destinationChain: string;
|
|
2105
2274
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2275
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2276
|
+
type: "defaultHook";
|
|
2106
2277
|
} | {
|
|
2107
|
-
type: "
|
|
2278
|
+
type: "ccipHook";
|
|
2108
2279
|
destinationChain: string;
|
|
2109
|
-
arbSys: string;
|
|
2110
|
-
bridge?: string | undefined;
|
|
2111
|
-
childHook?: any;
|
|
2112
2280
|
} | {
|
|
2113
|
-
type: "
|
|
2281
|
+
type: "cctpHook";
|
|
2282
|
+
address: string;
|
|
2114
2283
|
} | {
|
|
2115
2284
|
type: "rateLimitedHook";
|
|
2116
2285
|
owner: string;
|
|
2117
2286
|
maxCapacity: string;
|
|
2118
2287
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2119
|
-
} | {
|
|
2120
|
-
type: "ccipHook";
|
|
2121
|
-
destinationChain: string;
|
|
2122
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2123
|
-
type: "cctpHook";
|
|
2124
|
-
address: string;
|
|
2125
2288
|
} | z.objectInputType<{
|
|
2126
2289
|
type: z.ZodLiteral<"unknownHook">;
|
|
2127
2290
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2172,7 +2335,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2172
2335
|
owner: string;
|
|
2173
2336
|
urls: string[];
|
|
2174
2337
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2175
|
-
} | {
|
|
2338
|
+
} | ({
|
|
2339
|
+
owner: string;
|
|
2340
|
+
paused: boolean;
|
|
2341
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2342
|
+
} & {
|
|
2343
|
+
type: "pausableIsm";
|
|
2344
|
+
} & {
|
|
2345
|
+
address: string;
|
|
2346
|
+
}) | {
|
|
2176
2347
|
type: "interchainAccountRouting";
|
|
2177
2348
|
owner: string;
|
|
2178
2349
|
isms: Record<string, string>;
|
|
@@ -2200,12 +2371,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2200
2371
|
}>;
|
|
2201
2372
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2202
2373
|
quoteSigners?: string[] | undefined;
|
|
2374
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2203
2375
|
contractVersion?: string | undefined;
|
|
2376
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2377
|
+
gasPrice: string;
|
|
2378
|
+
tokenExchangeRate: string;
|
|
2379
|
+
tokenDecimals?: number | undefined;
|
|
2380
|
+
}>> | undefined;
|
|
2204
2381
|
} | {
|
|
2205
2382
|
type: "protocolFee";
|
|
2206
2383
|
owner: string;
|
|
2207
|
-
protocolFee: string;
|
|
2208
2384
|
beneficiary: string;
|
|
2385
|
+
protocolFee: string;
|
|
2209
2386
|
maxProtocolFee: string;
|
|
2210
2387
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2211
2388
|
} | {
|
|
@@ -2219,25 +2396,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2219
2396
|
nativeBridge: string;
|
|
2220
2397
|
destinationChain: string;
|
|
2221
2398
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2399
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2400
|
+
type: "defaultHook";
|
|
2222
2401
|
} | {
|
|
2223
|
-
type: "
|
|
2402
|
+
type: "ccipHook";
|
|
2224
2403
|
destinationChain: string;
|
|
2225
|
-
arbSys: string;
|
|
2226
|
-
bridge?: string | undefined;
|
|
2227
|
-
childHook?: any;
|
|
2228
2404
|
} | {
|
|
2229
|
-
type: "
|
|
2405
|
+
type: "cctpHook";
|
|
2406
|
+
address: string;
|
|
2230
2407
|
} | {
|
|
2231
2408
|
type: "rateLimitedHook";
|
|
2232
2409
|
owner: string;
|
|
2233
2410
|
maxCapacity: string;
|
|
2234
2411
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2235
|
-
} | {
|
|
2236
|
-
type: "ccipHook";
|
|
2237
|
-
destinationChain: string;
|
|
2238
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2239
|
-
type: "cctpHook";
|
|
2240
|
-
address: string;
|
|
2241
2412
|
} | z.objectInputType<{
|
|
2242
2413
|
type: z.ZodLiteral<"unknownHook">;
|
|
2243
2414
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2280,12 +2451,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2280
2451
|
}>;
|
|
2281
2452
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2282
2453
|
quoteSigners?: string[] | undefined;
|
|
2454
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2283
2455
|
contractVersion?: string | undefined;
|
|
2456
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2457
|
+
gasPrice: string;
|
|
2458
|
+
tokenExchangeRate: string;
|
|
2459
|
+
tokenDecimals?: number | undefined;
|
|
2460
|
+
}>> | undefined;
|
|
2284
2461
|
} | {
|
|
2285
2462
|
type: "protocolFee";
|
|
2286
2463
|
owner: string;
|
|
2287
|
-
protocolFee: string;
|
|
2288
2464
|
beneficiary: string;
|
|
2465
|
+
protocolFee: string;
|
|
2289
2466
|
maxProtocolFee: string;
|
|
2290
2467
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2291
2468
|
} | {
|
|
@@ -2299,25 +2476,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2299
2476
|
nativeBridge: string;
|
|
2300
2477
|
destinationChain: string;
|
|
2301
2478
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2479
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2480
|
+
type: "defaultHook";
|
|
2302
2481
|
} | {
|
|
2303
|
-
type: "
|
|
2482
|
+
type: "ccipHook";
|
|
2304
2483
|
destinationChain: string;
|
|
2305
|
-
arbSys: string;
|
|
2306
|
-
bridge?: string | undefined;
|
|
2307
|
-
childHook?: any;
|
|
2308
2484
|
} | {
|
|
2309
|
-
type: "
|
|
2485
|
+
type: "cctpHook";
|
|
2486
|
+
address: string;
|
|
2310
2487
|
} | {
|
|
2311
2488
|
type: "rateLimitedHook";
|
|
2312
2489
|
owner: string;
|
|
2313
2490
|
maxCapacity: string;
|
|
2314
2491
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2315
|
-
} | {
|
|
2316
|
-
type: "ccipHook";
|
|
2317
|
-
destinationChain: string;
|
|
2318
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2319
|
-
type: "cctpHook";
|
|
2320
|
-
address: string;
|
|
2321
2492
|
} | z.objectInputType<{
|
|
2322
2493
|
type: z.ZodLiteral<"unknownHook">;
|
|
2323
2494
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2368,7 +2539,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2368
2539
|
owner: string;
|
|
2369
2540
|
urls: string[];
|
|
2370
2541
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2371
|
-
} | {
|
|
2542
|
+
} | ({
|
|
2543
|
+
owner: string;
|
|
2544
|
+
paused: boolean;
|
|
2545
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2546
|
+
} & {
|
|
2547
|
+
type: "pausableIsm";
|
|
2548
|
+
} & {
|
|
2549
|
+
address: string;
|
|
2550
|
+
}) | {
|
|
2372
2551
|
type: "interchainAccountRouting";
|
|
2373
2552
|
owner: string;
|
|
2374
2553
|
isms: Record<string, string>;
|
|
@@ -2381,36 +2560,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2381
2560
|
address: string;
|
|
2382
2561
|
}> | undefined;
|
|
2383
2562
|
tokenFee?: {
|
|
2384
|
-
type:
|
|
2563
|
+
type: "LinearFee";
|
|
2385
2564
|
owner: string;
|
|
2565
|
+
beneficiary?: string | undefined;
|
|
2386
2566
|
maxFee?: string | number | bigint | undefined;
|
|
2387
2567
|
halfAmount?: string | number | bigint | undefined;
|
|
2388
2568
|
bps?: string | number | undefined;
|
|
2389
2569
|
} | {
|
|
2390
|
-
type:
|
|
2570
|
+
type: "OffchainQuotedLinearFee";
|
|
2391
2571
|
owner: string;
|
|
2572
|
+
beneficiary?: string | undefined;
|
|
2392
2573
|
maxFee?: string | number | bigint | undefined;
|
|
2393
2574
|
halfAmount?: string | number | bigint | undefined;
|
|
2394
2575
|
bps?: string | number | undefined;
|
|
2395
2576
|
quoteSigners?: string[] | undefined;
|
|
2396
2577
|
} | {
|
|
2397
|
-
type:
|
|
2578
|
+
type: "ProgressiveFee";
|
|
2398
2579
|
owner: string;
|
|
2399
2580
|
maxFee: string | number | bigint;
|
|
2400
2581
|
halfAmount: string | number | bigint;
|
|
2582
|
+
beneficiary?: string | undefined;
|
|
2401
2583
|
} | {
|
|
2402
|
-
type:
|
|
2584
|
+
type: "RegressiveFee";
|
|
2403
2585
|
owner: string;
|
|
2404
2586
|
maxFee: string | number | bigint;
|
|
2405
2587
|
halfAmount: string | number | bigint;
|
|
2588
|
+
beneficiary?: string | undefined;
|
|
2406
2589
|
} | {
|
|
2407
|
-
type:
|
|
2590
|
+
type: "RoutingFee";
|
|
2408
2591
|
owner: string;
|
|
2409
2592
|
feeContracts: Record<string, any>;
|
|
2593
|
+
beneficiary?: string | undefined;
|
|
2410
2594
|
} | {
|
|
2411
|
-
type:
|
|
2595
|
+
type: "CrossCollateralRoutingFee";
|
|
2412
2596
|
owner: string;
|
|
2413
2597
|
feeContracts: Record<string, Record<string, any>>;
|
|
2598
|
+
beneficiary?: string | undefined;
|
|
2414
2599
|
} | undefined;
|
|
2415
2600
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2416
2601
|
commitmentIsm?: {
|
|
@@ -2424,6 +2609,7 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2424
2609
|
feeToken: string;
|
|
2425
2610
|
}[] | undefined;
|
|
2426
2611
|
} | undefined;
|
|
2612
|
+
deployQuotedCalls?: boolean | undefined;
|
|
2427
2613
|
}>, {
|
|
2428
2614
|
owner: string;
|
|
2429
2615
|
defaultHook: string | {
|
|
@@ -2446,12 +2632,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2446
2632
|
}>;
|
|
2447
2633
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2448
2634
|
quoteSigners?: string[] | undefined;
|
|
2635
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2449
2636
|
contractVersion?: string | undefined;
|
|
2637
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2638
|
+
gasPrice: string;
|
|
2639
|
+
tokenExchangeRate: string;
|
|
2640
|
+
tokenDecimals?: number | undefined;
|
|
2641
|
+
}>> | undefined;
|
|
2450
2642
|
} | {
|
|
2451
2643
|
type: "protocolFee";
|
|
2452
2644
|
owner: string;
|
|
2453
|
-
protocolFee: string;
|
|
2454
2645
|
beneficiary: string;
|
|
2646
|
+
protocolFee: string;
|
|
2455
2647
|
maxProtocolFee: string;
|
|
2456
2648
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2457
2649
|
} | {
|
|
@@ -2465,25 +2657,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2465
2657
|
nativeBridge: string;
|
|
2466
2658
|
destinationChain: string;
|
|
2467
2659
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2660
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2661
|
+
type: "defaultHook";
|
|
2468
2662
|
} | {
|
|
2469
|
-
type: "
|
|
2663
|
+
type: "ccipHook";
|
|
2470
2664
|
destinationChain: string;
|
|
2471
|
-
arbSys: string;
|
|
2472
|
-
bridge?: string | undefined;
|
|
2473
|
-
childHook?: any;
|
|
2474
2665
|
} | {
|
|
2475
|
-
type: "
|
|
2666
|
+
type: "cctpHook";
|
|
2667
|
+
address: string;
|
|
2476
2668
|
} | {
|
|
2477
2669
|
type: "rateLimitedHook";
|
|
2478
2670
|
owner: string;
|
|
2479
2671
|
maxCapacity: string;
|
|
2480
2672
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2481
|
-
} | {
|
|
2482
|
-
type: "ccipHook";
|
|
2483
|
-
destinationChain: string;
|
|
2484
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2485
|
-
type: "cctpHook";
|
|
2486
|
-
address: string;
|
|
2487
2673
|
} | z.objectOutputType<{
|
|
2488
2674
|
type: z.ZodLiteral<"unknownHook">;
|
|
2489
2675
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2534,7 +2720,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2534
2720
|
owner: string;
|
|
2535
2721
|
urls: string[];
|
|
2536
2722
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2537
|
-
} |
|
|
2723
|
+
} | ({
|
|
2724
|
+
owner: string;
|
|
2725
|
+
paused: boolean;
|
|
2726
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2727
|
+
} & {
|
|
2728
|
+
type: "pausableIsm";
|
|
2729
|
+
} & {
|
|
2730
|
+
address: string;
|
|
2731
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2538
2732
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2539
2733
|
}, z.ZodTypeAny, "passthrough">;
|
|
2540
2734
|
requiredHook: string | {
|
|
@@ -2557,12 +2751,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2557
2751
|
}>;
|
|
2558
2752
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2559
2753
|
quoteSigners?: string[] | undefined;
|
|
2754
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2560
2755
|
contractVersion?: string | undefined;
|
|
2756
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2757
|
+
gasPrice: string;
|
|
2758
|
+
tokenExchangeRate: string;
|
|
2759
|
+
tokenDecimals?: number | undefined;
|
|
2760
|
+
}>> | undefined;
|
|
2561
2761
|
} | {
|
|
2562
2762
|
type: "protocolFee";
|
|
2563
2763
|
owner: string;
|
|
2564
|
-
protocolFee: string;
|
|
2565
2764
|
beneficiary: string;
|
|
2765
|
+
protocolFee: string;
|
|
2566
2766
|
maxProtocolFee: string;
|
|
2567
2767
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2568
2768
|
} | {
|
|
@@ -2576,25 +2776,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2576
2776
|
nativeBridge: string;
|
|
2577
2777
|
destinationChain: string;
|
|
2578
2778
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2779
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2780
|
+
type: "defaultHook";
|
|
2579
2781
|
} | {
|
|
2580
|
-
type: "
|
|
2782
|
+
type: "ccipHook";
|
|
2581
2783
|
destinationChain: string;
|
|
2582
|
-
arbSys: string;
|
|
2583
|
-
bridge?: string | undefined;
|
|
2584
|
-
childHook?: any;
|
|
2585
2784
|
} | {
|
|
2586
|
-
type: "
|
|
2785
|
+
type: "cctpHook";
|
|
2786
|
+
address: string;
|
|
2587
2787
|
} | {
|
|
2588
2788
|
type: "rateLimitedHook";
|
|
2589
2789
|
owner: string;
|
|
2590
2790
|
maxCapacity: string;
|
|
2591
2791
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2592
|
-
} | {
|
|
2593
|
-
type: "ccipHook";
|
|
2594
|
-
destinationChain: string;
|
|
2595
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2596
|
-
type: "cctpHook";
|
|
2597
|
-
address: string;
|
|
2598
2792
|
} | z.objectOutputType<{
|
|
2599
2793
|
type: z.ZodLiteral<"unknownHook">;
|
|
2600
2794
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2637,12 +2831,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2637
2831
|
}>;
|
|
2638
2832
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2639
2833
|
quoteSigners?: string[] | undefined;
|
|
2834
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2640
2835
|
contractVersion?: string | undefined;
|
|
2836
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2837
|
+
gasPrice: string;
|
|
2838
|
+
tokenExchangeRate: string;
|
|
2839
|
+
tokenDecimals?: number | undefined;
|
|
2840
|
+
}>> | undefined;
|
|
2641
2841
|
} | {
|
|
2642
2842
|
type: "protocolFee";
|
|
2643
2843
|
owner: string;
|
|
2644
|
-
protocolFee: string;
|
|
2645
2844
|
beneficiary: string;
|
|
2845
|
+
protocolFee: string;
|
|
2646
2846
|
maxProtocolFee: string;
|
|
2647
2847
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2648
2848
|
} | {
|
|
@@ -2656,25 +2856,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2656
2856
|
nativeBridge: string;
|
|
2657
2857
|
destinationChain: string;
|
|
2658
2858
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2859
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
2860
|
+
type: "defaultHook";
|
|
2659
2861
|
} | {
|
|
2660
|
-
type: "
|
|
2862
|
+
type: "ccipHook";
|
|
2661
2863
|
destinationChain: string;
|
|
2662
|
-
arbSys: string;
|
|
2663
|
-
bridge?: string | undefined;
|
|
2664
|
-
childHook?: any;
|
|
2665
2864
|
} | {
|
|
2666
|
-
type: "
|
|
2865
|
+
type: "cctpHook";
|
|
2866
|
+
address: string;
|
|
2667
2867
|
} | {
|
|
2668
2868
|
type: "rateLimitedHook";
|
|
2669
2869
|
owner: string;
|
|
2670
2870
|
maxCapacity: string;
|
|
2671
2871
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2672
|
-
} | {
|
|
2673
|
-
type: "ccipHook";
|
|
2674
|
-
destinationChain: string;
|
|
2675
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2676
|
-
type: "cctpHook";
|
|
2677
|
-
address: string;
|
|
2678
2872
|
} | z.objectOutputType<{
|
|
2679
2873
|
type: z.ZodLiteral<"unknownHook">;
|
|
2680
2874
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2725,7 +2919,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2725
2919
|
owner: string;
|
|
2726
2920
|
urls: string[];
|
|
2727
2921
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2728
|
-
} |
|
|
2922
|
+
} | ({
|
|
2923
|
+
owner: string;
|
|
2924
|
+
paused: boolean;
|
|
2925
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2926
|
+
} & {
|
|
2927
|
+
type: "pausableIsm";
|
|
2928
|
+
} & {
|
|
2929
|
+
address: string;
|
|
2930
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2729
2931
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2730
2932
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2731
2933
|
foreignDeployment?: string | undefined;
|
|
@@ -2734,35 +2936,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2734
2936
|
}> | undefined;
|
|
2735
2937
|
tokenFee?: {
|
|
2736
2938
|
bps: number;
|
|
2737
|
-
type:
|
|
2939
|
+
type: "LinearFee";
|
|
2738
2940
|
owner: string;
|
|
2941
|
+
beneficiary?: string | undefined;
|
|
2739
2942
|
maxFee?: bigint | undefined;
|
|
2740
2943
|
halfAmount?: bigint | undefined;
|
|
2741
2944
|
} | {
|
|
2742
2945
|
bps: number;
|
|
2743
|
-
type:
|
|
2946
|
+
type: "OffchainQuotedLinearFee";
|
|
2744
2947
|
owner: string;
|
|
2948
|
+
beneficiary?: string | undefined;
|
|
2745
2949
|
maxFee?: bigint | undefined;
|
|
2746
2950
|
halfAmount?: bigint | undefined;
|
|
2747
2951
|
quoteSigners?: string[] | undefined;
|
|
2748
2952
|
} | {
|
|
2749
|
-
type:
|
|
2953
|
+
type: "ProgressiveFee";
|
|
2750
2954
|
owner: string;
|
|
2751
2955
|
maxFee: bigint;
|
|
2752
2956
|
halfAmount: bigint;
|
|
2957
|
+
beneficiary?: string | undefined;
|
|
2753
2958
|
} | {
|
|
2754
|
-
type:
|
|
2959
|
+
type: "RegressiveFee";
|
|
2755
2960
|
owner: string;
|
|
2756
2961
|
maxFee: bigint;
|
|
2757
2962
|
halfAmount: bigint;
|
|
2963
|
+
beneficiary?: string | undefined;
|
|
2758
2964
|
} | {
|
|
2759
|
-
type:
|
|
2965
|
+
type: "RoutingFee";
|
|
2760
2966
|
owner: string;
|
|
2761
2967
|
feeContracts: Record<string, any>;
|
|
2968
|
+
beneficiary?: string | undefined;
|
|
2762
2969
|
} | {
|
|
2763
|
-
type:
|
|
2970
|
+
type: "CrossCollateralRoutingFee";
|
|
2764
2971
|
owner: string;
|
|
2765
2972
|
feeContracts: Record<string, Record<string, any>>;
|
|
2973
|
+
beneficiary?: string | undefined;
|
|
2766
2974
|
} | undefined;
|
|
2767
2975
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2768
2976
|
commitmentIsm?: {
|
|
@@ -2776,6 +2984,7 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2776
2984
|
feeToken: string;
|
|
2777
2985
|
}[] | undefined;
|
|
2778
2986
|
} | undefined;
|
|
2987
|
+
deployQuotedCalls?: boolean | undefined;
|
|
2779
2988
|
}, {
|
|
2780
2989
|
owner: string;
|
|
2781
2990
|
defaultHook: string | {
|
|
@@ -2798,12 +3007,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2798
3007
|
}>;
|
|
2799
3008
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2800
3009
|
quoteSigners?: string[] | undefined;
|
|
3010
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2801
3011
|
contractVersion?: string | undefined;
|
|
3012
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3013
|
+
gasPrice: string;
|
|
3014
|
+
tokenExchangeRate: string;
|
|
3015
|
+
tokenDecimals?: number | undefined;
|
|
3016
|
+
}>> | undefined;
|
|
2802
3017
|
} | {
|
|
2803
3018
|
type: "protocolFee";
|
|
2804
3019
|
owner: string;
|
|
2805
|
-
protocolFee: string;
|
|
2806
3020
|
beneficiary: string;
|
|
3021
|
+
protocolFee: string;
|
|
2807
3022
|
maxProtocolFee: string;
|
|
2808
3023
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2809
3024
|
} | {
|
|
@@ -2817,25 +3032,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2817
3032
|
nativeBridge: string;
|
|
2818
3033
|
destinationChain: string;
|
|
2819
3034
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3035
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
3036
|
+
type: "defaultHook";
|
|
2820
3037
|
} | {
|
|
2821
|
-
type: "
|
|
3038
|
+
type: "ccipHook";
|
|
2822
3039
|
destinationChain: string;
|
|
2823
|
-
arbSys: string;
|
|
2824
|
-
bridge?: string | undefined;
|
|
2825
|
-
childHook?: any;
|
|
2826
3040
|
} | {
|
|
2827
|
-
type: "
|
|
3041
|
+
type: "cctpHook";
|
|
3042
|
+
address: string;
|
|
2828
3043
|
} | {
|
|
2829
3044
|
type: "rateLimitedHook";
|
|
2830
3045
|
owner: string;
|
|
2831
3046
|
maxCapacity: string;
|
|
2832
3047
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2833
|
-
} | {
|
|
2834
|
-
type: "ccipHook";
|
|
2835
|
-
destinationChain: string;
|
|
2836
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2837
|
-
type: "cctpHook";
|
|
2838
|
-
address: string;
|
|
2839
3048
|
} | z.objectInputType<{
|
|
2840
3049
|
type: z.ZodLiteral<"unknownHook">;
|
|
2841
3050
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2886,7 +3095,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2886
3095
|
owner: string;
|
|
2887
3096
|
urls: string[];
|
|
2888
3097
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2889
|
-
} | {
|
|
3098
|
+
} | ({
|
|
3099
|
+
owner: string;
|
|
3100
|
+
paused: boolean;
|
|
3101
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3102
|
+
} & {
|
|
3103
|
+
type: "pausableIsm";
|
|
3104
|
+
} & {
|
|
3105
|
+
address: string;
|
|
3106
|
+
}) | {
|
|
2890
3107
|
type: "interchainAccountRouting";
|
|
2891
3108
|
owner: string;
|
|
2892
3109
|
isms: Record<string, string>;
|
|
@@ -2914,12 +3131,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2914
3131
|
}>;
|
|
2915
3132
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2916
3133
|
quoteSigners?: string[] | undefined;
|
|
3134
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2917
3135
|
contractVersion?: string | undefined;
|
|
3136
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3137
|
+
gasPrice: string;
|
|
3138
|
+
tokenExchangeRate: string;
|
|
3139
|
+
tokenDecimals?: number | undefined;
|
|
3140
|
+
}>> | undefined;
|
|
2918
3141
|
} | {
|
|
2919
3142
|
type: "protocolFee";
|
|
2920
3143
|
owner: string;
|
|
2921
|
-
protocolFee: string;
|
|
2922
3144
|
beneficiary: string;
|
|
3145
|
+
protocolFee: string;
|
|
2923
3146
|
maxProtocolFee: string;
|
|
2924
3147
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2925
3148
|
} | {
|
|
@@ -2933,25 +3156,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2933
3156
|
nativeBridge: string;
|
|
2934
3157
|
destinationChain: string;
|
|
2935
3158
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3159
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
3160
|
+
type: "defaultHook";
|
|
2936
3161
|
} | {
|
|
2937
|
-
type: "
|
|
3162
|
+
type: "ccipHook";
|
|
2938
3163
|
destinationChain: string;
|
|
2939
|
-
arbSys: string;
|
|
2940
|
-
bridge?: string | undefined;
|
|
2941
|
-
childHook?: any;
|
|
2942
3164
|
} | {
|
|
2943
|
-
type: "
|
|
3165
|
+
type: "cctpHook";
|
|
3166
|
+
address: string;
|
|
2944
3167
|
} | {
|
|
2945
3168
|
type: "rateLimitedHook";
|
|
2946
3169
|
owner: string;
|
|
2947
3170
|
maxCapacity: string;
|
|
2948
3171
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2949
|
-
} | {
|
|
2950
|
-
type: "ccipHook";
|
|
2951
|
-
destinationChain: string;
|
|
2952
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2953
|
-
type: "cctpHook";
|
|
2954
|
-
address: string;
|
|
2955
3172
|
} | z.objectInputType<{
|
|
2956
3173
|
type: z.ZodLiteral<"unknownHook">;
|
|
2957
3174
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2994,12 +3211,18 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2994
3211
|
}>;
|
|
2995
3212
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2996
3213
|
quoteSigners?: string[] | undefined;
|
|
3214
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2997
3215
|
contractVersion?: string | undefined;
|
|
3216
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3217
|
+
gasPrice: string;
|
|
3218
|
+
tokenExchangeRate: string;
|
|
3219
|
+
tokenDecimals?: number | undefined;
|
|
3220
|
+
}>> | undefined;
|
|
2998
3221
|
} | {
|
|
2999
3222
|
type: "protocolFee";
|
|
3000
3223
|
owner: string;
|
|
3001
|
-
protocolFee: string;
|
|
3002
3224
|
beneficiary: string;
|
|
3225
|
+
protocolFee: string;
|
|
3003
3226
|
maxProtocolFee: string;
|
|
3004
3227
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3005
3228
|
} | {
|
|
@@ -3013,25 +3236,19 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3013
3236
|
nativeBridge: string;
|
|
3014
3237
|
destinationChain: string;
|
|
3015
3238
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3239
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
3240
|
+
type: "defaultHook";
|
|
3016
3241
|
} | {
|
|
3017
|
-
type: "
|
|
3242
|
+
type: "ccipHook";
|
|
3018
3243
|
destinationChain: string;
|
|
3019
|
-
arbSys: string;
|
|
3020
|
-
bridge?: string | undefined;
|
|
3021
|
-
childHook?: any;
|
|
3022
3244
|
} | {
|
|
3023
|
-
type: "
|
|
3245
|
+
type: "cctpHook";
|
|
3246
|
+
address: string;
|
|
3024
3247
|
} | {
|
|
3025
3248
|
type: "rateLimitedHook";
|
|
3026
3249
|
owner: string;
|
|
3027
3250
|
maxCapacity: string;
|
|
3028
3251
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3029
|
-
} | {
|
|
3030
|
-
type: "ccipHook";
|
|
3031
|
-
destinationChain: string;
|
|
3032
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
3033
|
-
type: "cctpHook";
|
|
3034
|
-
address: string;
|
|
3035
3252
|
} | z.objectInputType<{
|
|
3036
3253
|
type: z.ZodLiteral<"unknownHook">;
|
|
3037
3254
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -3082,7 +3299,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3082
3299
|
owner: string;
|
|
3083
3300
|
urls: string[];
|
|
3084
3301
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3085
|
-
} | {
|
|
3302
|
+
} | ({
|
|
3303
|
+
owner: string;
|
|
3304
|
+
paused: boolean;
|
|
3305
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3306
|
+
} & {
|
|
3307
|
+
type: "pausableIsm";
|
|
3308
|
+
} & {
|
|
3309
|
+
address: string;
|
|
3310
|
+
}) | {
|
|
3086
3311
|
type: "interchainAccountRouting";
|
|
3087
3312
|
owner: string;
|
|
3088
3313
|
isms: Record<string, string>;
|
|
@@ -3095,36 +3320,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3095
3320
|
address: string;
|
|
3096
3321
|
}> | undefined;
|
|
3097
3322
|
tokenFee?: {
|
|
3098
|
-
type:
|
|
3323
|
+
type: "LinearFee";
|
|
3099
3324
|
owner: string;
|
|
3325
|
+
beneficiary?: string | undefined;
|
|
3100
3326
|
maxFee?: string | number | bigint | undefined;
|
|
3101
3327
|
halfAmount?: string | number | bigint | undefined;
|
|
3102
3328
|
bps?: string | number | undefined;
|
|
3103
3329
|
} | {
|
|
3104
|
-
type:
|
|
3330
|
+
type: "OffchainQuotedLinearFee";
|
|
3105
3331
|
owner: string;
|
|
3332
|
+
beneficiary?: string | undefined;
|
|
3106
3333
|
maxFee?: string | number | bigint | undefined;
|
|
3107
3334
|
halfAmount?: string | number | bigint | undefined;
|
|
3108
3335
|
bps?: string | number | undefined;
|
|
3109
3336
|
quoteSigners?: string[] | undefined;
|
|
3110
3337
|
} | {
|
|
3111
|
-
type:
|
|
3338
|
+
type: "ProgressiveFee";
|
|
3112
3339
|
owner: string;
|
|
3113
3340
|
maxFee: string | number | bigint;
|
|
3114
3341
|
halfAmount: string | number | bigint;
|
|
3342
|
+
beneficiary?: string | undefined;
|
|
3115
3343
|
} | {
|
|
3116
|
-
type:
|
|
3344
|
+
type: "RegressiveFee";
|
|
3117
3345
|
owner: string;
|
|
3118
3346
|
maxFee: string | number | bigint;
|
|
3119
3347
|
halfAmount: string | number | bigint;
|
|
3348
|
+
beneficiary?: string | undefined;
|
|
3120
3349
|
} | {
|
|
3121
|
-
type:
|
|
3350
|
+
type: "RoutingFee";
|
|
3122
3351
|
owner: string;
|
|
3123
3352
|
feeContracts: Record<string, any>;
|
|
3353
|
+
beneficiary?: string | undefined;
|
|
3124
3354
|
} | {
|
|
3125
|
-
type:
|
|
3355
|
+
type: "CrossCollateralRoutingFee";
|
|
3126
3356
|
owner: string;
|
|
3127
3357
|
feeContracts: Record<string, Record<string, any>>;
|
|
3358
|
+
beneficiary?: string | undefined;
|
|
3128
3359
|
} | undefined;
|
|
3129
3360
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3130
3361
|
commitmentIsm?: {
|
|
@@ -3138,6 +3369,7 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3138
3369
|
feeToken: string;
|
|
3139
3370
|
}[] | undefined;
|
|
3140
3371
|
} | undefined;
|
|
3372
|
+
deployQuotedCalls?: boolean | undefined;
|
|
3141
3373
|
}>;
|
|
3142
3374
|
export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
3143
3375
|
owner: z.ZodString;
|
|
@@ -3160,7 +3392,32 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3160
3392
|
type: "opStackIsm";
|
|
3161
3393
|
origin: string;
|
|
3162
3394
|
nativeBridge: string;
|
|
3163
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
3395
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3396
|
+
owner: z.ZodString;
|
|
3397
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3398
|
+
} & {
|
|
3399
|
+
paused: z.ZodBoolean;
|
|
3400
|
+
}, "strip", z.ZodTypeAny, {
|
|
3401
|
+
owner: string;
|
|
3402
|
+
paused: boolean;
|
|
3403
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3404
|
+
}, {
|
|
3405
|
+
owner: string;
|
|
3406
|
+
paused: boolean;
|
|
3407
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3408
|
+
}>, z.ZodObject<{
|
|
3409
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
type: "pausableIsm";
|
|
3412
|
+
}, {
|
|
3413
|
+
type: "pausableIsm";
|
|
3414
|
+
}>>, z.ZodObject<{
|
|
3415
|
+
address: z.ZodString;
|
|
3416
|
+
}, "strip", z.ZodTypeAny, {
|
|
3417
|
+
address: string;
|
|
3418
|
+
}, {
|
|
3419
|
+
address: string;
|
|
3420
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
3164
3421
|
owner: z.ZodString;
|
|
3165
3422
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3166
3423
|
} & {
|
|
@@ -3336,15 +3593,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3336
3593
|
}, "strip", z.ZodTypeAny, {
|
|
3337
3594
|
type: "protocolFee";
|
|
3338
3595
|
owner: string;
|
|
3339
|
-
protocolFee: string;
|
|
3340
3596
|
beneficiary: string;
|
|
3597
|
+
protocolFee: string;
|
|
3341
3598
|
maxProtocolFee: string;
|
|
3342
3599
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3343
3600
|
}, {
|
|
3344
3601
|
type: "protocolFee";
|
|
3345
3602
|
owner: string;
|
|
3346
|
-
protocolFee: string;
|
|
3347
3603
|
beneficiary: string;
|
|
3604
|
+
protocolFee: string;
|
|
3348
3605
|
maxProtocolFee: string;
|
|
3349
3606
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3350
3607
|
}>, z.ZodObject<{
|
|
@@ -3435,8 +3692,23 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3435
3692
|
totalUsdCost: number;
|
|
3436
3693
|
} | undefined;
|
|
3437
3694
|
}>>;
|
|
3695
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
3438
3696
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3439
3697
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
3698
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3699
|
+
gasPrice: z.ZodString;
|
|
3700
|
+
tokenExchangeRate: z.ZodString;
|
|
3701
|
+
} & {
|
|
3702
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
3703
|
+
}, "strip", z.ZodTypeAny, {
|
|
3704
|
+
gasPrice: string;
|
|
3705
|
+
tokenExchangeRate: string;
|
|
3706
|
+
tokenDecimals?: number | undefined;
|
|
3707
|
+
}, {
|
|
3708
|
+
gasPrice: string;
|
|
3709
|
+
tokenExchangeRate: string;
|
|
3710
|
+
tokenDecimals?: number | undefined;
|
|
3711
|
+
}>>>>;
|
|
3440
3712
|
}, "strip", z.ZodTypeAny, {
|
|
3441
3713
|
type: "interchainGasPaymaster";
|
|
3442
3714
|
owner: string;
|
|
@@ -3455,7 +3727,13 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3455
3727
|
}>;
|
|
3456
3728
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3457
3729
|
quoteSigners?: string[] | undefined;
|
|
3730
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3458
3731
|
contractVersion?: string | undefined;
|
|
3732
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3733
|
+
gasPrice: string;
|
|
3734
|
+
tokenExchangeRate: string;
|
|
3735
|
+
tokenDecimals?: number | undefined;
|
|
3736
|
+
}>> | undefined;
|
|
3459
3737
|
}, {
|
|
3460
3738
|
type: "interchainGasPaymaster";
|
|
3461
3739
|
owner: string;
|
|
@@ -3474,26 +3752,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3474
3752
|
}>;
|
|
3475
3753
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3476
3754
|
quoteSigners?: string[] | undefined;
|
|
3755
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3477
3756
|
contractVersion?: string | undefined;
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
}, "strip", z.ZodTypeAny, {
|
|
3485
|
-
type: "arbL2ToL1Hook";
|
|
3486
|
-
destinationChain: string;
|
|
3487
|
-
arbSys: string;
|
|
3488
|
-
bridge?: string | undefined;
|
|
3489
|
-
childHook?: any;
|
|
3490
|
-
}, {
|
|
3491
|
-
type: "arbL2ToL1Hook";
|
|
3492
|
-
destinationChain: string;
|
|
3493
|
-
arbSys: string;
|
|
3494
|
-
bridge?: string | undefined;
|
|
3495
|
-
childHook?: any;
|
|
3496
|
-
}>, z.ZodObject<{
|
|
3757
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3758
|
+
gasPrice: string;
|
|
3759
|
+
tokenExchangeRate: string;
|
|
3760
|
+
tokenDecimals?: number | undefined;
|
|
3761
|
+
}>> | undefined;
|
|
3762
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
3497
3763
|
type: z.ZodLiteral<"defaultHook">;
|
|
3498
3764
|
}, "strip", z.ZodTypeAny, {
|
|
3499
3765
|
type: "defaultHook";
|
|
@@ -3580,15 +3846,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3580
3846
|
}, "strip", z.ZodTypeAny, {
|
|
3581
3847
|
type: "protocolFee";
|
|
3582
3848
|
owner: string;
|
|
3583
|
-
protocolFee: string;
|
|
3584
3849
|
beneficiary: string;
|
|
3850
|
+
protocolFee: string;
|
|
3585
3851
|
maxProtocolFee: string;
|
|
3586
3852
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3587
3853
|
}, {
|
|
3588
3854
|
type: "protocolFee";
|
|
3589
3855
|
owner: string;
|
|
3590
|
-
protocolFee: string;
|
|
3591
3856
|
beneficiary: string;
|
|
3857
|
+
protocolFee: string;
|
|
3592
3858
|
maxProtocolFee: string;
|
|
3593
3859
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3594
3860
|
}>, z.ZodObject<{
|
|
@@ -3679,8 +3945,23 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3679
3945
|
totalUsdCost: number;
|
|
3680
3946
|
} | undefined;
|
|
3681
3947
|
}>>;
|
|
3948
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
3682
3949
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3683
3950
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
3951
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3952
|
+
gasPrice: z.ZodString;
|
|
3953
|
+
tokenExchangeRate: z.ZodString;
|
|
3954
|
+
} & {
|
|
3955
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
3956
|
+
}, "strip", z.ZodTypeAny, {
|
|
3957
|
+
gasPrice: string;
|
|
3958
|
+
tokenExchangeRate: string;
|
|
3959
|
+
tokenDecimals?: number | undefined;
|
|
3960
|
+
}, {
|
|
3961
|
+
gasPrice: string;
|
|
3962
|
+
tokenExchangeRate: string;
|
|
3963
|
+
tokenDecimals?: number | undefined;
|
|
3964
|
+
}>>>>;
|
|
3684
3965
|
}, "strip", z.ZodTypeAny, {
|
|
3685
3966
|
type: "interchainGasPaymaster";
|
|
3686
3967
|
owner: string;
|
|
@@ -3699,7 +3980,13 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3699
3980
|
}>;
|
|
3700
3981
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3701
3982
|
quoteSigners?: string[] | undefined;
|
|
3983
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3702
3984
|
contractVersion?: string | undefined;
|
|
3985
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
3986
|
+
gasPrice: string;
|
|
3987
|
+
tokenExchangeRate: string;
|
|
3988
|
+
tokenDecimals?: number | undefined;
|
|
3989
|
+
}>> | undefined;
|
|
3703
3990
|
}, {
|
|
3704
3991
|
type: "interchainGasPaymaster";
|
|
3705
3992
|
owner: string;
|
|
@@ -3718,26 +4005,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3718
4005
|
}>;
|
|
3719
4006
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3720
4007
|
quoteSigners?: string[] | undefined;
|
|
4008
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3721
4009
|
contractVersion?: string | undefined;
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
}, "strip", z.ZodTypeAny, {
|
|
3729
|
-
type: "arbL2ToL1Hook";
|
|
3730
|
-
destinationChain: string;
|
|
3731
|
-
arbSys: string;
|
|
3732
|
-
bridge?: string | undefined;
|
|
3733
|
-
childHook?: any;
|
|
3734
|
-
}, {
|
|
3735
|
-
type: "arbL2ToL1Hook";
|
|
3736
|
-
destinationChain: string;
|
|
3737
|
-
arbSys: string;
|
|
3738
|
-
bridge?: string | undefined;
|
|
3739
|
-
childHook?: any;
|
|
3740
|
-
}>, z.ZodObject<{
|
|
4010
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
4011
|
+
gasPrice: string;
|
|
4012
|
+
tokenExchangeRate: string;
|
|
4013
|
+
tokenDecimals?: number | undefined;
|
|
4014
|
+
}>> | undefined;
|
|
4015
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
3741
4016
|
type: z.ZodLiteral<"defaultHook">;
|
|
3742
4017
|
}, "strip", z.ZodTypeAny, {
|
|
3743
4018
|
type: "defaultHook";
|
|
@@ -3828,6 +4103,7 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3828
4103
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3829
4104
|
}>>;
|
|
3830
4105
|
permit2: z.ZodOptional<z.ZodString>;
|
|
4106
|
+
deployQuotedCalls: z.ZodOptional<z.ZodBoolean>;
|
|
3831
4107
|
} & {
|
|
3832
4108
|
interchainAccountRouter: z.ZodOptional<z.ZodObject<{
|
|
3833
4109
|
owner: z.ZodString;
|
|
@@ -3845,15 +4121,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3845
4121
|
}, "strip", z.ZodTypeAny, {
|
|
3846
4122
|
type: "protocolFee";
|
|
3847
4123
|
owner: string;
|
|
3848
|
-
protocolFee: string;
|
|
3849
4124
|
beneficiary: string;
|
|
4125
|
+
protocolFee: string;
|
|
3850
4126
|
maxProtocolFee: string;
|
|
3851
4127
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3852
4128
|
}, {
|
|
3853
4129
|
type: "protocolFee";
|
|
3854
4130
|
owner: string;
|
|
3855
|
-
protocolFee: string;
|
|
3856
4131
|
beneficiary: string;
|
|
4132
|
+
protocolFee: string;
|
|
3857
4133
|
maxProtocolFee: string;
|
|
3858
4134
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3859
4135
|
}>, z.ZodObject<{
|
|
@@ -3944,8 +4220,23 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3944
4220
|
totalUsdCost: number;
|
|
3945
4221
|
} | undefined;
|
|
3946
4222
|
}>>;
|
|
4223
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
3947
4224
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3948
4225
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
4226
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4227
|
+
gasPrice: z.ZodString;
|
|
4228
|
+
tokenExchangeRate: z.ZodString;
|
|
4229
|
+
} & {
|
|
4230
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
4231
|
+
}, "strip", z.ZodTypeAny, {
|
|
4232
|
+
gasPrice: string;
|
|
4233
|
+
tokenExchangeRate: string;
|
|
4234
|
+
tokenDecimals?: number | undefined;
|
|
4235
|
+
}, {
|
|
4236
|
+
gasPrice: string;
|
|
4237
|
+
tokenExchangeRate: string;
|
|
4238
|
+
tokenDecimals?: number | undefined;
|
|
4239
|
+
}>>>>;
|
|
3949
4240
|
}, "strip", z.ZodTypeAny, {
|
|
3950
4241
|
type: "interchainGasPaymaster";
|
|
3951
4242
|
owner: string;
|
|
@@ -3964,7 +4255,13 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3964
4255
|
}>;
|
|
3965
4256
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3966
4257
|
quoteSigners?: string[] | undefined;
|
|
4258
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3967
4259
|
contractVersion?: string | undefined;
|
|
4260
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
4261
|
+
gasPrice: string;
|
|
4262
|
+
tokenExchangeRate: string;
|
|
4263
|
+
tokenDecimals?: number | undefined;
|
|
4264
|
+
}>> | undefined;
|
|
3968
4265
|
}, {
|
|
3969
4266
|
type: "interchainGasPaymaster";
|
|
3970
4267
|
owner: string;
|
|
@@ -3983,26 +4280,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3983
4280
|
}>;
|
|
3984
4281
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3985
4282
|
quoteSigners?: string[] | undefined;
|
|
4283
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
3986
4284
|
contractVersion?: string | undefined;
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
}, "strip", z.ZodTypeAny, {
|
|
3994
|
-
type: "arbL2ToL1Hook";
|
|
3995
|
-
destinationChain: string;
|
|
3996
|
-
arbSys: string;
|
|
3997
|
-
bridge?: string | undefined;
|
|
3998
|
-
childHook?: any;
|
|
3999
|
-
}, {
|
|
4000
|
-
type: "arbL2ToL1Hook";
|
|
4001
|
-
destinationChain: string;
|
|
4002
|
-
arbSys: string;
|
|
4003
|
-
bridge?: string | undefined;
|
|
4004
|
-
childHook?: any;
|
|
4005
|
-
}>, z.ZodObject<{
|
|
4285
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
4286
|
+
gasPrice: string;
|
|
4287
|
+
tokenExchangeRate: string;
|
|
4288
|
+
tokenDecimals?: number | undefined;
|
|
4289
|
+
}>> | undefined;
|
|
4290
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
4006
4291
|
type: z.ZodLiteral<"defaultHook">;
|
|
4007
4292
|
}, "strip", z.ZodTypeAny, {
|
|
4008
4293
|
type: "defaultHook";
|
|
@@ -4096,7 +4381,32 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4096
4381
|
type: "opStackIsm";
|
|
4097
4382
|
origin: string;
|
|
4098
4383
|
nativeBridge: string;
|
|
4099
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
4384
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
4385
|
+
owner: z.ZodString;
|
|
4386
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4387
|
+
} & {
|
|
4388
|
+
paused: z.ZodBoolean;
|
|
4389
|
+
}, "strip", z.ZodTypeAny, {
|
|
4390
|
+
owner: string;
|
|
4391
|
+
paused: boolean;
|
|
4392
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4393
|
+
}, {
|
|
4394
|
+
owner: string;
|
|
4395
|
+
paused: boolean;
|
|
4396
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4397
|
+
}>, z.ZodObject<{
|
|
4398
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
4399
|
+
}, "strip", z.ZodTypeAny, {
|
|
4400
|
+
type: "pausableIsm";
|
|
4401
|
+
}, {
|
|
4402
|
+
type: "pausableIsm";
|
|
4403
|
+
}>>, z.ZodObject<{
|
|
4404
|
+
address: z.ZodString;
|
|
4405
|
+
}, "strip", z.ZodTypeAny, {
|
|
4406
|
+
address: string;
|
|
4407
|
+
}, {
|
|
4408
|
+
address: string;
|
|
4409
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
4100
4410
|
owner: z.ZodString;
|
|
4101
4411
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4102
4412
|
} & {
|
|
@@ -4287,192 +4597,226 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4287
4597
|
}>>;
|
|
4288
4598
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4289
4599
|
owner: z.ZodString;
|
|
4600
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4290
4601
|
} & {
|
|
4291
4602
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4292
4603
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4293
|
-
type: z.ZodLiteral<
|
|
4604
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
4294
4605
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
4295
4606
|
}, "strip", z.ZodTypeAny, {
|
|
4296
|
-
type:
|
|
4607
|
+
type: "LinearFee";
|
|
4297
4608
|
owner: string;
|
|
4609
|
+
beneficiary?: string | undefined;
|
|
4298
4610
|
maxFee?: bigint | undefined;
|
|
4299
4611
|
halfAmount?: bigint | undefined;
|
|
4300
4612
|
bps?: number | undefined;
|
|
4301
4613
|
}, {
|
|
4302
|
-
type:
|
|
4614
|
+
type: "LinearFee";
|
|
4303
4615
|
owner: string;
|
|
4616
|
+
beneficiary?: string | undefined;
|
|
4304
4617
|
maxFee?: string | number | bigint | undefined;
|
|
4305
4618
|
halfAmount?: string | number | bigint | undefined;
|
|
4306
4619
|
bps?: string | number | undefined;
|
|
4307
4620
|
}>, {
|
|
4308
|
-
type:
|
|
4621
|
+
type: "LinearFee";
|
|
4309
4622
|
owner: string;
|
|
4623
|
+
beneficiary?: string | undefined;
|
|
4310
4624
|
maxFee?: bigint | undefined;
|
|
4311
4625
|
halfAmount?: bigint | undefined;
|
|
4312
4626
|
bps?: number | undefined;
|
|
4313
4627
|
}, {
|
|
4314
|
-
type:
|
|
4628
|
+
type: "LinearFee";
|
|
4315
4629
|
owner: string;
|
|
4630
|
+
beneficiary?: string | undefined;
|
|
4316
4631
|
maxFee?: string | number | bigint | undefined;
|
|
4317
4632
|
halfAmount?: string | number | bigint | undefined;
|
|
4318
4633
|
bps?: string | number | undefined;
|
|
4319
4634
|
}>, {
|
|
4320
4635
|
bps: number;
|
|
4321
|
-
type:
|
|
4636
|
+
type: "LinearFee";
|
|
4322
4637
|
owner: string;
|
|
4638
|
+
beneficiary?: string | undefined;
|
|
4323
4639
|
maxFee?: bigint | undefined;
|
|
4324
4640
|
halfAmount?: bigint | undefined;
|
|
4325
4641
|
}, {
|
|
4326
|
-
type:
|
|
4642
|
+
type: "LinearFee";
|
|
4327
4643
|
owner: string;
|
|
4644
|
+
beneficiary?: string | undefined;
|
|
4328
4645
|
maxFee?: string | number | bigint | undefined;
|
|
4329
4646
|
halfAmount?: string | number | bigint | undefined;
|
|
4330
4647
|
bps?: string | number | undefined;
|
|
4331
4648
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4332
4649
|
owner: z.ZodString;
|
|
4650
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4333
4651
|
} & {
|
|
4334
4652
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4335
4653
|
} & {
|
|
4336
4654
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4337
4655
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4338
|
-
type: z.ZodLiteral<
|
|
4656
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
4339
4657
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
4340
4658
|
}, "strip", z.ZodTypeAny, {
|
|
4341
|
-
type:
|
|
4659
|
+
type: "OffchainQuotedLinearFee";
|
|
4342
4660
|
owner: string;
|
|
4661
|
+
beneficiary?: string | undefined;
|
|
4343
4662
|
maxFee?: bigint | undefined;
|
|
4344
4663
|
halfAmount?: bigint | undefined;
|
|
4345
4664
|
bps?: number | undefined;
|
|
4346
4665
|
quoteSigners?: string[] | undefined;
|
|
4347
4666
|
}, {
|
|
4348
|
-
type:
|
|
4667
|
+
type: "OffchainQuotedLinearFee";
|
|
4349
4668
|
owner: string;
|
|
4669
|
+
beneficiary?: string | undefined;
|
|
4350
4670
|
maxFee?: string | number | bigint | undefined;
|
|
4351
4671
|
halfAmount?: string | number | bigint | undefined;
|
|
4352
4672
|
bps?: string | number | undefined;
|
|
4353
4673
|
quoteSigners?: string[] | undefined;
|
|
4354
4674
|
}>, {
|
|
4355
|
-
type:
|
|
4675
|
+
type: "OffchainQuotedLinearFee";
|
|
4356
4676
|
owner: string;
|
|
4677
|
+
beneficiary?: string | undefined;
|
|
4357
4678
|
maxFee?: bigint | undefined;
|
|
4358
4679
|
halfAmount?: bigint | undefined;
|
|
4359
4680
|
bps?: number | undefined;
|
|
4360
4681
|
quoteSigners?: string[] | undefined;
|
|
4361
4682
|
}, {
|
|
4362
|
-
type:
|
|
4683
|
+
type: "OffchainQuotedLinearFee";
|
|
4363
4684
|
owner: string;
|
|
4685
|
+
beneficiary?: string | undefined;
|
|
4364
4686
|
maxFee?: string | number | bigint | undefined;
|
|
4365
4687
|
halfAmount?: string | number | bigint | undefined;
|
|
4366
4688
|
bps?: string | number | undefined;
|
|
4367
4689
|
quoteSigners?: string[] | undefined;
|
|
4368
4690
|
}>, {
|
|
4369
4691
|
bps: number;
|
|
4370
|
-
type:
|
|
4692
|
+
type: "OffchainQuotedLinearFee";
|
|
4371
4693
|
owner: string;
|
|
4694
|
+
beneficiary?: string | undefined;
|
|
4372
4695
|
maxFee?: bigint | undefined;
|
|
4373
4696
|
halfAmount?: bigint | undefined;
|
|
4374
4697
|
quoteSigners?: string[] | undefined;
|
|
4375
4698
|
}, {
|
|
4376
|
-
type:
|
|
4699
|
+
type: "OffchainQuotedLinearFee";
|
|
4377
4700
|
owner: string;
|
|
4701
|
+
beneficiary?: string | undefined;
|
|
4378
4702
|
maxFee?: string | number | bigint | undefined;
|
|
4379
4703
|
halfAmount?: string | number | bigint | undefined;
|
|
4380
4704
|
bps?: string | number | undefined;
|
|
4381
4705
|
quoteSigners?: string[] | undefined;
|
|
4382
4706
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4383
4707
|
owner: z.ZodString;
|
|
4708
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4384
4709
|
} & {
|
|
4385
|
-
type: z.ZodLiteral<
|
|
4710
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
4386
4711
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4387
4712
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4388
4713
|
}, "strip", z.ZodTypeAny, {
|
|
4389
|
-
type:
|
|
4714
|
+
type: "ProgressiveFee";
|
|
4390
4715
|
owner: string;
|
|
4391
4716
|
maxFee: bigint;
|
|
4392
4717
|
halfAmount: bigint;
|
|
4718
|
+
beneficiary?: string | undefined;
|
|
4393
4719
|
}, {
|
|
4394
|
-
type:
|
|
4720
|
+
type: "ProgressiveFee";
|
|
4395
4721
|
owner: string;
|
|
4396
4722
|
maxFee: string | number | bigint;
|
|
4397
4723
|
halfAmount: string | number | bigint;
|
|
4724
|
+
beneficiary?: string | undefined;
|
|
4398
4725
|
}>, {
|
|
4399
|
-
type:
|
|
4726
|
+
type: "ProgressiveFee";
|
|
4400
4727
|
owner: string;
|
|
4401
4728
|
maxFee: bigint;
|
|
4402
4729
|
halfAmount: bigint;
|
|
4730
|
+
beneficiary?: string | undefined;
|
|
4403
4731
|
}, {
|
|
4404
|
-
type:
|
|
4732
|
+
type: "ProgressiveFee";
|
|
4405
4733
|
owner: string;
|
|
4406
4734
|
maxFee: string | number | bigint;
|
|
4407
4735
|
halfAmount: string | number | bigint;
|
|
4736
|
+
beneficiary?: string | undefined;
|
|
4408
4737
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4409
4738
|
owner: z.ZodString;
|
|
4739
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4410
4740
|
} & {
|
|
4411
|
-
type: z.ZodLiteral<
|
|
4741
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
4412
4742
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4413
4743
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4414
4744
|
}, "strip", z.ZodTypeAny, {
|
|
4415
|
-
type:
|
|
4745
|
+
type: "RegressiveFee";
|
|
4416
4746
|
owner: string;
|
|
4417
4747
|
maxFee: bigint;
|
|
4418
4748
|
halfAmount: bigint;
|
|
4749
|
+
beneficiary?: string | undefined;
|
|
4419
4750
|
}, {
|
|
4420
|
-
type:
|
|
4751
|
+
type: "RegressiveFee";
|
|
4421
4752
|
owner: string;
|
|
4422
4753
|
maxFee: string | number | bigint;
|
|
4423
4754
|
halfAmount: string | number | bigint;
|
|
4755
|
+
beneficiary?: string | undefined;
|
|
4424
4756
|
}>, {
|
|
4425
|
-
type:
|
|
4757
|
+
type: "RegressiveFee";
|
|
4426
4758
|
owner: string;
|
|
4427
4759
|
maxFee: bigint;
|
|
4428
4760
|
halfAmount: bigint;
|
|
4761
|
+
beneficiary?: string | undefined;
|
|
4429
4762
|
}, {
|
|
4430
|
-
type:
|
|
4763
|
+
type: "RegressiveFee";
|
|
4431
4764
|
owner: string;
|
|
4432
4765
|
maxFee: string | number | bigint;
|
|
4433
4766
|
halfAmount: string | number | bigint;
|
|
4767
|
+
beneficiary?: string | undefined;
|
|
4434
4768
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4435
4769
|
owner: z.ZodString;
|
|
4770
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4436
4771
|
} & {
|
|
4437
|
-
type: z.ZodLiteral<
|
|
4772
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
4438
4773
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
4439
4774
|
}, "strip", z.ZodTypeAny, {
|
|
4440
|
-
type:
|
|
4775
|
+
type: "RoutingFee";
|
|
4441
4776
|
owner: string;
|
|
4442
4777
|
feeContracts: Record<string, any>;
|
|
4778
|
+
beneficiary?: string | undefined;
|
|
4443
4779
|
}, {
|
|
4444
|
-
type:
|
|
4780
|
+
type: "RoutingFee";
|
|
4445
4781
|
owner: string;
|
|
4446
4782
|
feeContracts: Record<string, any>;
|
|
4783
|
+
beneficiary?: string | undefined;
|
|
4447
4784
|
}>, {
|
|
4448
|
-
type:
|
|
4785
|
+
type: "RoutingFee";
|
|
4449
4786
|
owner: string;
|
|
4450
4787
|
feeContracts: Record<string, any>;
|
|
4788
|
+
beneficiary?: string | undefined;
|
|
4451
4789
|
}, {
|
|
4452
|
-
type:
|
|
4790
|
+
type: "RoutingFee";
|
|
4453
4791
|
owner: string;
|
|
4454
4792
|
feeContracts: Record<string, any>;
|
|
4793
|
+
beneficiary?: string | undefined;
|
|
4455
4794
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4456
4795
|
owner: z.ZodString;
|
|
4796
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4457
4797
|
} & {
|
|
4458
|
-
type: z.ZodLiteral<
|
|
4798
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
4459
4799
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
|
|
4460
4800
|
}, "strip", z.ZodTypeAny, {
|
|
4461
|
-
type:
|
|
4801
|
+
type: "CrossCollateralRoutingFee";
|
|
4462
4802
|
owner: string;
|
|
4463
4803
|
feeContracts: Record<string, Record<string, any>>;
|
|
4804
|
+
beneficiary?: string | undefined;
|
|
4464
4805
|
}, {
|
|
4465
|
-
type:
|
|
4806
|
+
type: "CrossCollateralRoutingFee";
|
|
4466
4807
|
owner: string;
|
|
4467
4808
|
feeContracts: Record<string, Record<string, any>>;
|
|
4809
|
+
beneficiary?: string | undefined;
|
|
4468
4810
|
}>, {
|
|
4469
|
-
type:
|
|
4811
|
+
type: "CrossCollateralRoutingFee";
|
|
4470
4812
|
owner: string;
|
|
4471
4813
|
feeContracts: Record<string, Record<string, any>>;
|
|
4814
|
+
beneficiary?: string | undefined;
|
|
4472
4815
|
}, {
|
|
4473
|
-
type:
|
|
4816
|
+
type: "CrossCollateralRoutingFee";
|
|
4474
4817
|
owner: string;
|
|
4475
4818
|
feeContracts: Record<string, Record<string, any>>;
|
|
4819
|
+
beneficiary?: string | undefined;
|
|
4476
4820
|
}>]>>;
|
|
4477
4821
|
} & {
|
|
4478
4822
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -4535,12 +4879,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4535
4879
|
}>;
|
|
4536
4880
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4537
4881
|
quoteSigners?: string[] | undefined;
|
|
4882
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
4538
4883
|
contractVersion?: string | undefined;
|
|
4884
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
4885
|
+
gasPrice: string;
|
|
4886
|
+
tokenExchangeRate: string;
|
|
4887
|
+
tokenDecimals?: number | undefined;
|
|
4888
|
+
}>> | undefined;
|
|
4539
4889
|
} | {
|
|
4540
4890
|
type: "protocolFee";
|
|
4541
4891
|
owner: string;
|
|
4542
|
-
protocolFee: string;
|
|
4543
4892
|
beneficiary: string;
|
|
4893
|
+
protocolFee: string;
|
|
4544
4894
|
maxProtocolFee: string;
|
|
4545
4895
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4546
4896
|
} | {
|
|
@@ -4554,25 +4904,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4554
4904
|
nativeBridge: string;
|
|
4555
4905
|
destinationChain: string;
|
|
4556
4906
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4907
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
4908
|
+
type: "defaultHook";
|
|
4557
4909
|
} | {
|
|
4558
|
-
type: "
|
|
4910
|
+
type: "ccipHook";
|
|
4559
4911
|
destinationChain: string;
|
|
4560
|
-
arbSys: string;
|
|
4561
|
-
bridge?: string | undefined;
|
|
4562
|
-
childHook?: any;
|
|
4563
4912
|
} | {
|
|
4564
|
-
type: "
|
|
4913
|
+
type: "cctpHook";
|
|
4914
|
+
address: string;
|
|
4565
4915
|
} | {
|
|
4566
4916
|
type: "rateLimitedHook";
|
|
4567
4917
|
owner: string;
|
|
4568
4918
|
maxCapacity: string;
|
|
4569
4919
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4570
|
-
} | {
|
|
4571
|
-
type: "ccipHook";
|
|
4572
|
-
destinationChain: string;
|
|
4573
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
4574
|
-
type: "cctpHook";
|
|
4575
|
-
address: string;
|
|
4576
4920
|
} | z.objectOutputType<{
|
|
4577
4921
|
type: z.ZodLiteral<"unknownHook">;
|
|
4578
4922
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -4623,7 +4967,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4623
4967
|
owner: string;
|
|
4624
4968
|
urls: string[];
|
|
4625
4969
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4626
|
-
} |
|
|
4970
|
+
} | ({
|
|
4971
|
+
owner: string;
|
|
4972
|
+
paused: boolean;
|
|
4973
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4974
|
+
} & {
|
|
4975
|
+
type: "pausableIsm";
|
|
4976
|
+
} & {
|
|
4977
|
+
address: string;
|
|
4978
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
4627
4979
|
type: z.ZodLiteral<"unknownIsm">;
|
|
4628
4980
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4629
4981
|
foreignDeployment?: string | undefined;
|
|
@@ -4632,35 +4984,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4632
4984
|
}> | undefined;
|
|
4633
4985
|
tokenFee?: {
|
|
4634
4986
|
bps: number;
|
|
4635
|
-
type:
|
|
4987
|
+
type: "LinearFee";
|
|
4636
4988
|
owner: string;
|
|
4989
|
+
beneficiary?: string | undefined;
|
|
4637
4990
|
maxFee?: bigint | undefined;
|
|
4638
4991
|
halfAmount?: bigint | undefined;
|
|
4639
4992
|
} | {
|
|
4640
4993
|
bps: number;
|
|
4641
|
-
type:
|
|
4994
|
+
type: "OffchainQuotedLinearFee";
|
|
4642
4995
|
owner: string;
|
|
4996
|
+
beneficiary?: string | undefined;
|
|
4643
4997
|
maxFee?: bigint | undefined;
|
|
4644
4998
|
halfAmount?: bigint | undefined;
|
|
4645
4999
|
quoteSigners?: string[] | undefined;
|
|
4646
5000
|
} | {
|
|
4647
|
-
type:
|
|
5001
|
+
type: "ProgressiveFee";
|
|
4648
5002
|
owner: string;
|
|
4649
5003
|
maxFee: bigint;
|
|
4650
5004
|
halfAmount: bigint;
|
|
5005
|
+
beneficiary?: string | undefined;
|
|
4651
5006
|
} | {
|
|
4652
|
-
type:
|
|
5007
|
+
type: "RegressiveFee";
|
|
4653
5008
|
owner: string;
|
|
4654
5009
|
maxFee: bigint;
|
|
4655
5010
|
halfAmount: bigint;
|
|
5011
|
+
beneficiary?: string | undefined;
|
|
4656
5012
|
} | {
|
|
4657
|
-
type:
|
|
5013
|
+
type: "RoutingFee";
|
|
4658
5014
|
owner: string;
|
|
4659
5015
|
feeContracts: Record<string, any>;
|
|
5016
|
+
beneficiary?: string | undefined;
|
|
4660
5017
|
} | {
|
|
4661
|
-
type:
|
|
5018
|
+
type: "CrossCollateralRoutingFee";
|
|
4662
5019
|
owner: string;
|
|
4663
5020
|
feeContracts: Record<string, Record<string, any>>;
|
|
5021
|
+
beneficiary?: string | undefined;
|
|
4664
5022
|
} | undefined;
|
|
4665
5023
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
4666
5024
|
commitmentIsm?: {
|
|
@@ -4703,12 +5061,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4703
5061
|
}>;
|
|
4704
5062
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4705
5063
|
quoteSigners?: string[] | undefined;
|
|
5064
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
4706
5065
|
contractVersion?: string | undefined;
|
|
5066
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5067
|
+
gasPrice: string;
|
|
5068
|
+
tokenExchangeRate: string;
|
|
5069
|
+
tokenDecimals?: number | undefined;
|
|
5070
|
+
}>> | undefined;
|
|
4707
5071
|
} | {
|
|
4708
5072
|
type: "protocolFee";
|
|
4709
5073
|
owner: string;
|
|
4710
|
-
protocolFee: string;
|
|
4711
5074
|
beneficiary: string;
|
|
5075
|
+
protocolFee: string;
|
|
4712
5076
|
maxProtocolFee: string;
|
|
4713
5077
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4714
5078
|
} | {
|
|
@@ -4722,25 +5086,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4722
5086
|
nativeBridge: string;
|
|
4723
5087
|
destinationChain: string;
|
|
4724
5088
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5089
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5090
|
+
type: "defaultHook";
|
|
4725
5091
|
} | {
|
|
4726
|
-
type: "
|
|
5092
|
+
type: "ccipHook";
|
|
4727
5093
|
destinationChain: string;
|
|
4728
|
-
arbSys: string;
|
|
4729
|
-
bridge?: string | undefined;
|
|
4730
|
-
childHook?: any;
|
|
4731
5094
|
} | {
|
|
4732
|
-
type: "
|
|
5095
|
+
type: "cctpHook";
|
|
5096
|
+
address: string;
|
|
4733
5097
|
} | {
|
|
4734
5098
|
type: "rateLimitedHook";
|
|
4735
5099
|
owner: string;
|
|
4736
5100
|
maxCapacity: string;
|
|
4737
5101
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4738
|
-
} | {
|
|
4739
|
-
type: "ccipHook";
|
|
4740
|
-
destinationChain: string;
|
|
4741
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
4742
|
-
type: "cctpHook";
|
|
4743
|
-
address: string;
|
|
4744
5102
|
} | z.objectInputType<{
|
|
4745
5103
|
type: z.ZodLiteral<"unknownHook">;
|
|
4746
5104
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -4791,7 +5149,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4791
5149
|
owner: string;
|
|
4792
5150
|
urls: string[];
|
|
4793
5151
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4794
|
-
} | {
|
|
5152
|
+
} | ({
|
|
5153
|
+
owner: string;
|
|
5154
|
+
paused: boolean;
|
|
5155
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5156
|
+
} & {
|
|
5157
|
+
type: "pausableIsm";
|
|
5158
|
+
} & {
|
|
5159
|
+
address: string;
|
|
5160
|
+
}) | {
|
|
4795
5161
|
type: "interchainAccountRouting";
|
|
4796
5162
|
owner: string;
|
|
4797
5163
|
isms: Record<string, string>;
|
|
@@ -4804,36 +5170,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4804
5170
|
address: string;
|
|
4805
5171
|
}> | undefined;
|
|
4806
5172
|
tokenFee?: {
|
|
4807
|
-
type:
|
|
5173
|
+
type: "LinearFee";
|
|
4808
5174
|
owner: string;
|
|
5175
|
+
beneficiary?: string | undefined;
|
|
4809
5176
|
maxFee?: string | number | bigint | undefined;
|
|
4810
5177
|
halfAmount?: string | number | bigint | undefined;
|
|
4811
5178
|
bps?: string | number | undefined;
|
|
4812
5179
|
} | {
|
|
4813
|
-
type:
|
|
5180
|
+
type: "OffchainQuotedLinearFee";
|
|
4814
5181
|
owner: string;
|
|
5182
|
+
beneficiary?: string | undefined;
|
|
4815
5183
|
maxFee?: string | number | bigint | undefined;
|
|
4816
5184
|
halfAmount?: string | number | bigint | undefined;
|
|
4817
5185
|
bps?: string | number | undefined;
|
|
4818
5186
|
quoteSigners?: string[] | undefined;
|
|
4819
5187
|
} | {
|
|
4820
|
-
type:
|
|
5188
|
+
type: "ProgressiveFee";
|
|
4821
5189
|
owner: string;
|
|
4822
5190
|
maxFee: string | number | bigint;
|
|
4823
5191
|
halfAmount: string | number | bigint;
|
|
5192
|
+
beneficiary?: string | undefined;
|
|
4824
5193
|
} | {
|
|
4825
|
-
type:
|
|
5194
|
+
type: "RegressiveFee";
|
|
4826
5195
|
owner: string;
|
|
4827
5196
|
maxFee: string | number | bigint;
|
|
4828
5197
|
halfAmount: string | number | bigint;
|
|
5198
|
+
beneficiary?: string | undefined;
|
|
4829
5199
|
} | {
|
|
4830
|
-
type:
|
|
5200
|
+
type: "RoutingFee";
|
|
4831
5201
|
owner: string;
|
|
4832
5202
|
feeContracts: Record<string, any>;
|
|
5203
|
+
beneficiary?: string | undefined;
|
|
4833
5204
|
} | {
|
|
4834
|
-
type:
|
|
5205
|
+
type: "CrossCollateralRoutingFee";
|
|
4835
5206
|
owner: string;
|
|
4836
5207
|
feeContracts: Record<string, Record<string, any>>;
|
|
5208
|
+
beneficiary?: string | undefined;
|
|
4837
5209
|
} | undefined;
|
|
4838
5210
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
4839
5211
|
commitmentIsm?: {
|
|
@@ -4869,12 +5241,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4869
5241
|
}>;
|
|
4870
5242
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4871
5243
|
quoteSigners?: string[] | undefined;
|
|
5244
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
4872
5245
|
contractVersion?: string | undefined;
|
|
5246
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5247
|
+
gasPrice: string;
|
|
5248
|
+
tokenExchangeRate: string;
|
|
5249
|
+
tokenDecimals?: number | undefined;
|
|
5250
|
+
}>> | undefined;
|
|
4873
5251
|
} | {
|
|
4874
5252
|
type: "protocolFee";
|
|
4875
5253
|
owner: string;
|
|
4876
|
-
protocolFee: string;
|
|
4877
5254
|
beneficiary: string;
|
|
5255
|
+
protocolFee: string;
|
|
4878
5256
|
maxProtocolFee: string;
|
|
4879
5257
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4880
5258
|
} | {
|
|
@@ -4888,25 +5266,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4888
5266
|
nativeBridge: string;
|
|
4889
5267
|
destinationChain: string;
|
|
4890
5268
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5269
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5270
|
+
type: "defaultHook";
|
|
4891
5271
|
} | {
|
|
4892
|
-
type: "
|
|
5272
|
+
type: "ccipHook";
|
|
4893
5273
|
destinationChain: string;
|
|
4894
|
-
arbSys: string;
|
|
4895
|
-
bridge?: string | undefined;
|
|
4896
|
-
childHook?: any;
|
|
4897
5274
|
} | {
|
|
4898
|
-
type: "
|
|
5275
|
+
type: "cctpHook";
|
|
5276
|
+
address: string;
|
|
4899
5277
|
} | {
|
|
4900
5278
|
type: "rateLimitedHook";
|
|
4901
5279
|
owner: string;
|
|
4902
5280
|
maxCapacity: string;
|
|
4903
5281
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4904
|
-
} | {
|
|
4905
|
-
type: "ccipHook";
|
|
4906
|
-
destinationChain: string;
|
|
4907
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
4908
|
-
type: "cctpHook";
|
|
4909
|
-
address: string;
|
|
4910
5282
|
} | z.objectOutputType<{
|
|
4911
5283
|
type: z.ZodLiteral<"unknownHook">;
|
|
4912
5284
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -4957,7 +5329,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4957
5329
|
owner: string;
|
|
4958
5330
|
urls: string[];
|
|
4959
5331
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4960
|
-
} |
|
|
5332
|
+
} | ({
|
|
5333
|
+
owner: string;
|
|
5334
|
+
paused: boolean;
|
|
5335
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5336
|
+
} & {
|
|
5337
|
+
type: "pausableIsm";
|
|
5338
|
+
} & {
|
|
5339
|
+
address: string;
|
|
5340
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
4961
5341
|
type: z.ZodLiteral<"unknownIsm">;
|
|
4962
5342
|
}, z.ZodTypeAny, "passthrough">;
|
|
4963
5343
|
requiredHook: string | {
|
|
@@ -4980,12 +5360,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4980
5360
|
}>;
|
|
4981
5361
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4982
5362
|
quoteSigners?: string[] | undefined;
|
|
5363
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
4983
5364
|
contractVersion?: string | undefined;
|
|
5365
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5366
|
+
gasPrice: string;
|
|
5367
|
+
tokenExchangeRate: string;
|
|
5368
|
+
tokenDecimals?: number | undefined;
|
|
5369
|
+
}>> | undefined;
|
|
4984
5370
|
} | {
|
|
4985
5371
|
type: "protocolFee";
|
|
4986
5372
|
owner: string;
|
|
4987
|
-
protocolFee: string;
|
|
4988
5373
|
beneficiary: string;
|
|
5374
|
+
protocolFee: string;
|
|
4989
5375
|
maxProtocolFee: string;
|
|
4990
5376
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4991
5377
|
} | {
|
|
@@ -4999,25 +5385,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4999
5385
|
nativeBridge: string;
|
|
5000
5386
|
destinationChain: string;
|
|
5001
5387
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5388
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5389
|
+
type: "defaultHook";
|
|
5002
5390
|
} | {
|
|
5003
|
-
type: "
|
|
5391
|
+
type: "ccipHook";
|
|
5004
5392
|
destinationChain: string;
|
|
5005
|
-
arbSys: string;
|
|
5006
|
-
bridge?: string | undefined;
|
|
5007
|
-
childHook?: any;
|
|
5008
5393
|
} | {
|
|
5009
|
-
type: "
|
|
5394
|
+
type: "cctpHook";
|
|
5395
|
+
address: string;
|
|
5010
5396
|
} | {
|
|
5011
5397
|
type: "rateLimitedHook";
|
|
5012
5398
|
owner: string;
|
|
5013
5399
|
maxCapacity: string;
|
|
5014
5400
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5015
|
-
} | {
|
|
5016
|
-
type: "ccipHook";
|
|
5017
|
-
destinationChain: string;
|
|
5018
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5019
|
-
type: "cctpHook";
|
|
5020
|
-
address: string;
|
|
5021
5401
|
} | z.objectOutputType<{
|
|
5022
5402
|
type: z.ZodLiteral<"unknownHook">;
|
|
5023
5403
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5061,12 +5441,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5061
5441
|
}>;
|
|
5062
5442
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5063
5443
|
quoteSigners?: string[] | undefined;
|
|
5444
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5064
5445
|
contractVersion?: string | undefined;
|
|
5446
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5447
|
+
gasPrice: string;
|
|
5448
|
+
tokenExchangeRate: string;
|
|
5449
|
+
tokenDecimals?: number | undefined;
|
|
5450
|
+
}>> | undefined;
|
|
5065
5451
|
} | {
|
|
5066
5452
|
type: "protocolFee";
|
|
5067
5453
|
owner: string;
|
|
5068
|
-
protocolFee: string;
|
|
5069
5454
|
beneficiary: string;
|
|
5455
|
+
protocolFee: string;
|
|
5070
5456
|
maxProtocolFee: string;
|
|
5071
5457
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5072
5458
|
} | {
|
|
@@ -5080,25 +5466,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5080
5466
|
nativeBridge: string;
|
|
5081
5467
|
destinationChain: string;
|
|
5082
5468
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5469
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5470
|
+
type: "defaultHook";
|
|
5083
5471
|
} | {
|
|
5084
|
-
type: "
|
|
5472
|
+
type: "ccipHook";
|
|
5085
5473
|
destinationChain: string;
|
|
5086
|
-
arbSys: string;
|
|
5087
|
-
bridge?: string | undefined;
|
|
5088
|
-
childHook?: any;
|
|
5089
5474
|
} | {
|
|
5090
|
-
type: "
|
|
5475
|
+
type: "cctpHook";
|
|
5476
|
+
address: string;
|
|
5091
5477
|
} | {
|
|
5092
5478
|
type: "rateLimitedHook";
|
|
5093
5479
|
owner: string;
|
|
5094
5480
|
maxCapacity: string;
|
|
5095
5481
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5096
|
-
} | {
|
|
5097
|
-
type: "ccipHook";
|
|
5098
|
-
destinationChain: string;
|
|
5099
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5100
|
-
type: "cctpHook";
|
|
5101
|
-
address: string;
|
|
5102
5482
|
} | z.objectOutputType<{
|
|
5103
5483
|
type: z.ZodLiteral<"unknownHook">;
|
|
5104
5484
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5149,7 +5529,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5149
5529
|
owner: string;
|
|
5150
5530
|
urls: string[];
|
|
5151
5531
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5152
|
-
} |
|
|
5532
|
+
} | ({
|
|
5533
|
+
owner: string;
|
|
5534
|
+
paused: boolean;
|
|
5535
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5536
|
+
} & {
|
|
5537
|
+
type: "pausableIsm";
|
|
5538
|
+
} & {
|
|
5539
|
+
address: string;
|
|
5540
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
5153
5541
|
type: z.ZodLiteral<"unknownIsm">;
|
|
5154
5542
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5155
5543
|
foreignDeployment?: string | undefined;
|
|
@@ -5158,35 +5546,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5158
5546
|
}> | undefined;
|
|
5159
5547
|
tokenFee?: {
|
|
5160
5548
|
bps: number;
|
|
5161
|
-
type:
|
|
5549
|
+
type: "LinearFee";
|
|
5162
5550
|
owner: string;
|
|
5551
|
+
beneficiary?: string | undefined;
|
|
5163
5552
|
maxFee?: bigint | undefined;
|
|
5164
5553
|
halfAmount?: bigint | undefined;
|
|
5165
5554
|
} | {
|
|
5166
5555
|
bps: number;
|
|
5167
|
-
type:
|
|
5556
|
+
type: "OffchainQuotedLinearFee";
|
|
5168
5557
|
owner: string;
|
|
5558
|
+
beneficiary?: string | undefined;
|
|
5169
5559
|
maxFee?: bigint | undefined;
|
|
5170
5560
|
halfAmount?: bigint | undefined;
|
|
5171
5561
|
quoteSigners?: string[] | undefined;
|
|
5172
5562
|
} | {
|
|
5173
|
-
type:
|
|
5563
|
+
type: "ProgressiveFee";
|
|
5174
5564
|
owner: string;
|
|
5175
5565
|
maxFee: bigint;
|
|
5176
5566
|
halfAmount: bigint;
|
|
5567
|
+
beneficiary?: string | undefined;
|
|
5177
5568
|
} | {
|
|
5178
|
-
type:
|
|
5569
|
+
type: "RegressiveFee";
|
|
5179
5570
|
owner: string;
|
|
5180
5571
|
maxFee: bigint;
|
|
5181
5572
|
halfAmount: bigint;
|
|
5573
|
+
beneficiary?: string | undefined;
|
|
5182
5574
|
} | {
|
|
5183
|
-
type:
|
|
5575
|
+
type: "RoutingFee";
|
|
5184
5576
|
owner: string;
|
|
5185
5577
|
feeContracts: Record<string, any>;
|
|
5578
|
+
beneficiary?: string | undefined;
|
|
5186
5579
|
} | {
|
|
5187
|
-
type:
|
|
5580
|
+
type: "CrossCollateralRoutingFee";
|
|
5188
5581
|
owner: string;
|
|
5189
5582
|
feeContracts: Record<string, Record<string, any>>;
|
|
5583
|
+
beneficiary?: string | undefined;
|
|
5190
5584
|
} | undefined;
|
|
5191
5585
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5192
5586
|
commitmentIsm?: {
|
|
@@ -5200,6 +5594,7 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5200
5594
|
feeToken: string;
|
|
5201
5595
|
}[] | undefined;
|
|
5202
5596
|
} | undefined;
|
|
5597
|
+
deployQuotedCalls?: boolean | undefined;
|
|
5203
5598
|
}, {
|
|
5204
5599
|
owner: string;
|
|
5205
5600
|
defaultHook: string | {
|
|
@@ -5222,12 +5617,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5222
5617
|
}>;
|
|
5223
5618
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5224
5619
|
quoteSigners?: string[] | undefined;
|
|
5620
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5225
5621
|
contractVersion?: string | undefined;
|
|
5622
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5623
|
+
gasPrice: string;
|
|
5624
|
+
tokenExchangeRate: string;
|
|
5625
|
+
tokenDecimals?: number | undefined;
|
|
5626
|
+
}>> | undefined;
|
|
5226
5627
|
} | {
|
|
5227
5628
|
type: "protocolFee";
|
|
5228
5629
|
owner: string;
|
|
5229
|
-
protocolFee: string;
|
|
5230
5630
|
beneficiary: string;
|
|
5631
|
+
protocolFee: string;
|
|
5231
5632
|
maxProtocolFee: string;
|
|
5232
5633
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5233
5634
|
} | {
|
|
@@ -5241,25 +5642,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5241
5642
|
nativeBridge: string;
|
|
5242
5643
|
destinationChain: string;
|
|
5243
5644
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5645
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5646
|
+
type: "defaultHook";
|
|
5244
5647
|
} | {
|
|
5245
|
-
type: "
|
|
5648
|
+
type: "ccipHook";
|
|
5246
5649
|
destinationChain: string;
|
|
5247
|
-
arbSys: string;
|
|
5248
|
-
bridge?: string | undefined;
|
|
5249
|
-
childHook?: any;
|
|
5250
5650
|
} | {
|
|
5251
|
-
type: "
|
|
5651
|
+
type: "cctpHook";
|
|
5652
|
+
address: string;
|
|
5252
5653
|
} | {
|
|
5253
5654
|
type: "rateLimitedHook";
|
|
5254
5655
|
owner: string;
|
|
5255
5656
|
maxCapacity: string;
|
|
5256
5657
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5257
|
-
} | {
|
|
5258
|
-
type: "ccipHook";
|
|
5259
|
-
destinationChain: string;
|
|
5260
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5261
|
-
type: "cctpHook";
|
|
5262
|
-
address: string;
|
|
5263
5658
|
} | z.objectInputType<{
|
|
5264
5659
|
type: z.ZodLiteral<"unknownHook">;
|
|
5265
5660
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5310,7 +5705,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5310
5705
|
owner: string;
|
|
5311
5706
|
urls: string[];
|
|
5312
5707
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5313
|
-
} | {
|
|
5708
|
+
} | ({
|
|
5709
|
+
owner: string;
|
|
5710
|
+
paused: boolean;
|
|
5711
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5712
|
+
} & {
|
|
5713
|
+
type: "pausableIsm";
|
|
5714
|
+
} & {
|
|
5715
|
+
address: string;
|
|
5716
|
+
}) | {
|
|
5314
5717
|
type: "interchainAccountRouting";
|
|
5315
5718
|
owner: string;
|
|
5316
5719
|
isms: Record<string, string>;
|
|
@@ -5338,12 +5741,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5338
5741
|
}>;
|
|
5339
5742
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5340
5743
|
quoteSigners?: string[] | undefined;
|
|
5744
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5341
5745
|
contractVersion?: string | undefined;
|
|
5746
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5747
|
+
gasPrice: string;
|
|
5748
|
+
tokenExchangeRate: string;
|
|
5749
|
+
tokenDecimals?: number | undefined;
|
|
5750
|
+
}>> | undefined;
|
|
5342
5751
|
} | {
|
|
5343
5752
|
type: "protocolFee";
|
|
5344
5753
|
owner: string;
|
|
5345
|
-
protocolFee: string;
|
|
5346
5754
|
beneficiary: string;
|
|
5755
|
+
protocolFee: string;
|
|
5347
5756
|
maxProtocolFee: string;
|
|
5348
5757
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5349
5758
|
} | {
|
|
@@ -5357,25 +5766,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5357
5766
|
nativeBridge: string;
|
|
5358
5767
|
destinationChain: string;
|
|
5359
5768
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5769
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5770
|
+
type: "defaultHook";
|
|
5360
5771
|
} | {
|
|
5361
|
-
type: "
|
|
5772
|
+
type: "ccipHook";
|
|
5362
5773
|
destinationChain: string;
|
|
5363
|
-
arbSys: string;
|
|
5364
|
-
bridge?: string | undefined;
|
|
5365
|
-
childHook?: any;
|
|
5366
5774
|
} | {
|
|
5367
|
-
type: "
|
|
5775
|
+
type: "cctpHook";
|
|
5776
|
+
address: string;
|
|
5368
5777
|
} | {
|
|
5369
5778
|
type: "rateLimitedHook";
|
|
5370
5779
|
owner: string;
|
|
5371
5780
|
maxCapacity: string;
|
|
5372
5781
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5373
|
-
} | {
|
|
5374
|
-
type: "ccipHook";
|
|
5375
|
-
destinationChain: string;
|
|
5376
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5377
|
-
type: "cctpHook";
|
|
5378
|
-
address: string;
|
|
5379
5782
|
} | z.objectInputType<{
|
|
5380
5783
|
type: z.ZodLiteral<"unknownHook">;
|
|
5381
5784
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5419,12 +5822,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5419
5822
|
}>;
|
|
5420
5823
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5421
5824
|
quoteSigners?: string[] | undefined;
|
|
5825
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5422
5826
|
contractVersion?: string | undefined;
|
|
5827
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
5828
|
+
gasPrice: string;
|
|
5829
|
+
tokenExchangeRate: string;
|
|
5830
|
+
tokenDecimals?: number | undefined;
|
|
5831
|
+
}>> | undefined;
|
|
5423
5832
|
} | {
|
|
5424
5833
|
type: "protocolFee";
|
|
5425
5834
|
owner: string;
|
|
5426
|
-
protocolFee: string;
|
|
5427
5835
|
beneficiary: string;
|
|
5836
|
+
protocolFee: string;
|
|
5428
5837
|
maxProtocolFee: string;
|
|
5429
5838
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5430
5839
|
} | {
|
|
@@ -5438,25 +5847,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5438
5847
|
nativeBridge: string;
|
|
5439
5848
|
destinationChain: string;
|
|
5440
5849
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5850
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
5851
|
+
type: "defaultHook";
|
|
5441
5852
|
} | {
|
|
5442
|
-
type: "
|
|
5853
|
+
type: "ccipHook";
|
|
5443
5854
|
destinationChain: string;
|
|
5444
|
-
arbSys: string;
|
|
5445
|
-
bridge?: string | undefined;
|
|
5446
|
-
childHook?: any;
|
|
5447
5855
|
} | {
|
|
5448
|
-
type: "
|
|
5856
|
+
type: "cctpHook";
|
|
5857
|
+
address: string;
|
|
5449
5858
|
} | {
|
|
5450
5859
|
type: "rateLimitedHook";
|
|
5451
5860
|
owner: string;
|
|
5452
5861
|
maxCapacity: string;
|
|
5453
5862
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5454
|
-
} | {
|
|
5455
|
-
type: "ccipHook";
|
|
5456
|
-
destinationChain: string;
|
|
5457
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5458
|
-
type: "cctpHook";
|
|
5459
|
-
address: string;
|
|
5460
5863
|
} | z.objectInputType<{
|
|
5461
5864
|
type: z.ZodLiteral<"unknownHook">;
|
|
5462
5865
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5507,7 +5910,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5507
5910
|
owner: string;
|
|
5508
5911
|
urls: string[];
|
|
5509
5912
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5510
|
-
} | {
|
|
5913
|
+
} | ({
|
|
5914
|
+
owner: string;
|
|
5915
|
+
paused: boolean;
|
|
5916
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5917
|
+
} & {
|
|
5918
|
+
type: "pausableIsm";
|
|
5919
|
+
} & {
|
|
5920
|
+
address: string;
|
|
5921
|
+
}) | {
|
|
5511
5922
|
type: "interchainAccountRouting";
|
|
5512
5923
|
owner: string;
|
|
5513
5924
|
isms: Record<string, string>;
|
|
@@ -5520,36 +5931,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5520
5931
|
address: string;
|
|
5521
5932
|
}> | undefined;
|
|
5522
5933
|
tokenFee?: {
|
|
5523
|
-
type:
|
|
5934
|
+
type: "LinearFee";
|
|
5524
5935
|
owner: string;
|
|
5936
|
+
beneficiary?: string | undefined;
|
|
5525
5937
|
maxFee?: string | number | bigint | undefined;
|
|
5526
5938
|
halfAmount?: string | number | bigint | undefined;
|
|
5527
5939
|
bps?: string | number | undefined;
|
|
5528
5940
|
} | {
|
|
5529
|
-
type:
|
|
5941
|
+
type: "OffchainQuotedLinearFee";
|
|
5530
5942
|
owner: string;
|
|
5943
|
+
beneficiary?: string | undefined;
|
|
5531
5944
|
maxFee?: string | number | bigint | undefined;
|
|
5532
5945
|
halfAmount?: string | number | bigint | undefined;
|
|
5533
5946
|
bps?: string | number | undefined;
|
|
5534
5947
|
quoteSigners?: string[] | undefined;
|
|
5535
5948
|
} | {
|
|
5536
|
-
type:
|
|
5949
|
+
type: "ProgressiveFee";
|
|
5537
5950
|
owner: string;
|
|
5538
5951
|
maxFee: string | number | bigint;
|
|
5539
5952
|
halfAmount: string | number | bigint;
|
|
5953
|
+
beneficiary?: string | undefined;
|
|
5540
5954
|
} | {
|
|
5541
|
-
type:
|
|
5955
|
+
type: "RegressiveFee";
|
|
5542
5956
|
owner: string;
|
|
5543
5957
|
maxFee: string | number | bigint;
|
|
5544
5958
|
halfAmount: string | number | bigint;
|
|
5959
|
+
beneficiary?: string | undefined;
|
|
5545
5960
|
} | {
|
|
5546
|
-
type:
|
|
5961
|
+
type: "RoutingFee";
|
|
5547
5962
|
owner: string;
|
|
5548
5963
|
feeContracts: Record<string, any>;
|
|
5964
|
+
beneficiary?: string | undefined;
|
|
5549
5965
|
} | {
|
|
5550
|
-
type:
|
|
5966
|
+
type: "CrossCollateralRoutingFee";
|
|
5551
5967
|
owner: string;
|
|
5552
5968
|
feeContracts: Record<string, Record<string, any>>;
|
|
5969
|
+
beneficiary?: string | undefined;
|
|
5553
5970
|
} | undefined;
|
|
5554
5971
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5555
5972
|
commitmentIsm?: {
|
|
@@ -5563,6 +5980,7 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5563
5980
|
feeToken: string;
|
|
5564
5981
|
}[] | undefined;
|
|
5565
5982
|
} | undefined;
|
|
5983
|
+
deployQuotedCalls?: boolean | undefined;
|
|
5566
5984
|
}>, {
|
|
5567
5985
|
owner: string;
|
|
5568
5986
|
defaultHook: string | {
|
|
@@ -5585,12 +6003,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5585
6003
|
}>;
|
|
5586
6004
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5587
6005
|
quoteSigners?: string[] | undefined;
|
|
6006
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5588
6007
|
contractVersion?: string | undefined;
|
|
6008
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6009
|
+
gasPrice: string;
|
|
6010
|
+
tokenExchangeRate: string;
|
|
6011
|
+
tokenDecimals?: number | undefined;
|
|
6012
|
+
}>> | undefined;
|
|
5589
6013
|
} | {
|
|
5590
6014
|
type: "protocolFee";
|
|
5591
6015
|
owner: string;
|
|
5592
|
-
protocolFee: string;
|
|
5593
6016
|
beneficiary: string;
|
|
6017
|
+
protocolFee: string;
|
|
5594
6018
|
maxProtocolFee: string;
|
|
5595
6019
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5596
6020
|
} | {
|
|
@@ -5604,25 +6028,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5604
6028
|
nativeBridge: string;
|
|
5605
6029
|
destinationChain: string;
|
|
5606
6030
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6031
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6032
|
+
type: "defaultHook";
|
|
5607
6033
|
} | {
|
|
5608
|
-
type: "
|
|
6034
|
+
type: "ccipHook";
|
|
5609
6035
|
destinationChain: string;
|
|
5610
|
-
arbSys: string;
|
|
5611
|
-
bridge?: string | undefined;
|
|
5612
|
-
childHook?: any;
|
|
5613
6036
|
} | {
|
|
5614
|
-
type: "
|
|
6037
|
+
type: "cctpHook";
|
|
6038
|
+
address: string;
|
|
5615
6039
|
} | {
|
|
5616
6040
|
type: "rateLimitedHook";
|
|
5617
6041
|
owner: string;
|
|
5618
6042
|
maxCapacity: string;
|
|
5619
6043
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5620
|
-
} | {
|
|
5621
|
-
type: "ccipHook";
|
|
5622
|
-
destinationChain: string;
|
|
5623
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5624
|
-
type: "cctpHook";
|
|
5625
|
-
address: string;
|
|
5626
6044
|
} | z.objectOutputType<{
|
|
5627
6045
|
type: z.ZodLiteral<"unknownHook">;
|
|
5628
6046
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5673,7 +6091,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5673
6091
|
owner: string;
|
|
5674
6092
|
urls: string[];
|
|
5675
6093
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5676
|
-
} |
|
|
6094
|
+
} | ({
|
|
6095
|
+
owner: string;
|
|
6096
|
+
paused: boolean;
|
|
6097
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6098
|
+
} & {
|
|
6099
|
+
type: "pausableIsm";
|
|
6100
|
+
} & {
|
|
6101
|
+
address: string;
|
|
6102
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
5677
6103
|
type: z.ZodLiteral<"unknownIsm">;
|
|
5678
6104
|
}, z.ZodTypeAny, "passthrough">;
|
|
5679
6105
|
requiredHook: string | {
|
|
@@ -5696,12 +6122,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5696
6122
|
}>;
|
|
5697
6123
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5698
6124
|
quoteSigners?: string[] | undefined;
|
|
6125
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5699
6126
|
contractVersion?: string | undefined;
|
|
6127
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6128
|
+
gasPrice: string;
|
|
6129
|
+
tokenExchangeRate: string;
|
|
6130
|
+
tokenDecimals?: number | undefined;
|
|
6131
|
+
}>> | undefined;
|
|
5700
6132
|
} | {
|
|
5701
6133
|
type: "protocolFee";
|
|
5702
6134
|
owner: string;
|
|
5703
|
-
protocolFee: string;
|
|
5704
6135
|
beneficiary: string;
|
|
6136
|
+
protocolFee: string;
|
|
5705
6137
|
maxProtocolFee: string;
|
|
5706
6138
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5707
6139
|
} | {
|
|
@@ -5715,25 +6147,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5715
6147
|
nativeBridge: string;
|
|
5716
6148
|
destinationChain: string;
|
|
5717
6149
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6150
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6151
|
+
type: "defaultHook";
|
|
5718
6152
|
} | {
|
|
5719
|
-
type: "
|
|
6153
|
+
type: "ccipHook";
|
|
5720
6154
|
destinationChain: string;
|
|
5721
|
-
arbSys: string;
|
|
5722
|
-
bridge?: string | undefined;
|
|
5723
|
-
childHook?: any;
|
|
5724
6155
|
} | {
|
|
5725
|
-
type: "
|
|
6156
|
+
type: "cctpHook";
|
|
6157
|
+
address: string;
|
|
5726
6158
|
} | {
|
|
5727
6159
|
type: "rateLimitedHook";
|
|
5728
6160
|
owner: string;
|
|
5729
6161
|
maxCapacity: string;
|
|
5730
6162
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5731
|
-
} | {
|
|
5732
|
-
type: "ccipHook";
|
|
5733
|
-
destinationChain: string;
|
|
5734
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5735
|
-
type: "cctpHook";
|
|
5736
|
-
address: string;
|
|
5737
6163
|
} | z.objectOutputType<{
|
|
5738
6164
|
type: z.ZodLiteral<"unknownHook">;
|
|
5739
6165
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5777,12 +6203,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5777
6203
|
}>;
|
|
5778
6204
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5779
6205
|
quoteSigners?: string[] | undefined;
|
|
6206
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5780
6207
|
contractVersion?: string | undefined;
|
|
6208
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6209
|
+
gasPrice: string;
|
|
6210
|
+
tokenExchangeRate: string;
|
|
6211
|
+
tokenDecimals?: number | undefined;
|
|
6212
|
+
}>> | undefined;
|
|
5781
6213
|
} | {
|
|
5782
6214
|
type: "protocolFee";
|
|
5783
6215
|
owner: string;
|
|
5784
|
-
protocolFee: string;
|
|
5785
6216
|
beneficiary: string;
|
|
6217
|
+
protocolFee: string;
|
|
5786
6218
|
maxProtocolFee: string;
|
|
5787
6219
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5788
6220
|
} | {
|
|
@@ -5796,25 +6228,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5796
6228
|
nativeBridge: string;
|
|
5797
6229
|
destinationChain: string;
|
|
5798
6230
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6231
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6232
|
+
type: "defaultHook";
|
|
5799
6233
|
} | {
|
|
5800
|
-
type: "
|
|
6234
|
+
type: "ccipHook";
|
|
5801
6235
|
destinationChain: string;
|
|
5802
|
-
arbSys: string;
|
|
5803
|
-
bridge?: string | undefined;
|
|
5804
|
-
childHook?: any;
|
|
5805
6236
|
} | {
|
|
5806
|
-
type: "
|
|
6237
|
+
type: "cctpHook";
|
|
6238
|
+
address: string;
|
|
5807
6239
|
} | {
|
|
5808
6240
|
type: "rateLimitedHook";
|
|
5809
6241
|
owner: string;
|
|
5810
6242
|
maxCapacity: string;
|
|
5811
6243
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5812
|
-
} | {
|
|
5813
|
-
type: "ccipHook";
|
|
5814
|
-
destinationChain: string;
|
|
5815
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5816
|
-
type: "cctpHook";
|
|
5817
|
-
address: string;
|
|
5818
6244
|
} | z.objectOutputType<{
|
|
5819
6245
|
type: z.ZodLiteral<"unknownHook">;
|
|
5820
6246
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -5865,7 +6291,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5865
6291
|
owner: string;
|
|
5866
6292
|
urls: string[];
|
|
5867
6293
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5868
|
-
} |
|
|
6294
|
+
} | ({
|
|
6295
|
+
owner: string;
|
|
6296
|
+
paused: boolean;
|
|
6297
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6298
|
+
} & {
|
|
6299
|
+
type: "pausableIsm";
|
|
6300
|
+
} & {
|
|
6301
|
+
address: string;
|
|
6302
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
5869
6303
|
type: z.ZodLiteral<"unknownIsm">;
|
|
5870
6304
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5871
6305
|
foreignDeployment?: string | undefined;
|
|
@@ -5874,35 +6308,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5874
6308
|
}> | undefined;
|
|
5875
6309
|
tokenFee?: {
|
|
5876
6310
|
bps: number;
|
|
5877
|
-
type:
|
|
6311
|
+
type: "LinearFee";
|
|
5878
6312
|
owner: string;
|
|
6313
|
+
beneficiary?: string | undefined;
|
|
5879
6314
|
maxFee?: bigint | undefined;
|
|
5880
6315
|
halfAmount?: bigint | undefined;
|
|
5881
6316
|
} | {
|
|
5882
6317
|
bps: number;
|
|
5883
|
-
type:
|
|
6318
|
+
type: "OffchainQuotedLinearFee";
|
|
5884
6319
|
owner: string;
|
|
6320
|
+
beneficiary?: string | undefined;
|
|
5885
6321
|
maxFee?: bigint | undefined;
|
|
5886
6322
|
halfAmount?: bigint | undefined;
|
|
5887
6323
|
quoteSigners?: string[] | undefined;
|
|
5888
6324
|
} | {
|
|
5889
|
-
type:
|
|
6325
|
+
type: "ProgressiveFee";
|
|
5890
6326
|
owner: string;
|
|
5891
6327
|
maxFee: bigint;
|
|
5892
6328
|
halfAmount: bigint;
|
|
6329
|
+
beneficiary?: string | undefined;
|
|
5893
6330
|
} | {
|
|
5894
|
-
type:
|
|
6331
|
+
type: "RegressiveFee";
|
|
5895
6332
|
owner: string;
|
|
5896
6333
|
maxFee: bigint;
|
|
5897
6334
|
halfAmount: bigint;
|
|
6335
|
+
beneficiary?: string | undefined;
|
|
5898
6336
|
} | {
|
|
5899
|
-
type:
|
|
6337
|
+
type: "RoutingFee";
|
|
5900
6338
|
owner: string;
|
|
5901
6339
|
feeContracts: Record<string, any>;
|
|
6340
|
+
beneficiary?: string | undefined;
|
|
5902
6341
|
} | {
|
|
5903
|
-
type:
|
|
6342
|
+
type: "CrossCollateralRoutingFee";
|
|
5904
6343
|
owner: string;
|
|
5905
6344
|
feeContracts: Record<string, Record<string, any>>;
|
|
6345
|
+
beneficiary?: string | undefined;
|
|
5906
6346
|
} | undefined;
|
|
5907
6347
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5908
6348
|
commitmentIsm?: {
|
|
@@ -5916,6 +6356,7 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5916
6356
|
feeToken: string;
|
|
5917
6357
|
}[] | undefined;
|
|
5918
6358
|
} | undefined;
|
|
6359
|
+
deployQuotedCalls?: boolean | undefined;
|
|
5919
6360
|
}, {
|
|
5920
6361
|
owner: string;
|
|
5921
6362
|
defaultHook: string | {
|
|
@@ -5938,12 +6379,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5938
6379
|
}>;
|
|
5939
6380
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5940
6381
|
quoteSigners?: string[] | undefined;
|
|
6382
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
5941
6383
|
contractVersion?: string | undefined;
|
|
6384
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6385
|
+
gasPrice: string;
|
|
6386
|
+
tokenExchangeRate: string;
|
|
6387
|
+
tokenDecimals?: number | undefined;
|
|
6388
|
+
}>> | undefined;
|
|
5942
6389
|
} | {
|
|
5943
6390
|
type: "protocolFee";
|
|
5944
6391
|
owner: string;
|
|
5945
|
-
protocolFee: string;
|
|
5946
6392
|
beneficiary: string;
|
|
6393
|
+
protocolFee: string;
|
|
5947
6394
|
maxProtocolFee: string;
|
|
5948
6395
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5949
6396
|
} | {
|
|
@@ -5957,25 +6404,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5957
6404
|
nativeBridge: string;
|
|
5958
6405
|
destinationChain: string;
|
|
5959
6406
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6407
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6408
|
+
type: "defaultHook";
|
|
5960
6409
|
} | {
|
|
5961
|
-
type: "
|
|
6410
|
+
type: "ccipHook";
|
|
5962
6411
|
destinationChain: string;
|
|
5963
|
-
arbSys: string;
|
|
5964
|
-
bridge?: string | undefined;
|
|
5965
|
-
childHook?: any;
|
|
5966
6412
|
} | {
|
|
5967
|
-
type: "
|
|
6413
|
+
type: "cctpHook";
|
|
6414
|
+
address: string;
|
|
5968
6415
|
} | {
|
|
5969
6416
|
type: "rateLimitedHook";
|
|
5970
6417
|
owner: string;
|
|
5971
6418
|
maxCapacity: string;
|
|
5972
6419
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5973
|
-
} | {
|
|
5974
|
-
type: "ccipHook";
|
|
5975
|
-
destinationChain: string;
|
|
5976
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
5977
|
-
type: "cctpHook";
|
|
5978
|
-
address: string;
|
|
5979
6420
|
} | z.objectInputType<{
|
|
5980
6421
|
type: z.ZodLiteral<"unknownHook">;
|
|
5981
6422
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -6026,7 +6467,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6026
6467
|
owner: string;
|
|
6027
6468
|
urls: string[];
|
|
6028
6469
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6029
|
-
} | {
|
|
6470
|
+
} | ({
|
|
6471
|
+
owner: string;
|
|
6472
|
+
paused: boolean;
|
|
6473
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6474
|
+
} & {
|
|
6475
|
+
type: "pausableIsm";
|
|
6476
|
+
} & {
|
|
6477
|
+
address: string;
|
|
6478
|
+
}) | {
|
|
6030
6479
|
type: "interchainAccountRouting";
|
|
6031
6480
|
owner: string;
|
|
6032
6481
|
isms: Record<string, string>;
|
|
@@ -6054,12 +6503,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6054
6503
|
}>;
|
|
6055
6504
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6056
6505
|
quoteSigners?: string[] | undefined;
|
|
6506
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
6057
6507
|
contractVersion?: string | undefined;
|
|
6508
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6509
|
+
gasPrice: string;
|
|
6510
|
+
tokenExchangeRate: string;
|
|
6511
|
+
tokenDecimals?: number | undefined;
|
|
6512
|
+
}>> | undefined;
|
|
6058
6513
|
} | {
|
|
6059
6514
|
type: "protocolFee";
|
|
6060
6515
|
owner: string;
|
|
6061
|
-
protocolFee: string;
|
|
6062
6516
|
beneficiary: string;
|
|
6517
|
+
protocolFee: string;
|
|
6063
6518
|
maxProtocolFee: string;
|
|
6064
6519
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6065
6520
|
} | {
|
|
@@ -6073,25 +6528,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6073
6528
|
nativeBridge: string;
|
|
6074
6529
|
destinationChain: string;
|
|
6075
6530
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6531
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6532
|
+
type: "defaultHook";
|
|
6076
6533
|
} | {
|
|
6077
|
-
type: "
|
|
6534
|
+
type: "ccipHook";
|
|
6078
6535
|
destinationChain: string;
|
|
6079
|
-
arbSys: string;
|
|
6080
|
-
bridge?: string | undefined;
|
|
6081
|
-
childHook?: any;
|
|
6082
6536
|
} | {
|
|
6083
|
-
type: "
|
|
6537
|
+
type: "cctpHook";
|
|
6538
|
+
address: string;
|
|
6084
6539
|
} | {
|
|
6085
6540
|
type: "rateLimitedHook";
|
|
6086
6541
|
owner: string;
|
|
6087
6542
|
maxCapacity: string;
|
|
6088
6543
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6089
|
-
} | {
|
|
6090
|
-
type: "ccipHook";
|
|
6091
|
-
destinationChain: string;
|
|
6092
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
6093
|
-
type: "cctpHook";
|
|
6094
|
-
address: string;
|
|
6095
6544
|
} | z.objectInputType<{
|
|
6096
6545
|
type: z.ZodLiteral<"unknownHook">;
|
|
6097
6546
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -6135,12 +6584,18 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6135
6584
|
}>;
|
|
6136
6585
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6137
6586
|
quoteSigners?: string[] | undefined;
|
|
6587
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
6138
6588
|
contractVersion?: string | undefined;
|
|
6589
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
6590
|
+
gasPrice: string;
|
|
6591
|
+
tokenExchangeRate: string;
|
|
6592
|
+
tokenDecimals?: number | undefined;
|
|
6593
|
+
}>> | undefined;
|
|
6139
6594
|
} | {
|
|
6140
6595
|
type: "protocolFee";
|
|
6141
6596
|
owner: string;
|
|
6142
|
-
protocolFee: string;
|
|
6143
6597
|
beneficiary: string;
|
|
6598
|
+
protocolFee: string;
|
|
6144
6599
|
maxProtocolFee: string;
|
|
6145
6600
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6146
6601
|
} | {
|
|
@@ -6154,25 +6609,19 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6154
6609
|
nativeBridge: string;
|
|
6155
6610
|
destinationChain: string;
|
|
6156
6611
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6612
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
6613
|
+
type: "defaultHook";
|
|
6157
6614
|
} | {
|
|
6158
|
-
type: "
|
|
6615
|
+
type: "ccipHook";
|
|
6159
6616
|
destinationChain: string;
|
|
6160
|
-
arbSys: string;
|
|
6161
|
-
bridge?: string | undefined;
|
|
6162
|
-
childHook?: any;
|
|
6163
6617
|
} | {
|
|
6164
|
-
type: "
|
|
6618
|
+
type: "cctpHook";
|
|
6619
|
+
address: string;
|
|
6165
6620
|
} | {
|
|
6166
6621
|
type: "rateLimitedHook";
|
|
6167
6622
|
owner: string;
|
|
6168
6623
|
maxCapacity: string;
|
|
6169
6624
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6170
|
-
} | {
|
|
6171
|
-
type: "ccipHook";
|
|
6172
|
-
destinationChain: string;
|
|
6173
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
6174
|
-
type: "cctpHook";
|
|
6175
|
-
address: string;
|
|
6176
6625
|
} | z.objectInputType<{
|
|
6177
6626
|
type: z.ZodLiteral<"unknownHook">;
|
|
6178
6627
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -6223,7 +6672,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6223
6672
|
owner: string;
|
|
6224
6673
|
urls: string[];
|
|
6225
6674
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6226
|
-
} | {
|
|
6675
|
+
} | ({
|
|
6676
|
+
owner: string;
|
|
6677
|
+
paused: boolean;
|
|
6678
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6679
|
+
} & {
|
|
6680
|
+
type: "pausableIsm";
|
|
6681
|
+
} & {
|
|
6682
|
+
address: string;
|
|
6683
|
+
}) | {
|
|
6227
6684
|
type: "interchainAccountRouting";
|
|
6228
6685
|
owner: string;
|
|
6229
6686
|
isms: Record<string, string>;
|
|
@@ -6236,36 +6693,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6236
6693
|
address: string;
|
|
6237
6694
|
}> | undefined;
|
|
6238
6695
|
tokenFee?: {
|
|
6239
|
-
type:
|
|
6696
|
+
type: "LinearFee";
|
|
6240
6697
|
owner: string;
|
|
6698
|
+
beneficiary?: string | undefined;
|
|
6241
6699
|
maxFee?: string | number | bigint | undefined;
|
|
6242
6700
|
halfAmount?: string | number | bigint | undefined;
|
|
6243
6701
|
bps?: string | number | undefined;
|
|
6244
6702
|
} | {
|
|
6245
|
-
type:
|
|
6703
|
+
type: "OffchainQuotedLinearFee";
|
|
6246
6704
|
owner: string;
|
|
6705
|
+
beneficiary?: string | undefined;
|
|
6247
6706
|
maxFee?: string | number | bigint | undefined;
|
|
6248
6707
|
halfAmount?: string | number | bigint | undefined;
|
|
6249
6708
|
bps?: string | number | undefined;
|
|
6250
6709
|
quoteSigners?: string[] | undefined;
|
|
6251
6710
|
} | {
|
|
6252
|
-
type:
|
|
6711
|
+
type: "ProgressiveFee";
|
|
6253
6712
|
owner: string;
|
|
6254
6713
|
maxFee: string | number | bigint;
|
|
6255
6714
|
halfAmount: string | number | bigint;
|
|
6715
|
+
beneficiary?: string | undefined;
|
|
6256
6716
|
} | {
|
|
6257
|
-
type:
|
|
6717
|
+
type: "RegressiveFee";
|
|
6258
6718
|
owner: string;
|
|
6259
6719
|
maxFee: string | number | bigint;
|
|
6260
6720
|
halfAmount: string | number | bigint;
|
|
6721
|
+
beneficiary?: string | undefined;
|
|
6261
6722
|
} | {
|
|
6262
|
-
type:
|
|
6723
|
+
type: "RoutingFee";
|
|
6263
6724
|
owner: string;
|
|
6264
6725
|
feeContracts: Record<string, any>;
|
|
6726
|
+
beneficiary?: string | undefined;
|
|
6265
6727
|
} | {
|
|
6266
|
-
type:
|
|
6728
|
+
type: "CrossCollateralRoutingFee";
|
|
6267
6729
|
owner: string;
|
|
6268
6730
|
feeContracts: Record<string, Record<string, any>>;
|
|
6731
|
+
beneficiary?: string | undefined;
|
|
6269
6732
|
} | undefined;
|
|
6270
6733
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
6271
6734
|
commitmentIsm?: {
|
|
@@ -6279,6 +6742,7 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6279
6742
|
feeToken: string;
|
|
6280
6743
|
}[] | undefined;
|
|
6281
6744
|
} | undefined;
|
|
6745
|
+
deployQuotedCalls?: boolean | undefined;
|
|
6282
6746
|
}>;
|
|
6283
6747
|
export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
6284
6748
|
staticMerkleRootMultisigIsmFactory: z.ZodString;
|
|
@@ -6344,6 +6808,7 @@ export type CoreConfig = z.infer<typeof CoreConfigSchema> & {
|
|
|
6344
6808
|
remove?: boolean;
|
|
6345
6809
|
upgrade?: UpgradeConfig;
|
|
6346
6810
|
};
|
|
6811
|
+
export declare function shouldDeployQuotedCalls(config: Pick<CoreConfig, 'deployQuotedCalls'>): boolean;
|
|
6347
6812
|
export type CoreConfigHookFieldKey = keyof Pick<CoreConfig, 'requiredHook' | 'defaultHook'>;
|
|
6348
6813
|
export type DerivedCoreConfig = z.infer<typeof DerivedCoreConfigSchema> & {
|
|
6349
6814
|
defaultIsm: DerivedIsmConfig;
|