@venusprotocol/isolated-pools 2.3.0-dev.1 → 2.3.0-dev.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.
- package/README.md +8 -0
- package/deployments/ethereum.json +5 -0
- package/deployments/sepolia.json +5 -0
- package/dist/hardhat.config.js +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,6 +127,14 @@ npx hardhat deploy
|
|
|
127
127
|
- In the deployment scripts you have added `tags` for example: - `func.tags = ["MockTokens"];`
|
|
128
128
|
- Once this is done, adding `--tags "<tag_name>,<tag_name>..."` to the deployment command will execute only the scripts containing the tags.
|
|
129
129
|
|
|
130
|
+
### Deployed Contracts
|
|
131
|
+
|
|
132
|
+
Deployed contract abis and addresses are exported in the `deployments` directory. To create a summary export of all contracts deployed to a network run
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
$ yarn hardhat export --network <network-name> --export ./deployments/<network-name>.json
|
|
136
|
+
```
|
|
137
|
+
|
|
130
138
|
## Source Code Verification
|
|
131
139
|
|
|
132
140
|
In order to verify the source code of already deployed contracts, run:
|
package/dist/hardhat.config.js
CHANGED
|
@@ -174,6 +174,18 @@ const config = {
|
|
|
174
174
|
mnemonic: process.env.MNEMONIC || "",
|
|
175
175
|
},
|
|
176
176
|
},
|
|
177
|
+
sepolia: {
|
|
178
|
+
url: process.env.RPC_URL || "https://rpc.notadegen.com/eth/sepolia",
|
|
179
|
+
chainId: 11155111,
|
|
180
|
+
live: true,
|
|
181
|
+
gasPrice: 20000000000, // 20 gwei
|
|
182
|
+
},
|
|
183
|
+
ethereum: {
|
|
184
|
+
url: process.env.ETHEREUM_ARCHIVE_NODE_URL || "https://eth-mainnet.public.blastapi.io",
|
|
185
|
+
chainId: 1,
|
|
186
|
+
live: true,
|
|
187
|
+
timeout: 1200000, // 20 minutes
|
|
188
|
+
},
|
|
177
189
|
},
|
|
178
190
|
gasReporter: {
|
|
179
191
|
enabled: process.env.REPORT_GAS !== undefined,
|