<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Spencer Graham on Medium]]></title>
        <description><![CDATA[Stories by Spencer Graham on Medium]]></description>
        <link>https://medium.com/@spengrah?source=rss-c70d7a7d9ecb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NcW1YpYFO45-7gbH31Zqbw.jpeg</url>
            <title>Stories by Spencer Graham on Medium</title>
            <link>https://medium.com/@spengrah?source=rss-c70d7a7d9ecb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 19:58:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@spengrah/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introducing Smart Invoice]]></title>
            <link>https://medium.com/raid-guild/introducing-smart-invoice-211776245a0b?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/211776245a0b</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[raid-guild]]></category>
            <category><![CDATA[escrow]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[invoice]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Tue, 13 Apr 2021 21:02:14 GMT</pubDate>
            <atom:updated>2021-04-13T21:03:35.294Z</atom:updated>
            <content:encoded><![CDATA[<h4>A new way to get paid for services, built by Raid Guild</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*siQ2gD7qQE6slm6a9HCMbA.png" /></figure><p>Here at <a href="https://raidguild.org/">Raid Guild</a>, clients pay us to slay their web3 product demons. This sounds like a simple transaction — do work, get paid — but it is complicated by the fact that our projects (“raids” in our vernacular) take time to complete and our services are far from standardized commodities. These conditions create what we call the <strong>invoice dilemma: how do we ensure that we are paid for the work we do while simultaneously ensuring that our clients receive the value they’re paying for?</strong></p><p>Raid Guild could ensure we get paid by charging our clients before we start, but then the client would be taking a risk by paying before seeing any work. Or clients could ensure they get what they expect by paying us only after the raid is over, but then Raid Guild would be working on spec.</p><blockquote><strong>Invoice problem #1</strong>: how does the service provider ensure that they are paid for the work they do?</blockquote><blockquote><strong>Invoice problem #2</strong>: how does the client ensure that they are receiving the expected value they are paying for?</blockquote><p>We started tackling these problems for ourselves by doing what we do best: building. We quickly realized that others could benefit from the same tools, so we set out to make it work for freelancers and DAOs everywhere. We received grants from Aragon (more on this later) and STAKEhaus to build out our solution for DAOs and to deploy it on the xDAI network.</p><p>After much work toiling in the mines of web3, <a href="https://smartinvoice.xyz/">Smart Invoice</a> was born!</p><h3>Traditional Invoices</h3><p>Before we get into the fun part about what Smart Invoice is and does, we need to spend some time talking about traditional invoices. If you’re already familiar with what’s wrong with traditional invoices, feel free to skip to the next section; but we encourage you to read the whole thing.</p><p>Traditional invoices work like this: a service provider completes some agreed-upon work, and then bills the client by sending them an invoice. The invoice includes the amount to be paid for each element of work delivered (and sometimes expenses), instructions for how it should be paid (e.g. a mailing address, bank account routing number, etc.), and a deadline.</p><p>The period after the invoice is sent and the deadline — called “net D”, where D is the number of days — is part of the initial agreement between the client and service provider, and typically follows industry standard periods. These periods are long — invoices often come with net 10, net 30, or sometimes even net 90 payment terms!</p><p>In the traditional world, there are some legitimate reasons for such long payment terms. First, clients need time to evaluate the quality of the work that’s been delivered before agreeing to pay (invoice problem #2), and, second, many clients have long, bureaucratic approval processes. Third, in the traditional world payments can take multiple days to clear.</p><p>But these long periods end up creating a number of problems. Most obviously, service providers often have to wait a very long time to get paid, which also means that they have to trust that the client has the money to pay them (invoice problem #1). Conversely, if a client agrees to make an upfront payment (even if partial), the long processing time can greatly delay the start of the project.</p><p>These delays also have knock-on effects that impact the broader economy. Since many service providers are also clients in other capacities, if they have to wait 60 days to receive payment, they may not have enough money to pay their own service providers until even later. These delays and liquidity crunches cascade, gumming up the economic works and creating the need for epicycle-like solutions such as cash flow financing, which is highly susceptible to fraud.</p><p>There’s another problem with traditional invoices. In web3, a sizable and growing portion of economic activity is commissioned and performed by DAOs and other on-chain organizations. How are these organizations — whose administrative operations run primarily on smart contracts — supposed to send (or pay!) a traditional invoice?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MMCJGCugY9nNxDTHWvbB3Q.png" /></figure><h3>Smart Invoice</h3><p>Smart Invoice flips traditional invoices on their head with a combination of escrow, milestone payments, and arbitration — all facilitated by smart contracts. With escrow, instead of billing the client after the work is done, a service provider sends a Smart Invoice before they start work. Instead of waiting 30+ days to be 100% sure that they’ll get paid, service providers can see that clients have deposited funds into Smart Invoice’s escrow before getting started.</p><p>With milestone payments, service providers and clients have maximum flexibility to structure their project in a way that works for both of them. For example, ambitious projects can be de-risked with escalating milestones, lowering the barrier for both clients and service providers to enter into high-upside engagements. Or multi-phased milestones can be paid in conjunction with each phase. As long as both sides are happy with the arrangement — i.e. the client has deposited enough money to cover the next milestone — work and payment can continue.</p><p>With arbitration, both clients and service providers can be confident that they will get a fair outcome. If there is a dispute, funds currently in escrow are locked and the selected arbitration provider, based on the evidence provided by both parties, distributes the funds back to the parties according to their judgement.</p><p>In the traditional business world, payments are slow and escrow and arbitration services are exceedingly expensive. But with Smart Invoice — built on smart contracts — payments are nearly instant, arbitration is much cheaper, and escrow is even cheaper still. All together, Smart Invoice represents a step change in how clients pay service providers, creating better conditions for clients, service providers, and the broader economy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bz3Ywm6CDPH1NXOUkMtKaw.png" /><figcaption><em>An example Smart Invoice with 4 milestones, in progress (client view)</em></figcaption></figure><h4>Benefits for Service Providers</h4><p>Such as freelancers, contract workers, DAOs, etc.</p><ul><li>Guarantee that quality work will be paid for</li><li>Break up projects into multiple milestones and get paid after each one</li><li>Get paid fast (no waiting for mail or wire transfers)</li><li>Less admin to deal with (the app keeps track of everything)</li></ul><h4>Benefits for Clients</h4><ul><li>Guarantee that payment will only be sent if the service provider delivers</li><li>Deposit funds to cover the next milestone payment only (don’t have to lock up the entire budget at once)</li><li>Tip the service provider, if desired</li></ul><h3>Check it out!</h3><p>Smart Invoice is ready for you try right now! You can find it at <a href="https://smartinvoice.xyz/">smartinvoice.xyz</a>, and it works both on xDAI (real money!) and Rinkeby (test money).</p><p>For a detailed overview of how to use Smart Invoice, take a look at our <a href="https://docs.smartinvoice.xyz/">documentation and instructions</a>.</p><p>We’d love for you to test it out and and let us know what you think over in the Raid Guild discord’s <a href="https://discord.gg/Dr6vzZU2wt">product testing/feedback channel</a> (aka the #🍷-wine-cellar). Or if you have questions, you can ask them in our <a href="https://discord.gg/fHeJ9r4snX">product support channel</a> ⚔️.</p><p>Finally, you can find all of our code and tests in our <a href="https://github.com/raid-guild/smart-invoice">monorepo on Github</a>.</p><blockquote>While we have rigorously tested and reviewed our code, the Smart Invoice contracts have not been formally audited. Please treat this as beta software.</blockquote><h4>Where do we go from here?</h4><p>We’re excited to have people and DAOs start using Smart Invoice. We’ll keep a close eye on how they’re using it; almost certainly we’ll learn something new that we didn’t anticipate.</p><p>That said, we do have a few ideas for potential improvements:</p><ul><li>Better in-app tools to support the arbitration process</li><li>Explore private data sharing/storage between client and provider (and resolver as needed)</li><li>More arbitration providers (Kleros Court, Aragon Protocol, 1Hive’s Celeste, etc)</li><li>Streaming payments (Superfluid)</li><li>Escrowed funds earning yield in DeFi</li><li>Support for multiple networks (rollups, etc.)</li><li>Some ability to change total invoice and/or milestone amounts</li><li>Tokenized invoices</li></ul><p>Can you think of anything else?</p><h3>Appendix: That Aragon Thing</h3><p>Astute readers will notice that even though we received a grant from Aragon, Smart Invoice does not integrate any Aragon components. This was not for lack of trying! Our original goal, as outlined in our <a href="https://forum.aragon.org/t/dao-payment-escrow-with-aragon-court-arbitration/2269">grant proposal</a> to Aragon’s Conviction Funding round, was to integrate Aragon Court as a second arbitration provider alongside LexDAO.</p><p>Unfortunately, after we finished an initial implementation and were starting to test, Aragon’s support for their Court product waned and we weren’t able complete the testing necessary to finish our work. Soon after, when <a href="https://blog.aragon.one/court-to-protocol/">Aragon announced</a> Court’s (still-ongoing) transition into Aragon Protocol, we understood why. We look forward to integrating Aragon Protocol into Smart Invoice once it is live.</p><p><em>Special thanks to Bau, Taekikz, Lucas, Plor, and other Raid Guild members for their contributions to this post. And massive props to dan13ram, Jaqi, and saimano for their phenomenal buidling.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=211776245a0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/raid-guild/introducing-smart-invoice-211776245a0b">Introducing Smart Invoice</a> was originally published in <a href="https://medium.com/raid-guild">Raid Guild</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Closer Look at Self-Commitments]]></title>
            <link>https://medium.com/commitpool/a-closer-look-at-self-commitments-39586fa2c4a7?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/39586fa2c4a7</guid>
            <category><![CDATA[commitment]]></category>
            <category><![CDATA[dapps]]></category>
            <category><![CDATA[personal-goals]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 20:54:16 GMT</pubDate>
            <atom:updated>2021-03-24T20:54:16.757Z</atom:updated>
            <content:encoded><![CDATA[<h4>What are Commitments — Part 3</h4><p>During this series of posts, we’ve shared how we at CommitPool think about commitments. We’ve outlined a<a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911"> Taxonomy of Commitments</a>, which organizes commitments by their purpose and by the mechanism they use to constrain the committer’s actions. In Part 2, we examined how and when Incentive Constraints function in the context of commitments meant to persuade others. Now, we turn our focus towards commitments meant to keep the committer’s own actions in line with their preferences. We call these Self-Commitments.</p><p>Before we dive in, let’s recap our helpful characters:</p><ul><li><strong>Charlie</strong> is our committer. He seeks to constrain his own actions in order persuade Peggy to act as Charlie desires (persuasive commitment), or to ensure that he himself acts as he currently desires (self-commitment).</li><li><strong>Peggy</strong> is our second party in a persuasive commitment. She is the person Charlie seeks to persuade by constraining his own actions.</li><li><strong>Trey</strong> represents our third party. He is enlisted to enforce the incentive (e.g. penalty) on Charlie as part of an incentive constraint.</li></ul><h3>Self-Commitments: Deconstructing Charlie</h3><p>In our previous posts, we treated our committer, Charlie, as a single entity. This was a useful simplification for examining persuasive commitments that already involve multiple characters. For self-commitments, though, where there are typically no other characters, it’s an <em>over</em>-simplification.</p><p>The reality is that there are two versions of Charlie. <strong>Charlie-now</strong> is the version who exists at the time Charlie decides to take an action at some point in the future, and may (or may not) make a self-commitment to that action. <strong>Charlie-later</strong> is the version who exists at the point in time when that action is supposed to be taken, who’s choices the commitment is designed to constrain. Restating our simple example of a self-commitment illustrates the distinction:</p><p><em>Charlie-now</em> has a goal to exercise regularly, but he recognizes that when it comes time to actually do the exercise he often puts it off in favor of another activity. Making a self-commitment to exercise is how <em>Charlie-now</em> removes the discrepancy between how he wants to act and how<em> Charlie-later</em> acts.</p><p>This discrepancy between Charlie-now and Charlie-later exists for persuasive commitments as well as self-commitments, though the mechanism is different. In a persuasive commitment scenario, the discrepancy between Charlie-now’s selected actions and Charlie-later’s selected actions is primarily due to shifting circumstances. For example, circumstances may change because of Peggy’s action, or perhaps because of Charlie learning new information.</p><p>Recall that a persuasive commitment is a mechanism for Charlie to convince Peggy to take an action that she would only take on the condition that Charlie will respond a certain way. Charlie’s future response is the incentive for Peggy to do what Charlie wants. But once Peggy takes the action, then Charlie has already gotten what he wants and it is no longer necessary for him to persuade Peggy.</p><p>Without the need to persuade Peggy, there is no reason for Charlie to spend the effort to respond unless he literally cannot break his promise (physical constraint) or unless he will be penalized for breaking his promise (incentive constraint). The constraint in a persuasive commitment exists to ensure that Charlie-later acts as Charlie-now promises <em>despite the new circumstances.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nRzwQgfOPzKWOs0i" /><figcaption><em>Illustrative scenario: the Charlie Car Company needs Peggy Supplier to make some custom parts for their newest car model. The </em><strong><em>Action </em></strong><em>row describes what happens if Charlie makes a credible persuasive commitment to Peggy; the </em><strong><em>Action (comparison)</em></strong><em> row describes what could happen if he doesn’t.</em></figcaption></figure><p>In the illustrative persuasive commitment scenario depicted above, Charlie’s preferences don’t change: he always prefers to acquire parts from Peggy so he can build his cars. But <em>Peggy’s actions do change the circumstances</em> that Charlie-later faces. The parts Charlie needs only work for Charlie Cars. If Peggy makes the custom parts for Charlie, as the only buyer Charlie-later will have considerable bargaining power and can demand a lower price. Knowing this, Peggy will be hesitant to make the custom parts for Charlie unless she has a commitment from Charlie-now to buy at an agreed-upon price. The shift in circumstances is what Charlie-now’s persuasive commitment is designed to address.</p><p>In a self-commitment, on the other hand, there is no Peggy action to shift the circumstances. Instead, the primary discrepancy between Charlie-now and Charlie-later is a shift in Charlie’s <em>preferences</em> over time. Specifically, Charlie-now prefers that he take an action at a particular future point in time, but once that time arrives, Charlie-later then prefers to take a different action. Even when the circumstances are exactly the same, Charlie-later often views other actions as more attractive than the action Charlie-now originally preferred.</p><p>We’ve all felt this preference-shift in the form of procrastination. In school, when a paper is first assigned, how many of us have made plans to work on it incrementally over several weeks only to choose to spend time with friends or video games or a book each time we meant to sit down to write? And how many of us have planned to go for a run tomorrow only to end up sitting on the couch instead?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*59CAlyrNDVUdaXxr" /><figcaption><em>Illustrative scenario: Charlie makes a plan to start running regularly — beginning in a few days. The </em><strong><em>Action</em></strong><em> row describes what happens if Charlie makes a credible self-commitment to this plan; the </em><strong><em>Action (comparison)</em></strong><em> row describes how his shifting preferences might derail his plans without a self-commitment.</em></figcaption></figure><p>In the illustrative self-commitment scenario depicted above, Charlie-now wants to get in better shape, so today he makes a plan to start running consistently beginning in 3 days rather than vegging on the couch. When the fateful day arrives, his circumstances haven’t changed (e.g., both his couch and running shoes are exactly where they were 3 days earlier). However, <em>his preferences have changed</em>! As the cardio labor looms but its health benefits remain far in the future, at this point Charlie-later would prefer couch-sitting. This<a href="https://en.wikipedia.org/wiki/Hyperbolic_discounting"> preference-shift</a> is what Charlie-now’s self-commitment is designed to counteract.</p><h4>Physical vs. Incentive Constraints</h4><p>A self-commitment is designed to counteract this shift in preferences. A physical constraint makes it impossible for Charlie-later to choose Charlie-now’s non-preferred action, no matter how attractive it may be in that later moment.</p><p>This can work well for <em>preventing unwanted behaviors</em>, such as not spending money or not eating unhealthy foods. Throwing away (or not buying in the first place) unhealthy snacks can be an effective way for Charlie-now to physically prevent Charlie-later from eating them. Or freezing his credit card in ice can be an effective way for Charlie-now to physically prevent Charlie-later from making an impulse purchase (by the time the ice has melted after taking it out of the freezer, Charlie-later’s better judgement may prevail).</p><p>But, for the most part, physical constraints don’t work very well for <em>ensuring positive behaviors</em>. Charlie-now can chain himself to a treadmill, but that doesn’t mean Charlie-later will actually do the workout. Self-commitments to positive behaviors typically require incentive constraints.</p><h3>Penalties and Self-Commitments</h3><p>To create an effective commitment, incentives must be applied fairly and be strong enough to influence Charlie’s actions. In the context of a persuasive commitment, Charlie often cannot rely on himself (as a <strong>first-party enforcer</strong>) to fairly enforce a penalty on himself. In certain circumstances he can rely on Peggy (as a <strong>second-party enforcer</strong>) to apply a penalty, and in others he can enlist various versions of Trey (as a <strong>third-party enforcer</strong>).</p><p>In establishing the incentive constraint for his persuasive commitment, Charlie can select from a few different types of penalties, ranging from <strong>financial </strong>to <strong>social &amp; reputational </strong>to <strong>physical</strong> to <strong>psychological</strong>. See <a href="https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b">Part 2</a> for a rundown of these penalty type and enforcement dynamics for persuasive commitments.</p><p>What do these dynamics look like for self-commitments?</p><h4>First-party enforcement rarely works</h4><p>In a self-commitment, as in a persuasive commitment, first-party enforcement only works via psychological penalties. Charlie-now can’t trust Charlie-later to fine himself if he fails to meet the commitment. One thing Charlie-now <em>can</em> do is take advantage of Charlie-later’s expected loss of sense of self worth (or ego hit, or shame) on failing to keep a promise, by making exactly such a promise. However, this approach relies on the strength of that expected loss, which may not always be sufficiently high.</p><p>(Recall that if Charlie’s will-power were strong enough, or if he inherently enjoyed the activity on which his goals depend, then he wouldn’t need a self-commitment to help him stay on track.)</p><h4>Second-party enforcement barely exists</h4><p>Since Peggy does not exist in a self-commitment, there is no direct second party to serve as an enforcer. Unlike in a persuasive commitment, nobody else has an inherent reason to enforce a penalty on Charlie-later.</p><p>That said, while there are no direct Peggys for Charlie-later to potentially disappoint, Charlie-later may have future interactions with future Peggys in which his reputation could determine success. And to the extent that his future reputation includes Charlie-later’s actions with respect to the present commitment, the incentive to maintain a positive reputation would constrain Charlie-later’s present actions. This is in large part the mechanism people are tapping into when they publish (e.g., on social media) their personal goals.</p><p>Charlie’s friends and family are another type of indirect Peggy. While they probably don’t care about Charlie’s personal goals quite as much as Charlie himself, they do care enough that Charlie’s success or failure would impact them somewhat. But the other side of that care coin is a bias towards leniency and forgiveness, hardly effective ways to ensure that Charlie keeps his promise.</p><h4>Third-party enforcement can work, but only if set up appropriately</h4><p>Charlie can enlist a third party to enforce a penalty by granting Trey control over something valuable (e.g., money) Charlie owns, to be returned if Charlie-later succeeds in upholding the commitment or withheld as a penalty if he fails.</p><p>For this transaction to take place, Trey must meet some basic criteria:</p><ul><li>Trey must have <strong>a reason to provide this penalty-enforcement service</strong> to Charlie</li><li>Trey must be trusted to <strong>impose the penalty fairly</strong> according to the rules established by Charlie-now. Note that this includes both the process of assessing whether Charlie-later has met the commitment <em>and</em> the process of penalizing Charlie-later based on that assessment. Trey is in control of both, and so Charlie-now must trust that he will be fair on both accounts.</li><li>Trey must be expected to <strong>not run away with Charlie’s money</strong></li></ul><p>In<a href="https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b"> Part 2</a>, we outlined a variety of actors who can play the role of Trey within a persuasive commitment. Let’s see how well they meet these criteria in the context of a self-commitment.</p><p><strong>Individual person<br></strong>A friend or family member of Charlie’s potentially cares about him enough to be willing to help, and is unlikely to run away with Charlie’s money. However, just like in their second-party role, their care for Charlie may bias them toward leniency and let Charlie get away with failure without a penalty (true “tough love” is a rare thing). This might not work well.</p><p>An enemy doesn’t have much of a reason to help Charlie. An enemy would probably be too strict and over-penalize him anyways, and is liable to run away with the money immediately. This is not going to work well either.</p><p>A random person might be neutral towards Charlie, but has no reason to help and, even if he did, also has incentive to run away with his money or over-penalize Charlie to keep some for himself. Same story.</p><p><strong>Organization / Company<br></strong>An organization of which Charlie is a member looks a lot like a friend/family, and an opponent organization looks a lot like an enemy. Similarly, a disconnected organization looks a lot like a random individual. However, its status as an organization opens up a couple angles to address some of the issues.</p><p>An organization (likely a company, in this case) can create a business out of providing penalty enforcement services. Paying for these services is an excellent way for Charlie to give the business a reason to help him. Additionally, that kind of business relies on repeat customers as well as brand reputation to attract new customers and earn greater revenue in the long term, and so would be less likely to simply run away with Charlie’s money.</p><p>But there’s a problem: what happens to the penalty itself? Since a service like this is in full control both of assessing whether Charlie should be penalized and of imposing the penalty, any scheme where the penalty money flows through the company — and especially when kept as direct revenue — creates a perverse incentive for the company to over-penalize Charlie.</p><p>Any incentive to over-penalize undermines the value proposition of the penalty enforcement service. When Charlie has reason to believe that his penalty may not be enforced fairly, its influence over his behavior is weakened and his commitment will be less effective. Companies facing this problem can counteract it with customer service policies that give Charlie final say over whether a penalty was applied fairly, but that reverts the third-party enforcement back to first-party enforcement, which we know is typically not effective.</p><p><strong>Legal system<br></strong>A legal system can’t enforce anything without a second party to trigger the enforcement (e.g., by bringing a lawsuit). Even if it were technically possible to take yourself to court, Charlie-now wouldn’t trust Charlie-later to do so — for the same reason that first-party enforcement doesn’t work.</p><p><strong>Smart contracts<br></strong>As with persuasive commitments, smart contracts work well for self-commitments because, once established, they are guaranteed to follow the rules for assessment and penalty enforcement encoded within them, and can do so without relying on individuals or organizations. A smart contract can accept payment from Charlie-now and it will never steal his money nor inappropriately penalize Charlie-later.</p><h4>Tools: a different type of enforcer</h4><p>Smart contract penalty enforcers function without intervention from the types of actors typically thought of as third parties. Should, then, they be classified as third party enforcers? This is a valid question!</p><p>In fact, we claim that smart contracts are best thought of as a different category altogether: a tool. Unlike a first-, second-, or third-party enforcer, a tool does not have agency. It has neither interests of its own nor the ability to intentionally diverge from the behavior intended by those who wield it.</p><p>Specifically, smart contracts are <strong>a first-party enforcement tool</strong>. Charlie can use a smart contract himself to establish a penalty, and then relinquish control over its enforcement to the smart contract! Using such a tool, Charlie can now hold himself accountable without relying on a second or third party to keep him honest. And he can do it with stronger and more reliable incentives than his own will-power or psychology can muster.</p><h3>CommitPool: Come for the tool…</h3><p>We’re building CommitPool because we think a first-party enforcement tool is the best way to help people (including ourselves!) stick to their personal goals. Third-party enforcers for self-commitments, in the form of web2 services, sound great — and sometimes can even work quite well — but ultimately fall short because they rely on faulty incentive structures.</p><p>A third-party enforcer gets paid if you fail to meet your self-commitment, and they have control over both the assessment of whether you fail and the decision to penalize you. The mere possibility that they can cheat you means that eventually they will be mighty tempted to cheat you. They can prevent themselves from cheating — and give you more reason to trust them — by allowing you to refute their assessment and/or enforcement decision, but all that does is give Charlie-later the means to avoid penalization, and we know how untrustworthy Charlie-later is.</p><p>This is why CommitPool uses decentralized web3 technologies to assess whether you fulfilled your commitment, and smart contracts to enforce the penalty conditional on that assessment. We are extremely sensitive to the fact that CommitPool is only as a credibly neutral tool as its most centralized component. Soon, we’ll have a post up exploring the trust assumptions within the CommitPool protocol and outlining our plans for progressive decentralization.</p><h3>…Stay for the network</h3><p>Today, CommitPool is a tool. But we envision CommitPool as <a href="https://cdixon.org/2015/01/31/come-for-the-tool-stay-for-the-network">much more</a>.</p><p>“Come for the Commit, stay for the Pool.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*hTB2QJH95WrD6AH2Jov6Kg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ericd5?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Éric Deschaintre</a> on <a href="https://unsplash.com/s/photos/swimming-pool?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Much, much more on this soon. 💪 🤿</p><p><em>Thanks to Reuben Youngblom and Ken Beckers for many invigorating discussions and for reviewing several early versions of this post.</em></p><h4>The What are Commitments? series:</h4><ul><li><a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911">Part 1: A Taxonomy of Commitments</a></li><li><a href="https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b">Part 2: Penalties and Persuasive Commitments</a></li><li>Part 3: A Closer Look at Self-Commitments (this post)</li></ul><h4>About CommitPool</h4><p>CommitPool is a protocol and app for <em>holding yourself accountable</em> to your goals.</p><p>Connect with us here:</p><ul><li><a href="https://www.commitpool.com/">www.commitpool.com</a></li><li><a href="https://twitter.com/commitpool">@CommitPool</a> on twitter</li><li><a href="https://github.com/CommitPool/">CommitPool</a> on github</li><li><a href="https://discord.gg/eXNvwwJ">CommitPool discord community</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39586fa2c4a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commitpool/a-closer-look-at-self-commitments-39586fa2c4a7">A Closer Look at Self-Commitments</a> was originally published in <a href="https://medium.com/commitpool">CommitPool</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Penalties and Persuasive Commitments]]></title>
            <link>https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e749cf76c47b</guid>
            <category><![CDATA[persuasion]]></category>
            <category><![CDATA[penalty]]></category>
            <category><![CDATA[commitment]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Fri, 29 Jan 2021 23:17:59 GMT</pubDate>
            <atom:updated>2021-01-29T23:19:43.110Z</atom:updated>
            <content:encoded><![CDATA[<h4>What are Commitments — Part 2</h4><p>In Part 1 of this series, we introduced a <a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911">Taxonomy of Commitments</a>, which lays out four categories of commitments based on commitment goals and constraint types. Commitment goals reflect what the committer is trying to accomplish, while constraint types describe how the commitment constrains the committer’s behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LkT7pz1nDWwlG_1O.jpeg" /><figcaption>from <a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911">Part 1</a></figcaption></figure><p>This post focuses on persuasive commitments and incentive constraints (the bottom left quadrant above). To assist in our exploration, we’ll continue referring to our shorthand characters: Charlie, the committer, and Peggy, the person Charlie seeks to persuade. Charlie and Peggy will meet another character along the way.</p><h3>Persuasive Commitments Recap</h3><p>By making a persuasive commitment, Charlie seeks to persuade Peggy to behave in a certain way. In our example from Part 1, the Charlie Car company wants Peggy Supplier to manufacture a unique part for 10,000 of Charlie Car’s new model, but Peggy is hesitant to invest in the requisite manufacturing capacity unless Charlie is really going to pay for all those parts. So Charlie makes a commitment to buy 10,000 parts, which persuades Peggy to manufacture them.</p><p>What this example leaves unexplained is how exactly Peggy has been persuaded. What is it that has convinced Peggy that Charlie will indeed pay for the parts? Charlie’s commitment is designed to constrain his options to “pay for the parts”, but where is that constraint coming from?</p><p>As we saw in Part 1, there are two main ways that Charlie can constrain his options: physical constraints and incentive constraints. Physical constraints are not relevant to our car parts example — and indeed, they are appropriate in only a minority of situations — but an incentive constraint is a good fit. If Charlie can successfully demonstrate to Peggy that it’s in his best interest to pay for the parts, then it will be easy for Peggy to believe that he will do so.</p><p>That is the power of an incentive constraint. Even without physically restricting Charlie’s behavior, an incentive can <em>influence</em> his behavior by making a given option more (or less) attractive. Note, though, that to create a successful commitment, it is not sufficient for an incentive constraint to influence Charlie’s. It must also convince Peggy that it will do so.</p><p>For Peggy to change her behavior in response to Charlie’s incentive constraint-based commitment, she needs to believe that the incentive is both sufficiently likely to be applied and strong enough to influence Charlie’s behavior — we can describe such an incentive as “credible”. Both of these factors depend on the form the incentive takes and who is enforcing it.</p><h3>Penalty Enforcers</h3><p>For the sake of clarity and simplicity, our focus in this post will be on penalties. Similar concepts will apply to rewards.</p><p>For a penalty to be credible, its enforcer must:</p><ul><li><strong>Have the means to impose the penalty</strong>. If they don’t have the means to impose the penalty, then of course it is highly unlikely that the penalty will be applied when necessary, impacting its credibility. Enforcers who can apply the penalty with less delay, lower cost, and with less ambiguity help create a more credible penalty.</li><li><strong>Be fair</strong>. They cannot or do not have an incentive to change the rules of when the penalty will or won’t be applied (including how to measure whether Charlie’s behavior is worthy of punishment), regardless of what anybody else may want them to do. If the enforcer can be bribed or otherwise enticed into penalizing Charlie when he shouldn’t be penalized — or <em>not</em> penalizing Charlie when he <em>should</em> be — then the penalty is unlikely to influence Charlie’s behavior.</li></ul><p>There are three broad categories of penalty enforcers; Charlie himself, Peggy, or a third party. Let’s see how they fare on the above criteria.</p><h4>Charlie (first-party enforcer)</h4><p>Charlie certainly has the means to penalize himself, but a self-imposed penalty is rarely credible. In theory, he could send some money to a cause he despises, place himself under house arrest, or even break his own nose as penance. But can we really expect Charlie to punish himself fairly? He will always have an incentive to change the rules and let himself off easy.</p><p>The only way Charlie can be a credible enforcer of his own penalty is to relinquish control of the actual enforcement to more subconscious brain functions that are disconnected from his ability to let himself off easily. Charlie can achieve this by selecting a penalty that would be imposed on his own psychology that is driven more by deeper emotional forces and outside the reach of his conscious mind — such as a hit to his sense of identity, honor, or ego. As one can imagine, the threat of a true decline in one’s sense of self-worth can be quite a powerful motivator, and under the right circumstances can serve as a credible penalty from Peggy’s perspective.</p><p>However, those circumstances are rare. Most Charlies’ identities are not sufficiently susceptible to self-inflicted punishment for this to work. Not everybody is a pirate following a code or a samurai with iron-clad honor, and even those of us who like to think of ourselves as principled people have to admit that we can often be quite “flexible.” In most situations, there’s little reason for Peggy to believe that Charlie will not find some way to squirrel out of penalizing himself.</p><p>Do you think there might be another way for Charlie to relinquish control without relying on others to enforce the penalty on him? Stay tuned for our next post!</p><h4>Peggy (second-party enforcer)</h4><p>Peggy — or a group of Peggy’s — can impose a penalty on Charlie when there is a possibility of repeated interactions between Charlie and Peggy(s). If Charlie fails to fulfill his commitment in the first interaction, Peggy can penalize him by avoiding further interactions with him, and/or by broadcasting his lack of credibility so that others also avoid interacting with him. This is a reputational penalty.</p><p>Even when subsequent interactions are not expected, it’s also possible for Peggy to punish Charlie with bodily harm or blackmail of some form. Consider loan sharks, who operate outside the legal system. When borrowing cash from a loan shark Peggy, Charlie can expect to have his arm twisted (or worse) by Peggy if he doesn’t pay her back.</p><p>Note that in both repeated- and single-interaction scenarios, the extent to which Peggy will penalize Charlie fairly (i.e., not twist his arm if he pays back on time) is held in check by reputational forces on Peggy herself. Loan shark Peggy’s future clients won’t borrow from her if they can expect to have their arm twisted regardless of their repayment, and repeated-interaction Peggy’s gossip won’t be as effective next time if her friends can’t trust her story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/0*vE6Hqmr3DEyDyXjO.JPEG" /><figcaption>Second-party enforcement is reputation all the way down</figcaption></figure><h4>Trey (third-party enforcer)</h4><p>If neither Charlie nor Peggy are equipped to enforce a penalty on Charlie for failing to fulfill his commitment, then they can enlist a third party — who we’ll call Trey — serve as a penalty enforcer.</p><p>Trey can be anybody or anything, as long as he has the means to enforce the penalty and Charlie and Peggy both trust him to do so fairly. Trey could be an <strong>individual person</strong>, such as a mutual friend or somebody with a well-known reputation to uphold. Trey could be a <strong>private organization</strong> (a group of people), such as a social club both Charlie and Peggy belong to or a company specializing in arbitration.</p><p>Trey could also be a government’s <strong>legal system</strong>. A large part of what legal systems provide is a mechanism to penalize Charlies for not keeping their promises to Peggy’s. Legal systems can impose penalties (such as fines or imprisonment) on residents for not abiding by local laws and regulations. Legal systems can also act as the third-party enforcer on agreements between parties like Charlie and Peggy. By entering into a legal agreement (i.e., a contract) with Peggy, Charlie is effectively telling his government’s legal system that it should penalize him for not taking the action he promises in the contract. Legal contracts are third-party commitment devices, where the third-party enforcer is the legal system.</p><p>Our Charlie Car company example is a good illustration of a legal system acting as a third-party penalty enforcer. Charlie’s commitment to Peggy to purchase 10,000 of her parts can take the form of a legal contract that outlines the penalties Charlie must pay if he does not follow through on the purchase. In that case, Peggy can bring Charlie to court, where a judge will consider the facts and enforce the penalty.</p><p>Which leads to the final type of Trey: <strong>smart contracts </strong>(or more generally, smart contract blockchain networks like Ethereum). Whereas a legal contract ultimately relies on the interpretation and order of a judge as the means to enforce penalties defined within it, a smart contract both describes the commitment and penalty — the logic is embedded into the smart contract’s code — and acts as the means to enforce it!</p><p>Here’s how it works. The commitment logic — including the conditions under which the penalty should be imposed — is embedded into the smart contract’s code. If those conditions are met, code is triggered that executes the penalty. Once the smart contract has been deployed, it cannot be stopped nor can its rules be changed. This has the triple benefit of reducing the cost, time, and uncertainty associated with enforcing the penalty, all of which bolster its credibility, creating one of the most robust commitment devices.</p><p>Astute readers may be wondering whether smart contracts don’t actually belong in the third-party enforcer section. Could they also be categorized as a second-party, or even a first-party, enforcer? It’s a valid question, and one to which we’ll return in our next post covering self-commitments (spoiler alert: we think they are).</p><h3>Penalty Types</h3><p>As we’ve already seen, penalties can take several forms.</p><p><strong>Financial </strong>penalties, such as a loss of money. In the course of human history, these types of penalties are a relatively new development. Like money itself, financial penalties can apply to a wide range of situations and types of commitments, and they can function as the sole form of incentive constraint or complement another type of incentive. This flexibility, bolstered by their ability to be easily scaled up or down, makes them very effective incentives. The main catch is that they typically can only be credibly enforced by third parties (Trey). As we’ll see in the next post, that poses a challenge for self-commitments.</p><p><strong>Social</strong> penalties, such as a loss of reputation. By definition, social penalties can be enforced only by Peggy or Trey, but can be a powerful motivator. Humans are social creatures, and the threat of lower social standing and decreased access to subsequent interactions can be an effective constraint on Charlie’s behavior.</p><p><strong>Physical</strong> penalties, such as a loss of personal freedom (imprisonment) or bodily harm. We reference these types of penalties only for analytical completeness; CommitPool does not condone such penalties, and will never utilize (or even reference) them in our protocol or product.</p><p><strong>Psychological</strong> penalties, such as shame or a loss of ego or sense of self-worth. With the notable exception of abuse (which, like physical penalties, we do not condone), psychological penalties can only be imposed by Charlie himself. Since they are self-imposed, they can be credible penalties when they are involuntary psychological reactions, not consciously calculated responses. Which is why psychological penalties are limited to deep identity and self-perception because they are involuntary reactions. Still, their strength varies person to person, which impacts how certain Peggy can be that a given Charlie will be constrained by one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a7f8F2yg-1Me9y8I" /></figure><h3>Wrapping Up</h3><p>In this post, we reviewed the different types of penalties and penalty enforcers that can undergird a persuasive commitment. Not all penalties can be enforced by all types of enforcers, and some combinations work for more commitment scenarios than others. Financial penalties enforced by third-parties, for example, are quite common — and effective! — in modern economies, and reputational penalties enforced by Peggy’s are common everywhere, while self-enforced psychological penalties are rarely employed within persuasive commitments.</p><p>Those same patterns, however, do not hold for self-commitments. In our next post, we’ll take a closer look at those dynamics and — hint hint! — how we’re designing CommitPool to change them.</p><p><em>Thanks to Reuben Youngblom and Ken Beckers for reviewing several early versions of this post.</em></p><h4>The <em>What are Commitments? </em>series:</h4><ul><li><a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911">Part 1: A Taxonomy of Commitments</a></li><li>Part 2: Penalties and Persuasive Commitments (this post)</li><li>Part 3: Self-Commitments (upcoming)</li></ul><h4>About CommitPool</h4><p>CommitPool is a protocol and app for <em>holding yourself accountable</em> to your goals.</p><p>Connect with us here:</p><ul><li><a href="https://www.commitpool.com/">www.commitpool.com</a></li><li><a href="https://twitter.com/commitpool">@CommitPool</a> on twitter</li><li><a href="https://github.com/CommitPool/">CommitPool</a> on github</li><li><a href="https://discord.gg/eXNvwwJ">CommitPool discord community</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e749cf76c47b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b">Penalties and Persuasive Commitments</a> was originally published in <a href="https://medium.com/commitpool">CommitPool</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Taxonomy of Commitments]]></title>
            <link>https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa02fd901911</guid>
            <category><![CDATA[taxonomy]]></category>
            <category><![CDATA[commitment]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Wed, 20 Jan 2021 23:42:44 GMT</pubDate>
            <atom:updated>2021-01-29T23:20:19.957Z</atom:updated>
            <content:encoded><![CDATA[<h4>What are Commitments? — Part 1</h4><p>Here at CommitPool, we’re big fans of commitments. We believe that enabling individuals to make credible commitments to themselves will help people stick to their personal goals and become just a little bit healthier, happier, and wealthier as a result. In working to make that happen, we’ve been thinking a lot about commitments, what they are, and how they work. This post, the first in a series, is our attempt to share some of those thoughts.</p><p>Let’s get to it!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mGkhpjIEtsGT-23OUsi9-w.jpeg" /></figure><h3>What is a commitment?</h3><p>The common definition of a commitment — a device for constraining the one’s future available actions — is incomplete. To fully examine how commitments work, we also need to understand their purpose: why is the committer voluntarily restricting their own options? We contend that there are two major categories of reasons, creating two major categories of commitments.</p><p><strong>Persuasive Commitments<br></strong>For when you’re trying to get somebody to do something that they will only do on the condition that you take a particular action. Restricting your own options can persuade the other person to do what you want. There are two primary actors in a persuasive commitment. The committer, who in this post we’ll call <strong>Charlie</strong>; and the person Charlie is trying to persuade, who we’ll call <strong>Peggy</strong>.</p><p>Here’s a simple example: the Charlie Car company wants to build 10,000 cars of their new model, which uses a unique part made by Peggy Supplier. Other cars don’t use that part, so Peggy will only manufacture enough parts on the condition that Charlie buys them. So Charlie makes a commitment that he will buy 10,000 parts from Peggy, which persuades Peggy to make the parts.</p><p><strong>Self-Commitments<br></strong>For when you’re trying to ensure that your future self takes a particular action. Your current self may suspect that your future self’s priorities will change, so only by restricting your future self’s options to that action can you ensure it will be taken. Self-commitments only have one actor: <strong>Charlie</strong> the committer.</p><p>A simple example: Charlie has a goal to exercise regularly, but he recognizes that, when it comes time to actually do the exercise, he sometimes puts it off. To keep his future self from straying, he makes a commitment to himself to exercise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BUZMcQ8jxWQ-WpML65gP8Q.jpeg" /><figcaption>Love is a commitment. Photo by <a href="https://unsplash.com/@pawel_czerwinski?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Paweł Czerwiński</a> on <a href="https://unsplash.com/s/photos/lock?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>Constraints</h4><p>In addition to the commitment type/goal, commitments can have different mechanisms for constraining behavior. We contend that, again, there are two main categories of constraints.</p><p><strong>Physical Constraints<br></strong>Physical constraints are literal restrictions on action. They can be “physical” in the sense of the analog world, like removing access to unhealthy foods or locking oneself in a room. They can also be digital, such as locking funds inside a smart contract.</p><p>Everything about a physical constraint is established along with the commitment itself, before Charlie takes (or does not take) the promised action. Crucially, a physical constraint is not dependent on Charlie’s behavior, nor does it depend on anything happening following Charlie’s behavior. The only thing that affects a physical constraint’s effectiveness is it’s <em>restrictiveness</em>: how well it restricts Charlie from taking an action other than what he promised.</p><p><strong>Incentive Constraints<br></strong>Where physical restraints are <em>restrictive</em>, incentive constraints use <em>influence</em> to constrain Charlie’s behavior. They actually don’t restrict Charlie’s behavior at all; instead, they guide his choice of action by adjusting how attractive his various options are. Note that we can still call this a constraint because the relevant perspective is Peggy’s, not Charlie’s; as long as Peggy sees that Charlie’s realistic options are limited to what he’s promised, she’ll act as if Charlie will indeed take the promised action.</p><p>Incentive constraints can apply their influence in two directions. Whereas a physical constraint can only prevent Charlie from doing something other than what he’s promised, an incentive constraint can make an option either more attractive (i.e., with a reward) or less attractive (i.e., with a penalty).</p><p>This flexibility, however, comes with a trade-off. Like physical constraints, incentive constraints are established previous to Charlie’s actions. But what is established up-front is the mechanism for the reward or punishment, which is <em>implemented </em>only after Charlie takes an action (and is conditional on that action). Someone or something must execute that mechanism once Charlie takes his action. So unlike physical constraints, incentive constraints are necessarily under somebody’s control — and, as we’ll see in the next post, that introduces all sorts of challenges.</p><h3>What’s Next</h3><p>Due to their flexibility, incentive constraints are applicable to many more situations than physical constraints, but they’re also quite tricky to implement properly. The remainder of this series will focus primarily on incentive constraints. Part 2 will dig into persuasive commitments, and Part 3 will examine self-commitments in more detail.</p><p><em>Thanks to Reuben Youngblom for reviewing several early versions of this post.</em></p><h4>The What are Commitments? series:</h4><ul><li>Part 1: A Taxonomy of Commitments (this post)</li><li><a href="https://medium.com/commitpool/penalties-and-persuasive-commitments-e749cf76c47b">Part 2: Penalties and Persuasive Commitments</a></li><li>Part 3: Self-Commitments (upcoming)</li></ul><h4>About CommitPool</h4><p>CommitPool is a protocol and app for <em>holding yourself accountable</em> to your goals.</p><p>Connect with us here:</p><ul><li><a href="https://www.commitpool.com/">www.commitpool.com</a></li><li><a href="https://twitter.com/commitpool">@CommitPool</a> on twitter</li><li><a href="https://github.com/CommitPool/">CommitPool</a> on github</li><li><a href="https://discord.gg/eXNvwwJ">CommitPool discord community</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z69dv7Mer2h4tUWQIS9SIg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa02fd901911" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commitpool/a-taxonomy-of-commitments-aa02fd901911">A Taxonomy of Commitments</a> was originally published in <a href="https://medium.com/commitpool">CommitPool</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing CommitPool]]></title>
            <link>https://medium.com/commitpool/introducing-commitpool-689ec30dade?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/689ec30dade</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[commitment]]></category>
            <category><![CDATA[accountability]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Tue, 17 Nov 2020 02:12:56 GMT</pubDate>
            <atom:updated>2020-11-17T02:14:53.967Z</atom:updated>
            <content:encoded><![CDATA[<h4>A new way to hold yourself accountable and achieve your personal goals</h4><p>Humans are bad at achieving the goals we set out for ourselves. Achieving our personal goals involves putting in a lot of work before we start to see real results, and we are masters at delaying that work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzIMNjjffv2H1dxXvoWBkw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@dsmacinnes?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Danielle MacInnes</a> on <a href="https://unsplash.com/s/photos/begin?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>We procrastinate when we lack accountability. Accountability works by imposing a cost on failure to follow through. If we face a meaningful penalty for not doing what we say, we’re a lot more likely to actually do it — even when it’s hard.</p><p>In fact, a lot of modern society today relies on accountability measures to hold people to the promises and agreements they’ve made. Governments and legal systems impose concrete penalties — ranging from fines all the way to imprisonment — on people not for doing what they agreed to, and the threat of those penalties is a strong motivator to follow through. More informally, norms and other forms of social reputation keep us in check, too.</p><p>These accountability measures are powerful enough to run society, so surely they can work for mere personal goals! Unfortunately, there’s a catch: external accountability measures like monetary penalties and reputation require external actors to implement them. If you break an agreement with a business partner, it’s the business partner and their network who will lower your reputation, and it’s the legal system that will force you to pay money back the money.</p><p>But if you break a promise to yourself, who can penalize you? By and large, whether you achieve your personal goals doesn’t impact anybody but you, so there’s no external actor who is naturally motivated to enforce a penalty.</p><p>So what accountability measures do we have in our self-accountability tool bag? What costs can we impose on ourselves should we fail to follow through? For the most part, we are limited to internal psychology: our honor, our sense of self-worth, and or ego. In some cases the desire to avoid those psychological costs keeps us in line. In many cases, however, it’s not enough to overcome our <a href="https://waitbutwhy.com/2013/10/why-procrastinators-procrastinate.html">Instant Gratification Monkey</a>.</p><blockquote>Humanity’s most powerful accountability mechanisms don’t work well for holding <em>ourselves</em> accountable</blockquote><p>When it comes to doing the work to achieve our personal goals, we are on our own. Or are we? Might there be a way to enlist somebody’s help to enforce stronger accountability measures on us?</p><p>The answer is Yes, but there’s a caveat.</p><h3>A flawed market for personal commitment services</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nq_nHEwkCdAK2gIWGXkPng.jpeg" /><figcaption>Leaning on others. Photo by <a href="https://unsplash.com/@finleydesign?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Neil Thomas</a> on <a href="https://unsplash.com/s/photos/hold-ourselves?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>To get somebody else to help us with our personal goals — which do not impact them — we need to give them a reason to do so. That reason is usually money.</p><p>That money creates a market, and a handful of companies have sprung up offering paid personal commitment services. To one degree or another, however, the success of these services thus far has been stymied by the unintended consequences of those payments and centralized control.</p><blockquote>Paying a third-party personal commitment service impacts its ability to be impartial</blockquote><p>The services these companies offer typically work like this: customers establish and “commit” to a quantifiable goal (e.g., taking 5,000 steps in a week), identify a data source for their progress (e.g., Fitbit), and authorize the company to charge their credit card (e.g., for $10) if they fail to meet that short term goal. The money collected as penalties then goes to cover the company’s operational expenses.</p><p>The idea is theoretically sound. After all, a monetary penalty can be an effective accountability measure — if certain conditions are met. These conditions, however, are rather specific: there must be a strong reason for the customer to believe that they will be penalized <strong>if and only if</strong> they don’t meet their commitment. If the customer is worried they might be penalized <em>even if</em> they meet their commitment (as an enemy might do), or if they think they might <em>not</em> be penalized when they <em>don’t</em> meet their commitment (as a friend might do), then the accountability and motivation disappear.</p><p>In other words, as a customer, you have to trust the company to be neither too lenient nor too strict; to neither let you get away with being lazy nor to cheat and steal your money. And when the company unilaterally controls both determining whether you met your commitment <em>and</em> the money you staked on your commitment, that balance is extremely difficult to find.</p><p>One company has addressed this problem of trust by giving their customers final say in whether they get penalized. Before charging their credit card, they allow the customer to decide if the failure to meet their commitment was legitimate; if not, the company waives the penalty with no questions asked. That certainly wins customers’ trust, but customers effectively enforcing their own penalty creates the very conditions a third party commitment service is meant to avoid in the first place.</p><p>On the flip side, lest you think customers need not be worried about a company cheating them, consider the case of the now-defunct Pact. Pact settled for nearly $1 million after <a href="https://www.ftc.gov/news-events/press-releases/2017/09/mobile-app-settles-ftc-allegations-it-failed-deliver-promised">the FTC found</a> they were falsely marking customer commitments as failed and not paying out success rewards as promised.</p><h3>Holding ourselves accountable</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gnjyZ7l9J8HXLwkhB4rB1g.jpeg" /><figcaption>Leaning on ourselves. Photo by <a href="https://unsplash.com/@nikkiband?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Niharika Bandaru</a> on <a href="https://unsplash.com/s/photos/tree-roots?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>What, then, are people seeking help with their personal goals to do? Do they sign up for a commitment service from a company that won’t steal from them, even if the service can’t truly hold them accountable? Or do they roll the dice on a service with both the incentive and the means to steal from them?</p><p>At CommitPool, we believe there’s a better way. We believe that it’s possible for a commitment service to hold its users fully accountable to their commitments without being able to steal their money. In fact, <strong>we believe that it’s possible to build a mechanism for people to truly <em>hold</em> <em>themselves accountable</em>.</strong></p><p>That’s exactly what we’re building.</p><p>How? By replacing points of centralized control with web3 technologies and decentralized protocols, CommitPool makes it virtually impossible for users to either cheat themselves or to get cheated. For example, we replace a company charging credit cards with Ethereum smart contracts that execute logic that cannot be manipulated. and we use a decentralized oracle protocol to feed users’ activity data into the smart contracts such that neither the user nor anybody else can manipulate the data.</p><p>The initial version of CommitPool will introduce our credible commitment framework. Users (“committers”) can commit to walking, running, and biking a certain distance during a week, staking DAI (a digital US dollar) that they will lose if they don’t hit their distance goal.</p><p>In future versions, we’ll build on that basic structure to strengthen the motivational power of CommitPool commitments. In addition to a penalty for failing<em> </em>to fulfill your commitment, we’re working on a number of ways to reward you for succeeding. And beyond monetary incentives, we’re working on ways to incorporate additional accountability measures — such as social and reputational measures — to keep committers on track.</p><blockquote>CommitPool puts you back in control of your personal goals and gives you new tools to help you<strong> <em>hold yourself accountable</em></strong></blockquote><p>We’re starting small, but we’re committed to big things. We can’t wait to show you.</p><h4>Learn more about CommitPool here:</h4><p><a href="https://twitter.com/commitpool">Twitter</a><br><a href="https://discord.gg/eXNvwwJ">Discord</a><br><a href="https://commitpool.com/">Web</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z69dv7Mer2h4tUWQIS9SIg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=689ec30dade" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commitpool/introducing-commitpool-689ec30dade">Introducing CommitPool</a> was originally published in <a href="https://medium.com/commitpool">CommitPool</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[saveDAI progress update]]></title>
            <link>https://medium.com/savedai/savedai-progress-update-1ed009b22293?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ed009b22293</guid>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[makerdao]]></category>
            <category><![CDATA[savings-account]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Tue, 13 Oct 2020 16:32:22 GMT</pubDate>
            <atom:updated>2020-10-13T16:32:22.448Z</atom:updated>
            <content:encoded><![CDATA[<h4>And a special announcement! 🥳</h4><p>The saveDAI team is delighted to share that we have received a grant from the <a href="https://community-development.makerdao.com/en/funding/development-grants">Maker Foundation</a> to continue building out saveDAI! We are honored to receive this grant and excited to join the Maker community as grantees :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1wxV9fLDWQMp1IL-eSlyKw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@grantritchie?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Grant Ritchie</a> on <a href="https://unsplash.com/s/photos/grant?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>saveDAI Today</h3><p>When we originally formed our ETHDenver team all the way back in February (has it really been only 8 months?), we had a simple vision for saveDAI: create an easy way to open an insured, high-interest savings account. Our plan to bring that vision to life by wrapping cDAI and ocDAI together into a single easy-to-use token.</p><p>We still believe in that vision. Since then, however, we’ve had to adjust our approach in response to a number of developments and ecosystem changes:</p><ul><li>Interest rates have fallen, putting pressure on saveDAI’s model of paying for insurance using a portion of the interest.</li><li>The cost of insurance (the price of ocDAI) has been quite high.</li><li>The Opyn protocol experienced a hack. While the hack did not effect the ocDAI protective put options used by saveDAI — and while we remain strong advocates for the Opyn project and team — the hack was a good reminder that relying on any single input carries risk.</li><li>The introduction of COMP brought a welcome boost in cDAI interest rate (i.e., including the COMP APY) but necessitated some architectural changes to benefit from it.</li></ul><h3>saveDAI Tomorrow</h3><p>To address these challenges, we’ve made some changes to saveDAI that have expanded our scope. This is why we sought out a grant, and we are thrilled that MakerDAO agreed with us on the benefits of saveDAI to the Maker and Ethereum ecosystems!</p><p>Here is what the saveDAI project will be focusing on:</p><h4>Milestone 1: Rewards Farmer</h4><p><a href="https://github.com/save-dai/rewards-farmer">Rewards Farmer</a> is our approach to allowing saveDAI users to benefit from the additional yield from COMP and other rewards tokens by simplifying the accounting required to track rewards tokens owed to each user.</p><p>Since other protocols and apps will face the same challenge as saveDAI — especially as more and more liquidity mining and governance token distribution programs come online — we’ve also released the Rewards Farmer library <a href="https://www.npmjs.com/package/rewards-farmer">as an NPM package</a> for anyone to use.</p><p>Read more about Rewards Farmer here:</p><p><a href="https://medium.com/savedai/introducing-rewards-farmer-e962777f94ba">Introducing Rewards Farmer 🧑‍🌾 🏊</a></p><h4>Milestone 2: Self-Insured Asset Factory</h4><p>This is the big boy. We’re expanding the concept of saveDAI from a single combination of insurance and interest-bearing tokens to arbitrary combinations. Using our factory, anybody will be able to wrap together any token.</p><p>We will be using our factory primarily to expand our offering of saveDAI tokens. In addition to the original cDAI-ocDAI version, we hope to also offer an aDAI-oaDAI version and perhaps others. The only limit is on the number of DAI-based assets and the existence of tokenized insurance for each.</p><p>We will also use our factory to make easier rolling over to the next term of insurance.</p><p>We’ll be releasing more information as we make progress. In the meantime, check out a recording of our September 15th visit to the Maker Community Call:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsWndSSDGyd8%3Fstart%3D382%26feature%3Doembed%26start%3D382&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsWndSSDGyd8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsWndSSDGyd8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cb921db7a4074b69ae7999ea9530c0de/href">https://medium.com/media/cb921db7a4074b69ae7999ea9530c0de/href</a></iframe><h4>Milestone 3: Audit</h4><p>The Self-insured Asset Factory (with Rewards Farmer integrated) will undergo an audit to make the protocol as safe as possible. The audit will be conducted by Quantstamp.</p><h4>Milestone 4: Refactor front-end application</h4><p>We had a near-production-ready front end application for the original version of saveDAI, but we’ve paused development there to focus on addressing the challenges that have arisen. We’ll return to the application soon and refactor it to handle the multiple flavors of saveDAI made possible by the factory.</p><p>If you’re interested in helping test out our application, please get in touch by joining our <a href="https://discord.gg/xbtuEUv">discord server</a>.</p><h4>Milestone 5: Launch! 🚀</h4><p>Plans are not yet concrete, but we will very likely be conducting a phased launch to further reduce risk.</p><p>If you’re interested in joining an alpha or beta program, please get in touch by joining our <a href="https://discord.gg/xbtuEUv">discord server</a>.</p><p>Thank you so much to the Maker Foundation and community! A big thank you as well to everyone who has contributed to our Gitcoin Grant over the past few rounds. Your generosity means a ton to us. 🙏</p><h4>More about saveDAI</h4><ul><li><a href="https://github.com/save-dai/savedai-contract-v1">saveDAI contract repo</a></li><li><a href="https://github.com/save-dai/rewards-farmer">Rewards Farmer repo</a></li><li><a href="https://docs.savedai.xyz/">docs.saveDAI.xyz</a></li><li>saveDAI <a href="https://discord.gg/xbtuEUv">discord server</a></li><li>saveDAI on <a href="https://twitter.com/save_dai">twitter</a></li><li>saveDAI <a href="https://gitcoin.co/grants/462/savedai">Gitcoin Grant page</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ed009b22293" width="1" height="1" alt=""><hr><p><a href="https://medium.com/savedai/savedai-progress-update-1ed009b22293">saveDAI progress update</a> was originally published in <a href="https://medium.com/savedai">saveDAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing Rewards Farmer ‍ ]]></title>
            <link>https://medium.com/savedai/introducing-rewards-farmer-e962777f94ba?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e962777f94ba</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[savings-account]]></category>
            <category><![CDATA[solidity]]></category>
            <category><![CDATA[money-legos]]></category>
            <category><![CDATA[farming]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Tue, 22 Sep 2020 14:10:34 GMT</pubDate>
            <atom:updated>2020-09-22T14:38:43.791Z</atom:updated>
            <content:encoded><![CDATA[<h4>Facilitating rewards token distributions from pooled liquidity</h4><h4>saveDAI and COMP</h4><p>Here at saveDAI, we’re building a way for people to hold an insured, interest-bearing tokenized dollar. We do that by wrapping together cDAI — interest-bearing DAI from Compound — with ocDAI — insurance on the value of cDAI from the Opyn protocol.</p><p>So far, so good. saveDAI holders get some interest and protection against smart contract, governance, and other financial risks. And now, that interest rate is even higher thanks to Compound distributing COMP to their users.</p><p>There’s only one problem: how do saveDAI users actually get their COMP? This is an issue because saveDAI users only hold saveDAI, which is a tokenized claim on a portion of the cDAI and ocDAI in the saveDAI contract. It’s the saveDAI contract which actually receives the COMP distribution!</p><h3></h3><p>So we need to talk about COMP. How do you think saveDAI should handle COMP?(COMP is the @compoundfinance governance token distributed to Compound borrowers and lenders proportional to interest paid or earned)</p><p>So now, in addition to cDAI and ocDAI, the the saveDAI contracts holds COMP as well — a total of three tokens. By design, 1 saveDAI token is a claim on 1 cDAI and 1 ocDAI token. How much COMP should 1 saveDAI token get? The answer to this question is surprisingly difficult to find. <strong>Since the distribution rate of COMP per cDAI token changes with every deposit and withdrawal into Compound, there’s no way of figuring that out without some gas-intensive accounting or sacrificing accuracy.</strong></p><h4>This is a a general problem</h4><p>It turns out that this problem is not unique to saveDAI. Any protocol that’s pooling assets that generate rewards tokens will run into the same issue of distributing the rewards tokens to the pool participants. For our purposes, any token distributed as an incentive for liquidity mining is a rewards token — e.g., COMP, BAL, UMA, and many more.</p><p>Assets that earn rewards tokens are tokenized claims on underlying assets locked or staked in the protocols distributing the rewards token— e.g., cDAI, Balancer pool tokens, Uniswap pool tokens, CRV, etc.</p><p>Critically, the distribution rate of rewards tokens a user can expect to receive is not fully dependent on how much of rewards-earning assets that user holds—rather, the distribution rate depends on other factors like how many other users are earning rewards and how many rewards tokens protocol governance has assigned to that particular pool.</p><p>As a result, the amount of rewards tokens (e.g., COMP) a single rewards-earning token (e.g., cDAI) can expect to earn fluctuates significantly over time. Any contract that accepts cDAI or other rewards-earning assets as deposits will therefore be challenged to figure out how to pass on the rewards tokens it accrues to its users.</p><p><a href="https://github.com/save-dai/rewards-farmer">Rewards Farmer</a> is here to help.</p><h4>The solution</h4><p>The main problem is that it is difficult to track how many rewards tokens each individual member of a pool deserves. Our solution separates the pool into vaults and gives each member of the pool their own vault (called “Farmers”). Since rewards tokens accrue to each member’s farmer instead of the pool, there’s no need to keep track of individual balances!</p><p>Our solution to this problem takes advantage of the Proxy Factory architecture. We’ve built a factory, FarmerFactory, which deploys a Proxy contract, Farmer, on behalf of a user. The Farmer proxy contract holds the rewards-earning asset and is where those rewards accrue. This way, we don’t need to worry about keeping track of user balances and the rewards token they have accrued.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JNAkdqv3ONUyLhapqel5A.png" /><figcaption>Rewards Farmer architecture</figcaption></figure><p>Under the hood, the Farmer contract is very simple. Every time a Farmer proxy is deployed for a given user, the FarmerFactory maps the user’s address to the address of their deployed Farmer proxy. That’s it.</p><pre>contract FarmerFactory is ProxyFactory {</pre><pre>  /// Maps user address to the address of deployed farmer proxy.<br>  mapping (address =&gt; address) public farmerProxy;</pre><pre>  /// Logic contract&#39;s address<br>  address public logicContract;</pre><pre>  /// <a href="http://twitter.com/dev">@dev</a> Constructor that stores the address of the logicContract.<br>  /// <a href="http://twitter.com/param">@param</a> _logicContract The address of the logic contract.<br>  constructor(address _logicContract) <br>    public <br>    {<br>      logicContract = _logicContract;<br>    }</pre><pre>  /// @dev Creates new farmer proxy contract on behalf of the user.<br>  function deployProxy(<br>    address owner,<br>    address assetToken,<br>    address underlyingToken,<br>    address rewardsToken)<br>    public<br>    virtual<br>    returns (address proxy)<br>    {<br>      bytes memory data = _encodeData(<br>        owner,<br>        assetToken,<br>        underlyingToken,<br>        rewardsToken);</pre><pre>      proxy = deployMinimal(logicContract, data);<br>      farmerProxy[owner] = proxy;<br>      return proxy;<br>   }<br> }</pre><p><a href="https://github.com/save-dai/rewards-farmer/blob/246bb39a7f0af780e202d3da59a79777fb191fc0/contracts/FarmerFactory.sol#L10"><em>FarmerFactory code snippet on Github .</em></a></p><p>The Farmer proxy contract can be customized to do whatever is needed for your specific use case. For example, if you need to farm COMP, the proxy contract would deposit into Compound and receive cTokens. If farming BAL, the proxy contract would deposit tokens into Balancer pools and receive pool tokens. All you need to do is inherit from the Farmer contract and add your logic.</p><p>Let us explain further with an example.</p><h4>Example: saveDAI</h4><p>Whenever a user mints saveDAI tokens, the original saveDAI contract deposits mints cDAI and buys ocDAI. Now, with Rewards Farmer integrated into the saveDAI contract, whenever a new user mints saveDAI, a Farmer proxy contract is deployed for that user and the cDAI is minted and stored in the proxy contract.</p><pre>function mint(uint256 _amount)<br>        external<br>        override<br>        whenNotPaused<br>        returns (bool)<br>    {<br>      address proxy;</pre><pre>      // if msg.sender does not have a proxy, deploy proxy<br>      if (farmerProxy[msg.sender] == address(0)) {<br>        proxy = deployProxy(<br>          msg.sender,<br>          address(cDai),<br>          address(dai),<br>          compToken);<br>      } else {<br>         proxy = farmerProxy[msg.sender];<br>      }</pre><pre>      // calculate DAI needed to mint _amount of cDAI &amp; tokens<br>      uint256 assetCost = _getCostofAsset(_amount);</pre><pre>      // calculate DAI needed to buy _amount of ocDAI tokens<br>      uint256 oTokenCost = getCostOfOToken(_amount);</pre><pre>      // transfer total DAI needed<br>      require(<br>        dai.transferFrom(<br>            msg.sender,<br>            address(this),<br>            (assetCost.add(oTokenCost))<br>        )<br>      );</pre><pre>      // mint the insurance token<br>      uint256 oTokenAmount = _uniswapBuyOCDai(oTokenCost);</pre><pre>      // transfer DAI to the user&#39;s SaveTokenFarmer to mint cDAI<br>      require(dai.transfer(proxy, assetCost));</pre><pre>      // mint the interest bearing token<br>      uint256 assetAmount = ISaveTokenFarmer(proxy).mint();</pre><pre>      require(assetAmount == _amount, &quot;cDAI must equal _amount&quot;);</pre><pre>      require(oTokenAmount == _amount,&quot;oTokens must equal _amount&quot;);</pre><pre>      super._mint(msg.sender, _amount);</pre><pre>      emit Mint(_amount, msg.sender);</pre><pre>      return true;<br>}</pre><p><a href="https://github.com/save-dai/savedai-contract-v1/blob/809c1391e7ff27891c720a47982b4a55ec0ab936/contracts/SaveDAI.sol#L87"><em>saveDAI’s mint function using Rewards Farmer on Github</em></a></p><p>The user’s address is mapped to the Farmer proxy, and the Farmer proxy owns the cDAI and accrues all the user’s COMP. We don’t have to track individual user COMP balances or worry about anything fancy to distribute the right amount of COMP to users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*q9VykWw2SVlPH7j2_ngGsw.png" /><figcaption>Rewards Farmer in saveDAI</figcaption></figure><p>There are a couple other important scenarios:</p><ul><li><strong>Minting additional saveDAI</strong>: the user deposits additional DAI into the saveDAI contract, which forwards (most of) the DAI to the users’ Farmer proxy, where it gets deposited into Compound to mint additional cDAI. contract mints additional cDAI and accrues more COMP.</li><li><strong>Transferring saveDAI to another address</strong>: a Farmer proxy would be deployed for the second user (if they do not already have one), and the portion of cDAI being sent would be sent from the first user’s proxy contract to the second user’s proxy contract.</li></ul><p><strong>Interested in learning more about Rewards Farmer and saveDAI? Join our </strong><a href="https://discord.gg/B7UQZjA"><strong>community on Discord</strong></a><strong>!</strong></p><p><em>Thanks to </em><a href="https://medium.com/u/3c9135e14c7d"><em>Kseniya Lifanova</em></a><em> and </em><a href="https://medium.com/u/b393345496a9"><em>Doug Crescenzi</em></a><em> for their input and collaboration on this article.</em></p><p>More links…</p><ul><li><a href="https://github.com/save-dai/savedai-contract-v1">saveDAI contract repo</a></li><li><a href="https://github.com/save-dai/rewards-farmer">Rewards Farmer repo</a></li><li><a href="https://docs.savedai.xyz/">docs.saveDAI.xyz</a></li><li>saveDAI on <a href="https://twitter.com/save_dai">twitter</a></li><li>saveDAI <a href="https://gitcoin.co/grants/462/savedai">Gitcoin Grant page</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e962777f94ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/savedai/introducing-rewards-farmer-e962777f94ba">Introducing Rewards Farmer 🧑‍🌾 🏊</a> was originally published in <a href="https://medium.com/savedai">saveDAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[saveDAI: More secure savings via a simpler saver experience]]></title>
            <link>https://medium.com/savedai/savedai-more-secure-savings-via-a-simpler-saver-experience-3fb4274ecf68?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fb4274ecf68</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[compound-interest]]></category>
            <category><![CDATA[savings-account]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[deposit-insurance]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Mon, 06 Apr 2020 18:05:47 GMT</pubDate>
            <atom:updated>2020-04-06T18:05:47.437Z</atom:updated>
            <content:encoded><![CDATA[<h4>saveDAI’s objectives, design decisions, and how we’re addressing key trade-offs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*K32FG4_56PWa8Wi50Xgbdw.png" /></figure><p>The driving force behind saveDAI is the belief that we can help more savers protect their savings by making deposit insurance dead simple. To follow through on that belief, we are adhering to two principles:</p><ul><li><strong>saveDAI Principle I: More secure savings</strong></li><li><strong>saveDAI Principle II: Simple saver experience</strong></li></ul><p>While these two principles are often aligned — that’s the whole point of saveDAI, after all — occasionally they are at odds. And when they are, we need to make careful decisions about how saveDAI handles those situations.</p><p>In our first post — <a href="http://Introducing saveDAI (coming soon)">an introduction to saveDAI</a> — we outlined why we’re building saveDAI and what savers can expect once it’s available.</p><p>This post goes into further detail about what exactly we’re looking to accomplish, the trade-offs inherent in those goals, and how we’re addressing them.</p><h3>I: More Secure Savings</h3><p>Security is saveDAI’s priority. If it can’t increase the security of DeFi savings accounts over the status quo, then it shouldn’t exist.</p><p>We define saver security as the likelihood that savers will keep the value of their savings over a given period. Savings security can be compromised by the loss of tokens themselves (e.g., from a bug or hack on the smart contracts) or by a decrease in the value of the tokens (e.g., from adverse financial circumstances or protocol governance failures).</p><p>Distinguishing between these two types of risks is useful because it allows us to trade them off against each other. For example, it may be the case that accepting a slightly increased risk of stuck tokens can significantly diminish the risk of token devaluation, netting out to less risk and better security overall.</p><p>And that is exactly what saveDAI seeks to do: create a new smart contract to wrap a savings account and protect it against devaluation risks. A new smart contract inevitably adds some risk of stuck or lost tokens, but boosts overall saver security by reducing token devaluation risk.</p><p>How our smart contract accomplishes that brings us to principle II.</p><h3><strong>II: Simpler Saver Experience</strong></h3><p>The saveDAI smart contract boosts overall saver security by adding deposit insurance automatically for savers. Just as the best line of code is the one you don’t need to write, the best user experience is the one you don’t force your users to have. We believe that removing the extra step will bring more savers into DeFi and secure more of their savings.</p><p>Reducing friction is one way to improve the DeFi saver experience, and we’re not stopping there. Since most savers are familiar with traditional savings accounts, we aim to emulate their good parts as much as possible. Here are the primary ways saveDAI does that:</p><h4>DAI, DAI, DAI</h4><p>Opening a traditional savings account only requires one currency. For saveDAI, savers will only need to use DAI (with the possible exception of ETH).</p><p>When a saver opens a DeFi savings account with saveDAI, our smart contract will go get cDAI (the interest-generating component) and ocDAI (the insurance component). Since the latter can only be bought on uniswap, it would be easiest and cheapest for our contract to ask the saver to provide ETH for the swap.</p><p>However, sticking with our DAI-only approach means that instead our contract uses some of the saver’s DAI to make a tokenToTokenSwap for ocDAI. As you’ll see in the next section, this choice influences how we handle the initial saver deposit.</p><p>We’re also exploring ways to allow savers to avoid paying gas with ETH — initially this will be possible for savers using an <a href="https://medium.com/u/63ea5a2e7844">Authereum</a> wallet. And ultimately, we want to make it possible for crypto newbies to go directly from fiat to saveDAI.</p><h4>Savers deposit; they don’t purchase or swap</h4><p>Most of DeFi is oriented around tokens. We love tokens — saveDAI benefits from tokens’ transferability and <a href="https://twitter.com/spengrah/status/1225518227855413248">flexibility as both programming interfaces and user interfaces</a> — but the standard acquisition patterns of purchasing or swapping tokens is misaligned with the concept of opening a savings account.</p><p>Savings accounts take deposits, and so does saveDAI. Behind the scenes savers are technically purchasing saveDAI tokens with their DAI tokens, but saveDAI abstracts that away. Instead, saveDAI asks savers to simply decide how much DAI they want to deposit, and then saveDAI estimates how much saveDAI to mint and transfer to the saver.</p><p>Why an estimate? Because we’re using part of the saver’s DAI “deposit” to purchase ocDAI on unsiwap and the ocDAI price changes with market forces, which leaves a variable amount of DAI remaining to exchange for cDAI.</p><p>Even knowing the current price of ocDAI, making such an estimate is a non-trivial budget-optimization problem and would be expensive to execute on-chain — not to mention introduce significant attack surface area. saveDAI therefore handles it off-chain. The front-end estimates the number of saveDAI tokens to create with the saver’s DAI deposit, and then calls the smart contract’s mint function with that value as the sole parameter.</p><h4>Transparency</h4><p>The Opyn protocol — from which saveDAI draws deposit insurance — is fantastic; it allows savers to permissionlessly purchase deposit insurance on their savings in the form of put options on their cDAI tokens. Because of its option-oriented structure, however, insurance from Opyn introduces some oddities for savings accounts that saveDAI needs to handle.</p><p><strong>Insurance Expiration<br></strong>Most importantly, Opyn insurance options have an expiration date. The current available version of ocDAI expires on February 10, 2021; after that date, savers won’t be able to make a claim (redeem ocDAI for ETH). Of course, a new term of ocDAI will then be available to cover savings until 2022, but saveDAI savers will need a way to transition to the new version.</p><p>It turns out the the best option is actually to not have our current contract handle the transition directly. Instead, saveDAI provides a way (removeInsurance) to unbundle the insurance and the interest-generating portions, allowing savers to recombine with the new term of ocDAI insurance. We’ll publish a second saveDAI contract to enable the transition to the new term of ocDAI and mint a new version of saveDAI (i.e., ‘saveDAI20220210’).</p><p>This is one scenario where the saver experience and security are at odds. Under our approach, savers will have to take action to renew their insurance once it expires. Enabling a transition to the new ocDAI within the same saveDAI contract would have been a smoother saver experience, but it also would have added reduced security via a larger attack surface and required an admin to manage the contract — hardly a decentralized solution.</p><p>Instead, the saveDAI UI makes insurance terms clear and shows savers a countdown to when they will need to renew. As that date approaches, the saveDAI will allow savers to transition to the new version manually.</p><p><strong>Multiple versions of ocDAI<br></strong>In addition to new insurance terms, we anticipate a proliferation of Opyn option versions with varying costs and insurance coverage to meet a wider distribution of preferences. As an example, more risk-tolerant savers may prefer coverage of only 50% of their principal for half the price.</p><p>saveDAI will handle these scenarios in the same way it handles insurance terms. On the smart contract side, it will enable graceful unwinding of the current version and re-bundling into new tokens (e.g., ‘saveDAI20220210–50%’). And the saveDAI front end will allow savers to select their desired insurance version from the available options, as well as to convert from one to the other.</p><p><strong>Up-front insurance premium<br></strong>Because cDAI generates interest continuously, the ideal insurance for saveDAI would be paid for continuously, too. In that scenario, at any given point in time the insured interest rate would be</p><pre>insured_interest_rate = raw_interest_rate - insurance_premium</pre><p>where insurance_premium = cost_of_insurance / principal. For example, with a raw interest rate of 8% and a premium of 2%, the insured interest rate — the rate at which the principal is increasing — would be 6%. Simple.</p><p>However, this is not how Opyn insurance works today. Instead, ocDAI must be bought fully up-front, which creates a more complex relationship between interest income and insurance payments. Over the full term of the insurance, the insured interest rate works out to the same arithmetic as above, but over any other period the story is different.</p><p>Once the ocDAI is purchased, the insured_interest_rate is actually the same as the raw_interest_rate — in our example, 8%. But because the principal was reduced by insurance_premium = 2% to start with, that interest rate is applied on a smaller base.</p><p>Crucially, for saveDAI, this means that when a saver looks at the value of their saveDAI tokens immediately after they make a deposit, it will look like they’ve lost money! This violates the premise of a savings account, but unfortunately — until, perhaps Opyn develops perpetual options — there is no way around it.</p><p>saveDAI prevents confusion by showing savers exactly what will happen to their deposit and how that will progress over the length of the insurance term. Most importantly, saveDAI shows savers a projected break-even date — the point at which accrued interest will have brought their saveDAI value equal to the value of their original deposit.</p><p>A saveDAI deposit with our example interest rate and premium would break even around day 93. Of course, since the cDAI interest rate can change, this is always an estimate, but it will help explain to savers what is happening with their saveDAI. And, the saveDAI UI will update to show the current estimate based on the current cDAI raw interest rate.</p><h3>Wrapping Up</h3><p>This post explored how saveDAI secures savings by creating a simpler saver experience. We also previewed how saveDAI handles some of the rough edges of insured DeFi savings accounts.</p><p>Stay tuned for an upcoming technical post looking at the saveDAI smart contract.</p><h3>Get Involved</h3><ul><li>See our previous post <a href="https://medium.com/savedai/coming-soon-savedai-98c5cb046e98">introducing saveDAI</a></li><li>Visit the <a href="http://savedai.xyz/">saveDAI website</a></li><li>Follow <a href="https://twitter.com/save_dai">saveDAI on Twitter</a></li><li>Contribute to <a href="https://gitcoin.co/grants/462/savedai">saveDAI in Gitcoin Grants Round 5</a>!</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fb4274ecf68" width="1" height="1" alt=""><hr><p><a href="https://medium.com/savedai/savedai-more-secure-savings-via-a-simpler-saver-experience-3fb4274ecf68">saveDAI: More secure savings via a simpler saver experience</a> was originally published in <a href="https://medium.com/savedai">saveDAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing saveDAI (coming soon)]]></title>
            <link>https://medium.com/savedai/coming-soon-savedai-98c5cb046e98?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/98c5cb046e98</guid>
            <category><![CDATA[savings-account]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[deposit-insurance]]></category>
            <category><![CDATA[dai]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Fri, 20 Mar 2020 18:11:00 GMT</pubDate>
            <atom:updated>2020-03-20T18:18:16.787Z</atom:updated>
            <content:encoded><![CDATA[<h4>The easy way to open an insured, high-interest savings account</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*K32FG4_56PWa8Wi50Xgbdw.png" /></figure><p>DeFi savings accounts are a revelation. Open an account and deposit your money in seconds. No banks or KYC. Take your savings anywhere. High interest rates.</p><p>Amazing!</p><p>There’s just one problem: they’re risky! DeFi is a nascent ecosystem that relies on untested technological and financial protocols. We don’t yet fully understand all the risks and dynamics at play.</p><p>Savings accounts aren’t for taking risks; they’re for keeping your money safe while maintaining its value against inflation — and maybe adding a little more on top. All the awesome DeFi features are worthless if you lose your entire savings because of a smart contract bug or unexpected financial event.</p><h3>Adding insurance is a good start, but it’s not enough</h3><p>Traditional banks have risks too. Because they lend out most of the money deposited in checking and savings accounts, a run on the banks would result in many savers not getting all their money back. To protect against this possibility, national governments <a href="https://en.wikipedia.org/wiki/Deposit_insurance#Overview_by_country">typically provide</a> deposit insurance up to a certain amount — in the US, for example, FDIC insurance covers up to $250k.</p><p>Here in DeFi land, the only way to protect yourself from risks thus far has been to purchase smart contract coverage from <a href="https://nexusmutual.io/">Nexus Mutual</a>. Nexus Mutual does a good job insuring against hacks and protocol bugs, but it doesn’t cover other risks like governance or financial issues. And, while Nexus Mutual does cover many smart contract protocols, any single Nexus Mutual plan offers protection on just a single protocol.</p><p>That means, for example, that if you have DAI savings deposited in Compound (i.e., you own cDAI tokens), you’d need Nexus Mutual contract coverage on <em>both</em> the MakerDAO and Compound protocols to protect your deposit. ANd that still would only cover hacks and protocol bugs; not issues like the <a href="https://defipulse.com/blog/defi-status-report-black-thursday/">recent financial events</a> that nearly compromised MakerDAO.</p><h4>DeFi deposit insurance from Opyn gets us closer</h4><p>The advantage of deposit insurance is that if something bad happens — whatever the cause — the value of your savings is protected. Thankfully, DeFi now has deposit insurance in the form of <a href="https://medium.com/u/29ed85ed5e1f">opyn</a> protocol’s oTokens.</p><p>If you have savings deposited into <a href="https://compound.finance/">Compound</a> (i.e., you have cDAI or cUSDC tokens), you can now cover the principal by purchasing insurance oTokens (ocDAI or ocUSDC). If something happens to the value of your savings deposit, you can redeem your oTokens and get back ETH equivalent to just less than the original value of your deposit.¹</p><p>For example, in the cDAI example from above, if you’d bought ocDAI tokens instead of Nexus Mutual contract coverage, your principal would have been fully protected had MakerDAO been forced into an emergency shutdown.</p><blockquote>Insurance must be <strong>built into</strong> DeFi savings accounts</blockquote><p>The one downside of Opyn insurance is that purchasing oTokens is an extra step. This added friction to opening a DeFi savings account will leave some savers vulnerable to significant risks, prevent some would-be DeFi savers from opening accounts in the first place, or both. <strong>Here at saveDAI, we believe that for DeFi savings accounts to succeed— indeed, for most of DeFi to succeed — adequate insurance needs to be built in.</strong></p><h3>saveDAI brings built-in insurance to DeFi savings accounts</h3><p>saveDAI combines interest-generating tokens from Compound together with the insurance tokens from Opyn to create a DeFi savings account with built-in insurance.</p><p>With saveDAI, opening an insured savings account with DAI takes just one step: deposit your DAI into saveDAI. That’s it!</p><p>If you don’t yet have DAI, we’re working to make it as easy as possible to deposit into saveDAI using <a href="https://medium.com/u/63ea5a2e7844">Authereum</a> and <a href="https://medium.com/u/eaf6087c3e95">Wyre</a>. Our goal is to remove as much friction as possible so that anybody can open an insured DeFi savings account in just a few clicks.</p><h4>What can I do with saveDAI?</h4><p><em>This section explains how saveDAI works and what you can do with it at a high level. For those interested in more detail, keep an eye out for a follow-up post on how saveDAI works under the hood.</em></p><p>When saveDAI launches, you’ll be able to open a savings account by depositing into saveDAI. Once you’ve done that, what can you do?</p><p>First, saveDAI is an ERC20 token. This means that you can transfer it to any Ethereum account, or even sell it! We anticipate most people will take advantage of this feature to move their saveDAI between wallets.</p><p>Second, if something happens to the value of the interest-generating portion of your saveDAI, you can redeem the insurance portion for ETH worth the equivalent of just less than the value of what you originally deposited.¹</p><p>Third, you can remove the insurance. Choosing to remove insurance will destroy your saveDAI and send you the component parts to do with as you please. You may want to do this if…</p><ul><li>the insurance is about to expire and you want to renew (more information on this coming soon)</li><li>you’re able to sell the insurance for more than its worth to you</li><li>you want to withdraw some of your savings to spend or invest elsewhere</li></ul><p>And remember, because saveDAI is an ERC20 token, you can take any of these actions on any fraction of your saveDAI.</p><h4>What’s next?</h4><p>When we announced saveDAI on Twitter a couple weeks ago, we were blown away by the response. A lot of people are excited about saveDAI, and that just makes us more committed to our goal of creating self-insured savings accounts.</p><h3>saveDAI on Twitter</h3><p>Introducing: saveDAI ☂ 📈 💵 The easiest way to open an insured high-interest savings account - possibly ever in the history of the universe 🤓 @save_dai is coming soon to a phone or computer near you! What is saveDAI, and how does it work? A thread:</p><p>So, what’s next?</p><p>We‘re hard at work building saveDAI.</p><p>We’re committed both to creating a smooth user experience and to ensuring the security of your savings. In some cases these goals directly support each other — such as built-in insurance — but in other cases they may be at odds. We are thinking carefully through the design decisions that best navigate those trade-offs.</p><p>Shortly, we’ll post an article with more detail on how saveDAI works under the hood and explain some of the decisions that led to that design.</p><p>Once it’s ready, we’ll open-source our smart contract code so the community can review it and provided feedback.</p><p>And finally, we’ll release our application for people to use — we can’t wait for this part!</p><h4>How can I follow saveDAI’s progress?</h4><p>Opening a saveDAI account will not require any sign-up whatsoever. In that same spirit, we are not collecting your email addresses. Instead of a newsletter, you can keep tabs on our progress by subscribing to this blog, following us <a href="https://twitter.com/save_dai">on Twitter</a> and <a href="https://github.com/save-dai/">on Github</a>, or checking out <a href="http://savedai.xyz/">savedai.xyz</a>.</p><p>Please get in touch if you have questions — we can’t wait to hear from you!</p><h4>Notes</h4><ol><li>The amount covered by Opyn insurance is the principal (e.g., how much DAI you deposited into Compound) minus a little bit, known as the “<a href="https://opyn.gitbook.io/opyn/faq">max loss</a>”.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98c5cb046e98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/savedai/coming-soon-savedai-98c5cb046e98">Introducing saveDAI (coming soon)</a> was originally published in <a href="https://medium.com/savedai">saveDAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chicago Ethereum Meetup’s Experiment in Quadratic Funding]]></title>
            <link>https://medium.com/chicago-ethereum-meetup/chicago-ethereum-meetups-experiment-in-quadratic-funding-2fb8c7174795?source=rss-c70d7a7d9ecb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fb8c7174795</guid>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[quadratic-funding]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[liberal-radicalism]]></category>
            <category><![CDATA[chicago]]></category>
            <dc:creator><![CDATA[Spencer Graham]]></dc:creator>
            <pubDate>Tue, 17 Mar 2020 16:36:31 GMT</pubDate>
            <atom:updated>2020-03-17T16:41:41.794Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://medium.com/u/c70d7a7d9ecb"><em>Spencer Graham</em></a><em> and </em><a href="https://medium.com/u/46b7271ef3f8"><em>Paul Cowgill</em></a></p><p>The <a href="https://www.meetup.com/chicago-ethereum-meetup/">Chicago Ethereum Meetup</a> is a local community that has been meeting roughly once per month since 2015. Typically, our meetups consist of a speaker or two across a mix of mostly technical Ethereum-related topics. This year, we wanted to vary the format to include more experiments and hands-on activities.</p><p>To help make these experiments a reality we asked the Ethereum Foundation for a grant, and they were generous enough to provide us with $1000!</p><p>We included a few ideas in our grant proposal, but we quickly realized that we should give the Chicago Ethereum community a voice in choosing the experiments we would run. Having just heard the Gitcoin team speak at our <a href="https://www.meetup.com/Chicago-Ethereum-Meetup/events/266729418/">December meetup</a>, we were inspired to run our own small version of a Quadratic Funding / CLR round, which would double as our first experiment.</p><h3>The QF Experiment</h3><p>We decided to kick off the funding round at our <a href="https://www.meetup.com/Chicago-Ethereum-Meetup/events/268118479/">February meetup</a>. Here’s what we did to prepare:</p><ul><li>We wrote a smart contract (<a href="https://github.com/chicago-ethereum/quadratic-funding/tree/master/contract-project/contracts">code</a>; <a href="https://etherscan.io/address/0xad4a34a7854138d6a8a0254f793ac3510090e9e5">Etherscan</a>) to accept contributions from backers, record the amounts, and then route them to the various experiments (“projects”)</li><li>We made a Gnosis Safe for each project to collect the contributions</li><li>We wrote a <a href="https://github.com/chicago-ethereum/quadratic-funding/tree/master/matching">Python script</a> to read the contribution data from our contract and calculate the CLR matching amounts</li></ul><p>During the meetup event, we introduced the concept and asked attendees to make contributions to the project(s) of their choice. Since our top priority was participation, we removed the cost barrier by sending each attendee 10 DAI to give to the projects (we politely asked that they not abscond with the 10 DAI). Attendees could also contribute using their own funds if they wished.</p><h3>QF Results</h3><p>Here are select raw results. For the full results, and to see the code we used to read data from our contract, calculate the CLR matching, and create these plots, check out our <a href="https://github.com/chicago-ethereum/quadratic-funding/blob/notebook/matching/clr-matching.ipynb">Jupyter notebook</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*WoSvpNrD_0PrJxtBc5mkkA.png" /><figcaption>Results from Chicago Ethereum’s early 2020 quadratic funding round</figcaption></figure><p>Three projects received the lion’s share of the matching funds — one in particular. humanity_dao and noloss_lotto each pulled in over 50 DAI in total contributions, while pizza attracted 250 DAI and nearly half the total matching funds!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PFsTRxSTV4ILJ6ne_81h1w.jpeg" /><figcaption>Eating pizza in public = public good? <a href="https://www.flickr.com/photos/ghewgill/3369814464">Source</a></figcaption></figure><p>The broader Chicago Ethereum community showed overwhelmingly that the best use of funds is to pay for food at our meetups. While it’s hard to argue that the attractiveness of free food didn’t play a role here, it’s also likely that backers consider meetup refreshments as a relatively high leverage way to grow the community. People have come to expect food at meetups, and we haven’t always been able to provide that at our meetups. Under that interpretation, pizza is a public good!</p><p>Zooming out, let’s take a look at how the CLR algorithm performed. Pretty well! Projects with larger amounts contributed by the community received a higher proportion of matched funds. But at a similar overall contribution level, projects with lower average contributions — reflecting a more distributed base of support — received an even higher proportion of matched funds. This is exactly what QF and CLR are designed to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*hSG71jwiPiUP8eaW1vQezg.png" /><figcaption>The CLR algorithm at work</figcaption></figure><h3>QF Experiment Takeaways</h3><p>This experiment was a good start. There were some challenges, and we ran into some hiccups. But there were also some surprisingly good outcomes!.</p><h4>What Went Well?</h4><ul><li>Meetup attendees came up with a few proposal projects — coffee coin, coffee forward, and budgeting DAO — to supplement our initial list, all three of which beat out two of our ideas — hooray for community involvement!</li><li>A handful of attendees did not have wallets capable of browsing dapps, so we walked them through the steps of setting up a mobile dapp browser (Trust Wallet or MetaMask mobile). For some this was their first interaction with a dapp!</li><li>The event was a lot of fun! Even with some UX challenges — or perhaps because of them? — the meetup went extremely well. All the attendees were engaged, and many told us that this was one of the more interesting meetups we’ve put on. Oh, and last (and least), it was a very rewarding experience for the organizers 😉.</li><li>No one Sybil-attacked us.</li></ul><h4>What Was Challenging?</h4><ul><li>While we had pretty good engagement within the Chicago community, there was not a lot of participation outside of Chicago despite some tweets. This isn’t terribly unexpected since the exercise was geared towards the Chicago community, but we were hoping to attract some additional attention to the experiment.</li><li>We ran into a number of user experience challenges (see the next section for more detail).</li><li>We had issues with executing transactions in the Gnosis Safe (for teams) UI, which caused some pain. The Gnosis Safe team helped us get past the issues and do what we needed to do, and we believe those issues are now resolved.</li><li>Turning each send in real time into a multi-transaction process slowed us down significantly. We probably should have used <a href="https://linkdrop.io/">Linkdrop</a>, but we didn’t because they don’t yet have MetaMask mobile as an option, and we wanted to support a range of different wallets. If we were to do it again, we would enforce either laptop or mobile and have everyone use the same type of wallet.</li></ul><h4>UX Difficulties</h4><p>Since we had limited time and resources to execute this experiment, we made several scope-constraining decisions. The most impactful decision was to forgo developing our own user interface and instead rely on tools like <a href="http://oneclickdapp.com/">oneclickdapp.com</a> as a very raw way for participants to interact with our dapp.</p><p>This forced attendees and other participants to:</p><ul><li>First approve our contract to spend their DAI (via either <a href="https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f#writeContract">Etherscan’s write contract functionality</a> or a <a href="http://oneclickdapp.com/marvin-elvis/">oneclickdapp</a> we created) before using a <a href="http://oneclickdapp.com/miranda-pancake/">separate oneclickdapp</a> to actually contribute to projects.</li><li>Manually scale DAI values up by a factor of 10¹⁸ since Solidity can’t handle decimals. This was especially challenging because <a href="http://oneclickdapp.com/">oneclickdapp.com</a> doesn’t accept scientific notation, and our workaround using <a href="https://duckduckgo.com/?q=5*10**18&amp;t=h_&amp;ia=calculator">DuckDuckGo’s calculator</a> turned out to be more challenging than helpful. In retrospect, we should have provided a reference table from which backers could copy the scaled-up values for common contribution amounts—e.g. “3 DAI = 3000000000000000000”. A couple backers ran into later issues because they only approved our contract to spend a tiny amount of DAI, and a couple other backers initially only contributed a tiny amount of DAI to their chosen projects.</li></ul><p>Waiting for transactions to be mined caused some delays as well, which compounded these interaction challenges.</p><p>Eventually, we were able to work with participants to get through all these issues. And, the upside was that these issues allowed us to demonstrate and discuss the inner workings of Ethereum with our attendees, which made for good content.</p><p>Ultimately, though, this experiment demonstrated just how valuable good UX design is.</p><h3>Our Next Steps</h3><p>Now that the contributions and the results are in, here are our next steps:</p><ul><li>Present the results to our attendees during an upcoming meetup</li><li>Order pizza for our next in-person meetup</li><li>Begin work on the Ethereum Chicago versions of a no loss lottery and Humanity DAO. If you’re interested in helping out, please get in touch!</li></ul><h4>Appendix 1: What were these projects anyway?</h4><p>bonding_curve — Funds to seed the reserve currency in a bonding curve that mints (and buys back) Chicago Ethereum tokens. These tokens could be used for a number of future projects within the Chicago Ethereum ecosystem.</p><p>budgeting_dao — A dapp that facilitates group budget allocation and manages spending permissions.</p><p>coffee_coin — A protocol for tokenizing small favors (e.g. buying somebody a coffee), creating a &quot;favor economy&quot;.</p><p>coffee_forward — A dapp that makes it easy for people to pay for coffee (or tea!) for somebody else in line behind them (or virtually), and perhaps to be recognized for their generosity.</p><p>humanity_dao — A Chicago Ethereum version of the Humanity DAO registry of verified humans, which could be used as an Sybil-resistant list of unique humans for future Chicago Ethereum funding rounds, governance decisions, or even games.</p><p>noloss_lotto — A Chicago Ethereum version of <a href="https://www.pooltogether.com/">PoolTogether</a>.</p><p>pizza — Funds for food and drinks at Chicago Ethereum meetups.</p><p>unisocks — A Chicago Ethereum version of <a href="https://unisocks.exchange/">Unisocks</a>, selling clothing (e.g. a shirt, socks, beanie, etc.) via a token on Uniswap.</p><h4>Appendix 2: How to run your own version</h4><p>Do you host an Ethereum meetup? Do you want to experiment with public goods funding for your community? If you’re interested in running your own version of this exercise, here’s what you’ll need:</p><ul><li>Fork our <a href="https://github.com/chicago-ethereum/quadratic-funding">GitHub repo</a>.</li><li>Consider building a custom UI to avoid the UX challenges we faced.</li><li>Deploy your own version of the <a href="https://github.com/chicago-ethereum/quadratic-funding/tree/master/contract-project/contracts">EthChicagoQF.sol</a> smart contract.</li><li>Create an initial list of projects to fund, create Ethereum accounts for them (we used Gnosis Safes to help manage and protect funds, but any Ethereum account will work), and add the project names and addresses to the contract registry.</li><li>Find a source of matching funds, perhaps with a <a href="https://ecosystem.support/">grant application</a> to the Ethereum Foundation.</li><li>Announce it to your community, and go!</li></ul><h4>Links</h4><p><a href="https://www.meetup.com/chicago-ethereum-meetup/">https://www.meetup.com/chicago-ethereum-meetup/</a></p><p><a href="https://twitter.com/chicagoethereum">https://twitter.com/chicagoethereum</a></p><p><a href="https://discordapp.com/invite/fhWDhXB">https://discordapp.com/invite/fhWDhXB</a></p><p><a href="https://app.ens.domains/name/ethchicago.eth">https://app.ens.domains/name/ethchicago.eth</a></p><p><a href="https://github.com/chicago-ethereum/">https://github.com/chicago-ethereum/</a></p><p><a href="https://gnosis-safe.io/safes/0x71B94163b085cc2ea7432D8cC96A94989Da4FD6e/balances">https://gnosis-safe.io/safes/0x71B94163b085cc2ea7432D8cC96A94989Da4FD6e/balances</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fb8c7174795" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chicago-ethereum-meetup/chicago-ethereum-meetups-experiment-in-quadratic-funding-2fb8c7174795">Chicago Ethereum Meetup’s Experiment in Quadratic Funding</a> was originally published in <a href="https://medium.com/chicago-ethereum-meetup">Chicago Ethereum Meetup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>