Skip to content

Instantly share code, notes, and snippets.

@pythonpete32
Last active June 9, 2019 12:43
Show Gist options
  • Save pythonpete32/e06fc9e0b1b539ee8294604e7367864b to your computer and use it in GitHub Desktop.
Save pythonpete32/e06fc9e0b1b539ee8294604e7367864b to your computer and use it in GitHub Desktop.
Deployment log
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-1032-gcp x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Jun  9 11:39:47 UTC 2019

  System load:  0.07              Processes:           92
  Usage of /:   91.4% of 9.52GB   Users logged in:     0
  Memory usage: 17%               IP address for ens4: 10.154.0.6
  Swap usage:   0%

  => / is using 91.4% of 9.52GB

 * Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
   directly, see https://bit.ly/ubuntu-containerd or try it now with

     snap install microk8s --classic

 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch

21 packages can be updated.
0 updates are security updates.

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings


*** System restart required ***
Last login: Sun Jun  9 10:24:16 2019 from 85.255.232.61
pythonpete32@araenv:~$ dao --environment aragon:rinkeby new

Command 'dao' not found, did you mean:

  command 'ao' from snap ao (6.9.0)
  command 'dad' from deb debian-dad
  command 'dan' from deb emboss
  command 'dat' from deb liballegro4-dev
  command 'dav' from deb dav-text
  command 'dab' from deb bsdgames
  command 'dar' from deb dar
  command 'tao' from deb taopm
  command 'yao' from deb yorick-yao

See 'snap info <snapname>' for additional versions.

pythonpete32@araenv:~$ nvm use 10.15.3
Now using node v10.15.3 (npm v6.4.1)
pythonpete32@araenv:~$ dao --environment aragon:rinkeby new
  ✔ Fetching template bare-kit.aragonpm.eth@latest
  ✔ Create new DAO from template
  ✔ Checking DAO
 ✔ Created DAO: 0x53525b3B0d3BE56489218c0853b9ED934e4Fc043
pythonpete32@araenv:~$ deployer=0x5cb479DB92Ce3572383837c9775639dC373e4194
pythonpete32@araenv:~$ coop=0x53525b3B0d3BE56489218c0853b9ED934e4Fc043
pythonpete32@araenv:~$ dao --environment aragon:rinkeby token new "MBR" "MBR" 0
  ✔ Deploy the MiniMeTokenFactory contract
  ✔ Deploy the MiniMeToken contract
 ✔ Successfully deployed the token at 0x094853d5F4BCf6Cf00D4D964CA00692Cc7ABc680
 ℹ Token transaction hash: 0xa4c350a6974775df075f8c78fa59a10a9a72efca70e99022921a40572bdd028c
 ✔ Successfully deployed the token factory at 0xaBB0A802773451eEc62fB2019c4f7D8C8738B2CC
 ℹ Token factory transaction hash: 0x9ec45cff585f3520189b43c393a9e5f312556d458213663236a8355c6570b32d
pythonpete32@araenv:~$ token_mbr=0x094853d5F4BCf6Cf00D4D964CA00692Cc7ABc680
pythonpete32@araenv:~$ dao --environment aragon:rinkeby install $coop voting --app-init-args $token_mbr 500000000000000000 50000000000000000 604800 --apm.ipfs.rpc https://ipfs.eth.aragon.network/ipfs
  ✔ Fetching voting.aragonpm.eth@latest
  ↓ Checking installed version [skipped]
    → Installing the first instance of voting.aragonpm.eth in DAO
  ✔ Deploying app instance
 ℹ Successfully executed: "Create a new upgradeable instance of 0x9fa3927f639745e587912d4b0fea7ef9013bf93fb907d29faeab57417ba6e1d4 app linked to the Kernel, setting its code to 0xb4fa71b3352D48AA93D34d085f87bb4aF0cE6Ab5 ."
 ⚠ After the app instance is created, you will need to assign permissions to it for it appear as an app in the DAO
pythonpete32@araenv:~$ dao --environment aragon:rinkeby apps $coop --all
  ✔ Inspecting DAO
  ✔ Fetching permissionless apps
 ✔ Successfully fetched DAO apps for 0x53525b3B0d3BE56489218c0853b9ED934e4Fc043
┌───────────────────┬────────────────────────────────────────────┬───────────────────┐
│ App               │ Proxy address                              │ Content           │
├───────────────────┼────────────────────────────────────────────┼───────────────────┤
│ kernel@vundefined │ 0x53525b3B0d3BE56489218c0853b9ED934e4Fc043 │ (No UI available) │
├───────────────────┼────────────────────────────────────────────┼───────────────────┤
│ acl@vundefined    │ 0x0aa40cbdc4108b2251f720187a78653be0e34378 │ (No UI available) │
├───────────────────┼────────────────────────────────────────────┼───────────────────┤
│ evmreg@vundefined │ 0xa286e1f780f0f5be84a582523dbe6c0d1b57fcca │ (No UI available) │
└───────────────────┴────────────────────────────────────────────┴───────────────────┘
┌────────────────────┬────────────────────────────────────────────┐
│ Permissionless app │ Proxy address                              │
├────────────────────┼────────────────────────────────────────────┤
│ voting             │ 0x97cF429f7d2cfa5B65150e2eCfD6Ea2bB577C146 │
└────────────────────┴────────────────────────────────────────────┘
pythonpete32@araenv:~$ 1
1: command not found
pythonpete32@araenv:~$ voting_mbr=0x97cF429f7d2cfa5B65150e2eCfD6Ea2bB577C146
pythonpete32@araenv:~$ dao --environment aragon:rinkeby acl create $coop $voting_mbr CREATE_VOTES_ROLE $deployer $voting_mbr
  ✔ Generating transaction
  ✔ Sending transaction
 ✖ Cannot read property 'description' of undefined
