Giter Site home page Giter Site logo

foundry_dao's Introduction

English README Jump to Japanese Version

Foundry DAO Governance

  1. Contract controlled at 100% by a DAO
  2. Every proposal has to be voted
  3. ERC20Token as governance Token (Default model, bad system due to the fact that price speculation is difficult to distach for people owning the token)

Should research and create new Voting System Power

Please note: ERC20 based voting is not always recommended, and I encourage you to explore other forms of governance like reputation based or "skin-in-the-game" based.

Requirements

  • git
    • You'll know you did it right if you can run git --version and you see a response like git version x.x.x
  • foundry
    • You'll know you did it right if you can run forge --version and you see a response like forge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z)

Quickstart

git clone https://github.com/Jer-B/Foundry_DAO
cd Foundry_DAO
forge install
forge build

Test

forge test

Deploy

No deploy script, made for local test.

Estimate gas

You can estimate how much gas things cost by running:

forge snapshot

And you'll see and output file called .gas-snapshot

Formatting

To run code formatting:

forge fmt

日本語版のREADME

Foundry DAO ガバナンス

  1. DAOに100%制御されるコントラクト
  2. すべての提案は投票を行う必要があります
  3. ERC20トークンにガバナンストークンがあります(デフォルトモデル、トークン所有者にとって価格の推測が難しいため、不良システムです)

新しい投票システムの力を研究および創造する必要があります

注意:ERC20ベースの投票は常に推奨されるものではなく、評判に基づくまたは「ゲームに参加する」ベースの他のガバナンス形式を探求することをお勧めします。

必要条件

  • git
    • git --version を実行して git version x.x.x のような応答が表示されれば成功です。
  • foundry
    • forge --version を実行して forge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z) のような応答が表示されれば成功です

Quickstart

git clone https://github.com/Jer-B/Foundry_DAO
cd Foundry_DAO
forge install
forge build

テスト方法

  1. ユニットテスト
  2. 統合テスト
  3. フォークテスト
  4. ステージングテスト
forge test

Test Coverage

forge coverage

デプロイスクリプト

デプロイスクリプトはなく、ローカルテスト用に作成されました。

ガス代確認

forge snapshot

.gas-snapshot という名前の出力ファイルが表示されます

フォーマット

コードのフォーマットを実行するには:

forge fmt

foundry_dao's People

Contributors

jer-b avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.