@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/token/types.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { TokenFeeType } from '../fee/types.js';
|
|
3
2
|
import { DerivedRouterConfig, GasRouterConfigSchema } from '../router/types.js';
|
|
4
3
|
import { ChainMap } from '../types.js';
|
|
5
4
|
export declare const WarpRouteDeployConfigSchemaErrors: {
|
|
@@ -8315,15 +8314,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8315
8314
|
}, "strip", z.ZodTypeAny, {
|
|
8316
8315
|
type: "protocolFee";
|
|
8317
8316
|
owner: string;
|
|
8318
|
-
protocolFee: string;
|
|
8319
8317
|
beneficiary: string;
|
|
8318
|
+
protocolFee: string;
|
|
8320
8319
|
maxProtocolFee: string;
|
|
8321
8320
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8322
8321
|
}, {
|
|
8323
8322
|
type: "protocolFee";
|
|
8324
8323
|
owner: string;
|
|
8325
|
-
protocolFee: string;
|
|
8326
8324
|
beneficiary: string;
|
|
8325
|
+
protocolFee: string;
|
|
8327
8326
|
maxProtocolFee: string;
|
|
8328
8327
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8329
8328
|
}>, z.ZodObject<{
|
|
@@ -8414,8 +8413,23 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8414
8413
|
totalUsdCost: number;
|
|
8415
8414
|
} | undefined;
|
|
8416
8415
|
}>>;
|
|
8416
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
8417
8417
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8418
8418
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
8419
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8420
|
+
gasPrice: z.ZodString;
|
|
8421
|
+
tokenExchangeRate: z.ZodString;
|
|
8422
|
+
} & {
|
|
8423
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
8424
|
+
}, "strip", z.ZodTypeAny, {
|
|
8425
|
+
gasPrice: string;
|
|
8426
|
+
tokenExchangeRate: string;
|
|
8427
|
+
tokenDecimals?: number | undefined;
|
|
8428
|
+
}, {
|
|
8429
|
+
gasPrice: string;
|
|
8430
|
+
tokenExchangeRate: string;
|
|
8431
|
+
tokenDecimals?: number | undefined;
|
|
8432
|
+
}>>>>;
|
|
8419
8433
|
}, "strip", z.ZodTypeAny, {
|
|
8420
8434
|
type: "interchainGasPaymaster";
|
|
8421
8435
|
owner: string;
|
|
@@ -8434,7 +8448,13 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8434
8448
|
}>;
|
|
8435
8449
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8436
8450
|
quoteSigners?: string[] | undefined;
|
|
8451
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
8437
8452
|
contractVersion?: string | undefined;
|
|
8453
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
8454
|
+
gasPrice: string;
|
|
8455
|
+
tokenExchangeRate: string;
|
|
8456
|
+
tokenDecimals?: number | undefined;
|
|
8457
|
+
}>> | undefined;
|
|
8438
8458
|
}, {
|
|
8439
8459
|
type: "interchainGasPaymaster";
|
|
8440
8460
|
owner: string;
|
|
@@ -8453,26 +8473,14 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8453
8473
|
}>;
|
|
8454
8474
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8455
8475
|
quoteSigners?: string[] | undefined;
|
|
8476
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
8456
8477
|
contractVersion?: string | undefined;
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
}, "strip", z.ZodTypeAny, {
|
|
8464
|
-
type: "arbL2ToL1Hook";
|
|
8465
|
-
destinationChain: string;
|
|
8466
|
-
arbSys: string;
|
|
8467
|
-
bridge?: string | undefined;
|
|
8468
|
-
childHook?: any;
|
|
8469
|
-
}, {
|
|
8470
|
-
type: "arbL2ToL1Hook";
|
|
8471
|
-
destinationChain: string;
|
|
8472
|
-
arbSys: string;
|
|
8473
|
-
bridge?: string | undefined;
|
|
8474
|
-
childHook?: any;
|
|
8475
|
-
}>, z.ZodObject<{
|
|
8478
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
8479
|
+
gasPrice: string;
|
|
8480
|
+
tokenExchangeRate: string;
|
|
8481
|
+
tokenDecimals?: number | undefined;
|
|
8482
|
+
}>> | undefined;
|
|
8483
|
+
}>, 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<{
|
|
8476
8484
|
type: z.ZodLiteral<"defaultHook">;
|
|
8477
8485
|
}, "strip", z.ZodTypeAny, {
|
|
8478
8486
|
type: "defaultHook";
|
|
@@ -8566,7 +8574,32 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8566
8574
|
type: "opStackIsm";
|
|
8567
8575
|
origin: string;
|
|
8568
8576
|
nativeBridge: string;
|
|
8569
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
8577
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
8578
|
+
owner: z.ZodString;
|
|
8579
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8580
|
+
} & {
|
|
8581
|
+
paused: z.ZodBoolean;
|
|
8582
|
+
}, "strip", z.ZodTypeAny, {
|
|
8583
|
+
owner: string;
|
|
8584
|
+
paused: boolean;
|
|
8585
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
8586
|
+
}, {
|
|
8587
|
+
owner: string;
|
|
8588
|
+
paused: boolean;
|
|
8589
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
8590
|
+
}>, z.ZodObject<{
|
|
8591
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
8592
|
+
}, "strip", z.ZodTypeAny, {
|
|
8593
|
+
type: "pausableIsm";
|
|
8594
|
+
}, {
|
|
8595
|
+
type: "pausableIsm";
|
|
8596
|
+
}>>, z.ZodObject<{
|
|
8597
|
+
address: z.ZodString;
|
|
8598
|
+
}, "strip", z.ZodTypeAny, {
|
|
8599
|
+
address: string;
|
|
8600
|
+
}, {
|
|
8601
|
+
address: string;
|
|
8602
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
8570
8603
|
owner: z.ZodString;
|
|
8571
8604
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8572
8605
|
} & {
|
|
@@ -8757,196 +8790,231 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8757
8790
|
}>>;
|
|
8758
8791
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8759
8792
|
owner: z.ZodString;
|
|
8793
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8760
8794
|
} & {
|
|
8761
8795
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8762
8796
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8763
|
-
type: z.ZodLiteral<
|
|
8797
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
8764
8798
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
8765
8799
|
}, "strip", z.ZodTypeAny, {
|
|
8766
|
-
type:
|
|
8800
|
+
type: "LinearFee";
|
|
8767
8801
|
owner: string;
|
|
8802
|
+
beneficiary?: string | undefined;
|
|
8768
8803
|
maxFee?: bigint | undefined;
|
|
8769
8804
|
halfAmount?: bigint | undefined;
|
|
8770
8805
|
bps?: number | undefined;
|
|
8771
8806
|
}, {
|
|
8772
|
-
type:
|
|
8807
|
+
type: "LinearFee";
|
|
8773
8808
|
owner: string;
|
|
8809
|
+
beneficiary?: string | undefined;
|
|
8774
8810
|
maxFee?: string | number | bigint | undefined;
|
|
8775
8811
|
halfAmount?: string | number | bigint | undefined;
|
|
8776
8812
|
bps?: string | number | undefined;
|
|
8777
8813
|
}>, {
|
|
8778
|
-
type:
|
|
8814
|
+
type: "LinearFee";
|
|
8779
8815
|
owner: string;
|
|
8816
|
+
beneficiary?: string | undefined;
|
|
8780
8817
|
maxFee?: bigint | undefined;
|
|
8781
8818
|
halfAmount?: bigint | undefined;
|
|
8782
8819
|
bps?: number | undefined;
|
|
8783
8820
|
}, {
|
|
8784
|
-
type:
|
|
8821
|
+
type: "LinearFee";
|
|
8785
8822
|
owner: string;
|
|
8823
|
+
beneficiary?: string | undefined;
|
|
8786
8824
|
maxFee?: string | number | bigint | undefined;
|
|
8787
8825
|
halfAmount?: string | number | bigint | undefined;
|
|
8788
8826
|
bps?: string | number | undefined;
|
|
8789
8827
|
}>, {
|
|
8790
8828
|
bps: number;
|
|
8791
|
-
type:
|
|
8829
|
+
type: "LinearFee";
|
|
8792
8830
|
owner: string;
|
|
8831
|
+
beneficiary?: string | undefined;
|
|
8793
8832
|
maxFee?: bigint | undefined;
|
|
8794
8833
|
halfAmount?: bigint | undefined;
|
|
8795
8834
|
}, {
|
|
8796
|
-
type:
|
|
8835
|
+
type: "LinearFee";
|
|
8797
8836
|
owner: string;
|
|
8837
|
+
beneficiary?: string | undefined;
|
|
8798
8838
|
maxFee?: string | number | bigint | undefined;
|
|
8799
8839
|
halfAmount?: string | number | bigint | undefined;
|
|
8800
8840
|
bps?: string | number | undefined;
|
|
8801
8841
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8802
8842
|
owner: z.ZodString;
|
|
8843
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8803
8844
|
} & {
|
|
8804
8845
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8805
8846
|
} & {
|
|
8806
8847
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8807
8848
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8808
|
-
type: z.ZodLiteral<
|
|
8849
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
8809
8850
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
8810
8851
|
}, "strip", z.ZodTypeAny, {
|
|
8811
|
-
type:
|
|
8852
|
+
type: "OffchainQuotedLinearFee";
|
|
8812
8853
|
owner: string;
|
|
8854
|
+
beneficiary?: string | undefined;
|
|
8813
8855
|
maxFee?: bigint | undefined;
|
|
8814
8856
|
halfAmount?: bigint | undefined;
|
|
8815
8857
|
bps?: number | undefined;
|
|
8816
8858
|
quoteSigners?: string[] | undefined;
|
|
8817
8859
|
}, {
|
|
8818
|
-
type:
|
|
8860
|
+
type: "OffchainQuotedLinearFee";
|
|
8819
8861
|
owner: string;
|
|
8862
|
+
beneficiary?: string | undefined;
|
|
8820
8863
|
maxFee?: string | number | bigint | undefined;
|
|
8821
8864
|
halfAmount?: string | number | bigint | undefined;
|
|
8822
8865
|
bps?: string | number | undefined;
|
|
8823
8866
|
quoteSigners?: string[] | undefined;
|
|
8824
8867
|
}>, {
|
|
8825
|
-
type:
|
|
8868
|
+
type: "OffchainQuotedLinearFee";
|
|
8826
8869
|
owner: string;
|
|
8870
|
+
beneficiary?: string | undefined;
|
|
8827
8871
|
maxFee?: bigint | undefined;
|
|
8828
8872
|
halfAmount?: bigint | undefined;
|
|
8829
8873
|
bps?: number | undefined;
|
|
8830
8874
|
quoteSigners?: string[] | undefined;
|
|
8831
8875
|
}, {
|
|
8832
|
-
type:
|
|
8876
|
+
type: "OffchainQuotedLinearFee";
|
|
8833
8877
|
owner: string;
|
|
8878
|
+
beneficiary?: string | undefined;
|
|
8834
8879
|
maxFee?: string | number | bigint | undefined;
|
|
8835
8880
|
halfAmount?: string | number | bigint | undefined;
|
|
8836
8881
|
bps?: string | number | undefined;
|
|
8837
8882
|
quoteSigners?: string[] | undefined;
|
|
8838
8883
|
}>, {
|
|
8839
8884
|
bps: number;
|
|
8840
|
-
type:
|
|
8885
|
+
type: "OffchainQuotedLinearFee";
|
|
8841
8886
|
owner: string;
|
|
8887
|
+
beneficiary?: string | undefined;
|
|
8842
8888
|
maxFee?: bigint | undefined;
|
|
8843
8889
|
halfAmount?: bigint | undefined;
|
|
8844
8890
|
quoteSigners?: string[] | undefined;
|
|
8845
8891
|
}, {
|
|
8846
|
-
type:
|
|
8892
|
+
type: "OffchainQuotedLinearFee";
|
|
8847
8893
|
owner: string;
|
|
8894
|
+
beneficiary?: string | undefined;
|
|
8848
8895
|
maxFee?: string | number | bigint | undefined;
|
|
8849
8896
|
halfAmount?: string | number | bigint | undefined;
|
|
8850
8897
|
bps?: string | number | undefined;
|
|
8851
8898
|
quoteSigners?: string[] | undefined;
|
|
8852
8899
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8853
8900
|
owner: z.ZodString;
|
|
8901
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8854
8902
|
} & {
|
|
8855
|
-
type: z.ZodLiteral<
|
|
8903
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
8856
8904
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8857
8905
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8858
8906
|
}, "strip", z.ZodTypeAny, {
|
|
8859
|
-
type:
|
|
8907
|
+
type: "ProgressiveFee";
|
|
8860
8908
|
owner: string;
|
|
8861
8909
|
maxFee: bigint;
|
|
8862
8910
|
halfAmount: bigint;
|
|
8911
|
+
beneficiary?: string | undefined;
|
|
8863
8912
|
}, {
|
|
8864
|
-
type:
|
|
8913
|
+
type: "ProgressiveFee";
|
|
8865
8914
|
owner: string;
|
|
8866
8915
|
maxFee: string | number | bigint;
|
|
8867
8916
|
halfAmount: string | number | bigint;
|
|
8917
|
+
beneficiary?: string | undefined;
|
|
8868
8918
|
}>, {
|
|
8869
|
-
type:
|
|
8919
|
+
type: "ProgressiveFee";
|
|
8870
8920
|
owner: string;
|
|
8871
8921
|
maxFee: bigint;
|
|
8872
8922
|
halfAmount: bigint;
|
|
8923
|
+
beneficiary?: string | undefined;
|
|
8873
8924
|
}, {
|
|
8874
|
-
type:
|
|
8925
|
+
type: "ProgressiveFee";
|
|
8875
8926
|
owner: string;
|
|
8876
8927
|
maxFee: string | number | bigint;
|
|
8877
8928
|
halfAmount: string | number | bigint;
|
|
8929
|
+
beneficiary?: string | undefined;
|
|
8878
8930
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8879
8931
|
owner: z.ZodString;
|
|
8932
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8880
8933
|
} & {
|
|
8881
|
-
type: z.ZodLiteral<
|
|
8934
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
8882
8935
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8883
8936
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8884
8937
|
}, "strip", z.ZodTypeAny, {
|
|
8885
|
-
type:
|
|
8938
|
+
type: "RegressiveFee";
|
|
8886
8939
|
owner: string;
|
|
8887
8940
|
maxFee: bigint;
|
|
8888
8941
|
halfAmount: bigint;
|
|
8942
|
+
beneficiary?: string | undefined;
|
|
8889
8943
|
}, {
|
|
8890
|
-
type:
|
|
8944
|
+
type: "RegressiveFee";
|
|
8891
8945
|
owner: string;
|
|
8892
8946
|
maxFee: string | number | bigint;
|
|
8893
8947
|
halfAmount: string | number | bigint;
|
|
8948
|
+
beneficiary?: string | undefined;
|
|
8894
8949
|
}>, {
|
|
8895
|
-
type:
|
|
8950
|
+
type: "RegressiveFee";
|
|
8896
8951
|
owner: string;
|
|
8897
8952
|
maxFee: bigint;
|
|
8898
8953
|
halfAmount: bigint;
|
|
8954
|
+
beneficiary?: string | undefined;
|
|
8899
8955
|
}, {
|
|
8900
|
-
type:
|
|
8956
|
+
type: "RegressiveFee";
|
|
8901
8957
|
owner: string;
|
|
8902
8958
|
maxFee: string | number | bigint;
|
|
8903
8959
|
halfAmount: string | number | bigint;
|
|
8960
|
+
beneficiary?: string | undefined;
|
|
8904
8961
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8905
8962
|
owner: z.ZodString;
|
|
8963
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8906
8964
|
} & {
|
|
8907
|
-
type: z.ZodLiteral<
|
|
8965
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
8908
8966
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
8909
8967
|
}, "strip", z.ZodTypeAny, {
|
|
8910
|
-
type:
|
|
8968
|
+
type: "RoutingFee";
|
|
8911
8969
|
owner: string;
|
|
8912
8970
|
feeContracts: Record<string, any>;
|
|
8971
|
+
beneficiary?: string | undefined;
|
|
8913
8972
|
}, {
|
|
8914
|
-
type:
|
|
8973
|
+
type: "RoutingFee";
|
|
8915
8974
|
owner: string;
|
|
8916
8975
|
feeContracts: Record<string, any>;
|
|
8976
|
+
beneficiary?: string | undefined;
|
|
8917
8977
|
}>, {
|
|
8918
|
-
type:
|
|
8978
|
+
type: "RoutingFee";
|
|
8919
8979
|
owner: string;
|
|
8920
8980
|
feeContracts: Record<string, any>;
|
|
8981
|
+
beneficiary?: string | undefined;
|
|
8921
8982
|
}, {
|
|
8922
|
-
type:
|
|
8983
|
+
type: "RoutingFee";
|
|
8923
8984
|
owner: string;
|
|
8924
8985
|
feeContracts: Record<string, any>;
|
|
8986
|
+
beneficiary?: string | undefined;
|
|
8925
8987
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8926
8988
|
owner: z.ZodString;
|
|
8989
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8927
8990
|
} & {
|
|
8928
|
-
type: z.ZodLiteral<
|
|
8991
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
8929
8992
|
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>>>;
|
|
8930
8993
|
}, "strip", z.ZodTypeAny, {
|
|
8931
|
-
type:
|
|
8994
|
+
type: "CrossCollateralRoutingFee";
|
|
8932
8995
|
owner: string;
|
|
8933
8996
|
feeContracts: Record<string, Record<string, any>>;
|
|
8997
|
+
beneficiary?: string | undefined;
|
|
8934
8998
|
}, {
|
|
8935
|
-
type:
|
|
8999
|
+
type: "CrossCollateralRoutingFee";
|
|
8936
9000
|
owner: string;
|
|
8937
9001
|
feeContracts: Record<string, Record<string, any>>;
|
|
9002
|
+
beneficiary?: string | undefined;
|
|
8938
9003
|
}>, {
|
|
8939
|
-
type:
|
|
9004
|
+
type: "CrossCollateralRoutingFee";
|
|
8940
9005
|
owner: string;
|
|
8941
9006
|
feeContracts: Record<string, Record<string, any>>;
|
|
9007
|
+
beneficiary?: string | undefined;
|
|
8942
9008
|
}, {
|
|
8943
|
-
type:
|
|
9009
|
+
type: "CrossCollateralRoutingFee";
|
|
8944
9010
|
owner: string;
|
|
8945
9011
|
feeContracts: Record<string, Record<string, any>>;
|
|
9012
|
+
beneficiary?: string | undefined;
|
|
8946
9013
|
}>]>>;
|
|
8947
9014
|
} & {
|
|
8948
9015
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
8949
9016
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
9017
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
8950
9018
|
}, "strip", z.ZodTypeAny, {
|
|
8951
9019
|
owner: string;
|
|
8952
9020
|
mailbox: string;
|
|
@@ -8977,12 +9045,18 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8977
9045
|
}>;
|
|
8978
9046
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8979
9047
|
quoteSigners?: string[] | undefined;
|
|
9048
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
8980
9049
|
contractVersion?: string | undefined;
|
|
9050
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
9051
|
+
gasPrice: string;
|
|
9052
|
+
tokenExchangeRate: string;
|
|
9053
|
+
tokenDecimals?: number | undefined;
|
|
9054
|
+
}>> | undefined;
|
|
8981
9055
|
} | {
|
|
8982
9056
|
type: "protocolFee";
|
|
8983
9057
|
owner: string;
|
|
8984
|
-
protocolFee: string;
|
|
8985
9058
|
beneficiary: string;
|
|
9059
|
+
protocolFee: string;
|
|
8986
9060
|
maxProtocolFee: string;
|
|
8987
9061
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8988
9062
|
} | {
|
|
@@ -8996,25 +9070,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8996
9070
|
nativeBridge: string;
|
|
8997
9071
|
destinationChain: string;
|
|
8998
9072
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9073
|
+
} | 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 | {
|
|
9074
|
+
type: "defaultHook";
|
|
8999
9075
|
} | {
|
|
9000
|
-
type: "
|
|
9076
|
+
type: "ccipHook";
|
|
9001
9077
|
destinationChain: string;
|
|
9002
|
-
arbSys: string;
|
|
9003
|
-
bridge?: string | undefined;
|
|
9004
|
-
childHook?: any;
|
|
9005
9078
|
} | {
|
|
9006
|
-
type: "
|
|
9079
|
+
type: "cctpHook";
|
|
9080
|
+
address: string;
|
|
9007
9081
|
} | {
|
|
9008
9082
|
type: "rateLimitedHook";
|
|
9009
9083
|
owner: string;
|
|
9010
9084
|
maxCapacity: string;
|
|
9011
9085
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9012
|
-
} | {
|
|
9013
|
-
type: "ccipHook";
|
|
9014
|
-
destinationChain: string;
|
|
9015
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
9016
|
-
type: "cctpHook";
|
|
9017
|
-
address: string;
|
|
9018
9086
|
} | z.objectOutputType<{
|
|
9019
9087
|
type: z.ZodLiteral<"unknownHook">;
|
|
9020
9088
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -9065,7 +9133,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9065
9133
|
owner: string;
|
|
9066
9134
|
urls: string[];
|
|
9067
9135
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9068
|
-
} |
|
|
9136
|
+
} | ({
|
|
9137
|
+
owner: string;
|
|
9138
|
+
paused: boolean;
|
|
9139
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9140
|
+
} & {
|
|
9141
|
+
type: "pausableIsm";
|
|
9142
|
+
} & {
|
|
9143
|
+
address: string;
|
|
9144
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
9069
9145
|
type: z.ZodLiteral<"unknownIsm">;
|
|
9070
9146
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9071
9147
|
foreignDeployment?: string | undefined;
|
|
@@ -9074,37 +9150,44 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9074
9150
|
}> | undefined;
|
|
9075
9151
|
tokenFee?: {
|
|
9076
9152
|
bps: number;
|
|
9077
|
-
type:
|
|
9153
|
+
type: "LinearFee";
|
|
9078
9154
|
owner: string;
|
|
9155
|
+
beneficiary?: string | undefined;
|
|
9079
9156
|
maxFee?: bigint | undefined;
|
|
9080
9157
|
halfAmount?: bigint | undefined;
|
|
9081
9158
|
} | {
|
|
9082
9159
|
bps: number;
|
|
9083
|
-
type:
|
|
9160
|
+
type: "OffchainQuotedLinearFee";
|
|
9084
9161
|
owner: string;
|
|
9162
|
+
beneficiary?: string | undefined;
|
|
9085
9163
|
maxFee?: bigint | undefined;
|
|
9086
9164
|
halfAmount?: bigint | undefined;
|
|
9087
9165
|
quoteSigners?: string[] | undefined;
|
|
9088
9166
|
} | {
|
|
9089
|
-
type:
|
|
9167
|
+
type: "ProgressiveFee";
|
|
9090
9168
|
owner: string;
|
|
9091
9169
|
maxFee: bigint;
|
|
9092
9170
|
halfAmount: bigint;
|
|
9171
|
+
beneficiary?: string | undefined;
|
|
9093
9172
|
} | {
|
|
9094
|
-
type:
|
|
9173
|
+
type: "RegressiveFee";
|
|
9095
9174
|
owner: string;
|
|
9096
9175
|
maxFee: bigint;
|
|
9097
9176
|
halfAmount: bigint;
|
|
9177
|
+
beneficiary?: string | undefined;
|
|
9098
9178
|
} | {
|
|
9099
|
-
type:
|
|
9179
|
+
type: "RoutingFee";
|
|
9100
9180
|
owner: string;
|
|
9101
9181
|
feeContracts: Record<string, any>;
|
|
9182
|
+
beneficiary?: string | undefined;
|
|
9102
9183
|
} | {
|
|
9103
|
-
type:
|
|
9184
|
+
type: "CrossCollateralRoutingFee";
|
|
9104
9185
|
owner: string;
|
|
9105
9186
|
feeContracts: Record<string, Record<string, any>>;
|
|
9187
|
+
beneficiary?: string | undefined;
|
|
9106
9188
|
} | undefined;
|
|
9107
9189
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9190
|
+
feeHook?: string | undefined;
|
|
9108
9191
|
}, {
|
|
9109
9192
|
owner: string;
|
|
9110
9193
|
mailbox: string;
|
|
@@ -9135,12 +9218,18 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9135
9218
|
}>;
|
|
9136
9219
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9137
9220
|
quoteSigners?: string[] | undefined;
|
|
9221
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
9138
9222
|
contractVersion?: string | undefined;
|
|
9223
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
9224
|
+
gasPrice: string;
|
|
9225
|
+
tokenExchangeRate: string;
|
|
9226
|
+
tokenDecimals?: number | undefined;
|
|
9227
|
+
}>> | undefined;
|
|
9139
9228
|
} | {
|
|
9140
9229
|
type: "protocolFee";
|
|
9141
9230
|
owner: string;
|
|
9142
|
-
protocolFee: string;
|
|
9143
9231
|
beneficiary: string;
|
|
9232
|
+
protocolFee: string;
|
|
9144
9233
|
maxProtocolFee: string;
|
|
9145
9234
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9146
9235
|
} | {
|
|
@@ -9154,25 +9243,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9154
9243
|
nativeBridge: string;
|
|
9155
9244
|
destinationChain: string;
|
|
9156
9245
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9246
|
+
} | 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 | {
|
|
9247
|
+
type: "defaultHook";
|
|
9157
9248
|
} | {
|
|
9158
|
-
type: "
|
|
9249
|
+
type: "ccipHook";
|
|
9159
9250
|
destinationChain: string;
|
|
9160
|
-
arbSys: string;
|
|
9161
|
-
bridge?: string | undefined;
|
|
9162
|
-
childHook?: any;
|
|
9163
9251
|
} | {
|
|
9164
|
-
type: "
|
|
9252
|
+
type: "cctpHook";
|
|
9253
|
+
address: string;
|
|
9165
9254
|
} | {
|
|
9166
9255
|
type: "rateLimitedHook";
|
|
9167
9256
|
owner: string;
|
|
9168
9257
|
maxCapacity: string;
|
|
9169
9258
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9170
|
-
} | {
|
|
9171
|
-
type: "ccipHook";
|
|
9172
|
-
destinationChain: string;
|
|
9173
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
9174
|
-
type: "cctpHook";
|
|
9175
|
-
address: string;
|
|
9176
9259
|
} | z.objectInputType<{
|
|
9177
9260
|
type: z.ZodLiteral<"unknownHook">;
|
|
9178
9261
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -9223,7 +9306,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9223
9306
|
owner: string;
|
|
9224
9307
|
urls: string[];
|
|
9225
9308
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9226
|
-
} | {
|
|
9309
|
+
} | ({
|
|
9310
|
+
owner: string;
|
|
9311
|
+
paused: boolean;
|
|
9312
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9313
|
+
} & {
|
|
9314
|
+
type: "pausableIsm";
|
|
9315
|
+
} & {
|
|
9316
|
+
address: string;
|
|
9317
|
+
}) | {
|
|
9227
9318
|
type: "interchainAccountRouting";
|
|
9228
9319
|
owner: string;
|
|
9229
9320
|
isms: Record<string, string>;
|
|
@@ -9236,38 +9327,45 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9236
9327
|
address: string;
|
|
9237
9328
|
}> | undefined;
|
|
9238
9329
|
tokenFee?: {
|
|
9239
|
-
type:
|
|
9330
|
+
type: "LinearFee";
|
|
9240
9331
|
owner: string;
|
|
9332
|
+
beneficiary?: string | undefined;
|
|
9241
9333
|
maxFee?: string | number | bigint | undefined;
|
|
9242
9334
|
halfAmount?: string | number | bigint | undefined;
|
|
9243
9335
|
bps?: string | number | undefined;
|
|
9244
9336
|
} | {
|
|
9245
|
-
type:
|
|
9337
|
+
type: "OffchainQuotedLinearFee";
|
|
9246
9338
|
owner: string;
|
|
9339
|
+
beneficiary?: string | undefined;
|
|
9247
9340
|
maxFee?: string | number | bigint | undefined;
|
|
9248
9341
|
halfAmount?: string | number | bigint | undefined;
|
|
9249
9342
|
bps?: string | number | undefined;
|
|
9250
9343
|
quoteSigners?: string[] | undefined;
|
|
9251
9344
|
} | {
|
|
9252
|
-
type:
|
|
9345
|
+
type: "ProgressiveFee";
|
|
9253
9346
|
owner: string;
|
|
9254
9347
|
maxFee: string | number | bigint;
|
|
9255
9348
|
halfAmount: string | number | bigint;
|
|
9349
|
+
beneficiary?: string | undefined;
|
|
9256
9350
|
} | {
|
|
9257
|
-
type:
|
|
9351
|
+
type: "RegressiveFee";
|
|
9258
9352
|
owner: string;
|
|
9259
9353
|
maxFee: string | number | bigint;
|
|
9260
9354
|
halfAmount: string | number | bigint;
|
|
9355
|
+
beneficiary?: string | undefined;
|
|
9261
9356
|
} | {
|
|
9262
|
-
type:
|
|
9357
|
+
type: "RoutingFee";
|
|
9263
9358
|
owner: string;
|
|
9264
9359
|
feeContracts: Record<string, any>;
|
|
9360
|
+
beneficiary?: string | undefined;
|
|
9265
9361
|
} | {
|
|
9266
|
-
type:
|
|
9362
|
+
type: "CrossCollateralRoutingFee";
|
|
9267
9363
|
owner: string;
|
|
9268
9364
|
feeContracts: Record<string, Record<string, any>>;
|
|
9365
|
+
beneficiary?: string | undefined;
|
|
9269
9366
|
} | undefined;
|
|
9270
9367
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9368
|
+
feeHook?: string | undefined;
|
|
9271
9369
|
}>>, z.ZodObject<{
|
|
9272
9370
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
9273
9371
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -9702,12 +9800,18 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9702
9800
|
}>;
|
|
9703
9801
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9704
9802
|
quoteSigners?: string[] | undefined;
|
|
9803
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
9705
9804
|
contractVersion?: string | undefined;
|
|
9805
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
9806
|
+
gasPrice: string;
|
|
9807
|
+
tokenExchangeRate: string;
|
|
9808
|
+
tokenDecimals?: number | undefined;
|
|
9809
|
+
}>> | undefined;
|
|
9706
9810
|
} | {
|
|
9707
9811
|
type: "protocolFee";
|
|
9708
9812
|
owner: string;
|
|
9709
|
-
protocolFee: string;
|
|
9710
9813
|
beneficiary: string;
|
|
9814
|
+
protocolFee: string;
|
|
9711
9815
|
maxProtocolFee: string;
|
|
9712
9816
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9713
9817
|
} | {
|
|
@@ -9721,25 +9825,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9721
9825
|
nativeBridge: string;
|
|
9722
9826
|
destinationChain: string;
|
|
9723
9827
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9828
|
+
} | 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 | {
|
|
9829
|
+
type: "defaultHook";
|
|
9724
9830
|
} | {
|
|
9725
|
-
type: "
|
|
9831
|
+
type: "ccipHook";
|
|
9726
9832
|
destinationChain: string;
|
|
9727
|
-
arbSys: string;
|
|
9728
|
-
bridge?: string | undefined;
|
|
9729
|
-
childHook?: any;
|
|
9730
9833
|
} | {
|
|
9731
|
-
type: "
|
|
9834
|
+
type: "cctpHook";
|
|
9835
|
+
address: string;
|
|
9732
9836
|
} | {
|
|
9733
9837
|
type: "rateLimitedHook";
|
|
9734
9838
|
owner: string;
|
|
9735
9839
|
maxCapacity: string;
|
|
9736
9840
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9737
|
-
} | {
|
|
9738
|
-
type: "ccipHook";
|
|
9739
|
-
destinationChain: string;
|
|
9740
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
9741
|
-
type: "cctpHook";
|
|
9742
|
-
address: string;
|
|
9743
9841
|
} | z.objectOutputType<{
|
|
9744
9842
|
type: z.ZodLiteral<"unknownHook">;
|
|
9745
9843
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -9790,7 +9888,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9790
9888
|
owner: string;
|
|
9791
9889
|
urls: string[];
|
|
9792
9890
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9793
|
-
} |
|
|
9891
|
+
} | ({
|
|
9892
|
+
owner: string;
|
|
9893
|
+
paused: boolean;
|
|
9894
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9895
|
+
} & {
|
|
9896
|
+
type: "pausableIsm";
|
|
9897
|
+
} & {
|
|
9898
|
+
address: string;
|
|
9899
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
9794
9900
|
type: z.ZodLiteral<"unknownIsm">;
|
|
9795
9901
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9796
9902
|
foreignDeployment?: string | undefined;
|
|
@@ -9799,37 +9905,44 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9799
9905
|
}> | undefined;
|
|
9800
9906
|
tokenFee?: {
|
|
9801
9907
|
bps: number;
|
|
9802
|
-
type:
|
|
9908
|
+
type: "LinearFee";
|
|
9803
9909
|
owner: string;
|
|
9910
|
+
beneficiary?: string | undefined;
|
|
9804
9911
|
maxFee?: bigint | undefined;
|
|
9805
9912
|
halfAmount?: bigint | undefined;
|
|
9806
9913
|
} | {
|
|
9807
9914
|
bps: number;
|
|
9808
|
-
type:
|
|
9915
|
+
type: "OffchainQuotedLinearFee";
|
|
9809
9916
|
owner: string;
|
|
9917
|
+
beneficiary?: string | undefined;
|
|
9810
9918
|
maxFee?: bigint | undefined;
|
|
9811
9919
|
halfAmount?: bigint | undefined;
|
|
9812
9920
|
quoteSigners?: string[] | undefined;
|
|
9813
9921
|
} | {
|
|
9814
|
-
type:
|
|
9922
|
+
type: "ProgressiveFee";
|
|
9815
9923
|
owner: string;
|
|
9816
9924
|
maxFee: bigint;
|
|
9817
9925
|
halfAmount: bigint;
|
|
9926
|
+
beneficiary?: string | undefined;
|
|
9818
9927
|
} | {
|
|
9819
|
-
type:
|
|
9928
|
+
type: "RegressiveFee";
|
|
9820
9929
|
owner: string;
|
|
9821
9930
|
maxFee: bigint;
|
|
9822
9931
|
halfAmount: bigint;
|
|
9932
|
+
beneficiary?: string | undefined;
|
|
9823
9933
|
} | {
|
|
9824
|
-
type:
|
|
9934
|
+
type: "RoutingFee";
|
|
9825
9935
|
owner: string;
|
|
9826
9936
|
feeContracts: Record<string, any>;
|
|
9937
|
+
beneficiary?: string | undefined;
|
|
9827
9938
|
} | {
|
|
9828
|
-
type:
|
|
9939
|
+
type: "CrossCollateralRoutingFee";
|
|
9829
9940
|
owner: string;
|
|
9830
9941
|
feeContracts: Record<string, Record<string, any>>;
|
|
9942
|
+
beneficiary?: string | undefined;
|
|
9831
9943
|
} | undefined;
|
|
9832
9944
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9945
|
+
feeHook?: string | undefined;
|
|
9833
9946
|
}) & {
|
|
9834
9947
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
9835
9948
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -11888,15 +12001,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
11888
12001
|
}, "strip", z.ZodTypeAny, {
|
|
11889
12002
|
type: "protocolFee";
|
|
11890
12003
|
owner: string;
|
|
11891
|
-
protocolFee: string;
|
|
11892
12004
|
beneficiary: string;
|
|
12005
|
+
protocolFee: string;
|
|
11893
12006
|
maxProtocolFee: string;
|
|
11894
12007
|
ownerOverrides?: Record<string, string> | undefined;
|
|
11895
12008
|
}, {
|
|
11896
12009
|
type: "protocolFee";
|
|
11897
12010
|
owner: string;
|
|
11898
|
-
protocolFee: string;
|
|
11899
12011
|
beneficiary: string;
|
|
12012
|
+
protocolFee: string;
|
|
11900
12013
|
maxProtocolFee: string;
|
|
11901
12014
|
ownerOverrides?: Record<string, string> | undefined;
|
|
11902
12015
|
}>, z.ZodObject<{
|
|
@@ -11987,8 +12100,23 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
11987
12100
|
totalUsdCost: number;
|
|
11988
12101
|
} | undefined;
|
|
11989
12102
|
}>>;
|
|
12103
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
11990
12104
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11991
12105
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
12106
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12107
|
+
gasPrice: z.ZodString;
|
|
12108
|
+
tokenExchangeRate: z.ZodString;
|
|
12109
|
+
} & {
|
|
12110
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
12111
|
+
}, "strip", z.ZodTypeAny, {
|
|
12112
|
+
gasPrice: string;
|
|
12113
|
+
tokenExchangeRate: string;
|
|
12114
|
+
tokenDecimals?: number | undefined;
|
|
12115
|
+
}, {
|
|
12116
|
+
gasPrice: string;
|
|
12117
|
+
tokenExchangeRate: string;
|
|
12118
|
+
tokenDecimals?: number | undefined;
|
|
12119
|
+
}>>>>;
|
|
11992
12120
|
}, "strip", z.ZodTypeAny, {
|
|
11993
12121
|
type: "interchainGasPaymaster";
|
|
11994
12122
|
owner: string;
|
|
@@ -12007,7 +12135,13 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12007
12135
|
}>;
|
|
12008
12136
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12009
12137
|
quoteSigners?: string[] | undefined;
|
|
12138
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12010
12139
|
contractVersion?: string | undefined;
|
|
12140
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
12141
|
+
gasPrice: string;
|
|
12142
|
+
tokenExchangeRate: string;
|
|
12143
|
+
tokenDecimals?: number | undefined;
|
|
12144
|
+
}>> | undefined;
|
|
12011
12145
|
}, {
|
|
12012
12146
|
type: "interchainGasPaymaster";
|
|
12013
12147
|
owner: string;
|
|
@@ -12026,26 +12160,14 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12026
12160
|
}>;
|
|
12027
12161
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12028
12162
|
quoteSigners?: string[] | undefined;
|
|
12163
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12029
12164
|
contractVersion?: string | undefined;
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
}, "strip", z.ZodTypeAny, {
|
|
12037
|
-
type: "arbL2ToL1Hook";
|
|
12038
|
-
destinationChain: string;
|
|
12039
|
-
arbSys: string;
|
|
12040
|
-
bridge?: string | undefined;
|
|
12041
|
-
childHook?: any;
|
|
12042
|
-
}, {
|
|
12043
|
-
type: "arbL2ToL1Hook";
|
|
12044
|
-
destinationChain: string;
|
|
12045
|
-
arbSys: string;
|
|
12046
|
-
bridge?: string | undefined;
|
|
12047
|
-
childHook?: any;
|
|
12048
|
-
}>, z.ZodObject<{
|
|
12165
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
12166
|
+
gasPrice: string;
|
|
12167
|
+
tokenExchangeRate: string;
|
|
12168
|
+
tokenDecimals?: number | undefined;
|
|
12169
|
+
}>> | undefined;
|
|
12170
|
+
}>, 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<{
|
|
12049
12171
|
type: z.ZodLiteral<"defaultHook">;
|
|
12050
12172
|
}, "strip", z.ZodTypeAny, {
|
|
12051
12173
|
type: "defaultHook";
|
|
@@ -12139,7 +12261,32 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12139
12261
|
type: "opStackIsm";
|
|
12140
12262
|
origin: string;
|
|
12141
12263
|
nativeBridge: string;
|
|
12142
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
12264
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
12265
|
+
owner: z.ZodString;
|
|
12266
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12267
|
+
} & {
|
|
12268
|
+
paused: z.ZodBoolean;
|
|
12269
|
+
}, "strip", z.ZodTypeAny, {
|
|
12270
|
+
owner: string;
|
|
12271
|
+
paused: boolean;
|
|
12272
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12273
|
+
}, {
|
|
12274
|
+
owner: string;
|
|
12275
|
+
paused: boolean;
|
|
12276
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12277
|
+
}>, z.ZodObject<{
|
|
12278
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
12279
|
+
}, "strip", z.ZodTypeAny, {
|
|
12280
|
+
type: "pausableIsm";
|
|
12281
|
+
}, {
|
|
12282
|
+
type: "pausableIsm";
|
|
12283
|
+
}>>, z.ZodObject<{
|
|
12284
|
+
address: z.ZodString;
|
|
12285
|
+
}, "strip", z.ZodTypeAny, {
|
|
12286
|
+
address: string;
|
|
12287
|
+
}, {
|
|
12288
|
+
address: string;
|
|
12289
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
12143
12290
|
owner: z.ZodString;
|
|
12144
12291
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12145
12292
|
} & {
|
|
@@ -12328,195 +12475,230 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12328
12475
|
}>>;
|
|
12329
12476
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12330
12477
|
owner: z.ZodString;
|
|
12478
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12331
12479
|
} & {
|
|
12332
12480
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12333
12481
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12334
|
-
type: z.ZodLiteral<
|
|
12482
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
12335
12483
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12336
12484
|
}, "strip", z.ZodTypeAny, {
|
|
12337
|
-
type:
|
|
12485
|
+
type: "LinearFee";
|
|
12338
12486
|
owner: string;
|
|
12487
|
+
beneficiary?: string | undefined;
|
|
12339
12488
|
maxFee?: bigint | undefined;
|
|
12340
12489
|
halfAmount?: bigint | undefined;
|
|
12341
12490
|
bps?: number | undefined;
|
|
12342
12491
|
}, {
|
|
12343
|
-
type:
|
|
12492
|
+
type: "LinearFee";
|
|
12344
12493
|
owner: string;
|
|
12494
|
+
beneficiary?: string | undefined;
|
|
12345
12495
|
maxFee?: string | number | bigint | undefined;
|
|
12346
12496
|
halfAmount?: string | number | bigint | undefined;
|
|
12347
12497
|
bps?: string | number | undefined;
|
|
12348
12498
|
}>, {
|
|
12349
|
-
type:
|
|
12499
|
+
type: "LinearFee";
|
|
12350
12500
|
owner: string;
|
|
12501
|
+
beneficiary?: string | undefined;
|
|
12351
12502
|
maxFee?: bigint | undefined;
|
|
12352
12503
|
halfAmount?: bigint | undefined;
|
|
12353
12504
|
bps?: number | undefined;
|
|
12354
12505
|
}, {
|
|
12355
|
-
type:
|
|
12506
|
+
type: "LinearFee";
|
|
12356
12507
|
owner: string;
|
|
12508
|
+
beneficiary?: string | undefined;
|
|
12357
12509
|
maxFee?: string | number | bigint | undefined;
|
|
12358
12510
|
halfAmount?: string | number | bigint | undefined;
|
|
12359
12511
|
bps?: string | number | undefined;
|
|
12360
12512
|
}>, {
|
|
12361
12513
|
bps: number;
|
|
12362
|
-
type:
|
|
12514
|
+
type: "LinearFee";
|
|
12363
12515
|
owner: string;
|
|
12516
|
+
beneficiary?: string | undefined;
|
|
12364
12517
|
maxFee?: bigint | undefined;
|
|
12365
12518
|
halfAmount?: bigint | undefined;
|
|
12366
12519
|
}, {
|
|
12367
|
-
type:
|
|
12520
|
+
type: "LinearFee";
|
|
12368
12521
|
owner: string;
|
|
12522
|
+
beneficiary?: string | undefined;
|
|
12369
12523
|
maxFee?: string | number | bigint | undefined;
|
|
12370
12524
|
halfAmount?: string | number | bigint | undefined;
|
|
12371
12525
|
bps?: string | number | undefined;
|
|
12372
12526
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12373
12527
|
owner: z.ZodString;
|
|
12528
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12374
12529
|
} & {
|
|
12375
12530
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12376
12531
|
} & {
|
|
12377
12532
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12378
12533
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12379
|
-
type: z.ZodLiteral<
|
|
12534
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
12380
12535
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12381
12536
|
}, "strip", z.ZodTypeAny, {
|
|
12382
|
-
type:
|
|
12537
|
+
type: "OffchainQuotedLinearFee";
|
|
12383
12538
|
owner: string;
|
|
12539
|
+
beneficiary?: string | undefined;
|
|
12384
12540
|
maxFee?: bigint | undefined;
|
|
12385
12541
|
halfAmount?: bigint | undefined;
|
|
12386
12542
|
bps?: number | undefined;
|
|
12387
12543
|
quoteSigners?: string[] | undefined;
|
|
12388
12544
|
}, {
|
|
12389
|
-
type:
|
|
12545
|
+
type: "OffchainQuotedLinearFee";
|
|
12390
12546
|
owner: string;
|
|
12547
|
+
beneficiary?: string | undefined;
|
|
12391
12548
|
maxFee?: string | number | bigint | undefined;
|
|
12392
12549
|
halfAmount?: string | number | bigint | undefined;
|
|
12393
12550
|
bps?: string | number | undefined;
|
|
12394
12551
|
quoteSigners?: string[] | undefined;
|
|
12395
12552
|
}>, {
|
|
12396
|
-
type:
|
|
12553
|
+
type: "OffchainQuotedLinearFee";
|
|
12397
12554
|
owner: string;
|
|
12555
|
+
beneficiary?: string | undefined;
|
|
12398
12556
|
maxFee?: bigint | undefined;
|
|
12399
12557
|
halfAmount?: bigint | undefined;
|
|
12400
12558
|
bps?: number | undefined;
|
|
12401
12559
|
quoteSigners?: string[] | undefined;
|
|
12402
12560
|
}, {
|
|
12403
|
-
type:
|
|
12561
|
+
type: "OffchainQuotedLinearFee";
|
|
12404
12562
|
owner: string;
|
|
12563
|
+
beneficiary?: string | undefined;
|
|
12405
12564
|
maxFee?: string | number | bigint | undefined;
|
|
12406
12565
|
halfAmount?: string | number | bigint | undefined;
|
|
12407
12566
|
bps?: string | number | undefined;
|
|
12408
12567
|
quoteSigners?: string[] | undefined;
|
|
12409
12568
|
}>, {
|
|
12410
12569
|
bps: number;
|
|
12411
|
-
type:
|
|
12570
|
+
type: "OffchainQuotedLinearFee";
|
|
12412
12571
|
owner: string;
|
|
12572
|
+
beneficiary?: string | undefined;
|
|
12413
12573
|
maxFee?: bigint | undefined;
|
|
12414
12574
|
halfAmount?: bigint | undefined;
|
|
12415
12575
|
quoteSigners?: string[] | undefined;
|
|
12416
12576
|
}, {
|
|
12417
|
-
type:
|
|
12577
|
+
type: "OffchainQuotedLinearFee";
|
|
12418
12578
|
owner: string;
|
|
12579
|
+
beneficiary?: string | undefined;
|
|
12419
12580
|
maxFee?: string | number | bigint | undefined;
|
|
12420
12581
|
halfAmount?: string | number | bigint | undefined;
|
|
12421
12582
|
bps?: string | number | undefined;
|
|
12422
12583
|
quoteSigners?: string[] | undefined;
|
|
12423
12584
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12424
12585
|
owner: z.ZodString;
|
|
12586
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12425
12587
|
} & {
|
|
12426
|
-
type: z.ZodLiteral<
|
|
12588
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
12427
12589
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12428
12590
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12429
12591
|
}, "strip", z.ZodTypeAny, {
|
|
12430
|
-
type:
|
|
12592
|
+
type: "ProgressiveFee";
|
|
12431
12593
|
owner: string;
|
|
12432
12594
|
maxFee: bigint;
|
|
12433
12595
|
halfAmount: bigint;
|
|
12596
|
+
beneficiary?: string | undefined;
|
|
12434
12597
|
}, {
|
|
12435
|
-
type:
|
|
12598
|
+
type: "ProgressiveFee";
|
|
12436
12599
|
owner: string;
|
|
12437
12600
|
maxFee: string | number | bigint;
|
|
12438
12601
|
halfAmount: string | number | bigint;
|
|
12602
|
+
beneficiary?: string | undefined;
|
|
12439
12603
|
}>, {
|
|
12440
|
-
type:
|
|
12604
|
+
type: "ProgressiveFee";
|
|
12441
12605
|
owner: string;
|
|
12442
12606
|
maxFee: bigint;
|
|
12443
12607
|
halfAmount: bigint;
|
|
12608
|
+
beneficiary?: string | undefined;
|
|
12444
12609
|
}, {
|
|
12445
|
-
type:
|
|
12610
|
+
type: "ProgressiveFee";
|
|
12446
12611
|
owner: string;
|
|
12447
12612
|
maxFee: string | number | bigint;
|
|
12448
12613
|
halfAmount: string | number | bigint;
|
|
12614
|
+
beneficiary?: string | undefined;
|
|
12449
12615
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12450
12616
|
owner: z.ZodString;
|
|
12617
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12451
12618
|
} & {
|
|
12452
|
-
type: z.ZodLiteral<
|
|
12619
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
12453
12620
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12454
12621
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12455
12622
|
}, "strip", z.ZodTypeAny, {
|
|
12456
|
-
type:
|
|
12623
|
+
type: "RegressiveFee";
|
|
12457
12624
|
owner: string;
|
|
12458
12625
|
maxFee: bigint;
|
|
12459
12626
|
halfAmount: bigint;
|
|
12627
|
+
beneficiary?: string | undefined;
|
|
12460
12628
|
}, {
|
|
12461
|
-
type:
|
|
12629
|
+
type: "RegressiveFee";
|
|
12462
12630
|
owner: string;
|
|
12463
12631
|
maxFee: string | number | bigint;
|
|
12464
12632
|
halfAmount: string | number | bigint;
|
|
12633
|
+
beneficiary?: string | undefined;
|
|
12465
12634
|
}>, {
|
|
12466
|
-
type:
|
|
12635
|
+
type: "RegressiveFee";
|
|
12467
12636
|
owner: string;
|
|
12468
12637
|
maxFee: bigint;
|
|
12469
12638
|
halfAmount: bigint;
|
|
12639
|
+
beneficiary?: string | undefined;
|
|
12470
12640
|
}, {
|
|
12471
|
-
type:
|
|
12641
|
+
type: "RegressiveFee";
|
|
12472
12642
|
owner: string;
|
|
12473
12643
|
maxFee: string | number | bigint;
|
|
12474
12644
|
halfAmount: string | number | bigint;
|
|
12645
|
+
beneficiary?: string | undefined;
|
|
12475
12646
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12476
12647
|
owner: z.ZodString;
|
|
12648
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12477
12649
|
} & {
|
|
12478
|
-
type: z.ZodLiteral<
|
|
12650
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
12479
12651
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
12480
12652
|
}, "strip", z.ZodTypeAny, {
|
|
12481
|
-
type:
|
|
12653
|
+
type: "RoutingFee";
|
|
12482
12654
|
owner: string;
|
|
12483
12655
|
feeContracts: Record<string, any>;
|
|
12656
|
+
beneficiary?: string | undefined;
|
|
12484
12657
|
}, {
|
|
12485
|
-
type:
|
|
12658
|
+
type: "RoutingFee";
|
|
12486
12659
|
owner: string;
|
|
12487
12660
|
feeContracts: Record<string, any>;
|
|
12661
|
+
beneficiary?: string | undefined;
|
|
12488
12662
|
}>, {
|
|
12489
|
-
type:
|
|
12663
|
+
type: "RoutingFee";
|
|
12490
12664
|
owner: string;
|
|
12491
12665
|
feeContracts: Record<string, any>;
|
|
12666
|
+
beneficiary?: string | undefined;
|
|
12492
12667
|
}, {
|
|
12493
|
-
type:
|
|
12668
|
+
type: "RoutingFee";
|
|
12494
12669
|
owner: string;
|
|
12495
12670
|
feeContracts: Record<string, any>;
|
|
12671
|
+
beneficiary?: string | undefined;
|
|
12496
12672
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12497
12673
|
owner: z.ZodString;
|
|
12674
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12498
12675
|
} & {
|
|
12499
|
-
type: z.ZodLiteral<
|
|
12676
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
12500
12677
|
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>>>;
|
|
12501
12678
|
}, "strip", z.ZodTypeAny, {
|
|
12502
|
-
type:
|
|
12679
|
+
type: "CrossCollateralRoutingFee";
|
|
12503
12680
|
owner: string;
|
|
12504
12681
|
feeContracts: Record<string, Record<string, any>>;
|
|
12682
|
+
beneficiary?: string | undefined;
|
|
12505
12683
|
}, {
|
|
12506
|
-
type:
|
|
12684
|
+
type: "CrossCollateralRoutingFee";
|
|
12507
12685
|
owner: string;
|
|
12508
12686
|
feeContracts: Record<string, Record<string, any>>;
|
|
12687
|
+
beneficiary?: string | undefined;
|
|
12509
12688
|
}>, {
|
|
12510
|
-
type:
|
|
12689
|
+
type: "CrossCollateralRoutingFee";
|
|
12511
12690
|
owner: string;
|
|
12512
12691
|
feeContracts: Record<string, Record<string, any>>;
|
|
12692
|
+
beneficiary?: string | undefined;
|
|
12513
12693
|
}, {
|
|
12514
|
-
type:
|
|
12694
|
+
type: "CrossCollateralRoutingFee";
|
|
12515
12695
|
owner: string;
|
|
12516
12696
|
feeContracts: Record<string, Record<string, any>>;
|
|
12697
|
+
beneficiary?: string | undefined;
|
|
12517
12698
|
}>]>>;
|
|
12518
12699
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
12519
12700
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
12701
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
12520
12702
|
} & {
|
|
12521
12703
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
12522
12704
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12549,12 +12731,18 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12549
12731
|
}>;
|
|
12550
12732
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12551
12733
|
quoteSigners?: string[] | undefined;
|
|
12734
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12552
12735
|
contractVersion?: string | undefined;
|
|
12736
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
12737
|
+
gasPrice: string;
|
|
12738
|
+
tokenExchangeRate: string;
|
|
12739
|
+
tokenDecimals?: number | undefined;
|
|
12740
|
+
}>> | undefined;
|
|
12553
12741
|
} | {
|
|
12554
12742
|
type: "protocolFee";
|
|
12555
12743
|
owner: string;
|
|
12556
|
-
protocolFee: string;
|
|
12557
12744
|
beneficiary: string;
|
|
12745
|
+
protocolFee: string;
|
|
12558
12746
|
maxProtocolFee: string;
|
|
12559
12747
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12560
12748
|
} | {
|
|
@@ -12568,25 +12756,19 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12568
12756
|
nativeBridge: string;
|
|
12569
12757
|
destinationChain: string;
|
|
12570
12758
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12759
|
+
} | 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 | {
|
|
12760
|
+
type: "defaultHook";
|
|
12571
12761
|
} | {
|
|
12572
|
-
type: "
|
|
12762
|
+
type: "ccipHook";
|
|
12573
12763
|
destinationChain: string;
|
|
12574
|
-
arbSys: string;
|
|
12575
|
-
bridge?: string | undefined;
|
|
12576
|
-
childHook?: any;
|
|
12577
12764
|
} | {
|
|
12578
|
-
type: "
|
|
12765
|
+
type: "cctpHook";
|
|
12766
|
+
address: string;
|
|
12579
12767
|
} | {
|
|
12580
12768
|
type: "rateLimitedHook";
|
|
12581
12769
|
owner: string;
|
|
12582
12770
|
maxCapacity: string;
|
|
12583
12771
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12584
|
-
} | {
|
|
12585
|
-
type: "ccipHook";
|
|
12586
|
-
destinationChain: string;
|
|
12587
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
12588
|
-
type: "cctpHook";
|
|
12589
|
-
address: string;
|
|
12590
12772
|
} | z.objectOutputType<{
|
|
12591
12773
|
type: z.ZodLiteral<"unknownHook">;
|
|
12592
12774
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -12637,7 +12819,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12637
12819
|
owner: string;
|
|
12638
12820
|
urls: string[];
|
|
12639
12821
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12640
|
-
} |
|
|
12822
|
+
} | ({
|
|
12823
|
+
owner: string;
|
|
12824
|
+
paused: boolean;
|
|
12825
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12826
|
+
} & {
|
|
12827
|
+
type: "pausableIsm";
|
|
12828
|
+
} & {
|
|
12829
|
+
address: string;
|
|
12830
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
12641
12831
|
type: z.ZodLiteral<"unknownIsm">;
|
|
12642
12832
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12643
12833
|
foreignDeployment?: string | undefined;
|
|
@@ -12646,37 +12836,44 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12646
12836
|
}> | undefined;
|
|
12647
12837
|
tokenFee?: {
|
|
12648
12838
|
bps: number;
|
|
12649
|
-
type:
|
|
12839
|
+
type: "LinearFee";
|
|
12650
12840
|
owner: string;
|
|
12841
|
+
beneficiary?: string | undefined;
|
|
12651
12842
|
maxFee?: bigint | undefined;
|
|
12652
12843
|
halfAmount?: bigint | undefined;
|
|
12653
12844
|
} | {
|
|
12654
12845
|
bps: number;
|
|
12655
|
-
type:
|
|
12846
|
+
type: "OffchainQuotedLinearFee";
|
|
12656
12847
|
owner: string;
|
|
12848
|
+
beneficiary?: string | undefined;
|
|
12657
12849
|
maxFee?: bigint | undefined;
|
|
12658
12850
|
halfAmount?: bigint | undefined;
|
|
12659
12851
|
quoteSigners?: string[] | undefined;
|
|
12660
12852
|
} | {
|
|
12661
|
-
type:
|
|
12853
|
+
type: "ProgressiveFee";
|
|
12662
12854
|
owner: string;
|
|
12663
12855
|
maxFee: bigint;
|
|
12664
12856
|
halfAmount: bigint;
|
|
12857
|
+
beneficiary?: string | undefined;
|
|
12665
12858
|
} | {
|
|
12666
|
-
type:
|
|
12859
|
+
type: "RegressiveFee";
|
|
12667
12860
|
owner: string;
|
|
12668
12861
|
maxFee: bigint;
|
|
12669
12862
|
halfAmount: bigint;
|
|
12863
|
+
beneficiary?: string | undefined;
|
|
12670
12864
|
} | {
|
|
12671
|
-
type:
|
|
12865
|
+
type: "RoutingFee";
|
|
12672
12866
|
owner: string;
|
|
12673
12867
|
feeContracts: Record<string, any>;
|
|
12868
|
+
beneficiary?: string | undefined;
|
|
12674
12869
|
} | {
|
|
12675
|
-
type:
|
|
12870
|
+
type: "CrossCollateralRoutingFee";
|
|
12676
12871
|
owner: string;
|
|
12677
12872
|
feeContracts: Record<string, Record<string, any>>;
|
|
12873
|
+
beneficiary?: string | undefined;
|
|
12678
12874
|
} | undefined;
|
|
12679
12875
|
destinationGas?: Record<string | number, string> | undefined;
|
|
12876
|
+
feeHook?: string | undefined;
|
|
12680
12877
|
}, {
|
|
12681
12878
|
owner: string;
|
|
12682
12879
|
gas?: number | undefined;
|
|
@@ -12707,12 +12904,18 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12707
12904
|
}>;
|
|
12708
12905
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12709
12906
|
quoteSigners?: string[] | undefined;
|
|
12907
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12710
12908
|
contractVersion?: string | undefined;
|
|
12909
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
12910
|
+
gasPrice: string;
|
|
12911
|
+
tokenExchangeRate: string;
|
|
12912
|
+
tokenDecimals?: number | undefined;
|
|
12913
|
+
}>> | undefined;
|
|
12711
12914
|
} | {
|
|
12712
12915
|
type: "protocolFee";
|
|
12713
12916
|
owner: string;
|
|
12714
|
-
protocolFee: string;
|
|
12715
12917
|
beneficiary: string;
|
|
12918
|
+
protocolFee: string;
|
|
12716
12919
|
maxProtocolFee: string;
|
|
12717
12920
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12718
12921
|
} | {
|
|
@@ -12726,25 +12929,19 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12726
12929
|
nativeBridge: string;
|
|
12727
12930
|
destinationChain: string;
|
|
12728
12931
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12932
|
+
} | 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 | {
|
|
12933
|
+
type: "defaultHook";
|
|
12729
12934
|
} | {
|
|
12730
|
-
type: "
|
|
12935
|
+
type: "ccipHook";
|
|
12731
12936
|
destinationChain: string;
|
|
12732
|
-
arbSys: string;
|
|
12733
|
-
bridge?: string | undefined;
|
|
12734
|
-
childHook?: any;
|
|
12735
12937
|
} | {
|
|
12736
|
-
type: "
|
|
12938
|
+
type: "cctpHook";
|
|
12939
|
+
address: string;
|
|
12737
12940
|
} | {
|
|
12738
12941
|
type: "rateLimitedHook";
|
|
12739
12942
|
owner: string;
|
|
12740
12943
|
maxCapacity: string;
|
|
12741
12944
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12742
|
-
} | {
|
|
12743
|
-
type: "ccipHook";
|
|
12744
|
-
destinationChain: string;
|
|
12745
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
12746
|
-
type: "cctpHook";
|
|
12747
|
-
address: string;
|
|
12748
12945
|
} | z.objectInputType<{
|
|
12749
12946
|
type: z.ZodLiteral<"unknownHook">;
|
|
12750
12947
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -12795,7 +12992,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12795
12992
|
owner: string;
|
|
12796
12993
|
urls: string[];
|
|
12797
12994
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12798
|
-
} | {
|
|
12995
|
+
} | ({
|
|
12996
|
+
owner: string;
|
|
12997
|
+
paused: boolean;
|
|
12998
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12999
|
+
} & {
|
|
13000
|
+
type: "pausableIsm";
|
|
13001
|
+
} & {
|
|
13002
|
+
address: string;
|
|
13003
|
+
}) | {
|
|
12799
13004
|
type: "interchainAccountRouting";
|
|
12800
13005
|
owner: string;
|
|
12801
13006
|
isms: Record<string, string>;
|
|
@@ -12808,38 +13013,45 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12808
13013
|
address: string;
|
|
12809
13014
|
}> | undefined;
|
|
12810
13015
|
tokenFee?: {
|
|
12811
|
-
type:
|
|
13016
|
+
type: "LinearFee";
|
|
12812
13017
|
owner: string;
|
|
13018
|
+
beneficiary?: string | undefined;
|
|
12813
13019
|
maxFee?: string | number | bigint | undefined;
|
|
12814
13020
|
halfAmount?: string | number | bigint | undefined;
|
|
12815
13021
|
bps?: string | number | undefined;
|
|
12816
13022
|
} | {
|
|
12817
|
-
type:
|
|
13023
|
+
type: "OffchainQuotedLinearFee";
|
|
12818
13024
|
owner: string;
|
|
13025
|
+
beneficiary?: string | undefined;
|
|
12819
13026
|
maxFee?: string | number | bigint | undefined;
|
|
12820
13027
|
halfAmount?: string | number | bigint | undefined;
|
|
12821
13028
|
bps?: string | number | undefined;
|
|
12822
13029
|
quoteSigners?: string[] | undefined;
|
|
12823
13030
|
} | {
|
|
12824
|
-
type:
|
|
13031
|
+
type: "ProgressiveFee";
|
|
12825
13032
|
owner: string;
|
|
12826
13033
|
maxFee: string | number | bigint;
|
|
12827
13034
|
halfAmount: string | number | bigint;
|
|
13035
|
+
beneficiary?: string | undefined;
|
|
12828
13036
|
} | {
|
|
12829
|
-
type:
|
|
13037
|
+
type: "RegressiveFee";
|
|
12830
13038
|
owner: string;
|
|
12831
13039
|
maxFee: string | number | bigint;
|
|
12832
13040
|
halfAmount: string | number | bigint;
|
|
13041
|
+
beneficiary?: string | undefined;
|
|
12833
13042
|
} | {
|
|
12834
|
-
type:
|
|
13043
|
+
type: "RoutingFee";
|
|
12835
13044
|
owner: string;
|
|
12836
13045
|
feeContracts: Record<string, any>;
|
|
13046
|
+
beneficiary?: string | undefined;
|
|
12837
13047
|
} | {
|
|
12838
|
-
type:
|
|
13048
|
+
type: "CrossCollateralRoutingFee";
|
|
12839
13049
|
owner: string;
|
|
12840
13050
|
feeContracts: Record<string, Record<string, any>>;
|
|
13051
|
+
beneficiary?: string | undefined;
|
|
12841
13052
|
} | undefined;
|
|
12842
13053
|
destinationGas?: Record<string | number, string> | undefined;
|
|
13054
|
+
feeHook?: string | undefined;
|
|
12843
13055
|
}>>, z.ZodObject<{
|
|
12844
13056
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
12845
13057
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -14900,15 +15112,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
14900
15112
|
}, "strip", z.ZodTypeAny, {
|
|
14901
15113
|
type: "protocolFee";
|
|
14902
15114
|
owner: string;
|
|
14903
|
-
protocolFee: string;
|
|
14904
15115
|
beneficiary: string;
|
|
15116
|
+
protocolFee: string;
|
|
14905
15117
|
maxProtocolFee: string;
|
|
14906
15118
|
ownerOverrides?: Record<string, string> | undefined;
|
|
14907
15119
|
}, {
|
|
14908
15120
|
type: "protocolFee";
|
|
14909
15121
|
owner: string;
|
|
14910
|
-
protocolFee: string;
|
|
14911
15122
|
beneficiary: string;
|
|
15123
|
+
protocolFee: string;
|
|
14912
15124
|
maxProtocolFee: string;
|
|
14913
15125
|
ownerOverrides?: Record<string, string> | undefined;
|
|
14914
15126
|
}>, z.ZodObject<{
|
|
@@ -14999,8 +15211,23 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
14999
15211
|
totalUsdCost: number;
|
|
15000
15212
|
} | undefined;
|
|
15001
15213
|
}>>;
|
|
15214
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
15002
15215
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15003
15216
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
15217
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15218
|
+
gasPrice: z.ZodString;
|
|
15219
|
+
tokenExchangeRate: z.ZodString;
|
|
15220
|
+
} & {
|
|
15221
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
15222
|
+
}, "strip", z.ZodTypeAny, {
|
|
15223
|
+
gasPrice: string;
|
|
15224
|
+
tokenExchangeRate: string;
|
|
15225
|
+
tokenDecimals?: number | undefined;
|
|
15226
|
+
}, {
|
|
15227
|
+
gasPrice: string;
|
|
15228
|
+
tokenExchangeRate: string;
|
|
15229
|
+
tokenDecimals?: number | undefined;
|
|
15230
|
+
}>>>>;
|
|
15004
15231
|
}, "strip", z.ZodTypeAny, {
|
|
15005
15232
|
type: "interchainGasPaymaster";
|
|
15006
15233
|
owner: string;
|
|
@@ -15019,7 +15246,13 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15019
15246
|
}>;
|
|
15020
15247
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15021
15248
|
quoteSigners?: string[] | undefined;
|
|
15249
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
15022
15250
|
contractVersion?: string | undefined;
|
|
15251
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
15252
|
+
gasPrice: string;
|
|
15253
|
+
tokenExchangeRate: string;
|
|
15254
|
+
tokenDecimals?: number | undefined;
|
|
15255
|
+
}>> | undefined;
|
|
15023
15256
|
}, {
|
|
15024
15257
|
type: "interchainGasPaymaster";
|
|
15025
15258
|
owner: string;
|
|
@@ -15038,26 +15271,14 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15038
15271
|
}>;
|
|
15039
15272
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15040
15273
|
quoteSigners?: string[] | undefined;
|
|
15274
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
15041
15275
|
contractVersion?: string | undefined;
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
}, "strip", z.ZodTypeAny, {
|
|
15049
|
-
type: "arbL2ToL1Hook";
|
|
15050
|
-
destinationChain: string;
|
|
15051
|
-
arbSys: string;
|
|
15052
|
-
bridge?: string | undefined;
|
|
15053
|
-
childHook?: any;
|
|
15054
|
-
}, {
|
|
15055
|
-
type: "arbL2ToL1Hook";
|
|
15056
|
-
destinationChain: string;
|
|
15057
|
-
arbSys: string;
|
|
15058
|
-
bridge?: string | undefined;
|
|
15059
|
-
childHook?: any;
|
|
15060
|
-
}>, z.ZodObject<{
|
|
15276
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
15277
|
+
gasPrice: string;
|
|
15278
|
+
tokenExchangeRate: string;
|
|
15279
|
+
tokenDecimals?: number | undefined;
|
|
15280
|
+
}>> | undefined;
|
|
15281
|
+
}>, 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<{
|
|
15061
15282
|
type: z.ZodLiteral<"defaultHook">;
|
|
15062
15283
|
}, "strip", z.ZodTypeAny, {
|
|
15063
15284
|
type: "defaultHook";
|
|
@@ -15151,7 +15372,32 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15151
15372
|
type: "opStackIsm";
|
|
15152
15373
|
origin: string;
|
|
15153
15374
|
nativeBridge: string;
|
|
15154
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
15375
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
15376
|
+
owner: z.ZodString;
|
|
15377
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15378
|
+
} & {
|
|
15379
|
+
paused: z.ZodBoolean;
|
|
15380
|
+
}, "strip", z.ZodTypeAny, {
|
|
15381
|
+
owner: string;
|
|
15382
|
+
paused: boolean;
|
|
15383
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15384
|
+
}, {
|
|
15385
|
+
owner: string;
|
|
15386
|
+
paused: boolean;
|
|
15387
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15388
|
+
}>, z.ZodObject<{
|
|
15389
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
15390
|
+
}, "strip", z.ZodTypeAny, {
|
|
15391
|
+
type: "pausableIsm";
|
|
15392
|
+
}, {
|
|
15393
|
+
type: "pausableIsm";
|
|
15394
|
+
}>>, z.ZodObject<{
|
|
15395
|
+
address: z.ZodString;
|
|
15396
|
+
}, "strip", z.ZodTypeAny, {
|
|
15397
|
+
address: string;
|
|
15398
|
+
}, {
|
|
15399
|
+
address: string;
|
|
15400
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
15155
15401
|
owner: z.ZodString;
|
|
15156
15402
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15157
15403
|
} & {
|
|
@@ -15340,195 +15586,230 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15340
15586
|
}>>;
|
|
15341
15587
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
15342
15588
|
owner: z.ZodString;
|
|
15589
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15343
15590
|
} & {
|
|
15344
15591
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15345
15592
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15346
|
-
type: z.ZodLiteral<
|
|
15593
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
15347
15594
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
15348
15595
|
}, "strip", z.ZodTypeAny, {
|
|
15349
|
-
type:
|
|
15596
|
+
type: "LinearFee";
|
|
15350
15597
|
owner: string;
|
|
15598
|
+
beneficiary?: string | undefined;
|
|
15351
15599
|
maxFee?: bigint | undefined;
|
|
15352
15600
|
halfAmount?: bigint | undefined;
|
|
15353
15601
|
bps?: number | undefined;
|
|
15354
15602
|
}, {
|
|
15355
|
-
type:
|
|
15603
|
+
type: "LinearFee";
|
|
15356
15604
|
owner: string;
|
|
15605
|
+
beneficiary?: string | undefined;
|
|
15357
15606
|
maxFee?: string | number | bigint | undefined;
|
|
15358
15607
|
halfAmount?: string | number | bigint | undefined;
|
|
15359
15608
|
bps?: string | number | undefined;
|
|
15360
15609
|
}>, {
|
|
15361
|
-
type:
|
|
15610
|
+
type: "LinearFee";
|
|
15362
15611
|
owner: string;
|
|
15612
|
+
beneficiary?: string | undefined;
|
|
15363
15613
|
maxFee?: bigint | undefined;
|
|
15364
15614
|
halfAmount?: bigint | undefined;
|
|
15365
15615
|
bps?: number | undefined;
|
|
15366
15616
|
}, {
|
|
15367
|
-
type:
|
|
15617
|
+
type: "LinearFee";
|
|
15368
15618
|
owner: string;
|
|
15619
|
+
beneficiary?: string | undefined;
|
|
15369
15620
|
maxFee?: string | number | bigint | undefined;
|
|
15370
15621
|
halfAmount?: string | number | bigint | undefined;
|
|
15371
15622
|
bps?: string | number | undefined;
|
|
15372
15623
|
}>, {
|
|
15373
15624
|
bps: number;
|
|
15374
|
-
type:
|
|
15625
|
+
type: "LinearFee";
|
|
15375
15626
|
owner: string;
|
|
15627
|
+
beneficiary?: string | undefined;
|
|
15376
15628
|
maxFee?: bigint | undefined;
|
|
15377
15629
|
halfAmount?: bigint | undefined;
|
|
15378
15630
|
}, {
|
|
15379
|
-
type:
|
|
15631
|
+
type: "LinearFee";
|
|
15380
15632
|
owner: string;
|
|
15633
|
+
beneficiary?: string | undefined;
|
|
15381
15634
|
maxFee?: string | number | bigint | undefined;
|
|
15382
15635
|
halfAmount?: string | number | bigint | undefined;
|
|
15383
15636
|
bps?: string | number | undefined;
|
|
15384
15637
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
15385
15638
|
owner: z.ZodString;
|
|
15639
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15386
15640
|
} & {
|
|
15387
15641
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15388
15642
|
} & {
|
|
15389
15643
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15390
15644
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15391
|
-
type: z.ZodLiteral<
|
|
15645
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
15392
15646
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
15393
15647
|
}, "strip", z.ZodTypeAny, {
|
|
15394
|
-
type:
|
|
15648
|
+
type: "OffchainQuotedLinearFee";
|
|
15395
15649
|
owner: string;
|
|
15650
|
+
beneficiary?: string | undefined;
|
|
15396
15651
|
maxFee?: bigint | undefined;
|
|
15397
15652
|
halfAmount?: bigint | undefined;
|
|
15398
15653
|
bps?: number | undefined;
|
|
15399
15654
|
quoteSigners?: string[] | undefined;
|
|
15400
15655
|
}, {
|
|
15401
|
-
type:
|
|
15656
|
+
type: "OffchainQuotedLinearFee";
|
|
15402
15657
|
owner: string;
|
|
15658
|
+
beneficiary?: string | undefined;
|
|
15403
15659
|
maxFee?: string | number | bigint | undefined;
|
|
15404
15660
|
halfAmount?: string | number | bigint | undefined;
|
|
15405
15661
|
bps?: string | number | undefined;
|
|
15406
15662
|
quoteSigners?: string[] | undefined;
|
|
15407
15663
|
}>, {
|
|
15408
|
-
type:
|
|
15664
|
+
type: "OffchainQuotedLinearFee";
|
|
15409
15665
|
owner: string;
|
|
15666
|
+
beneficiary?: string | undefined;
|
|
15410
15667
|
maxFee?: bigint | undefined;
|
|
15411
15668
|
halfAmount?: bigint | undefined;
|
|
15412
15669
|
bps?: number | undefined;
|
|
15413
15670
|
quoteSigners?: string[] | undefined;
|
|
15414
15671
|
}, {
|
|
15415
|
-
type:
|
|
15672
|
+
type: "OffchainQuotedLinearFee";
|
|
15416
15673
|
owner: string;
|
|
15674
|
+
beneficiary?: string | undefined;
|
|
15417
15675
|
maxFee?: string | number | bigint | undefined;
|
|
15418
15676
|
halfAmount?: string | number | bigint | undefined;
|
|
15419
15677
|
bps?: string | number | undefined;
|
|
15420
15678
|
quoteSigners?: string[] | undefined;
|
|
15421
15679
|
}>, {
|
|
15422
15680
|
bps: number;
|
|
15423
|
-
type:
|
|
15681
|
+
type: "OffchainQuotedLinearFee";
|
|
15424
15682
|
owner: string;
|
|
15683
|
+
beneficiary?: string | undefined;
|
|
15425
15684
|
maxFee?: bigint | undefined;
|
|
15426
15685
|
halfAmount?: bigint | undefined;
|
|
15427
15686
|
quoteSigners?: string[] | undefined;
|
|
15428
15687
|
}, {
|
|
15429
|
-
type:
|
|
15688
|
+
type: "OffchainQuotedLinearFee";
|
|
15430
15689
|
owner: string;
|
|
15690
|
+
beneficiary?: string | undefined;
|
|
15431
15691
|
maxFee?: string | number | bigint | undefined;
|
|
15432
15692
|
halfAmount?: string | number | bigint | undefined;
|
|
15433
15693
|
bps?: string | number | undefined;
|
|
15434
15694
|
quoteSigners?: string[] | undefined;
|
|
15435
15695
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15436
15696
|
owner: z.ZodString;
|
|
15697
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15437
15698
|
} & {
|
|
15438
|
-
type: z.ZodLiteral<
|
|
15699
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
15439
15700
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15440
15701
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15441
15702
|
}, "strip", z.ZodTypeAny, {
|
|
15442
|
-
type:
|
|
15703
|
+
type: "ProgressiveFee";
|
|
15443
15704
|
owner: string;
|
|
15444
15705
|
maxFee: bigint;
|
|
15445
15706
|
halfAmount: bigint;
|
|
15707
|
+
beneficiary?: string | undefined;
|
|
15446
15708
|
}, {
|
|
15447
|
-
type:
|
|
15709
|
+
type: "ProgressiveFee";
|
|
15448
15710
|
owner: string;
|
|
15449
15711
|
maxFee: string | number | bigint;
|
|
15450
15712
|
halfAmount: string | number | bigint;
|
|
15713
|
+
beneficiary?: string | undefined;
|
|
15451
15714
|
}>, {
|
|
15452
|
-
type:
|
|
15715
|
+
type: "ProgressiveFee";
|
|
15453
15716
|
owner: string;
|
|
15454
15717
|
maxFee: bigint;
|
|
15455
15718
|
halfAmount: bigint;
|
|
15719
|
+
beneficiary?: string | undefined;
|
|
15456
15720
|
}, {
|
|
15457
|
-
type:
|
|
15721
|
+
type: "ProgressiveFee";
|
|
15458
15722
|
owner: string;
|
|
15459
15723
|
maxFee: string | number | bigint;
|
|
15460
15724
|
halfAmount: string | number | bigint;
|
|
15725
|
+
beneficiary?: string | undefined;
|
|
15461
15726
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15462
15727
|
owner: z.ZodString;
|
|
15728
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15463
15729
|
} & {
|
|
15464
|
-
type: z.ZodLiteral<
|
|
15730
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
15465
15731
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15466
15732
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15467
15733
|
}, "strip", z.ZodTypeAny, {
|
|
15468
|
-
type:
|
|
15734
|
+
type: "RegressiveFee";
|
|
15469
15735
|
owner: string;
|
|
15470
15736
|
maxFee: bigint;
|
|
15471
15737
|
halfAmount: bigint;
|
|
15738
|
+
beneficiary?: string | undefined;
|
|
15472
15739
|
}, {
|
|
15473
|
-
type:
|
|
15740
|
+
type: "RegressiveFee";
|
|
15474
15741
|
owner: string;
|
|
15475
15742
|
maxFee: string | number | bigint;
|
|
15476
15743
|
halfAmount: string | number | bigint;
|
|
15744
|
+
beneficiary?: string | undefined;
|
|
15477
15745
|
}>, {
|
|
15478
|
-
type:
|
|
15746
|
+
type: "RegressiveFee";
|
|
15479
15747
|
owner: string;
|
|
15480
15748
|
maxFee: bigint;
|
|
15481
15749
|
halfAmount: bigint;
|
|
15750
|
+
beneficiary?: string | undefined;
|
|
15482
15751
|
}, {
|
|
15483
|
-
type:
|
|
15752
|
+
type: "RegressiveFee";
|
|
15484
15753
|
owner: string;
|
|
15485
15754
|
maxFee: string | number | bigint;
|
|
15486
15755
|
halfAmount: string | number | bigint;
|
|
15756
|
+
beneficiary?: string | undefined;
|
|
15487
15757
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15488
15758
|
owner: z.ZodString;
|
|
15759
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15489
15760
|
} & {
|
|
15490
|
-
type: z.ZodLiteral<
|
|
15761
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
15491
15762
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
15492
15763
|
}, "strip", z.ZodTypeAny, {
|
|
15493
|
-
type:
|
|
15764
|
+
type: "RoutingFee";
|
|
15494
15765
|
owner: string;
|
|
15495
15766
|
feeContracts: Record<string, any>;
|
|
15767
|
+
beneficiary?: string | undefined;
|
|
15496
15768
|
}, {
|
|
15497
|
-
type:
|
|
15769
|
+
type: "RoutingFee";
|
|
15498
15770
|
owner: string;
|
|
15499
15771
|
feeContracts: Record<string, any>;
|
|
15772
|
+
beneficiary?: string | undefined;
|
|
15500
15773
|
}>, {
|
|
15501
|
-
type:
|
|
15774
|
+
type: "RoutingFee";
|
|
15502
15775
|
owner: string;
|
|
15503
15776
|
feeContracts: Record<string, any>;
|
|
15777
|
+
beneficiary?: string | undefined;
|
|
15504
15778
|
}, {
|
|
15505
|
-
type:
|
|
15779
|
+
type: "RoutingFee";
|
|
15506
15780
|
owner: string;
|
|
15507
15781
|
feeContracts: Record<string, any>;
|
|
15782
|
+
beneficiary?: string | undefined;
|
|
15508
15783
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15509
15784
|
owner: z.ZodString;
|
|
15785
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15510
15786
|
} & {
|
|
15511
|
-
type: z.ZodLiteral<
|
|
15787
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
15512
15788
|
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>>>;
|
|
15513
15789
|
}, "strip", z.ZodTypeAny, {
|
|
15514
|
-
type:
|
|
15790
|
+
type: "CrossCollateralRoutingFee";
|
|
15515
15791
|
owner: string;
|
|
15516
15792
|
feeContracts: Record<string, Record<string, any>>;
|
|
15793
|
+
beneficiary?: string | undefined;
|
|
15517
15794
|
}, {
|
|
15518
|
-
type:
|
|
15795
|
+
type: "CrossCollateralRoutingFee";
|
|
15519
15796
|
owner: string;
|
|
15520
15797
|
feeContracts: Record<string, Record<string, any>>;
|
|
15798
|
+
beneficiary?: string | undefined;
|
|
15521
15799
|
}>, {
|
|
15522
|
-
type:
|
|
15800
|
+
type: "CrossCollateralRoutingFee";
|
|
15523
15801
|
owner: string;
|
|
15524
15802
|
feeContracts: Record<string, Record<string, any>>;
|
|
15803
|
+
beneficiary?: string | undefined;
|
|
15525
15804
|
}, {
|
|
15526
|
-
type:
|
|
15805
|
+
type: "CrossCollateralRoutingFee";
|
|
15527
15806
|
owner: string;
|
|
15528
15807
|
feeContracts: Record<string, Record<string, any>>;
|
|
15808
|
+
beneficiary?: string | undefined;
|
|
15529
15809
|
}>]>>;
|
|
15530
15810
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
15531
15811
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
15812
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
15532
15813
|
} & {
|
|
15533
15814
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
15534
15815
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15561,12 +15842,18 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15561
15842
|
}>;
|
|
15562
15843
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15563
15844
|
quoteSigners?: string[] | undefined;
|
|
15845
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
15564
15846
|
contractVersion?: string | undefined;
|
|
15847
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
15848
|
+
gasPrice: string;
|
|
15849
|
+
tokenExchangeRate: string;
|
|
15850
|
+
tokenDecimals?: number | undefined;
|
|
15851
|
+
}>> | undefined;
|
|
15565
15852
|
} | {
|
|
15566
15853
|
type: "protocolFee";
|
|
15567
15854
|
owner: string;
|
|
15568
|
-
protocolFee: string;
|
|
15569
15855
|
beneficiary: string;
|
|
15856
|
+
protocolFee: string;
|
|
15570
15857
|
maxProtocolFee: string;
|
|
15571
15858
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15572
15859
|
} | {
|
|
@@ -15580,25 +15867,19 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15580
15867
|
nativeBridge: string;
|
|
15581
15868
|
destinationChain: string;
|
|
15582
15869
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15870
|
+
} | 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 | {
|
|
15871
|
+
type: "defaultHook";
|
|
15583
15872
|
} | {
|
|
15584
|
-
type: "
|
|
15873
|
+
type: "ccipHook";
|
|
15585
15874
|
destinationChain: string;
|
|
15586
|
-
arbSys: string;
|
|
15587
|
-
bridge?: string | undefined;
|
|
15588
|
-
childHook?: any;
|
|
15589
15875
|
} | {
|
|
15590
|
-
type: "
|
|
15876
|
+
type: "cctpHook";
|
|
15877
|
+
address: string;
|
|
15591
15878
|
} | {
|
|
15592
15879
|
type: "rateLimitedHook";
|
|
15593
15880
|
owner: string;
|
|
15594
15881
|
maxCapacity: string;
|
|
15595
15882
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15596
|
-
} | {
|
|
15597
|
-
type: "ccipHook";
|
|
15598
|
-
destinationChain: string;
|
|
15599
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
15600
|
-
type: "cctpHook";
|
|
15601
|
-
address: string;
|
|
15602
15883
|
} | z.objectOutputType<{
|
|
15603
15884
|
type: z.ZodLiteral<"unknownHook">;
|
|
15604
15885
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -15649,7 +15930,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15649
15930
|
owner: string;
|
|
15650
15931
|
urls: string[];
|
|
15651
15932
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15652
|
-
} |
|
|
15933
|
+
} | ({
|
|
15934
|
+
owner: string;
|
|
15935
|
+
paused: boolean;
|
|
15936
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15937
|
+
} & {
|
|
15938
|
+
type: "pausableIsm";
|
|
15939
|
+
} & {
|
|
15940
|
+
address: string;
|
|
15941
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
15653
15942
|
type: z.ZodLiteral<"unknownIsm">;
|
|
15654
15943
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15655
15944
|
foreignDeployment?: string | undefined;
|
|
@@ -15658,37 +15947,44 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15658
15947
|
}> | undefined;
|
|
15659
15948
|
tokenFee?: {
|
|
15660
15949
|
bps: number;
|
|
15661
|
-
type:
|
|
15950
|
+
type: "LinearFee";
|
|
15662
15951
|
owner: string;
|
|
15952
|
+
beneficiary?: string | undefined;
|
|
15663
15953
|
maxFee?: bigint | undefined;
|
|
15664
15954
|
halfAmount?: bigint | undefined;
|
|
15665
15955
|
} | {
|
|
15666
15956
|
bps: number;
|
|
15667
|
-
type:
|
|
15957
|
+
type: "OffchainQuotedLinearFee";
|
|
15668
15958
|
owner: string;
|
|
15959
|
+
beneficiary?: string | undefined;
|
|
15669
15960
|
maxFee?: bigint | undefined;
|
|
15670
15961
|
halfAmount?: bigint | undefined;
|
|
15671
15962
|
quoteSigners?: string[] | undefined;
|
|
15672
15963
|
} | {
|
|
15673
|
-
type:
|
|
15964
|
+
type: "ProgressiveFee";
|
|
15674
15965
|
owner: string;
|
|
15675
15966
|
maxFee: bigint;
|
|
15676
15967
|
halfAmount: bigint;
|
|
15968
|
+
beneficiary?: string | undefined;
|
|
15677
15969
|
} | {
|
|
15678
|
-
type:
|
|
15970
|
+
type: "RegressiveFee";
|
|
15679
15971
|
owner: string;
|
|
15680
15972
|
maxFee: bigint;
|
|
15681
15973
|
halfAmount: bigint;
|
|
15974
|
+
beneficiary?: string | undefined;
|
|
15682
15975
|
} | {
|
|
15683
|
-
type:
|
|
15976
|
+
type: "RoutingFee";
|
|
15684
15977
|
owner: string;
|
|
15685
15978
|
feeContracts: Record<string, any>;
|
|
15979
|
+
beneficiary?: string | undefined;
|
|
15686
15980
|
} | {
|
|
15687
|
-
type:
|
|
15981
|
+
type: "CrossCollateralRoutingFee";
|
|
15688
15982
|
owner: string;
|
|
15689
15983
|
feeContracts: Record<string, Record<string, any>>;
|
|
15984
|
+
beneficiary?: string | undefined;
|
|
15690
15985
|
} | undefined;
|
|
15691
15986
|
destinationGas?: Record<string | number, string> | undefined;
|
|
15987
|
+
feeHook?: string | undefined;
|
|
15692
15988
|
}, {
|
|
15693
15989
|
owner: string;
|
|
15694
15990
|
gas?: number | undefined;
|
|
@@ -15719,12 +16015,18 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15719
16015
|
}>;
|
|
15720
16016
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15721
16017
|
quoteSigners?: string[] | undefined;
|
|
16018
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
15722
16019
|
contractVersion?: string | undefined;
|
|
16020
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
16021
|
+
gasPrice: string;
|
|
16022
|
+
tokenExchangeRate: string;
|
|
16023
|
+
tokenDecimals?: number | undefined;
|
|
16024
|
+
}>> | undefined;
|
|
15723
16025
|
} | {
|
|
15724
16026
|
type: "protocolFee";
|
|
15725
16027
|
owner: string;
|
|
15726
|
-
protocolFee: string;
|
|
15727
16028
|
beneficiary: string;
|
|
16029
|
+
protocolFee: string;
|
|
15728
16030
|
maxProtocolFee: string;
|
|
15729
16031
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15730
16032
|
} | {
|
|
@@ -15738,25 +16040,19 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15738
16040
|
nativeBridge: string;
|
|
15739
16041
|
destinationChain: string;
|
|
15740
16042
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16043
|
+
} | 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 | {
|
|
16044
|
+
type: "defaultHook";
|
|
15741
16045
|
} | {
|
|
15742
|
-
type: "
|
|
16046
|
+
type: "ccipHook";
|
|
15743
16047
|
destinationChain: string;
|
|
15744
|
-
arbSys: string;
|
|
15745
|
-
bridge?: string | undefined;
|
|
15746
|
-
childHook?: any;
|
|
15747
16048
|
} | {
|
|
15748
|
-
type: "
|
|
16049
|
+
type: "cctpHook";
|
|
16050
|
+
address: string;
|
|
15749
16051
|
} | {
|
|
15750
16052
|
type: "rateLimitedHook";
|
|
15751
16053
|
owner: string;
|
|
15752
16054
|
maxCapacity: string;
|
|
15753
16055
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15754
|
-
} | {
|
|
15755
|
-
type: "ccipHook";
|
|
15756
|
-
destinationChain: string;
|
|
15757
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
15758
|
-
type: "cctpHook";
|
|
15759
|
-
address: string;
|
|
15760
16056
|
} | z.objectInputType<{
|
|
15761
16057
|
type: z.ZodLiteral<"unknownHook">;
|
|
15762
16058
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -15807,7 +16103,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15807
16103
|
owner: string;
|
|
15808
16104
|
urls: string[];
|
|
15809
16105
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15810
|
-
} | {
|
|
16106
|
+
} | ({
|
|
16107
|
+
owner: string;
|
|
16108
|
+
paused: boolean;
|
|
16109
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
16110
|
+
} & {
|
|
16111
|
+
type: "pausableIsm";
|
|
16112
|
+
} & {
|
|
16113
|
+
address: string;
|
|
16114
|
+
}) | {
|
|
15811
16115
|
type: "interchainAccountRouting";
|
|
15812
16116
|
owner: string;
|
|
15813
16117
|
isms: Record<string, string>;
|
|
@@ -15820,38 +16124,45 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15820
16124
|
address: string;
|
|
15821
16125
|
}> | undefined;
|
|
15822
16126
|
tokenFee?: {
|
|
15823
|
-
type:
|
|
16127
|
+
type: "LinearFee";
|
|
15824
16128
|
owner: string;
|
|
16129
|
+
beneficiary?: string | undefined;
|
|
15825
16130
|
maxFee?: string | number | bigint | undefined;
|
|
15826
16131
|
halfAmount?: string | number | bigint | undefined;
|
|
15827
16132
|
bps?: string | number | undefined;
|
|
15828
16133
|
} | {
|
|
15829
|
-
type:
|
|
16134
|
+
type: "OffchainQuotedLinearFee";
|
|
15830
16135
|
owner: string;
|
|
16136
|
+
beneficiary?: string | undefined;
|
|
15831
16137
|
maxFee?: string | number | bigint | undefined;
|
|
15832
16138
|
halfAmount?: string | number | bigint | undefined;
|
|
15833
16139
|
bps?: string | number | undefined;
|
|
15834
16140
|
quoteSigners?: string[] | undefined;
|
|
15835
16141
|
} | {
|
|
15836
|
-
type:
|
|
16142
|
+
type: "ProgressiveFee";
|
|
15837
16143
|
owner: string;
|
|
15838
16144
|
maxFee: string | number | bigint;
|
|
15839
16145
|
halfAmount: string | number | bigint;
|
|
16146
|
+
beneficiary?: string | undefined;
|
|
15840
16147
|
} | {
|
|
15841
|
-
type:
|
|
16148
|
+
type: "RegressiveFee";
|
|
15842
16149
|
owner: string;
|
|
15843
16150
|
maxFee: string | number | bigint;
|
|
15844
16151
|
halfAmount: string | number | bigint;
|
|
16152
|
+
beneficiary?: string | undefined;
|
|
15845
16153
|
} | {
|
|
15846
|
-
type:
|
|
16154
|
+
type: "RoutingFee";
|
|
15847
16155
|
owner: string;
|
|
15848
16156
|
feeContracts: Record<string, any>;
|
|
16157
|
+
beneficiary?: string | undefined;
|
|
15849
16158
|
} | {
|
|
15850
|
-
type:
|
|
16159
|
+
type: "CrossCollateralRoutingFee";
|
|
15851
16160
|
owner: string;
|
|
15852
16161
|
feeContracts: Record<string, Record<string, any>>;
|
|
16162
|
+
beneficiary?: string | undefined;
|
|
15853
16163
|
} | undefined;
|
|
15854
16164
|
destinationGas?: Record<string | number, string> | undefined;
|
|
16165
|
+
feeHook?: string | undefined;
|
|
15855
16166
|
}>>, z.ZodObject<{
|
|
15856
16167
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
15857
16168
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -16286,12 +16597,18 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16286
16597
|
}>;
|
|
16287
16598
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16288
16599
|
quoteSigners?: string[] | undefined;
|
|
16600
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
16289
16601
|
contractVersion?: string | undefined;
|
|
16602
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
16603
|
+
gasPrice: string;
|
|
16604
|
+
tokenExchangeRate: string;
|
|
16605
|
+
tokenDecimals?: number | undefined;
|
|
16606
|
+
}>> | undefined;
|
|
16290
16607
|
} | {
|
|
16291
16608
|
type: "protocolFee";
|
|
16292
16609
|
owner: string;
|
|
16293
|
-
protocolFee: string;
|
|
16294
16610
|
beneficiary: string;
|
|
16611
|
+
protocolFee: string;
|
|
16295
16612
|
maxProtocolFee: string;
|
|
16296
16613
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16297
16614
|
} | {
|
|
@@ -16305,25 +16622,19 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16305
16622
|
nativeBridge: string;
|
|
16306
16623
|
destinationChain: string;
|
|
16307
16624
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16625
|
+
} | 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 | {
|
|
16626
|
+
type: "defaultHook";
|
|
16308
16627
|
} | {
|
|
16309
|
-
type: "
|
|
16628
|
+
type: "ccipHook";
|
|
16310
16629
|
destinationChain: string;
|
|
16311
|
-
arbSys: string;
|
|
16312
|
-
bridge?: string | undefined;
|
|
16313
|
-
childHook?: any;
|
|
16314
16630
|
} | {
|
|
16315
|
-
type: "
|
|
16631
|
+
type: "cctpHook";
|
|
16632
|
+
address: string;
|
|
16316
16633
|
} | {
|
|
16317
16634
|
type: "rateLimitedHook";
|
|
16318
16635
|
owner: string;
|
|
16319
16636
|
maxCapacity: string;
|
|
16320
16637
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16321
|
-
} | {
|
|
16322
|
-
type: "ccipHook";
|
|
16323
|
-
destinationChain: string;
|
|
16324
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
16325
|
-
type: "cctpHook";
|
|
16326
|
-
address: string;
|
|
16327
16638
|
} | z.objectOutputType<{
|
|
16328
16639
|
type: z.ZodLiteral<"unknownHook">;
|
|
16329
16640
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -16374,7 +16685,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16374
16685
|
owner: string;
|
|
16375
16686
|
urls: string[];
|
|
16376
16687
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16377
|
-
} |
|
|
16688
|
+
} | ({
|
|
16689
|
+
owner: string;
|
|
16690
|
+
paused: boolean;
|
|
16691
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
16692
|
+
} & {
|
|
16693
|
+
type: "pausableIsm";
|
|
16694
|
+
} & {
|
|
16695
|
+
address: string;
|
|
16696
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
16378
16697
|
type: z.ZodLiteral<"unknownIsm">;
|
|
16379
16698
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16380
16699
|
foreignDeployment?: string | undefined;
|
|
@@ -16383,37 +16702,44 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16383
16702
|
}> | undefined;
|
|
16384
16703
|
tokenFee?: {
|
|
16385
16704
|
bps: number;
|
|
16386
|
-
type:
|
|
16705
|
+
type: "LinearFee";
|
|
16387
16706
|
owner: string;
|
|
16707
|
+
beneficiary?: string | undefined;
|
|
16388
16708
|
maxFee?: bigint | undefined;
|
|
16389
16709
|
halfAmount?: bigint | undefined;
|
|
16390
16710
|
} | {
|
|
16391
16711
|
bps: number;
|
|
16392
|
-
type:
|
|
16712
|
+
type: "OffchainQuotedLinearFee";
|
|
16393
16713
|
owner: string;
|
|
16714
|
+
beneficiary?: string | undefined;
|
|
16394
16715
|
maxFee?: bigint | undefined;
|
|
16395
16716
|
halfAmount?: bigint | undefined;
|
|
16396
16717
|
quoteSigners?: string[] | undefined;
|
|
16397
16718
|
} | {
|
|
16398
|
-
type:
|
|
16719
|
+
type: "ProgressiveFee";
|
|
16399
16720
|
owner: string;
|
|
16400
16721
|
maxFee: bigint;
|
|
16401
16722
|
halfAmount: bigint;
|
|
16723
|
+
beneficiary?: string | undefined;
|
|
16402
16724
|
} | {
|
|
16403
|
-
type:
|
|
16725
|
+
type: "RegressiveFee";
|
|
16404
16726
|
owner: string;
|
|
16405
16727
|
maxFee: bigint;
|
|
16406
16728
|
halfAmount: bigint;
|
|
16729
|
+
beneficiary?: string | undefined;
|
|
16407
16730
|
} | {
|
|
16408
|
-
type:
|
|
16731
|
+
type: "RoutingFee";
|
|
16409
16732
|
owner: string;
|
|
16410
16733
|
feeContracts: Record<string, any>;
|
|
16734
|
+
beneficiary?: string | undefined;
|
|
16411
16735
|
} | {
|
|
16412
|
-
type:
|
|
16736
|
+
type: "CrossCollateralRoutingFee";
|
|
16413
16737
|
owner: string;
|
|
16414
16738
|
feeContracts: Record<string, Record<string, any>>;
|
|
16739
|
+
beneficiary?: string | undefined;
|
|
16415
16740
|
} | undefined;
|
|
16416
16741
|
destinationGas?: Record<string | number, string> | undefined;
|
|
16742
|
+
feeHook?: string | undefined;
|
|
16417
16743
|
}) & {
|
|
16418
16744
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
16419
16745
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -18468,15 +18794,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18468
18794
|
}, "strip", z.ZodTypeAny, {
|
|
18469
18795
|
type: "protocolFee";
|
|
18470
18796
|
owner: string;
|
|
18471
|
-
protocolFee: string;
|
|
18472
18797
|
beneficiary: string;
|
|
18798
|
+
protocolFee: string;
|
|
18473
18799
|
maxProtocolFee: string;
|
|
18474
18800
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18475
18801
|
}, {
|
|
18476
18802
|
type: "protocolFee";
|
|
18477
18803
|
owner: string;
|
|
18478
|
-
protocolFee: string;
|
|
18479
18804
|
beneficiary: string;
|
|
18805
|
+
protocolFee: string;
|
|
18480
18806
|
maxProtocolFee: string;
|
|
18481
18807
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18482
18808
|
}>, z.ZodObject<{
|
|
@@ -18567,8 +18893,23 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18567
18893
|
totalUsdCost: number;
|
|
18568
18894
|
} | undefined;
|
|
18569
18895
|
}>>;
|
|
18896
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
18570
18897
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18571
18898
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
18899
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
18900
|
+
gasPrice: z.ZodString;
|
|
18901
|
+
tokenExchangeRate: z.ZodString;
|
|
18902
|
+
} & {
|
|
18903
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
18904
|
+
}, "strip", z.ZodTypeAny, {
|
|
18905
|
+
gasPrice: string;
|
|
18906
|
+
tokenExchangeRate: string;
|
|
18907
|
+
tokenDecimals?: number | undefined;
|
|
18908
|
+
}, {
|
|
18909
|
+
gasPrice: string;
|
|
18910
|
+
tokenExchangeRate: string;
|
|
18911
|
+
tokenDecimals?: number | undefined;
|
|
18912
|
+
}>>>>;
|
|
18572
18913
|
}, "strip", z.ZodTypeAny, {
|
|
18573
18914
|
type: "interchainGasPaymaster";
|
|
18574
18915
|
owner: string;
|
|
@@ -18587,7 +18928,13 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18587
18928
|
}>;
|
|
18588
18929
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18589
18930
|
quoteSigners?: string[] | undefined;
|
|
18931
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
18590
18932
|
contractVersion?: string | undefined;
|
|
18933
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
18934
|
+
gasPrice: string;
|
|
18935
|
+
tokenExchangeRate: string;
|
|
18936
|
+
tokenDecimals?: number | undefined;
|
|
18937
|
+
}>> | undefined;
|
|
18591
18938
|
}, {
|
|
18592
18939
|
type: "interchainGasPaymaster";
|
|
18593
18940
|
owner: string;
|
|
@@ -18606,26 +18953,14 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18606
18953
|
}>;
|
|
18607
18954
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18608
18955
|
quoteSigners?: string[] | undefined;
|
|
18956
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
18609
18957
|
contractVersion?: string | undefined;
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
}, "strip", z.ZodTypeAny, {
|
|
18617
|
-
type: "arbL2ToL1Hook";
|
|
18618
|
-
destinationChain: string;
|
|
18619
|
-
arbSys: string;
|
|
18620
|
-
bridge?: string | undefined;
|
|
18621
|
-
childHook?: any;
|
|
18622
|
-
}, {
|
|
18623
|
-
type: "arbL2ToL1Hook";
|
|
18624
|
-
destinationChain: string;
|
|
18625
|
-
arbSys: string;
|
|
18626
|
-
bridge?: string | undefined;
|
|
18627
|
-
childHook?: any;
|
|
18628
|
-
}>, z.ZodObject<{
|
|
18958
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
18959
|
+
gasPrice: string;
|
|
18960
|
+
tokenExchangeRate: string;
|
|
18961
|
+
tokenDecimals?: number | undefined;
|
|
18962
|
+
}>> | undefined;
|
|
18963
|
+
}>, 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<{
|
|
18629
18964
|
type: z.ZodLiteral<"defaultHook">;
|
|
18630
18965
|
}, "strip", z.ZodTypeAny, {
|
|
18631
18966
|
type: "defaultHook";
|
|
@@ -18719,7 +19054,32 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18719
19054
|
type: "opStackIsm";
|
|
18720
19055
|
origin: string;
|
|
18721
19056
|
nativeBridge: string;
|
|
18722
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
19057
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
19058
|
+
owner: z.ZodString;
|
|
19059
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19060
|
+
} & {
|
|
19061
|
+
paused: z.ZodBoolean;
|
|
19062
|
+
}, "strip", z.ZodTypeAny, {
|
|
19063
|
+
owner: string;
|
|
19064
|
+
paused: boolean;
|
|
19065
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19066
|
+
}, {
|
|
19067
|
+
owner: string;
|
|
19068
|
+
paused: boolean;
|
|
19069
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19070
|
+
}>, z.ZodObject<{
|
|
19071
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
19072
|
+
}, "strip", z.ZodTypeAny, {
|
|
19073
|
+
type: "pausableIsm";
|
|
19074
|
+
}, {
|
|
19075
|
+
type: "pausableIsm";
|
|
19076
|
+
}>>, z.ZodObject<{
|
|
19077
|
+
address: z.ZodString;
|
|
19078
|
+
}, "strip", z.ZodTypeAny, {
|
|
19079
|
+
address: string;
|
|
19080
|
+
}, {
|
|
19081
|
+
address: string;
|
|
19082
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
18723
19083
|
owner: z.ZodString;
|
|
18724
19084
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18725
19085
|
} & {
|
|
@@ -18908,195 +19268,230 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18908
19268
|
}>>;
|
|
18909
19269
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
18910
19270
|
owner: z.ZodString;
|
|
19271
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
18911
19272
|
} & {
|
|
18912
19273
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
18913
19274
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
18914
|
-
type: z.ZodLiteral<
|
|
19275
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
18915
19276
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
18916
19277
|
}, "strip", z.ZodTypeAny, {
|
|
18917
|
-
type:
|
|
19278
|
+
type: "LinearFee";
|
|
18918
19279
|
owner: string;
|
|
19280
|
+
beneficiary?: string | undefined;
|
|
18919
19281
|
maxFee?: bigint | undefined;
|
|
18920
19282
|
halfAmount?: bigint | undefined;
|
|
18921
19283
|
bps?: number | undefined;
|
|
18922
19284
|
}, {
|
|
18923
|
-
type:
|
|
19285
|
+
type: "LinearFee";
|
|
18924
19286
|
owner: string;
|
|
19287
|
+
beneficiary?: string | undefined;
|
|
18925
19288
|
maxFee?: string | number | bigint | undefined;
|
|
18926
19289
|
halfAmount?: string | number | bigint | undefined;
|
|
18927
19290
|
bps?: string | number | undefined;
|
|
18928
19291
|
}>, {
|
|
18929
|
-
type:
|
|
19292
|
+
type: "LinearFee";
|
|
18930
19293
|
owner: string;
|
|
19294
|
+
beneficiary?: string | undefined;
|
|
18931
19295
|
maxFee?: bigint | undefined;
|
|
18932
19296
|
halfAmount?: bigint | undefined;
|
|
18933
19297
|
bps?: number | undefined;
|
|
18934
19298
|
}, {
|
|
18935
|
-
type:
|
|
19299
|
+
type: "LinearFee";
|
|
18936
19300
|
owner: string;
|
|
19301
|
+
beneficiary?: string | undefined;
|
|
18937
19302
|
maxFee?: string | number | bigint | undefined;
|
|
18938
19303
|
halfAmount?: string | number | bigint | undefined;
|
|
18939
19304
|
bps?: string | number | undefined;
|
|
18940
19305
|
}>, {
|
|
18941
19306
|
bps: number;
|
|
18942
|
-
type:
|
|
19307
|
+
type: "LinearFee";
|
|
18943
19308
|
owner: string;
|
|
19309
|
+
beneficiary?: string | undefined;
|
|
18944
19310
|
maxFee?: bigint | undefined;
|
|
18945
19311
|
halfAmount?: bigint | undefined;
|
|
18946
19312
|
}, {
|
|
18947
|
-
type:
|
|
19313
|
+
type: "LinearFee";
|
|
18948
19314
|
owner: string;
|
|
19315
|
+
beneficiary?: string | undefined;
|
|
18949
19316
|
maxFee?: string | number | bigint | undefined;
|
|
18950
19317
|
halfAmount?: string | number | bigint | undefined;
|
|
18951
19318
|
bps?: string | number | undefined;
|
|
18952
19319
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
18953
19320
|
owner: z.ZodString;
|
|
19321
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
18954
19322
|
} & {
|
|
18955
19323
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18956
19324
|
} & {
|
|
18957
19325
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
18958
19326
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
18959
|
-
type: z.ZodLiteral<
|
|
19327
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
18960
19328
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
18961
19329
|
}, "strip", z.ZodTypeAny, {
|
|
18962
|
-
type:
|
|
19330
|
+
type: "OffchainQuotedLinearFee";
|
|
18963
19331
|
owner: string;
|
|
19332
|
+
beneficiary?: string | undefined;
|
|
18964
19333
|
maxFee?: bigint | undefined;
|
|
18965
19334
|
halfAmount?: bigint | undefined;
|
|
18966
19335
|
bps?: number | undefined;
|
|
18967
19336
|
quoteSigners?: string[] | undefined;
|
|
18968
19337
|
}, {
|
|
18969
|
-
type:
|
|
19338
|
+
type: "OffchainQuotedLinearFee";
|
|
18970
19339
|
owner: string;
|
|
19340
|
+
beneficiary?: string | undefined;
|
|
18971
19341
|
maxFee?: string | number | bigint | undefined;
|
|
18972
19342
|
halfAmount?: string | number | bigint | undefined;
|
|
18973
19343
|
bps?: string | number | undefined;
|
|
18974
19344
|
quoteSigners?: string[] | undefined;
|
|
18975
19345
|
}>, {
|
|
18976
|
-
type:
|
|
19346
|
+
type: "OffchainQuotedLinearFee";
|
|
18977
19347
|
owner: string;
|
|
19348
|
+
beneficiary?: string | undefined;
|
|
18978
19349
|
maxFee?: bigint | undefined;
|
|
18979
19350
|
halfAmount?: bigint | undefined;
|
|
18980
19351
|
bps?: number | undefined;
|
|
18981
19352
|
quoteSigners?: string[] | undefined;
|
|
18982
19353
|
}, {
|
|
18983
|
-
type:
|
|
19354
|
+
type: "OffchainQuotedLinearFee";
|
|
18984
19355
|
owner: string;
|
|
19356
|
+
beneficiary?: string | undefined;
|
|
18985
19357
|
maxFee?: string | number | bigint | undefined;
|
|
18986
19358
|
halfAmount?: string | number | bigint | undefined;
|
|
18987
19359
|
bps?: string | number | undefined;
|
|
18988
19360
|
quoteSigners?: string[] | undefined;
|
|
18989
19361
|
}>, {
|
|
18990
19362
|
bps: number;
|
|
18991
|
-
type:
|
|
19363
|
+
type: "OffchainQuotedLinearFee";
|
|
18992
19364
|
owner: string;
|
|
19365
|
+
beneficiary?: string | undefined;
|
|
18993
19366
|
maxFee?: bigint | undefined;
|
|
18994
19367
|
halfAmount?: bigint | undefined;
|
|
18995
19368
|
quoteSigners?: string[] | undefined;
|
|
18996
19369
|
}, {
|
|
18997
|
-
type:
|
|
19370
|
+
type: "OffchainQuotedLinearFee";
|
|
18998
19371
|
owner: string;
|
|
19372
|
+
beneficiary?: string | undefined;
|
|
18999
19373
|
maxFee?: string | number | bigint | undefined;
|
|
19000
19374
|
halfAmount?: string | number | bigint | undefined;
|
|
19001
19375
|
bps?: string | number | undefined;
|
|
19002
19376
|
quoteSigners?: string[] | undefined;
|
|
19003
19377
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19004
19378
|
owner: z.ZodString;
|
|
19379
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19005
19380
|
} & {
|
|
19006
|
-
type: z.ZodLiteral<
|
|
19381
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
19007
19382
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19008
19383
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19009
19384
|
}, "strip", z.ZodTypeAny, {
|
|
19010
|
-
type:
|
|
19385
|
+
type: "ProgressiveFee";
|
|
19011
19386
|
owner: string;
|
|
19012
19387
|
maxFee: bigint;
|
|
19013
19388
|
halfAmount: bigint;
|
|
19389
|
+
beneficiary?: string | undefined;
|
|
19014
19390
|
}, {
|
|
19015
|
-
type:
|
|
19391
|
+
type: "ProgressiveFee";
|
|
19016
19392
|
owner: string;
|
|
19017
19393
|
maxFee: string | number | bigint;
|
|
19018
19394
|
halfAmount: string | number | bigint;
|
|
19395
|
+
beneficiary?: string | undefined;
|
|
19019
19396
|
}>, {
|
|
19020
|
-
type:
|
|
19397
|
+
type: "ProgressiveFee";
|
|
19021
19398
|
owner: string;
|
|
19022
19399
|
maxFee: bigint;
|
|
19023
19400
|
halfAmount: bigint;
|
|
19401
|
+
beneficiary?: string | undefined;
|
|
19024
19402
|
}, {
|
|
19025
|
-
type:
|
|
19403
|
+
type: "ProgressiveFee";
|
|
19026
19404
|
owner: string;
|
|
19027
19405
|
maxFee: string | number | bigint;
|
|
19028
19406
|
halfAmount: string | number | bigint;
|
|
19407
|
+
beneficiary?: string | undefined;
|
|
19029
19408
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19030
19409
|
owner: z.ZodString;
|
|
19410
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19031
19411
|
} & {
|
|
19032
|
-
type: z.ZodLiteral<
|
|
19412
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
19033
19413
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19034
19414
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19035
19415
|
}, "strip", z.ZodTypeAny, {
|
|
19036
|
-
type:
|
|
19416
|
+
type: "RegressiveFee";
|
|
19037
19417
|
owner: string;
|
|
19038
19418
|
maxFee: bigint;
|
|
19039
19419
|
halfAmount: bigint;
|
|
19420
|
+
beneficiary?: string | undefined;
|
|
19040
19421
|
}, {
|
|
19041
|
-
type:
|
|
19422
|
+
type: "RegressiveFee";
|
|
19042
19423
|
owner: string;
|
|
19043
19424
|
maxFee: string | number | bigint;
|
|
19044
19425
|
halfAmount: string | number | bigint;
|
|
19426
|
+
beneficiary?: string | undefined;
|
|
19045
19427
|
}>, {
|
|
19046
|
-
type:
|
|
19428
|
+
type: "RegressiveFee";
|
|
19047
19429
|
owner: string;
|
|
19048
19430
|
maxFee: bigint;
|
|
19049
19431
|
halfAmount: bigint;
|
|
19432
|
+
beneficiary?: string | undefined;
|
|
19050
19433
|
}, {
|
|
19051
|
-
type:
|
|
19434
|
+
type: "RegressiveFee";
|
|
19052
19435
|
owner: string;
|
|
19053
19436
|
maxFee: string | number | bigint;
|
|
19054
19437
|
halfAmount: string | number | bigint;
|
|
19438
|
+
beneficiary?: string | undefined;
|
|
19055
19439
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19056
19440
|
owner: z.ZodString;
|
|
19441
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19057
19442
|
} & {
|
|
19058
|
-
type: z.ZodLiteral<
|
|
19443
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
19059
19444
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
19060
19445
|
}, "strip", z.ZodTypeAny, {
|
|
19061
|
-
type:
|
|
19446
|
+
type: "RoutingFee";
|
|
19062
19447
|
owner: string;
|
|
19063
19448
|
feeContracts: Record<string, any>;
|
|
19449
|
+
beneficiary?: string | undefined;
|
|
19064
19450
|
}, {
|
|
19065
|
-
type:
|
|
19451
|
+
type: "RoutingFee";
|
|
19066
19452
|
owner: string;
|
|
19067
19453
|
feeContracts: Record<string, any>;
|
|
19454
|
+
beneficiary?: string | undefined;
|
|
19068
19455
|
}>, {
|
|
19069
|
-
type:
|
|
19456
|
+
type: "RoutingFee";
|
|
19070
19457
|
owner: string;
|
|
19071
19458
|
feeContracts: Record<string, any>;
|
|
19459
|
+
beneficiary?: string | undefined;
|
|
19072
19460
|
}, {
|
|
19073
|
-
type:
|
|
19461
|
+
type: "RoutingFee";
|
|
19074
19462
|
owner: string;
|
|
19075
19463
|
feeContracts: Record<string, any>;
|
|
19464
|
+
beneficiary?: string | undefined;
|
|
19076
19465
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19077
19466
|
owner: z.ZodString;
|
|
19467
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19078
19468
|
} & {
|
|
19079
|
-
type: z.ZodLiteral<
|
|
19469
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
19080
19470
|
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>>>;
|
|
19081
19471
|
}, "strip", z.ZodTypeAny, {
|
|
19082
|
-
type:
|
|
19472
|
+
type: "CrossCollateralRoutingFee";
|
|
19083
19473
|
owner: string;
|
|
19084
19474
|
feeContracts: Record<string, Record<string, any>>;
|
|
19475
|
+
beneficiary?: string | undefined;
|
|
19085
19476
|
}, {
|
|
19086
|
-
type:
|
|
19477
|
+
type: "CrossCollateralRoutingFee";
|
|
19087
19478
|
owner: string;
|
|
19088
19479
|
feeContracts: Record<string, Record<string, any>>;
|
|
19480
|
+
beneficiary?: string | undefined;
|
|
19089
19481
|
}>, {
|
|
19090
|
-
type:
|
|
19482
|
+
type: "CrossCollateralRoutingFee";
|
|
19091
19483
|
owner: string;
|
|
19092
19484
|
feeContracts: Record<string, Record<string, any>>;
|
|
19485
|
+
beneficiary?: string | undefined;
|
|
19093
19486
|
}, {
|
|
19094
|
-
type:
|
|
19487
|
+
type: "CrossCollateralRoutingFee";
|
|
19095
19488
|
owner: string;
|
|
19096
19489
|
feeContracts: Record<string, Record<string, any>>;
|
|
19490
|
+
beneficiary?: string | undefined;
|
|
19097
19491
|
}>]>>;
|
|
19098
19492
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
19099
19493
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
19494
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
19100
19495
|
} & {
|
|
19101
19496
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
19102
19497
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19129,12 +19524,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19129
19524
|
}>;
|
|
19130
19525
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19131
19526
|
quoteSigners?: string[] | undefined;
|
|
19527
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
19132
19528
|
contractVersion?: string | undefined;
|
|
19529
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
19530
|
+
gasPrice: string;
|
|
19531
|
+
tokenExchangeRate: string;
|
|
19532
|
+
tokenDecimals?: number | undefined;
|
|
19533
|
+
}>> | undefined;
|
|
19133
19534
|
} | {
|
|
19134
19535
|
type: "protocolFee";
|
|
19135
19536
|
owner: string;
|
|
19136
|
-
protocolFee: string;
|
|
19137
19537
|
beneficiary: string;
|
|
19538
|
+
protocolFee: string;
|
|
19138
19539
|
maxProtocolFee: string;
|
|
19139
19540
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19140
19541
|
} | {
|
|
@@ -19148,25 +19549,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19148
19549
|
nativeBridge: string;
|
|
19149
19550
|
destinationChain: string;
|
|
19150
19551
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19552
|
+
} | 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 | {
|
|
19553
|
+
type: "defaultHook";
|
|
19151
19554
|
} | {
|
|
19152
|
-
type: "
|
|
19555
|
+
type: "ccipHook";
|
|
19153
19556
|
destinationChain: string;
|
|
19154
|
-
arbSys: string;
|
|
19155
|
-
bridge?: string | undefined;
|
|
19156
|
-
childHook?: any;
|
|
19157
19557
|
} | {
|
|
19158
|
-
type: "
|
|
19558
|
+
type: "cctpHook";
|
|
19559
|
+
address: string;
|
|
19159
19560
|
} | {
|
|
19160
19561
|
type: "rateLimitedHook";
|
|
19161
19562
|
owner: string;
|
|
19162
19563
|
maxCapacity: string;
|
|
19163
19564
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19164
|
-
} | {
|
|
19165
|
-
type: "ccipHook";
|
|
19166
|
-
destinationChain: string;
|
|
19167
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
19168
|
-
type: "cctpHook";
|
|
19169
|
-
address: string;
|
|
19170
19565
|
} | z.objectOutputType<{
|
|
19171
19566
|
type: z.ZodLiteral<"unknownHook">;
|
|
19172
19567
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -19217,7 +19612,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19217
19612
|
owner: string;
|
|
19218
19613
|
urls: string[];
|
|
19219
19614
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19220
|
-
} |
|
|
19615
|
+
} | ({
|
|
19616
|
+
owner: string;
|
|
19617
|
+
paused: boolean;
|
|
19618
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19619
|
+
} & {
|
|
19620
|
+
type: "pausableIsm";
|
|
19621
|
+
} & {
|
|
19622
|
+
address: string;
|
|
19623
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
19221
19624
|
type: z.ZodLiteral<"unknownIsm">;
|
|
19222
19625
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19223
19626
|
foreignDeployment?: string | undefined;
|
|
@@ -19226,37 +19629,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19226
19629
|
}> | undefined;
|
|
19227
19630
|
tokenFee?: {
|
|
19228
19631
|
bps: number;
|
|
19229
|
-
type:
|
|
19632
|
+
type: "LinearFee";
|
|
19230
19633
|
owner: string;
|
|
19634
|
+
beneficiary?: string | undefined;
|
|
19231
19635
|
maxFee?: bigint | undefined;
|
|
19232
19636
|
halfAmount?: bigint | undefined;
|
|
19233
19637
|
} | {
|
|
19234
19638
|
bps: number;
|
|
19235
|
-
type:
|
|
19639
|
+
type: "OffchainQuotedLinearFee";
|
|
19236
19640
|
owner: string;
|
|
19641
|
+
beneficiary?: string | undefined;
|
|
19237
19642
|
maxFee?: bigint | undefined;
|
|
19238
19643
|
halfAmount?: bigint | undefined;
|
|
19239
19644
|
quoteSigners?: string[] | undefined;
|
|
19240
19645
|
} | {
|
|
19241
|
-
type:
|
|
19646
|
+
type: "ProgressiveFee";
|
|
19242
19647
|
owner: string;
|
|
19243
19648
|
maxFee: bigint;
|
|
19244
19649
|
halfAmount: bigint;
|
|
19650
|
+
beneficiary?: string | undefined;
|
|
19245
19651
|
} | {
|
|
19246
|
-
type:
|
|
19652
|
+
type: "RegressiveFee";
|
|
19247
19653
|
owner: string;
|
|
19248
19654
|
maxFee: bigint;
|
|
19249
19655
|
halfAmount: bigint;
|
|
19656
|
+
beneficiary?: string | undefined;
|
|
19250
19657
|
} | {
|
|
19251
|
-
type:
|
|
19658
|
+
type: "RoutingFee";
|
|
19252
19659
|
owner: string;
|
|
19253
19660
|
feeContracts: Record<string, any>;
|
|
19661
|
+
beneficiary?: string | undefined;
|
|
19254
19662
|
} | {
|
|
19255
|
-
type:
|
|
19663
|
+
type: "CrossCollateralRoutingFee";
|
|
19256
19664
|
owner: string;
|
|
19257
19665
|
feeContracts: Record<string, Record<string, any>>;
|
|
19666
|
+
beneficiary?: string | undefined;
|
|
19258
19667
|
} | undefined;
|
|
19259
19668
|
destinationGas?: Record<string | number, string> | undefined;
|
|
19669
|
+
feeHook?: string | undefined;
|
|
19260
19670
|
}, {
|
|
19261
19671
|
owner: string;
|
|
19262
19672
|
gas?: number | undefined;
|
|
@@ -19287,12 +19697,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19287
19697
|
}>;
|
|
19288
19698
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19289
19699
|
quoteSigners?: string[] | undefined;
|
|
19700
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
19290
19701
|
contractVersion?: string | undefined;
|
|
19702
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
19703
|
+
gasPrice: string;
|
|
19704
|
+
tokenExchangeRate: string;
|
|
19705
|
+
tokenDecimals?: number | undefined;
|
|
19706
|
+
}>> | undefined;
|
|
19291
19707
|
} | {
|
|
19292
19708
|
type: "protocolFee";
|
|
19293
19709
|
owner: string;
|
|
19294
|
-
protocolFee: string;
|
|
19295
19710
|
beneficiary: string;
|
|
19711
|
+
protocolFee: string;
|
|
19296
19712
|
maxProtocolFee: string;
|
|
19297
19713
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19298
19714
|
} | {
|
|
@@ -19306,25 +19722,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19306
19722
|
nativeBridge: string;
|
|
19307
19723
|
destinationChain: string;
|
|
19308
19724
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19725
|
+
} | 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 | {
|
|
19726
|
+
type: "defaultHook";
|
|
19309
19727
|
} | {
|
|
19310
|
-
type: "
|
|
19728
|
+
type: "ccipHook";
|
|
19311
19729
|
destinationChain: string;
|
|
19312
|
-
arbSys: string;
|
|
19313
|
-
bridge?: string | undefined;
|
|
19314
|
-
childHook?: any;
|
|
19315
19730
|
} | {
|
|
19316
|
-
type: "
|
|
19731
|
+
type: "cctpHook";
|
|
19732
|
+
address: string;
|
|
19317
19733
|
} | {
|
|
19318
19734
|
type: "rateLimitedHook";
|
|
19319
19735
|
owner: string;
|
|
19320
19736
|
maxCapacity: string;
|
|
19321
19737
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19322
|
-
} | {
|
|
19323
|
-
type: "ccipHook";
|
|
19324
|
-
destinationChain: string;
|
|
19325
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
19326
|
-
type: "cctpHook";
|
|
19327
|
-
address: string;
|
|
19328
19738
|
} | z.objectInputType<{
|
|
19329
19739
|
type: z.ZodLiteral<"unknownHook">;
|
|
19330
19740
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -19375,7 +19785,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19375
19785
|
owner: string;
|
|
19376
19786
|
urls: string[];
|
|
19377
19787
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19378
|
-
} | {
|
|
19788
|
+
} | ({
|
|
19789
|
+
owner: string;
|
|
19790
|
+
paused: boolean;
|
|
19791
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19792
|
+
} & {
|
|
19793
|
+
type: "pausableIsm";
|
|
19794
|
+
} & {
|
|
19795
|
+
address: string;
|
|
19796
|
+
}) | {
|
|
19379
19797
|
type: "interchainAccountRouting";
|
|
19380
19798
|
owner: string;
|
|
19381
19799
|
isms: Record<string, string>;
|
|
@@ -19388,38 +19806,45 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19388
19806
|
address: string;
|
|
19389
19807
|
}> | undefined;
|
|
19390
19808
|
tokenFee?: {
|
|
19391
|
-
type:
|
|
19809
|
+
type: "LinearFee";
|
|
19392
19810
|
owner: string;
|
|
19811
|
+
beneficiary?: string | undefined;
|
|
19393
19812
|
maxFee?: string | number | bigint | undefined;
|
|
19394
19813
|
halfAmount?: string | number | bigint | undefined;
|
|
19395
19814
|
bps?: string | number | undefined;
|
|
19396
19815
|
} | {
|
|
19397
|
-
type:
|
|
19816
|
+
type: "OffchainQuotedLinearFee";
|
|
19398
19817
|
owner: string;
|
|
19818
|
+
beneficiary?: string | undefined;
|
|
19399
19819
|
maxFee?: string | number | bigint | undefined;
|
|
19400
19820
|
halfAmount?: string | number | bigint | undefined;
|
|
19401
19821
|
bps?: string | number | undefined;
|
|
19402
19822
|
quoteSigners?: string[] | undefined;
|
|
19403
19823
|
} | {
|
|
19404
|
-
type:
|
|
19824
|
+
type: "ProgressiveFee";
|
|
19405
19825
|
owner: string;
|
|
19406
19826
|
maxFee: string | number | bigint;
|
|
19407
19827
|
halfAmount: string | number | bigint;
|
|
19828
|
+
beneficiary?: string | undefined;
|
|
19408
19829
|
} | {
|
|
19409
|
-
type:
|
|
19830
|
+
type: "RegressiveFee";
|
|
19410
19831
|
owner: string;
|
|
19411
19832
|
maxFee: string | number | bigint;
|
|
19412
19833
|
halfAmount: string | number | bigint;
|
|
19834
|
+
beneficiary?: string | undefined;
|
|
19413
19835
|
} | {
|
|
19414
|
-
type:
|
|
19836
|
+
type: "RoutingFee";
|
|
19415
19837
|
owner: string;
|
|
19416
19838
|
feeContracts: Record<string, any>;
|
|
19839
|
+
beneficiary?: string | undefined;
|
|
19417
19840
|
} | {
|
|
19418
|
-
type:
|
|
19841
|
+
type: "CrossCollateralRoutingFee";
|
|
19419
19842
|
owner: string;
|
|
19420
19843
|
feeContracts: Record<string, Record<string, any>>;
|
|
19844
|
+
beneficiary?: string | undefined;
|
|
19421
19845
|
} | undefined;
|
|
19422
19846
|
destinationGas?: Record<string | number, string> | undefined;
|
|
19847
|
+
feeHook?: string | undefined;
|
|
19423
19848
|
}>>, z.ZodObject<{
|
|
19424
19849
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
19425
19850
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -19854,12 +20279,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19854
20279
|
}>;
|
|
19855
20280
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19856
20281
|
quoteSigners?: string[] | undefined;
|
|
20282
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
19857
20283
|
contractVersion?: string | undefined;
|
|
20284
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
20285
|
+
gasPrice: string;
|
|
20286
|
+
tokenExchangeRate: string;
|
|
20287
|
+
tokenDecimals?: number | undefined;
|
|
20288
|
+
}>> | undefined;
|
|
19858
20289
|
} | {
|
|
19859
20290
|
type: "protocolFee";
|
|
19860
20291
|
owner: string;
|
|
19861
|
-
protocolFee: string;
|
|
19862
20292
|
beneficiary: string;
|
|
20293
|
+
protocolFee: string;
|
|
19863
20294
|
maxProtocolFee: string;
|
|
19864
20295
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19865
20296
|
} | {
|
|
@@ -19873,25 +20304,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19873
20304
|
nativeBridge: string;
|
|
19874
20305
|
destinationChain: string;
|
|
19875
20306
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20307
|
+
} | 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 | {
|
|
20308
|
+
type: "defaultHook";
|
|
19876
20309
|
} | {
|
|
19877
|
-
type: "
|
|
20310
|
+
type: "ccipHook";
|
|
19878
20311
|
destinationChain: string;
|
|
19879
|
-
arbSys: string;
|
|
19880
|
-
bridge?: string | undefined;
|
|
19881
|
-
childHook?: any;
|
|
19882
20312
|
} | {
|
|
19883
|
-
type: "
|
|
20313
|
+
type: "cctpHook";
|
|
20314
|
+
address: string;
|
|
19884
20315
|
} | {
|
|
19885
20316
|
type: "rateLimitedHook";
|
|
19886
20317
|
owner: string;
|
|
19887
20318
|
maxCapacity: string;
|
|
19888
20319
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19889
|
-
} | {
|
|
19890
|
-
type: "ccipHook";
|
|
19891
|
-
destinationChain: string;
|
|
19892
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
19893
|
-
type: "cctpHook";
|
|
19894
|
-
address: string;
|
|
19895
20320
|
} | z.objectOutputType<{
|
|
19896
20321
|
type: z.ZodLiteral<"unknownHook">;
|
|
19897
20322
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -19942,7 +20367,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19942
20367
|
owner: string;
|
|
19943
20368
|
urls: string[];
|
|
19944
20369
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19945
|
-
} |
|
|
20370
|
+
} | ({
|
|
20371
|
+
owner: string;
|
|
20372
|
+
paused: boolean;
|
|
20373
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
20374
|
+
} & {
|
|
20375
|
+
type: "pausableIsm";
|
|
20376
|
+
} & {
|
|
20377
|
+
address: string;
|
|
20378
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
19946
20379
|
type: z.ZodLiteral<"unknownIsm">;
|
|
19947
20380
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19948
20381
|
foreignDeployment?: string | undefined;
|
|
@@ -19951,37 +20384,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19951
20384
|
}> | undefined;
|
|
19952
20385
|
tokenFee?: {
|
|
19953
20386
|
bps: number;
|
|
19954
|
-
type:
|
|
20387
|
+
type: "LinearFee";
|
|
19955
20388
|
owner: string;
|
|
20389
|
+
beneficiary?: string | undefined;
|
|
19956
20390
|
maxFee?: bigint | undefined;
|
|
19957
20391
|
halfAmount?: bigint | undefined;
|
|
19958
20392
|
} | {
|
|
19959
20393
|
bps: number;
|
|
19960
|
-
type:
|
|
20394
|
+
type: "OffchainQuotedLinearFee";
|
|
19961
20395
|
owner: string;
|
|
20396
|
+
beneficiary?: string | undefined;
|
|
19962
20397
|
maxFee?: bigint | undefined;
|
|
19963
20398
|
halfAmount?: bigint | undefined;
|
|
19964
20399
|
quoteSigners?: string[] | undefined;
|
|
19965
20400
|
} | {
|
|
19966
|
-
type:
|
|
20401
|
+
type: "ProgressiveFee";
|
|
19967
20402
|
owner: string;
|
|
19968
20403
|
maxFee: bigint;
|
|
19969
20404
|
halfAmount: bigint;
|
|
20405
|
+
beneficiary?: string | undefined;
|
|
19970
20406
|
} | {
|
|
19971
|
-
type:
|
|
20407
|
+
type: "RegressiveFee";
|
|
19972
20408
|
owner: string;
|
|
19973
20409
|
maxFee: bigint;
|
|
19974
20410
|
halfAmount: bigint;
|
|
20411
|
+
beneficiary?: string | undefined;
|
|
19975
20412
|
} | {
|
|
19976
|
-
type:
|
|
20413
|
+
type: "RoutingFee";
|
|
19977
20414
|
owner: string;
|
|
19978
20415
|
feeContracts: Record<string, any>;
|
|
20416
|
+
beneficiary?: string | undefined;
|
|
19979
20417
|
} | {
|
|
19980
|
-
type:
|
|
20418
|
+
type: "CrossCollateralRoutingFee";
|
|
19981
20419
|
owner: string;
|
|
19982
20420
|
feeContracts: Record<string, Record<string, any>>;
|
|
20421
|
+
beneficiary?: string | undefined;
|
|
19983
20422
|
} | undefined;
|
|
19984
20423
|
destinationGas?: Record<string | number, string> | undefined;
|
|
20424
|
+
feeHook?: string | undefined;
|
|
19985
20425
|
}) & {
|
|
19986
20426
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
19987
20427
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -20410,12 +20850,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20410
20850
|
}>;
|
|
20411
20851
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20412
20852
|
quoteSigners?: string[] | undefined;
|
|
20853
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
20413
20854
|
contractVersion?: string | undefined;
|
|
20855
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
20856
|
+
gasPrice: string;
|
|
20857
|
+
tokenExchangeRate: string;
|
|
20858
|
+
tokenDecimals?: number | undefined;
|
|
20859
|
+
}>> | undefined;
|
|
20414
20860
|
} | {
|
|
20415
20861
|
type: "protocolFee";
|
|
20416
20862
|
owner: string;
|
|
20417
|
-
protocolFee: string;
|
|
20418
20863
|
beneficiary: string;
|
|
20864
|
+
protocolFee: string;
|
|
20419
20865
|
maxProtocolFee: string;
|
|
20420
20866
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20421
20867
|
} | {
|
|
@@ -20429,25 +20875,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20429
20875
|
nativeBridge: string;
|
|
20430
20876
|
destinationChain: string;
|
|
20431
20877
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20878
|
+
} | 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 | {
|
|
20879
|
+
type: "defaultHook";
|
|
20432
20880
|
} | {
|
|
20433
|
-
type: "
|
|
20881
|
+
type: "ccipHook";
|
|
20434
20882
|
destinationChain: string;
|
|
20435
|
-
arbSys: string;
|
|
20436
|
-
bridge?: string | undefined;
|
|
20437
|
-
childHook?: any;
|
|
20438
20883
|
} | {
|
|
20439
|
-
type: "
|
|
20884
|
+
type: "cctpHook";
|
|
20885
|
+
address: string;
|
|
20440
20886
|
} | {
|
|
20441
20887
|
type: "rateLimitedHook";
|
|
20442
20888
|
owner: string;
|
|
20443
20889
|
maxCapacity: string;
|
|
20444
20890
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20445
|
-
} | {
|
|
20446
|
-
type: "ccipHook";
|
|
20447
|
-
destinationChain: string;
|
|
20448
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
20449
|
-
type: "cctpHook";
|
|
20450
|
-
address: string;
|
|
20451
20891
|
} | z.objectOutputType<{
|
|
20452
20892
|
type: z.ZodLiteral<"unknownHook">;
|
|
20453
20893
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -20498,7 +20938,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20498
20938
|
owner: string;
|
|
20499
20939
|
urls: string[];
|
|
20500
20940
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20501
|
-
} |
|
|
20941
|
+
} | ({
|
|
20942
|
+
owner: string;
|
|
20943
|
+
paused: boolean;
|
|
20944
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
20945
|
+
} & {
|
|
20946
|
+
type: "pausableIsm";
|
|
20947
|
+
} & {
|
|
20948
|
+
address: string;
|
|
20949
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
20502
20950
|
type: z.ZodLiteral<"unknownIsm">;
|
|
20503
20951
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20504
20952
|
foreignDeployment?: string | undefined;
|
|
@@ -20507,37 +20955,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20507
20955
|
}> | undefined;
|
|
20508
20956
|
tokenFee?: {
|
|
20509
20957
|
bps: number;
|
|
20510
|
-
type:
|
|
20958
|
+
type: "LinearFee";
|
|
20511
20959
|
owner: string;
|
|
20960
|
+
beneficiary?: string | undefined;
|
|
20512
20961
|
maxFee?: bigint | undefined;
|
|
20513
20962
|
halfAmount?: bigint | undefined;
|
|
20514
20963
|
} | {
|
|
20515
20964
|
bps: number;
|
|
20516
|
-
type:
|
|
20965
|
+
type: "OffchainQuotedLinearFee";
|
|
20517
20966
|
owner: string;
|
|
20967
|
+
beneficiary?: string | undefined;
|
|
20518
20968
|
maxFee?: bigint | undefined;
|
|
20519
20969
|
halfAmount?: bigint | undefined;
|
|
20520
20970
|
quoteSigners?: string[] | undefined;
|
|
20521
20971
|
} | {
|
|
20522
|
-
type:
|
|
20972
|
+
type: "ProgressiveFee";
|
|
20523
20973
|
owner: string;
|
|
20524
20974
|
maxFee: bigint;
|
|
20525
20975
|
halfAmount: bigint;
|
|
20976
|
+
beneficiary?: string | undefined;
|
|
20526
20977
|
} | {
|
|
20527
|
-
type:
|
|
20978
|
+
type: "RegressiveFee";
|
|
20528
20979
|
owner: string;
|
|
20529
20980
|
maxFee: bigint;
|
|
20530
20981
|
halfAmount: bigint;
|
|
20982
|
+
beneficiary?: string | undefined;
|
|
20531
20983
|
} | {
|
|
20532
|
-
type:
|
|
20984
|
+
type: "RoutingFee";
|
|
20533
20985
|
owner: string;
|
|
20534
20986
|
feeContracts: Record<string, any>;
|
|
20987
|
+
beneficiary?: string | undefined;
|
|
20535
20988
|
} | {
|
|
20536
|
-
type:
|
|
20989
|
+
type: "CrossCollateralRoutingFee";
|
|
20537
20990
|
owner: string;
|
|
20538
20991
|
feeContracts: Record<string, Record<string, any>>;
|
|
20992
|
+
beneficiary?: string | undefined;
|
|
20539
20993
|
} | undefined;
|
|
20540
20994
|
destinationGas?: Record<string | number, string> | undefined;
|
|
20995
|
+
feeHook?: string | undefined;
|
|
20541
20996
|
}) & {
|
|
20542
20997
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
20543
20998
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -20966,12 +21421,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20966
21421
|
}>;
|
|
20967
21422
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20968
21423
|
quoteSigners?: string[] | undefined;
|
|
21424
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
20969
21425
|
contractVersion?: string | undefined;
|
|
21426
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
21427
|
+
gasPrice: string;
|
|
21428
|
+
tokenExchangeRate: string;
|
|
21429
|
+
tokenDecimals?: number | undefined;
|
|
21430
|
+
}>> | undefined;
|
|
20970
21431
|
} | {
|
|
20971
21432
|
type: "protocolFee";
|
|
20972
21433
|
owner: string;
|
|
20973
|
-
protocolFee: string;
|
|
20974
21434
|
beneficiary: string;
|
|
21435
|
+
protocolFee: string;
|
|
20975
21436
|
maxProtocolFee: string;
|
|
20976
21437
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20977
21438
|
} | {
|
|
@@ -20985,25 +21446,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20985
21446
|
nativeBridge: string;
|
|
20986
21447
|
destinationChain: string;
|
|
20987
21448
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21449
|
+
} | 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 | {
|
|
21450
|
+
type: "defaultHook";
|
|
20988
21451
|
} | {
|
|
20989
|
-
type: "
|
|
21452
|
+
type: "ccipHook";
|
|
20990
21453
|
destinationChain: string;
|
|
20991
|
-
arbSys: string;
|
|
20992
|
-
bridge?: string | undefined;
|
|
20993
|
-
childHook?: any;
|
|
20994
21454
|
} | {
|
|
20995
|
-
type: "
|
|
21455
|
+
type: "cctpHook";
|
|
21456
|
+
address: string;
|
|
20996
21457
|
} | {
|
|
20997
21458
|
type: "rateLimitedHook";
|
|
20998
21459
|
owner: string;
|
|
20999
21460
|
maxCapacity: string;
|
|
21000
21461
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21001
|
-
} | {
|
|
21002
|
-
type: "ccipHook";
|
|
21003
|
-
destinationChain: string;
|
|
21004
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
21005
|
-
type: "cctpHook";
|
|
21006
|
-
address: string;
|
|
21007
21462
|
} | z.objectOutputType<{
|
|
21008
21463
|
type: z.ZodLiteral<"unknownHook">;
|
|
21009
21464
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -21054,7 +21509,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21054
21509
|
owner: string;
|
|
21055
21510
|
urls: string[];
|
|
21056
21511
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21057
|
-
} |
|
|
21512
|
+
} | ({
|
|
21513
|
+
owner: string;
|
|
21514
|
+
paused: boolean;
|
|
21515
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
21516
|
+
} & {
|
|
21517
|
+
type: "pausableIsm";
|
|
21518
|
+
} & {
|
|
21519
|
+
address: string;
|
|
21520
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
21058
21521
|
type: z.ZodLiteral<"unknownIsm">;
|
|
21059
21522
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21060
21523
|
foreignDeployment?: string | undefined;
|
|
@@ -21063,37 +21526,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21063
21526
|
}> | undefined;
|
|
21064
21527
|
tokenFee?: {
|
|
21065
21528
|
bps: number;
|
|
21066
|
-
type:
|
|
21529
|
+
type: "LinearFee";
|
|
21067
21530
|
owner: string;
|
|
21531
|
+
beneficiary?: string | undefined;
|
|
21068
21532
|
maxFee?: bigint | undefined;
|
|
21069
21533
|
halfAmount?: bigint | undefined;
|
|
21070
21534
|
} | {
|
|
21071
21535
|
bps: number;
|
|
21072
|
-
type:
|
|
21536
|
+
type: "OffchainQuotedLinearFee";
|
|
21073
21537
|
owner: string;
|
|
21538
|
+
beneficiary?: string | undefined;
|
|
21074
21539
|
maxFee?: bigint | undefined;
|
|
21075
21540
|
halfAmount?: bigint | undefined;
|
|
21076
21541
|
quoteSigners?: string[] | undefined;
|
|
21077
21542
|
} | {
|
|
21078
|
-
type:
|
|
21543
|
+
type: "ProgressiveFee";
|
|
21079
21544
|
owner: string;
|
|
21080
21545
|
maxFee: bigint;
|
|
21081
21546
|
halfAmount: bigint;
|
|
21547
|
+
beneficiary?: string | undefined;
|
|
21082
21548
|
} | {
|
|
21083
|
-
type:
|
|
21549
|
+
type: "RegressiveFee";
|
|
21084
21550
|
owner: string;
|
|
21085
21551
|
maxFee: bigint;
|
|
21086
21552
|
halfAmount: bigint;
|
|
21553
|
+
beneficiary?: string | undefined;
|
|
21087
21554
|
} | {
|
|
21088
|
-
type:
|
|
21555
|
+
type: "RoutingFee";
|
|
21089
21556
|
owner: string;
|
|
21090
21557
|
feeContracts: Record<string, any>;
|
|
21558
|
+
beneficiary?: string | undefined;
|
|
21091
21559
|
} | {
|
|
21092
|
-
type:
|
|
21560
|
+
type: "CrossCollateralRoutingFee";
|
|
21093
21561
|
owner: string;
|
|
21094
21562
|
feeContracts: Record<string, Record<string, any>>;
|
|
21563
|
+
beneficiary?: string | undefined;
|
|
21095
21564
|
} | undefined;
|
|
21096
21565
|
destinationGas?: Record<string | number, string> | undefined;
|
|
21566
|
+
feeHook?: string | undefined;
|
|
21097
21567
|
}) & {
|
|
21098
21568
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
21099
21569
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -21522,12 +21992,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21522
21992
|
}>;
|
|
21523
21993
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21524
21994
|
quoteSigners?: string[] | undefined;
|
|
21995
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
21525
21996
|
contractVersion?: string | undefined;
|
|
21997
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
21998
|
+
gasPrice: string;
|
|
21999
|
+
tokenExchangeRate: string;
|
|
22000
|
+
tokenDecimals?: number | undefined;
|
|
22001
|
+
}>> | undefined;
|
|
21526
22002
|
} | {
|
|
21527
22003
|
type: "protocolFee";
|
|
21528
22004
|
owner: string;
|
|
21529
|
-
protocolFee: string;
|
|
21530
22005
|
beneficiary: string;
|
|
22006
|
+
protocolFee: string;
|
|
21531
22007
|
maxProtocolFee: string;
|
|
21532
22008
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21533
22009
|
} | {
|
|
@@ -21541,25 +22017,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21541
22017
|
nativeBridge: string;
|
|
21542
22018
|
destinationChain: string;
|
|
21543
22019
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22020
|
+
} | 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 | {
|
|
22021
|
+
type: "defaultHook";
|
|
21544
22022
|
} | {
|
|
21545
|
-
type: "
|
|
22023
|
+
type: "ccipHook";
|
|
21546
22024
|
destinationChain: string;
|
|
21547
|
-
arbSys: string;
|
|
21548
|
-
bridge?: string | undefined;
|
|
21549
|
-
childHook?: any;
|
|
21550
22025
|
} | {
|
|
21551
|
-
type: "
|
|
22026
|
+
type: "cctpHook";
|
|
22027
|
+
address: string;
|
|
21552
22028
|
} | {
|
|
21553
22029
|
type: "rateLimitedHook";
|
|
21554
22030
|
owner: string;
|
|
21555
22031
|
maxCapacity: string;
|
|
21556
22032
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21557
|
-
} | {
|
|
21558
|
-
type: "ccipHook";
|
|
21559
|
-
destinationChain: string;
|
|
21560
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
21561
|
-
type: "cctpHook";
|
|
21562
|
-
address: string;
|
|
21563
22033
|
} | z.objectOutputType<{
|
|
21564
22034
|
type: z.ZodLiteral<"unknownHook">;
|
|
21565
22035
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -21610,7 +22080,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21610
22080
|
owner: string;
|
|
21611
22081
|
urls: string[];
|
|
21612
22082
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21613
|
-
} |
|
|
22083
|
+
} | ({
|
|
22084
|
+
owner: string;
|
|
22085
|
+
paused: boolean;
|
|
22086
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
22087
|
+
} & {
|
|
22088
|
+
type: "pausableIsm";
|
|
22089
|
+
} & {
|
|
22090
|
+
address: string;
|
|
22091
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
21614
22092
|
type: z.ZodLiteral<"unknownIsm">;
|
|
21615
22093
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21616
22094
|
foreignDeployment?: string | undefined;
|
|
@@ -21619,37 +22097,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21619
22097
|
}> | undefined;
|
|
21620
22098
|
tokenFee?: {
|
|
21621
22099
|
bps: number;
|
|
21622
|
-
type:
|
|
22100
|
+
type: "LinearFee";
|
|
21623
22101
|
owner: string;
|
|
22102
|
+
beneficiary?: string | undefined;
|
|
21624
22103
|
maxFee?: bigint | undefined;
|
|
21625
22104
|
halfAmount?: bigint | undefined;
|
|
21626
22105
|
} | {
|
|
21627
22106
|
bps: number;
|
|
21628
|
-
type:
|
|
22107
|
+
type: "OffchainQuotedLinearFee";
|
|
21629
22108
|
owner: string;
|
|
22109
|
+
beneficiary?: string | undefined;
|
|
21630
22110
|
maxFee?: bigint | undefined;
|
|
21631
22111
|
halfAmount?: bigint | undefined;
|
|
21632
22112
|
quoteSigners?: string[] | undefined;
|
|
21633
22113
|
} | {
|
|
21634
|
-
type:
|
|
22114
|
+
type: "ProgressiveFee";
|
|
21635
22115
|
owner: string;
|
|
21636
22116
|
maxFee: bigint;
|
|
21637
22117
|
halfAmount: bigint;
|
|
22118
|
+
beneficiary?: string | undefined;
|
|
21638
22119
|
} | {
|
|
21639
|
-
type:
|
|
22120
|
+
type: "RegressiveFee";
|
|
21640
22121
|
owner: string;
|
|
21641
22122
|
maxFee: bigint;
|
|
21642
22123
|
halfAmount: bigint;
|
|
22124
|
+
beneficiary?: string | undefined;
|
|
21643
22125
|
} | {
|
|
21644
|
-
type:
|
|
22126
|
+
type: "RoutingFee";
|
|
21645
22127
|
owner: string;
|
|
21646
22128
|
feeContracts: Record<string, any>;
|
|
22129
|
+
beneficiary?: string | undefined;
|
|
21647
22130
|
} | {
|
|
21648
|
-
type:
|
|
22131
|
+
type: "CrossCollateralRoutingFee";
|
|
21649
22132
|
owner: string;
|
|
21650
22133
|
feeContracts: Record<string, Record<string, any>>;
|
|
22134
|
+
beneficiary?: string | undefined;
|
|
21651
22135
|
} | undefined;
|
|
21652
22136
|
destinationGas?: Record<string | number, string> | undefined;
|
|
22137
|
+
feeHook?: string | undefined;
|
|
21653
22138
|
}) & {
|
|
21654
22139
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
21655
22140
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -22078,12 +22563,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22078
22563
|
}>;
|
|
22079
22564
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22080
22565
|
quoteSigners?: string[] | undefined;
|
|
22566
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
22081
22567
|
contractVersion?: string | undefined;
|
|
22568
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
22569
|
+
gasPrice: string;
|
|
22570
|
+
tokenExchangeRate: string;
|
|
22571
|
+
tokenDecimals?: number | undefined;
|
|
22572
|
+
}>> | undefined;
|
|
22082
22573
|
} | {
|
|
22083
22574
|
type: "protocolFee";
|
|
22084
22575
|
owner: string;
|
|
22085
|
-
protocolFee: string;
|
|
22086
22576
|
beneficiary: string;
|
|
22577
|
+
protocolFee: string;
|
|
22087
22578
|
maxProtocolFee: string;
|
|
22088
22579
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22089
22580
|
} | {
|
|
@@ -22097,25 +22588,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22097
22588
|
nativeBridge: string;
|
|
22098
22589
|
destinationChain: string;
|
|
22099
22590
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22591
|
+
} | 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 | {
|
|
22592
|
+
type: "defaultHook";
|
|
22100
22593
|
} | {
|
|
22101
|
-
type: "
|
|
22594
|
+
type: "ccipHook";
|
|
22102
22595
|
destinationChain: string;
|
|
22103
|
-
arbSys: string;
|
|
22104
|
-
bridge?: string | undefined;
|
|
22105
|
-
childHook?: any;
|
|
22106
22596
|
} | {
|
|
22107
|
-
type: "
|
|
22597
|
+
type: "cctpHook";
|
|
22598
|
+
address: string;
|
|
22108
22599
|
} | {
|
|
22109
22600
|
type: "rateLimitedHook";
|
|
22110
22601
|
owner: string;
|
|
22111
22602
|
maxCapacity: string;
|
|
22112
22603
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22113
|
-
} | {
|
|
22114
|
-
type: "ccipHook";
|
|
22115
|
-
destinationChain: string;
|
|
22116
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
22117
|
-
type: "cctpHook";
|
|
22118
|
-
address: string;
|
|
22119
22604
|
} | z.objectOutputType<{
|
|
22120
22605
|
type: z.ZodLiteral<"unknownHook">;
|
|
22121
22606
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -22166,7 +22651,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22166
22651
|
owner: string;
|
|
22167
22652
|
urls: string[];
|
|
22168
22653
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22169
|
-
} |
|
|
22654
|
+
} | ({
|
|
22655
|
+
owner: string;
|
|
22656
|
+
paused: boolean;
|
|
22657
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
22658
|
+
} & {
|
|
22659
|
+
type: "pausableIsm";
|
|
22660
|
+
} & {
|
|
22661
|
+
address: string;
|
|
22662
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
22170
22663
|
type: z.ZodLiteral<"unknownIsm">;
|
|
22171
22664
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
22172
22665
|
foreignDeployment?: string | undefined;
|
|
@@ -22175,37 +22668,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22175
22668
|
}> | undefined;
|
|
22176
22669
|
tokenFee?: {
|
|
22177
22670
|
bps: number;
|
|
22178
|
-
type:
|
|
22671
|
+
type: "LinearFee";
|
|
22179
22672
|
owner: string;
|
|
22673
|
+
beneficiary?: string | undefined;
|
|
22180
22674
|
maxFee?: bigint | undefined;
|
|
22181
22675
|
halfAmount?: bigint | undefined;
|
|
22182
22676
|
} | {
|
|
22183
22677
|
bps: number;
|
|
22184
|
-
type:
|
|
22678
|
+
type: "OffchainQuotedLinearFee";
|
|
22185
22679
|
owner: string;
|
|
22680
|
+
beneficiary?: string | undefined;
|
|
22186
22681
|
maxFee?: bigint | undefined;
|
|
22187
22682
|
halfAmount?: bigint | undefined;
|
|
22188
22683
|
quoteSigners?: string[] | undefined;
|
|
22189
22684
|
} | {
|
|
22190
|
-
type:
|
|
22685
|
+
type: "ProgressiveFee";
|
|
22191
22686
|
owner: string;
|
|
22192
22687
|
maxFee: bigint;
|
|
22193
22688
|
halfAmount: bigint;
|
|
22689
|
+
beneficiary?: string | undefined;
|
|
22194
22690
|
} | {
|
|
22195
|
-
type:
|
|
22691
|
+
type: "RegressiveFee";
|
|
22196
22692
|
owner: string;
|
|
22197
22693
|
maxFee: bigint;
|
|
22198
22694
|
halfAmount: bigint;
|
|
22695
|
+
beneficiary?: string | undefined;
|
|
22199
22696
|
} | {
|
|
22200
|
-
type:
|
|
22697
|
+
type: "RoutingFee";
|
|
22201
22698
|
owner: string;
|
|
22202
22699
|
feeContracts: Record<string, any>;
|
|
22700
|
+
beneficiary?: string | undefined;
|
|
22203
22701
|
} | {
|
|
22204
|
-
type:
|
|
22702
|
+
type: "CrossCollateralRoutingFee";
|
|
22205
22703
|
owner: string;
|
|
22206
22704
|
feeContracts: Record<string, Record<string, any>>;
|
|
22705
|
+
beneficiary?: string | undefined;
|
|
22207
22706
|
} | undefined;
|
|
22208
22707
|
destinationGas?: Record<string | number, string> | undefined;
|
|
22708
|
+
feeHook?: string | undefined;
|
|
22209
22709
|
}) & {
|
|
22210
22710
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
22211
22711
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -24260,15 +24760,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24260
24760
|
}, "strip", z.ZodTypeAny, {
|
|
24261
24761
|
type: "protocolFee";
|
|
24262
24762
|
owner: string;
|
|
24263
|
-
protocolFee: string;
|
|
24264
24763
|
beneficiary: string;
|
|
24764
|
+
protocolFee: string;
|
|
24265
24765
|
maxProtocolFee: string;
|
|
24266
24766
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24267
24767
|
}, {
|
|
24268
24768
|
type: "protocolFee";
|
|
24269
24769
|
owner: string;
|
|
24270
|
-
protocolFee: string;
|
|
24271
24770
|
beneficiary: string;
|
|
24771
|
+
protocolFee: string;
|
|
24272
24772
|
maxProtocolFee: string;
|
|
24273
24773
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24274
24774
|
}>, z.ZodObject<{
|
|
@@ -24359,8 +24859,23 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24359
24859
|
totalUsdCost: number;
|
|
24360
24860
|
} | undefined;
|
|
24361
24861
|
}>>;
|
|
24862
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
24362
24863
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24363
24864
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
24865
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
24866
|
+
gasPrice: z.ZodString;
|
|
24867
|
+
tokenExchangeRate: z.ZodString;
|
|
24868
|
+
} & {
|
|
24869
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
24870
|
+
}, "strip", z.ZodTypeAny, {
|
|
24871
|
+
gasPrice: string;
|
|
24872
|
+
tokenExchangeRate: string;
|
|
24873
|
+
tokenDecimals?: number | undefined;
|
|
24874
|
+
}, {
|
|
24875
|
+
gasPrice: string;
|
|
24876
|
+
tokenExchangeRate: string;
|
|
24877
|
+
tokenDecimals?: number | undefined;
|
|
24878
|
+
}>>>>;
|
|
24364
24879
|
}, "strip", z.ZodTypeAny, {
|
|
24365
24880
|
type: "interchainGasPaymaster";
|
|
24366
24881
|
owner: string;
|
|
@@ -24379,7 +24894,13 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24379
24894
|
}>;
|
|
24380
24895
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24381
24896
|
quoteSigners?: string[] | undefined;
|
|
24897
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
24382
24898
|
contractVersion?: string | undefined;
|
|
24899
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
24900
|
+
gasPrice: string;
|
|
24901
|
+
tokenExchangeRate: string;
|
|
24902
|
+
tokenDecimals?: number | undefined;
|
|
24903
|
+
}>> | undefined;
|
|
24383
24904
|
}, {
|
|
24384
24905
|
type: "interchainGasPaymaster";
|
|
24385
24906
|
owner: string;
|
|
@@ -24398,26 +24919,14 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24398
24919
|
}>;
|
|
24399
24920
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24400
24921
|
quoteSigners?: string[] | undefined;
|
|
24922
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
24401
24923
|
contractVersion?: string | undefined;
|
|
24402
|
-
|
|
24403
|
-
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
}, "strip", z.ZodTypeAny, {
|
|
24409
|
-
type: "arbL2ToL1Hook";
|
|
24410
|
-
destinationChain: string;
|
|
24411
|
-
arbSys: string;
|
|
24412
|
-
bridge?: string | undefined;
|
|
24413
|
-
childHook?: any;
|
|
24414
|
-
}, {
|
|
24415
|
-
type: "arbL2ToL1Hook";
|
|
24416
|
-
destinationChain: string;
|
|
24417
|
-
arbSys: string;
|
|
24418
|
-
bridge?: string | undefined;
|
|
24419
|
-
childHook?: any;
|
|
24420
|
-
}>, z.ZodObject<{
|
|
24924
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
24925
|
+
gasPrice: string;
|
|
24926
|
+
tokenExchangeRate: string;
|
|
24927
|
+
tokenDecimals?: number | undefined;
|
|
24928
|
+
}>> | undefined;
|
|
24929
|
+
}>, 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<{
|
|
24421
24930
|
type: z.ZodLiteral<"defaultHook">;
|
|
24422
24931
|
}, "strip", z.ZodTypeAny, {
|
|
24423
24932
|
type: "defaultHook";
|
|
@@ -24511,7 +25020,32 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24511
25020
|
type: "opStackIsm";
|
|
24512
25021
|
origin: string;
|
|
24513
25022
|
nativeBridge: string;
|
|
24514
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
25023
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
25024
|
+
owner: z.ZodString;
|
|
25025
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
25026
|
+
} & {
|
|
25027
|
+
paused: z.ZodBoolean;
|
|
25028
|
+
}, "strip", z.ZodTypeAny, {
|
|
25029
|
+
owner: string;
|
|
25030
|
+
paused: boolean;
|
|
25031
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25032
|
+
}, {
|
|
25033
|
+
owner: string;
|
|
25034
|
+
paused: boolean;
|
|
25035
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25036
|
+
}>, z.ZodObject<{
|
|
25037
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
25038
|
+
}, "strip", z.ZodTypeAny, {
|
|
25039
|
+
type: "pausableIsm";
|
|
25040
|
+
}, {
|
|
25041
|
+
type: "pausableIsm";
|
|
25042
|
+
}>>, z.ZodObject<{
|
|
25043
|
+
address: z.ZodString;
|
|
25044
|
+
}, "strip", z.ZodTypeAny, {
|
|
25045
|
+
address: string;
|
|
25046
|
+
}, {
|
|
25047
|
+
address: string;
|
|
25048
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
24515
25049
|
owner: z.ZodString;
|
|
24516
25050
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24517
25051
|
} & {
|
|
@@ -24700,195 +25234,230 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24700
25234
|
}>>;
|
|
24701
25235
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
24702
25236
|
owner: z.ZodString;
|
|
25237
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24703
25238
|
} & {
|
|
24704
25239
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24705
25240
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24706
|
-
type: z.ZodLiteral<
|
|
25241
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
24707
25242
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
24708
25243
|
}, "strip", z.ZodTypeAny, {
|
|
24709
|
-
type:
|
|
25244
|
+
type: "LinearFee";
|
|
24710
25245
|
owner: string;
|
|
25246
|
+
beneficiary?: string | undefined;
|
|
24711
25247
|
maxFee?: bigint | undefined;
|
|
24712
25248
|
halfAmount?: bigint | undefined;
|
|
24713
25249
|
bps?: number | undefined;
|
|
24714
25250
|
}, {
|
|
24715
|
-
type:
|
|
25251
|
+
type: "LinearFee";
|
|
24716
25252
|
owner: string;
|
|
25253
|
+
beneficiary?: string | undefined;
|
|
24717
25254
|
maxFee?: string | number | bigint | undefined;
|
|
24718
25255
|
halfAmount?: string | number | bigint | undefined;
|
|
24719
25256
|
bps?: string | number | undefined;
|
|
24720
25257
|
}>, {
|
|
24721
|
-
type:
|
|
25258
|
+
type: "LinearFee";
|
|
24722
25259
|
owner: string;
|
|
25260
|
+
beneficiary?: string | undefined;
|
|
24723
25261
|
maxFee?: bigint | undefined;
|
|
24724
25262
|
halfAmount?: bigint | undefined;
|
|
24725
25263
|
bps?: number | undefined;
|
|
24726
25264
|
}, {
|
|
24727
|
-
type:
|
|
25265
|
+
type: "LinearFee";
|
|
24728
25266
|
owner: string;
|
|
25267
|
+
beneficiary?: string | undefined;
|
|
24729
25268
|
maxFee?: string | number | bigint | undefined;
|
|
24730
25269
|
halfAmount?: string | number | bigint | undefined;
|
|
24731
25270
|
bps?: string | number | undefined;
|
|
24732
25271
|
}>, {
|
|
24733
25272
|
bps: number;
|
|
24734
|
-
type:
|
|
25273
|
+
type: "LinearFee";
|
|
24735
25274
|
owner: string;
|
|
25275
|
+
beneficiary?: string | undefined;
|
|
24736
25276
|
maxFee?: bigint | undefined;
|
|
24737
25277
|
halfAmount?: bigint | undefined;
|
|
24738
25278
|
}, {
|
|
24739
|
-
type:
|
|
25279
|
+
type: "LinearFee";
|
|
24740
25280
|
owner: string;
|
|
25281
|
+
beneficiary?: string | undefined;
|
|
24741
25282
|
maxFee?: string | number | bigint | undefined;
|
|
24742
25283
|
halfAmount?: string | number | bigint | undefined;
|
|
24743
25284
|
bps?: string | number | undefined;
|
|
24744
25285
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
24745
25286
|
owner: z.ZodString;
|
|
25287
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24746
25288
|
} & {
|
|
24747
25289
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24748
25290
|
} & {
|
|
24749
25291
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24750
25292
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24751
|
-
type: z.ZodLiteral<
|
|
25293
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
24752
25294
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
24753
25295
|
}, "strip", z.ZodTypeAny, {
|
|
24754
|
-
type:
|
|
25296
|
+
type: "OffchainQuotedLinearFee";
|
|
24755
25297
|
owner: string;
|
|
25298
|
+
beneficiary?: string | undefined;
|
|
24756
25299
|
maxFee?: bigint | undefined;
|
|
24757
25300
|
halfAmount?: bigint | undefined;
|
|
24758
25301
|
bps?: number | undefined;
|
|
24759
25302
|
quoteSigners?: string[] | undefined;
|
|
24760
25303
|
}, {
|
|
24761
|
-
type:
|
|
25304
|
+
type: "OffchainQuotedLinearFee";
|
|
24762
25305
|
owner: string;
|
|
25306
|
+
beneficiary?: string | undefined;
|
|
24763
25307
|
maxFee?: string | number | bigint | undefined;
|
|
24764
25308
|
halfAmount?: string | number | bigint | undefined;
|
|
24765
25309
|
bps?: string | number | undefined;
|
|
24766
25310
|
quoteSigners?: string[] | undefined;
|
|
24767
25311
|
}>, {
|
|
24768
|
-
type:
|
|
25312
|
+
type: "OffchainQuotedLinearFee";
|
|
24769
25313
|
owner: string;
|
|
25314
|
+
beneficiary?: string | undefined;
|
|
24770
25315
|
maxFee?: bigint | undefined;
|
|
24771
25316
|
halfAmount?: bigint | undefined;
|
|
24772
25317
|
bps?: number | undefined;
|
|
24773
25318
|
quoteSigners?: string[] | undefined;
|
|
24774
25319
|
}, {
|
|
24775
|
-
type:
|
|
25320
|
+
type: "OffchainQuotedLinearFee";
|
|
24776
25321
|
owner: string;
|
|
25322
|
+
beneficiary?: string | undefined;
|
|
24777
25323
|
maxFee?: string | number | bigint | undefined;
|
|
24778
25324
|
halfAmount?: string | number | bigint | undefined;
|
|
24779
25325
|
bps?: string | number | undefined;
|
|
24780
25326
|
quoteSigners?: string[] | undefined;
|
|
24781
25327
|
}>, {
|
|
24782
25328
|
bps: number;
|
|
24783
|
-
type:
|
|
25329
|
+
type: "OffchainQuotedLinearFee";
|
|
24784
25330
|
owner: string;
|
|
25331
|
+
beneficiary?: string | undefined;
|
|
24785
25332
|
maxFee?: bigint | undefined;
|
|
24786
25333
|
halfAmount?: bigint | undefined;
|
|
24787
25334
|
quoteSigners?: string[] | undefined;
|
|
24788
25335
|
}, {
|
|
24789
|
-
type:
|
|
25336
|
+
type: "OffchainQuotedLinearFee";
|
|
24790
25337
|
owner: string;
|
|
25338
|
+
beneficiary?: string | undefined;
|
|
24791
25339
|
maxFee?: string | number | bigint | undefined;
|
|
24792
25340
|
halfAmount?: string | number | bigint | undefined;
|
|
24793
25341
|
bps?: string | number | undefined;
|
|
24794
25342
|
quoteSigners?: string[] | undefined;
|
|
24795
25343
|
}>, z.ZodEffects<z.ZodObject<{
|
|
24796
25344
|
owner: z.ZodString;
|
|
25345
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24797
25346
|
} & {
|
|
24798
|
-
type: z.ZodLiteral<
|
|
25347
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
24799
25348
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
24800
25349
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
24801
25350
|
}, "strip", z.ZodTypeAny, {
|
|
24802
|
-
type:
|
|
25351
|
+
type: "ProgressiveFee";
|
|
24803
25352
|
owner: string;
|
|
24804
25353
|
maxFee: bigint;
|
|
24805
25354
|
halfAmount: bigint;
|
|
25355
|
+
beneficiary?: string | undefined;
|
|
24806
25356
|
}, {
|
|
24807
|
-
type:
|
|
25357
|
+
type: "ProgressiveFee";
|
|
24808
25358
|
owner: string;
|
|
24809
25359
|
maxFee: string | number | bigint;
|
|
24810
25360
|
halfAmount: string | number | bigint;
|
|
25361
|
+
beneficiary?: string | undefined;
|
|
24811
25362
|
}>, {
|
|
24812
|
-
type:
|
|
25363
|
+
type: "ProgressiveFee";
|
|
24813
25364
|
owner: string;
|
|
24814
25365
|
maxFee: bigint;
|
|
24815
25366
|
halfAmount: bigint;
|
|
25367
|
+
beneficiary?: string | undefined;
|
|
24816
25368
|
}, {
|
|
24817
|
-
type:
|
|
25369
|
+
type: "ProgressiveFee";
|
|
24818
25370
|
owner: string;
|
|
24819
25371
|
maxFee: string | number | bigint;
|
|
24820
25372
|
halfAmount: string | number | bigint;
|
|
25373
|
+
beneficiary?: string | undefined;
|
|
24821
25374
|
}>, z.ZodEffects<z.ZodObject<{
|
|
24822
25375
|
owner: z.ZodString;
|
|
25376
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24823
25377
|
} & {
|
|
24824
|
-
type: z.ZodLiteral<
|
|
25378
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
24825
25379
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
24826
25380
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
24827
25381
|
}, "strip", z.ZodTypeAny, {
|
|
24828
|
-
type:
|
|
25382
|
+
type: "RegressiveFee";
|
|
24829
25383
|
owner: string;
|
|
24830
25384
|
maxFee: bigint;
|
|
24831
25385
|
halfAmount: bigint;
|
|
25386
|
+
beneficiary?: string | undefined;
|
|
24832
25387
|
}, {
|
|
24833
|
-
type:
|
|
25388
|
+
type: "RegressiveFee";
|
|
24834
25389
|
owner: string;
|
|
24835
25390
|
maxFee: string | number | bigint;
|
|
24836
25391
|
halfAmount: string | number | bigint;
|
|
25392
|
+
beneficiary?: string | undefined;
|
|
24837
25393
|
}>, {
|
|
24838
|
-
type:
|
|
25394
|
+
type: "RegressiveFee";
|
|
24839
25395
|
owner: string;
|
|
24840
25396
|
maxFee: bigint;
|
|
24841
25397
|
halfAmount: bigint;
|
|
25398
|
+
beneficiary?: string | undefined;
|
|
24842
25399
|
}, {
|
|
24843
|
-
type:
|
|
25400
|
+
type: "RegressiveFee";
|
|
24844
25401
|
owner: string;
|
|
24845
25402
|
maxFee: string | number | bigint;
|
|
24846
25403
|
halfAmount: string | number | bigint;
|
|
25404
|
+
beneficiary?: string | undefined;
|
|
24847
25405
|
}>, z.ZodEffects<z.ZodObject<{
|
|
24848
25406
|
owner: z.ZodString;
|
|
25407
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24849
25408
|
} & {
|
|
24850
|
-
type: z.ZodLiteral<
|
|
25409
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
24851
25410
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
24852
25411
|
}, "strip", z.ZodTypeAny, {
|
|
24853
|
-
type:
|
|
25412
|
+
type: "RoutingFee";
|
|
24854
25413
|
owner: string;
|
|
24855
25414
|
feeContracts: Record<string, any>;
|
|
25415
|
+
beneficiary?: string | undefined;
|
|
24856
25416
|
}, {
|
|
24857
|
-
type:
|
|
25417
|
+
type: "RoutingFee";
|
|
24858
25418
|
owner: string;
|
|
24859
25419
|
feeContracts: Record<string, any>;
|
|
25420
|
+
beneficiary?: string | undefined;
|
|
24860
25421
|
}>, {
|
|
24861
|
-
type:
|
|
25422
|
+
type: "RoutingFee";
|
|
24862
25423
|
owner: string;
|
|
24863
25424
|
feeContracts: Record<string, any>;
|
|
25425
|
+
beneficiary?: string | undefined;
|
|
24864
25426
|
}, {
|
|
24865
|
-
type:
|
|
25427
|
+
type: "RoutingFee";
|
|
24866
25428
|
owner: string;
|
|
24867
25429
|
feeContracts: Record<string, any>;
|
|
25430
|
+
beneficiary?: string | undefined;
|
|
24868
25431
|
}>, z.ZodEffects<z.ZodObject<{
|
|
24869
25432
|
owner: z.ZodString;
|
|
25433
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24870
25434
|
} & {
|
|
24871
|
-
type: z.ZodLiteral<
|
|
25435
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
24872
25436
|
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>>>;
|
|
24873
25437
|
}, "strip", z.ZodTypeAny, {
|
|
24874
|
-
type:
|
|
25438
|
+
type: "CrossCollateralRoutingFee";
|
|
24875
25439
|
owner: string;
|
|
24876
25440
|
feeContracts: Record<string, Record<string, any>>;
|
|
25441
|
+
beneficiary?: string | undefined;
|
|
24877
25442
|
}, {
|
|
24878
|
-
type:
|
|
25443
|
+
type: "CrossCollateralRoutingFee";
|
|
24879
25444
|
owner: string;
|
|
24880
25445
|
feeContracts: Record<string, Record<string, any>>;
|
|
25446
|
+
beneficiary?: string | undefined;
|
|
24881
25447
|
}>, {
|
|
24882
|
-
type:
|
|
25448
|
+
type: "CrossCollateralRoutingFee";
|
|
24883
25449
|
owner: string;
|
|
24884
25450
|
feeContracts: Record<string, Record<string, any>>;
|
|
25451
|
+
beneficiary?: string | undefined;
|
|
24885
25452
|
}, {
|
|
24886
|
-
type:
|
|
25453
|
+
type: "CrossCollateralRoutingFee";
|
|
24887
25454
|
owner: string;
|
|
24888
25455
|
feeContracts: Record<string, Record<string, any>>;
|
|
25456
|
+
beneficiary?: string | undefined;
|
|
24889
25457
|
}>]>>;
|
|
24890
25458
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
24891
25459
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
25460
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
24892
25461
|
} & {
|
|
24893
25462
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
24894
25463
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24921,12 +25490,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24921
25490
|
}>;
|
|
24922
25491
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24923
25492
|
quoteSigners?: string[] | undefined;
|
|
25493
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
24924
25494
|
contractVersion?: string | undefined;
|
|
25495
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
25496
|
+
gasPrice: string;
|
|
25497
|
+
tokenExchangeRate: string;
|
|
25498
|
+
tokenDecimals?: number | undefined;
|
|
25499
|
+
}>> | undefined;
|
|
24925
25500
|
} | {
|
|
24926
25501
|
type: "protocolFee";
|
|
24927
25502
|
owner: string;
|
|
24928
|
-
protocolFee: string;
|
|
24929
25503
|
beneficiary: string;
|
|
25504
|
+
protocolFee: string;
|
|
24930
25505
|
maxProtocolFee: string;
|
|
24931
25506
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24932
25507
|
} | {
|
|
@@ -24940,25 +25515,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24940
25515
|
nativeBridge: string;
|
|
24941
25516
|
destinationChain: string;
|
|
24942
25517
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25518
|
+
} | 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 | {
|
|
25519
|
+
type: "defaultHook";
|
|
24943
25520
|
} | {
|
|
24944
|
-
type: "
|
|
25521
|
+
type: "ccipHook";
|
|
24945
25522
|
destinationChain: string;
|
|
24946
|
-
arbSys: string;
|
|
24947
|
-
bridge?: string | undefined;
|
|
24948
|
-
childHook?: any;
|
|
24949
25523
|
} | {
|
|
24950
|
-
type: "
|
|
25524
|
+
type: "cctpHook";
|
|
25525
|
+
address: string;
|
|
24951
25526
|
} | {
|
|
24952
25527
|
type: "rateLimitedHook";
|
|
24953
25528
|
owner: string;
|
|
24954
25529
|
maxCapacity: string;
|
|
24955
25530
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24956
|
-
} | {
|
|
24957
|
-
type: "ccipHook";
|
|
24958
|
-
destinationChain: string;
|
|
24959
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
24960
|
-
type: "cctpHook";
|
|
24961
|
-
address: string;
|
|
24962
25531
|
} | z.objectOutputType<{
|
|
24963
25532
|
type: z.ZodLiteral<"unknownHook">;
|
|
24964
25533
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -25009,7 +25578,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25009
25578
|
owner: string;
|
|
25010
25579
|
urls: string[];
|
|
25011
25580
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25012
|
-
} |
|
|
25581
|
+
} | ({
|
|
25582
|
+
owner: string;
|
|
25583
|
+
paused: boolean;
|
|
25584
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25585
|
+
} & {
|
|
25586
|
+
type: "pausableIsm";
|
|
25587
|
+
} & {
|
|
25588
|
+
address: string;
|
|
25589
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
25013
25590
|
type: z.ZodLiteral<"unknownIsm">;
|
|
25014
25591
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25015
25592
|
foreignDeployment?: string | undefined;
|
|
@@ -25018,37 +25595,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25018
25595
|
}> | undefined;
|
|
25019
25596
|
tokenFee?: {
|
|
25020
25597
|
bps: number;
|
|
25021
|
-
type:
|
|
25598
|
+
type: "LinearFee";
|
|
25022
25599
|
owner: string;
|
|
25600
|
+
beneficiary?: string | undefined;
|
|
25023
25601
|
maxFee?: bigint | undefined;
|
|
25024
25602
|
halfAmount?: bigint | undefined;
|
|
25025
25603
|
} | {
|
|
25026
25604
|
bps: number;
|
|
25027
|
-
type:
|
|
25605
|
+
type: "OffchainQuotedLinearFee";
|
|
25028
25606
|
owner: string;
|
|
25607
|
+
beneficiary?: string | undefined;
|
|
25029
25608
|
maxFee?: bigint | undefined;
|
|
25030
25609
|
halfAmount?: bigint | undefined;
|
|
25031
25610
|
quoteSigners?: string[] | undefined;
|
|
25032
25611
|
} | {
|
|
25033
|
-
type:
|
|
25612
|
+
type: "ProgressiveFee";
|
|
25034
25613
|
owner: string;
|
|
25035
25614
|
maxFee: bigint;
|
|
25036
25615
|
halfAmount: bigint;
|
|
25616
|
+
beneficiary?: string | undefined;
|
|
25037
25617
|
} | {
|
|
25038
|
-
type:
|
|
25618
|
+
type: "RegressiveFee";
|
|
25039
25619
|
owner: string;
|
|
25040
25620
|
maxFee: bigint;
|
|
25041
25621
|
halfAmount: bigint;
|
|
25622
|
+
beneficiary?: string | undefined;
|
|
25042
25623
|
} | {
|
|
25043
|
-
type:
|
|
25624
|
+
type: "RoutingFee";
|
|
25044
25625
|
owner: string;
|
|
25045
25626
|
feeContracts: Record<string, any>;
|
|
25627
|
+
beneficiary?: string | undefined;
|
|
25046
25628
|
} | {
|
|
25047
|
-
type:
|
|
25629
|
+
type: "CrossCollateralRoutingFee";
|
|
25048
25630
|
owner: string;
|
|
25049
25631
|
feeContracts: Record<string, Record<string, any>>;
|
|
25632
|
+
beneficiary?: string | undefined;
|
|
25050
25633
|
} | undefined;
|
|
25051
25634
|
destinationGas?: Record<string | number, string> | undefined;
|
|
25635
|
+
feeHook?: string | undefined;
|
|
25052
25636
|
}, {
|
|
25053
25637
|
owner: string;
|
|
25054
25638
|
gas?: number | undefined;
|
|
@@ -25079,12 +25663,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25079
25663
|
}>;
|
|
25080
25664
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25081
25665
|
quoteSigners?: string[] | undefined;
|
|
25666
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
25082
25667
|
contractVersion?: string | undefined;
|
|
25668
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
25669
|
+
gasPrice: string;
|
|
25670
|
+
tokenExchangeRate: string;
|
|
25671
|
+
tokenDecimals?: number | undefined;
|
|
25672
|
+
}>> | undefined;
|
|
25083
25673
|
} | {
|
|
25084
25674
|
type: "protocolFee";
|
|
25085
25675
|
owner: string;
|
|
25086
|
-
protocolFee: string;
|
|
25087
25676
|
beneficiary: string;
|
|
25677
|
+
protocolFee: string;
|
|
25088
25678
|
maxProtocolFee: string;
|
|
25089
25679
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25090
25680
|
} | {
|
|
@@ -25098,25 +25688,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25098
25688
|
nativeBridge: string;
|
|
25099
25689
|
destinationChain: string;
|
|
25100
25690
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25691
|
+
} | 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 | {
|
|
25692
|
+
type: "defaultHook";
|
|
25101
25693
|
} | {
|
|
25102
|
-
type: "
|
|
25694
|
+
type: "ccipHook";
|
|
25103
25695
|
destinationChain: string;
|
|
25104
|
-
arbSys: string;
|
|
25105
|
-
bridge?: string | undefined;
|
|
25106
|
-
childHook?: any;
|
|
25107
25696
|
} | {
|
|
25108
|
-
type: "
|
|
25697
|
+
type: "cctpHook";
|
|
25698
|
+
address: string;
|
|
25109
25699
|
} | {
|
|
25110
25700
|
type: "rateLimitedHook";
|
|
25111
25701
|
owner: string;
|
|
25112
25702
|
maxCapacity: string;
|
|
25113
25703
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25114
|
-
} | {
|
|
25115
|
-
type: "ccipHook";
|
|
25116
|
-
destinationChain: string;
|
|
25117
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
25118
|
-
type: "cctpHook";
|
|
25119
|
-
address: string;
|
|
25120
25704
|
} | z.objectInputType<{
|
|
25121
25705
|
type: z.ZodLiteral<"unknownHook">;
|
|
25122
25706
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -25167,7 +25751,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25167
25751
|
owner: string;
|
|
25168
25752
|
urls: string[];
|
|
25169
25753
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25170
|
-
} | {
|
|
25754
|
+
} | ({
|
|
25755
|
+
owner: string;
|
|
25756
|
+
paused: boolean;
|
|
25757
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25758
|
+
} & {
|
|
25759
|
+
type: "pausableIsm";
|
|
25760
|
+
} & {
|
|
25761
|
+
address: string;
|
|
25762
|
+
}) | {
|
|
25171
25763
|
type: "interchainAccountRouting";
|
|
25172
25764
|
owner: string;
|
|
25173
25765
|
isms: Record<string, string>;
|
|
@@ -25180,38 +25772,45 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25180
25772
|
address: string;
|
|
25181
25773
|
}> | undefined;
|
|
25182
25774
|
tokenFee?: {
|
|
25183
|
-
type:
|
|
25775
|
+
type: "LinearFee";
|
|
25184
25776
|
owner: string;
|
|
25777
|
+
beneficiary?: string | undefined;
|
|
25185
25778
|
maxFee?: string | number | bigint | undefined;
|
|
25186
25779
|
halfAmount?: string | number | bigint | undefined;
|
|
25187
25780
|
bps?: string | number | undefined;
|
|
25188
25781
|
} | {
|
|
25189
|
-
type:
|
|
25782
|
+
type: "OffchainQuotedLinearFee";
|
|
25190
25783
|
owner: string;
|
|
25784
|
+
beneficiary?: string | undefined;
|
|
25191
25785
|
maxFee?: string | number | bigint | undefined;
|
|
25192
25786
|
halfAmount?: string | number | bigint | undefined;
|
|
25193
25787
|
bps?: string | number | undefined;
|
|
25194
25788
|
quoteSigners?: string[] | undefined;
|
|
25195
25789
|
} | {
|
|
25196
|
-
type:
|
|
25790
|
+
type: "ProgressiveFee";
|
|
25197
25791
|
owner: string;
|
|
25198
25792
|
maxFee: string | number | bigint;
|
|
25199
25793
|
halfAmount: string | number | bigint;
|
|
25794
|
+
beneficiary?: string | undefined;
|
|
25200
25795
|
} | {
|
|
25201
|
-
type:
|
|
25796
|
+
type: "RegressiveFee";
|
|
25202
25797
|
owner: string;
|
|
25203
25798
|
maxFee: string | number | bigint;
|
|
25204
25799
|
halfAmount: string | number | bigint;
|
|
25800
|
+
beneficiary?: string | undefined;
|
|
25205
25801
|
} | {
|
|
25206
|
-
type:
|
|
25802
|
+
type: "RoutingFee";
|
|
25207
25803
|
owner: string;
|
|
25208
25804
|
feeContracts: Record<string, any>;
|
|
25805
|
+
beneficiary?: string | undefined;
|
|
25209
25806
|
} | {
|
|
25210
|
-
type:
|
|
25807
|
+
type: "CrossCollateralRoutingFee";
|
|
25211
25808
|
owner: string;
|
|
25212
25809
|
feeContracts: Record<string, Record<string, any>>;
|
|
25810
|
+
beneficiary?: string | undefined;
|
|
25213
25811
|
} | undefined;
|
|
25214
25812
|
destinationGas?: Record<string | number, string> | undefined;
|
|
25813
|
+
feeHook?: string | undefined;
|
|
25215
25814
|
}>>, z.ZodObject<{
|
|
25216
25815
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
25217
25816
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -25646,12 +26245,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25646
26245
|
}>;
|
|
25647
26246
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25648
26247
|
quoteSigners?: string[] | undefined;
|
|
26248
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
25649
26249
|
contractVersion?: string | undefined;
|
|
26250
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
26251
|
+
gasPrice: string;
|
|
26252
|
+
tokenExchangeRate: string;
|
|
26253
|
+
tokenDecimals?: number | undefined;
|
|
26254
|
+
}>> | undefined;
|
|
25650
26255
|
} | {
|
|
25651
26256
|
type: "protocolFee";
|
|
25652
26257
|
owner: string;
|
|
25653
|
-
protocolFee: string;
|
|
25654
26258
|
beneficiary: string;
|
|
26259
|
+
protocolFee: string;
|
|
25655
26260
|
maxProtocolFee: string;
|
|
25656
26261
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25657
26262
|
} | {
|
|
@@ -25665,25 +26270,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25665
26270
|
nativeBridge: string;
|
|
25666
26271
|
destinationChain: string;
|
|
25667
26272
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26273
|
+
} | 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 | {
|
|
26274
|
+
type: "defaultHook";
|
|
25668
26275
|
} | {
|
|
25669
|
-
type: "
|
|
26276
|
+
type: "ccipHook";
|
|
25670
26277
|
destinationChain: string;
|
|
25671
|
-
arbSys: string;
|
|
25672
|
-
bridge?: string | undefined;
|
|
25673
|
-
childHook?: any;
|
|
25674
26278
|
} | {
|
|
25675
|
-
type: "
|
|
26279
|
+
type: "cctpHook";
|
|
26280
|
+
address: string;
|
|
25676
26281
|
} | {
|
|
25677
26282
|
type: "rateLimitedHook";
|
|
25678
26283
|
owner: string;
|
|
25679
26284
|
maxCapacity: string;
|
|
25680
26285
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25681
|
-
} | {
|
|
25682
|
-
type: "ccipHook";
|
|
25683
|
-
destinationChain: string;
|
|
25684
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
25685
|
-
type: "cctpHook";
|
|
25686
|
-
address: string;
|
|
25687
26286
|
} | z.objectOutputType<{
|
|
25688
26287
|
type: z.ZodLiteral<"unknownHook">;
|
|
25689
26288
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -25734,7 +26333,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25734
26333
|
owner: string;
|
|
25735
26334
|
urls: string[];
|
|
25736
26335
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25737
|
-
} |
|
|
26336
|
+
} | ({
|
|
26337
|
+
owner: string;
|
|
26338
|
+
paused: boolean;
|
|
26339
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
26340
|
+
} & {
|
|
26341
|
+
type: "pausableIsm";
|
|
26342
|
+
} & {
|
|
26343
|
+
address: string;
|
|
26344
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
25738
26345
|
type: z.ZodLiteral<"unknownIsm">;
|
|
25739
26346
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25740
26347
|
foreignDeployment?: string | undefined;
|
|
@@ -25743,37 +26350,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25743
26350
|
}> | undefined;
|
|
25744
26351
|
tokenFee?: {
|
|
25745
26352
|
bps: number;
|
|
25746
|
-
type:
|
|
26353
|
+
type: "LinearFee";
|
|
25747
26354
|
owner: string;
|
|
26355
|
+
beneficiary?: string | undefined;
|
|
25748
26356
|
maxFee?: bigint | undefined;
|
|
25749
26357
|
halfAmount?: bigint | undefined;
|
|
25750
26358
|
} | {
|
|
25751
26359
|
bps: number;
|
|
25752
|
-
type:
|
|
26360
|
+
type: "OffchainQuotedLinearFee";
|
|
25753
26361
|
owner: string;
|
|
26362
|
+
beneficiary?: string | undefined;
|
|
25754
26363
|
maxFee?: bigint | undefined;
|
|
25755
26364
|
halfAmount?: bigint | undefined;
|
|
25756
26365
|
quoteSigners?: string[] | undefined;
|
|
25757
26366
|
} | {
|
|
25758
|
-
type:
|
|
26367
|
+
type: "ProgressiveFee";
|
|
25759
26368
|
owner: string;
|
|
25760
26369
|
maxFee: bigint;
|
|
25761
26370
|
halfAmount: bigint;
|
|
26371
|
+
beneficiary?: string | undefined;
|
|
25762
26372
|
} | {
|
|
25763
|
-
type:
|
|
26373
|
+
type: "RegressiveFee";
|
|
25764
26374
|
owner: string;
|
|
25765
26375
|
maxFee: bigint;
|
|
25766
26376
|
halfAmount: bigint;
|
|
26377
|
+
beneficiary?: string | undefined;
|
|
25767
26378
|
} | {
|
|
25768
|
-
type:
|
|
26379
|
+
type: "RoutingFee";
|
|
25769
26380
|
owner: string;
|
|
25770
26381
|
feeContracts: Record<string, any>;
|
|
26382
|
+
beneficiary?: string | undefined;
|
|
25771
26383
|
} | {
|
|
25772
|
-
type:
|
|
26384
|
+
type: "CrossCollateralRoutingFee";
|
|
25773
26385
|
owner: string;
|
|
25774
26386
|
feeContracts: Record<string, Record<string, any>>;
|
|
26387
|
+
beneficiary?: string | undefined;
|
|
25775
26388
|
} | undefined;
|
|
25776
26389
|
destinationGas?: Record<string | number, string> | undefined;
|
|
26390
|
+
feeHook?: string | undefined;
|
|
25777
26391
|
}) & {
|
|
25778
26392
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
25779
26393
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -26202,12 +26816,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26202
26816
|
}>;
|
|
26203
26817
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26204
26818
|
quoteSigners?: string[] | undefined;
|
|
26819
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
26205
26820
|
contractVersion?: string | undefined;
|
|
26821
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
26822
|
+
gasPrice: string;
|
|
26823
|
+
tokenExchangeRate: string;
|
|
26824
|
+
tokenDecimals?: number | undefined;
|
|
26825
|
+
}>> | undefined;
|
|
26206
26826
|
} | {
|
|
26207
26827
|
type: "protocolFee";
|
|
26208
26828
|
owner: string;
|
|
26209
|
-
protocolFee: string;
|
|
26210
26829
|
beneficiary: string;
|
|
26830
|
+
protocolFee: string;
|
|
26211
26831
|
maxProtocolFee: string;
|
|
26212
26832
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26213
26833
|
} | {
|
|
@@ -26221,25 +26841,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26221
26841
|
nativeBridge: string;
|
|
26222
26842
|
destinationChain: string;
|
|
26223
26843
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26844
|
+
} | 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 | {
|
|
26845
|
+
type: "defaultHook";
|
|
26224
26846
|
} | {
|
|
26225
|
-
type: "
|
|
26847
|
+
type: "ccipHook";
|
|
26226
26848
|
destinationChain: string;
|
|
26227
|
-
arbSys: string;
|
|
26228
|
-
bridge?: string | undefined;
|
|
26229
|
-
childHook?: any;
|
|
26230
26849
|
} | {
|
|
26231
|
-
type: "
|
|
26850
|
+
type: "cctpHook";
|
|
26851
|
+
address: string;
|
|
26232
26852
|
} | {
|
|
26233
26853
|
type: "rateLimitedHook";
|
|
26234
26854
|
owner: string;
|
|
26235
26855
|
maxCapacity: string;
|
|
26236
26856
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26237
|
-
} | {
|
|
26238
|
-
type: "ccipHook";
|
|
26239
|
-
destinationChain: string;
|
|
26240
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
26241
|
-
type: "cctpHook";
|
|
26242
|
-
address: string;
|
|
26243
26857
|
} | z.objectOutputType<{
|
|
26244
26858
|
type: z.ZodLiteral<"unknownHook">;
|
|
26245
26859
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -26290,7 +26904,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26290
26904
|
owner: string;
|
|
26291
26905
|
urls: string[];
|
|
26292
26906
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26293
|
-
} |
|
|
26907
|
+
} | ({
|
|
26908
|
+
owner: string;
|
|
26909
|
+
paused: boolean;
|
|
26910
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
26911
|
+
} & {
|
|
26912
|
+
type: "pausableIsm";
|
|
26913
|
+
} & {
|
|
26914
|
+
address: string;
|
|
26915
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
26294
26916
|
type: z.ZodLiteral<"unknownIsm">;
|
|
26295
26917
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26296
26918
|
foreignDeployment?: string | undefined;
|
|
@@ -26299,37 +26921,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26299
26921
|
}> | undefined;
|
|
26300
26922
|
tokenFee?: {
|
|
26301
26923
|
bps: number;
|
|
26302
|
-
type:
|
|
26924
|
+
type: "LinearFee";
|
|
26303
26925
|
owner: string;
|
|
26926
|
+
beneficiary?: string | undefined;
|
|
26304
26927
|
maxFee?: bigint | undefined;
|
|
26305
26928
|
halfAmount?: bigint | undefined;
|
|
26306
26929
|
} | {
|
|
26307
26930
|
bps: number;
|
|
26308
|
-
type:
|
|
26931
|
+
type: "OffchainQuotedLinearFee";
|
|
26309
26932
|
owner: string;
|
|
26933
|
+
beneficiary?: string | undefined;
|
|
26310
26934
|
maxFee?: bigint | undefined;
|
|
26311
26935
|
halfAmount?: bigint | undefined;
|
|
26312
26936
|
quoteSigners?: string[] | undefined;
|
|
26313
26937
|
} | {
|
|
26314
|
-
type:
|
|
26938
|
+
type: "ProgressiveFee";
|
|
26315
26939
|
owner: string;
|
|
26316
26940
|
maxFee: bigint;
|
|
26317
26941
|
halfAmount: bigint;
|
|
26942
|
+
beneficiary?: string | undefined;
|
|
26318
26943
|
} | {
|
|
26319
|
-
type:
|
|
26944
|
+
type: "RegressiveFee";
|
|
26320
26945
|
owner: string;
|
|
26321
26946
|
maxFee: bigint;
|
|
26322
26947
|
halfAmount: bigint;
|
|
26948
|
+
beneficiary?: string | undefined;
|
|
26323
26949
|
} | {
|
|
26324
|
-
type:
|
|
26950
|
+
type: "RoutingFee";
|
|
26325
26951
|
owner: string;
|
|
26326
26952
|
feeContracts: Record<string, any>;
|
|
26953
|
+
beneficiary?: string | undefined;
|
|
26327
26954
|
} | {
|
|
26328
|
-
type:
|
|
26955
|
+
type: "CrossCollateralRoutingFee";
|
|
26329
26956
|
owner: string;
|
|
26330
26957
|
feeContracts: Record<string, Record<string, any>>;
|
|
26958
|
+
beneficiary?: string | undefined;
|
|
26331
26959
|
} | undefined;
|
|
26332
26960
|
destinationGas?: Record<string | number, string> | undefined;
|
|
26961
|
+
feeHook?: string | undefined;
|
|
26333
26962
|
}) & {
|
|
26334
26963
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
26335
26964
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -26758,12 +27387,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26758
27387
|
}>;
|
|
26759
27388
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26760
27389
|
quoteSigners?: string[] | undefined;
|
|
27390
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
26761
27391
|
contractVersion?: string | undefined;
|
|
27392
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
27393
|
+
gasPrice: string;
|
|
27394
|
+
tokenExchangeRate: string;
|
|
27395
|
+
tokenDecimals?: number | undefined;
|
|
27396
|
+
}>> | undefined;
|
|
26762
27397
|
} | {
|
|
26763
27398
|
type: "protocolFee";
|
|
26764
27399
|
owner: string;
|
|
26765
|
-
protocolFee: string;
|
|
26766
27400
|
beneficiary: string;
|
|
27401
|
+
protocolFee: string;
|
|
26767
27402
|
maxProtocolFee: string;
|
|
26768
27403
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26769
27404
|
} | {
|
|
@@ -26777,25 +27412,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26777
27412
|
nativeBridge: string;
|
|
26778
27413
|
destinationChain: string;
|
|
26779
27414
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27415
|
+
} | 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 | {
|
|
27416
|
+
type: "defaultHook";
|
|
26780
27417
|
} | {
|
|
26781
|
-
type: "
|
|
27418
|
+
type: "ccipHook";
|
|
26782
27419
|
destinationChain: string;
|
|
26783
|
-
arbSys: string;
|
|
26784
|
-
bridge?: string | undefined;
|
|
26785
|
-
childHook?: any;
|
|
26786
27420
|
} | {
|
|
26787
|
-
type: "
|
|
27421
|
+
type: "cctpHook";
|
|
27422
|
+
address: string;
|
|
26788
27423
|
} | {
|
|
26789
27424
|
type: "rateLimitedHook";
|
|
26790
27425
|
owner: string;
|
|
26791
27426
|
maxCapacity: string;
|
|
26792
27427
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26793
|
-
} | {
|
|
26794
|
-
type: "ccipHook";
|
|
26795
|
-
destinationChain: string;
|
|
26796
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
26797
|
-
type: "cctpHook";
|
|
26798
|
-
address: string;
|
|
26799
27428
|
} | z.objectOutputType<{
|
|
26800
27429
|
type: z.ZodLiteral<"unknownHook">;
|
|
26801
27430
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -26846,7 +27475,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26846
27475
|
owner: string;
|
|
26847
27476
|
urls: string[];
|
|
26848
27477
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26849
|
-
} |
|
|
27478
|
+
} | ({
|
|
27479
|
+
owner: string;
|
|
27480
|
+
paused: boolean;
|
|
27481
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
27482
|
+
} & {
|
|
27483
|
+
type: "pausableIsm";
|
|
27484
|
+
} & {
|
|
27485
|
+
address: string;
|
|
27486
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
26850
27487
|
type: z.ZodLiteral<"unknownIsm">;
|
|
26851
27488
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26852
27489
|
foreignDeployment?: string | undefined;
|
|
@@ -26855,37 +27492,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26855
27492
|
}> | undefined;
|
|
26856
27493
|
tokenFee?: {
|
|
26857
27494
|
bps: number;
|
|
26858
|
-
type:
|
|
27495
|
+
type: "LinearFee";
|
|
26859
27496
|
owner: string;
|
|
27497
|
+
beneficiary?: string | undefined;
|
|
26860
27498
|
maxFee?: bigint | undefined;
|
|
26861
27499
|
halfAmount?: bigint | undefined;
|
|
26862
27500
|
} | {
|
|
26863
27501
|
bps: number;
|
|
26864
|
-
type:
|
|
27502
|
+
type: "OffchainQuotedLinearFee";
|
|
26865
27503
|
owner: string;
|
|
27504
|
+
beneficiary?: string | undefined;
|
|
26866
27505
|
maxFee?: bigint | undefined;
|
|
26867
27506
|
halfAmount?: bigint | undefined;
|
|
26868
27507
|
quoteSigners?: string[] | undefined;
|
|
26869
27508
|
} | {
|
|
26870
|
-
type:
|
|
27509
|
+
type: "ProgressiveFee";
|
|
26871
27510
|
owner: string;
|
|
26872
27511
|
maxFee: bigint;
|
|
26873
27512
|
halfAmount: bigint;
|
|
27513
|
+
beneficiary?: string | undefined;
|
|
26874
27514
|
} | {
|
|
26875
|
-
type:
|
|
27515
|
+
type: "RegressiveFee";
|
|
26876
27516
|
owner: string;
|
|
26877
27517
|
maxFee: bigint;
|
|
26878
27518
|
halfAmount: bigint;
|
|
27519
|
+
beneficiary?: string | undefined;
|
|
26879
27520
|
} | {
|
|
26880
|
-
type:
|
|
27521
|
+
type: "RoutingFee";
|
|
26881
27522
|
owner: string;
|
|
26882
27523
|
feeContracts: Record<string, any>;
|
|
27524
|
+
beneficiary?: string | undefined;
|
|
26883
27525
|
} | {
|
|
26884
|
-
type:
|
|
27526
|
+
type: "CrossCollateralRoutingFee";
|
|
26885
27527
|
owner: string;
|
|
26886
27528
|
feeContracts: Record<string, Record<string, any>>;
|
|
27529
|
+
beneficiary?: string | undefined;
|
|
26887
27530
|
} | undefined;
|
|
26888
27531
|
destinationGas?: Record<string | number, string> | undefined;
|
|
27532
|
+
feeHook?: string | undefined;
|
|
26889
27533
|
}) & {
|
|
26890
27534
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
26891
27535
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -27314,12 +27958,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27314
27958
|
}>;
|
|
27315
27959
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27316
27960
|
quoteSigners?: string[] | undefined;
|
|
27961
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
27317
27962
|
contractVersion?: string | undefined;
|
|
27963
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
27964
|
+
gasPrice: string;
|
|
27965
|
+
tokenExchangeRate: string;
|
|
27966
|
+
tokenDecimals?: number | undefined;
|
|
27967
|
+
}>> | undefined;
|
|
27318
27968
|
} | {
|
|
27319
27969
|
type: "protocolFee";
|
|
27320
27970
|
owner: string;
|
|
27321
|
-
protocolFee: string;
|
|
27322
27971
|
beneficiary: string;
|
|
27972
|
+
protocolFee: string;
|
|
27323
27973
|
maxProtocolFee: string;
|
|
27324
27974
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27325
27975
|
} | {
|
|
@@ -27333,25 +27983,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27333
27983
|
nativeBridge: string;
|
|
27334
27984
|
destinationChain: string;
|
|
27335
27985
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27986
|
+
} | 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 | {
|
|
27987
|
+
type: "defaultHook";
|
|
27336
27988
|
} | {
|
|
27337
|
-
type: "
|
|
27989
|
+
type: "ccipHook";
|
|
27338
27990
|
destinationChain: string;
|
|
27339
|
-
arbSys: string;
|
|
27340
|
-
bridge?: string | undefined;
|
|
27341
|
-
childHook?: any;
|
|
27342
27991
|
} | {
|
|
27343
|
-
type: "
|
|
27992
|
+
type: "cctpHook";
|
|
27993
|
+
address: string;
|
|
27344
27994
|
} | {
|
|
27345
27995
|
type: "rateLimitedHook";
|
|
27346
27996
|
owner: string;
|
|
27347
27997
|
maxCapacity: string;
|
|
27348
27998
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27349
|
-
} | {
|
|
27350
|
-
type: "ccipHook";
|
|
27351
|
-
destinationChain: string;
|
|
27352
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
27353
|
-
type: "cctpHook";
|
|
27354
|
-
address: string;
|
|
27355
27999
|
} | z.objectOutputType<{
|
|
27356
28000
|
type: z.ZodLiteral<"unknownHook">;
|
|
27357
28001
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -27402,7 +28046,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27402
28046
|
owner: string;
|
|
27403
28047
|
urls: string[];
|
|
27404
28048
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27405
|
-
} |
|
|
28049
|
+
} | ({
|
|
28050
|
+
owner: string;
|
|
28051
|
+
paused: boolean;
|
|
28052
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
28053
|
+
} & {
|
|
28054
|
+
type: "pausableIsm";
|
|
28055
|
+
} & {
|
|
28056
|
+
address: string;
|
|
28057
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
27406
28058
|
type: z.ZodLiteral<"unknownIsm">;
|
|
27407
28059
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27408
28060
|
foreignDeployment?: string | undefined;
|
|
@@ -27411,37 +28063,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27411
28063
|
}> | undefined;
|
|
27412
28064
|
tokenFee?: {
|
|
27413
28065
|
bps: number;
|
|
27414
|
-
type:
|
|
28066
|
+
type: "LinearFee";
|
|
27415
28067
|
owner: string;
|
|
28068
|
+
beneficiary?: string | undefined;
|
|
27416
28069
|
maxFee?: bigint | undefined;
|
|
27417
28070
|
halfAmount?: bigint | undefined;
|
|
27418
28071
|
} | {
|
|
27419
28072
|
bps: number;
|
|
27420
|
-
type:
|
|
28073
|
+
type: "OffchainQuotedLinearFee";
|
|
27421
28074
|
owner: string;
|
|
28075
|
+
beneficiary?: string | undefined;
|
|
27422
28076
|
maxFee?: bigint | undefined;
|
|
27423
28077
|
halfAmount?: bigint | undefined;
|
|
27424
28078
|
quoteSigners?: string[] | undefined;
|
|
27425
28079
|
} | {
|
|
27426
|
-
type:
|
|
28080
|
+
type: "ProgressiveFee";
|
|
27427
28081
|
owner: string;
|
|
27428
28082
|
maxFee: bigint;
|
|
27429
28083
|
halfAmount: bigint;
|
|
28084
|
+
beneficiary?: string | undefined;
|
|
27430
28085
|
} | {
|
|
27431
|
-
type:
|
|
28086
|
+
type: "RegressiveFee";
|
|
27432
28087
|
owner: string;
|
|
27433
28088
|
maxFee: bigint;
|
|
27434
28089
|
halfAmount: bigint;
|
|
28090
|
+
beneficiary?: string | undefined;
|
|
27435
28091
|
} | {
|
|
27436
|
-
type:
|
|
28092
|
+
type: "RoutingFee";
|
|
27437
28093
|
owner: string;
|
|
27438
28094
|
feeContracts: Record<string, any>;
|
|
28095
|
+
beneficiary?: string | undefined;
|
|
27439
28096
|
} | {
|
|
27440
|
-
type:
|
|
28097
|
+
type: "CrossCollateralRoutingFee";
|
|
27441
28098
|
owner: string;
|
|
27442
28099
|
feeContracts: Record<string, Record<string, any>>;
|
|
28100
|
+
beneficiary?: string | undefined;
|
|
27443
28101
|
} | undefined;
|
|
27444
28102
|
destinationGas?: Record<string | number, string> | undefined;
|
|
28103
|
+
feeHook?: string | undefined;
|
|
27445
28104
|
}) & {
|
|
27446
28105
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
27447
28106
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -27870,12 +28529,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27870
28529
|
}>;
|
|
27871
28530
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27872
28531
|
quoteSigners?: string[] | undefined;
|
|
28532
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
27873
28533
|
contractVersion?: string | undefined;
|
|
28534
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
28535
|
+
gasPrice: string;
|
|
28536
|
+
tokenExchangeRate: string;
|
|
28537
|
+
tokenDecimals?: number | undefined;
|
|
28538
|
+
}>> | undefined;
|
|
27874
28539
|
} | {
|
|
27875
28540
|
type: "protocolFee";
|
|
27876
28541
|
owner: string;
|
|
27877
|
-
protocolFee: string;
|
|
27878
28542
|
beneficiary: string;
|
|
28543
|
+
protocolFee: string;
|
|
27879
28544
|
maxProtocolFee: string;
|
|
27880
28545
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27881
28546
|
} | {
|
|
@@ -27889,25 +28554,19 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27889
28554
|
nativeBridge: string;
|
|
27890
28555
|
destinationChain: string;
|
|
27891
28556
|
ownerOverrides?: Record<string, string> | undefined;
|
|
28557
|
+
} | 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 | {
|
|
28558
|
+
type: "defaultHook";
|
|
27892
28559
|
} | {
|
|
27893
|
-
type: "
|
|
28560
|
+
type: "ccipHook";
|
|
27894
28561
|
destinationChain: string;
|
|
27895
|
-
arbSys: string;
|
|
27896
|
-
bridge?: string | undefined;
|
|
27897
|
-
childHook?: any;
|
|
27898
28562
|
} | {
|
|
27899
|
-
type: "
|
|
28563
|
+
type: "cctpHook";
|
|
28564
|
+
address: string;
|
|
27900
28565
|
} | {
|
|
27901
28566
|
type: "rateLimitedHook";
|
|
27902
28567
|
owner: string;
|
|
27903
28568
|
maxCapacity: string;
|
|
27904
28569
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27905
|
-
} | {
|
|
27906
|
-
type: "ccipHook";
|
|
27907
|
-
destinationChain: string;
|
|
27908
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
27909
|
-
type: "cctpHook";
|
|
27910
|
-
address: string;
|
|
27911
28570
|
} | z.objectOutputType<{
|
|
27912
28571
|
type: z.ZodLiteral<"unknownHook">;
|
|
27913
28572
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -27958,7 +28617,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27958
28617
|
owner: string;
|
|
27959
28618
|
urls: string[];
|
|
27960
28619
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27961
|
-
} |
|
|
28620
|
+
} | ({
|
|
28621
|
+
owner: string;
|
|
28622
|
+
paused: boolean;
|
|
28623
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
28624
|
+
} & {
|
|
28625
|
+
type: "pausableIsm";
|
|
28626
|
+
} & {
|
|
28627
|
+
address: string;
|
|
28628
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
27962
28629
|
type: z.ZodLiteral<"unknownIsm">;
|
|
27963
28630
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27964
28631
|
foreignDeployment?: string | undefined;
|
|
@@ -27967,37 +28634,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27967
28634
|
}> | undefined;
|
|
27968
28635
|
tokenFee?: {
|
|
27969
28636
|
bps: number;
|
|
27970
|
-
type:
|
|
28637
|
+
type: "LinearFee";
|
|
27971
28638
|
owner: string;
|
|
28639
|
+
beneficiary?: string | undefined;
|
|
27972
28640
|
maxFee?: bigint | undefined;
|
|
27973
28641
|
halfAmount?: bigint | undefined;
|
|
27974
28642
|
} | {
|
|
27975
28643
|
bps: number;
|
|
27976
|
-
type:
|
|
28644
|
+
type: "OffchainQuotedLinearFee";
|
|
27977
28645
|
owner: string;
|
|
28646
|
+
beneficiary?: string | undefined;
|
|
27978
28647
|
maxFee?: bigint | undefined;
|
|
27979
28648
|
halfAmount?: bigint | undefined;
|
|
27980
28649
|
quoteSigners?: string[] | undefined;
|
|
27981
28650
|
} | {
|
|
27982
|
-
type:
|
|
28651
|
+
type: "ProgressiveFee";
|
|
27983
28652
|
owner: string;
|
|
27984
28653
|
maxFee: bigint;
|
|
27985
28654
|
halfAmount: bigint;
|
|
28655
|
+
beneficiary?: string | undefined;
|
|
27986
28656
|
} | {
|
|
27987
|
-
type:
|
|
28657
|
+
type: "RegressiveFee";
|
|
27988
28658
|
owner: string;
|
|
27989
28659
|
maxFee: bigint;
|
|
27990
28660
|
halfAmount: bigint;
|
|
28661
|
+
beneficiary?: string | undefined;
|
|
27991
28662
|
} | {
|
|
27992
|
-
type:
|
|
28663
|
+
type: "RoutingFee";
|
|
27993
28664
|
owner: string;
|
|
27994
28665
|
feeContracts: Record<string, any>;
|
|
28666
|
+
beneficiary?: string | undefined;
|
|
27995
28667
|
} | {
|
|
27996
|
-
type:
|
|
28668
|
+
type: "CrossCollateralRoutingFee";
|
|
27997
28669
|
owner: string;
|
|
27998
28670
|
feeContracts: Record<string, Record<string, any>>;
|
|
28671
|
+
beneficiary?: string | undefined;
|
|
27999
28672
|
} | undefined;
|
|
28000
28673
|
destinationGas?: Record<string | number, string> | undefined;
|
|
28674
|
+
feeHook?: string | undefined;
|
|
28001
28675
|
}) & {
|
|
28002
28676
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
28003
28677
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|