@hyperlane-xyz/sdk 8.9.0 → 9.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.
Files changed (64) hide show
  1. package/dist/consts/multisigIsm.d.ts.map +1 -1
  2. package/dist/consts/multisigIsm.js +18 -0
  3. package/dist/consts/multisigIsm.js.map +1 -1
  4. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  5. package/dist/core/HyperlaneCoreDeployer.js +6 -2
  6. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  7. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  8. package/dist/deploy/HyperlaneDeployer.js +6 -1
  9. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  10. package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
  11. package/dist/gas/HyperlaneIgpDeployer.js +15 -3
  12. package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
  13. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  14. package/dist/hook/HyperlaneHookDeployer.js +6 -2
  15. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/index.js.map +1 -1
  20. package/dist/metadata/chainMetadataTypes.d.ts +1 -0
  21. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  22. package/dist/metadata/chainMetadataTypes.js +1 -0
  23. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  24. package/dist/providers/ProviderType.d.ts +29 -5
  25. package/dist/providers/ProviderType.d.ts.map +1 -1
  26. package/dist/providers/ProviderType.js +2 -0
  27. package/dist/providers/ProviderType.js.map +1 -1
  28. package/dist/providers/explorerHealthTest.d.ts.map +1 -1
  29. package/dist/providers/explorerHealthTest.js +1 -0
  30. package/dist/providers/explorerHealthTest.js.map +1 -1
  31. package/dist/providers/providerBuilders.d.ts +2 -1
  32. package/dist/providers/providerBuilders.d.ts.map +1 -1
  33. package/dist/providers/providerBuilders.js +9 -0
  34. package/dist/providers/providerBuilders.js.map +1 -1
  35. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
  36. package/dist/token/Token.test.js +4 -0
  37. package/dist/token/Token.test.js.map +1 -1
  38. package/dist/token/TokenStandard.d.ts +8 -1
  39. package/dist/token/TokenStandard.d.ts.map +1 -1
  40. package/dist/token/TokenStandard.js +23 -0
  41. package/dist/token/TokenStandard.js.map +1 -1
  42. package/dist/token/config.d.ts.map +1 -1
  43. package/dist/token/config.js +1 -0
  44. package/dist/token/config.js.map +1 -1
  45. package/dist/token/contracts.d.ts +2 -2
  46. package/dist/token/contracts.d.ts.map +1 -1
  47. package/dist/token/contracts.js +4 -3
  48. package/dist/token/contracts.js.map +1 -1
  49. package/dist/token/deploy.d.ts +2 -2
  50. package/dist/token/deploy.d.ts.map +1 -1
  51. package/dist/token/deploy.hardhat-test.js.map +1 -1
  52. package/dist/token/deploy.js +6 -4
  53. package/dist/token/deploy.js.map +1 -1
  54. package/dist/token/nativeTokenMetadata.d.ts.map +1 -1
  55. package/dist/token/nativeTokenMetadata.js +6 -0
  56. package/dist/token/nativeTokenMetadata.js.map +1 -1
  57. package/dist/token/types.d.ts +2286 -20
  58. package/dist/token/types.d.ts.map +1 -1
  59. package/dist/token/types.js +8 -1
  60. package/dist/token/types.js.map +1 -1
  61. package/dist/token/types.test.js +2 -3
  62. package/dist/token/types.test.js.map +1 -1
  63. package/dist/utils/cosmos.d.ts +2 -2
  64. package/package.json +4 -3
@@ -1386,6 +1386,686 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
1386
1386
  destinationGas?: Record<string, string> | undefined;
1387
1387
  }>>;
1388
1388
  export type HypTokenRouterConfig = z.infer<typeof HypTokenRouterConfigSchema>;
