Chicago Ethereum Meetup | Aragon DAOs | 2020 Mar
Chicago Ethereum Meetup·Fri, Oct 9, 2020, 12:00 AM
https://www.meetup.com/Chicago-Ethereum-Meetup/events/268269472/ Speaker links: https://github.com/0xGabi/ https://twitter.com/0xGabi Aragon links: https://github.com/aragon/ https://twitter.com/AragonProject
Transcript
I'm okay I'm gonna start introducing myself I'm Gabrielle I'm from guru why I work at a lagoon one and this is why they call team of their own project I mean my goal with the with a dog is trying to give you guys a holistic view of the both the Dow's and how the house could be revelation in their own framework so yeah this week first of all and please if you think that I'm going too slow in some specific hey Pacific's or if you think I should speed up stop me and let's do it because I would like to cover a few use cases as well so that would be good for all of us and I would like to start with the body Sadao and I get this a Wikipedia definition and it says like it's organization represent by rules and code as a computer program that is transparent controller by shareholders and not influencer by central governance so this is the more after definition and we start in our own in that starting point and that's why I I put this they here they are on thesis and we start thinking about dowels as a tool for organization companies and communities to collaborate without borders more transparent and bureaucracy 3 what happened is that this was super useful to start building the first building blocks for styles and this is still a somehow somehow true but we when we are starting to see with with the first use cases and what actually people are using doubt more is as a social tool that allows everyone to organize in a more in normal ways that maybe before what not possible and also to achieve more complex goals together with more people here we can also say that the blockchain is and I will enable enabling the down one number to go higher with a with a in an organization as well like with a people interacting together so at the same time in a personal opinion I think that we are still not did not really know what a doubt could eventually become so it's still a learning process and we have to figure out together so what I would like to this piece what I prepare for the presentation a first I would like to show you how to on work in their own clients to create a specific kind of organization and afterwards I would like to show you how we can use that organization to interact with compound and we can briefly discuss each component of the organization and as we configure it then as a second point I would like to show interesting flow that we recently started spare amending of using a telegram chat boot and swap market to board new users in the Dow and finally I would like to also quickly show you how to set up your development environment is in they are about the tooth so Before we jump into the actual creation of the organization I would like to show you this particular organization then I'm gonna showcase this is the Dante living organization a this organization was created by the external external team one hi and what allow you is to what the objective was to replicate the Moloch down model if some of you heard about it a what is interesting about this model is that allowed to for group of peoples that are not in sync or not even know between tellers to collaborate and achieve goals together because how the organization is a bill so what was the objective for this a London your organization was to leverage they are on a framework of composability of the only components and also have the nice feature that malaga halves of allow this kind of a dress less environment for the members so that means said we can go ahead and start creating this organization this is the aragon a client this is where you will interact with organizations and here you also are able to create your first organization if you doesn't have one where i'm here is now the onboarding website that allows you to create different templates that were revealed with a specific configuration for you this is all optional you can also create your own templates but these are some of interesting use cases that come up from the community or from the our one core team and are here for users to create a more easily so let's go to the damned ileum here we'll see the all the applications that are part of this polarization and as one scene that i forgot to mention you is that all there is all the other one apps are like the building maybe lee blocks all the of the organization each of them have a specific it's a pacific use case that could be leveraged in the linearization and then could be used also for other kind of organizations because they come possibility of their framework so here we are we already have this set up and we also could you this Asian tub that is a super powerful a cup that we are going to cover in later on but we want to choose it I think I might be in the network let's see wait a sec oh no that's a change sorry I was not seeing that because now we can just a again and here what what we first the first configuration we have to do is choose a ENS name this is the sub domain that the arrival organization is going to have this is the human readable name that we have to choose let's choose Chicago Belgium and now we are going to start computing the specific building blocks of the organization I'm gonna quickly go over this and try to sum up what each of them is gonna have these on a twinned organization this is a done daily of bolting it allowed it gives the consensus rules for the orientation and also it's the way that every member is gonna be able to propose proposals and the IND organization here what these parameters the support represent how how many people have to vote yes in the proposal for the for it to be approved it doesn't have to be a every week everyone that is member of the organization but only the ones that are voting for for this parameter here also we have the minimum approval this is solar parameter of the voting app that is the minimum amount of people that needs to get involved in the boat to go ahead and decided in the outcome and then these also are specific parameters of the voting londonium bolt in that because how it did and alien voting works is getting different proposals in batch and allowed for each of them to be executed in parallel in sorry every one at a time so here we are gonna do we're gonna decide here it's important that I just a correct diameter here because afterwards when we are going to use it we have a duration we have a buffer that is how much time it has how much time has to happen have to pass between each proposal and last we have the delay this is how much time we need to to get the proposal is to wait for it be executed this is a way to protect the members and being able to a ragequit from the organization when this delay I'm choosing this small number for the sake of the trial but this is more general probably you will choose more interesting numbers okay sorry for the long if I'm too long in this a please stop me here I'm gonna choose the okay here is a second operation this is a token a manager what disallow is for in the particular phase and early voting to select a to mint non traffic non-transferable token for the members and here we can choose the main together token and we can say the symbol and I cannot sign here more token holders even if you guys want to be part of the organization you can give me the your addresses and I cannot get here I'm gonna add one more stressful and we are do it okay I will try to not spend too much time in the settings because I think it's my sorry here with the time-lock is the next app that we are going to confuse this app is interesting because Allah impulse I spam prevention for the members so what this means is that if one member want to create a new proposal they have to look some amount of undersea 20 token before submitting submitting and every new proposal that these days of me have a spam penalty that we have to configure so we here we want to choose the token to look that it's gonna be dying and I gonna choose 5 die as the lock amount and as the lock duration I can choose whatever let's put a 1 hour and finally the spam penalty is the important topics here I can put 100 for example I want that what that means is that for every new proposal proposal that I submit or every members of me this log is gonna be increased by the by 100% so the second proposal I submit it's gonna be look Tendai and for 2 hours and this is gonna be a incremental if with each proposal until the proposal is executed finally we have the redemptions and this is the way that people are gonna be getting out of the organization if some disagreement or so for example if I'm not agree with a proposal I can say ok I want I don't want to be more part of this organization I gotta take my chairs and read the assets of the organization and that's it I can mean burn my token and the in exchange get the organization assets that I that I I that are part that are proportional to my amount of tokens so here i we are gonna choose the Leafs and I as the first tokens here you can choose any RC 20 a compatible token and finally yes is the token request and this is the way that people can a propose propose a and request a be members of this organization in the way that is this organization works is that anyone can submit a new membership for this organization and they can in exchange get a submit a tribute or for their new membership and here we can accept which tokens are or which are some 20s or which or even either a are available for that tributes to the issue minute then a a member needs to actually approve the submissions I'll send it to the queue of proposals to be actually approval or not okay so here we can review however organization is we have three minutes one minute one minute that's okay we come to holders five tokens for one hour we have died on it and he's like here as well and we are going to launch the organization now this is kind of okay this is okay let's confirm this and this might take a few minutes depending on the network but what I what we can do is I can show you how this a apps are going to look in the organization and here for example is how they done billion building is actually looking here we see all the boats that are open or been or where a really pass and you can see that we we can have a sense of which application is actually interacting and which is making the proposal and we can decide see also the address of the members that are doing the interaction and for example we can go into more details and see how they what they were cause and how much people bought yes how much people will know and a have a more context on them on the application then this is how the tokens up looks is more like a distribution although all the members and what's the the the proportion of the of the total supplied and even we can see here that it's organic strain for all not in the case of the organization that we are using is not trained for all okay this is a look and let me check if we have the transaction meet okay we have it we have to approve the second one and here we need to transaction because in the first one first of all the temple the old organizations are too big to being able to submit any one single transaction so we create the organization first and they'd open and then we install all the other apps into transactions so while the transaction is processed I can finish showing how the other apps looks here the look is how it looks it shows how much how many locks are actually the people the person sign have for example here you can see that this log have our an amount of 25 died and as company the spent penalty of 100 percent and that's why this person probably so to propose true proposal and have to wait two days and send in the second time a fifty dice then we have the redemption this is how it looks because other organizations as if there are redeemable and you can hear other remove these tokens and also in the redeem if you click in the redeem both good on you will see this panel that allow you to burn your token and get away with how a proportion of the asset that you want in this particular picture that I take is one only one token available that I'm it's not too many relevant but if you if you for example take Syrio point turn certify of the token you can get a proportional amount of each of the tokens that are available in the interval of the transition finally the token request is show the a list of the other requests that are currently open and you can see that some of the end could be approved and some of them are pending and here everyone is able to submit a tribute or a deposit for example here if and receive a proportion an amount of the organization and said in exchange if they are approved okay a before questions let me see if we have the realization okay this is still processing we can if you want we can do some questions while we wait yeah I think we don't have any posted yet in the discord channel so if anyone has any feel free to unmute themselves and ask away okay we get it so here we have our friendly freshly new organization and as we can see here we have in the left all the apps that are viable and we we can start interacting with them and for example see they all the tokens that we have in the organization's it's example I have 10 and I have this other address are a hard one and now we can go ahead and start using the desire to interact with compound as as as far as this case and what I got what I going what I have to do first is a deposit of you die so we can get five died here and test this action has has not any restriction so I can do it right away let's do it more quickly just in case and one thing that I would like to also this talk you about before we go deep into the rabbit hole of using compound is allowed permissions permissions are something super super powerful and the main functionality of the arrival framework is how the apps communicate between it at each other and how they and how they compose ability of these building blocks is actually happen and for example if we see here in the tokens up we have all these that are the roles that the application the token application has and we can see that these roles are assigned to other apps and also there is a manager for all the roles so in this example as we previously say the tokens app is non-transferable and what this allows is that only the only way for gay in tokens or turning them is that is that in these two laps the token request and the redemptions so this is super interesting way of having unrestricted in this case the way of how tokens are going to be created created then every role has his harem manager and is usually a good a good solution to to use the body in app as a manager because it's a more powerful application because all the members have to decide on each change and the manager usually have decided how to arrange this permission so I would tell us their permissions and I think this is a super interesting topic that I will definitely we can go much more deep but let's keep going with the example so we have the debate we have tokens just go ahead and interact with a compound using the organization and before that what I can what I have to do is they also tell you a bit about this up the elimination and this up what is it does is allowed to the orientation to behave as a externally on that account and you can use it to interact with any smart contracts available in the in the theory in Misco ecosystem pass the Dow so I remember can decide what's the action that the Dow is kind of taken the I doll can be just using any smart contract as an external on on that account so to interact with will come with compound we are gonna use this feature of the client the console and this is a yet experimental feature sorry I didn't get the work I spent a feature yet but he's super powerful to interact with these external contracts because you can also use frame that is a provider will bar an external contributors but yet there is not a provider that that embed ancient vows in the in the in the different web web 3 applications so this is something that are working and I is gonna be super in to see more absentee rate in that so here we can choose the attacked common that allow us to drag with the radiation here to which is the Asian proxy address and then we're going to need to first approve the dye contract to expand our balance so here I have the dye address and then we are gonna use the root function and we are actually these the address of the seed I of compound is more contract and then we are gonna use three are gonna choose demo here we have to put the types but here when I choose for example five there we have to put the 1800s but now that we are we have the common completed we can actually execute it and here is going to happen interesting part of the land aliens that as we are trying to create a command to approve the we need to the approve of the rest of the members and we need to look five dice for one hour to actually execute this as we can see here and we can also see that the action that is going to be executed is to execute the approved function in this contract at least a die smart contract and we are going to create a transaction now I'm going to be sure to put enough gas so we can spend too much time okay I think we forgot to confirm the deposit of the die the other one disapprove this one now and here we are actually interacting with a diamond look and here what I this is a lot but what I think is happening also is that the amount of the gas estimation is not correct because afterwards we always see much much less spending but I think it's something that needs to be improving the time lookup so here we have a few transactions pending but we can go ahead and see how for example the Asian tab is it's actually show the information this is a some fame Dao that had a lot of activity using the agent and as you can see here you can see all the different 30 20 tokens or NF teeth showing in the ancient tab and in the bottom is a for example a multiple accounts execution of a count of a contract interaction that is exchange he probably even unit swap two tokens and then here for example we can see in a boat in how that the description of the of the execution is looking and this is using something that the iron frame will also provide that is respect that is a similar pattern than not spec that allows you to describe what your methods of their smart contracts do let's see how with the transaction scopes I might need to hurry up this one's sorry for the inconvenience okay we have some of them approval okay yeah this is the one that is taking follow me okay sorry for that I'm gonna keep going forward so we can so here is the console commands if you want to try it out later this is the approved comment that I should show it interact with the Asian address of their intention they die address it called the approved method in the contract and use the CII to address to allow the amount we want and then the second command that we need to use histamine comment that he's gonna do the mean in the CIA contract so we can actually have CDI in the organization and to towerdive compound while the other dollar addresses start mint and we can keep going I want to show a second example of how to embark users using a this new way of using telegram chat BOTS and allow to have these new users so here you have the we can see in the telegram then I show here we have the arc boat and this would ask you I'm already a part of it he knows and I already the the Cumberland but I can show you the how this look like in the car Delaware and this what it allows to by the tokens income in the unit Rob market the tokens of the organization's this has asked you to sign in so you can be recognized so here as we say as we see is a unit web interface that we see that this token art is able to be by by Eve and at the time we get this nice token we can get an invitation of the boat to the telegram chat and here I can try to buy some of them one of it and see how we okay we can buy and then go to the organisation as he remembers and the way this is set up is that the the permissions of the token up is set up that to mean tokens to the new members so here after you buy one of those tokens you would get added to the Tao I think I click twice that one I mean yeah that was there I think it's really interesting to see there how this different system could start interacting with in between each other and I had some other example of the house using this kind of finish rub market to get different use cases why not that I already told you about this this something this the details are creating collectibles merchandising off and try and using a unit swap to get them for the people and then use organizations to talk to create create the interaction with a and the second example that I wanted to do if the these legs now that is also organization using unit rub to offer leg out expertise to people and they are using around for the for interaction of the of the members of the elite style so okay let's try to give it a shot to a second transaction of the Agena swap and please a if you have questions or something that I might commit or go to quickly let me know we're starting to have a few questions on the top in the discord chat we can we can do some of them now or if your if this is working we can wait till later okay yeah yeah we can go I you say discord but I I'm not sure yeah I can I can read them to you or if you like in the chat of this zoom group there's a link to our discord and then within the general channel that you'll default to in the discord you can join the meetups channel which is where we've been posting the questions okay I was not seeing the picture if you like sure let's see okay one is from Stefan the question is the organization's seem rather static like a more or less fixed governance system how could a use case for a start-up look like that is likely evolving very quickly is it possible to add Aragon from the start up or does it only apply once the business model is pretty much set in stone yeah that's different it's an interesting question I think that organisation could could start with with one model of organization and then could start evolving into using those diff building blocks in in a different way and they're also work done in something that is called I have an agreement that is something that is super promising for the use case that you want to you know like in a startup kind of situation because it's a it allows for this these rules that you say that are super right now are much more rigid to be more flexible and be more like a actual agreement that all the members should agree and then using that members that agreement you can start building on top on how you want the the organization to actually allow permissions to be configured so it for example you can say okay this agreement everyone that agree needs to put a specific some amount of collateral in the side so so to be allowed to submit proposals and make changes in their indoor realization and that agreement could be also evolving with how the organization needs are changing with time cool thanks one question for me is how much more does the average compound transaction cost when doing it on behalf of let's say a dandelion type Dow compared with if you a we're doing the same transaction I know I guess maybe as best guess is that like 110 percent more or twice as much or 10 times as much or in the case of this would be yeah I can definitely try to fill that out and be back with the answer okay sounds good yeah and one question from Joe is what's an example of a doubt that is using this framework effectively yeah yeah for example I can show you the actual creators of these that are using and also one thing this is also somehow new framework but it's also go down quite exciting in the community of before example our one interesting use case for for the for the alien organization when they are they are allowing to submit to they're creating like index found where all the members are gonna decide how you are going to handle the found in the know the members but they're going to be a council of members that decide how the forms how they different found held in the in this now are gonna be I'm gonna be mistreated and then all the members are gonna be the ones taking actions eventually when they decide it's the time but this is for example a way that there are morning new users into this fight our organization using the land alien this could be one example of an actual news game cool thanks one last question I have right now what is the trick or technique that the agent app uses to make it so that a dao appears to other contracts as a neo a if if it's simple enough to explain yeah at the smart contract level I'm I'm not fully sure if you if I have to say what's there a reason that is recognizes as I need Konerko older than the smart cacao okay no problem if there's there's someone I can follow up with after the Meetup yeah thanks yeah sure because what one of the things that one thing that I my guess is no I'm not sure this is a 100% stay away but we they way that the other one organization have this three AB start like the consistent of the organization these are also our own apps but have the specific functionalities the first one here is the kernel that is like the main is the is were the old information of the different stuff is a store and how what each had and how that every up a follow a following a specific kind of situation for example in a core application or been a proxy application or being a more advanced application like the ACL that is Travis test more permission kind of setup so then you have this field that is the second most important app that allow you that is a table where all the permissions are set and it says which which have had the permission to do to execute to which have a specific role assigned or not and how that role is its managed all in the ACL or in the permission system a story in the ATL and finally the AVM script registry is where the scripts nerium scripts art store and this helium scripts are the way that encode actions are stored for later execution so for example if we have a voting here the different the different information that is gonna happen if the vault is approved needs to be a story this AVM scripts to be able to then if the action is approve being executed so it's Direction is is from an agent up to being able to interact with our contract what I what is happening is that the specific information is in call with the with the agent address and also with a with a call script that allows to the organization to execute direction in the other contract that's my my guess on that but actually one of the solidity experts of the team can can help I will come back with a perfect thanks I think for now those are the only questions we have so maybe okay we have here they great I think some of the transaction get executed we have here they are Tao get approved let's see if we have the token now and put some two here so we okay we have our token here so we are onboard with this new organization using a unique art market and I think those kind of new ways of interacting with these different protocols is super super interesting and powerful and then our other transaction that was pending was from our okay and what happened now is that as we only have three minutes to approve this and the transaction we didn't actually approve it we might need to submit it again and what I what I can do here is if you want I continue with this and try to get a more gas or we can go and do the Irate of the setup of a nylon development environment let me I'm sure how much time what what do you think let's see right now it's in our local time 722 so in theory feeds you started about 50 minutes ago so we're probably starting to run low ish on time maybe let's wrap up in ten minutes or so if that seems doable yeah no no strong preference between those options on my end okay yeah I think I must be sure all the information that I want to show here I'm not sure also if how many days finding Nicole but we can go ahead and undo a quick show up of the set up of the environments and what I cannot show is how to set up this your environment to create these around apps and the three commands that you need to use are MPX creator-owned app this will install and create hold information down low or they all the things that you need and then you can do CD my up on NPM some and you will have a super basic up to start playing around and here I have already that set up kind of almost on and I'm gonna do on the trophy and start to show you and go through what is happening here what it done the structure of this repository that is going to be the loudest deck structure of a neuron app and you have an app folder where the react application is all the information of the react application is store you have the artifacts that is generated once you do the MPN star and you have the contracts folder where the smart contract of the application is stored and then we also have the some configuration files that you can learn in Tottori under an onion a link and in some of the links that i'm sharing and here you we are all seen you are using the builder tool inductor is super interesting and growing here I cut there are some cooperation of the network and the SOC and the specific around configuration that you don't know me too too much into it at first and here we will see that before I go into the actual app we are gonna tell you what is happening here we are starting a ganache instant with all the accounts we are compile compiling the contracts using the Builder setup it deploys all the base contracts that they are all fragrant framework needs then it also created the a proxy of the of the year contract and it build a the front-end for you and then we start a local instance of the Calvin Klein so you can start testing so this is the what we were seeing but in a local environment we can go to to the local host and see that we are and here we can we can interact with its application and create new new interactions and see and this is all hot reloading in the in the environment so you can for example change the app or change the excrete or change the contract and all this hold reload in the time and the script this is creep is something that is interesting that is a way that we build a state of the application and here you need to handle all the events of your app and then create a state for your apps to consume that and that's mostly there is of course lot of documentation about this but I wanted to showcase a bit of how the setup work and then of course ask me question or showing our chats and we will help you if you want to try it out then I want to give him the super stance that I would like to she'll this doll that is starting to form in this is a doubt that is creating local squads to come and help in the situation of the coffee a 19 and if you want to shine there is a link also in the the links to come up and help you whatever you you could and that's it this is our my contact if you want to contact personal or and these are some of the links that I think are important or how information that to go deep into some of the topics that we went through and sorry for they not been able to show the whole compound flow but but yeah hopefully you enjoy this discussion and you learned some things about the Arsenal great thank you
Automatic transcript — names and jargon may be misspelled.