Giter VIP home page Giter VIP logo

governance-os's People

Contributors

eteissonniere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

governance-os's Issues

Replace `tokens` with `assets`

Seems like future versions of substrate will have a dedicated trait to work with the assets pallet. We should be able to replace our custom implementation with this.

The main question would be if it is still possible to have dorgs with the native currency token.

  • Swap tokens to assets in runtime
  • Re-add balances pallet for native currency handling
  • Find a way to still make organizations with either of balances or assets
  • Update the front-end apps demo

Add a decent readme

This should contain:

  • our title
  • a description
  • a reference of what pallets we have and what do they do
  • instructions on compiling, getting docs, testing etc...
  • links to any external documentation
  • the Web3 Grants logo in a good place
  • maybe some nice illustration

Add compat module

The compat module should bridge the substrate permissioning model with ours. Put simply we want an equivalent of sudo using the bylaws pallet.

Bylaws Pallet

This pallet can filter incoming calls according to a set of rules. Rules are linked to a certain address.

  • Call tagging
  • Run as part of SignedExtra
  • Benchmarks
  • Add to Node / Runtime

Examples

  • Call registry
  • Balance requirements (membership tokens)
  • Transfer tags

Account Optimizations

  • Consider wether the indices pallet is actually needed
  • Explore supporting the use of System as an AccountStore or set it to ()

Tokens pallets

This pallet gives the runtime the ability to handle multiple tokens or currencies. Try to maintain some kind of API compatibility.

  • Compat with Currency
  • Replace pallet_balances with pallet_tokens
  • Minting and burning tokens
  • Owner changes
  • Disownership
  • Correctly benchmarked dispatchables
  • Events everywhere

Sample Node

Bundle the pallets from #3 and #4 to create a testing node runtime. The pallet from #3 should be used to replace pallet_balances ideally

Recompute benchmarks and add missing ones

Need to add a few missing ones. But since I will compute weights on a new platform it makes sense to adjust the default ones of other pallets as well.

Missing benchmarks

  • organizations

To recompute

  • bylaws
  • tokens
  • compat
  • system
  • grandpa
  • timestamp

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.