- Notifications
You must be signed in to change notification settings - Fork25
Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.
License
celer-network/layer2-finance-contracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.
yarntest
yarn report-gas:benchmarkyarn report-gas:summary
Checkreports/gas_usage
.
yarn size-contracts
Checkreports/contract_sizes.txt
.
In the project root directory, update
.env
. Example values are in.env.template
.Run deployment commands:
hardhat deploy --network<network> --tags<deployment-tags>
- To verify on Etherscan using Hardhat, try:
hardhat etherscan-verify --network<network>
- To verify on Etherscan usingsolt, run:
source scripts/solt.shrun_solt_write()
Then try:
solt verify --license 3 --network<network> solc-input-<contract>.json<deployed address><contract name>
If the second step fails, go to Etherscan and manually verify using the standard JSON input files.
- (Not recommended, does not work with ABIEncoderV2) To flatten and manually verify on Etherscan:
First, flatten the contract to verify:
hardhat flatten<path-to-contract>> flattened.out
Editflattened.out
to remove the duplicateSPDX-License-Identifier
lines and submit to Etherscan.
About
Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.