Skip to content

omnes-tech/VaultsProtocolBCSimple-foundry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launch a vault. Earn yield. Manage your positions with NFTs.

Vaults is a DeFi/NFT-based smart contract protocol for launching customizable, yield-bearing token vaults. Once a vault’s rules and yield strategy are configured and deployed to the EVM blockchain of your choice, anyone can contribute ERC-20 tokens to mint an ERC-721 NFT representing their yield-bearing position. Use these NFTs to raise funds for charity, govern a vault’s funds as a DAO or multisig, gamble in the ultimate FOMO-inducing ponzi game, and much more!

Projeto vaults-protocol utilizando a estratégia Aave nos testes. Abaixo estão os links para acesso do projeto original. Vale a pena o estudo.

Try it:

Learn more:

Foundry Template

Usei o template https://github.com/Afonsodalvi/template-hardhat-foundry-truffledashboard

Github Actions

Getting Started - o teste de todos os contratos estão em Foundry

  • Use Foundry:
forge install
forge test

Features

  • Write / run tests with Foundry:
forge test
# or
yarn test
  • Use Truffle Dashboard:
truffle dashboard
  • Deploy your smart-contract using testnet Truffle Dashboard:
yarn deploy --network truffle
  • Use Prettier
yarn prettier
  • Install libraries with Foundry which work with Hardhat.
forge install rari-capital/solmate # Already in this repo, just an example
  • Configured gas cost with hardhat-gas-reporter
yarn add hardhat-gas-reporter # Already in this repo, just an example

Notes

Fiz um conjunto de implementações para ficar mais fácil o uso de diversos frameworks necessários para iniciar qualquer projeto.

Whenever you install new libraries using Foundry, make sure to update your remappings.txt file by running forge remappings > remappings.txt. This is required because we use hardhat-preprocessor and the remappings.txt file to allow Hardhat to resolve libraries you install with Foundry.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.9%
  • Solidity 41.1%
  • Other 1.0%