pythonpete32@araenv:~$ dao --environment aragon:rinkeby install $coop token-manager --app-init none --apm.ipfs.rpc https://ipfs.eth.aragon.network/ipfs
  ✔ Fetching token-manager.aragonpm.eth@latest
  ↓ Checking installed version [skipped]
    → Installing the first instance of token-manager.aragonpm.eth in DAO
  ✔ Deploying app instance
 ℹ Successfully executed: "Create a new upgradeable instance of 0x6b20a3010614eeebf2138ccec99f028a61c811b3b1a3343b6ff635985c75c91f app linked to the Kernel, setting its code to 0xE775468F3Ee275f740A22EB9DD7aDBa9b7933Aa0 ."
 ⚠ After the app instance is created, you will need to assign permissions to it for it appear as an app in the DAO
 ⚠ App could not be initialized, check the --app-init flag. Functions protected behind the ACL will not work until the app is initialized
pythonpete32@araenv:~$ dao --environment aragon:rinkeby apps $coop --all                            ✔ Inspecting DAO
  ✔ Fetching permissionless apps
 ✔ Successfully fetched DAO apps for 0x53525b3B0d3BE56489218c0853b9ED934e4Fc043
┌───────────────────┬────────────────────────────────────────────┬─────────────────────────────────────────────────────┐                                                                            │ App               │ Proxy address                              │ Content                                             │                                                                            ├───────────────────┼────────────────────────────────────────────┼─────────────────────────────────────────────────────┤                                                                            │ kernel@vundefined │ 0x53525b3B0d3BE56489218c0853b9ED934e4Fc043 │ (No UI available)                                   │
├───────────────────┼────────────────────────────────────────────┼─────────────────────────────────────────────────────┤                                                                            │ acl@vundefined    │ 0x0aa40cbdc4108b2251f720187a78653be0e34378 │ (No UI available)                                   │
├───────────────────┼────────────────────────────────────────────┼─────────────────────────────────────────────────────┤                                                                            │ evmreg@vundefined │ 0xa286e1f780f0f5be84a582523dbe6c0d1b57fcca │ (No UI available)                                   │
├───────────────────┼────────────────────────────────────────────┼─────────────────────────────────────────────────────┤                                                                            │ voting            │ 0x97cf429f7d2cfa5b65150e2ecfd6ea2bb577c146 │ ipfs:QmaXSm49hUk3FSgAwqxXSUCp2RFL1EGStNLzq27y3aEfpX │
└───────────────────┴────────────────────────────────────────────┴─────────────────────────────────────────────────────┘                                                                            ┌────────────────────┬────────────────────────────────────────────┐
│ Permissionless app │ Proxy address                              │
├────────────────────┼────────────────────────────────────────────┤
│ token-manager      │ 0x7322C7117aA1508C104601F7c3ba8145240c9Ed1 │
└────────────────────┴────────────────────────────────────────────┘
pythonpete32@araenv:~$ manager_mbr=0x7322C7117aA1508C104601F7c3ba8145240c9Ed1
pythonpete32@araenv:~$ dao --environment aragon:rinkeby token change-controller $token_mbr $manager_mbr
  ✔ Changing the MiniMe token controller
 ✔ Successfully changed the controller of 0x094853d5F4BCf6Cf00D4D964CA00692Cc7ABc680 to 0x7322C7117aA1508C104601F7c3ba8145240c9Ed1
 ℹ Transaction hash: 0xdcdf35e3eb80bba40682e83974fab50bf3e7eb263d647ced73f442b016bbd095
pythonpete32@araenv:~$ dao --environment aragon:rinkeby acl create $coop $manager_mbr MINT_ROLE $deployer $voting_mbr
  ✔ Generating transaction
  ✔ Sending transaction
 ✖ Cannot read property 'description' of undefined
pythonpete32@araenv:~$ dao --environment aragon:rinkeby acl create $coop $manager_mbr ISSUE_ROLE $voting_mbr $voting_mbr
  ✔ Generating transaction
  ✔ Sending transaction
 ✔ Successfully executed: "Create a new permission granting 'undefined' the ability to perform actions of role 0x2406f1e99f79cea012fb88c5c36566feaeefee0f4b98d3a376b49310222b53c4 on 'undefined' (setting 'undefined' as the permission manager)"
pythonpete32@araenv:~$ dao --environment aragon:rinkeby acl create $coop $manager_mbr ASSIGN_ROLE $voting_mbr $voting_mbr
  ✔ Generating transaction
  ✔ Sending transaction
 ✔ Successfully executed: "Create a new permission granting 'undefined' the ability to perform actions of role 0xf5a08927c847d7a29dc35e105208dbde5ce951392105d712761cc5d17440e2ff on 'undefined' (setting 'undefined' as the permission manager)"
pythonpete32@araenv:~$ dao --environment aragon:rinkeby acl create $coop $manager_mbr BURN_ROLE $voting_mbr $voting_mbr
  ✔ Generating transaction
  ✔ Sending transaction
 ✔ Successfully executed: "Create a new permission granting 'undefined' the ability to perform actions of role 0xe97b137254058bd94f28d2f3eb79e2d34074ffb488d042e3bc958e0a57d2fa22 on 'undefined' (setting 'undefined' as the permission manager)"
pythonpete32@araenv:~$ dao --environment aragon:rinkeby exec $coop $manager_mbr initialize $token_mbr true 1
  ✖ Generating transaction
    → No ABI specified in artifact for 0x7322c7117aa1508c104601f7c3ba8145240c9ed1
    Sending transaction
 ✖ No ABI specified in artifact for 0x7322c7117aa1508c104601f7c3ba8145240c9ed1
pythonpete32@araenv:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment