WIP: Install aragon vault app into Kredits kit #173
Closed
haythem96 wants to merge 5 commits from
kit/add-vault-app into master
pull from: kit/add-vault-app
merge into: :master
:master
:new-final-deploy
:new-final-deploy-2
:reimbursement-export
:staging
:legacy
:addresses/rsk-testnet-raucao-1
:ipfs-defaults
:deletemewhendone
:feature/184-improve_withdrawal
:tests/contracts-contribution
:tests/contracts-kit
:kit/add-vault-app
:feature/ipfs_hash_in_add_response
:chore/bootstrap-on-travis
:chore/remove-direct-aragon-cli-dependency
:chore/update-dependencies-1
:fix/ipfs-config
:apm-hack
:wtf/package-lock
:feature/contributor-balance
:feature/constructor-options
No Reviewers
Labels
Clear labels
good first issue
ipfs
rsk
scaling
bug
dev environment
docs
duplicate
enhancement
feature
idea
invalid
kredits-1
kredits-2
kredits-3
question
security
ui/ux
wontfix
Good for newcomers
Something is not working
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kredits/contracts#173
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
for Kredits DAO to accept funds (ETH or ERC20 token) it need a vault app to manage(receive & hold) those funds. And aragon apps packages have a Vault app that do the same functionalities that we need, so in this code it just import that app from the @aragon/vault-app package and install it into Kredits kit.
Vault app doc: https://wiki.aragon.org/dev/apps/vault/
Related to #169
This looks actually pretty cool. 👍
The main question will be who will have the transfer role. To test we could add a CLI script to transfer from the vault.
Also we should add a JS wrapper class for the vault to be able to easily interact with it from JS.
For the transfer role, I think the Reward app (when it is ready) should have it
Could you explain a bit what this does and how it works? The PR description is basically empty. Thanks!
Yeah sorry about that... need to better write PR description
So basically for Kredits DAO to accept funds (ETH or ERC20 token) it need a vault app to manage(receive & hold) those funds. And aragon apps packages have a
Vaultapp that do the same functionalities that we need, so in this code it just import that app from the@aragon/vault-apppackage and install it into Kredits kit.Maybe you could link the documentation of the Vault app?
Should we add the rewarding app before so that we can assign to it the
Transferrole of the vault app ?Closing due to inactivity. Please feel free to re-open.
Closing due to inactivity. Please feel free to re-open.
Pull request closed