All Projects → celer-network → layer2-finance-contracts

celer-network / layer2-finance-contracts

Licence: MIT License
Contracts for the Layer 2 Finance DeFi aggregator, powered by optimistic rollup.

Programming Languages

solidity
1140 projects
typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to layer2-finance-contracts

blockhead
Crypto portfolio tracker, DeFi dashboard, NFT viewer and data explorer for the Ethereum/EVM-based blockchain ecosystem and the web 3.0-powered metaverse https://gitcoin.co/grants/2966/blockhead
Stars: ✭ 41 (+2.5%)
Mutual labels:  defi
Wallet3
A secure mobile wallet for web3
Stars: ✭ 13 (-67.5%)
Mutual labels:  defi
uniswap-python
🦄 The unofficial Python client for the Uniswap exchange.
Stars: ✭ 533 (+1232.5%)
Mutual labels:  defi
augmented-finance-protocol
High-yield lending and low-rate borrowing DeFi protocol
Stars: ✭ 28 (-30%)
Mutual labels:  defi
CherrySwap
🍒 Interest Swaps with a Cherry on Top 🍒
Stars: ✭ 45 (+12.5%)
Mutual labels:  defi
quipuswap-webapp
🌐 🧙‍♂️ Decentralized application UI for Quipuswap protocol.
Stars: ✭ 21 (-47.5%)
Mutual labels:  defi
uniswap-skim
scripts to scan all of the uniswapV2🦄 contracts on ethereum and search for skim opportunities
Stars: ✭ 126 (+215%)
Mutual labels:  defi
awesome-waves
Curated list of awesome things for development on Waves blockchain.
Stars: ✭ 60 (+50%)
Mutual labels:  defi
deployment
This repository list all public deployed smart contract address on Ethereum mainnet for mushrooms ecosystem: https://www.mushrooms.finance/
Stars: ✭ 22 (-45%)
Mutual labels:  defi
Aave-FlashLoan-using-solidity
This contains all the code to execute a successful flash-loan on the Kovan test-net of Ethereum. Flash-loan will be taken from the aave lending pool where will will take 1 DAI as a flash-loan, please keep in mind that you can take very huge flash-loans but make sure you have topped-up enough DAI in to your smart contract i.e. in this instance to…
Stars: ✭ 32 (-20%)
Mutual labels:  defi
DeFi-Developer-Road-Map
DeFi Developer roadmap is a curated Web3.0 Developer handbook which includes a list of the best tools for DApps, development resources and lifehacks.
Stars: ✭ 5,658 (+14045%)
Mutual labels:  defi
ygov-finance
Web repository for yfi staking and voting
Stars: ✭ 54 (+35%)
Mutual labels:  defi
fuel-v1-contracts
⚡ The Fuel optimistic rollup in Yul+ for the Ethereum Virtual Machine
Stars: ✭ 41 (+2.5%)
Mutual labels:  layer-2
apr-oracle
On-chain APR aggregator for dYdX, Fulcrum, Compound, and Aave
Stars: ✭ 21 (-47.5%)
Mutual labels:  defi
Setheum
Setheum Network - Islamic Finance DeFi, Multi-Stablecoins, Payments, EVM, DeFi on Rockets to Heaven => 🚀ready for hacking🚀
Stars: ✭ 15 (-62.5%)
Mutual labels:  defi
defiprime
All things #DeFi - trustless and transparent financial products built on top of the blockchain.
Stars: ✭ 117 (+192.5%)
Mutual labels:  defi
whale
The super index for DeFi Blockchain to simplify DeFi light implementation. 🚧 Consolidating into DeFiCh/jellyfish as a single monorepo project.
Stars: ✭ 17 (-57.5%)
Mutual labels:  defi
itoken
yToken wrappers for automated investment strategy tokenization
Stars: ✭ 71 (+77.5%)
Mutual labels:  defi
setprotocol.js
🥞 Javascript library for a collateralized basket of ERC20 tokens
Stars: ✭ 57 (+42.5%)
Mutual labels:  defi
arbitrage-bot
An arbitrage bot that detects arbitrage opportunities between pancake and bakery swaps and manages flash swap calls, to the flash swap contract
Stars: ✭ 132 (+230%)
Mutual labels:  defi

Layer 2 Finance Contracts

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

Run unit tests

yarn test

Benchmark gas cost

yarn report-gas:benchmark
yarn report-gas:summary

Check reports/gas_usage.

Update contract sizes

yarn size-contracts

Check reports/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 using solt, run:
source scripts/solt.sh
run_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

Edit flattened.out to remove the duplicate SPDX-License-Identifier lines and submit to Etherscan.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].