@hyperlane-xyz/helloworld 1.3.0 → 1.3.2

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 (101) hide show
  1. package/dist/src/deploy/deploy.d.ts +2 -3
  2. package/dist/src/deploy/deploy.d.ts.map +1 -1
  3. package/dist/src/deploy/deploy.js +2 -3
  4. package/dist/src/deploy/deploy.js.map +1 -1
  5. package/dist/src/scripts/deploy.js +2 -2
  6. package/dist/src/scripts/deploy.js.map +1 -1
  7. package/dist/src/test/deploy.test.js +4 -5
  8. package/dist/src/test/deploy.test.js.map +1 -1
  9. package/dist/src/test/helloworld.test.js +2 -2
  10. package/dist/src/test/helloworld.test.js.map +1 -1
  11. package/dist/src/types/@hyperlane-xyz/core/index.d.ts +2 -0
  12. package/dist/src/types/@hyperlane-xyz/core/index.d.ts.map +1 -1
  13. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.d.ts +51 -0
  14. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.d.ts.map +1 -0
  15. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.js +3 -0
  16. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.js.map +1 -0
  17. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts +59 -0
  18. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts.map +1 -0
  19. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js +4 -0
  20. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js.map +1 -0
  21. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts +43 -0
  22. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts.map +1 -0
  23. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js +4 -0
  24. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js.map +1 -0
  25. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts +3 -0
  26. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +1 -0
  27. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js +3 -0
  28. package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js.map +1 -0
  29. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.d.ts +107 -0
  30. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.d.ts.map +1 -0
  31. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.js +4 -0
  32. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.js.map +1 -0
  33. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.d.ts +51 -0
  34. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.d.ts.map +1 -0
  35. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.js +3 -0
  36. package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.js.map +1 -0
  37. package/dist/src/types/@hyperlane-xyz/core/interfaces/index.d.ts +6 -0
  38. package/dist/src/types/@hyperlane-xyz/core/interfaces/index.d.ts.map +1 -0
  39. package/dist/src/types/@hyperlane-xyz/core/interfaces/index.js +4 -0
  40. package/dist/src/types/@hyperlane-xyz/core/interfaces/index.js.map +1 -0
  41. package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +2 -2
  42. package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts.map +1 -1
  43. package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js +0 -1
  44. package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js.map +1 -1
  45. package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +2 -2
  46. package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts.map +1 -1
  47. package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js +0 -1
  48. package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js.map +1 -1
  49. package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +2 -2
  50. package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts.map +1 -1
  51. package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js +0 -1
  52. package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js.map +1 -1
  53. package/dist/src/types/factories/@hyperlane-xyz/core/index.d.ts +1 -0
  54. package/dist/src/types/factories/@hyperlane-xyz/core/index.d.ts.map +1 -1
  55. package/dist/src/types/factories/@hyperlane-xyz/core/index.js +2 -1
  56. package/dist/src/types/factories/@hyperlane-xyz/core/index.js.map +1 -1
  57. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.d.ts +19 -0
  58. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.d.ts.map +1 -0
  59. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.js +48 -0
  60. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.js.map +1 -0
  61. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts +23 -0
  62. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts.map +1 -0
  63. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js +55 -0
  64. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js.map +1 -0
  65. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts +19 -0
  66. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts.map +1 -0
  67. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js +31 -0
  68. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js.map +1 -0
  69. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts +3 -0
  70. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +1 -0
  71. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js +11 -0
  72. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js.map +1 -0
  73. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.d.ts +23 -0
  74. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.d.ts.map +1 -0
  75. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.js +141 -0
  76. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.js.map +1 -0
  77. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.d.ts +19 -0
  78. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.d.ts.map +1 -0
  79. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.js +43 -0
  80. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.js.map +1 -0
  81. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.d.ts +5 -0
  82. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.d.ts.map +1 -0
  83. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.js +37 -0
  84. package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.js.map +1 -0
  85. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +2 -2
  86. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts.map +1 -1
  87. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js +2 -0
  88. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js.map +1 -1
  89. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +2 -2
  90. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts.map +1 -1
  91. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js +2 -0
  92. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js.map +1 -1
  93. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +2 -2
  94. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts.map +1 -1
  95. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js +2 -0
  96. package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js.map +1 -1
  97. package/dist/src/types/factories/contracts/HelloWorld__factory.d.ts +1 -1
  98. package/dist/src/types/factories/contracts/HelloWorld__factory.d.ts.map +1 -1
  99. package/dist/src/types/factories/contracts/HelloWorld__factory.js +1 -1
  100. package/dist/src/types/factories/contracts/HelloWorld__factory.js.map +1 -1
  101. package/package.json +2 -2
@@ -1,10 +1,9 @@
1
- import { ChainMap, ChainName, HyperlaneContracts, HyperlaneCore, HyperlaneRouterDeployer, MultiProvider } from '@hyperlane-xyz/sdk';
1
+ import { ChainName, HyperlaneContracts, HyperlaneRouterDeployer, MultiProvider } from '@hyperlane-xyz/sdk';
2
2
  import { HelloWorldFactories } from '../app/contracts';
3
3
  import { HelloWorld } from '../types';
4
4
  import { HelloWorldConfig } from './config';
5
5
  export declare class HelloWorldDeployer extends HyperlaneRouterDeployer<HelloWorldConfig, HelloWorldFactories> {
6
- protected core: HyperlaneCore;
7
- constructor(multiProvider: MultiProvider, configMap: ChainMap<HelloWorldConfig>, core: HyperlaneCore);
6
+ constructor(multiProvider: MultiProvider);
8
7
  router(contracts: HyperlaneContracts<HelloWorldFactories>): HelloWorld;
9
8
  deployContracts(chain: ChainName, config: HelloWorldConfig): Promise<{
10
9
  router: HelloWorld;
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/deploy/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,aAAa,EACb,uBAAuB,EACvB,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,mBAAmB,EAAuB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,qBAAa,kBAAmB,SAAQ,uBAAuB,CAC7D,gBAAgB,EAChB,mBAAmB,CACpB;IAIG,SAAS,CAAC,IAAI,EAAE,aAAa;gBAF7B,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,QAAQ,CAAC,gBAAgB,CAAC,EAC3B,IAAI,EAAE,aAAa;IAK/B,MAAM,CAAC,SAAS,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,GAAG,UAAU;IAMhE,eAAe,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB;;;CASjE"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/deploy/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,mBAAmB,EAAuB,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,qBAAa,kBAAmB,SAAQ,uBAAuB,CAC7D,gBAAgB,EAChB,mBAAmB,CACpB;gBACa,aAAa,EAAE,aAAa;IAIxC,MAAM,CAAC,SAAS,EAAE,kBAAkB,CAAC,mBAAmB,CAAC,GAAG,UAAU;IAMhE,eAAe,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,gBAAgB;;;CASjE"}
@@ -13,9 +13,8 @@ exports.HelloWorldDeployer = void 0;
13
13
  const sdk_1 = require("@hyperlane-xyz/sdk");
14
14
  const contracts_1 = require("../app/contracts");
15
15
  class HelloWorldDeployer extends sdk_1.HyperlaneRouterDeployer {
16
- constructor(multiProvider, configMap, core) {
17
- super(multiProvider, configMap, contracts_1.helloWorldFactories, {});
18
- this.core = core;
16
+ constructor(multiProvider) {
17
+ super(multiProvider, contracts_1.helloWorldFactories, {});
19
18
  }
20
19
  router(contracts) {
21
20
  return contracts.router;
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../src/deploy/deploy.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;AAvBD,gDAuBC"}
@@ -23,8 +23,8 @@ function main() {
23
23
  const core = sdk_1.HyperlaneCore.fromEnvironment('testnet', multiProvider);
24
24
  const igp = sdk_1.HyperlaneIgp.fromEnvironment('testnet', multiProvider);
25
25
  const config = (0, sdk_1.createRouterConfigMap)(signer.address, core.contractsMap, igp.contractsMap);
26
- const deployer = new deploy_1.HelloWorldDeployer(multiProvider, config, core);
27
- const chainToContracts = yield deployer.deploy();
26
+ const deployer = new deploy_1.HelloWorldDeployer(multiProvider);
27
+ const chainToContracts = yield deployer.deploy(config);
28
28
  const addresses = (0, sdk_1.serializeContractsMap)(chainToContracts);
29
29
  console.info('===Contract Addresses===');
30
30
  console.info(JSON.stringify(addresses));
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../src/scripts/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAgC;AAEhC,4CAM4B;AAE5B,6CAA+C;AAC/C,6CAAsD;AAEtD,SAAe,IAAI;;QACjB,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/B,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,wCAAwC,CAAC,CAAC;QAEpE,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACpC,MAAM,aAAa,GAAG,IAAI,mBAAa,CAAC,oBAAW,CAAC,CAAC;QACrD,aAAa,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QAEtC,MAAM,IAAI,GAAG,mBAAa,CAAC,eAAe,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACrE,MAAM,GAAG,GAAG,kBAAY,CAAC,eAAe,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACnE,MAAM,MAAM,GAAG,IAAA,2BAAqB,EAClC,MAAM,CAAC,OAAO,EACd,IAAI,CAAC,YAAY,EACjB,GAAG,CAAC,YAAY,CACjB,CAAC;QAEF,MAAM,QAAQ,GAAG,IAAI,2BAAkB,CAAC,a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CAAC,aAAa,CAAC,CAAC;QACvD,MAAM,gBAAgB,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvD,MAAM,SAAS,GAAG,IAAA,2BAAqB,EAAC,gBAAgB,CAAC,CAAC;QAC1D,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;QACzC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IAC1C,CAAC;CAAA;AAED,IAAI,EAAE;KACH,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;KAC3C,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -26,16 +26,15 @@ describe('deploy', () => __awaiter(void 0, void 0, void 0, function* () {
26
26
  const [signer] = yield hardhat_1.ethers.getSigners();
27
27
  multiProvider = sdk_1.MultiProvider.createTestMultiProvider({ signer });
28
28
  const coreDeployer = new sdk_1.TestCoreDeployer(multiProvider);
29
- const coreContractsMaps = yield coreDeployer.deploy();
30
- core = new sdk_1.TestCoreApp(coreContractsMaps, multiProvider);
29
+ core = yield coreDeployer.deployApp();
31
30
  config = yield (0, sdk_1.deployTestIgpsAndGetRouterConfig)(multiProvider, signer.address, core.contractsMap);
32
- deployer = new deploy_1.HelloWorldDeployer(multiProvider, config, core);
31
+ deployer = new deploy_1.HelloWorldDeployer(multiProvider);
33
32
  }));
34
33
  it('deploys', () => __awaiter(void 0, void 0, void 0, function* () {
35
- contracts = yield deployer.deploy();
34
+ contracts = yield deployer.deploy(config);
36
35
  }));
37
36
  it('builds app', () => __awaiter(void 0, void 0, void 0, function* () {
38
- contracts = yield deployer.deploy();
37
+ contracts = yield deployer.deploy(config);
39
38
  app = new app_1.HelloWorldApp(core, contracts, multiProvider);
40
39
  }));
41
40
  it('checks', () => __awaiter(void 0, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.test.js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S,EAAE;QACvB,SAAS,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,YAAY,EAAE,GAAS,EAAE;QAC1B,SAAS,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC1C,GAAG,GAAG,IAAI,mBAAa,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;IAC1D,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,QAAQ,EAAE,GAAS,EAAE;QACtB,MAAM,OAAO,GAAG,IAAI,yBAAiB,CAAC,aAAa,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;QAClE,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;QACtB,OAAO,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAA,CAAC,CAAC"}
@@ -37,8 +37,8 @@ describe('HelloWorld', () => __awaiter(void 0, void 0, void 0, function* () {
37
37
  config = yield (0, sdk_1.deployTestIgpsAndGetRouterConfig)(multiProvider, signer.address, coreContractsMaps);
38
38
  }));
39
39
  beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
40
- const helloWorld = new deploy_1.HelloWorldDeployer(multiProvider, config, coreApp);
41
- const contracts = yield helloWorld.deploy();
40
+ const helloWorld = new deploy_1.HelloWorldDeployer(multiProvider);
41
+ const contracts = yield helloWorld.deploy(config);
42
42
  local = contracts[localChain].router;
43
43
  remote = contracts[remoteChain].router;
44
44
  localIgp = types_1.IInterchainGasPaymaster__factory.connect(config[localChain].interchainGasPaymaster, multiProvider.getProvider(localChain));
@@ -1 +1 @@
1
- {"version":3,"file":"helloworld.test.js","sourceRoot":"","sources":["../../../src/test/helloworld.test.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,+BAA8B;AAC9B,qCAAiC;AAEjC,4CAO4B;AAG5B,6CAAsD;AACtD,oCA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,aAAM,EAAC,MAAM,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAA,aAAM,EAAC,MAAM,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAA,CAAC,CAAC"}
@@ -1,3 +1,5 @@
1
1
  import type * as contracts from "./contracts";
2
+ import type * as interfaces from "./interfaces";
2
3
  export type { contracts };
4
+ export type { interfaces };
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/@hyperlane-xyz/core/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAE9C,YAAY,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/@hyperlane-xyz/core/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,KAAK,UAAU,MAAM,cAAc,CAAC;AAEhD,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,51 @@
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";
5
+ export interface IInterchainGasPaymasterInterface extends utils.Interface {
6
+ functions: {
7
+ "payForGas(bytes32,uint32,uint256,address)": FunctionFragment;
8
+ };
9
+ getFunction(nameOrSignatureOrTopic: "payForGas"): FunctionFragment;
10
+ encodeFunctionData(functionFragment: "payForGas", values: [BytesLike, BigNumberish, BigNumberish, string]): string;
11
+ decodeFunctionResult(functionFragment: "payForGas", data: BytesLike): Result;
12
+ events: {};
13
+ }
14
+ export interface IInterchainGasPaymaster extends BaseContract {
15
+ connect(signerOrProvider: Signer | Provider | string): this;
16
+ attach(addressOrName: string): this;
17
+ deployed(): Promise<this>;
18
+ interface: IInterchainGasPaymasterInterface;
19
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
20
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
21
+ listeners(eventName?: string): Array<Listener>;
22
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
23
+ removeAllListeners(eventName?: string): this;
24
+ off: OnEvent<this>;
25
+ on: OnEvent<this>;
26
+ once: OnEvent<this>;
27
+ removeListener: OnEvent<this>;
28
+ functions: {
29
+ payForGas(_messageId: BytesLike, _destinationDomain: BigNumberish, _gas: BigNumberish, _refundAddress: string, overrides?: PayableOverrides & {
30
+ from?: string | Promise<string>;
31
+ }): Promise<ContractTransaction>;
32
+ };
33
+ payForGas(_messageId: BytesLike, _destinationDomain: BigNumberish, _gas: BigNumberish, _refundAddress: string, overrides?: PayableOverrides & {
34
+ from?: string | Promise<string>;
35
+ }): Promise<ContractTransaction>;
36
+ callStatic: {
37
+ payForGas(_messageId: BytesLike, _destinationDomain: BigNumberish, _gas: BigNumberish, _refundAddress: string, overrides?: CallOverrides): Promise<void>;
38
+ };
39
+ filters: {};
40
+ estimateGas: {
41
+ payForGas(_messageId: BytesLike, _destinationDomain: BigNumberish, _gas: BigNumberish, _refundAddress: string, overrides?: PayableOverrides & {
42
+ from?: string | Promise<string>;
43
+ }): Promise<BigNumber>;
44
+ };
45
+ populateTransaction: {
46
+ payForGas(_messageId: BytesLike, _destinationDomain: BigNumberish, _gas: BigNumberish, _refundAddress: string, overrides?: PayableOverrides & {
47
+ from?: string | Promise<string>;
48
+ }): Promise<PopulatedTransaction>;
49
+ };
50
+ }
51
+ //# sourceMappingURL=IInterchainGasPaymaster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInterchainGasPaymaster.d.ts","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,gCAAiC,SAAQ,KAAK,CAAC,SAAS;IACvE,SAAS,EAAE;QACT,2CAA2C,EAAE,gBAAgB,CAAC;KAC/D,CAAC;IAEF,WAAW,CAAC,sBAAsB,EAAE,WAAW,GAAG,gBAAgB,CAAC;IAEnE,kBAAkB,CAChB,gBAAgB,EAAE,WAAW,EAC7B,MAAM,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,CAAC,GACtD,MAAM,CAAC;IAEV,oBAAoB,CAAC,gBAAgB,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IAE7E,MAAM,EAAE,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAA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ster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInterchainGasPaymaster.js","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.ts"],"names":[],"mappings":""}
@@ -0,0 +1,59 @@
1
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../common";
2
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
5
+ export interface IInterchainSecurityModuleInterface extends utils.Interface {
6
+ functions: {
7
+ "moduleType()": FunctionFragment;
8
+ "verify(bytes,bytes)": FunctionFragment;
9
+ };
10
+ getFunction(nameOrSignatureOrTopic: "moduleType" | "verify"): FunctionFragment;
11
+ encodeFunctionData(functionFragment: "moduleType", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "verify", values: [BytesLike, BytesLike]): string;
13
+ decodeFunctionResult(functionFragment: "moduleType", data: BytesLike): Result;
14
+ decodeFunctionResult(functionFragment: "verify", data: BytesLike): Result;
15
+ events: {};
16
+ }
17
+ export interface IInterchainSecurityModule extends BaseContract {
18
+ connect(signerOrProvider: Signer | Provider | string): this;
19
+ attach(addressOrName: string): this;
20
+ deployed(): Promise<this>;
21
+ interface: IInterchainSecurityModuleInterface;
22
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
23
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
24
+ listeners(eventName?: string): Array<Listener>;
25
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
26
+ removeAllListeners(eventName?: string): this;
27
+ off: OnEvent<this>;
28
+ on: OnEvent<this>;
29
+ once: OnEvent<this>;
30
+ removeListener: OnEvent<this>;
31
+ functions: {
32
+ moduleType(overrides?: CallOverrides): Promise<[number]>;
33
+ verify(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
34
+ from?: string | Promise<string>;
35
+ }): Promise<ContractTransaction>;
36
+ };
37
+ moduleType(overrides?: CallOverrides): Promise<number>;
38
+ verify(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
39
+ from?: string | Promise<string>;
40
+ }): Promise<ContractTransaction>;
41
+ callStatic: {
42
+ moduleType(overrides?: CallOverrides): Promise<number>;
43
+ verify(_metadata: BytesLike, _message: BytesLike, overrides?: CallOverrides): Promise<boolean>;
44
+ };
45
+ filters: {};
46
+ estimateGas: {
47
+ moduleType(overrides?: CallOverrides): Promise<BigNumber>;
48
+ verify(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
49
+ from?: string | Promise<string>;
50
+ }): Promise<BigNumber>;
51
+ };
52
+ populateTransaction: {
53
+ moduleType(overrides?: CallOverrides): Promise<PopulatedTransaction>;
54
+ verify(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
55
+ from?: string | Promise<string>;
56
+ }): Promise<PopulatedTransaction>;
57
+ };
58
+ }
59
+ //# sourceMappingURL=IInterchainSecurityModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInterchainSecurityModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,aAAa,E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AC,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAEvD,MAAM,CACJ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,OAAO,CAAC,CAAC;KACrB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,UAAU,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAE1D,MAAM,CACJ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;SAAE,GAC1D,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,UAAU,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAErE,MAAM,CACJ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;SAAE,GAC1D,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=IInterchainSecurityModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IInterchainSecurityModule.js","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.ts"],"names":[],"mappings":";AAAA,+CAA+C"}
@@ -0,0 +1,43 @@
1
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../common";
2
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";
5
+ export interface ISpecifiesInterchainSecurityModuleInterface extends utils.Interface {
6
+ functions: {
7
+ "interchainSecurityModule()": FunctionFragment;
8
+ };
9
+ getFunction(nameOrSignatureOrTopic: "interchainSecurityModule"): FunctionFragment;
10
+ encodeFunctionData(functionFragment: "interchainSecurityModule", values?: undefined): string;
11
+ decodeFunctionResult(functionFragment: "interchainSecurityModule", data: BytesLike): Result;
12
+ events: {};
13
+ }
14
+ export interface ISpecifiesInterchainSecurityModule extends BaseContract {
15
+ connect(signerOrProvider: Signer | Provider | string): this;
16
+ attach(addressOrName: string): this;
17
+ deployed(): Promise<this>;
18
+ interface: ISpecifiesInterchainSecurityModuleInterface;
19
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
20
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
21
+ listeners(eventName?: string): Array<Listener>;
22
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
23
+ removeAllListeners(eventName?: string): this;
24
+ off: OnEvent<this>;
25
+ on: OnEvent<this>;
26
+ once: OnEvent<this>;
27
+ removeListener: OnEvent<this>;
28
+ functions: {
29
+ interchainSecurityModule(overrides?: CallOverrides): Promise<[string]>;
30
+ };
31
+ interchainSecurityModule(overrides?: CallOverrides): Promise<string>;
32
+ callStatic: {
33
+ interchainSecurityModule(overrides?: CallOverrides): Promise<string>;
34
+ };
35
+ filters: {};
36
+ estimateGas: {
37
+ interchainSecurityModule(overrides?: CallOverrides): Promise<BigNumber>;
38
+ };
39
+ populateTransaction: {
40
+ interchainSecurityModule(overrides?: CallOverrides): Promise<PopulatedTransaction>;
41
+ };
42
+ }
43
+ //# sourceMappingURL=ISpecifiesInterchainSecurityModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISpecifiesInterchainSecurityModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAEhB,MAAM,WAAW,2CACf,SAAQ,KAAK,CAAC,SAAS;IACvB,SAAS,EAAE;QACT,4BAA4B,EAAE,gBAAgB,CAAC;KAChD,CAAC;IAEF,WAAW,CACT,sBAAsB,EAAE,0BAA0B,GACjD,gBAAgB,CAAC;IAEpB,kBAAkB,CAChB,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,CAAC,EAAE,SAAS,GACjB,MAAM,CAAC;IAEV,oBAAoB,CAClB,gBAAgB,EAAE,0BAA0B,EAC5C,IAAI,EAAE,SAAS,GACd,MAAM,CAAC;IAEV,MAAM,EAAE,EAAE,CAAC;CACZ;AAED,MAAM,WAAW,kCAAmC,SAAQ,YAAY;IACtE,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B,S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C,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;KACzE,CAAC;IAEF,mBAAmB,EAAE;QACnB,wBAAwB,CACtB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=ISpecifiesInterchainSecurityModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISpecifiesInterchainSecurityModule.js","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.ts"],"names":[],"mappings":";AAAA,+CAA+C"}
@@ -0,0 +1,3 @@
1
+ export type { IInterchainSecurityModule } from "./IInterchainSecurityModule";
2
+ export type { ISpecifiesInterchainSecurityModule } from "./ISpecifiesInterchainSecurityModule";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,YAAY,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,107 @@
1
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";
2
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
5
+ export interface IMailboxInterface extends utils.Interface {
6
+ functions: {
7
+ "count()": FunctionFragment;
8
+ "dispatch(uint32,bytes32,bytes)": FunctionFragment;
9
+ "latestCheckpoint()": FunctionFragment;
10
+ "localDomain()": FunctionFragment;
11
+ "process(bytes,bytes)": FunctionFragment;
12
+ "recipientIsm(address)": FunctionFragment;
13
+ "root()": FunctionFragment;
14
+ };
15
+ getFunction(nameOrSignatureOrTopic: "count" | "dispatch" | "latestCheckpoint" | "localDomain" | "process" | "recipientIsm" | "root"): FunctionFragment;
16
+ encodeFunctionData(functionFragment: "count", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "dispatch", values: [BigNumberish, BytesLike, BytesLike]): string;
18
+ encodeFunctionData(functionFragment: "latestCheckpoint", values?: undefined): string;
19
+ encodeFunctionData(functionFragment: "localDomain", values?: undefined): string;
20
+ encodeFunctionData(functionFragment: "process", values: [BytesLike, BytesLike]): string;
21
+ encodeFunctionData(functionFragment: "recipientIsm", values: [string]): string;
22
+ encodeFunctionData(functionFragment: "root", values?: undefined): string;
23
+ decodeFunctionResult(functionFragment: "count", data: BytesLike): Result;
24
+ decodeFunctionResult(functionFragment: "dispatch", data: BytesLike): Result;
25
+ decodeFunctionResult(functionFragment: "latestCheckpoint", data: BytesLike): Result;
26
+ decodeFunctionResult(functionFragment: "localDomain", data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: "process", data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: "recipientIsm", data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: "root", data: BytesLike): Result;
30
+ events: {};
31
+ }
32
+ export interface IMailbox extends BaseContract {
33
+ connect(signerOrProvider: Signer | Provider | string): this;
34
+ attach(addressOrName: string): this;
35
+ deployed(): Promise<this>;
36
+ interface: IMailboxInterface;
37
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
38
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
39
+ listeners(eventName?: string): Array<Listener>;
40
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
41
+ removeAllListeners(eventName?: string): this;
42
+ off: OnEvent<this>;
43
+ on: OnEvent<this>;
44
+ once: OnEvent<this>;
45
+ removeListener: OnEvent<this>;
46
+ functions: {
47
+ count(overrides?: CallOverrides): Promise<[number]>;
48
+ dispatch(_destinationDomain: BigNumberish, _recipientAddress: BytesLike, _messageBody: BytesLike, overrides?: Overrides & {
49
+ from?: string | Promise<string>;
50
+ }): Promise<ContractTransaction>;
51
+ latestCheckpoint(overrides?: CallOverrides): Promise<[string, number]>;
52
+ localDomain(overrides?: CallOverrides): Promise<[number]>;
53
+ process(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
54
+ from?: string | Promise<string>;
55
+ }): Promise<ContractTransaction>;
56
+ recipientIsm(_recipient: string, overrides?: CallOverrides): Promise<[string]>;
57
+ root(overrides?: CallOverrides): Promise<[string]>;
58
+ };
59
+ count(overrides?: CallOverrides): Promise<number>;
60
+ dispatch(_destinationDomain: BigNumberish, _recipientAddress: BytesLike, _messageBody: BytesLike, overrides?: Overrides & {
61
+ from?: string | Promise<string>;
62
+ }): Promise<ContractTransaction>;
63
+ latestCheckpoint(overrides?: CallOverrides): Promise<[string, number]>;
64
+ localDomain(overrides?: CallOverrides): Promise<number>;
65
+ process(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
66
+ from?: string | Promise<string>;
67
+ }): Promise<ContractTransaction>;
68
+ recipientIsm(_recipient: string, overrides?: CallOverrides): Promise<string>;
69
+ root(overrides?: CallOverrides): Promise<string>;
70
+ callStatic: {
71
+ count(overrides?: CallOverrides): Promise<number>;
72
+ dispatch(_destinationDomain: BigNumberish, _recipientAddress: BytesLike, _messageBody: BytesLike, overrides?: CallOverrides): Promise<string>;
73
+ latestCheckpoint(overrides?: CallOverrides): Promise<[string, number]>;
74
+ localDomain(overrides?: CallOverrides): Promise<number>;
75
+ process(_metadata: BytesLike, _message: BytesLike, overrides?: CallOverrides): Promise<void>;
76
+ recipientIsm(_recipient: string, overrides?: CallOverrides): Promise<string>;
77
+ root(overrides?: CallOverrides): Promise<string>;
78
+ };
79
+ filters: {};
80
+ estimateGas: {
81
+ count(overrides?: CallOverrides): Promise<BigNumber>;
82
+ dispatch(_destinationDomain: BigNumberish, _recipientAddress: BytesLike, _messageBody: BytesLike, overrides?: Overrides & {
83
+ from?: string | Promise<string>;
84
+ }): Promise<BigNumber>;
85
+ latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>;
86
+ localDomain(overrides?: CallOverrides): Promise<BigNumber>;
87
+ process(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
88
+ from?: string | Promise<string>;
89
+ }): Promise<BigNumber>;
90
+ recipientIsm(_recipient: string, overrides?: CallOverrides): Promise<BigNumber>;
91
+ root(overrides?: CallOverrides): Promise<BigNumber>;
92
+ };
93
+ populateTransaction: {
94
+ count(overrides?: CallOverrides): Promise<PopulatedTransaction>;
95
+ dispatch(_destinationDomain: BigNumberish, _recipientAddress: BytesLike, _messageBody: BytesLike, overrides?: Overrides & {
96
+ from?: string | Promise<string>;
97
+ }): Promise<PopulatedTransaction>;
98
+ latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
99
+ localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
100
+ process(_metadata: BytesLike, _message: BytesLike, overrides?: Overrides & {
101
+ from?: string | Promise<string>;
102
+ }): Promise<PopulatedTransaction>;
103
+ recipientIsm(_recipient: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
104
+ root(overrides?: CallOverrides): Promise<PopulatedTransaction>;
105
+ };
106
+ }
107
+ //# sourceMappingURL=IMailbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailbox.d.ts","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IMailbox.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,KAAK,EACN,MAAM,QAAQ,CAAC;AAEhB,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,SAAS;IACxD,SAAS,EAAE;QACT,SAAS,EAAE,gBAAgB,CAAC;QAC5B,gCAAgC,EAAE,gBAAgB,CAAC;QACnD,oBAAoB,EAAE,gBAAgB,CAAC;QACvC,eAAe,EAAE,gBAAgB,CAAC;QAClC,sBAAsB,EAAE,gBAAgB,CAAC;QACzC,uBAAuB,EAAE,gBAAgB,CAAC;QAC1C,QAAQ,EAAE,gBAAgB,CAAC;KAC5B,CAAC;IAEF,WAAW,CACT,sBAAsB,EAClB,OAAO,GACP,UAAU,GACV,kBAAkB,GAClB,aAAa,GACb,SAAS,GACT,cAAc,GACd,MAAM,GACT,gBAAgB,CAAC;IAEpB,kBAAkB,CAAC,gBAAgB,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1E,kBAAkB,CAChB,gBAAgB,EAAE,UAAU,EAC5B,MAAM,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,SAAS,CAAC,GAC3C,MAAM,CAAC;IACV,kBAAk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,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEtE,OAAO,CACL,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;SAAE,GAC1D,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,YAAY,CACV,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAEjC,IAAI,CAAC,SAAS,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAChE,CAAC;CACH"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=IMailbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMailbox.js","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IMailbox.ts"],"names":[],"mappings":";AAAA,+CAA+C"}
@@ -0,0 +1,51 @@
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";
5
+ export interface IMessageRecipientInterface extends utils.Interface {
6
+ functions: {
7
+ "handle(uint32,bytes32,bytes)": FunctionFragment;
8
+ };
9
+ getFunction(nameOrSignatureOrTopic: "handle"): FunctionFragment;
10
+ encodeFunctionData(functionFragment: "handle", values: [BigNumberish, BytesLike, BytesLike]): string;
11
+ decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
12
+ events: {};
13
+ }
14
+ export interface IMessageRecipient extends BaseContract {
15
+ connect(signerOrProvider: Signer | Provider | string): this;
16
+ attach(addressOrName: string): this;
17
+ deployed(): Promise<this>;
18
+ interface: IMessageRecipientInterface;
19
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
20
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
21
+ listeners(eventName?: string): Array<Listener>;
22
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
23
+ removeAllListeners(eventName?: string): this;
24
+ off: OnEvent<this>;
25
+ on: OnEvent<this>;
26
+ once: OnEvent<this>;
27
+ removeListener: OnEvent<this>;
28
+ functions: {
29
+ handle(_origin: BigNumberish, _sender: BytesLike, _message: BytesLike, overrides?: Overrides & {
30
+ from?: string | Promise<string>;
31
+ }): Promise<ContractTransaction>;
32
+ };
33
+ handle(_origin: BigNumberish, _sender: BytesLike, _message: BytesLike, overrides?: Overrides & {
34
+ from?: string | Promise<string>;
35
+ }): Promise<ContractTransaction>;
36
+ callStatic: {
37
+ handle(_origin: BigNumberish, _sender: BytesLike, _message: BytesLike, overrides?: CallOverrides): Promise<void>;
38
+ };
39
+ filters: {};
40
+ estimateGas: {
41
+ handle(_origin: BigNumberish, _sender: BytesLike, _message: BytesLike, overrides?: Overrides & {
42
+ from?: string | Promise<string>;
43
+ }): Promise<BigNumber>;
44
+ };
45
+ populateTransaction: {
46
+ handle(_origin: BigNumberish, _sender: BytesLike, _message: BytesLike, overrides?: Overrides & {
47
+ from?: string | Promise<string>;
48
+ }): Promise<PopulatedTransaction>;
49
+ };
50
+ }
51
+ //# sourceMappingURL=IMessageRecipient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMessageRecipient.d.ts","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.ts"],"names":[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B,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,IAAI,CAAC,CAAC;KAClB,CAAC;IAEF,OAAO,EAAE,EAAE,CAAC;IAEZ,WAAW,EAAE;QACX,MAAM,CACJ,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;SAAE,GAC1D,OAAO,CAAC,SAAS,CAAC,CAAC;KACvB,CAAC;IAEF,mBAAmB,EAAE;QACnB,MAAM,CACJ,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,SAAS,EAClB,QAAQ,EAAE,SAAS,EACnB,SAAS,CAAC,EAAE,SAAS,GAAG;YAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;SAAE,GAC1D,OAAO,CAAC,oBAAoB,CAAC,CAAC;KAClC,CAAC;CACH"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IMessageRecipient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMessageRecipient.js","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type * as iInterchainSecurityModuleSol from "./IInterchainSecurityModule.sol";
2
+ export type { iInterchainSecurityModuleSol };
3
+ export type { IInterchainGasPaymaster } from "./IInterchainGasPaymaster";
4
+ export type { IMailbox } from "./IMailbox";
5
+ export type { IMessageRecipient } from "./IMessageRecipient";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,4BAA4B,MAAM,iCAAiC,CAAC;AAErF,YAAY,EAAE,4BAA4B,EAAE,CAAC;AAC7C,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/types/@hyperlane-xyz/core/interfaces/index.ts"],"names":[],"mappings":";AAAA,+CAA+C"}