@hyperlane-xyz/sdk 5.6.1 → 5.7.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 (127) hide show
  1. package/dist/consts/multisigIsm.d.ts.map +1 -1
  2. package/dist/consts/multisigIsm.js +119 -14
  3. package/dist/consts/multisigIsm.js.map +1 -1
  4. package/dist/consts/multisigIsm.test.js +13 -0
  5. package/dist/consts/multisigIsm.test.js.map +1 -1
  6. package/dist/contracts/contracts.d.ts +3 -0
  7. package/dist/contracts/contracts.d.ts.map +1 -1
  8. package/dist/contracts/contracts.js +15 -1
  9. package/dist/contracts/contracts.js.map +1 -1
  10. package/dist/core/EvmCoreModule.d.ts.map +1 -1
  11. package/dist/core/EvmCoreModule.js +2 -8
  12. package/dist/core/EvmCoreModule.js.map +1 -1
  13. package/dist/core/HyperlaneCore.d.ts.map +1 -1
  14. package/dist/core/HyperlaneCore.js +5 -2
  15. package/dist/core/HyperlaneCore.js.map +1 -1
  16. package/dist/core/HyperlaneRelayer.d.ts +37 -32
  17. package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
  18. package/dist/core/HyperlaneRelayer.js +6 -6
  19. package/dist/core/HyperlaneRelayer.js.map +1 -1
  20. package/dist/core/schemas.d.ts +1007 -953
  21. package/dist/core/schemas.d.ts.map +1 -1
  22. package/dist/deploy/HyperlaneDeployer.d.ts +1 -0
  23. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  24. package/dist/deploy/HyperlaneDeployer.js +2 -2
  25. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  26. package/dist/deploy/types.d.ts +2 -1
  27. package/dist/deploy/types.d.ts.map +1 -1
  28. package/dist/deploy/types.js.map +1 -1
  29. package/dist/deploy/verify/PostDeploymentContractVerifier.d.ts.map +1 -1
  30. package/dist/deploy/verify/PostDeploymentContractVerifier.js +1 -1
  31. package/dist/deploy/verify/PostDeploymentContractVerifier.js.map +1 -1
  32. package/dist/deploy/verify/utils.d.ts +36 -0
  33. package/dist/deploy/verify/utils.d.ts.map +1 -1
  34. package/dist/deploy/verify/utils.js +100 -1
  35. package/dist/deploy/verify/utils.js.map +1 -1
  36. package/dist/gas/token-prices.d.ts +7 -7
  37. package/dist/gas/token-prices.d.ts.map +1 -1
  38. package/dist/gas/token-prices.js +36 -32
  39. package/dist/gas/token-prices.js.map +1 -1
  40. package/dist/gas/utils.d.ts +38 -0
  41. package/dist/gas/utils.d.ts.map +1 -0
  42. package/dist/gas/utils.js +145 -0
  43. package/dist/gas/utils.js.map +1 -0
  44. package/dist/hook/EvmHookModule.d.ts +9 -4
  45. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  46. package/dist/hook/EvmHookModule.js +43 -81
  47. package/dist/hook/EvmHookModule.js.map +1 -1
  48. package/dist/hook/EvmHookReader.d.ts +3 -1
  49. package/dist/hook/EvmHookReader.d.ts.map +1 -1
  50. package/dist/hook/EvmHookReader.js +9 -2
  51. package/dist/hook/EvmHookReader.js.map +1 -1
  52. package/dist/hook/schemas.d.ts +10 -4
  53. package/dist/hook/schemas.d.ts.map +1 -1
  54. package/dist/hook/schemas.js +1 -0
  55. package/dist/hook/schemas.js.map +1 -1
  56. package/dist/index.d.ts +5 -4
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +3 -2
  59. package/dist/index.js.map +1 -1
  60. package/dist/ism/EvmIsmModule.d.ts +5 -24
  61. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  62. package/dist/ism/EvmIsmModule.js +22 -222
  63. package/dist/ism/EvmIsmModule.js.map +1 -1
  64. package/dist/ism/EvmIsmReader.d.ts +3 -1
  65. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  66. package/dist/ism/EvmIsmReader.js +10 -4
  67. package/dist/ism/EvmIsmReader.js.map +1 -1
  68. package/dist/ism/HyperlaneIsmFactory.d.ts +17 -4
  69. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  70. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +0 -1
  71. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  72. package/dist/ism/HyperlaneIsmFactory.js +30 -17
  73. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  74. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js +20 -5
  75. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js.map +1 -1
  76. package/dist/metadata/agentConfig.d.ts +5 -5
  77. package/dist/metadata/warpRouteConfig.d.ts +10 -0
  78. package/dist/metadata/warpRouteConfig.d.ts.map +1 -1
  79. package/dist/metadata/warpRouteConfig.js +1 -0
  80. package/dist/metadata/warpRouteConfig.js.map +1 -1
  81. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  82. package/dist/middleware/account/InterchainAccount.js +4 -1
  83. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  84. package/dist/router/ProxiedRouterDeployer.d.ts.map +1 -1
  85. package/dist/router/ProxiedRouterDeployer.js +10 -2
  86. package/dist/router/ProxiedRouterDeployer.js.map +1 -1
  87. package/dist/router/schemas.d.ts +155 -90
  88. package/dist/router/schemas.d.ts.map +1 -1
  89. package/dist/router/schemas.js +6 -1
  90. package/dist/router/schemas.js.map +1 -1
  91. package/dist/router/types.d.ts +2 -1
  92. package/dist/router/types.d.ts.map +1 -1
  93. package/dist/router/types.js.map +1 -1
  94. package/dist/schemas.d.ts +13 -0
  95. package/dist/schemas.d.ts.map +1 -1
  96. package/dist/schemas.js +3 -0
  97. package/dist/schemas.js.map +1 -1
  98. package/dist/token/EvmERC20WarpModule.d.ts +9 -0
  99. package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
  100. package/dist/token/EvmERC20WarpModule.hardhat-test.js +67 -2
  101. package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
  102. package/dist/token/EvmERC20WarpModule.js +61 -10
  103. package/dist/token/EvmERC20WarpModule.js.map +1 -1
  104. package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -1
  105. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
  106. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js +0 -1
  107. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
  108. package/dist/token/EvmERC20WarpRouteReader.js +26 -1
  109. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
  110. package/dist/token/IToken.d.ts +2 -2
  111. package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -1
  112. package/dist/token/adapters/SealevelTokenAdapter.js +2 -2
  113. package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -1
  114. package/dist/token/deploy.d.ts.map +1 -1
  115. package/dist/token/deploy.js +18 -7
  116. package/dist/token/deploy.js.map +1 -1
  117. package/dist/token/schemas.d.ts +206 -120
  118. package/dist/token/schemas.d.ts.map +1 -1
  119. package/dist/token/schemas.js +5 -1
  120. package/dist/token/schemas.js.map +1 -1
  121. package/dist/utils/cosmos.d.ts +12 -12
  122. package/dist/warp/types.d.ts +4 -4
  123. package/package.json +3 -3
  124. package/dist/deploy/EvmModuleDeployer.d.ts +0 -93
  125. package/dist/deploy/EvmModuleDeployer.d.ts.map +0 -1
  126. package/dist/deploy/EvmModuleDeployer.js +0 -187
  127. package/dist/deploy/EvmModuleDeployer.js.map +0 -1
@@ -83,7 +83,6 @@ export declare const CollateralRebaseConfigSchema: z.ZodObject<{
83
83
  symbol: z.ZodOptional<z.ZodString>;
84
84
  name: z.ZodOptional<z.ZodString>;
85
85
  decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
86
- totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
87
86
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
88
87
  isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
89
88
  type: z.ZodLiteral<TokenType.collateralVaultRebase>;
@@ -92,7 +91,6 @@ export declare const CollateralRebaseConfigSchema: z.ZodObject<{
92
91
  symbol?: string | undefined;
93
92
  name?: string | undefined;
94
93
  decimals?: number | undefined;
95
- totalSupply?: string | number | undefined;
96
94
  scale?: number | undefined;
97
95
  isNft?: boolean | undefined;
98
96
  }, {
@@ -100,7 +98,6 @@ export declare const CollateralRebaseConfigSchema: z.ZodObject<{
100
98
  symbol?: string | undefined;
101
99
  name?: string | undefined;
102
100
  decimals?: number | undefined;
103
- totalSupply?: string | number | undefined;
104
101
  scale?: number | undefined;
105
102
  isNft?: boolean | undefined;
106
103
  }>;
@@ -371,6 +368,19 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
371
368
  owner: z.ZodString;
372
369
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
373
370
  mailbox: z.ZodString;
371
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
372
+ owner: z.ZodString;
373
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
374
+ address: z.ZodOptional<z.ZodString>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ owner: string;
377
+ ownerOverrides?: Record<string, string> | undefined;
378
+ address?: string | undefined;
379
+ }, {
380
+ owner: string;
381
+ ownerOverrides?: Record<string, string> | undefined;
382
+ address?: string | undefined;
383
+ }>>;
374
384
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
375
385
  owner: z.ZodString;
376
386
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -381,16 +391,16 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
381
391
  }, "strip", z.ZodTypeAny, {
382
392
  type: import("../index.js").HookType.PROTOCOL_FEE;
383
393
  owner: string;
394
+ protocolFee: string;
384
395
  beneficiary: string;
385
396
  maxProtocolFee: string;
386
- protocolFee: string;
387
397
  ownerOverrides?: Record<string, string> | undefined;
388
398
  }, {
389
399
  type: import("../index.js").HookType.PROTOCOL_FEE;
390
400
  owner: string;
401
+ protocolFee: string;
391
402
  beneficiary: string;
392
403
  maxProtocolFee: string;
393
- protocolFee: string;
394
404
  ownerOverrides?: Record<string, string> | undefined;
395
405
  }>, z.ZodObject<{
396
406
  owner: z.ZodString;
@@ -475,16 +485,19 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
475
485
  arbSys: z.ZodString;
476
486
  bridge: z.ZodOptional<z.ZodString>;
477
487
  destinationChain: z.ZodString;
488
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
478
489
  }, "strip", z.ZodTypeAny, {
479
490
  type: import("../index.js").HookType.ARB_L2_TO_L1;
480
491
  destinationChain: string;
481
492
  arbSys: string;
482
493
  bridge?: string | undefined;
494
+ childHook?: any;
483
495
  }, {
484
496
  type: import("../index.js").HookType.ARB_L2_TO_L1;
485
497
  destinationChain: string;
486
498
  arbSys: string;
487
499
  bridge?: string | undefined;
500
+ childHook?: any;
488
501
  }>]>>;
