aragon-cli
aragon-cli copied to clipboard
aragon dao read
🚀 Feature
I believe there isn't a way to read data from an eth node using the CLI.
I tried using exec
, but it doesn't work because of tx pathing.
I wanted to read whether a minimetoken/token-manager has enabled transfers:
aragon dao read <minimetoken> transfersEnabled
It would also be useful to see the quorum of a voting app, etc.
Wondering if exec
and read
would be useful without the context of a dao
, for example:
- reading the total supply of an erc20 from the cli
- executing a function that is needed for creating a dao (minime, etc.)
You can detect if something should be done with an eth_call
or an actual transaction based on the constant
key in the ABI, although yes, I would agree that the exec
functionality would be useful outside of the dao
namespace (the dao
namespace I imagine is just useful for finding the ABI).