Skip to content

Commit

Permalink
fix: add dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
leoslr authored Mar 14, 2022
2 parents a4118c4 + 7f08ccc commit f6ab027
Show file tree
Hide file tree
Showing 49 changed files with 946 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Build directory
/dist

# Logs
logs
*.log
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ npm install --save-dev request-xdeployer @nomiclabs/hardhat-ethers @openzeppelin

Or if you are using [Yarn](https://classic.yarnpkg.com):
```bash
yarn add --dev request-xdeployer @nomiclabs/hardhat-ethers @openzeppelin/contracts
yarn add --dev @requestnetwork/xdeployer @nomiclabs/hardhat-ethers @openzeppelin/contracts
```
> **Note:** This plugin uses the optional chaining operator (`?.`). Optional chaining is _not_ supported in Node.js v13 and below.
In your `hardhat.config.ts`:
```ts
import "xdeployer";
import "@requestnetwork/xdeployer";
```

## Required Plugins
Expand Down
16 changes: 16 additions & 0 deletions dist/src/abi/Create2Deployer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"event Paused(address account)",
"event Unpaused(address account)",
"function computeAddress(bytes32 salt, bytes32 codeHash) view returns (address)",
"function computeAddressWithDeployer(bytes32 salt, bytes32 codeHash, address deployer) pure returns (address)",
"function deploy(uint256 value, bytes32 salt, bytes code)",
"function deployERC1820Implementer(uint256 value, bytes32 salt)",
"function killCreate2Deployer(address payoutAddress)",
"function owner() view returns (address)",
"function pause()",
"function paused() view returns (bool)",
"function renounceOwnership()",
"function transferOwnership(address newOwner)",
"function unpause()"
]
3 changes: 3 additions & 0 deletions dist/src/config.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { ConfigExtender } from "hardhat/types";
export declare const xdeployConfigExtender: ConfigExtender;
//# sourceMappingURL=config.d.ts.map
1 change: 1 addition & 0 deletions dist/src/config.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions dist/src/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/config.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions dist/src/constants.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export declare const CREATE2_DEPLOYER_ADDRESS = "0x13b0D85CcB8bf860b6b79AF3029fCA081AE9beF2";
export declare const AMOUNT = 0;
export declare const GASLIMIT: number;
export declare const PLUGIN_NAME = "xdeployer";
export declare const TASK_VERIFY_NETWORK_ARGUMENTS = "verify:get-network-arguments";
export declare const TASK_VERIFY_SUPPORTED_NETWORKS = "verify:get-supported-networks";
export declare const TASK_VERIFY_EQUAL_ARGS_NETWORKS = "verify:get-equal-args-networks";
export declare const TASK_VERIFY_SALT = "verify:get-salt";
export declare const TASK_VERIFY_SIGNER = "verify:get-signer";
export declare const TASK_VERIFY_CONTRACT = "verify:get-contract";
export declare const TASK_VERIFY_GASLIMIT = "verify:get-gaslimit";
export declare const TASK_VERIFY_DEPLOYER_ADDRESS = "verify:deployer-address";
//# sourceMappingURL=constants.d.ts.map
1 change: 1 addition & 0 deletions dist/src/constants.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions dist/src/constants.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/constants.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { CREATE2_DEPLOYER_ADDRESS } from "./constants";
import "./type-extensions";
import "@nomiclabs/hardhat-ethers";
import { IDeploymentParams, IDeploymentResult } from "./types";
export { CREATE2_DEPLOYER_ADDRESS, IDeploymentParams, IDeploymentResult };
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/src/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

185 changes: 185 additions & 0 deletions dist/src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f6ab027

Please sign in to comment.