489
502
  interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
490
503
  type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
@@ -614,19 +627,36 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
614
627
  foreignDeployment: z.ZodOptional<z.ZodString>;
615
628
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
616
629
  gas: z.ZodOptional<z.ZodNumber>;
630
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
617
631
  }, "strip", z.ZodTypeAny, {
618
632
  owner: string;
619
633
  mailbox: string;
620
634
  ownerOverrides?: Record<string, string> | undefined;
635
+ proxyAdmin?: {
636
+ owner: string;
637
+ ownerOverrides?: Record<string, string> | undefined;
638
+ address?: string | undefined;
639
+ } | undefined;
621
640
  hook?: string | {
641
+ type: import("../index.js").HookType.MERKLE_TREE;
642
+ } | {
643
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
644
+ owner: string;
645
+ beneficiary: string;
646
+ oracleKey: string;
647
+ overhead: Record<string, number>;
648
+ oracleConfig: Record<string, {
649
+ gasPrice: string;
650
+ tokenExchangeRate: string;
651
+ }>;
652
+ ownerOverrides?: Record<string, string> | undefined;
653
+ } | {
622
654
  type: import("../index.js").HookType.PROTOCOL_FEE;
623
655
  owner: string;
656
+ protocolFee: string;
624
657
  beneficiary: string;
625
658
  maxProtocolFee: string;
626
- protocolFee: string;
627
659
  ownerOverrides?: Record<string, string> | undefined;
628
- } | {
629
- type: import("../index.js").HookType.MERKLE_TREE;
630
660
  } | {
631
661
  type: import("../index.js").HookType.PAUSABLE;
632
662
  owner: string;
@@ -643,17 +673,7 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
643
673
  destinationChain: string;
644
674
  arbSys: string;
645
675
  bridge?: string | undefined;
646
- } | {
647
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
648
- owner: string;
649
- beneficiary: string;
650
- oracleKey: string;
651
- overhead: Record<string, number>;
652
- oracleConfig: Record<string, {
653
- gasPrice: string;
654
- tokenExchangeRate: string;
655
- }>;
656
- ownerOverrides?: Record<string, string> | undefined;
676
+ childHook?: any;
657
677
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
658
678
  interchainSecurityModule?: string | {
659
679
  type: import("../index.js").IsmType.TEST_ISM;
@@ -699,19 +719,36 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
699
719
  foreignDeployment?: string | undefined;
700
720
  remoteRouters?: Record<string, string> | undefined;
701
721
  gas?: number | undefined;
722
+ destinationGas?: Record<string, string> | undefined;
702
723
  }, {
703
724
  owner: string;
704
725
  mailbox: string;
705
726
  ownerOverrides?: Record<string, string> | undefined;
727
+ proxyAdmin?: {
728
+ owner: string;
729
+ ownerOverrides?: Record<string, string> | undefined;
730
+ address?: string | undefined;
731
+ } | undefined;
706
732
  hook?: string | {
733
+ type: import("../index.js").HookType.MERKLE_TREE;
734
+ } | {
735
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
736
+ owner: string;
737
+ beneficiary: string;
738
+ oracleKey: string;
739
+ overhead: Record<string, number>;
740
+ oracleConfig: Record<string, {
741
+ gasPrice: string;
742
+ tokenExchangeRate: string;
743
+ }>;
744
+ ownerOverrides?: Record<string, string> | undefined;
745
+ } | {
707
746
  type: import("../index.js").HookType.PROTOCOL_FEE;
708
747
  owner: string;
748
+ protocolFee: string;
709
749
  beneficiary: string;
710
750
  maxProtocolFee: string;
711
- protocolFee: string;
712
751
  ownerOverrides?: Record<string, string> | undefined;
713
- } | {
714
- type: import("../index.js").HookType.MERKLE_TREE;
715
752
  } | {
716
753
  type: import("../index.js").HookType.PAUSABLE;
717
754
  owner: string;
@@ -728,17 +765,7 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
728
765
  destinationChain: string;
729
766
  arbSys: string;
730
767
  bridge?: string | undefined;
731
- } | {
732
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
733
- owner: string;
734
- beneficiary: string;
735
- oracleKey: string;
736
- overhead: Record<string, number>;
737
- oracleConfig: Record<string, {
738
- gasPrice: string;
739
- tokenExchangeRate: string;
740
- }>;
741
- ownerOverrides?: Record<string, string> | undefined;
768
+ childHook?: any;
742
769
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
743
770
  interchainSecurityModule?: string | {
744
771
  type: import("../index.js").IsmType.TEST_ISM;
@@ -784,6 +811,7 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
784
811
  foreignDeployment?: string | undefined;
785
812
  remoteRouters?: Record<string, string> | undefined;
786
813
  gas?: number | undefined;
814
+ destinationGas?: Record<string, string> | undefined;
787
815
  }>>;
788
816
  export type TokenRouterConfig = z.infer<typeof TokenRouterConfigSchema>;
789
817
  export type NativeConfig = z.infer<typeof NativeConfigSchema>;
@@ -812,7 +840,6 @@ export declare const isCollateralRebaseConfig: (config: unknown) => config is {
812
840
  symbol?: string | undefined;
813
841
  name?: string | undefined;
814
842
  decimals?: number | undefined;
815
- totalSupply?: string | number | undefined;
816
843
  scale?: number | undefined;
817
844
  isNft?: boolean | undefined;
818
845
  };
@@ -949,6 +976,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
949
976
  owner: z.ZodString;
950
977
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
951
978
  mailbox: z.ZodString;
979
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
980
+ owner: z.ZodString;
981
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
982
+ address: z.ZodOptional<z.ZodString>;
983
+ }, "strip", z.ZodTypeAny, {
984
+ owner: string;
985
+ ownerOverrides?: Record<string, string> | undefined;
986
+ address?: string | undefined;
987
+ }, {
988
+ owner: string;
989
+ ownerOverrides?: Record<string, string> | undefined;
990
+ address?: string | undefined;
991
+ }>>;
952
992
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
953
993
  owner: z.ZodString;
954
994
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -959,16 +999,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
959
999
  }, "strip", z.ZodTypeAny, {
960
1000
  type: import("../index.js").HookType.PROTOCOL_FEE;
961
1001
  owner: string;
1002
+ protocolFee: string;
962
1003
  beneficiary: string;
963
1004
  maxProtocolFee: string;
964
- protocolFee: string;
965
1005
  ownerOverrides?: Record<string, string> | undefined;
966
1006
  }, {
967
1007
  type: import("../index.js").HookType.PROTOCOL_FEE;
968
1008
  owner: string;
1009
+ protocolFee: string;
969
1010
  beneficiary: string;
970
1011
  maxProtocolFee: string;
971
- protocolFee: string;
972
1012
  ownerOverrides?: Record<string, string> | undefined;
973
1013
  }>, z.ZodObject<{
974
1014
  owner: z.ZodString;
@@ -1053,16 +1093,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1053
1093
  arbSys: z.ZodString;
1054
1094
  bridge: z.ZodOptional<z.ZodString>;
1055
1095
  destinationChain: z.ZodString;
1096
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
1056
1097
  }, "strip", z.ZodTypeAny, {
1057
1098
  type: import("../index.js").HookType.ARB_L2_TO_L1;
1058
1099
  destinationChain: string;
1059
1100
  arbSys: string;
1060
1101
  bridge?: string | undefined;
1102
+ childHook?: any;
1061
1103
  }, {
1062
1104
  type: import("../index.js").HookType.ARB_L2_TO_L1;
1063
1105
  destinationChain: string;
1064
1106
  arbSys: string;
1065
1107
  bridge?: string | undefined;
1108
+ childHook?: any;
1066
1109
  }>]>>;
1067
1110
  interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1068
1111
  type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
@@ -1192,19 +1235,36 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1192
1235
  foreignDeployment: z.ZodOptional<z.ZodString>;
1193
1236
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1194
1237
  gas: z.ZodOptional<z.ZodNumber>;
1238
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1195
1239
  }, "strip", z.ZodTypeAny, {
1196
1240
  owner: string;
1197
1241
  mailbox: string;
1198
1242
  ownerOverrides?: Record<string, string> | undefined;
1243
+ proxyAdmin?: {
1244
+ owner: string;
1245
+ ownerOverrides?: Record<string, string> | undefined;
1246
+ address?: string | undefined;
1247
+ } | undefined;
1199
1248
  hook?: string | {
1249
+ type: import("../index.js").HookType.MERKLE_TREE;
1250
+ } | {
1251
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1252
+ owner: string;
1253
+ beneficiary: string;
1254
+ oracleKey: string;
1255
+ overhead: Record<string, number>;
1256
+ oracleConfig: Record<string, {
1257
+ gasPrice: string;
1258
+ tokenExchangeRate: string;
1259
+ }>;
1260
+ ownerOverrides?: Record<string, string> | undefined;
1261
+ } | {
1200
1262
  type: import("../index.js").HookType.PROTOCOL_FEE;
1201
1263
  owner: string;
1264
+ protocolFee: string;
1202
1265
  beneficiary: string;
1203
1266
  maxProtocolFee: string;
1204
- protocolFee: string;
1205
1267
  ownerOverrides?: Record<string, string> | undefined;
1206
- } | {
1207
- type: import("../index.js").HookType.MERKLE_TREE;
1208
1268
  } | {
1209
1269
  type: import("../index.js").HookType.PAUSABLE;
1210
1270
  owner: string;
@@ -1221,17 +1281,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1221
1281
  destinationChain: string;
1222
1282
  arbSys: string;
1223
1283
  bridge?: string | undefined;
1224
- } | {
1225
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1226
- owner: string;
1227
- beneficiary: string;
1228
- oracleKey: string;
1229
- overhead: Record<string, number>;
1230
- oracleConfig: Record<string, {
1231
- gasPrice: string;
1232
- tokenExchangeRate: string;
1233
- }>;
1234
- ownerOverrides?: Record<string, string> | undefined;
1284
+ childHook?: any;
1235
1285
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1236
1286
  interchainSecurityModule?: string | {
1237
1287
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1277,19 +1327,36 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1277
1327
  foreignDeployment?: string | undefined;
1278
1328
  remoteRouters?: Record<string, string> | undefined;
1279
1329
  gas?: number | undefined;
1330
+ destinationGas?: Record<string, string> | undefined;
1280
1331
  }, {
1281
1332
  owner: string;
1282
1333
  mailbox: string;
1283
1334
  ownerOverrides?: Record<string, string> | undefined;
1335
+ proxyAdmin?: {
1336
+ owner: string;
1337
+ ownerOverrides?: Record<string, string> | undefined;
1338
+ address?: string | undefined;
1339
+ } | undefined;
1284
1340
  hook?: string | {
1341
+ type: import("../index.js").HookType.MERKLE_TREE;
1342
+ } | {
1343
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1344
+ owner: string;
1345
+ beneficiary: string;
1346
+ oracleKey: string;
1347
+ overhead: Record<string, number>;
1348
+ oracleConfig: Record<string, {
1349
+ gasPrice: string;
1350
+ tokenExchangeRate: string;
1351
+ }>;
1352
+ ownerOverrides?: Record<string, string> | undefined;
1353
+ } | {
1285
1354
  type: import("../index.js").HookType.PROTOCOL_FEE;
1286
1355
  owner: string;
1356
+ protocolFee: string;
1287
1357
  beneficiary: string;
1288
1358
  maxProtocolFee: string;
1289
- protocolFee: string;
1290
1359
  ownerOverrides?: Record<string, string> | undefined;
1291
- } | {
1292
- type: import("../index.js").HookType.MERKLE_TREE;
1293
1360
  } | {
1294
1361
  type: import("../index.js").HookType.PAUSABLE;
1295
1362
  owner: string;
@@ -1306,17 +1373,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1306
1373
  destinationChain: string;
1307
1374
  arbSys: string;
1308
1375
  bridge?: string | undefined;
1309
- } | {
1310
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1311
- owner: string;
1312
- beneficiary: string;
1313
- oracleKey: string;
1314
- overhead: Record<string, number>;
1315
- oracleConfig: Record<string, {
1316
- gasPrice: string;
1317
- tokenExchangeRate: string;
1318
- }>;
1319
- ownerOverrides?: Record<string, string> | undefined;
1376
+ childHook?: any;
1320
1377
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1321
1378
  interchainSecurityModule?: string | {
1322
1379
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1362,6 +1419,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1362
1419
  foreignDeployment?: string | undefined;
1363
1420
  remoteRouters?: Record<string, string> | undefined;
1364
1421
  gas?: number | undefined;
1422
+ destinationGas?: Record<string, string> | undefined;
1365
1423
  }>>>, Record<string, ({
1366
1424
  type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1367
1425
  token: string;
@@ -1400,15 +1458,31 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1400
1458
  owner: string;
1401
1459
  mailbox: string;
1402
1460
  ownerOverrides?: Record<string, string> | undefined;
1461
+ proxyAdmin?: {
1462
+ owner: string;
1463
+ ownerOverrides?: Record<string, string> | undefined;
1464
+ address?: string | undefined;
1465
+ } | undefined;
1403
1466
  hook?: string | {
1467
+ type: import("../index.js").HookType.MERKLE_TREE;
1468
+ } | {
1469
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1470
+ owner: string;
1471
+ beneficiary: string;
1472
+ oracleKey: string;
1473
+ overhead: Record<string, number>;
1474
+ oracleConfig: Record<string, {
1475
+ gasPrice: string;
1476
+ tokenExchangeRate: string;
1477
+ }>;
1478
+ ownerOverrides?: Record<string, string> | undefined;
1479
+ } | {
1404
1480
  type: import("../index.js").HookType.PROTOCOL_FEE;
1405
1481
  owner: string;
1482
+ protocolFee: string;
1406
1483
  beneficiary: string;
1407
1484
  maxProtocolFee: string;
1408
- protocolFee: string;
1409
1485
  ownerOverrides?: Record<string, string> | undefined;
1410
- } | {
1411
- type: import("../index.js").HookType.MERKLE_TREE;
1412
1486
  } | {
1413
1487
  type: import("../index.js").HookType.PAUSABLE;
1414
1488
  owner: string;
@@ -1425,17 +1499,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1425
1499
  destinationChain: string;
1426
1500
  arbSys: string;
1427
1501
  bridge?: string | undefined;
1428
- } | {
1429
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1430
- owner: string;
1431
- beneficiary: string;
1432
- oracleKey: string;
1433
- overhead: Record<string, number>;
1434
- oracleConfig: Record<string, {
1435
- gasPrice: string;
1436
- tokenExchangeRate: string;
1437
- }>;
1438
- ownerOverrides?: Record<string, string> | undefined;
1502
+ childHook?: any;
1439
1503
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1440
1504
  interchainSecurityModule?: string | {
1441
1505
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1481,6 +1545,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1481
1545
  foreignDeployment?: string | undefined;
1482
1546
  remoteRouters?: Record<string, string> | undefined;
1483
1547
  gas?: number | undefined;
1548
+ destinationGas?: Record<string, string> | undefined;
1484
1549
  }>, Record<string, ({
1485
1550
  type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1486
1551
  token: string;
@@ -1519,15 +1584,31 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1519
1584
  owner: string;
1520
1585
  mailbox: string;
1521
1586
  ownerOverrides?: Record<string, string> | undefined;
1587
+ proxyAdmin?: {
1588
+ owner: string;
1589
+ ownerOverrides?: Record<string, string> | undefined;
1590
+ address?: string | undefined;
1591
+ } | undefined;
1522
1592
  hook?: string | {
1593
+ type: import("../index.js").HookType.MERKLE_TREE;
1594
+ } | {
1595
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1596
+ owner: string;
1597
+ beneficiary: string;
1598
+ oracleKey: string;
1599
+ overhead: Record<string, number>;
1600
+ oracleConfig: Record<string, {
1601
+ gasPrice: string;
1602
+ tokenExchangeRate: string;
1603
+ }>;
1604
+ ownerOverrides?: Record<string, string> | undefined;
1605
+ } | {
1523
1606
  type: import("../index.js").HookType.PROTOCOL_FEE;
1524
1607
  owner: string;
1608
+ protocolFee: string;
1525
1609
  beneficiary: string;
1526
1610
  maxProtocolFee: string;
1527
- protocolFee: string;
1528
1611
  ownerOverrides?: Record<string, string> | undefined;
1529
- } | {
1530
- type: import("../index.js").HookType.MERKLE_TREE;
1531
1612
  } | {
1532
1613
  type: import("../index.js").HookType.PAUSABLE;
1533
1614
  owner: string;
@@ -1544,17 +1625,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1544
1625
  destinationChain: string;
1545
1626
  arbSys: string;
1546
1627
  bridge?: string | undefined;
1547
- } | {
1548
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1549
- owner: string;
1550
- beneficiary: string;
1551
- oracleKey: string;
1552
- overhead: Record<string, number>;
1553
- oracleConfig: Record<string, {
1554
- gasPrice: string;
1555
- tokenExchangeRate: string;
1556
- }>;
1557
- ownerOverrides?: Record<string, string> | undefined;
1628
+ childHook?: any;
1558
1629
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1559
1630
  interchainSecurityModule?: string | {
1560
1631
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1600,6 +1671,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1600
1671
  foreignDeployment?: string | undefined;
1601
1672
  remoteRouters?: Record<string, string> | undefined;
1602
1673
  gas?: number | undefined;
1674
+ destinationGas?: Record<string, string> | undefined;
1603
1675
  }>>, Record<string, ({
1604
1676
  type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1605
1677
  token: string;
@@ -1638,15 +1710,31 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1638
1710
  owner: string;
1639
1711
  mailbox: string;
1640
1712
  ownerOverrides?: Record<string, string> | undefined;
1713
+ proxyAdmin?: {
1714
+ owner: string;
1715
+ ownerOverrides?: Record<string, string> | undefined;
1716
+ address?: string | undefined;
1717
+ } | undefined;
1641
1718
  hook?: string | {
1719
+ type: import("../index.js").HookType.MERKLE_TREE;
1720
+ } | {
1721
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1722
+ owner: string;
1723
+ beneficiary: string;
1724
+ oracleKey: string;
1725
+ overhead: Record<string, number>;
1726
+ oracleConfig: Record<string, {
1727
+ gasPrice: string;
1728
+ tokenExchangeRate: string;
1729
+ }>;
1730
+ ownerOverrides?: Record<string, string> | undefined;
1731
+ } | {
1642
1732
  type: import("../index.js").HookType.PROTOCOL_FEE;
1643
1733
  owner: string;
1734
+ protocolFee: string;
1644
1735
  beneficiary: string;
1645
1736
  maxProtocolFee: string;
1646
- protocolFee: string;
1647
1737
  ownerOverrides?: Record<string, string> | undefined;
1648
- } | {
1649
- type: import("../index.js").HookType.MERKLE_TREE;
1650
1738
  } | {
1651
1739
  type: import("../index.js").HookType.PAUSABLE;
1652
1740
  owner: string;
@@ -1663,17 +1751,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1663
1751
  destinationChain: string;
1664
1752
  arbSys: string;
1665
1753
  bridge?: string | undefined;
1666
- } | {
1667
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1668
- owner: string;
1669
- beneficiary: string;
1670
- oracleKey: string;
1671
- overhead: Record<string, number>;
1672
- oracleConfig: Record<string, {
1673
- gasPrice: string;
1674
- tokenExchangeRate: string;
1675
- }>;
1676
- ownerOverrides?: Record<string, string> | undefined;
1754
+ childHook?: any;
1677
1755
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1678
1756
  interchainSecurityModule?: string | {
1679
1757
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1719,6 +1797,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1719
1797
  foreignDeployment?: string | undefined;
1720
1798
  remoteRouters?: Record<string, string> | undefined;
1721
1799
  gas?: number | undefined;
1800
+ destinationGas?: Record<string, string> | undefined;
1722
1801
  }>, Record<string, ({
1723
1802
  type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1724
1803
  token: string;
@@ -1757,15 +1836,31 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1757
1836
  owner: string;
1758
1837
  mailbox: string;
1759
1838
  ownerOverrides?: Record<string, string> | undefined;
1839
+ proxyAdmin?: {
1840
+ owner: string;
1841
+ ownerOverrides?: Record<string, string> | undefined;
1842
+ address?: string | undefined;
1843
+ } | undefined;
1760
1844
  hook?: string | {
1845
+ type: import("../index.js").HookType.MERKLE_TREE;
1846
+ } | {
1847
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1848
+ owner: string;
1849
+ beneficiary: string;
1850
+ oracleKey: string;
1851
+ overhead: Record<string, number>;
1852
+ oracleConfig: Record<string, {
1853
+ gasPrice: string;
1854
+ tokenExchangeRate: string;
1855
+ }>;
1856
+ ownerOverrides?: Record<string, string> | undefined;
1857
+ } | {
1761
1858
  type: import("../index.js").HookType.PROTOCOL_FEE;
1762
1859
  owner: string;
1860
+ protocolFee: string;
1763
1861
  beneficiary: string;
1764
1862
  maxProtocolFee: string;
1765
- protocolFee: string;
1766
1863
  ownerOverrides?: Record<string, string> | undefined;
1767
- } | {
1768
- type: import("../index.js").HookType.MERKLE_TREE;
1769
1864
  } | {
1770
1865
  type: import("../index.js").HookType.PAUSABLE;
1771
1866
  owner: string;
@@ -1782,17 +1877,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1782
1877
  destinationChain: string;
1783
1878
  arbSys: string;
1784
1879
  bridge?: string | undefined;
1785
- } | {
1786
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1787
- owner: string;
1788
- beneficiary: string;
1789
- oracleKey: string;
1790
- overhead: Record<string, number>;
1791
- oracleConfig: Record<string, {
1792
- gasPrice: string;
1793
- tokenExchangeRate: string;
1794
- }>;
1795
- ownerOverrides?: Record<string, string> | undefined;
1880
+ childHook?: any;
1796
1881
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1797
1882
  interchainSecurityModule?: string | {
1798
1883
  type: import("../index.js").IsmType.TEST_ISM;
@@ -1838,5 +1923,6 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1838
1923
  foreignDeployment?: string | undefined;
1839
1924
  remoteRouters?: Record<string, string> | undefined;
1840
1925
  gas?: number | undefined;
1926
+ destinationGas?: Record<string, string> | undefined;
1841
1927
  }>>;
1842
1928
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/token/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,iCAAiC;;;CAG7C,CAAC;AACF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAO9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC;AAEH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+33,11 @@ export const CollateralConfigSchema = TokenMetadataSchema.partial().extend({
33
33
  export const NativeConfigSchema = TokenMetadataSchema.partial().extend({
34
34
  type: z.enum([TokenType.native, TokenType.nativeScaled]),
35
35
  });
36
- export const CollateralRebaseConfigSchema = TokenMetadataSchema.partial().extend({
36
+ export const CollateralRebaseConfigSchema = TokenMetadataSchema.omit({
37
+ totalSupply: true,
38
+ })
39
+ .partial()
40
+ .extend({
37
41
  type: z.literal(TokenType.collateralVaultRebase),
38
42
  });
39
43
  export const SyntheticRebaseConfigSchema = TokenMetadataSchema.partial().extend({