Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.

License

NotificationsYou must be signed in to change notification settings

celer-network/layer2-finance-contracts

Repository files navigation

Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.

Run unit tests

yarntest

Benchmark gas cost

yarn report-gas:benchmarkyarn report-gas:summary

Checkreports/gas_usage.

Update contract sizes

yarn size-contracts

Checkreports/contract_sizes.txt.

Deployment

  1. In the project root directory, update.env. Example values are in.env.template.

  2. Run deployment commands:

hardhat deploy --network<network> --tags<deployment-tags>
  1. To verify on Etherscan using Hardhat, try:
hardhat etherscan-verify --network<network>
  1. 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.

  1. (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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp