@hyperlane-xyz/helloworld 1.0.0-beta2 → 1.0.0-beta5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +195 -0
- package/contracts/HelloWorld.sol +4 -38
- package/package.json +6 -6
- package/dist/hardhat.config.d.ts +0 -6
- package/dist/hardhat.config.d.ts.map +0 -1
- package/dist/hardhat.config.js +0 -28
- package/dist/hardhat.config.js.map +0 -1
- package/dist/src/app/app.d.ts +0 -18
- package/dist/src/app/app.d.ts.map +0 -1
- package/dist/src/app/app.js +0 -75
- package/dist/src/app/app.js.map +0 -1
- package/dist/src/app/contracts.d.ts +0 -6
- package/dist/src/app/contracts.d.ts.map +0 -1
- package/dist/src/app/contracts.js +0 -8
- package/dist/src/app/contracts.js.map +0 -1
- package/dist/src/deploy/check.d.ts +0 -7
- package/dist/src/deploy/check.d.ts.map +0 -1
- package/dist/src/deploy/check.js +0 -8
- package/dist/src/deploy/check.js.map +0 -1
- package/dist/src/deploy/config.d.ts +0 -6
- package/dist/src/deploy/config.d.ts.map +0 -1
- package/dist/src/deploy/config.js +0 -9
- package/dist/src/deploy/config.js.map +0 -1
- package/dist/src/deploy/deploy.d.ts +0 -11
- package/dist/src/deploy/deploy.d.ts.map +0 -1
- package/dist/src/deploy/deploy.js +0 -35
- package/dist/src/deploy/deploy.js.map +0 -1
- package/dist/src/index.d.ts +0 -7
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -36
- package/dist/src/index.js.map +0 -1
- package/dist/src/scripts/check.d.ts +0 -2
- package/dist/src/scripts/check.d.ts.map +0 -1
- package/dist/src/scripts/check.js +0 -43
- package/dist/src/scripts/check.js.map +0 -1
- package/dist/src/scripts/deploy.d.ts +0 -2
- package/dist/src/scripts/deploy.d.ts.map +0 -1
- package/dist/src/scripts/deploy.js +0 -35
- package/dist/src/scripts/deploy.js.map +0 -1
- package/dist/src/test/deploy.test.d.ts +0 -2
- package/dist/src/test/deploy.test.d.ts.map +0 -1
- package/dist/src/test/deploy.test.js +0 -47
- package/dist/src/test/deploy.test.js.map +0 -1
- package/dist/src/test/helloworld.test.d.ts +0 -2
- package/dist/src/test/helloworld.test.d.ts.map +0 -1
- package/dist/src/test/helloworld.test.js +0 -65
- package/dist/src/test/helloworld.test.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient.d.ts +0 -202
- package/dist/src/types/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/Router.d.ts +0 -271
- package/dist/src/types/@hyperlane-xyz/core/contracts/Router.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/Router.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/contracts/Router.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/index.d.ts +0 -3
- package/dist/src/types/@hyperlane-xyz/core/contracts/index.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/contracts/index.js +0 -3
- package/dist/src/types/@hyperlane-xyz/core/contracts/index.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/index.d.ts +0 -5
- package/dist/src/types/@hyperlane-xyz/core/index.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/index.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/index.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.d.ts +0 -51
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts +0 -51
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts +0 -43
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts +0 -3
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js +0 -3
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.d.ts +0 -99
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMailbox.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.d.ts +0 -51
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/IMessageRecipient.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/index.d.ts +0 -6
- package/dist/src/types/@hyperlane-xyz/core/interfaces/index.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/core/interfaces/index.js +0 -4
- package/dist/src/types/@hyperlane-xyz/core/interfaces/index.js.map +0 -1
- package/dist/src/types/@hyperlane-xyz/index.d.ts +0 -3
- package/dist/src/types/@hyperlane-xyz/index.d.ts.map +0 -1
- package/dist/src/types/@hyperlane-xyz/index.js +0 -4
- package/dist/src/types/@hyperlane-xyz/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +0 -99
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js +0 -4
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/index.d.ts +0 -2
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/index.js +0 -3
- package/dist/src/types/@openzeppelin/contracts-upgradeable/access/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/index.d.ts +0 -7
- package/dist/src/types/@openzeppelin/contracts-upgradeable/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/index.js +0 -4
- package/dist/src/types/@openzeppelin/contracts-upgradeable/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +0 -3
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/index.js +0 -4
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +0 -40
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js +0 -4
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +0 -2
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +0 -3
- package/dist/src/types/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +0 -40
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js +0 -4
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +0 -2
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/index.js +0 -3
- package/dist/src/types/@openzeppelin/contracts-upgradeable/utils/index.js.map +0 -1
- package/dist/src/types/@openzeppelin/index.d.ts +0 -3
- package/dist/src/types/@openzeppelin/index.d.ts.map +0 -1
- package/dist/src/types/@openzeppelin/index.js +0 -4
- package/dist/src/types/@openzeppelin/index.js.map +0 -1
- package/dist/src/types/common.d.ts +0 -22
- package/dist/src/types/common.d.ts.map +0 -1
- package/dist/src/types/common.js +0 -4
- package/dist/src/types/common.js.map +0 -1
- package/dist/src/types/contracts/HelloWorld.d.ts +0 -388
- package/dist/src/types/contracts/HelloWorld.d.ts.map +0 -1
- package/dist/src/types/contracts/HelloWorld.js +0 -4
- package/dist/src/types/contracts/HelloWorld.js.map +0 -1
- package/dist/src/types/contracts/index.d.ts +0 -2
- package/dist/src/types/contracts/index.d.ts.map +0 -1
- package/dist/src/types/contracts/index.js +0 -3
- package/dist/src/types/contracts/index.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient__factory.d.ts +0 -43
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient__factory.js +0 -200
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/HyperlaneConnectionClient__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/Router__factory.d.ts +0 -36
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/Router__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/Router__factory.js +0 -297
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/Router__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/index.d.ts +0 -3
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/index.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/index.js +0 -11
- package/dist/src/types/factories/@hyperlane-xyz/core/contracts/index.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/index.d.ts +0 -3
- package/dist/src/types/factories/@hyperlane-xyz/core/index.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/index.js +0 -32
- package/dist/src/types/factories/@hyperlane-xyz/core/index.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.d.ts +0 -19
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.js +0 -46
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainGasPaymaster__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts +0 -23
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js +0 -42
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts +0 -19
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js +0 -31
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts +0 -3
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js +0 -11
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IInterchainSecurityModule.sol/index.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.d.ts +0 -23
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.js +0 -122
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMailbox__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.d.ts +0 -19
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.js +0 -41
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/IMessageRecipient__factory.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.d.ts +0 -5
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.js +0 -37
- package/dist/src/types/factories/@hyperlane-xyz/core/interfaces/index.js.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/index.d.ts +0 -2
- package/dist/src/types/factories/@hyperlane-xyz/index.d.ts.map +0 -1
- package/dist/src/types/factories/@hyperlane-xyz/index.js +0 -31
- package/dist/src/types/factories/@hyperlane-xyz/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +0 -43
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js +0 -83
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +0 -2
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/index.js +0 -9
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/access/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/index.d.ts +0 -4
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/index.js +0 -33
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +0 -2
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.js +0 -31
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +0 -19
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js +0 -31
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +0 -2
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +0 -9
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +0 -19
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js +0 -31
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +0 -2
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/index.js +0 -9
- package/dist/src/types/factories/@openzeppelin/contracts-upgradeable/utils/index.js.map +0 -1
- package/dist/src/types/factories/@openzeppelin/index.d.ts +0 -2
- package/dist/src/types/factories/@openzeppelin/index.d.ts.map +0 -1
- package/dist/src/types/factories/@openzeppelin/index.js +0 -31
- package/dist/src/types/factories/@openzeppelin/index.js.map +0 -1
- package/dist/src/types/factories/contracts/HelloWorld__factory.d.ts +0 -59
- package/dist/src/types/factories/contracts/HelloWorld__factory.d.ts.map +0 -1
- package/dist/src/types/factories/contracts/HelloWorld__factory.js +0 -530
- package/dist/src/types/factories/contracts/HelloWorld__factory.js.map +0 -1
- package/dist/src/types/factories/contracts/index.d.ts +0 -2
- package/dist/src/types/factories/contracts/index.d.ts.map +0 -1
- package/dist/src/types/factories/contracts/index.js +0 -9
- package/dist/src/types/factories/contracts/index.js.map +0 -1
- package/dist/src/types/factories/index.d.ts +0 -4
- package/dist/src/types/factories/index.d.ts.map +0 -1
- package/dist/src/types/factories/index.js +0 -33
- package/dist/src/types/factories/index.js.map +0 -1
- package/dist/src/types/index.d.ts +0 -30
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/src/types/index.js +0 -51
- package/dist/src/types/index.js.map +0 -1
package/LICENSE.md
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
==============
|
|
3
|
+
|
|
4
|
+
_Version 2.0, January 2004_
|
|
5
|
+
_<<http://www.apache.org/licenses/>>_
|
|
6
|
+
|
|
7
|
+
### Terms and Conditions for use, reproduction, and distribution
|
|
8
|
+
|
|
9
|
+
#### 1. Definitions
|
|
10
|
+
|
|
11
|
+
“License” shall mean the terms and conditions for use, reproduction, and
|
|
12
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
“Licensor” shall mean the copyright owner or entity authorized by the copyright
|
|
15
|
+
owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
“Legal Entity” shall mean the union of the acting entity and all other entities
|
|
18
|
+
that control, are controlled by, or are under common control with that entity.
|
|
19
|
+
For the purposes of this definition, “control” means **(i)** the power, direct or
|
|
20
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
21
|
+
contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or **(iii)** beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
“You” (or “Your”) shall mean an individual or Legal Entity exercising
|
|
25
|
+
permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
“Source” form shall mean the preferred form for making modifications, including
|
|
28
|
+
but not limited to software source code, documentation source, and configuration
|
|
29
|
+
files.
|
|
30
|
+
|
|
31
|
+
“Object” form shall mean any form resulting from mechanical transformation or
|
|
32
|
+
translation of a Source form, including but not limited to compiled object code,
|
|
33
|
+
generated documentation, and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
“Work” shall mean the work of authorship, whether in Source or Object form, made
|
|
36
|
+
available under the License, as indicated by a copyright notice that is included
|
|
37
|
+
in or attached to the work (an example is provided in the Appendix below).
|
|
38
|
+
|
|
39
|
+
“Derivative Works” shall mean any work, whether in Source or Object form, that
|
|
40
|
+
is based on (or derived from) the Work and for which the editorial revisions,
|
|
41
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
42
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
43
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
44
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
45
|
+
|
|
46
|
+
“Contribution” shall mean any work of authorship, including the original version
|
|
47
|
+
of the Work and any modifications or additions to that Work or Derivative Works
|
|
48
|
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
|
49
|
+
by the copyright owner or by an individual or Legal Entity authorized to submit
|
|
50
|
+
on behalf of the copyright owner. For the purposes of this definition,
|
|
51
|
+
“submitted” means any form of electronic, verbal, or written communication sent
|
|
52
|
+
to the Licensor or its representatives, including but not limited to
|
|
53
|
+
communication on electronic mailing lists, source code control systems, and
|
|
54
|
+
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
|
55
|
+
the purpose of discussing and improving the Work, but excluding communication
|
|
56
|
+
that is conspicuously marked or otherwise designated in writing by the copyright
|
|
57
|
+
owner as “Not a Contribution.”
|
|
58
|
+
|
|
59
|
+
“Contributor” shall mean Licensor and any individual or Legal Entity on behalf
|
|
60
|
+
of whom a Contribution has been received by Licensor and subsequently
|
|
61
|
+
incorporated within the Work.
|
|
62
|
+
|
|
63
|
+
#### 2. Grant of Copyright License
|
|
64
|
+
|
|
65
|
+
Subject to the terms and conditions of this License, each Contributor hereby
|
|
66
|
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
67
|
+
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
|
68
|
+
publicly display, publicly perform, sublicense, and distribute the Work and such
|
|
69
|
+
Derivative Works in Source or Object form.
|
|
70
|
+
|
|
71
|
+
#### 3. Grant of Patent License
|
|
72
|
+
|
|
73
|
+
Subject to the terms and conditions of this License, each Contributor hereby
|
|
74
|
+
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
75
|
+
irrevocable (except as stated in this section) patent license to make, have
|
|
76
|
+
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
|
77
|
+
such license applies only to those patent claims licensable by such Contributor
|
|
78
|
+
that are necessarily infringed by their Contribution(s) alone or by combination
|
|
79
|
+
of their Contribution(s) with the Work to which such Contribution(s) was
|
|
80
|
+
submitted. If You institute patent litigation against any entity (including a
|
|
81
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
|
82
|
+
Contribution incorporated within the Work constitutes direct or contributory
|
|
83
|
+
patent infringement, then any patent licenses granted to You under this License
|
|
84
|
+
for that Work shall terminate as of the date such litigation is filed.
|
|
85
|
+
|
|
86
|
+
#### 4. Redistribution
|
|
87
|
+
|
|
88
|
+
You may reproduce and distribute copies of the Work or Derivative Works thereof
|
|
89
|
+
in any medium, with or without modifications, and in Source or Object form,
|
|
90
|
+
provided that You meet the following conditions:
|
|
91
|
+
|
|
92
|
+
* **(a)** You must give any other recipients of the Work or Derivative Works a copy of
|
|
93
|
+
this License; and
|
|
94
|
+
* **(b)** You must cause any modified files to carry prominent notices stating that You
|
|
95
|
+
changed the files; and
|
|
96
|
+
* **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
|
|
97
|
+
all copyright, patent, trademark, and attribution notices from the Source form
|
|
98
|
+
of the Work, excluding those notices that do not pertain to any part of the
|
|
99
|
+
Derivative Works; and
|
|
100
|
+
* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
|
|
101
|
+
Derivative Works that You distribute must include a readable copy of the
|
|
102
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
103
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
104
|
+
following places: within a NOTICE text file distributed as part of the
|
|
105
|
+
Derivative Works; within the Source form or documentation, if provided along
|
|
106
|
+
with the Derivative Works; or, within a display generated by the Derivative
|
|
107
|
+
Works, if and wherever such third-party notices normally appear. The contents of
|
|
108
|
+
the NOTICE file are for informational purposes only and do not modify the
|
|
109
|
+
License. You may add Your own attribution notices within Derivative Works that
|
|
110
|
+
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
111
|
+
provided that such additional attribution notices cannot be construed as
|
|
112
|
+
modifying the License.
|
|
113
|
+
|
|
114
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
115
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
116
|
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
117
|
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
118
|
+
with the conditions stated in this License.
|
|
119
|
+
|
|
120
|
+
#### 5. Submission of Contributions
|
|
121
|
+
|
|
122
|
+
Unless You explicitly state otherwise, any Contribution intentionally submitted
|
|
123
|
+
for inclusion in the Work by You to the Licensor shall be under the terms and
|
|
124
|
+
conditions of this License, without any additional terms or conditions.
|
|
125
|
+
Notwithstanding the above, nothing herein shall supersede or modify the terms of
|
|
126
|
+
any separate license agreement you may have executed with Licensor regarding
|
|
127
|
+
such Contributions.
|
|
128
|
+
|
|
129
|
+
#### 6. Trademarks
|
|
130
|
+
|
|
131
|
+
This License does not grant permission to use the trade names, trademarks,
|
|
132
|
+
service marks, or product names of the Licensor, except as required for
|
|
133
|
+
reasonable and customary use in describing the origin of the Work and
|
|
134
|
+
reproducing the content of the NOTICE file.
|
|
135
|
+
|
|
136
|
+
#### 7. Disclaimer of Warranty
|
|
137
|
+
|
|
138
|
+
Unless required by applicable law or agreed to in writing, Licensor provides the
|
|
139
|
+
Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
|
|
140
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
|
|
141
|
+
including, without limitation, any warranties or conditions of TITLE,
|
|
142
|
+
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
|
|
143
|
+
solely responsible for determining the appropriateness of using or
|
|
144
|
+
redistributing the Work and assume any risks associated with Your exercise of
|
|
145
|
+
permissions under this License.
|
|
146
|
+
|
|
147
|
+
#### 8. Limitation of Liability
|
|
148
|
+
|
|
149
|
+
In no event and under no legal theory, whether in tort (including negligence),
|
|
150
|
+
contract, or otherwise, unless required by applicable law (such as deliberate
|
|
151
|
+
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
|
152
|
+
liable to You for damages, including any direct, indirect, special, incidental,
|
|
153
|
+
or consequential damages of any character arising as a result of this License or
|
|
154
|
+
out of the use or inability to use the Work (including but not limited to
|
|
155
|
+
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
|
|
156
|
+
any and all other commercial damages or losses), even if such Contributor has
|
|
157
|
+
been advised of the possibility of such damages.
|
|
158
|
+
|
|
159
|
+
#### 9. Accepting Warranty or Additional Liability
|
|
160
|
+
|
|
161
|
+
While redistributing the Work or Derivative Works thereof, You may choose to
|
|
162
|
+
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
|
163
|
+
other liability obligations and/or rights consistent with this License. However,
|
|
164
|
+
in accepting such obligations, You may act only on Your own behalf and on Your
|
|
165
|
+
sole responsibility, not on behalf of any other Contributor, and only if You
|
|
166
|
+
agree to indemnify, defend, and hold each Contributor harmless for any liability
|
|
167
|
+
incurred by, or claims asserted against, such Contributor by reason of your
|
|
168
|
+
accepting any such warranty or additional liability.
|
|
169
|
+
|
|
170
|
+
_END OF TERMS AND CONDITIONS_
|
|
171
|
+
|
|
172
|
+
### APPENDIX: How to apply the Apache License to your work
|
|
173
|
+
|
|
174
|
+
To apply the Apache License to your work, attach the following boilerplate
|
|
175
|
+
notice, with the fields enclosed by brackets `[]` replaced with your own
|
|
176
|
+
identifying information. (Don't include the brackets!) The text should be
|
|
177
|
+
enclosed in the appropriate comment syntax for the file format. We also
|
|
178
|
+
recommend that a file or class name and description of purpose be included on
|
|
179
|
+
the same “printed page” as the copyright notice for easier identification within
|
|
180
|
+
third-party archives.
|
|
181
|
+
|
|
182
|
+
Copyright [yyyy] [name of copyright owner]
|
|
183
|
+
|
|
184
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
185
|
+
you may not use this file except in compliance with the License.
|
|
186
|
+
You may obtain a copy of the License at
|
|
187
|
+
|
|
188
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
189
|
+
|
|
190
|
+
Unless required by applicable law or agreed to in writing, software
|
|
191
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
192
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
193
|
+
See the License for the specific language governing permissions and
|
|
194
|
+
limitations under the License.
|
|
195
|
+
|
package/contracts/HelloWorld.sol
CHANGED
|
@@ -21,10 +21,6 @@ contract HelloWorld is Router {
|
|
|
21
21
|
// by this contract from the domain.
|
|
22
22
|
mapping(uint32 => uint256) public receivedFrom;
|
|
23
23
|
|
|
24
|
-
// Keyed by domain, a generous upper bound on the amount of gas to use in the
|
|
25
|
-
// handle function when a message is processed. Used for paying for gas.
|
|
26
|
-
mapping(uint32 => uint256) public handleGasAmounts;
|
|
27
|
-
|
|
28
24
|
// ============ Events ============
|
|
29
25
|
event SentHelloWorld(
|
|
30
26
|
uint32 indexed origin,
|
|
@@ -37,18 +33,9 @@ contract HelloWorld is Router {
|
|
|
37
33
|
bytes32 sender,
|
|
38
34
|
string message
|
|
39
35
|
);
|
|
40
|
-
event HandleGasAmountSet(
|
|
41
|
-
uint32 indexed destination,
|
|
42
|
-
uint256 handleGasAmount
|
|
43
|
-
);
|
|
44
36
|
|
|
45
|
-
constructor(address _mailbox, address _interchainGasPaymaster) {
|
|
46
|
-
|
|
47
|
-
_transferOwnership(msg.sender);
|
|
48
|
-
// Set the addresses for the Mailbox and IGP
|
|
49
|
-
// Alternatively, this could be done later in an initialize method
|
|
50
|
-
_setMailbox(_mailbox);
|
|
51
|
-
_setInterchainGasPaymaster(_interchainGasPaymaster);
|
|
37
|
+
constructor(address _mailbox, address _interchainGasPaymaster) initializer {
|
|
38
|
+
__Router_initialize(_mailbox, _interchainGasPaymaster);
|
|
52
39
|
}
|
|
53
40
|
|
|
54
41
|
// ============ External functions ============
|
|
@@ -57,7 +44,6 @@ contract HelloWorld is Router {
|
|
|
57
44
|
* @notice Sends a message to the _destinationDomain. Any msg.value is
|
|
58
45
|
* used as interchain gas payment.
|
|
59
46
|
* @param _destinationDomain The destination domain to send the message to.
|
|
60
|
-
* @param _message The message to send.
|
|
61
47
|
*/
|
|
62
48
|
function sendHelloWorld(uint32 _destinationDomain, string calldata _message)
|
|
63
49
|
external
|
|
@@ -65,13 +51,8 @@ contract HelloWorld is Router {
|
|
|
65
51
|
{
|
|
66
52
|
sent += 1;
|
|
67
53
|
sentTo[_destinationDomain] += 1;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
bytes(_message),
|
|
71
|
-
handleGasAmounts[_destinationDomain],
|
|
72
|
-
msg.value,
|
|
73
|
-
msg.sender
|
|
74
|
-
);
|
|
54
|
+
// TODO: pay for gas in v2
|
|
55
|
+
_dispatch(_destinationDomain, bytes(_message));
|
|
75
56
|
emit SentHelloWorld(
|
|
76
57
|
mailbox.localDomain(),
|
|
77
58
|
_destinationDomain,
|
|
@@ -79,21 +60,6 @@ contract HelloWorld is Router {
|
|
|
79
60
|
);
|
|
80
61
|
}
|
|
81
62
|
|
|
82
|
-
/**
|
|
83
|
-
* @notice Sets the amount of gas the recipient's handle function uses on
|
|
84
|
-
* the destination domain, which is used when paying for gas.
|
|
85
|
-
* @dev Reverts if called by a non-owner.
|
|
86
|
-
* @param _destinationDomain The destination domain,
|
|
87
|
-
* @param _handleGasAmount The handle gas amount.
|
|
88
|
-
*/
|
|
89
|
-
function setHandleGasAmount(
|
|
90
|
-
uint32 _destinationDomain,
|
|
91
|
-
uint256 _handleGasAmount
|
|
92
|
-
) external onlyOwner {
|
|
93
|
-
handleGasAmounts[_destinationDomain] = _handleGasAmount;
|
|
94
|
-
emit HandleGasAmountSet(_destinationDomain, _handleGasAmount);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
63
|
// ============ Internal functions ============
|
|
98
64
|
|
|
99
65
|
/**
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlane-xyz/helloworld",
|
|
3
3
|
"description": "A basic skeleton of an Hyperlane app",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta5",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@hyperlane-xyz/sdk": "1.0.0-
|
|
6
|
+
"@hyperlane-xyz/sdk": "^1.0.0-beta5",
|
|
7
7
|
"@openzeppelin/contracts-upgradeable": "^4.8.0",
|
|
8
|
-
"ethers": "^5.
|
|
8
|
+
"ethers": "^5.7.2"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@nomiclabs/hardhat-ethers": "^2.
|
|
12
|
-
"@nomiclabs/hardhat-waffle": "^2.0.
|
|
11
|
+
"@nomiclabs/hardhat-ethers": "^2.2.1",
|
|
12
|
+
"@nomiclabs/hardhat-waffle": "^2.0.3",
|
|
13
13
|
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
|
14
14
|
"@typechain/ethers-v5": "10.0.0",
|
|
15
15
|
"@typechain/hardhat": "^6.0.0",
|
|
@@ -66,4 +66,4 @@
|
|
|
66
66
|
"async": "^2.6.4",
|
|
67
67
|
"undici": "^5.11"
|
|
68
68
|
}
|
|
69
|
-
}
|
|
69
|
+
}
|
package/dist/hardhat.config.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hardhat.config.d.ts","sourceRoot":"","sources":["../hardhat.config.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,2BAA2B,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,mBAAmB,CAAC"}
|
package/dist/hardhat.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
require("@nomiclabs/hardhat-ethers");
|
|
4
|
-
require("@nomiclabs/hardhat-waffle");
|
|
5
|
-
require("@typechain/hardhat");
|
|
6
|
-
require("hardhat-gas-reporter");
|
|
7
|
-
require("solidity-coverage");
|
|
8
|
-
/**
|
|
9
|
-
* @type import('hardhat/config').HardhatUserConfig
|
|
10
|
-
*/
|
|
11
|
-
module.exports = {
|
|
12
|
-
solidity: {
|
|
13
|
-
compilers: [
|
|
14
|
-
{
|
|
15
|
-
version: '0.8.16',
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
gasReporter: {
|
|
20
|
-
currency: 'USD',
|
|
21
|
-
},
|
|
22
|
-
typechain: {
|
|
23
|
-
outDir: './src/types',
|
|
24
|
-
target: 'ethers-v5',
|
|
25
|
-
alwaysGenerateOverloads: false, // should overloads with full signatures like deposit(uint256) be generated always, even if there are no overloads?
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=hardhat.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hardhat.config.js","sourceRoot":"","sources":["../hardhat.config.ts"],"names":[],"mappings":";;AAAA,qCAAmC;AACnC,qCAAmC;AACnC,8BAA4B;AAC5B,gCAA8B;AAC9B,6BAA2B;AAE3B;;GAEG;AACH,MAAM,CAAC,OAAO,GAAG;IACf,QAAQ,EAAE;QACR,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,QAAQ;aAClB;SACF;KACF;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,KAAK;KAChB;IACD,SAAS,EAAE;QACT,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,WAAW;QACnB,uBAAuB,EAAE,KAAK,EAAE,mHAAmH;KACpJ;CACF,CAAC"}
|
package/dist/src/app/app.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BigNumber, ethers } from 'ethers';
|
|
2
|
-
import { ChainMap, ChainName, HyperlaneApp, HyperlaneCore, MultiProvider, Remotes } from '@hyperlane-xyz/sdk';
|
|
3
|
-
import { HelloWorldContracts } from './contracts';
|
|
4
|
-
declare type Counts = {
|
|
5
|
-
sent: number;
|
|
6
|
-
received: number;
|
|
7
|
-
};
|
|
8
|
-
export declare class HelloWorldApp<Chain extends ChainName = ChainName> extends HyperlaneApp<HelloWorldContracts, Chain> {
|
|
9
|
-
readonly core: HyperlaneCore<Chain>;
|
|
10
|
-
constructor(core: HyperlaneCore<Chain>, contractsMap: ChainMap<Chain, HelloWorldContracts>, multiProvider: MultiProvider<Chain>);
|
|
11
|
-
sendHelloWorld<From extends Chain>(from: From, to: Remotes<Chain, From>, message: string, value: BigNumber): Promise<ethers.ContractReceipt>;
|
|
12
|
-
waitForMessageReceipt(receipt: ethers.ContractReceipt): Promise<ethers.ContractReceipt[]>;
|
|
13
|
-
waitForMessageProcessed(receipt: ethers.ContractReceipt): Promise<void>;
|
|
14
|
-
channelStats<From extends Chain>(from: From, to: Remotes<Chain, From>): Promise<Counts>;
|
|
15
|
-
stats(): Promise<Record<Chain, Record<Chain, Counts>>>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=app.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/app/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE3C,OAAO,EACL,QAAQ,EACR,SAAS,EAET,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACR,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,aAAK,MAAM,GAAG;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,aAAa,CACxB,KAAK,SAAS,SAAS,GAAG,SAAS,CACnC,SAAQ,YAAY,CAAC,mBAAmB,EAAE,KAAK,CAAC;aAE9B,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC;gBAA1B,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,EAC1C,YAAY,EAAE,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC,EAClD,aAAa,EAAE,aAAa,CAAC,KAAK,CAAC;IAK/B,cAAc,CAAC,IAAI,SAAS,KAAK,EACrC,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,EACxB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,SAAS,GACf,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;IA2B5B,qBAAqB,CACzB,OAAO,EAAE,MAAM,CAAC,eAAe,GAC9B,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC;IAI9B,uBAAuB,CAC3B,OAAO,EAAE,MAAM,CAAC,eAAe,GAC9B,OAAO,CAAC,IAAI,CAAC;IAIV,YAAY,CAAC,IAAI,SAAS,KAAK,EACnC,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,GACvB,OAAO,CAAC,MAAM,CAAC;IAWZ,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;CAiB7D"}
|
package/dist/src/app/app.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.HelloWorldApp = void 0;
|
|
13
|
-
const sdk_1 = require("@hyperlane-xyz/sdk");
|
|
14
|
-
const utils_1 = require("@hyperlane-xyz/utils");
|
|
15
|
-
class HelloWorldApp extends sdk_1.HyperlaneApp {
|
|
16
|
-
constructor(core, contractsMap, multiProvider) {
|
|
17
|
-
super(contractsMap, multiProvider);
|
|
18
|
-
this.core = core;
|
|
19
|
-
}
|
|
20
|
-
sendHelloWorld(from, to, message, value) {
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
const sender = this.getContracts(from).router;
|
|
23
|
-
const toDomain = sdk_1.ChainNameToDomainId[to];
|
|
24
|
-
const chainConnection = this.multiProvider.getChainConnection(from);
|
|
25
|
-
// apply gas buffer due to https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/634
|
|
26
|
-
const estimated = yield sender.estimateGas.sendHelloWorld(toDomain, message, Object.assign(Object.assign({}, chainConnection.overrides), { value }));
|
|
27
|
-
const gasLimit = estimated.mul(12).div(10);
|
|
28
|
-
const tx = yield sender.sendHelloWorld(toDomain, message, Object.assign(Object.assign({}, chainConnection.overrides), { gasLimit,
|
|
29
|
-
value }));
|
|
30
|
-
(0, utils_1.debug)('Sending hello message', {
|
|
31
|
-
from,
|
|
32
|
-
to,
|
|
33
|
-
message,
|
|
34
|
-
tx,
|
|
35
|
-
});
|
|
36
|
-
return tx.wait(chainConnection.confirmations);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
waitForMessageReceipt(receipt) {
|
|
40
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
return this.core.waitForMessageProcessing(receipt);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
waitForMessageProcessed(receipt) {
|
|
45
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
-
return this.core.waitForMessageProcessed(receipt);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
channelStats(from, to) {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
-
const sent = yield this.getContracts(from).router.sentTo(sdk_1.ChainNameToDomainId[to]);
|
|
52
|
-
const received = yield this.getContracts(to).router.receivedFrom(sdk_1.ChainNameToDomainId[from]);
|
|
53
|
-
return { sent: sent.toNumber(), received: received.toNumber() };
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
stats() {
|
|
57
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
-
const entries = yield Promise.all(this.chains().map((source) => __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const destinationEntries = yield Promise.all(this.remoteChains(source).map((destination) => __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
return [
|
|
61
|
-
destination,
|
|
62
|
-
yield this.channelStats(source, destination),
|
|
63
|
-
];
|
|
64
|
-
})));
|
|
65
|
-
return [
|
|
66
|
-
source,
|
|
67
|
-
Object.fromEntries(destinationEntries),
|
|
68
|
-
];
|
|
69
|
-
})));
|
|
70
|
-
return Object.fromEntries(entries);
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
exports.HelloWorldApp = HelloWorldApp;
|
|
75
|
-
//# sourceMappingURL=app.js.map
|
package/dist/src/app/app.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/app/app.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,4CAQ4B;AAC5B,gDAA6C;AAS7C,MAAa,aAEX,SAAQ,kBAAwC;IAChD,YACkB,IAA0B,EAC1C,YAAkD,EAClD,aAAmC;QAEnC,KAAK,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;QAJnB,SAAI,GAAJ,IAAI,CAAsB;IAK5C,CAAC;IAEK,cAAc,CAClB,IAAU,EACV,EAAwB,EACxB,OAAe,EACf,KAAgB;;YAEhB,MAAM,MAAM,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;YAC9C,MAAM,QAAQ,GAAG,yBAAmB,CAAC,EAAE,CAAC,CAAC;YACzC,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;YAEpE,yFAAyF;YACzF,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,cAAc,CACvD,QAAQ,EACR,OAAO,kCACF,eAAe,CAAC,SAAS,KAAE,KAAK,IACtC,CAAC;YACF,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAE3C,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,kCACnD,eAAe,CAAC,SAAS,KAC5B,QAAQ;gBACR,KAAK,IACL,CAAC;YACH,IAAA,aAAK,EAAC,uBAAuB,EAAE;gBAC7B,IAAI;gBACJ,EAAE;gBACF,OAAO;gBACP,EAAE;aACH,CAAC,CAAC;YACH,OAAO,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;KAAA;IAEK,qBAAqB,CACzB,OAA+B;;YAE/B,OAAO,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;QACrD,CAAC;KAAA;IAEK,uBAAuB,CAC3B,OAA+B;;YAE/B,OAAO,IAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACpD,CAAC;KAAA;IAEK,YAAY,CAChB,IAAU,EACV,EAAwB;;YAExB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,CACtD,yBAAmB,CAAC,EAAE,CAAC,CACxB,CAAC;YACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,YAAY,CAC9D,yBAAmB,CAAC,IAAI,CAAC,CAC1B,CAAC;YAEF,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC;QAClE,CAAC;KAAA;IAEK,KAAK;;YACT,MAAM,OAAO,GAA0C,MAAM,OAAO,CAAC,GAAG,CACtE,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAO,MAAM,EAAE,EAAE;gBACjC,MAAM,kBAAkB,GAAG,MAAM,OAAO,CAAC,GAAG,CAC1C,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAO,WAAW,EAAE,EAAE;oBAAC,OAAA;wBACnD,WAAW;wBACX,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC;qBAC7C,CAAA;kBAAA,CAAC,CACH,CAAC;gBACF,OAAO;oBACL,MAAM;oBACN,MAAM,CAAC,WAAW,CAAC,kBAAkB,CAA0B;iBAChE,CAAC;YACJ,CAAC,CAAA,CAAC,CACH,CAAC;YACF,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAyC,CAAC;QAC7E,CAAC;KAAA;CACF;AAtFD,sCAsFC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { RouterContracts, RouterFactories } from '@hyperlane-xyz/sdk';
|
|
2
|
-
import { HelloWorld } from '../types';
|
|
3
|
-
export declare type HelloWorldFactories = RouterFactories<HelloWorld>;
|
|
4
|
-
export declare const helloWorldFactories: HelloWorldFactories;
|
|
5
|
-
export declare type HelloWorldContracts = RouterContracts<HelloWorld>;
|
|
6
|
-
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../../src/app/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAuB,MAAM,UAAU,CAAC;AAE3D,oBAAY,mBAAmB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE9D,eAAO,MAAM,mBAAmB,EAAE,mBAEjC,CAAC;AAEF,oBAAY,mBAAmB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.helloWorldFactories = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
exports.helloWorldFactories = {
|
|
6
|
-
router: new types_1.HelloWorld__factory(),
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=contracts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../src/app/contracts.ts"],"names":[],"mappings":";;;AAEA,oCAA2D;AAI9C,QAAA,mBAAmB,GAAwB;IACtD,MAAM,EAAE,IAAI,2BAAmB,EAAE;CAClC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ChainName, HyperlaneRouterChecker } from '@hyperlane-xyz/sdk';
|
|
2
|
-
import { HelloWorldApp } from '../app/app';
|
|
3
|
-
import { HelloWorldContracts } from '../app/contracts';
|
|
4
|
-
import { HelloWorldConfig } from './config';
|
|
5
|
-
export declare class HelloWorldChecker<Chain extends ChainName> extends HyperlaneRouterChecker<Chain, HelloWorldApp<Chain>, HelloWorldConfig, HelloWorldContracts> {
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/deploy/check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,qBAAa,iBAAiB,CAC5B,KAAK,SAAS,SAAS,CACvB,SAAQ,sBAAsB,CAC9B,KAAK,EACL,aAAa,CAAC,KAAK,CAAC,EACpB,gBAAgB,EAChB,mBAAmB,CACpB;CAAG"}
|
package/dist/src/deploy/check.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HelloWorldChecker = void 0;
|
|
4
|
-
const sdk_1 = require("@hyperlane-xyz/sdk");
|
|
5
|
-
class HelloWorldChecker extends sdk_1.HyperlaneRouterChecker {
|
|
6
|
-
}
|
|
7
|
-
exports.HelloWorldChecker = HelloWorldChecker;
|
|
8
|
-
//# sourceMappingURL=check.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/deploy/check.ts"],"names":[],"mappings":";;;AAAA,4CAAuE;AAOvE,MAAa,iBAEX,SAAQ,4BAKT;CAAG;AAPJ,8CAOI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/deploy/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA0B,MAAM,oBAAoB,CAAC;AAE1E,oBAAY,gBAAgB,GAAG,YAAY,CAAC;AAG5C,eAAO,MAAM,WAAW;;CAEvB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.prodConfigs = void 0;
|
|
4
|
-
const sdk_1 = require("@hyperlane-xyz/sdk");
|
|
5
|
-
// SET DESIRED NETWORKS HERE
|
|
6
|
-
exports.prodConfigs = {
|
|
7
|
-
alfajores: sdk_1.chainConnectionConfigs.alfajores,
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/deploy/config.ts"],"names":[],"mappings":";;;AAAA,4CAA0E;AAI1E,4BAA4B;AACf,QAAA,WAAW,GAAG;IACzB,SAAS,EAAE,4BAAsB,CAAC,SAAS;CAC5C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChainMap, ChainName, HyperlaneCore, HyperlaneRouterDeployer, MultiProvider } from '@hyperlane-xyz/sdk';
|
|
2
|
-
import { HelloWorldContracts, HelloWorldFactories } from '../app/contracts';
|
|
3
|
-
import { HelloWorldConfig } from './config';
|
|
4
|
-
export declare class HelloWorldDeployer<Chain extends ChainName> extends HyperlaneRouterDeployer<Chain, HelloWorldConfig, HelloWorldContracts, HelloWorldFactories> {
|
|
5
|
-
protected core: HyperlaneCore<Chain>;
|
|
6
|
-
constructor(multiProvider: MultiProvider<Chain>, configMap: ChainMap<Chain, HelloWorldConfig>, core: HyperlaneCore<Chain>);
|
|
7
|
-
deployContracts(chain: Chain, config: HelloWorldConfig): Promise<{
|
|
8
|
-
router: import("../types").HelloWorld;
|
|
9
|
-
}>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/deploy/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,aAAa,EACb,uBAAuB,EACvB,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,qBAAa,kBAAkB,CAC7B,KAAK,SAAS,SAAS,CACvB,SAAQ,uBAAuB,CAC/B,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,CACpB;IAIG,SAAS,CAAC,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC;gBAFpC,aAAa,EAAE,aAAa,CAAC,KAAK,CAAC,EACnC,SAAS,EAAE,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,EAClC,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC;IAOhC,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,gBAAgB;;;CAS7D"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.HelloWorldDeployer = void 0;
|
|
13
|
-
const sdk_1 = require("@hyperlane-xyz/sdk");
|
|
14
|
-
const contracts_1 = require("../app/contracts");
|
|
15
|
-
class HelloWorldDeployer extends sdk_1.HyperlaneRouterDeployer {
|
|
16
|
-
constructor(multiProvider, configMap, core) {
|
|
17
|
-
super(multiProvider, configMap, contracts_1.helloWorldFactories, {});
|
|
18
|
-
this.core = core;
|
|
19
|
-
}
|
|
20
|
-
// Custom contract deployment logic can go here
|
|
21
|
-
// If no custom logic is needed, call deployContract for the router
|
|
22
|
-
deployContracts(chain, config) {
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const router = yield this.deployContract(chain, 'router', [
|
|
25
|
-
config.mailbox,
|
|
26
|
-
config.interchainGasPaymaster,
|
|
27
|
-
]);
|
|
28
|
-
return {
|
|
29
|
-
router,
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.HelloWorldDeployer = HelloWorldDeployer;
|
|
35
|
-
//# sourceMappingURL=deploy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../src/deploy/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAM4B;AAE5B,gDAI0B;AAI1B,MAAa,kBAEX,SAAQ,6BAKT;IACC,YACE,aAAmC,EACnC,SAA4C,EAClC,IAA0B;QAEpC,KAAK,CAAC,aAAa,EAAE,SAAS,EAAE,+BAAmB,EAAE,EAAE,CAAC,CAAC;QAF/C,SAAI,GAAJ,IAAI,CAAsB;IAGtC,CAAC;IAED,+CAA+C;IAC/C,mEAAmE;IAC7D,eAAe,CAAC,KAAY,EAAE,MAAwB;;YAC1D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,QAAQ,EAAE;gBACxD,MAAM,CAAC,OAAO;gBACd,MAAM,CAAC,sBAAsB;aAC9B,CAAC,CAAC;YACH,OAAO;gBACL,MAAM;aACP,CAAC;QACJ,CAAC;KAAA;CACF;AA3BD,gDA2BC"}
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { HelloWorldChecker } from './deploy/check';
|
|
2
|
-
export { HelloWorldConfig } from './deploy/config';
|
|
3
|
-
export { HelloWorldDeployer } from './deploy/deploy';
|
|
4
|
-
export { HelloWorldApp } from './app/app';
|
|
5
|
-
export { HelloWorldContracts, HelloWorldFactories, helloWorldFactories, } from './app/contracts';
|
|
6
|
-
export * as types from './types';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|
package/dist/src/index.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.types = exports.helloWorldFactories = exports.HelloWorldApp = exports.HelloWorldDeployer = exports.HelloWorldChecker = void 0;
|
|
27
|
-
var check_1 = require("./deploy/check");
|
|
28
|
-
Object.defineProperty(exports, "HelloWorldChecker", { enumerable: true, get: function () { return check_1.HelloWorldChecker; } });
|
|
29
|
-
var deploy_1 = require("./deploy/deploy");
|
|
30
|
-
Object.defineProperty(exports, "HelloWorldDeployer", { enumerable: true, get: function () { return deploy_1.HelloWorldDeployer; } });
|
|
31
|
-
var app_1 = require("./app/app");
|
|
32
|
-
Object.defineProperty(exports, "HelloWorldApp", { enumerable: true, get: function () { return app_1.HelloWorldApp; } });
|
|
33
|
-
var contracts_1 = require("./app/contracts");
|
|
34
|
-
Object.defineProperty(exports, "helloWorldFactories", { enumerable: true, get: function () { return contracts_1.helloWorldFactories; } });
|
|
35
|
-
exports.types = __importStar(require("./types"));
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAmD;AAA1C,0GAAA,iBAAiB,OAAA;AAE1B,0CAAqD;AAA5C,4GAAA,kBAAkB,OAAA;AAC3B,iCAA0C;AAAjC,oGAAA,aAAa,OAAA;AACtB,6CAIyB;AADvB,gHAAA,mBAAmB,OAAA;AAErB,iDAAiC"}
|