@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/router/types.d.ts
CHANGED
|
@@ -81,15 +81,15 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
type: "protocolFee";
|
|
83
83
|
owner: string;
|
|
84
|
-
protocolFee: string;
|
|
85
84
|
beneficiary: string;
|
|
85
|
+
protocolFee: string;
|
|
86
86
|
maxProtocolFee: string;
|
|
87
87
|
ownerOverrides?: Record<string, string> | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
type: "protocolFee";
|
|
90
90
|
owner: string;
|
|
91
|
-
protocolFee: string;
|
|
92
91
|
beneficiary: string;
|
|
92
|
+
protocolFee: string;
|
|
93
93
|
maxProtocolFee: string;
|
|
94
94
|
ownerOverrides?: Record<string, string> | undefined;
|
|
95
95
|
}>, z.ZodObject<{
|
|
@@ -180,8 +180,23 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
180
180
|
totalUsdCost: number;
|
|
181
181
|
} | undefined;
|
|
182
182
|
}>>;
|
|
183
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
183
184
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
184
185
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
186
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
187
|
+
gasPrice: z.ZodString;
|
|
188
|
+
tokenExchangeRate: z.ZodString;
|
|
189
|
+
} & {
|
|
190
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
gasPrice: string;
|
|
193
|
+
tokenExchangeRate: string;
|
|
194
|
+
tokenDecimals?: number | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
gasPrice: string;
|
|
197
|
+
tokenExchangeRate: string;
|
|
198
|
+
tokenDecimals?: number | undefined;
|
|
199
|
+
}>>>>;
|
|
185
200
|
}, "strip", z.ZodTypeAny, {
|
|
186
201
|
type: "interchainGasPaymaster";
|
|
187
202
|
owner: string;
|
|
@@ -200,7 +215,13 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
200
215
|
}>;
|
|
201
216
|
ownerOverrides?: Record<string, string> | undefined;
|
|
202
217
|
quoteSigners?: string[] | undefined;
|
|
218
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
203
219
|
contractVersion?: string | undefined;
|
|
220
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
221
|
+
gasPrice: string;
|
|
222
|
+
tokenExchangeRate: string;
|
|
223
|
+
tokenDecimals?: number | undefined;
|
|
224
|
+
}>> | undefined;
|
|
204
225
|
}, {
|
|
205
226
|
type: "interchainGasPaymaster";
|
|
206
227
|
owner: string;
|
|
@@ -219,26 +240,14 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
219
240
|
}>;
|
|
220
241
|
ownerOverrides?: Record<string, string> | undefined;
|
|
221
242
|
quoteSigners?: string[] | undefined;
|
|
243
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
222
244
|
contractVersion?: string | undefined;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
type: "arbL2ToL1Hook";
|
|
231
|
-
destinationChain: string;
|
|
232
|
-
arbSys: string;
|
|
233
|
-
bridge?: string | undefined;
|
|
234
|
-
childHook?: any;
|
|
235
|
-
}, {
|
|
236
|
-
type: "arbL2ToL1Hook";
|
|
237
|
-
destinationChain: string;
|
|
238
|
-
arbSys: string;
|
|
239
|
-
bridge?: string | undefined;
|
|
240
|
-
childHook?: any;
|
|
241
|
-
}>, z.ZodObject<{
|
|
245
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
246
|
+
gasPrice: string;
|
|
247
|
+
tokenExchangeRate: string;
|
|
248
|
+
tokenDecimals?: number | undefined;
|
|
249
|
+
}>> | undefined;
|
|
250
|
+
}>, 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<{
|
|
242
251
|
type: z.ZodLiteral<"defaultHook">;
|
|
243
252
|
}, "strip", z.ZodTypeAny, {
|
|
244
253
|
type: "defaultHook";
|
|
@@ -332,7 +341,32 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
332
341
|
type: "opStackIsm";
|
|
333
342
|
origin: string;
|
|
334
343
|
nativeBridge: string;
|
|
335
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
344
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
345
|
+
owner: z.ZodString;
|
|
346
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
347
|
+
} & {
|
|
348
|
+
paused: z.ZodBoolean;
|
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
|
350
|
+
owner: string;
|
|
351
|
+
paused: boolean;
|
|
352
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
353
|
+
}, {
|
|
354
|
+
owner: string;
|
|
355
|
+
paused: boolean;
|
|
356
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
357
|
+
}>, z.ZodObject<{
|
|
358
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
type: "pausableIsm";
|
|
361
|
+
}, {
|
|
362
|
+
type: "pausableIsm";
|
|
363
|
+
}>>, z.ZodObject<{
|
|
364
|
+
address: z.ZodString;
|
|
365
|
+
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
address: string;
|
|
367
|
+
}, {
|
|
368
|
+
address: string;
|
|
369
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
336
370
|
owner: z.ZodString;
|
|
337
371
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
338
372
|
} & {
|
|
@@ -521,12 +555,18 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
521
555
|
}>;
|
|
522
556
|
ownerOverrides?: Record<string, string> | undefined;
|
|
523
557
|
quoteSigners?: string[] | undefined;
|
|
558
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
524
559
|
contractVersion?: string | undefined;
|
|
560
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
561
|
+
gasPrice: string;
|
|
562
|
+
tokenExchangeRate: string;
|
|
563
|
+
tokenDecimals?: number | undefined;
|
|
564
|
+
}>> | undefined;
|
|
525
565
|
} | {
|
|
526
566
|
type: "protocolFee";
|
|
527
567
|
owner: string;
|
|
528
|
-
protocolFee: string;
|
|
529
568
|
beneficiary: string;
|
|
569
|
+
protocolFee: string;
|
|
530
570
|
maxProtocolFee: string;
|
|
531
571
|
ownerOverrides?: Record<string, string> | undefined;
|
|
532
572
|
} | {
|
|
@@ -540,25 +580,19 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
540
580
|
nativeBridge: string;
|
|
541
581
|
destinationChain: string;
|
|
542
582
|
ownerOverrides?: Record<string, string> | undefined;
|
|
583
|
+
} | 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 | {
|
|
584
|
+
type: "defaultHook";
|
|
543
585
|
} | {
|
|
544
|
-
type: "
|
|
586
|
+
type: "ccipHook";
|
|
545
587
|
destinationChain: string;
|
|
546
|
-
arbSys: string;
|
|
547
|
-
bridge?: string | undefined;
|
|
548
|
-
childHook?: any;
|
|
549
588
|
} | {
|
|
550
|
-
type: "
|
|
589
|
+
type: "cctpHook";
|
|
590
|
+
address: string;
|
|
551
591
|
} | {
|
|
552
592
|
type: "rateLimitedHook";
|
|
553
593
|
owner: string;
|
|
554
594
|
maxCapacity: string;
|
|
555
595
|
ownerOverrides?: Record<string, string> | undefined;
|
|
556
|
-
} | {
|
|
557
|
-
type: "ccipHook";
|
|
558
|
-
destinationChain: string;
|
|
559
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
560
|
-
type: "cctpHook";
|
|
561
|
-
address: string;
|
|
562
596
|
} | z.objectOutputType<{
|
|
563
597
|
type: z.ZodLiteral<"unknownHook">;
|
|
564
598
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -609,7 +643,15 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
609
643
|
owner: string;
|
|
610
644
|
urls: string[];
|
|
611
645
|
ownerOverrides?: Record<string, string> | undefined;
|
|
612
|
-
} |
|
|
646
|
+
} | ({
|
|
647
|
+
owner: string;
|
|
648
|
+
paused: boolean;
|
|
649
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
650
|
+
} & {
|
|
651
|
+
type: "pausableIsm";
|
|
652
|
+
} & {
|
|
653
|
+
address: string;
|
|
654
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
613
655
|
type: z.ZodLiteral<"unknownIsm">;
|
|
614
656
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
615
657
|
}, {
|
|
@@ -636,12 +678,18 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
636
678
|
}>;
|
|
637
679
|
ownerOverrides?: Record<string, string> | undefined;
|
|
638
680
|
quoteSigners?: string[] | undefined;
|
|
681
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
639
682
|
contractVersion?: string | undefined;
|
|
683
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
684
|
+
gasPrice: string;
|
|
685
|
+
tokenExchangeRate: string;
|
|
686
|
+
tokenDecimals?: number | undefined;
|
|
687
|
+
}>> | undefined;
|
|
640
688
|
} | {
|
|
641
689
|
type: "protocolFee";
|
|
642
690
|
owner: string;
|
|
643
|
-
protocolFee: string;
|
|
644
691
|
beneficiary: string;
|
|
692
|
+
protocolFee: string;
|
|
645
693
|
maxProtocolFee: string;
|
|
646
694
|
ownerOverrides?: Record<string, string> | undefined;
|
|
647
695
|
} | {
|
|
@@ -655,25 +703,19 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
655
703
|
nativeBridge: string;
|
|
656
704
|
destinationChain: string;
|
|
657
705
|
ownerOverrides?: Record<string, string> | undefined;
|
|
706
|
+
} | 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 | {
|
|
707
|
+
type: "defaultHook";
|
|
658
708
|
} | {
|
|
659
|
-
type: "
|
|
709
|
+
type: "ccipHook";
|
|
660
710
|
destinationChain: string;
|
|
661
|
-
arbSys: string;
|
|
662
|
-
bridge?: string | undefined;
|
|
663
|
-
childHook?: any;
|
|
664
711
|
} | {
|
|
665
|
-
type: "
|
|
712
|
+
type: "cctpHook";
|
|
713
|
+
address: string;
|
|
666
714
|
} | {
|
|
667
715
|
type: "rateLimitedHook";
|
|
668
716
|
owner: string;
|
|
669
717
|
maxCapacity: string;
|
|
670
718
|
ownerOverrides?: Record<string, string> | undefined;
|
|
671
|
-
} | {
|
|
672
|
-
type: "ccipHook";
|
|
673
|
-
destinationChain: string;
|
|
674
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
675
|
-
type: "cctpHook";
|
|
676
|
-
address: string;
|
|
677
719
|
} | z.objectInputType<{
|
|
678
720
|
type: z.ZodLiteral<"unknownHook">;
|
|
679
721
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -724,7 +766,15 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
724
766
|
owner: string;
|
|
725
767
|
urls: string[];
|
|
726
768
|
ownerOverrides?: Record<string, string> | undefined;
|
|
727
|
-
} | {
|
|
769
|
+
} | ({
|
|
770
|
+
owner: string;
|
|
771
|
+
paused: boolean;
|
|
772
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
773
|
+
} & {
|
|
774
|
+
type: "pausableIsm";
|
|
775
|
+
} & {
|
|
776
|
+
address: string;
|
|
777
|
+
}) | {
|
|
728
778
|
type: "interchainAccountRouting";
|
|
729
779
|
owner: string;
|
|
730
780
|
isms: Record<string, string>;
|
|
@@ -773,15 +823,15 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
773
823
|
}, "strip", z.ZodTypeAny, {
|
|
774
824
|
type: "protocolFee";
|
|
775
825
|
owner: string;
|
|
776
|
-
protocolFee: string;
|
|
777
826
|
beneficiary: string;
|
|
827
|
+
protocolFee: string;
|
|
778
828
|
maxProtocolFee: string;
|
|
779
829
|
ownerOverrides?: Record<string, string> | undefined;
|
|
780
830
|
}, {
|
|
781
831
|
type: "protocolFee";
|
|
782
832
|
owner: string;
|
|
783
|
-
protocolFee: string;
|
|
784
833
|
beneficiary: string;
|
|
834
|
+
protocolFee: string;
|
|
785
835
|
maxProtocolFee: string;
|
|
786
836
|
ownerOverrides?: Record<string, string> | undefined;
|
|
787
837
|
}>, z.ZodObject<{
|
|
@@ -872,8 +922,23 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
872
922
|
totalUsdCost: number;
|
|
873
923
|
} | undefined;
|
|
874
924
|
}>>;
|
|
925
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
875
926
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
876
927
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
928
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
929
|
+
gasPrice: z.ZodString;
|
|
930
|
+
tokenExchangeRate: z.ZodString;
|
|
931
|
+
} & {
|
|
932
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
933
|
+
}, "strip", z.ZodTypeAny, {
|
|
934
|
+
gasPrice: string;
|
|
935
|
+
tokenExchangeRate: string;
|
|
936
|
+
tokenDecimals?: number | undefined;
|
|
937
|
+
}, {
|
|
938
|
+
gasPrice: string;
|
|
939
|
+
tokenExchangeRate: string;
|
|
940
|
+
tokenDecimals?: number | undefined;
|
|
941
|
+
}>>>>;
|
|
877
942
|
}, "strip", z.ZodTypeAny, {
|
|
878
943
|
type: "interchainGasPaymaster";
|
|
879
944
|
owner: string;
|
|
@@ -892,7 +957,13 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
892
957
|
}>;
|
|
893
958
|
ownerOverrides?: Record<string, string> | undefined;
|
|
894
959
|
quoteSigners?: string[] | undefined;
|
|
960
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
895
961
|
contractVersion?: string | undefined;
|
|
962
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
963
|
+
gasPrice: string;
|
|
964
|
+
tokenExchangeRate: string;
|
|
965
|
+
tokenDecimals?: number | undefined;
|
|
966
|
+
}>> | undefined;
|
|
896
967
|
}, {
|
|
897
968
|
type: "interchainGasPaymaster";
|
|
898
969
|
owner: string;
|
|
@@ -911,26 +982,14 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
911
982
|
}>;
|
|
912
983
|
ownerOverrides?: Record<string, string> | undefined;
|
|
913
984
|
quoteSigners?: string[] | undefined;
|
|
985
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
914
986
|
contractVersion?: string | undefined;
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}, "strip", z.ZodTypeAny, {
|
|
922
|
-
type: "arbL2ToL1Hook";
|
|
923
|
-
destinationChain: string;
|
|
924
|
-
arbSys: string;
|
|
925
|
-
bridge?: string | undefined;
|
|
926
|
-
childHook?: any;
|
|
927
|
-
}, {
|
|
928
|
-
type: "arbL2ToL1Hook";
|
|
929
|
-
destinationChain: string;
|
|
930
|
-
arbSys: string;
|
|
931
|
-
bridge?: string | undefined;
|
|
932
|
-
childHook?: any;
|
|
933
|
-
}>, z.ZodObject<{
|
|
987
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
988
|
+
gasPrice: string;
|
|
989
|
+
tokenExchangeRate: string;
|
|
990
|
+
tokenDecimals?: number | undefined;
|
|
991
|
+
}>> | undefined;
|
|
992
|
+
}>, 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<{
|
|
934
993
|
type: z.ZodLiteral<"defaultHook">;
|
|
935
994
|
}, "strip", z.ZodTypeAny, {
|
|
936
995
|
type: "defaultHook";
|
|
@@ -1024,7 +1083,32 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1024
1083
|
type: "opStackIsm";
|
|
1025
1084
|
origin: string;
|
|
1026
1085
|
nativeBridge: string;
|
|
1027
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1086
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1087
|
+
owner: z.ZodString;
|
|
1088
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1089
|
+
} & {
|
|
1090
|
+
paused: z.ZodBoolean;
|
|
1091
|
+
}, "strip", z.ZodTypeAny, {
|
|
1092
|
+
owner: string;
|
|
1093
|
+
paused: boolean;
|
|
1094
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1095
|
+
}, {
|
|
1096
|
+
owner: string;
|
|
1097
|
+
paused: boolean;
|
|
1098
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1099
|
+
}>, z.ZodObject<{
|
|
1100
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
1101
|
+
}, "strip", z.ZodTypeAny, {
|
|
1102
|
+
type: "pausableIsm";
|
|
1103
|
+
}, {
|
|
1104
|
+
type: "pausableIsm";
|
|
1105
|
+
}>>, z.ZodObject<{
|
|
1106
|
+
address: z.ZodString;
|
|
1107
|
+
}, "strip", z.ZodTypeAny, {
|
|
1108
|
+
address: string;
|
|
1109
|
+
}, {
|
|
1110
|
+
address: string;
|
|
1111
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1028
1112
|
owner: z.ZodString;
|
|
1029
1113
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1030
1114
|
} & {
|
|
@@ -1215,192 +1299,226 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1215
1299
|
}>>;
|
|
1216
1300
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1217
1301
|
owner: z.ZodString;
|
|
1302
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1218
1303
|
} & {
|
|
1219
1304
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1220
1305
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1221
|
-
type: z.ZodLiteral<
|
|
1306
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
1222
1307
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1223
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1224
|
-
type:
|
|
1309
|
+
type: "LinearFee";
|
|
1225
1310
|
owner: string;
|
|
1311
|
+
beneficiary?: string | undefined;
|
|
1226
1312
|
maxFee?: bigint | undefined;
|
|
1227
1313
|
halfAmount?: bigint | undefined;
|
|
1228
1314
|
bps?: number | undefined;
|
|
1229
1315
|
}, {
|
|
1230
|
-
type:
|
|
1316
|
+
type: "LinearFee";
|
|
1231
1317
|
owner: string;
|
|
1318
|
+
beneficiary?: string | undefined;
|
|
1232
1319
|
maxFee?: string | number | bigint | undefined;
|
|
1233
1320
|
halfAmount?: string | number | bigint | undefined;
|
|
1234
1321
|
bps?: string | number | undefined;
|
|
1235
1322
|
}>, {
|
|
1236
|
-
type:
|
|
1323
|
+
type: "LinearFee";
|
|
1237
1324
|
owner: string;
|
|
1325
|
+
beneficiary?: string | undefined;
|
|
1238
1326
|
maxFee?: bigint | undefined;
|
|
1239
1327
|
halfAmount?: bigint | undefined;
|
|
1240
1328
|
bps?: number | undefined;
|
|
1241
1329
|
}, {
|
|
1242
|
-
type:
|
|
1330
|
+
type: "LinearFee";
|
|
1243
1331
|
owner: string;
|
|
1332
|
+
beneficiary?: string | undefined;
|
|
1244
1333
|
maxFee?: string | number | bigint | undefined;
|
|
1245
1334
|
halfAmount?: string | number | bigint | undefined;
|
|
1246
1335
|
bps?: string | number | undefined;
|
|
1247
1336
|
}>, {
|
|
1248
1337
|
bps: number;
|
|
1249
|
-
type:
|
|
1338
|
+
type: "LinearFee";
|
|
1250
1339
|
owner: string;
|
|
1340
|
+
beneficiary?: string | undefined;
|
|
1251
1341
|
maxFee?: bigint | undefined;
|
|
1252
1342
|
halfAmount?: bigint | undefined;
|
|
1253
1343
|
}, {
|
|
1254
|
-
type:
|
|
1344
|
+
type: "LinearFee";
|
|
1255
1345
|
owner: string;
|
|
1346
|
+
beneficiary?: string | undefined;
|
|
1256
1347
|
maxFee?: string | number | bigint | undefined;
|
|
1257
1348
|
halfAmount?: string | number | bigint | undefined;
|
|
1258
1349
|
bps?: string | number | undefined;
|
|
1259
1350
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1260
1351
|
owner: z.ZodString;
|
|
1352
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1261
1353
|
} & {
|
|
1262
1354
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1263
1355
|
} & {
|
|
1264
1356
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1265
1357
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1266
|
-
type: z.ZodLiteral<
|
|
1358
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
1267
1359
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1268
1360
|
}, "strip", z.ZodTypeAny, {
|
|
1269
|
-
type:
|
|
1361
|
+
type: "OffchainQuotedLinearFee";
|
|
1270
1362
|
owner: string;
|
|
1363
|
+
beneficiary?: string | undefined;
|
|
1271
1364
|
maxFee?: bigint | undefined;
|
|
1272
1365
|
halfAmount?: bigint | undefined;
|
|
1273
1366
|
bps?: number | undefined;
|
|
1274
1367
|
quoteSigners?: string[] | undefined;
|
|
1275
1368
|
}, {
|
|
1276
|
-
type:
|
|
1369
|
+
type: "OffchainQuotedLinearFee";
|
|
1277
1370
|
owner: string;
|
|
1371
|
+
beneficiary?: string | undefined;
|
|
1278
1372
|
maxFee?: string | number | bigint | undefined;
|
|
1279
1373
|
halfAmount?: string | number | bigint | undefined;
|
|
1280
1374
|
bps?: string | number | undefined;
|
|
1281
1375
|
quoteSigners?: string[] | undefined;
|
|
1282
1376
|
}>, {
|
|
1283
|
-
type:
|
|
1377
|
+
type: "OffchainQuotedLinearFee";
|
|
1284
1378
|
owner: string;
|
|
1379
|
+
beneficiary?: string | undefined;
|
|
1285
1380
|
maxFee?: bigint | undefined;
|
|
1286
1381
|
halfAmount?: bigint | undefined;
|
|
1287
1382
|
bps?: number | undefined;
|
|
1288
1383
|
quoteSigners?: string[] | undefined;
|
|
1289
1384
|
}, {
|
|
1290
|
-
type:
|
|
1385
|
+
type: "OffchainQuotedLinearFee";
|
|
1291
1386
|
owner: string;
|
|
1387
|
+
beneficiary?: string | undefined;
|
|
1292
1388
|
maxFee?: string | number | bigint | undefined;
|
|
1293
1389
|
halfAmount?: string | number | bigint | undefined;
|
|
1294
1390
|
bps?: string | number | undefined;
|
|
1295
1391
|
quoteSigners?: string[] | undefined;
|
|
1296
1392
|
}>, {
|
|
1297
1393
|
bps: number;
|
|
1298
|
-
type:
|
|
1394
|
+
type: "OffchainQuotedLinearFee";
|
|
1299
1395
|
owner: string;
|
|
1396
|
+
beneficiary?: string | undefined;
|
|
1300
1397
|
maxFee?: bigint | undefined;
|
|
1301
1398
|
halfAmount?: bigint | undefined;
|
|
1302
1399
|
quoteSigners?: string[] | undefined;
|
|
1303
1400
|
}, {
|
|
1304
|
-
type:
|
|
1401
|
+
type: "OffchainQuotedLinearFee";
|
|
1305
1402
|
owner: string;
|
|
1403
|
+
beneficiary?: string | undefined;
|
|
1306
1404
|
maxFee?: string | number | bigint | undefined;
|
|
1307
1405
|
halfAmount?: string | number | bigint | undefined;
|
|
1308
1406
|
bps?: string | number | undefined;
|
|
1309
1407
|
quoteSigners?: string[] | undefined;
|
|
1310
1408
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1311
1409
|
owner: z.ZodString;
|
|
1410
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1312
1411
|
} & {
|
|
1313
|
-
type: z.ZodLiteral<
|
|
1412
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
1314
1413
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1315
1414
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1316
1415
|
}, "strip", z.ZodTypeAny, {
|
|
1317
|
-
type:
|
|
1416
|
+
type: "ProgressiveFee";
|
|
1318
1417
|
owner: string;
|
|
1319
1418
|
maxFee: bigint;
|
|
1320
1419
|
halfAmount: bigint;
|
|
1420
|
+
beneficiary?: string | undefined;
|
|
1321
1421
|
}, {
|
|
1322
|
-
type:
|
|
1422
|
+
type: "ProgressiveFee";
|
|
1323
1423
|
owner: string;
|
|
1324
1424
|
maxFee: string | number | bigint;
|
|
1325
1425
|
halfAmount: string | number | bigint;
|
|
1426
|
+
beneficiary?: string | undefined;
|
|
1326
1427
|
}>, {
|
|
1327
|
-
type:
|
|
1428
|
+
type: "ProgressiveFee";
|
|
1328
1429
|
owner: string;
|
|
1329
1430
|
maxFee: bigint;
|
|
1330
1431
|
halfAmount: bigint;
|
|
1432
|
+
beneficiary?: string | undefined;
|
|
1331
1433
|
}, {
|
|
1332
|
-
type:
|
|
1434
|
+
type: "ProgressiveFee";
|
|
1333
1435
|
owner: string;
|
|
1334
1436
|
maxFee: string | number | bigint;
|
|
1335
1437
|
halfAmount: string | number | bigint;
|
|
1438
|
+
beneficiary?: string | undefined;
|
|
1336
1439
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1337
1440
|
owner: z.ZodString;
|
|
1441
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1338
1442
|
} & {
|
|
1339
|
-
type: z.ZodLiteral<
|
|
1443
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
1340
1444
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1341
1445
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1342
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1343
|
-
type:
|
|
1447
|
+
type: "RegressiveFee";
|
|
1344
1448
|
owner: string;
|
|
1345
1449
|
maxFee: bigint;
|
|
1346
1450
|
halfAmount: bigint;
|
|
1451
|
+
beneficiary?: string | undefined;
|
|
1347
1452
|
}, {
|
|
1348
|
-
type:
|
|
1453
|
+
type: "RegressiveFee";
|
|
1349
1454
|
owner: string;
|
|
1350
1455
|
maxFee: string | number | bigint;
|
|
1351
1456
|
halfAmount: string | number | bigint;
|
|
1457
|
+
beneficiary?: string | undefined;
|
|
1352
1458
|
}>, {
|
|
1353
|
-
type:
|
|
1459
|
+
type: "RegressiveFee";
|
|
1354
1460
|
owner: string;
|
|
1355
1461
|
maxFee: bigint;
|
|
1356
1462
|
halfAmount: bigint;
|
|
1463
|
+
beneficiary?: string | undefined;
|
|
1357
1464
|
}, {
|
|
1358
|
-
type:
|
|
1465
|
+
type: "RegressiveFee";
|
|
1359
1466
|
owner: string;
|
|
1360
1467
|
maxFee: string | number | bigint;
|
|
1361
1468
|
halfAmount: string | number | bigint;
|
|
1469
|
+
beneficiary?: string | undefined;
|
|
1362
1470
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1363
1471
|
owner: z.ZodString;
|
|
1472
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1364
1473
|
} & {
|
|
1365
|
-
type: z.ZodLiteral<
|
|
1474
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
1366
1475
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1367
1476
|
}, "strip", z.ZodTypeAny, {
|
|
1368
|
-
type:
|
|
1477
|
+
type: "RoutingFee";
|
|
1369
1478
|
owner: string;
|
|
1370
1479
|
feeContracts: Record<string, any>;
|
|
1480
|
+
beneficiary?: string | undefined;
|
|
1371
1481
|
}, {
|
|
1372
|
-
type:
|
|
1482
|
+
type: "RoutingFee";
|
|
1373
1483
|
owner: string;
|
|
1374
1484
|
feeContracts: Record<string, any>;
|
|
1485
|
+
beneficiary?: string | undefined;
|
|
1375
1486
|
}>, {
|
|
1376
|
-
type:
|
|
1487
|
+
type: "RoutingFee";
|
|
1377
1488
|
owner: string;
|
|
1378
1489
|
feeContracts: Record<string, any>;
|
|
1490
|
+
beneficiary?: string | undefined;
|
|
1379
1491
|
}, {
|
|
1380
|
-
type:
|
|
1492
|
+
type: "RoutingFee";
|
|
1381
1493
|
owner: string;
|
|
1382
1494
|
feeContracts: Record<string, any>;
|
|
1495
|
+
beneficiary?: string | undefined;
|
|
1383
1496
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1384
1497
|
owner: z.ZodString;
|
|
1498
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1385
1499
|
} & {
|
|
1386
|
-
type: z.ZodLiteral<
|
|
1500
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
1387
1501
|
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>>>;
|
|
1388
1502
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
type:
|
|
1503
|
+
type: "CrossCollateralRoutingFee";
|
|
1390
1504
|
owner: string;
|
|
1391
1505
|
feeContracts: Record<string, Record<string, any>>;
|
|
1506
|
+
beneficiary?: string | undefined;
|
|
1392
1507
|
}, {
|
|
1393
|
-
type:
|
|
1508
|
+
type: "CrossCollateralRoutingFee";
|
|
1394
1509
|
owner: string;
|
|
1395
1510
|
feeContracts: Record<string, Record<string, any>>;
|
|
1511
|
+
beneficiary?: string | undefined;
|
|
1396
1512
|
}>, {
|
|
1397
|
-
type:
|
|
1513
|
+
type: "CrossCollateralRoutingFee";
|
|
1398
1514
|
owner: string;
|
|
1399
1515
|
feeContracts: Record<string, Record<string, any>>;
|
|
1516
|
+
beneficiary?: string | undefined;
|
|
1400
1517
|
}, {
|
|
1401
|
-
type:
|
|
1518
|
+
type: "CrossCollateralRoutingFee";
|
|
1402
1519
|
owner: string;
|
|
1403
1520
|
feeContracts: Record<string, Record<string, any>>;
|
|
1521
|
+
beneficiary?: string | undefined;
|
|
1404
1522
|
}>]>>;
|
|
1405
1523
|
}, "strip", z.ZodTypeAny, {
|
|
1406
1524
|
owner: string;
|
|
@@ -1431,12 +1549,18 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1431
1549
|
}>;
|
|
1432
1550
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1433
1551
|
quoteSigners?: string[] | undefined;
|
|
1552
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1434
1553
|
contractVersion?: string | undefined;
|
|
1554
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1555
|
+
gasPrice: string;
|
|
1556
|
+
tokenExchangeRate: string;
|
|
1557
|
+
tokenDecimals?: number | undefined;
|
|
1558
|
+
}>> | undefined;
|
|
1435
1559
|
} | {
|
|
1436
1560
|
type: "protocolFee";
|
|
1437
1561
|
owner: string;
|
|
1438
|
-
protocolFee: string;
|
|
1439
1562
|
beneficiary: string;
|
|
1563
|
+
protocolFee: string;
|
|
1440
1564
|
maxProtocolFee: string;
|
|
1441
1565
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1442
1566
|
} | {
|
|
@@ -1450,25 +1574,19 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1450
1574
|
nativeBridge: string;
|
|
1451
1575
|
destinationChain: string;
|
|
1452
1576
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1577
|
+
} | 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 | {
|
|
1578
|
+
type: "defaultHook";
|
|
1453
1579
|
} | {
|
|
1454
|
-
type: "
|
|
1580
|
+
type: "ccipHook";
|
|
1455
1581
|
destinationChain: string;
|
|
1456
|
-
arbSys: string;
|
|
1457
|
-
bridge?: string | undefined;
|
|
1458
|
-
childHook?: any;
|
|
1459
1582
|
} | {
|
|
1460
|
-
type: "
|
|
1583
|
+
type: "cctpHook";
|
|
1584
|
+
address: string;
|
|
1461
1585
|
} | {
|
|
1462
1586
|
type: "rateLimitedHook";
|
|
1463
1587
|
owner: string;
|
|
1464
1588
|
maxCapacity: string;
|
|
1465
1589
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1466
|
-
} | {
|
|
1467
|
-
type: "ccipHook";
|
|
1468
|
-
destinationChain: string;
|
|
1469
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1470
|
-
type: "cctpHook";
|
|
1471
|
-
address: string;
|
|
1472
1590
|
} | z.objectOutputType<{
|
|
1473
1591
|
type: z.ZodLiteral<"unknownHook">;
|
|
1474
1592
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1519,7 +1637,15 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1519
1637
|
owner: string;
|
|
1520
1638
|
urls: string[];
|
|
1521
1639
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1522
|
-
} |
|
|
1640
|
+
} | ({
|
|
1641
|
+
owner: string;
|
|
1642
|
+
paused: boolean;
|
|
1643
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1644
|
+
} & {
|
|
1645
|
+
type: "pausableIsm";
|
|
1646
|
+
} & {
|
|
1647
|
+
address: string;
|
|
1648
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1523
1649
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1524
1650
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1525
1651
|
foreignDeployment?: string | undefined;
|
|
@@ -1528,35 +1654,41 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1528
1654
|
}> | undefined;
|
|
1529
1655
|
tokenFee?: {
|
|
1530
1656
|
bps: number;
|
|
1531
|
-
type:
|
|
1657
|
+
type: "LinearFee";
|
|
1532
1658
|
owner: string;
|
|
1659
|
+
beneficiary?: string | undefined;
|
|
1533
1660
|
maxFee?: bigint | undefined;
|
|
1534
1661
|
halfAmount?: bigint | undefined;
|
|
1535
1662
|
} | {
|
|
1536
1663
|
bps: number;
|
|
1537
|
-
type:
|
|
1664
|
+
type: "OffchainQuotedLinearFee";
|
|
1538
1665
|
owner: string;
|
|
1666
|
+
beneficiary?: string | undefined;
|
|
1539
1667
|
maxFee?: bigint | undefined;
|
|
1540
1668
|
halfAmount?: bigint | undefined;
|
|
1541
1669
|
quoteSigners?: string[] | undefined;
|
|
1542
1670
|
} | {
|
|
1543
|
-
type:
|
|
1671
|
+
type: "ProgressiveFee";
|
|
1544
1672
|
owner: string;
|
|
1545
1673
|
maxFee: bigint;
|
|
1546
1674
|
halfAmount: bigint;
|
|
1675
|
+
beneficiary?: string | undefined;
|
|
1547
1676
|
} | {
|
|
1548
|
-
type:
|
|
1677
|
+
type: "RegressiveFee";
|
|
1549
1678
|
owner: string;
|
|
1550
1679
|
maxFee: bigint;
|
|
1551
1680
|
halfAmount: bigint;
|
|
1681
|
+
beneficiary?: string | undefined;
|
|
1552
1682
|
} | {
|
|
1553
|
-
type:
|
|
1683
|
+
type: "RoutingFee";
|
|
1554
1684
|
owner: string;
|
|
1555
1685
|
feeContracts: Record<string, any>;
|
|
1686
|
+
beneficiary?: string | undefined;
|
|
1556
1687
|
} | {
|
|
1557
|
-
type:
|
|
1688
|
+
type: "CrossCollateralRoutingFee";
|
|
1558
1689
|
owner: string;
|
|
1559
1690
|
feeContracts: Record<string, Record<string, any>>;
|
|
1691
|
+
beneficiary?: string | undefined;
|
|
1560
1692
|
} | undefined;
|
|
1561
1693
|
}, {
|
|
1562
1694
|
owner: string;
|
|
@@ -1587,12 +1719,18 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1587
1719
|
}>;
|
|
1588
1720
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1589
1721
|
quoteSigners?: string[] | undefined;
|
|
1722
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1590
1723
|
contractVersion?: string | undefined;
|
|
1724
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1725
|
+
gasPrice: string;
|
|
1726
|
+
tokenExchangeRate: string;
|
|
1727
|
+
tokenDecimals?: number | undefined;
|
|
1728
|
+
}>> | undefined;
|
|
1591
1729
|
} | {
|
|
1592
1730
|
type: "protocolFee";
|
|
1593
1731
|
owner: string;
|
|
1594
|
-
protocolFee: string;
|
|
1595
1732
|
beneficiary: string;
|
|
1733
|
+
protocolFee: string;
|
|
1596
1734
|
maxProtocolFee: string;
|
|
1597
1735
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1598
1736
|
} | {
|
|
@@ -1606,25 +1744,19 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1606
1744
|
nativeBridge: string;
|
|
1607
1745
|
destinationChain: string;
|
|
1608
1746
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1747
|
+
} | 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 | {
|
|
1748
|
+
type: "defaultHook";
|
|
1609
1749
|
} | {
|
|
1610
|
-
type: "
|
|
1750
|
+
type: "ccipHook";
|
|
1611
1751
|
destinationChain: string;
|
|
1612
|
-
arbSys: string;
|
|
1613
|
-
bridge?: string | undefined;
|
|
1614
|
-
childHook?: any;
|
|
1615
1752
|
} | {
|
|
1616
|
-
type: "
|
|
1753
|
+
type: "cctpHook";
|
|
1754
|
+
address: string;
|
|
1617
1755
|
} | {
|
|
1618
1756
|
type: "rateLimitedHook";
|
|
1619
1757
|
owner: string;
|
|
1620
1758
|
maxCapacity: string;
|
|
1621
1759
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1622
|
-
} | {
|
|
1623
|
-
type: "ccipHook";
|
|
1624
|
-
destinationChain: string;
|
|
1625
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
1626
|
-
type: "cctpHook";
|
|
1627
|
-
address: string;
|
|
1628
1760
|
} | z.objectInputType<{
|
|
1629
1761
|
type: z.ZodLiteral<"unknownHook">;
|
|
1630
1762
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1675,7 +1807,15 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1675
1807
|
owner: string;
|
|
1676
1808
|
urls: string[];
|
|
1677
1809
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1678
|
-
} | {
|
|
1810
|
+
} | ({
|
|
1811
|
+
owner: string;
|
|
1812
|
+
paused: boolean;
|
|
1813
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1814
|
+
} & {
|
|
1815
|
+
type: "pausableIsm";
|
|
1816
|
+
} & {
|
|
1817
|
+
address: string;
|
|
1818
|
+
}) | {
|
|
1679
1819
|
type: "interchainAccountRouting";
|
|
1680
1820
|
owner: string;
|
|
1681
1821
|
isms: Record<string, string>;
|
|
@@ -1688,36 +1828,42 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
1688
1828
|
address: string;
|
|
1689
1829
|
}> | undefined;
|
|
1690
1830
|
tokenFee?: {
|
|
1691
|
-
type:
|
|
1831
|
+
type: "LinearFee";
|
|
1692
1832
|
owner: string;
|
|
1833
|
+
beneficiary?: string | undefined;
|
|
1693
1834
|
maxFee?: string | number | bigint | undefined;
|
|
1694
1835
|
halfAmount?: string | number | bigint | undefined;
|
|
1695
1836
|
bps?: string | number | undefined;
|
|
1696
1837
|
} | {
|
|
1697
|
-
type:
|
|
1838
|
+
type: "OffchainQuotedLinearFee";
|
|
1698
1839
|
owner: string;
|
|
1840
|
+
beneficiary?: string | undefined;
|
|
1699
1841
|
maxFee?: string | number | bigint | undefined;
|
|
1700
1842
|
halfAmount?: string | number | bigint | undefined;
|
|
1701
1843
|
bps?: string | number | undefined;
|
|
1702
1844
|
quoteSigners?: string[] | undefined;
|
|
1703
1845
|
} | {
|
|
1704
|
-
type:
|
|
1846
|
+
type: "ProgressiveFee";
|
|
1705
1847
|
owner: string;
|
|
1706
1848
|
maxFee: string | number | bigint;
|
|
1707
1849
|
halfAmount: string | number | bigint;
|
|
1850
|
+
beneficiary?: string | undefined;
|
|
1708
1851
|
} | {
|
|
1709
|
-
type:
|
|
1852
|
+
type: "RegressiveFee";
|
|
1710
1853
|
owner: string;
|
|
1711
1854
|
maxFee: string | number | bigint;
|
|
1712
1855
|
halfAmount: string | number | bigint;
|
|
1856
|
+
beneficiary?: string | undefined;
|
|
1713
1857
|
} | {
|
|
1714
|
-
type:
|
|
1858
|
+
type: "RoutingFee";
|
|
1715
1859
|
owner: string;
|
|
1716
1860
|
feeContracts: Record<string, any>;
|
|
1861
|
+
beneficiary?: string | undefined;
|
|
1717
1862
|
} | {
|
|
1718
|
-
type:
|
|
1863
|
+
type: "CrossCollateralRoutingFee";
|
|
1719
1864
|
owner: string;
|
|
1720
1865
|
feeContracts: Record<string, Record<string, any>>;
|
|
1866
|
+
beneficiary?: string | undefined;
|
|
1721
1867
|
} | undefined;
|
|
1722
1868
|
}>;
|
|
1723
1869
|
export declare const DestinationGasSchema: z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>;
|
|
@@ -1737,15 +1883,15 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1737
1883
|
}, "strip", z.ZodTypeAny, {
|
|
1738
1884
|
type: "protocolFee";
|
|
1739
1885
|
owner: string;
|
|
1740
|
-
protocolFee: string;
|
|
1741
1886
|
beneficiary: string;
|
|
1887
|
+
protocolFee: string;
|
|
1742
1888
|
maxProtocolFee: string;
|
|
1743
1889
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1744
1890
|
}, {
|
|
1745
1891
|
type: "protocolFee";
|
|
1746
1892
|
owner: string;
|
|
1747
|
-
protocolFee: string;
|
|
1748
1893
|
beneficiary: string;
|
|
1894
|
+
protocolFee: string;
|
|
1749
1895
|
maxProtocolFee: string;
|
|
1750
1896
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1751
1897
|
}>, z.ZodObject<{
|
|
@@ -1836,8 +1982,23 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1836
1982
|
totalUsdCost: number;
|
|
1837
1983
|
} | undefined;
|
|
1838
1984
|
}>>;
|
|
1985
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
1839
1986
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1840
1987
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1989
|
+
gasPrice: z.ZodString;
|
|
1990
|
+
tokenExchangeRate: z.ZodString;
|
|
1991
|
+
} & {
|
|
1992
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
gasPrice: string;
|
|
1995
|
+
tokenExchangeRate: string;
|
|
1996
|
+
tokenDecimals?: number | undefined;
|
|
1997
|
+
}, {
|
|
1998
|
+
gasPrice: string;
|
|
1999
|
+
tokenExchangeRate: string;
|
|
2000
|
+
tokenDecimals?: number | undefined;
|
|
2001
|
+
}>>>>;
|
|
1841
2002
|
}, "strip", z.ZodTypeAny, {
|
|
1842
2003
|
type: "interchainGasPaymaster";
|
|
1843
2004
|
owner: string;
|
|
@@ -1856,7 +2017,13 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1856
2017
|
}>;
|
|
1857
2018
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1858
2019
|
quoteSigners?: string[] | undefined;
|
|
2020
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1859
2021
|
contractVersion?: string | undefined;
|
|
2022
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2023
|
+
gasPrice: string;
|
|
2024
|
+
tokenExchangeRate: string;
|
|
2025
|
+
tokenDecimals?: number | undefined;
|
|
2026
|
+
}>> | undefined;
|
|
1860
2027
|
}, {
|
|
1861
2028
|
type: "interchainGasPaymaster";
|
|
1862
2029
|
owner: string;
|
|
@@ -1875,26 +2042,14 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1875
2042
|
}>;
|
|
1876
2043
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1877
2044
|
quoteSigners?: string[] | undefined;
|
|
2045
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
1878
2046
|
contractVersion?: string | undefined;
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
}, "strip", z.ZodTypeAny, {
|
|
1886
|
-
type: "arbL2ToL1Hook";
|
|
1887
|
-
destinationChain: string;
|
|
1888
|
-
arbSys: string;
|
|
1889
|
-
bridge?: string | undefined;
|
|
1890
|
-
childHook?: any;
|
|
1891
|
-
}, {
|
|
1892
|
-
type: "arbL2ToL1Hook";
|
|
1893
|
-
destinationChain: string;
|
|
1894
|
-
arbSys: string;
|
|
1895
|
-
bridge?: string | undefined;
|
|
1896
|
-
childHook?: any;
|
|
1897
|
-
}>, z.ZodObject<{
|
|
2047
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2048
|
+
gasPrice: string;
|
|
2049
|
+
tokenExchangeRate: string;
|
|
2050
|
+
tokenDecimals?: number | undefined;
|
|
2051
|
+
}>> | undefined;
|
|
2052
|
+
}>, 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<{
|
|
1898
2053
|
type: z.ZodLiteral<"defaultHook">;
|
|
1899
2054
|
}, "strip", z.ZodTypeAny, {
|
|
1900
2055
|
type: "defaultHook";
|
|
@@ -1988,7 +2143,32 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
1988
2143
|
type: "opStackIsm";
|
|
1989
2144
|
origin: string;
|
|
1990
2145
|
nativeBridge: string;
|
|
1991
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
2146
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
2147
|
+
owner: z.ZodString;
|
|
2148
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2149
|
+
} & {
|
|
2150
|
+
paused: z.ZodBoolean;
|
|
2151
|
+
}, "strip", z.ZodTypeAny, {
|
|
2152
|
+
owner: string;
|
|
2153
|
+
paused: boolean;
|
|
2154
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2155
|
+
}, {
|
|
2156
|
+
owner: string;
|
|
2157
|
+
paused: boolean;
|
|
2158
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2159
|
+
}>, z.ZodObject<{
|
|
2160
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
2161
|
+
}, "strip", z.ZodTypeAny, {
|
|
2162
|
+
type: "pausableIsm";
|
|
2163
|
+
}, {
|
|
2164
|
+
type: "pausableIsm";
|
|
2165
|
+
}>>, z.ZodObject<{
|
|
2166
|
+
address: z.ZodString;
|
|
2167
|
+
}, "strip", z.ZodTypeAny, {
|
|
2168
|
+
address: string;
|
|
2169
|
+
}, {
|
|
2170
|
+
address: string;
|
|
2171
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1992
2172
|
owner: z.ZodString;
|
|
1993
2173
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1994
2174
|
} & {
|
|
@@ -2179,196 +2359,231 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2179
2359
|
}>>;
|
|
2180
2360
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2181
2361
|
owner: z.ZodString;
|
|
2362
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2182
2363
|
} & {
|
|
2183
2364
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
2184
2365
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
2185
|
-
type: z.ZodLiteral<
|
|
2366
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
2186
2367
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
2187
2368
|
}, "strip", z.ZodTypeAny, {
|
|
2188
|
-
type:
|
|
2369
|
+
type: "LinearFee";
|
|
2189
2370
|
owner: string;
|
|
2371
|
+
beneficiary?: string | undefined;
|
|
2190
2372
|
maxFee?: bigint | undefined;
|
|
2191
2373
|
halfAmount?: bigint | undefined;
|
|
2192
2374
|
bps?: number | undefined;
|
|
2193
2375
|
}, {
|
|
2194
|
-
type:
|
|
2376
|
+
type: "LinearFee";
|
|
2195
2377
|
owner: string;
|
|
2378
|
+
beneficiary?: string | undefined;
|
|
2196
2379
|
maxFee?: string | number | bigint | undefined;
|
|
2197
2380
|
halfAmount?: string | number | bigint | undefined;
|
|
2198
2381
|
bps?: string | number | undefined;
|
|
2199
2382
|
}>, {
|
|
2200
|
-
type:
|
|
2383
|
+
type: "LinearFee";
|
|
2201
2384
|
owner: string;
|
|
2385
|
+
beneficiary?: string | undefined;
|
|
2202
2386
|
maxFee?: bigint | undefined;
|
|
2203
2387
|
halfAmount?: bigint | undefined;
|
|
2204
2388
|
bps?: number | undefined;
|
|
2205
2389
|
}, {
|
|
2206
|
-
type:
|
|
2390
|
+
type: "LinearFee";
|
|
2207
2391
|
owner: string;
|
|
2392
|
+
beneficiary?: string | undefined;
|
|
2208
2393
|
maxFee?: string | number | bigint | undefined;
|
|
2209
2394
|
halfAmount?: string | number | bigint | undefined;
|
|
2210
2395
|
bps?: string | number | undefined;
|
|
2211
2396
|
}>, {
|
|
2212
2397
|
bps: number;
|
|
2213
|
-
type:
|
|
2398
|
+
type: "LinearFee";
|
|
2214
2399
|
owner: string;
|
|
2400
|
+
beneficiary?: string | undefined;
|
|
2215
2401
|
maxFee?: bigint | undefined;
|
|
2216
2402
|
halfAmount?: bigint | undefined;
|
|
2217
2403
|
}, {
|
|
2218
|
-
type:
|
|
2404
|
+
type: "LinearFee";
|
|
2219
2405
|
owner: string;
|
|
2406
|
+
beneficiary?: string | undefined;
|
|
2220
2407
|
maxFee?: string | number | bigint | undefined;
|
|
2221
2408
|
halfAmount?: string | number | bigint | undefined;
|
|
2222
2409
|
bps?: string | number | undefined;
|
|
2223
2410
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
2224
2411
|
owner: z.ZodString;
|
|
2412
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2225
2413
|
} & {
|
|
2226
2414
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2227
2415
|
} & {
|
|
2228
2416
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
2229
2417
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
2230
|
-
type: z.ZodLiteral<
|
|
2418
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
2231
2419
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
2232
2420
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
type:
|
|
2421
|
+
type: "OffchainQuotedLinearFee";
|
|
2234
2422
|
owner: string;
|
|
2423
|
+
beneficiary?: string | undefined;
|
|
2235
2424
|
maxFee?: bigint | undefined;
|
|
2236
2425
|
halfAmount?: bigint | undefined;
|
|
2237
2426
|
bps?: number | undefined;
|
|
2238
2427
|
quoteSigners?: string[] | undefined;
|
|
2239
2428
|
}, {
|
|
2240
|
-
type:
|
|
2429
|
+
type: "OffchainQuotedLinearFee";
|
|
2241
2430
|
owner: string;
|
|
2431
|
+
beneficiary?: string | undefined;
|
|
2242
2432
|
maxFee?: string | number | bigint | undefined;
|
|
2243
2433
|
halfAmount?: string | number | bigint | undefined;
|
|
2244
2434
|
bps?: string | number | undefined;
|
|
2245
2435
|
quoteSigners?: string[] | undefined;
|
|
2246
2436
|
}>, {
|
|
2247
|
-
type:
|
|
2437
|
+
type: "OffchainQuotedLinearFee";
|
|
2248
2438
|
owner: string;
|
|
2439
|
+
beneficiary?: string | undefined;
|
|
2249
2440
|
maxFee?: bigint | undefined;
|
|
2250
2441
|
halfAmount?: bigint | undefined;
|
|
2251
2442
|
bps?: number | undefined;
|
|
2252
2443
|
quoteSigners?: string[] | undefined;
|
|
2253
2444
|
}, {
|
|
2254
|
-
type:
|
|
2445
|
+
type: "OffchainQuotedLinearFee";
|
|
2255
2446
|
owner: string;
|
|
2447
|
+
beneficiary?: string | undefined;
|
|
2256
2448
|
maxFee?: string | number | bigint | undefined;
|
|
2257
2449
|
halfAmount?: string | number | bigint | undefined;
|
|
2258
2450
|
bps?: string | number | undefined;
|
|
2259
2451
|
quoteSigners?: string[] | undefined;
|
|
2260
2452
|
}>, {
|
|
2261
2453
|
bps: number;
|
|
2262
|
-
type:
|
|
2454
|
+
type: "OffchainQuotedLinearFee";
|
|
2263
2455
|
owner: string;
|
|
2456
|
+
beneficiary?: string | undefined;
|
|
2264
2457
|
maxFee?: bigint | undefined;
|
|
2265
2458
|
halfAmount?: bigint | undefined;
|
|
2266
2459
|
quoteSigners?: string[] | undefined;
|
|
2267
2460
|
}, {
|
|
2268
|
-
type:
|
|
2461
|
+
type: "OffchainQuotedLinearFee";
|
|
2269
2462
|
owner: string;
|
|
2463
|
+
beneficiary?: string | undefined;
|
|
2270
2464
|
maxFee?: string | number | bigint | undefined;
|
|
2271
2465
|
halfAmount?: string | number | bigint | undefined;
|
|
2272
2466
|
bps?: string | number | undefined;
|
|
2273
2467
|
quoteSigners?: string[] | undefined;
|
|
2274
2468
|
}>, z.ZodEffects<z.ZodObject<{
|
|
2275
2469
|
owner: z.ZodString;
|
|
2470
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2276
2471
|
} & {
|
|
2277
|
-
type: z.ZodLiteral<
|
|
2472
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
2278
2473
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
2279
2474
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
2280
2475
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
type:
|
|
2476
|
+
type: "ProgressiveFee";
|
|
2282
2477
|
owner: string;
|
|
2283
2478
|
maxFee: bigint;
|
|
2284
2479
|
halfAmount: bigint;
|
|
2480
|
+
beneficiary?: string | undefined;
|
|
2285
2481
|
}, {
|
|
2286
|
-
type:
|
|
2482
|
+
type: "ProgressiveFee";
|
|
2287
2483
|
owner: string;
|
|
2288
2484
|
maxFee: string | number | bigint;
|
|
2289
2485
|
halfAmount: string | number | bigint;
|
|
2486
|
+
beneficiary?: string | undefined;
|
|
2290
2487
|
}>, {
|
|
2291
|
-
type:
|
|
2488
|
+
type: "ProgressiveFee";
|
|
2292
2489
|
owner: string;
|
|
2293
2490
|
maxFee: bigint;
|
|
2294
2491
|
halfAmount: bigint;
|
|
2492
|
+
beneficiary?: string | undefined;
|
|
2295
2493
|
}, {
|
|
2296
|
-
type:
|
|
2494
|
+
type: "ProgressiveFee";
|
|
2297
2495
|
owner: string;
|
|
2298
2496
|
maxFee: string | number | bigint;
|
|
2299
2497
|
halfAmount: string | number | bigint;
|
|
2498
|
+
beneficiary?: string | undefined;
|
|
2300
2499
|
}>, z.ZodEffects<z.ZodObject<{
|
|
2301
2500
|
owner: z.ZodString;
|
|
2501
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2302
2502
|
} & {
|
|
2303
|
-
type: z.ZodLiteral<
|
|
2503
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
2304
2504
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
2305
2505
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
2306
2506
|
}, "strip", z.ZodTypeAny, {
|
|
2307
|
-
type:
|
|
2507
|
+
type: "RegressiveFee";
|
|
2308
2508
|
owner: string;
|
|
2309
2509
|
maxFee: bigint;
|
|
2310
2510
|
halfAmount: bigint;
|
|
2511
|
+
beneficiary?: string | undefined;
|
|
2311
2512
|
}, {
|
|
2312
|
-
type:
|
|
2513
|
+
type: "RegressiveFee";
|
|
2313
2514
|
owner: string;
|
|
2314
2515
|
maxFee: string | number | bigint;
|
|
2315
2516
|
halfAmount: string | number | bigint;
|
|
2517
|
+
beneficiary?: string | undefined;
|
|
2316
2518
|
}>, {
|
|
2317
|
-
type:
|
|
2519
|
+
type: "RegressiveFee";
|
|
2318
2520
|
owner: string;
|
|
2319
2521
|
maxFee: bigint;
|
|
2320
2522
|
halfAmount: bigint;
|
|
2523
|
+
beneficiary?: string | undefined;
|
|
2321
2524
|
}, {
|
|
2322
|
-
type:
|
|
2525
|
+
type: "RegressiveFee";
|
|
2323
2526
|
owner: string;
|
|
2324
2527
|
maxFee: string | number | bigint;
|
|
2325
2528
|
halfAmount: string | number | bigint;
|
|
2529
|
+
beneficiary?: string | undefined;
|
|
2326
2530
|
}>, z.ZodEffects<z.ZodObject<{
|
|
2327
2531
|
owner: z.ZodString;
|
|
2532
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2328
2533
|
} & {
|
|
2329
|
-
type: z.ZodLiteral<
|
|
2534
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
2330
2535
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
2331
2536
|
}, "strip", z.ZodTypeAny, {
|
|
2332
|
-
type:
|
|
2537
|
+
type: "RoutingFee";
|
|
2333
2538
|
owner: string;
|
|
2334
2539
|
feeContracts: Record<string, any>;
|
|
2540
|
+
beneficiary?: string | undefined;
|
|
2335
2541
|
}, {
|
|
2336
|
-
type:
|
|
2542
|
+
type: "RoutingFee";
|
|
2337
2543
|
owner: string;
|
|
2338
2544
|
feeContracts: Record<string, any>;
|
|
2545
|
+
beneficiary?: string | undefined;
|
|
2339
2546
|
}>, {
|
|
2340
|
-
type:
|
|
2547
|
+
type: "RoutingFee";
|
|
2341
2548
|
owner: string;
|
|
2342
2549
|
feeContracts: Record<string, any>;
|
|
2550
|
+
beneficiary?: string | undefined;
|
|
2343
2551
|
}, {
|
|
2344
|
-
type:
|
|
2552
|
+
type: "RoutingFee";
|
|
2345
2553
|
owner: string;
|
|
2346
2554
|
feeContracts: Record<string, any>;
|
|
2555
|
+
beneficiary?: string | undefined;
|
|
2347
2556
|
}>, z.ZodEffects<z.ZodObject<{
|
|
2348
2557
|
owner: z.ZodString;
|
|
2558
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
2349
2559
|
} & {
|
|
2350
|
-
type: z.ZodLiteral<
|
|
2560
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
2351
2561
|
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>>>;
|
|
2352
2562
|
}, "strip", z.ZodTypeAny, {
|
|
2353
|
-
type:
|
|
2563
|
+
type: "CrossCollateralRoutingFee";
|
|
2354
2564
|
owner: string;
|
|
2355
2565
|
feeContracts: Record<string, Record<string, any>>;
|
|
2566
|
+
beneficiary?: string | undefined;
|
|
2356
2567
|
}, {
|
|
2357
|
-
type:
|
|
2568
|
+
type: "CrossCollateralRoutingFee";
|
|
2358
2569
|
owner: string;
|
|
2359
2570
|
feeContracts: Record<string, Record<string, any>>;
|
|
2571
|
+
beneficiary?: string | undefined;
|
|
2360
2572
|
}>, {
|
|
2361
|
-
type:
|
|
2573
|
+
type: "CrossCollateralRoutingFee";
|
|
2362
2574
|
owner: string;
|
|
2363
2575
|
feeContracts: Record<string, Record<string, any>>;
|
|
2576
|
+
beneficiary?: string | undefined;
|
|
2364
2577
|
}, {
|
|
2365
|
-
type:
|
|
2578
|
+
type: "CrossCollateralRoutingFee";
|
|
2366
2579
|
owner: string;
|
|
2367
2580
|
feeContracts: Record<string, Record<string, any>>;
|
|
2581
|
+
beneficiary?: string | undefined;
|
|
2368
2582
|
}>]>>;
|
|
2369
2583
|
} & {
|
|
2370
2584
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
2371
2585
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
2586
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
2372
2587
|
}, "strip", z.ZodTypeAny, {
|
|
2373
2588
|
owner: string;
|
|
2374
2589
|
mailbox: string;
|
|
@@ -2399,12 +2614,18 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2399
2614
|
}>;
|
|
2400
2615
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2401
2616
|
quoteSigners?: string[] | undefined;
|
|
2617
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2402
2618
|
contractVersion?: string | undefined;
|
|
2619
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2620
|
+
gasPrice: string;
|
|
2621
|
+
tokenExchangeRate: string;
|
|
2622
|
+
tokenDecimals?: number | undefined;
|
|
2623
|
+
}>> | undefined;
|
|
2403
2624
|
} | {
|
|
2404
2625
|
type: "protocolFee";
|
|
2405
2626
|
owner: string;
|
|
2406
|
-
protocolFee: string;
|
|
2407
2627
|
beneficiary: string;
|
|
2628
|
+
protocolFee: string;
|
|
2408
2629
|
maxProtocolFee: string;
|
|
2409
2630
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2410
2631
|
} | {
|
|
@@ -2418,25 +2639,19 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2418
2639
|
nativeBridge: string;
|
|
2419
2640
|
destinationChain: string;
|
|
2420
2641
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2642
|
+
} | 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 | {
|
|
2643
|
+
type: "defaultHook";
|
|
2421
2644
|
} | {
|
|
2422
|
-
type: "
|
|
2645
|
+
type: "ccipHook";
|
|
2423
2646
|
destinationChain: string;
|
|
2424
|
-
arbSys: string;
|
|
2425
|
-
bridge?: string | undefined;
|
|
2426
|
-
childHook?: any;
|
|
2427
2647
|
} | {
|
|
2428
|
-
type: "
|
|
2648
|
+
type: "cctpHook";
|
|
2649
|
+
address: string;
|
|
2429
2650
|
} | {
|
|
2430
2651
|
type: "rateLimitedHook";
|
|
2431
2652
|
owner: string;
|
|
2432
2653
|
maxCapacity: string;
|
|
2433
2654
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2434
|
-
} | {
|
|
2435
|
-
type: "ccipHook";
|
|
2436
|
-
destinationChain: string;
|
|
2437
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2438
|
-
type: "cctpHook";
|
|
2439
|
-
address: string;
|
|
2440
2655
|
} | z.objectOutputType<{
|
|
2441
2656
|
type: z.ZodLiteral<"unknownHook">;
|
|
2442
2657
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2487,7 +2702,15 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2487
2702
|
owner: string;
|
|
2488
2703
|
urls: string[];
|
|
2489
2704
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2490
|
-
} |
|
|
2705
|
+
} | ({
|
|
2706
|
+
owner: string;
|
|
2707
|
+
paused: boolean;
|
|
2708
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2709
|
+
} & {
|
|
2710
|
+
type: "pausableIsm";
|
|
2711
|
+
} & {
|
|
2712
|
+
address: string;
|
|
2713
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2491
2714
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2492
2715
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2493
2716
|
foreignDeployment?: string | undefined;
|
|
@@ -2496,37 +2719,44 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2496
2719
|
}> | undefined;
|
|
2497
2720
|
tokenFee?: {
|
|
2498
2721
|
bps: number;
|
|
2499
|
-
type:
|
|
2722
|
+
type: "LinearFee";
|
|
2500
2723
|
owner: string;
|
|
2724
|
+
beneficiary?: string | undefined;
|
|
2501
2725
|
maxFee?: bigint | undefined;
|
|
2502
2726
|
halfAmount?: bigint | undefined;
|
|
2503
2727
|
} | {
|
|
2504
2728
|
bps: number;
|
|
2505
|
-
type:
|
|
2729
|
+
type: "OffchainQuotedLinearFee";
|
|
2506
2730
|
owner: string;
|
|
2731
|
+
beneficiary?: string | undefined;
|
|
2507
2732
|
maxFee?: bigint | undefined;
|
|
2508
2733
|
halfAmount?: bigint | undefined;
|
|
2509
2734
|
quoteSigners?: string[] | undefined;
|
|
2510
2735
|
} | {
|
|
2511
|
-
type:
|
|
2736
|
+
type: "ProgressiveFee";
|
|
2512
2737
|
owner: string;
|
|
2513
2738
|
maxFee: bigint;
|
|
2514
2739
|
halfAmount: bigint;
|
|
2740
|
+
beneficiary?: string | undefined;
|
|
2515
2741
|
} | {
|
|
2516
|
-
type:
|
|
2742
|
+
type: "RegressiveFee";
|
|
2517
2743
|
owner: string;
|
|
2518
2744
|
maxFee: bigint;
|
|
2519
2745
|
halfAmount: bigint;
|
|
2746
|
+
beneficiary?: string | undefined;
|
|
2520
2747
|
} | {
|
|
2521
|
-
type:
|
|
2748
|
+
type: "RoutingFee";
|
|
2522
2749
|
owner: string;
|
|
2523
2750
|
feeContracts: Record<string, any>;
|
|
2751
|
+
beneficiary?: string | undefined;
|
|
2524
2752
|
} | {
|
|
2525
|
-
type:
|
|
2753
|
+
type: "CrossCollateralRoutingFee";
|
|
2526
2754
|
owner: string;
|
|
2527
2755
|
feeContracts: Record<string, Record<string, any>>;
|
|
2756
|
+
beneficiary?: string | undefined;
|
|
2528
2757
|
} | undefined;
|
|
2529
2758
|
destinationGas?: Record<string | number, string> | undefined;
|
|
2759
|
+
feeHook?: string | undefined;
|
|
2530
2760
|
}, {
|
|
2531
2761
|
owner: string;
|
|
2532
2762
|
mailbox: string;
|
|
@@ -2557,12 +2787,18 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2557
2787
|
}>;
|
|
2558
2788
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2559
2789
|
quoteSigners?: string[] | undefined;
|
|
2790
|
+
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
2560
2791
|
contractVersion?: string | undefined;
|
|
2792
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2793
|
+
gasPrice: string;
|
|
2794
|
+
tokenExchangeRate: string;
|
|
2795
|
+
tokenDecimals?: number | undefined;
|
|
2796
|
+
}>> | undefined;
|
|
2561
2797
|
} | {
|
|
2562
2798
|
type: "protocolFee";
|
|
2563
2799
|
owner: string;
|
|
2564
|
-
protocolFee: string;
|
|
2565
2800
|
beneficiary: string;
|
|
2801
|
+
protocolFee: string;
|
|
2566
2802
|
maxProtocolFee: string;
|
|
2567
2803
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2568
2804
|
} | {
|
|
@@ -2576,25 +2812,19 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2576
2812
|
nativeBridge: string;
|
|
2577
2813
|
destinationChain: string;
|
|
2578
2814
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2815
|
+
} | 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 | {
|
|
2816
|
+
type: "defaultHook";
|
|
2579
2817
|
} | {
|
|
2580
|
-
type: "
|
|
2818
|
+
type: "ccipHook";
|
|
2581
2819
|
destinationChain: string;
|
|
2582
|
-
arbSys: string;
|
|
2583
|
-
bridge?: string | undefined;
|
|
2584
|
-
childHook?: any;
|
|
2585
2820
|
} | {
|
|
2586
|
-
type: "
|
|
2821
|
+
type: "cctpHook";
|
|
2822
|
+
address: string;
|
|
2587
2823
|
} | {
|
|
2588
2824
|
type: "rateLimitedHook";
|
|
2589
2825
|
owner: string;
|
|
2590
2826
|
maxCapacity: string;
|
|
2591
2827
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2592
|
-
} | {
|
|
2593
|
-
type: "ccipHook";
|
|
2594
|
-
destinationChain: string;
|
|
2595
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
|
|
2596
|
-
type: "cctpHook";
|
|
2597
|
-
address: string;
|
|
2598
2828
|
} | z.objectInputType<{
|
|
2599
2829
|
type: z.ZodLiteral<"unknownHook">;
|
|
2600
2830
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2645,7 +2875,15 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2645
2875
|
owner: string;
|
|
2646
2876
|
urls: string[];
|
|
2647
2877
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2648
|
-
} | {
|
|
2878
|
+
} | ({
|
|
2879
|
+
owner: string;
|
|
2880
|
+
paused: boolean;
|
|
2881
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2882
|
+
} & {
|
|
2883
|
+
type: "pausableIsm";
|
|
2884
|
+
} & {
|
|
2885
|
+
address: string;
|
|
2886
|
+
}) | {
|
|
2649
2887
|
type: "interchainAccountRouting";
|
|
2650
2888
|
owner: string;
|
|
2651
2889
|
isms: Record<string, string>;
|
|
@@ -2658,37 +2896,44 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
2658
2896
|
address: string;
|
|
2659
2897
|
}> | undefined;
|
|
2660
2898
|
tokenFee?: {
|
|
2661
|
-
type:
|
|
2899
|
+
type: "LinearFee";
|
|
2662
2900
|
owner: string;
|
|
2901
|
+
beneficiary?: string | undefined;
|
|
2663
2902
|
maxFee?: string | number | bigint | undefined;
|
|
2664
2903
|
halfAmount?: string | number | bigint | undefined;
|
|
2665
2904
|
bps?: string | number | undefined;
|
|
2666
2905
|
} | {
|
|
2667
|
-
type:
|
|
2906
|
+
type: "OffchainQuotedLinearFee";
|
|
2668
2907
|
owner: string;
|
|
2908
|
+
beneficiary?: string | undefined;
|
|
2669
2909
|
maxFee?: string | number | bigint | undefined;
|
|
2670
2910
|
halfAmount?: string | number | bigint | undefined;
|
|
2671
2911
|
bps?: string | number | undefined;
|
|
2672
2912
|
quoteSigners?: string[] | undefined;
|
|
2673
2913
|
} | {
|
|
2674
|
-
type:
|
|
2914
|
+
type: "ProgressiveFee";
|
|
2675
2915
|
owner: string;
|
|
2676
2916
|
maxFee: string | number | bigint;
|
|
2677
2917
|
halfAmount: string | number | bigint;
|
|
2918
|
+
beneficiary?: string | undefined;
|
|
2678
2919
|
} | {
|
|
2679
|
-
type:
|
|
2920
|
+
type: "RegressiveFee";
|
|
2680
2921
|
owner: string;
|
|
2681
2922
|
maxFee: string | number | bigint;
|
|
2682
2923
|
halfAmount: string | number | bigint;
|
|
2924
|
+
beneficiary?: string | undefined;
|
|
2683
2925
|
} | {
|
|
2684
|
-
type:
|
|
2926
|
+
type: "RoutingFee";
|
|
2685
2927
|
owner: string;
|
|
2686
2928
|
feeContracts: Record<string, any>;
|
|
2929
|
+
beneficiary?: string | undefined;
|
|
2687
2930
|
} | {
|
|
2688
|
-
type:
|
|
2931
|
+
type: "CrossCollateralRoutingFee";
|
|
2689
2932
|
owner: string;
|
|
2690
2933
|
feeContracts: Record<string, Record<string, any>>;
|
|
2934
|
+
beneficiary?: string | undefined;
|
|
2691
2935
|
} | undefined;
|
|
2692
2936
|
destinationGas?: Record<string | number, string> | undefined;
|
|
2937
|
+
feeHook?: string | undefined;
|
|
2693
2938
|
}>;
|
|
2694
2939
|
//# sourceMappingURL=types.d.ts.map
|