Locker/Claim Aragon Dapp for Cyber Foundation
- Contract - alpha, general flow works, debugging
- Front - on construction, working mocks
Description of flow
- Tokens distribute by stand-alone auction contract.
- With the help of this dapp agent may request tokens in another chain by locking foundation tokens for transfer (vesting) till the end of the auction (after bought and claim on auction window)
- There is stand-alone event watcher which track event from locker contract and sends tokens for a given account in another chain.
- Till tokens locked (part or all) agent allowed to vote on the proposal in DAO with whole personal balance.
npm install @aragon/cli -g
In app directory (app hot reload and script rebuild)
npm run start
npm run watch:script
In project root
npm run start:ipfs:template
eth conf:abi:add claim build/contracts/Claim.json eth repl claim@<appAddress> > claim.methods.transferableBalanceOf("0xb4124cEB3451635DAcedd11767f004d8a28c6eE7").call() '9' > claim.methods.balanceOf("0xb4124cEB3451635DAcedd11767f004d8a28c6eE7").call() '10'