1389
+ declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1390
+ symbol: z.ZodOptional<z.ZodString>;
1391
+ name: z.ZodOptional<z.ZodString>;
1392
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1393
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1394
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1395
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1396
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ type: TokenType.native | TokenType.nativeScaled;
1399
+ symbol?: string | undefined;
1400
+ name?: string | undefined;
1401
+ decimals?: number | undefined;
1402
+ totalSupply?: string | number | undefined;
1403
+ scale?: number | undefined;
1404
+ isNft?: boolean | undefined;
1405
+ }, {
1406
+ type: TokenType.native | TokenType.nativeScaled;
1407
+ symbol?: string | undefined;
1408
+ name?: string | undefined;
1409
+ decimals?: number | undefined;
1410
+ totalSupply?: string | number | undefined;
1411
+ scale?: number | undefined;
1412
+ isNft?: boolean | undefined;
1413
+ }>, z.ZodObject<{
1414
+ symbol: z.ZodOptional<z.ZodString>;
1415
+ name: z.ZodOptional<z.ZodString>;
1416
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1417
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1418
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1419
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1420
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
1421
+ token: z.ZodString;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1424
+ token: string;
1425
+ symbol?: string | undefined;
1426
+ name?: string | undefined;
1427
+ decimals?: number | undefined;
1428
+ totalSupply?: string | number | undefined;
1429
+ scale?: number | undefined;
1430
+ isNft?: boolean | undefined;
1431
+ }, {
1432
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1433
+ token: string;
1434
+ symbol?: string | undefined;
1435
+ name?: string | undefined;
1436
+ decimals?: number | undefined;
1437
+ totalSupply?: string | number | undefined;
1438
+ scale?: number | undefined;
1439
+ isNft?: boolean | undefined;
1440
+ }>, z.ZodObject<{
1441
+ symbol: z.ZodOptional<z.ZodString>;
1442
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
1443
+ name: z.ZodOptional<z.ZodString>;
1444
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1445
+ token: z.ZodString;
1446
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1447
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1448
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1449
+ xERC20: z.ZodOptional<z.ZodObject<{
1450
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1451
+ lockbox: z.ZodString;
1452
+ limits: z.ZodObject<{
1453
+ bufferCap: z.ZodOptional<z.ZodString>;
1454
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ bufferCap?: string | undefined;
1457
+ rateLimitPerSecond?: string | undefined;
1458
+ }, {
1459
+ bufferCap?: string | undefined;
1460
+ rateLimitPerSecond?: string | undefined;
1461
+ }>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ lockbox: string;
1464
+ limits: {
1465
+ bufferCap?: string | undefined;
1466
+ rateLimitPerSecond?: string | undefined;
1467
+ };
1468
+ }, {
1469
+ lockbox: string;
1470
+ limits: {
1471
+ bufferCap?: string | undefined;
1472
+ rateLimitPerSecond?: string | undefined;
1473
+ };
1474
+ }>, "many">>;
1475
+ warpRouteLimits: z.ZodObject<{
1476
+ bufferCap: z.ZodOptional<z.ZodString>;
1477
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ bufferCap?: string | undefined;
1480
+ rateLimitPerSecond?: string | undefined;
1481
+ }, {
1482
+ bufferCap?: string | undefined;
1483
+ rateLimitPerSecond?: string | undefined;
1484
+ }>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ warpRouteLimits: {
1487
+ bufferCap?: string | undefined;
1488
+ rateLimitPerSecond?: string | undefined;
1489
+ };
1490
+ extraBridges?: {
1491
+ lockbox: string;
1492
+ limits: {
1493
+ bufferCap?: string | undefined;
1494
+ rateLimitPerSecond?: string | undefined;
1495
+ };
1496
+ }[] | undefined;
1497
+ }, {
1498
+ warpRouteLimits: {
1499
+ bufferCap?: string | undefined;
1500
+ rateLimitPerSecond?: string | undefined;
1501
+ };
1502
+ extraBridges?: {
1503
+ lockbox: string;
1504
+ limits: {
1505
+ bufferCap?: string | undefined;
1506
+ rateLimitPerSecond?: string | undefined;
1507
+ };
1508
+ }[] | undefined;
1509
+ }>>;
1510
+ }, "strip", z.ZodTypeAny, {
1511
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
1512
+ token: string;
1513
+ symbol?: string | undefined;
1514
+ name?: string | undefined;
1515
+ decimals?: number | undefined;
1516
+ totalSupply?: string | number | undefined;
1517
+ scale?: number | undefined;
1518
+ isNft?: boolean | undefined;
1519
+ xERC20?: {
1520
+ warpRouteLimits: {
1521
+ bufferCap?: string | undefined;
1522
+ rateLimitPerSecond?: string | undefined;
1523
+ };
1524
+ extraBridges?: {
1525
+ lockbox: string;
1526
+ limits: {
1527
+ bufferCap?: string | undefined;
1528
+ rateLimitPerSecond?: string | undefined;
1529
+ };
1530
+ }[] | undefined;
1531
+ } | undefined;
1532
+ }, {
1533
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
1534
+ token: string;
1535
+ symbol?: string | undefined;
1536
+ name?: string | undefined;
1537
+ decimals?: number | undefined;
1538
+ totalSupply?: string | number | undefined;
1539
+ scale?: number | undefined;
1540
+ isNft?: boolean | undefined;
1541
+ xERC20?: {
1542
+ warpRouteLimits: {
1543
+ bufferCap?: string | undefined;
1544
+ rateLimitPerSecond?: string | undefined;
1545
+ };
1546
+ extraBridges?: {
1547
+ lockbox: string;
1548
+ limits: {
1549
+ bufferCap?: string | undefined;
1550
+ rateLimitPerSecond?: string | undefined;
1551
+ };
1552
+ }[] | undefined;
1553
+ } | undefined;
1554
+ }>, z.ZodObject<{
1555
+ symbol: z.ZodOptional<z.ZodString>;
1556
+ name: z.ZodOptional<z.ZodString>;
1557
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1558
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1559
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1560
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1561
+ type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1564
+ symbol?: string | undefined;
1565
+ name?: string | undefined;
1566
+ decimals?: number | undefined;
1567
+ totalSupply?: string | number | undefined;
1568
+ scale?: number | undefined;
1569
+ isNft?: boolean | undefined;
1570
+ }, {
1571
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1572
+ symbol?: string | undefined;
1573
+ name?: string | undefined;
1574
+ decimals?: number | undefined;
1575
+ totalSupply?: string | number | undefined;
1576
+ scale?: number | undefined;
1577
+ isNft?: boolean | undefined;
1578
+ }>, z.ZodObject<{
1579
+ symbol: z.ZodOptional<z.ZodString>;
1580
+ name: z.ZodOptional<z.ZodString>;
1581
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1582
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1583
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1584
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1585
+ type: z.ZodLiteral<TokenType.syntheticRebase>;
1586
+ collateralChainName: z.ZodString;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ type: TokenType.syntheticRebase;
1589
+ collateralChainName: string;
1590
+ symbol?: string | undefined;
1591
+ name?: string | undefined;
1592
+ decimals?: number | undefined;
1593
+ totalSupply?: string | number | undefined;
1594
+ scale?: number | undefined;
1595
+ isNft?: boolean | undefined;
1596
+ }, {
1597
+ type: TokenType.syntheticRebase;
1598
+ collateralChainName: string;
1599
+ symbol?: string | undefined;
1600
+ name?: string | undefined;
1601
+ decimals?: number | undefined;
1602
+ totalSupply?: string | number | undefined;
1603
+ scale?: number | undefined;
1604
+ isNft?: boolean | undefined;
1605
+ }>]>, z.ZodObject<{
1606
+ owner: z.ZodString;
1607
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1608
+ gas: z.ZodOptional<z.ZodNumber>;
1609
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
1610
+ owner: z.ZodString;
1611
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1612
+ address: z.ZodOptional<z.ZodString>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ owner: string;
1615
+ ownerOverrides?: Record<string, string> | undefined;
1616
+ address?: string | undefined;
1617
+ }, {
1618
+ owner: string;
1619
+ ownerOverrides?: Record<string, string> | undefined;
1620
+ address?: string | undefined;
1621
+ }>>;
1622
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1623
+ owner: z.ZodString;
1624
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1625
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
1626
+ beneficiary: z.ZodString;
1627
+ maxProtocolFee: z.ZodString;
1628
+ protocolFee: z.ZodString;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ type: HookType.PROTOCOL_FEE;
1631
+ owner: string;
1632
+ protocolFee: string;
1633
+ beneficiary: string;
1634
+ maxProtocolFee: string;
1635
+ ownerOverrides?: Record<string, string> | undefined;
1636
+ }, {
1637
+ type: HookType.PROTOCOL_FEE;
1638
+ owner: string;
1639
+ protocolFee: string;
1640
+ beneficiary: string;
1641
+ maxProtocolFee: string;
1642
+ ownerOverrides?: Record<string, string> | undefined;
1643
+ }>, z.ZodObject<{
1644
+ owner: z.ZodString;
1645
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1646
+ paused: z.ZodBoolean;
1647
+ type: z.ZodLiteral<HookType.PAUSABLE>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ type: HookType.PAUSABLE;
1650
+ owner: string;
1651
+ paused: boolean;
1652
+ ownerOverrides?: Record<string, string> | undefined;
1653
+ }, {
1654
+ type: HookType.PAUSABLE;
1655
+ owner: string;
1656
+ paused: boolean;
1657
+ ownerOverrides?: Record<string, string> | undefined;
1658
+ }>, z.ZodObject<{
1659
+ owner: z.ZodString;
1660
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1661
+ type: z.ZodLiteral<HookType.OP_STACK>;
1662
+ nativeBridge: z.ZodString;
1663
+ destinationChain: z.ZodString;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ type: HookType.OP_STACK;
1666
+ owner: string;
1667
+ nativeBridge: string;
1668
+ destinationChain: string;
1669
+ ownerOverrides?: Record<string, string> | undefined;
1670
+ }, {
1671
+ type: HookType.OP_STACK;
1672
+ owner: string;
1673
+ nativeBridge: string;
1674
+ destinationChain: string;
1675
+ ownerOverrides?: Record<string, string> | undefined;
1676
+ }>, z.ZodObject<{
1677
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ type: HookType.MERKLE_TREE;
1680
+ }, {
1681
+ type: HookType.MERKLE_TREE;
1682
+ }>, z.ZodObject<{
1683
+ owner: z.ZodString;
1684
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1685
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
1686
+ beneficiary: z.ZodString;
1687
+ oracleKey: z.ZodString;
1688
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
1689
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
1690
+ gasPrice: z.ZodString;
1691
+ tokenExchangeRate: z.ZodString;
1692
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ gasPrice: string;
1695
+ tokenExchangeRate: string;
1696
+ tokenDecimals?: number | undefined;
1697
+ }, {
1698
+ gasPrice: string;
1699
+ tokenExchangeRate: string;
1700
+ tokenDecimals?: number | undefined;
1701
+ }>>;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1704
+ owner: string;
1705
+ beneficiary: string;
1706
+ oracleKey: string;
1707
+ overhead: Record<string, number>;
1708
+ oracleConfig: Record<string, {
1709
+ gasPrice: string;
1710
+ tokenExchangeRate: string;
1711
+ tokenDecimals?: number | undefined;
1712
+ }>;
1713
+ ownerOverrides?: Record<string, string> | undefined;
1714
+ }, {
1715
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1716
+ owner: string;
1717
+ beneficiary: string;
1718
+ oracleKey: string;
1719
+ overhead: Record<string, number>;
1720
+ oracleConfig: Record<string, {
1721
+ gasPrice: string;
1722
+ tokenExchangeRate: string;
1723
+ tokenDecimals?: number | undefined;
1724
+ }>;
1725
+ ownerOverrides?: Record<string, string> | undefined;
1726
+ }>, 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.ZodObject<{
1727
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
1728
+ arbSys: z.ZodString;
1729
+ bridge: z.ZodOptional<z.ZodString>;
1730
+ destinationChain: z.ZodString;
1731
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ type: HookType.ARB_L2_TO_L1;
1734
+ destinationChain: string;
1735
+ arbSys: string;
1736
+ bridge?: string | undefined;
1737
+ childHook?: any;
1738
+ }, {
1739
+ type: HookType.ARB_L2_TO_L1;
1740
+ destinationChain: string;
1741
+ arbSys: string;
1742
+ bridge?: string | undefined;
1743
+ childHook?: any;
1744
+ }>, z.ZodObject<{
1745
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ type: HookType.MAILBOX_DEFAULT;
1748
+ }, {
1749
+ type: HookType.MAILBOX_DEFAULT;
1750
+ }>, z.ZodObject<{
1751
+ type: z.ZodLiteral<HookType.CCIP>;
1752
+ destinationChain: z.ZodString;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ type: HookType.CCIP;
1755
+ destinationChain: string;
1756
+ }, {
1757
+ type: HookType.CCIP;
1758
+ destinationChain: string;
1759
+ }>]>>;
1760
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1761
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
1762
+ }, "strip", z.ZodTypeAny, {
1763
+ type: IsmType.TEST_ISM;
1764
+ }, {
1765
+ type: IsmType.TEST_ISM;
1766
+ }>, z.ZodObject<{
1767
+ type: z.ZodLiteral<IsmType.OP_STACK>;
1768
+ origin: z.ZodString;
1769
+ nativeBridge: z.ZodString;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ type: IsmType.OP_STACK;
1772
+ origin: string;
1773
+ nativeBridge: string;
1774
+ }, {
1775
+ type: IsmType.OP_STACK;
1776
+ origin: string;
1777
+ nativeBridge: string;
1778
+ }>, z.ZodIntersection<z.ZodObject<{
1779
+ owner: z.ZodString;
1780
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1781
+ paused: z.ZodBoolean;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ owner: string;
1784
+ paused: boolean;
1785
+ ownerOverrides?: Record<string, string> | undefined;
1786
+ }, {
1787
+ owner: string;
1788
+ paused: boolean;
1789
+ ownerOverrides?: Record<string, string> | undefined;
1790
+ }>, z.ZodObject<{
1791
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ type: IsmType.PAUSABLE;
1794
+ }, {
1795
+ type: IsmType.PAUSABLE;
1796
+ }>>, z.ZodObject<{
1797
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
1798
+ relayer: z.ZodString;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ type: IsmType.TRUSTED_RELAYER;
1801
+ relayer: string;
1802
+ }, {
1803
+ type: IsmType.TRUSTED_RELAYER;
1804
+ relayer: string;
1805
+ }>, z.ZodObject<{
1806
+ type: z.ZodLiteral<IsmType.CCIP>;
1807
+ originChain: z.ZodString;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ type: IsmType.CCIP;
1810
+ originChain: string;
1811
+ }, {
1812
+ type: IsmType.CCIP;
1813
+ originChain: string;
1814
+ }>, z.ZodIntersection<z.ZodObject<{
1815
+ validators: z.ZodArray<z.ZodString, "many">;
1816
+ threshold: z.ZodNumber;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ validators: string[];
1819
+ threshold: number;
1820
+ }, {
1821
+ validators: string[];
1822
+ threshold: number;
1823
+ }>, z.ZodObject<{
1824
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
1825
+ }, "strip", z.ZodTypeAny, {
1826
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1827
+ }, {
1828
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1829
+ }>>, z.ZodIntersection<z.ZodObject<{
1830
+ validators: z.ZodArray<z.ZodObject<{
1831
+ signingAddress: z.ZodString;
1832
+ weight: z.ZodNumber;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ signingAddress: string;
1835
+ weight: number;
1836
+ }, {
1837
+ signingAddress: string;
1838
+ weight: number;
1839
+ }>, "many">;
1840
+ thresholdWeight: z.ZodNumber;
1841
+ }, "strip", z.ZodTypeAny, {
1842
+ validators: {
1843
+ signingAddress: string;
1844
+ weight: number;
1845
+ }[];
1846
+ thresholdWeight: number;
1847
+ }, {
1848
+ validators: {
1849
+ signingAddress: string;
1850
+ weight: number;
1851
+ }[];
1852
+ thresholdWeight: number;
1853
+ }>, z.ZodObject<{
1854
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1857
+ }, {
1858
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1859
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
1860
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
1861
+ bridge: z.ZodString;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ type: IsmType.ARB_L2_TO_L1;
1864
+ bridge: string;
1865
+ }, {
1866
+ type: IsmType.ARB_L2_TO_L1;
1867
+ bridge: string;
1868
+ }>]>>;
1869
+ foreignDeployment: z.ZodOptional<z.ZodString>;
1870
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1871
+ address: z.ZodString;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ address: string;
1874
+ }, {
1875
+ address: string;
1876
+ }>>>;
1877
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1878
+ mailbox: z.ZodOptional<z.ZodString>;
1879
+ }, "strip", z.ZodTypeAny, {
1880
+ owner: string;
1881
+ ownerOverrides?: Record<string, string> | undefined;
1882
+ gas?: number | undefined;
1883
+ proxyAdmin?: {
1884
+ owner: string;
1885
+ ownerOverrides?: Record<string, string> | undefined;
1886
+ address?: string | undefined;
1887
+ } | undefined;
1888
+ hook?: string | {
1889
+ type: HookType.MERKLE_TREE;
1890
+ } | {
1891
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1892
+ owner: string;
1893
+ beneficiary: string;
1894
+ oracleKey: string;
1895
+ overhead: Record<string, number>;
1896
+ oracleConfig: Record<string, {
1897
+ gasPrice: string;
1898
+ tokenExchangeRate: string;
1899
+ tokenDecimals?: number | undefined;
1900
+ }>;
1901
+ ownerOverrides?: Record<string, string> | undefined;
1902
+ } | {
1903
+ type: HookType.PROTOCOL_FEE;
1904
+ owner: string;
1905
+ protocolFee: string;
1906
+ beneficiary: string;
1907
+ maxProtocolFee: string;
1908
+ ownerOverrides?: Record<string, string> | undefined;
1909
+ } | {
1910
+ type: HookType.PAUSABLE;
1911
+ owner: string;
1912
+ paused: boolean;
1913
+ ownerOverrides?: Record<string, string> | undefined;
1914
+ } | {
1915
+ type: HookType.OP_STACK;
1916
+ owner: string;
1917
+ nativeBridge: string;
1918
+ destinationChain: string;
1919
+ ownerOverrides?: Record<string, string> | undefined;
1920
+ } | {
1921
+ type: HookType.ARB_L2_TO_L1;
1922
+ destinationChain: string;
1923
+ arbSys: string;
1924
+ bridge?: string | undefined;
1925
+ childHook?: any;
1926
+ } | {
1927
+ type: HookType.MAILBOX_DEFAULT;
1928
+ } | {
1929
+ type: HookType.CCIP;
1930
+ destinationChain: string;
1931
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1932
+ interchainSecurityModule?: string | ({
1933
+ validators: string[];
1934
+ threshold: number;
1935
+ } & {
1936
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1937
+ }) | ({
1938
+ validators: {
1939
+ signingAddress: string;
1940
+ weight: number;
1941
+ }[];
1942
+ thresholdWeight: number;
1943
+ } & {
1944
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1945
+ }) | {
1946
+ type: IsmType.TEST_ISM;
1947
+ } | ({
1948
+ owner: string;
1949
+ paused: boolean;
1950
+ ownerOverrides?: Record<string, string> | undefined;
1951
+ } & {
1952
+ type: IsmType.PAUSABLE;
1953
+ }) | {
1954
+ type: IsmType.OP_STACK;
1955
+ origin: string;
1956
+ nativeBridge: string;
1957
+ } | {
1958
+ type: IsmType.TRUSTED_RELAYER;
1959
+ relayer: string;
1960
+ } | {
1961
+ type: IsmType.CCIP;
1962
+ originChain: string;
1963
+ } | {
1964
+ type: IsmType.ARB_L2_TO_L1;
1965
+ bridge: string;
1966
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1967
+ foreignDeployment?: string | undefined;
1968
+ remoteRouters?: Record<string, {
1969
+ address: string;
1970
+ }> | undefined;
1971
+ destinationGas?: Record<string, string> | undefined;
1972
+ mailbox?: string | undefined;
1973
+ }, {
1974
+ owner: string;
1975
+ ownerOverrides?: Record<string, string> | undefined;
1976
+ gas?: number | undefined;
1977
+ proxyAdmin?: {
1978
+ owner: string;
1979
+ ownerOverrides?: Record<string, string> | undefined;
1980
+ address?: string | undefined;
1981
+ } | undefined;
1982
+ hook?: string | {
1983
+ type: HookType.MERKLE_TREE;
1984
+ } | {
1985
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1986
+ owner: string;
1987
+ beneficiary: string;
1988
+ oracleKey: string;
1989
+ overhead: Record<string, number>;
1990
+ oracleConfig: Record<string, {
1991
+ gasPrice: string;
1992
+ tokenExchangeRate: string;
1993
+ tokenDecimals?: number | undefined;
1994
+ }>;
1995
+ ownerOverrides?: Record<string, string> | undefined;
1996
+ } | {
1997
+ type: HookType.PROTOCOL_FEE;
1998
+ owner: string;
1999
+ protocolFee: string;
2000
+ beneficiary: string;
2001
+ maxProtocolFee: string;
2002
+ ownerOverrides?: Record<string, string> | undefined;
2003
+ } | {
2004
+ type: HookType.PAUSABLE;
2005
+ owner: string;
2006
+ paused: boolean;
2007
+ ownerOverrides?: Record<string, string> | undefined;
2008
+ } | {
2009
+ type: HookType.OP_STACK;
2010
+ owner: string;
2011
+ nativeBridge: string;
2012
+ destinationChain: string;
2013
+ ownerOverrides?: Record<string, string> | undefined;
2014
+ } | {
2015
+ type: HookType.ARB_L2_TO_L1;
2016
+ destinationChain: string;
2017
+ arbSys: string;
2018
+ bridge?: string | undefined;
2019
+ childHook?: any;
2020
+ } | {
2021
+ type: HookType.MAILBOX_DEFAULT;
2022
+ } | {
2023
+ type: HookType.CCIP;
2024
+ destinationChain: string;
2025
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2026
+ interchainSecurityModule?: string | ({
2027
+ validators: string[];
2028
+ threshold: number;
2029
+ } & {
2030
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2031
+ }) | ({
2032
+ validators: {
2033
+ signingAddress: string;
2034
+ weight: number;
2035
+ }[];
2036
+ thresholdWeight: number;
2037
+ } & {
2038
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2039
+ }) | {
2040
+ type: IsmType.TEST_ISM;
2041
+ } | ({
2042
+ owner: string;
2043
+ paused: boolean;
2044
+ ownerOverrides?: Record<string, string> | undefined;
2045
+ } & {
2046
+ type: IsmType.PAUSABLE;
2047
+ }) | {
2048
+ type: IsmType.OP_STACK;
2049
+ origin: string;
2050
+ nativeBridge: string;
2051
+ } | {
2052
+ type: IsmType.TRUSTED_RELAYER;
2053
+ relayer: string;
2054
+ } | {
2055
+ type: IsmType.CCIP;
2056
+ originChain: string;
2057
+ } | {
2058
+ type: IsmType.ARB_L2_TO_L1;
2059
+ bridge: string;
2060
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2061
+ foreignDeployment?: string | undefined;
2062
+ remoteRouters?: Record<string, {
2063
+ address: string;
2064
+ }> | undefined;
2065
+ destinationGas?: Record<string, string> | undefined;
2066
+ mailbox?: string | undefined;
2067
+ }>>;
2068
+ export type HypTokenRouterConfigMailboxOptional = z.infer<typeof HypTokenRouterConfigMailboxOptionalSchema>;
1389
2069
  export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1390
2070
  symbol: z.ZodOptional<z.ZodString>;
1391
2071
  name: z.ZodOptional<z.ZodString>;
@@ -1605,7 +2285,1587 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1605
2285
  }>]>, z.ZodObject<{
1606
2286
  owner: z.ZodString;
1607
2287
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1608
- mailbox: z.ZodString;
2288
+ gas: z.ZodOptional<z.ZodNumber>;
2289
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
2290
+ owner: z.ZodString;
2291
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2292
+ address: z.ZodOptional<z.ZodString>;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ owner: string;
2295
+ ownerOverrides?: Record<string, string> | undefined;
2296
+ address?: string | undefined;
2297
+ }, {
2298
+ owner: string;
2299
+ ownerOverrides?: Record<string, string> | undefined;
2300
+ address?: string | undefined;
2301
+ }>>;
2302
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2303
+ owner: z.ZodString;
2304
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2305
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
2306
+ beneficiary: z.ZodString;
2307
+ maxProtocolFee: z.ZodString;
2308
+ protocolFee: z.ZodString;
2309
+ }, "strip", z.ZodTypeAny, {
2310
+ type: HookType.PROTOCOL_FEE;
2311
+ owner: string;
2312
+ protocolFee: string;
2313
+ beneficiary: string;
2314
+ maxProtocolFee: string;
2315
+ ownerOverrides?: Record<string, string> | undefined;
2316
+ }, {
2317
+ type: HookType.PROTOCOL_FEE;
2318
+ owner: string;
2319
+ protocolFee: string;
2320
+ beneficiary: string;
2321
+ maxProtocolFee: string;
2322
+ ownerOverrides?: Record<string, string> | undefined;
2323
+ }>, z.ZodObject<{
2324
+ owner: z.ZodString;
2325
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2326
+ paused: z.ZodBoolean;
2327
+ type: z.ZodLiteral<HookType.PAUSABLE>;
2328
+ }, "strip", z.ZodTypeAny, {
2329
+ type: HookType.PAUSABLE;
2330
+ owner: string;
2331
+ paused: boolean;
2332
+ ownerOverrides?: Record<string, string> | undefined;
2333
+ }, {
2334
+ type: HookType.PAUSABLE;
2335
+ owner: string;
2336
+ paused: boolean;
2337
+ ownerOverrides?: Record<string, string> | undefined;
2338
+ }>, z.ZodObject<{
2339
+ owner: z.ZodString;
2340
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2341
+ type: z.ZodLiteral<HookType.OP_STACK>;
2342
+ nativeBridge: z.ZodString;
2343
+ destinationChain: z.ZodString;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ type: HookType.OP_STACK;
2346
+ owner: string;
2347
+ nativeBridge: string;
2348
+ destinationChain: string;
2349
+ ownerOverrides?: Record<string, string> | undefined;
2350
+ }, {
2351
+ type: HookType.OP_STACK;
2352
+ owner: string;
2353
+ nativeBridge: string;
2354
+ destinationChain: string;
2355
+ ownerOverrides?: Record<string, string> | undefined;
2356
+ }>, z.ZodObject<{
2357
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
2358
+ }, "strip", z.ZodTypeAny, {
2359
+ type: HookType.MERKLE_TREE;
2360
+ }, {
2361
+ type: HookType.MERKLE_TREE;
2362
+ }>, z.ZodObject<{
2363
+ owner: z.ZodString;
2364
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2365
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
2366
+ beneficiary: z.ZodString;
2367
+ oracleKey: z.ZodString;
2368
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2369
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2370
+ gasPrice: z.ZodString;
2371
+ tokenExchangeRate: z.ZodString;
2372
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
2373
+ }, "strip", z.ZodTypeAny, {
2374
+ gasPrice: string;
2375
+ tokenExchangeRate: string;
2376
+ tokenDecimals?: number | undefined;
2377
+ }, {
2378
+ gasPrice: string;
2379
+ tokenExchangeRate: string;
2380
+ tokenDecimals?: number | undefined;
2381
+ }>>;
2382
+ }, "strip", z.ZodTypeAny, {
2383
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2384
+ owner: string;
2385
+ beneficiary: string;
2386
+ oracleKey: string;
2387
+ overhead: Record<string, number>;
2388
+ oracleConfig: Record<string, {
2389
+ gasPrice: string;
2390
+ tokenExchangeRate: string;
2391
+ tokenDecimals?: number | undefined;
2392
+ }>;
2393
+ ownerOverrides?: Record<string, string> | undefined;
2394
+ }, {
2395
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2396
+ owner: string;
2397
+ beneficiary: string;
2398
+ oracleKey: string;
2399
+ overhead: Record<string, number>;
2400
+ oracleConfig: Record<string, {
2401
+ gasPrice: string;
2402
+ tokenExchangeRate: string;
2403
+ tokenDecimals?: number | undefined;
2404
+ }>;
2405
+ ownerOverrides?: Record<string, string> | undefined;
2406
+ }>, 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.ZodObject<{
2407
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
2408
+ arbSys: z.ZodString;
2409
+ bridge: z.ZodOptional<z.ZodString>;
2410
+ destinationChain: z.ZodString;
2411
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2412
+ }, "strip", z.ZodTypeAny, {
2413
+ type: HookType.ARB_L2_TO_L1;
2414
+ destinationChain: string;
2415
+ arbSys: string;
2416
+ bridge?: string | undefined;
2417
+ childHook?: any;
2418
+ }, {
2419
+ type: HookType.ARB_L2_TO_L1;
2420
+ destinationChain: string;
2421
+ arbSys: string;
2422
+ bridge?: string | undefined;
2423
+ childHook?: any;
2424
+ }>, z.ZodObject<{
2425
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
2426
+ }, "strip", z.ZodTypeAny, {
2427
+ type: HookType.MAILBOX_DEFAULT;
2428
+ }, {
2429
+ type: HookType.MAILBOX_DEFAULT;
2430
+ }>, z.ZodObject<{
2431
+ type: z.ZodLiteral<HookType.CCIP>;
2432
+ destinationChain: z.ZodString;
2433
+ }, "strip", z.ZodTypeAny, {
2434
+ type: HookType.CCIP;
2435
+ destinationChain: string;
2436
+ }, {
2437
+ type: HookType.CCIP;
2438
+ destinationChain: string;
2439
+ }>]>>;
2440
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2441
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
2442
+ }, "strip", z.ZodTypeAny, {
2443
+ type: IsmType.TEST_ISM;
2444
+ }, {
2445
+ type: IsmType.TEST_ISM;
2446
+ }>, z.ZodObject<{
2447
+ type: z.ZodLiteral<IsmType.OP_STACK>;
2448
+ origin: z.ZodString;
2449
+ nativeBridge: z.ZodString;
2450
+ }, "strip", z.ZodTypeAny, {
2451
+ type: IsmType.OP_STACK;
2452
+ origin: string;
2453
+ nativeBridge: string;
2454
+ }, {
2455
+ type: IsmType.OP_STACK;
2456
+ origin: string;
2457
+ nativeBridge: string;
2458
+ }>, z.ZodIntersection<z.ZodObject<{
2459
+ owner: z.ZodString;
2460
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2461
+ paused: z.ZodBoolean;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ owner: string;
2464
+ paused: boolean;
2465
+ ownerOverrides?: Record<string, string> | undefined;
2466
+ }, {
2467
+ owner: string;
2468
+ paused: boolean;
2469
+ ownerOverrides?: Record<string, string> | undefined;
2470
+ }>, z.ZodObject<{
2471
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ type: IsmType.PAUSABLE;
2474
+ }, {
2475
+ type: IsmType.PAUSABLE;
2476
+ }>>, z.ZodObject<{
2477
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
2478
+ relayer: z.ZodString;
2479
+ }, "strip", z.ZodTypeAny, {
2480
+ type: IsmType.TRUSTED_RELAYER;
2481
+ relayer: string;
2482
+ }, {
2483
+ type: IsmType.TRUSTED_RELAYER;
2484
+ relayer: string;
2485
+ }>, z.ZodObject<{
2486
+ type: z.ZodLiteral<IsmType.CCIP>;
2487
+ originChain: z.ZodString;
2488
+ }, "strip", z.ZodTypeAny, {
2489
+ type: IsmType.CCIP;
2490
+ originChain: string;
2491
+ }, {
2492
+ type: IsmType.CCIP;
2493
+ originChain: string;
2494
+ }>, z.ZodIntersection<z.ZodObject<{
2495
+ validators: z.ZodArray<z.ZodString, "many">;
2496
+ threshold: z.ZodNumber;
2497
+ }, "strip", z.ZodTypeAny, {
2498
+ validators: string[];
2499
+ threshold: number;
2500
+ }, {
2501
+ validators: string[];
2502
+ threshold: number;
2503
+ }>, z.ZodObject<{
2504
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
2505
+ }, "strip", z.ZodTypeAny, {
2506
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2507
+ }, {
2508
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2509
+ }>>, z.ZodIntersection<z.ZodObject<{
2510
+ validators: z.ZodArray<z.ZodObject<{
2511
+ signingAddress: z.ZodString;
2512
+ weight: z.ZodNumber;
2513
+ }, "strip", z.ZodTypeAny, {
2514
+ signingAddress: string;
2515
+ weight: number;
2516
+ }, {
2517
+ signingAddress: string;
2518
+ weight: number;
2519
+ }>, "many">;
2520
+ thresholdWeight: z.ZodNumber;
2521
+ }, "strip", z.ZodTypeAny, {
2522
+ validators: {
2523
+ signingAddress: string;
2524
+ weight: number;
2525
+ }[];
2526
+ thresholdWeight: number;
2527
+ }, {
2528
+ validators: {
2529
+ signingAddress: string;
2530
+ weight: number;
2531
+ }[];
2532
+ thresholdWeight: number;
2533
+ }>, z.ZodObject<{
2534
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
2535
+ }, "strip", z.ZodTypeAny, {
2536
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2537
+ }, {
2538
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2539
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
2540
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
2541
+ bridge: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ type: IsmType.ARB_L2_TO_L1;
2544
+ bridge: string;
2545
+ }, {
2546
+ type: IsmType.ARB_L2_TO_L1;
2547
+ bridge: string;
2548
+ }>]>>;
2549
+ foreignDeployment: z.ZodOptional<z.ZodString>;
2550
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2551
+ address: z.ZodString;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ address: string;
2554
+ }, {
2555
+ address: string;
2556
+ }>>>;
2557
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2558
+ mailbox: z.ZodOptional<z.ZodString>;
2559
+ }, "strip", z.ZodTypeAny, {
2560
+ owner: string;
2561
+ ownerOverrides?: Record<string, string> | undefined;
2562
+ gas?: number | undefined;
2563
+ proxyAdmin?: {
2564
+ owner: string;
2565
+ ownerOverrides?: Record<string, string> | undefined;
2566
+ address?: string | undefined;
2567
+ } | undefined;
2568
+ hook?: string | {
2569
+ type: HookType.MERKLE_TREE;
2570
+ } | {
2571
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2572
+ owner: string;
2573
+ beneficiary: string;
2574
+ oracleKey: string;
2575
+ overhead: Record<string, number>;
2576
+ oracleConfig: Record<string, {
2577
+ gasPrice: string;
2578
+ tokenExchangeRate: string;
2579
+ tokenDecimals?: number | undefined;
2580
+ }>;
2581
+ ownerOverrides?: Record<string, string> | undefined;
2582
+ } | {
2583
+ type: HookType.PROTOCOL_FEE;
2584
+ owner: string;
2585
+ protocolFee: string;
2586
+ beneficiary: string;
2587
+ maxProtocolFee: string;
2588
+ ownerOverrides?: Record<string, string> | undefined;
2589
+ } | {
2590
+ type: HookType.PAUSABLE;
2591
+ owner: string;
2592
+ paused: boolean;
2593
+ ownerOverrides?: Record<string, string> | undefined;
2594
+ } | {
2595
+ type: HookType.OP_STACK;
2596
+ owner: string;
2597
+ nativeBridge: string;
2598
+ destinationChain: string;
2599
+ ownerOverrides?: Record<string, string> | undefined;
2600
+ } | {
2601
+ type: HookType.ARB_L2_TO_L1;
2602
+ destinationChain: string;
2603
+ arbSys: string;
2604
+ bridge?: string | undefined;
2605
+ childHook?: any;
2606
+ } | {
2607
+ type: HookType.MAILBOX_DEFAULT;
2608
+ } | {
2609
+ type: HookType.CCIP;
2610
+ destinationChain: string;
2611
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2612
+ interchainSecurityModule?: string | ({
2613
+ validators: string[];
2614
+ threshold: number;
2615
+ } & {
2616
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2617
+ }) | ({
2618
+ validators: {
2619
+ signingAddress: string;
2620
+ weight: number;
2621
+ }[];
2622
+ thresholdWeight: number;
2623
+ } & {
2624
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2625
+ }) | {
2626
+ type: IsmType.TEST_ISM;
2627
+ } | ({
2628
+ owner: string;
2629
+ paused: boolean;
2630
+ ownerOverrides?: Record<string, string> | undefined;
2631
+ } & {
2632
+ type: IsmType.PAUSABLE;
2633
+ }) | {
2634
+ type: IsmType.OP_STACK;
2635
+ origin: string;
2636
+ nativeBridge: string;
2637
+ } | {
2638
+ type: IsmType.TRUSTED_RELAYER;
2639
+ relayer: string;
2640
+ } | {
2641
+ type: IsmType.CCIP;
2642
+ originChain: string;
2643
+ } | {
2644
+ type: IsmType.ARB_L2_TO_L1;
2645
+ bridge: string;
2646
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2647
+ foreignDeployment?: string | undefined;
2648
+ remoteRouters?: Record<string, {
2649
+ address: string;
2650
+ }> | undefined;
2651
+ destinationGas?: Record<string, string> | undefined;
2652
+ mailbox?: string | undefined;
2653
+ }, {
2654
+ owner: string;
2655
+ ownerOverrides?: Record<string, string> | undefined;
2656
+ gas?: number | undefined;
2657
+ proxyAdmin?: {
2658
+ owner: string;
2659
+ ownerOverrides?: Record<string, string> | undefined;
2660
+ address?: string | undefined;
2661
+ } | undefined;
2662
+ hook?: string | {
2663
+ type: HookType.MERKLE_TREE;
2664
+ } | {
2665
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2666
+ owner: string;
2667
+ beneficiary: string;
2668
+ oracleKey: string;
2669
+ overhead: Record<string, number>;
2670
+ oracleConfig: Record<string, {
2671
+ gasPrice: string;
2672
+ tokenExchangeRate: string;
2673
+ tokenDecimals?: number | undefined;
2674
+ }>;
2675
+ ownerOverrides?: Record<string, string> | undefined;
2676
+ } | {
2677
+ type: HookType.PROTOCOL_FEE;
2678
+ owner: string;
2679
+ protocolFee: string;
2680
+ beneficiary: string;
2681
+ maxProtocolFee: string;
2682
+ ownerOverrides?: Record<string, string> | undefined;
2683
+ } | {
2684
+ type: HookType.PAUSABLE;
2685
+ owner: string;
2686
+ paused: boolean;
2687
+ ownerOverrides?: Record<string, string> | undefined;
2688
+ } | {
2689
+ type: HookType.OP_STACK;
2690
+ owner: string;
2691
+ nativeBridge: string;
2692
+ destinationChain: string;
2693
+ ownerOverrides?: Record<string, string> | undefined;
2694
+ } | {
2695
+ type: HookType.ARB_L2_TO_L1;
2696
+ destinationChain: string;
2697
+ arbSys: string;
2698
+ bridge?: string | undefined;
2699
+ childHook?: any;
2700
+ } | {
2701
+ type: HookType.MAILBOX_DEFAULT;
2702
+ } | {
2703
+ type: HookType.CCIP;
2704
+ destinationChain: string;
2705
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2706
+ interchainSecurityModule?: string | ({
2707
+ validators: string[];
2708
+ threshold: number;
2709
+ } & {
2710
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2711
+ }) | ({
2712
+ validators: {
2713
+ signingAddress: string;
2714
+ weight: number;
2715
+ }[];
2716
+ thresholdWeight: number;
2717
+ } & {
2718
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2719
+ }) | {
2720
+ type: IsmType.TEST_ISM;
2721
+ } | ({
2722
+ owner: string;
2723
+ paused: boolean;
2724
+ ownerOverrides?: Record<string, string> | undefined;
2725
+ } & {
2726
+ type: IsmType.PAUSABLE;
2727
+ }) | {
2728
+ type: IsmType.OP_STACK;
2729
+ origin: string;
2730
+ nativeBridge: string;
2731
+ } | {
2732
+ type: IsmType.TRUSTED_RELAYER;
2733
+ relayer: string;
2734
+ } | {
2735
+ type: IsmType.CCIP;
2736
+ originChain: string;
2737
+ } | {
2738
+ type: IsmType.ARB_L2_TO_L1;
2739
+ bridge: string;
2740
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2741
+ foreignDeployment?: string | undefined;
2742
+ remoteRouters?: Record<string, {
2743
+ address: string;
2744
+ }> | undefined;
2745
+ destinationGas?: Record<string, string> | undefined;
2746
+ mailbox?: string | undefined;
2747
+ }>>>, Record<string, ({
2748
+ type: TokenType.native | TokenType.nativeScaled;
2749
+ symbol?: string | undefined;
2750
+ name?: string | undefined;
2751
+ decimals?: number | undefined;
2752
+ totalSupply?: string | number | undefined;
2753
+ scale?: number | undefined;
2754
+ isNft?: boolean | undefined;
2755
+ } | {
2756
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2757
+ token: string;
2758
+ symbol?: string | undefined;
2759
+ name?: string | undefined;
2760
+ decimals?: number | undefined;
2761
+ totalSupply?: string | number | undefined;
2762
+ scale?: number | undefined;
2763
+ isNft?: boolean | undefined;
2764
+ } | {
2765
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2766
+ token: string;
2767
+ symbol?: string | undefined;
2768
+ name?: string | undefined;
2769
+ decimals?: number | undefined;
2770
+ totalSupply?: string | number | undefined;
2771
+ scale?: number | undefined;
2772
+ isNft?: boolean | undefined;
2773
+ xERC20?: {
2774
+ warpRouteLimits: {
2775
+ bufferCap?: string | undefined;
2776
+ rateLimitPerSecond?: string | undefined;
2777
+ };
2778
+ extraBridges?: {
2779
+ lockbox: string;
2780
+ limits: {
2781
+ bufferCap?: string | undefined;
2782
+ rateLimitPerSecond?: string | undefined;
2783
+ };
2784
+ }[] | undefined;
2785
+ } | undefined;
2786
+ } | {
2787
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2788
+ symbol?: string | undefined;
2789
+ name?: string | undefined;
2790
+ decimals?: number | undefined;
2791
+ totalSupply?: string | number | undefined;
2792
+ scale?: number | undefined;
2793
+ isNft?: boolean | undefined;
2794
+ } | {
2795
+ type: TokenType.syntheticRebase;
2796
+ collateralChainName: string;
2797
+ symbol?: string | undefined;
2798
+ name?: string | undefined;
2799
+ decimals?: number | undefined;
2800
+ totalSupply?: string | number | undefined;
2801
+ scale?: number | undefined;
2802
+ isNft?: boolean | undefined;
2803
+ }) & {
2804
+ owner: string;
2805
+ ownerOverrides?: Record<string, string> | undefined;
2806
+ gas?: number | undefined;
2807
+ proxyAdmin?: {
2808
+ owner: string;
2809
+ ownerOverrides?: Record<string, string> | undefined;
2810
+ address?: string | undefined;
2811
+ } | undefined;
2812
+ hook?: string | {
2813
+ type: HookType.MERKLE_TREE;
2814
+ } | {
2815
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2816
+ owner: string;
2817
+ beneficiary: string;
2818
+ oracleKey: string;
2819
+ overhead: Record<string, number>;
2820
+ oracleConfig: Record<string, {
2821
+ gasPrice: string;
2822
+ tokenExchangeRate: string;
2823
+ tokenDecimals?: number | undefined;
2824
+ }>;
2825
+ ownerOverrides?: Record<string, string> | undefined;
2826
+ } | {
2827
+ type: HookType.PROTOCOL_FEE;
2828
+ owner: string;
2829
+ protocolFee: string;
2830
+ beneficiary: string;
2831
+ maxProtocolFee: string;
2832
+ ownerOverrides?: Record<string, string> | undefined;
2833
+ } | {
2834
+ type: HookType.PAUSABLE;
2835
+ owner: string;
2836
+ paused: boolean;
2837
+ ownerOverrides?: Record<string, string> | undefined;
2838
+ } | {
2839
+ type: HookType.OP_STACK;
2840
+ owner: string;
2841
+ nativeBridge: string;
2842
+ destinationChain: string;
2843
+ ownerOverrides?: Record<string, string> | undefined;
2844
+ } | {
2845
+ type: HookType.ARB_L2_TO_L1;
2846
+ destinationChain: string;
2847
+ arbSys: string;
2848
+ bridge?: string | undefined;
2849
+ childHook?: any;
2850
+ } | {
2851
+ type: HookType.MAILBOX_DEFAULT;
2852
+ } | {
2853
+ type: HookType.CCIP;
2854
+ destinationChain: string;
2855
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2856
+ interchainSecurityModule?: string | ({
2857
+ validators: string[];
2858
+ threshold: number;
2859
+ } & {
2860
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2861
+ }) | ({
2862
+ validators: {
2863
+ signingAddress: string;
2864
+ weight: number;
2865
+ }[];
2866
+ thresholdWeight: number;
2867
+ } & {
2868
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2869
+ }) | {
2870
+ type: IsmType.TEST_ISM;
2871
+ } | ({
2872
+ owner: string;
2873
+ paused: boolean;
2874
+ ownerOverrides?: Record<string, string> | undefined;
2875
+ } & {
2876
+ type: IsmType.PAUSABLE;
2877
+ }) | {
2878
+ type: IsmType.OP_STACK;
2879
+ origin: string;
2880
+ nativeBridge: string;
2881
+ } | {
2882
+ type: IsmType.TRUSTED_RELAYER;
2883
+ relayer: string;
2884
+ } | {
2885
+ type: IsmType.CCIP;
2886
+ originChain: string;
2887
+ } | {
2888
+ type: IsmType.ARB_L2_TO_L1;
2889
+ bridge: string;
2890
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2891
+ foreignDeployment?: string | undefined;
2892
+ remoteRouters?: Record<string, {
2893
+ address: string;
2894
+ }> | undefined;
2895
+ destinationGas?: Record<string, string> | undefined;
2896
+ mailbox?: string | undefined;
2897
+ }>, Record<string, ({
2898
+ type: TokenType.native | TokenType.nativeScaled;
2899
+ symbol?: string | undefined;
2900
+ name?: string | undefined;
2901
+ decimals?: number | undefined;
2902
+ totalSupply?: string | number | undefined;
2903
+ scale?: number | undefined;
2904
+ isNft?: boolean | undefined;
2905
+ } | {
2906
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2907
+ token: string;
2908
+ symbol?: string | undefined;
2909
+ name?: string | undefined;
2910
+ decimals?: number | undefined;
2911
+ totalSupply?: string | number | undefined;
2912
+ scale?: number | undefined;
2913
+ isNft?: boolean | undefined;
2914
+ } | {
2915
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2916
+ token: string;
2917
+ symbol?: string | undefined;
2918
+ name?: string | undefined;
2919
+ decimals?: number | undefined;
2920
+ totalSupply?: string | number | undefined;
2921
+ scale?: number | undefined;
2922
+ isNft?: boolean | undefined;
2923
+ xERC20?: {
2924
+ warpRouteLimits: {
2925
+ bufferCap?: string | undefined;
2926
+ rateLimitPerSecond?: string | undefined;
2927
+ };
2928
+ extraBridges?: {
2929
+ lockbox: string;
2930
+ limits: {
2931
+ bufferCap?: string | undefined;
2932
+ rateLimitPerSecond?: string | undefined;
2933
+ };
2934
+ }[] | undefined;
2935
+ } | undefined;
2936
+ } | {
2937
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2938
+ symbol?: string | undefined;
2939
+ name?: string | undefined;
2940
+ decimals?: number | undefined;
2941
+ totalSupply?: string | number | undefined;
2942
+ scale?: number | undefined;
2943
+ isNft?: boolean | undefined;
2944
+ } | {
2945
+ type: TokenType.syntheticRebase;
2946
+ collateralChainName: string;
2947
+ symbol?: string | undefined;
2948
+ name?: string | undefined;
2949
+ decimals?: number | undefined;
2950
+ totalSupply?: string | number | undefined;
2951
+ scale?: number | undefined;
2952
+ isNft?: boolean | undefined;
2953
+ }) & {
2954
+ owner: string;
2955
+ ownerOverrides?: Record<string, string> | undefined;
2956
+ gas?: number | undefined;
2957
+ proxyAdmin?: {
2958
+ owner: string;
2959
+ ownerOverrides?: Record<string, string> | undefined;
2960
+ address?: string | undefined;
2961
+ } | undefined;
2962
+ hook?: string | {
2963
+ type: HookType.MERKLE_TREE;
2964
+ } | {
2965
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2966
+ owner: string;
2967
+ beneficiary: string;
2968
+ oracleKey: string;
2969
+ overhead: Record<string, number>;
2970
+ oracleConfig: Record<string, {
2971
+ gasPrice: string;
2972
+ tokenExchangeRate: string;
2973
+ tokenDecimals?: number | undefined;
2974
+ }>;
2975
+ ownerOverrides?: Record<string, string> | undefined;
2976
+ } | {
2977
+ type: HookType.PROTOCOL_FEE;
2978
+ owner: string;
2979
+ protocolFee: string;
2980
+ beneficiary: string;
2981
+ maxProtocolFee: string;
2982
+ ownerOverrides?: Record<string, string> | undefined;
2983
+ } | {
2984
+ type: HookType.PAUSABLE;
2985
+ owner: string;
2986
+ paused: boolean;
2987
+ ownerOverrides?: Record<string, string> | undefined;
2988
+ } | {
2989
+ type: HookType.OP_STACK;
2990
+ owner: string;
2991
+ nativeBridge: string;
2992
+ destinationChain: string;
2993
+ ownerOverrides?: Record<string, string> | undefined;
2994
+ } | {
2995
+ type: HookType.ARB_L2_TO_L1;
2996
+ destinationChain: string;
2997
+ arbSys: string;
2998
+ bridge?: string | undefined;
2999
+ childHook?: any;
3000
+ } | {
3001
+ type: HookType.MAILBOX_DEFAULT;
3002
+ } | {
3003
+ type: HookType.CCIP;
3004
+ destinationChain: string;
3005
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3006
+ interchainSecurityModule?: string | ({
3007
+ validators: string[];
3008
+ threshold: number;
3009
+ } & {
3010
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3011
+ }) | ({
3012
+ validators: {
3013
+ signingAddress: string;
3014
+ weight: number;
3015
+ }[];
3016
+ thresholdWeight: number;
3017
+ } & {
3018
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3019
+ }) | {
3020
+ type: IsmType.TEST_ISM;
3021
+ } | ({
3022
+ owner: string;
3023
+ paused: boolean;
3024
+ ownerOverrides?: Record<string, string> | undefined;
3025
+ } & {
3026
+ type: IsmType.PAUSABLE;
3027
+ }) | {
3028
+ type: IsmType.OP_STACK;
3029
+ origin: string;
3030
+ nativeBridge: string;
3031
+ } | {
3032
+ type: IsmType.TRUSTED_RELAYER;
3033
+ relayer: string;
3034
+ } | {
3035
+ type: IsmType.CCIP;
3036
+ originChain: string;
3037
+ } | {
3038
+ type: IsmType.ARB_L2_TO_L1;
3039
+ bridge: string;
3040
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3041
+ foreignDeployment?: string | undefined;
3042
+ remoteRouters?: Record<string, {
3043
+ address: string;
3044
+ }> | undefined;
3045
+ destinationGas?: Record<string, string> | undefined;
3046
+ mailbox?: string | undefined;
3047
+ }>>, Record<string, ({
3048
+ type: TokenType.native | TokenType.nativeScaled;
3049
+ symbol?: string | undefined;
3050
+ name?: string | undefined;
3051
+ decimals?: number | undefined;
3052
+ totalSupply?: string | number | undefined;
3053
+ scale?: number | undefined;
3054
+ isNft?: boolean | undefined;
3055
+ } | {
3056
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3057
+ token: string;
3058
+ symbol?: string | undefined;
3059
+ name?: string | undefined;
3060
+ decimals?: number | undefined;
3061
+ totalSupply?: string | number | undefined;
3062
+ scale?: number | undefined;
3063
+ isNft?: boolean | undefined;
3064
+ } | {
3065
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3066
+ token: string;
3067
+ symbol?: string | undefined;
3068
+ name?: string | undefined;
3069
+ decimals?: number | undefined;
3070
+ totalSupply?: string | number | undefined;
3071
+ scale?: number | undefined;
3072
+ isNft?: boolean | undefined;
3073
+ xERC20?: {
3074
+ warpRouteLimits: {
3075
+ bufferCap?: string | undefined;
3076
+ rateLimitPerSecond?: string | undefined;
3077
+ };
3078
+ extraBridges?: {
3079
+ lockbox: string;
3080
+ limits: {
3081
+ bufferCap?: string | undefined;
3082
+ rateLimitPerSecond?: string | undefined;
3083
+ };
3084
+ }[] | undefined;
3085
+ } | undefined;
3086
+ } | {
3087
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3088
+ symbol?: string | undefined;
3089
+ name?: string | undefined;
3090
+ decimals?: number | undefined;
3091
+ totalSupply?: string | number | undefined;
3092
+ scale?: number | undefined;
3093
+ isNft?: boolean | undefined;
3094
+ } | {
3095
+ type: TokenType.syntheticRebase;
3096
+ collateralChainName: string;
3097
+ symbol?: string | undefined;
3098
+ name?: string | undefined;
3099
+ decimals?: number | undefined;
3100
+ totalSupply?: string | number | undefined;
3101
+ scale?: number | undefined;
3102
+ isNft?: boolean | undefined;
3103
+ }) & {
3104
+ owner: string;
3105
+ ownerOverrides?: Record<string, string> | undefined;
3106
+ gas?: number | undefined;
3107
+ proxyAdmin?: {
3108
+ owner: string;
3109
+ ownerOverrides?: Record<string, string> | undefined;
3110
+ address?: string | undefined;
3111
+ } | undefined;
3112
+ hook?: string | {
3113
+ type: HookType.MERKLE_TREE;
3114
+ } | {
3115
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3116
+ owner: string;
3117
+ beneficiary: string;
3118
+ oracleKey: string;
3119
+ overhead: Record<string, number>;
3120
+ oracleConfig: Record<string, {
3121
+ gasPrice: string;
3122
+ tokenExchangeRate: string;
3123
+ tokenDecimals?: number | undefined;
3124
+ }>;
3125
+ ownerOverrides?: Record<string, string> | undefined;
3126
+ } | {
3127
+ type: HookType.PROTOCOL_FEE;
3128
+ owner: string;
3129
+ protocolFee: string;
3130
+ beneficiary: string;
3131
+ maxProtocolFee: string;
3132
+ ownerOverrides?: Record<string, string> | undefined;
3133
+ } | {
3134
+ type: HookType.PAUSABLE;
3135
+ owner: string;
3136
+ paused: boolean;
3137
+ ownerOverrides?: Record<string, string> | undefined;
3138
+ } | {
3139
+ type: HookType.OP_STACK;
3140
+ owner: string;
3141
+ nativeBridge: string;
3142
+ destinationChain: string;
3143
+ ownerOverrides?: Record<string, string> | undefined;
3144
+ } | {
3145
+ type: HookType.ARB_L2_TO_L1;
3146
+ destinationChain: string;
3147
+ arbSys: string;
3148
+ bridge?: string | undefined;
3149
+ childHook?: any;
3150
+ } | {
3151
+ type: HookType.MAILBOX_DEFAULT;
3152
+ } | {
3153
+ type: HookType.CCIP;
3154
+ destinationChain: string;
3155
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3156
+ interchainSecurityModule?: string | ({
3157
+ validators: string[];
3158
+ threshold: number;
3159
+ } & {
3160
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3161
+ }) | ({
3162
+ validators: {
3163
+ signingAddress: string;
3164
+ weight: number;
3165
+ }[];
3166
+ thresholdWeight: number;
3167
+ } & {
3168
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3169
+ }) | {
3170
+ type: IsmType.TEST_ISM;
3171
+ } | ({
3172
+ owner: string;
3173
+ paused: boolean;
3174
+ ownerOverrides?: Record<string, string> | undefined;
3175
+ } & {
3176
+ type: IsmType.PAUSABLE;
3177
+ }) | {
3178
+ type: IsmType.OP_STACK;
3179
+ origin: string;
3180
+ nativeBridge: string;
3181
+ } | {
3182
+ type: IsmType.TRUSTED_RELAYER;
3183
+ relayer: string;
3184
+ } | {
3185
+ type: IsmType.CCIP;
3186
+ originChain: string;
3187
+ } | {
3188
+ type: IsmType.ARB_L2_TO_L1;
3189
+ bridge: string;
3190
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3191
+ foreignDeployment?: string | undefined;
3192
+ remoteRouters?: Record<string, {
3193
+ address: string;
3194
+ }> | undefined;
3195
+ destinationGas?: Record<string, string> | undefined;
3196
+ mailbox?: string | undefined;
3197
+ }>, Record<string, ({
3198
+ type: TokenType.native | TokenType.nativeScaled;
3199
+ symbol?: string | undefined;
3200
+ name?: string | undefined;
3201
+ decimals?: number | undefined;
3202
+ totalSupply?: string | number | undefined;
3203
+ scale?: number | undefined;
3204
+ isNft?: boolean | undefined;
3205
+ } | {
3206
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3207
+ token: string;
3208
+ symbol?: string | undefined;
3209
+ name?: string | undefined;
3210
+ decimals?: number | undefined;
3211
+ totalSupply?: string | number | undefined;
3212
+ scale?: number | undefined;
3213
+ isNft?: boolean | undefined;
3214
+ } | {
3215
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3216
+ token: string;
3217
+ symbol?: string | undefined;
3218
+ name?: string | undefined;
3219
+ decimals?: number | undefined;
3220
+ totalSupply?: string | number | undefined;
3221
+ scale?: number | undefined;
3222
+ isNft?: boolean | undefined;
3223
+ xERC20?: {
3224
+ warpRouteLimits: {
3225
+ bufferCap?: string | undefined;
3226
+ rateLimitPerSecond?: string | undefined;
3227
+ };
3228
+ extraBridges?: {
3229
+ lockbox: string;
3230
+ limits: {
3231
+ bufferCap?: string | undefined;
3232
+ rateLimitPerSecond?: string | undefined;
3233
+ };
3234
+ }[] | undefined;
3235
+ } | undefined;
3236
+ } | {
3237
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3238
+ symbol?: string | undefined;
3239
+ name?: string | undefined;
3240
+ decimals?: number | undefined;
3241
+ totalSupply?: string | number | undefined;
3242
+ scale?: number | undefined;
3243
+ isNft?: boolean | undefined;
3244
+ } | {
3245
+ type: TokenType.syntheticRebase;
3246
+ collateralChainName: string;
3247
+ symbol?: string | undefined;
3248
+ name?: string | undefined;
3249
+ decimals?: number | undefined;
3250
+ totalSupply?: string | number | undefined;
3251
+ scale?: number | undefined;
3252
+ isNft?: boolean | undefined;
3253
+ }) & {
3254
+ owner: string;
3255
+ ownerOverrides?: Record<string, string> | undefined;
3256
+ gas?: number | undefined;
3257
+ proxyAdmin?: {
3258
+ owner: string;
3259
+ ownerOverrides?: Record<string, string> | undefined;
3260
+ address?: string | undefined;
3261
+ } | undefined;
3262
+ hook?: string | {
3263
+ type: HookType.MERKLE_TREE;
3264
+ } | {
3265
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3266
+ owner: string;
3267
+ beneficiary: string;
3268
+ oracleKey: string;
3269
+ overhead: Record<string, number>;
3270
+ oracleConfig: Record<string, {
3271
+ gasPrice: string;
3272
+ tokenExchangeRate: string;
3273
+ tokenDecimals?: number | undefined;
3274
+ }>;
3275
+ ownerOverrides?: Record<string, string> | undefined;
3276
+ } | {
3277
+ type: HookType.PROTOCOL_FEE;
3278
+ owner: string;
3279
+ protocolFee: string;
3280
+ beneficiary: string;
3281
+ maxProtocolFee: string;
3282
+ ownerOverrides?: Record<string, string> | undefined;
3283
+ } | {
3284
+ type: HookType.PAUSABLE;
3285
+ owner: string;
3286
+ paused: boolean;
3287
+ ownerOverrides?: Record<string, string> | undefined;
3288
+ } | {
3289
+ type: HookType.OP_STACK;
3290
+ owner: string;
3291
+ nativeBridge: string;
3292
+ destinationChain: string;
3293
+ ownerOverrides?: Record<string, string> | undefined;
3294
+ } | {
3295
+ type: HookType.ARB_L2_TO_L1;
3296
+ destinationChain: string;
3297
+ arbSys: string;
3298
+ bridge?: string | undefined;
3299
+ childHook?: any;
3300
+ } | {
3301
+ type: HookType.MAILBOX_DEFAULT;
3302
+ } | {
3303
+ type: HookType.CCIP;
3304
+ destinationChain: string;
3305
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3306
+ interchainSecurityModule?: string | ({
3307
+ validators: string[];
3308
+ threshold: number;
3309
+ } & {
3310
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3311
+ }) | ({
3312
+ validators: {
3313
+ signingAddress: string;
3314
+ weight: number;
3315
+ }[];
3316
+ thresholdWeight: number;
3317
+ } & {
3318
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3319
+ }) | {
3320
+ type: IsmType.TEST_ISM;
3321
+ } | ({
3322
+ owner: string;
3323
+ paused: boolean;
3324
+ ownerOverrides?: Record<string, string> | undefined;
3325
+ } & {
3326
+ type: IsmType.PAUSABLE;
3327
+ }) | {
3328
+ type: IsmType.OP_STACK;
3329
+ origin: string;
3330
+ nativeBridge: string;
3331
+ } | {
3332
+ type: IsmType.TRUSTED_RELAYER;
3333
+ relayer: string;
3334
+ } | {
3335
+ type: IsmType.CCIP;
3336
+ originChain: string;
3337
+ } | {
3338
+ type: IsmType.ARB_L2_TO_L1;
3339
+ bridge: string;
3340
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3341
+ foreignDeployment?: string | undefined;
3342
+ remoteRouters?: Record<string, {
3343
+ address: string;
3344
+ }> | undefined;
3345
+ destinationGas?: Record<string, string> | undefined;
3346
+ mailbox?: string | undefined;
3347
+ }>>, Record<string, ({
3348
+ type: TokenType.native | TokenType.nativeScaled;
3349
+ symbol?: string | undefined;
3350
+ name?: string | undefined;
3351
+ decimals?: number | undefined;
3352
+ totalSupply?: string | number | undefined;
3353
+ scale?: number | undefined;
3354
+ isNft?: boolean | undefined;
3355
+ } | {
3356
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3357
+ token: string;
3358
+ symbol?: string | undefined;
3359
+ name?: string | undefined;
3360
+ decimals?: number | undefined;
3361
+ totalSupply?: string | number | undefined;
3362
+ scale?: number | undefined;
3363
+ isNft?: boolean | undefined;
3364
+ } | {
3365
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3366
+ token: string;
3367
+ symbol?: string | undefined;
3368
+ name?: string | undefined;
3369
+ decimals?: number | undefined;
3370
+ totalSupply?: string | number | undefined;
3371
+ scale?: number | undefined;
3372
+ isNft?: boolean | undefined;
3373
+ xERC20?: {
3374
+ warpRouteLimits: {
3375
+ bufferCap?: string | undefined;
3376
+ rateLimitPerSecond?: string | undefined;
3377
+ };
3378
+ extraBridges?: {
3379
+ lockbox: string;
3380
+ limits: {
3381
+ bufferCap?: string | undefined;
3382
+ rateLimitPerSecond?: string | undefined;
3383
+ };
3384
+ }[] | undefined;
3385
+ } | undefined;
3386
+ } | {
3387
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3388
+ symbol?: string | undefined;
3389
+ name?: string | undefined;
3390
+ decimals?: number | undefined;
3391
+ totalSupply?: string | number | undefined;
3392
+ scale?: number | undefined;
3393
+ isNft?: boolean | undefined;
3394
+ } | {
3395
+ type: TokenType.syntheticRebase;
3396
+ collateralChainName: string;
3397
+ symbol?: string | undefined;
3398
+ name?: string | undefined;
3399
+ decimals?: number | undefined;
3400
+ totalSupply?: string | number | undefined;
3401
+ scale?: number | undefined;
3402
+ isNft?: boolean | undefined;
3403
+ }) & {
3404
+ owner: string;
3405
+ ownerOverrides?: Record<string, string> | undefined;
3406
+ gas?: number | undefined;
3407
+ proxyAdmin?: {
3408
+ owner: string;
3409
+ ownerOverrides?: Record<string, string> | undefined;
3410
+ address?: string | undefined;
3411
+ } | undefined;
3412
+ hook?: string | {
3413
+ type: HookType.MERKLE_TREE;
3414
+ } | {
3415
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3416
+ owner: string;
3417
+ beneficiary: string;
3418
+ oracleKey: string;
3419
+ overhead: Record<string, number>;
3420
+ oracleConfig: Record<string, {
3421
+ gasPrice: string;
3422
+ tokenExchangeRate: string;
3423
+ tokenDecimals?: number | undefined;
3424
+ }>;
3425
+ ownerOverrides?: Record<string, string> | undefined;
3426
+ } | {
3427
+ type: HookType.PROTOCOL_FEE;
3428
+ owner: string;
3429
+ protocolFee: string;
3430
+ beneficiary: string;
3431
+ maxProtocolFee: string;
3432
+ ownerOverrides?: Record<string, string> | undefined;
3433
+ } | {
3434
+ type: HookType.PAUSABLE;
3435
+ owner: string;
3436
+ paused: boolean;
3437
+ ownerOverrides?: Record<string, string> | undefined;
3438
+ } | {
3439
+ type: HookType.OP_STACK;
3440
+ owner: string;
3441
+ nativeBridge: string;
3442
+ destinationChain: string;
3443
+ ownerOverrides?: Record<string, string> | undefined;
3444
+ } | {
3445
+ type: HookType.ARB_L2_TO_L1;
3446
+ destinationChain: string;
3447
+ arbSys: string;
3448
+ bridge?: string | undefined;
3449
+ childHook?: any;
3450
+ } | {
3451
+ type: HookType.MAILBOX_DEFAULT;
3452
+ } | {
3453
+ type: HookType.CCIP;
3454
+ destinationChain: string;
3455
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3456
+ interchainSecurityModule?: string | ({
3457
+ validators: string[];
3458
+ threshold: number;
3459
+ } & {
3460
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3461
+ }) | ({
3462
+ validators: {
3463
+ signingAddress: string;
3464
+ weight: number;
3465
+ }[];
3466
+ thresholdWeight: number;
3467
+ } & {
3468
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3469
+ }) | {
3470
+ type: IsmType.TEST_ISM;
3471
+ } | ({
3472
+ owner: string;
3473
+ paused: boolean;
3474
+ ownerOverrides?: Record<string, string> | undefined;
3475
+ } & {
3476
+ type: IsmType.PAUSABLE;
3477
+ }) | {
3478
+ type: IsmType.OP_STACK;
3479
+ origin: string;
3480
+ nativeBridge: string;
3481
+ } | {
3482
+ type: IsmType.TRUSTED_RELAYER;
3483
+ relayer: string;
3484
+ } | {
3485
+ type: IsmType.CCIP;
3486
+ originChain: string;
3487
+ } | {
3488
+ type: IsmType.ARB_L2_TO_L1;
3489
+ bridge: string;
3490
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3491
+ foreignDeployment?: string | undefined;
3492
+ remoteRouters?: Record<string, {
3493
+ address: string;
3494
+ }> | undefined;
3495
+ destinationGas?: Record<string, string> | undefined;
3496
+ mailbox?: string | undefined;
3497
+ }>, Record<string, ({
3498
+ type: TokenType.native | TokenType.nativeScaled;
3499
+ symbol?: string | undefined;
3500
+ name?: string | undefined;
3501
+ decimals?: number | undefined;
3502
+ totalSupply?: string | number | undefined;
3503
+ scale?: number | undefined;
3504
+ isNft?: boolean | undefined;
3505
+ } | {
3506
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3507
+ token: string;
3508
+ symbol?: string | undefined;
3509
+ name?: string | undefined;
3510
+ decimals?: number | undefined;
3511
+ totalSupply?: string | number | undefined;
3512
+ scale?: number | undefined;
3513
+ isNft?: boolean | undefined;
3514
+ } | {
3515
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3516
+ token: string;
3517
+ symbol?: string | undefined;
3518
+ name?: string | undefined;
3519
+ decimals?: number | undefined;
3520
+ totalSupply?: string | number | undefined;
3521
+ scale?: number | undefined;
3522
+ isNft?: boolean | undefined;
3523
+ xERC20?: {
3524
+ warpRouteLimits: {
3525
+ bufferCap?: string | undefined;
3526
+ rateLimitPerSecond?: string | undefined;
3527
+ };
3528
+ extraBridges?: {
3529
+ lockbox: string;
3530
+ limits: {
3531
+ bufferCap?: string | undefined;
3532
+ rateLimitPerSecond?: string | undefined;
3533
+ };
3534
+ }[] | undefined;
3535
+ } | undefined;
3536
+ } | {
3537
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3538
+ symbol?: string | undefined;
3539
+ name?: string | undefined;
3540
+ decimals?: number | undefined;
3541
+ totalSupply?: string | number | undefined;
3542
+ scale?: number | undefined;
3543
+ isNft?: boolean | undefined;
3544
+ } | {
3545
+ type: TokenType.syntheticRebase;
3546
+ collateralChainName: string;
3547
+ symbol?: string | undefined;
3548
+ name?: string | undefined;
3549
+ decimals?: number | undefined;
3550
+ totalSupply?: string | number | undefined;
3551
+ scale?: number | undefined;
3552
+ isNft?: boolean | undefined;
3553
+ }) & {
3554
+ owner: string;
3555
+ ownerOverrides?: Record<string, string> | undefined;
3556
+ gas?: number | undefined;
3557
+ proxyAdmin?: {
3558
+ owner: string;
3559
+ ownerOverrides?: Record<string, string> | undefined;
3560
+ address?: string | undefined;
3561
+ } | undefined;
3562
+ hook?: string | {
3563
+ type: HookType.MERKLE_TREE;
3564
+ } | {
3565
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3566
+ owner: string;
3567
+ beneficiary: string;
3568
+ oracleKey: string;
3569
+ overhead: Record<string, number>;
3570
+ oracleConfig: Record<string, {
3571
+ gasPrice: string;
3572
+ tokenExchangeRate: string;
3573
+ tokenDecimals?: number | undefined;
3574
+ }>;
3575
+ ownerOverrides?: Record<string, string> | undefined;
3576
+ } | {
3577
+ type: HookType.PROTOCOL_FEE;
3578
+ owner: string;
3579
+ protocolFee: string;
3580
+ beneficiary: string;
3581
+ maxProtocolFee: string;
3582
+ ownerOverrides?: Record<string, string> | undefined;
3583
+ } | {
3584
+ type: HookType.PAUSABLE;
3585
+ owner: string;
3586
+ paused: boolean;
3587
+ ownerOverrides?: Record<string, string> | undefined;
3588
+ } | {
3589
+ type: HookType.OP_STACK;
3590
+ owner: string;
3591
+ nativeBridge: string;
3592
+ destinationChain: string;
3593
+ ownerOverrides?: Record<string, string> | undefined;
3594
+ } | {
3595
+ type: HookType.ARB_L2_TO_L1;
3596
+ destinationChain: string;
3597
+ arbSys: string;
3598
+ bridge?: string | undefined;
3599
+ childHook?: any;
3600
+ } | {
3601
+ type: HookType.MAILBOX_DEFAULT;
3602
+ } | {
3603
+ type: HookType.CCIP;
3604
+ destinationChain: string;
3605
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3606
+ interchainSecurityModule?: string | ({
3607
+ validators: string[];
3608
+ threshold: number;
3609
+ } & {
3610
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3611
+ }) | ({
3612
+ validators: {
3613
+ signingAddress: string;
3614
+ weight: number;
3615
+ }[];
3616
+ thresholdWeight: number;
3617
+ } & {
3618
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3619
+ }) | {
3620
+ type: IsmType.TEST_ISM;
3621
+ } | ({
3622
+ owner: string;
3623
+ paused: boolean;
3624
+ ownerOverrides?: Record<string, string> | undefined;
3625
+ } & {
3626
+ type: IsmType.PAUSABLE;
3627
+ }) | {
3628
+ type: IsmType.OP_STACK;
3629
+ origin: string;
3630
+ nativeBridge: string;
3631
+ } | {
3632
+ type: IsmType.TRUSTED_RELAYER;
3633
+ relayer: string;
3634
+ } | {
3635
+ type: IsmType.CCIP;
3636
+ originChain: string;
3637
+ } | {
3638
+ type: IsmType.ARB_L2_TO_L1;
3639
+ bridge: string;
3640
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3641
+ foreignDeployment?: string | undefined;
3642
+ remoteRouters?: Record<string, {
3643
+ address: string;
3644
+ }> | undefined;
3645
+ destinationGas?: Record<string, string> | undefined;
3646
+ mailbox?: string | undefined;
3647
+ }>>;
3648
+ export type WarpRouteDeployConfig = z.infer<typeof WarpRouteDeployConfigSchema>;
3649
+ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3650
+ symbol: z.ZodOptional<z.ZodString>;
3651
+ name: z.ZodOptional<z.ZodString>;
3652
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3653
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3654
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3655
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3656
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
3657
+ }, "strip", z.ZodTypeAny, {
3658
+ type: TokenType.native | TokenType.nativeScaled;
3659
+ symbol?: string | undefined;
3660
+ name?: string | undefined;
3661
+ decimals?: number | undefined;
3662
+ totalSupply?: string | number | undefined;
3663
+ scale?: number | undefined;
3664
+ isNft?: boolean | undefined;
3665
+ }, {
3666
+ type: TokenType.native | TokenType.nativeScaled;
3667
+ symbol?: string | undefined;
3668
+ name?: string | undefined;
3669
+ decimals?: number | undefined;
3670
+ totalSupply?: string | number | undefined;
3671
+ scale?: number | undefined;
3672
+ isNft?: boolean | undefined;
3673
+ }>, z.ZodObject<{
3674
+ symbol: z.ZodOptional<z.ZodString>;
3675
+ name: z.ZodOptional<z.ZodString>;
3676
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3677
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3678
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3679
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3680
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
3681
+ token: z.ZodString;
3682
+ }, "strip", z.ZodTypeAny, {
3683
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3684
+ token: string;
3685
+ symbol?: string | undefined;
3686
+ name?: string | undefined;
3687
+ decimals?: number | undefined;
3688
+ totalSupply?: string | number | undefined;
3689
+ scale?: number | undefined;
3690
+ isNft?: boolean | undefined;
3691
+ }, {
3692
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3693
+ token: string;
3694
+ symbol?: string | undefined;
3695
+ name?: string | undefined;
3696
+ decimals?: number | undefined;
3697
+ totalSupply?: string | number | undefined;
3698
+ scale?: number | undefined;
3699
+ isNft?: boolean | undefined;
3700
+ }>, z.ZodObject<{
3701
+ symbol: z.ZodOptional<z.ZodString>;
3702
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
3703
+ name: z.ZodOptional<z.ZodString>;
3704
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3705
+ token: z.ZodString;
3706
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3707
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3708
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3709
+ xERC20: z.ZodOptional<z.ZodObject<{
3710
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
3711
+ lockbox: z.ZodString;
3712
+ limits: z.ZodObject<{
3713
+ bufferCap: z.ZodOptional<z.ZodString>;
3714
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
3715
+ }, "strip", z.ZodTypeAny, {
3716
+ bufferCap?: string | undefined;
3717
+ rateLimitPerSecond?: string | undefined;
3718
+ }, {
3719
+ bufferCap?: string | undefined;
3720
+ rateLimitPerSecond?: string | undefined;
3721
+ }>;
3722
+ }, "strip", z.ZodTypeAny, {
3723
+ lockbox: string;
3724
+ limits: {
3725
+ bufferCap?: string | undefined;
3726
+ rateLimitPerSecond?: string | undefined;
3727
+ };
3728
+ }, {
3729
+ lockbox: string;
3730
+ limits: {
3731
+ bufferCap?: string | undefined;
3732
+ rateLimitPerSecond?: string | undefined;
3733
+ };
3734
+ }>, "many">>;
3735
+ warpRouteLimits: z.ZodObject<{
3736
+ bufferCap: z.ZodOptional<z.ZodString>;
3737
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ bufferCap?: string | undefined;
3740
+ rateLimitPerSecond?: string | undefined;
3741
+ }, {
3742
+ bufferCap?: string | undefined;
3743
+ rateLimitPerSecond?: string | undefined;
3744
+ }>;
3745
+ }, "strip", z.ZodTypeAny, {
3746
+ warpRouteLimits: {
3747
+ bufferCap?: string | undefined;
3748
+ rateLimitPerSecond?: string | undefined;
3749
+ };
3750
+ extraBridges?: {
3751
+ lockbox: string;
3752
+ limits: {
3753
+ bufferCap?: string | undefined;
3754
+ rateLimitPerSecond?: string | undefined;
3755
+ };
3756
+ }[] | undefined;
3757
+ }, {
3758
+ warpRouteLimits: {
3759
+ bufferCap?: string | undefined;
3760
+ rateLimitPerSecond?: string | undefined;
3761
+ };
3762
+ extraBridges?: {
3763
+ lockbox: string;
3764
+ limits: {
3765
+ bufferCap?: string | undefined;
3766
+ rateLimitPerSecond?: string | undefined;
3767
+ };
3768
+ }[] | undefined;
3769
+ }>>;
3770
+ }, "strip", z.ZodTypeAny, {
3771
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3772
+ token: string;
3773
+ symbol?: string | undefined;
3774
+ name?: string | undefined;
3775
+ decimals?: number | undefined;
3776
+ totalSupply?: string | number | undefined;
3777
+ scale?: number | undefined;
3778
+ isNft?: boolean | undefined;
3779
+ xERC20?: {
3780
+ warpRouteLimits: {
3781
+ bufferCap?: string | undefined;
3782
+ rateLimitPerSecond?: string | undefined;
3783
+ };
3784
+ extraBridges?: {
3785
+ lockbox: string;
3786
+ limits: {
3787
+ bufferCap?: string | undefined;
3788
+ rateLimitPerSecond?: string | undefined;
3789
+ };
3790
+ }[] | undefined;
3791
+ } | undefined;
3792
+ }, {
3793
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3794
+ token: string;
3795
+ symbol?: string | undefined;
3796
+ name?: string | undefined;
3797
+ decimals?: number | undefined;
3798
+ totalSupply?: string | number | undefined;
3799
+ scale?: number | undefined;
3800
+ isNft?: boolean | undefined;
3801
+ xERC20?: {
3802
+ warpRouteLimits: {
3803
+ bufferCap?: string | undefined;
3804
+ rateLimitPerSecond?: string | undefined;
3805
+ };
3806
+ extraBridges?: {
3807
+ lockbox: string;
3808
+ limits: {
3809
+ bufferCap?: string | undefined;
3810
+ rateLimitPerSecond?: string | undefined;
3811
+ };
3812
+ }[] | undefined;
3813
+ } | undefined;
3814
+ }>, z.ZodObject<{
3815
+ symbol: z.ZodOptional<z.ZodString>;
3816
+ name: z.ZodOptional<z.ZodString>;
3817
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3818
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3819
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3820
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3821
+ type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
3822
+ }, "strip", z.ZodTypeAny, {
3823
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3824
+ symbol?: string | undefined;
3825
+ name?: string | undefined;
3826
+ decimals?: number | undefined;
3827
+ totalSupply?: string | number | undefined;
3828
+ scale?: number | undefined;
3829
+ isNft?: boolean | undefined;
3830
+ }, {
3831
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3832
+ symbol?: string | undefined;
3833
+ name?: string | undefined;
3834
+ decimals?: number | undefined;
3835
+ totalSupply?: string | number | undefined;
3836
+ scale?: number | undefined;
3837
+ isNft?: boolean | undefined;
3838
+ }>, z.ZodObject<{
3839
+ symbol: z.ZodOptional<z.ZodString>;
3840
+ name: z.ZodOptional<z.ZodString>;
3841
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3842
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3843
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3844
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3845
+ type: z.ZodLiteral<TokenType.syntheticRebase>;
3846
+ collateralChainName: z.ZodString;
3847
+ }, "strip", z.ZodTypeAny, {
3848
+ type: TokenType.syntheticRebase;
3849
+ collateralChainName: string;
3850
+ symbol?: string | undefined;
3851
+ name?: string | undefined;
3852
+ decimals?: number | undefined;
3853
+ totalSupply?: string | number | undefined;
3854
+ scale?: number | undefined;
3855
+ isNft?: boolean | undefined;
3856
+ }, {
3857
+ type: TokenType.syntheticRebase;
3858
+ collateralChainName: string;
3859
+ symbol?: string | undefined;
3860
+ name?: string | undefined;
3861
+ decimals?: number | undefined;
3862
+ totalSupply?: string | number | undefined;
3863
+ scale?: number | undefined;
3864
+ isNft?: boolean | undefined;
3865
+ }>]>, z.ZodObject<{
3866
+ owner: z.ZodString;
3867
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3868
+ gas: z.ZodOptional<z.ZodNumber>;
1609
3869
  proxyAdmin: z.ZodOptional<z.ZodObject<{
1610
3870
  owner: z.ZodString;
1611
3871
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1874,12 +4134,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1874
4134
  }, {
1875
4135
  address: string;
1876
4136
  }>>>;
1877
- gas: z.ZodOptional<z.ZodNumber>;
1878
4137
  destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4138
+ mailbox: z.ZodOptional<z.ZodString>;
1879
4139
  }, "strip", z.ZodTypeAny, {
1880
4140
  owner: string;
1881
- mailbox: string;
1882
4141
  ownerOverrides?: Record<string, string> | undefined;
4142
+ gas?: number | undefined;
1883
4143
  proxyAdmin?: {
1884
4144
  owner: string;
1885
4145
  ownerOverrides?: Record<string, string> | undefined;
@@ -1968,12 +4228,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1968
4228
  remoteRouters?: Record<string, {
1969
4229
  address: string;
1970
4230
  }> | undefined;
1971
- gas?: number | undefined;
1972
4231
  destinationGas?: Record<string, string> | undefined;
4232
+ mailbox?: string | undefined;
1973
4233
  }, {
1974
4234
  owner: string;
1975
- mailbox: string;
1976
4235
  ownerOverrides?: Record<string, string> | undefined;
4236
+ gas?: number | undefined;
1977
4237
  proxyAdmin?: {
1978
4238
  owner: string;
1979
4239
  ownerOverrides?: Record<string, string> | undefined;
@@ -2062,8 +4322,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2062
4322
  remoteRouters?: Record<string, {
2063
4323
  address: string;
2064
4324
  }> | undefined;
2065
- gas?: number | undefined;
2066
4325
  destinationGas?: Record<string, string> | undefined;
4326
+ mailbox?: string | undefined;
2067
4327
  }>>>, Record<string, ({
2068
4328
  type: TokenType.native | TokenType.nativeScaled;
2069
4329
  symbol?: string | undefined;
@@ -2122,8 +4382,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2122
4382
  isNft?: boolean | undefined;
2123
4383
  }) & {
2124
4384
  owner: string;
2125
- mailbox: string;
2126
4385
  ownerOverrides?: Record<string, string> | undefined;
4386
+ gas?: number | undefined;
2127
4387
  proxyAdmin?: {
2128
4388
  owner: string;
2129
4389
  ownerOverrides?: Record<string, string> | undefined;
@@ -2212,8 +4472,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2212
4472
  remoteRouters?: Record<string, {
2213
4473
  address: string;
2214
4474
  }> | undefined;
2215
- gas?: number | undefined;
2216
4475
  destinationGas?: Record<string, string> | undefined;
4476
+ mailbox?: string | undefined;
2217
4477
  }>, Record<string, ({
2218
4478
  type: TokenType.native | TokenType.nativeScaled;
2219
4479
  symbol?: string | undefined;
@@ -2272,8 +4532,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2272
4532
  isNft?: boolean | undefined;
2273
4533
  }) & {
2274
4534
  owner: string;
2275
- mailbox: string;
2276
4535
  ownerOverrides?: Record<string, string> | undefined;
4536
+ gas?: number | undefined;
2277
4537
  proxyAdmin?: {
2278
4538
  owner: string;
2279
4539
  ownerOverrides?: Record<string, string> | undefined;
@@ -2362,8 +4622,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2362
4622
  remoteRouters?: Record<string, {
2363
4623
  address: string;
2364
4624
  }> | undefined;
2365
- gas?: number | undefined;
2366
4625
  destinationGas?: Record<string, string> | undefined;
4626
+ mailbox?: string | undefined;
2367
4627
  }>>, Record<string, ({
2368
4628
  type: TokenType.native | TokenType.nativeScaled;
2369
4629
  symbol?: string | undefined;
@@ -2422,8 +4682,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2422
4682
  isNft?: boolean | undefined;
2423
4683
  }) & {
2424
4684
  owner: string;
2425
- mailbox: string;
2426
4685
  ownerOverrides?: Record<string, string> | undefined;
4686
+ gas?: number | undefined;
2427
4687
  proxyAdmin?: {
2428
4688
  owner: string;
2429
4689
  ownerOverrides?: Record<string, string> | undefined;
@@ -2512,8 +4772,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2512
4772
  remoteRouters?: Record<string, {
2513
4773
  address: string;
2514
4774
  }> | undefined;
2515
- gas?: number | undefined;
2516
4775
  destinationGas?: Record<string, string> | undefined;
4776
+ mailbox?: string | undefined;
2517
4777
  }>, Record<string, ({
2518
4778
  type: TokenType.native | TokenType.nativeScaled;
2519
4779
  symbol?: string | undefined;
@@ -2572,8 +4832,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2572
4832
  isNft?: boolean | undefined;
2573
4833
  }) & {
2574
4834
  owner: string;
2575
- mailbox: string;
2576
4835
  ownerOverrides?: Record<string, string> | undefined;
4836
+ gas?: number | undefined;
2577
4837
  proxyAdmin?: {
2578
4838
  owner: string;
2579
4839
  ownerOverrides?: Record<string, string> | undefined;
@@ -2662,8 +4922,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2662
4922
  remoteRouters?: Record<string, {
2663
4923
  address: string;
2664
4924
  }> | undefined;
2665
- gas?: number | undefined;
2666
4925
  destinationGas?: Record<string, string> | undefined;
4926
+ mailbox?: string | undefined;
2667
4927
  }>>, Record<string, ({
2668
4928
  type: TokenType.native | TokenType.nativeScaled;
2669
4929
  symbol?: string | undefined;
@@ -2722,8 +4982,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2722
4982
  isNft?: boolean | undefined;
2723
4983
  }) & {
2724
4984
  owner: string;
2725
- mailbox: string;
2726
4985
  ownerOverrides?: Record<string, string> | undefined;
4986
+ gas?: number | undefined;
2727
4987
  proxyAdmin?: {
2728
4988
  owner: string;
2729
4989
  ownerOverrides?: Record<string, string> | undefined;
@@ -2812,8 +5072,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2812
5072
  remoteRouters?: Record<string, {
2813
5073
  address: string;
2814
5074
  }> | undefined;
2815
- gas?: number | undefined;
2816
5075
  destinationGas?: Record<string, string> | undefined;
5076
+ mailbox?: string | undefined;
2817
5077
  }>, Record<string, ({
2818
5078
  type: TokenType.native | TokenType.nativeScaled;
2819
5079
  symbol?: string | undefined;
@@ -2872,8 +5132,8 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2872
5132
  isNft?: boolean | undefined;
2873
5133
  }) & {
2874
5134
  owner: string;
2875
- mailbox: string;
2876
5135
  ownerOverrides?: Record<string, string> | undefined;
5136
+ gas?: number | undefined;
2877
5137
  proxyAdmin?: {
2878
5138
  owner: string;
2879
5139
  ownerOverrides?: Record<string, string> | undefined;
@@ -2962,9 +5222,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
2962
5222
  remoteRouters?: Record<string, {
2963
5223
  address: string;
2964
5224
  }> | undefined;
2965
- gas?: number | undefined;
2966
5225
  destinationGas?: Record<string, string> | undefined;
2967
- }>>;
2968
- export type WarpRouteDeployConfig = z.infer<typeof WarpRouteDeployConfigSchema>;
5226
+ mailbox?: string | undefined;
5227
+ }>>, z.ZodRecord<z.ZodString, z.ZodObject<{
5228
+ mailbox: z.ZodString;
5229
+ }, "strip", z.ZodTypeAny, {
5230
+ mailbox: string;
5231
+ }, {
5232
+ mailbox: string;
5233
+ }>>>;
5234
+ export type WarpRouteDeployConfigMailboxRequired = z.infer<typeof WarpRouteDeployConfigMailboxRequiredSchema>;
2969
5235
  export {};
2970
5236
  //# sourceMappingURL=types.d.ts.map