Contracts, Code, and Complexity

The right to be sued is the power to accept a commitment. -–Thomas Schelling [1]

No one’s gonna do business with you without knowing they have recourse for when you try to weasel out. Even 5000 years ago, people created contracts on clay tablets so that they had something to take to the king if the counterparty welched.

Humans are opportunistic. Over time, people learned to be weasels. Some people learned to be exceptionally good weasels. Beginning in ancient Athens, these people were called lawyers (actually they were called orators, but served the same purpose).

Orators were paid well. Athenians knew that having a good lawyer could be a huge competitive advantage. If your counterparty hires Demosthenes to plead his case, then you’d better put Cicero on retainer.

Since then, litigation has been an arms race. 40% of Oracle’s headcount is employed on the legal team, and only because its friends Google and Microsoft invest just as much. Google spends $17 million a year on federal lobbying. The top issue? Patent protection.

As Karl Marx astutely observed, Competition is wasteful.

But competition does have one redeeming quality: It enables evolution. Without competitive exclusion, there would be no reason for natural selection and we’d all still be protozoa swimming in a primordial soup.

Instead, we’re complex organisms who know how to be weasels.

And it’s because counterparties spent 5000 years being weasels that contracts, and the laws governing contracts, have become so complex.

You don’t know the rule until you know its exceptions. In practice, the exceptions to the rule are the rule.

Contractual complexity is good. Complexity allocates responsibility and risk for the possible complications that might arise. This increases predictability, which allows counterparties to put more at stake.

While complex, the contracts and legal codes we have today provide better risk management than clay tablets and the Code of Hammurabi.

As the stakes increase, so does the cost of litigation. At some point humans began to think, Securing a commitment through legal coercion is expensive! Can we can have predictable risk allocation without using the threat of litigation? Maybe we don’t need the right to be sued in order to accept a commitment. Maybe a commitment can be self-governing.

A smart contract enforces a commitment without resorting to the threat of external litigation [2].

Early smart contracts won’t be robust against weasels, just like early clay tablets weren’t robust against Demosthenes. That’s why people didn’t put a lot at stake on a clay tablet. It was certainly no reason to throw out clay tablets!

It took 1600 years to go from the publican business partnerships in Rome to the Honor del Bazacle [3], the first modern joint-stock corporation. Romans had the technology to draft a corporate charter on papyrus; what they lacked was centuries of cumulative knowledge on how to structure a corporation.

Complexity has to be earned. Otherwise, it’s obfuscation. The Honor del Bazacle charter was complex because it had evolved the ability to protect its beneficiaries [4]:

Most early financial documents were fairly succinct records. Why would it take eight feet of tiny script to create a corporation?

The corporation is an organization that is designed to operate autonomously, perhaps for several centuries. The Honor del Bazacle charter is like a complete set of rules for playing a game: These rules needed to ensure that no single player, either unintentionally or willfully, could ruin the game or cheat the other players.

As a result, the Bazacle is an enterprise that still stands today.

bazacle

Last week, TheDAO put a corporation into a smart contract, and a weasel took a bunch of its money. Now its participants are pleading for an Ethereum fork that erases an unpredicted, but not unpredictable, outcome.

I have DAO tokens. I prefer that the “hacker” keep whatever ether I lost. The great thing about smart contracts is the predictable risk allocation. I signed up for the risk of losing my ether. I did not sign up for third-party adjudication.

The transaction-erasing fork will ultimately be decided by Ethereum miners, who can choose whether to adopt it in a software update. In a way, they serve as a decentralized parliament. But as someone who operates a mining node, I don’t want to be a parliamentarian. I didn’t sign up for that and I’m not qualified.

Blockchain contracts are not about adjudication by vote; we already have a very good solution for that in the modern court system. They’re about giving two parties the ability to trust a commitment. I want the rights and responsibilities that I signed up for.

References:
1. Thomas Schelling, The Strategy of Conflict. 1981.
2. Nick Szabo, Formalizing and Securing Relationships on Public Networks. 1997.
3. Germain Sicard, The Origins of Corporations: The Mills of Toulouse in the Middle Ages. 2015.
4. William Goetzmann, Money Changes Everything: How Finance Made Civilization Possible. 2016.

This one gets a picture. I was going to write a post summarizing the book, but I can't. There's too much good stuff inside.
This one gets a picture. I was going to write a post summarizing the book, but I can’t. There’s too much good stuff inside.

Stalkers in a Decentralized Autonomous Organization

get_off_my_cloud

Several weeks ago, I made the silly assumption that DAO tokens were a safe place to park some ether.

Quick recap for the uninitiated: Ether is digital money, and the DAO is a Decentralized Autonomous Organization. The DAO acts like an investment fund, but is actually software on a blockchain. The investments are made using ether, and the fund was raised through the crowdsale of “tokens”, which would be like corporate shares except that the corporation is a piece of software. Tokenholders get voting rights when it comes to deciding how the software should operate (voting on proposals), and proportional rewards if the DAO ever manages to generate a profit.

So I put some ether into the DAO, got some tokens, and now the DAO tokens are trading at a discount to intrinsic value on crypto exchanges.

The DAO has 12.07 million ether, and there are a total of 1172.78 M outstanding tokens.
The DAO has 12.07 million ether, and there are a total of 1172.78 M outstanding tokens.

The intrinsic value is what you would get if you picked the DAO up by its ankles and shook out all the ether that investors put in. And for some reason, the market doesn’t think it’ll be easy for tokenholders to take that ether back out.

I decided to try. The DAO has a function that allows tokenholders to split, a secession where the splitting tokenholders create a separate organization and take their share of the ether with them. Here’s my split, E’s Castle Rock.

Screen Shot 2016-06-02 at 2.30.44 PM

The plan was to split, then have Castle Rock pass a proposal that sends all the ether back to myself. Annoyingly, splits sit as an open proposal for at least 7 days. During this time, any other DAO tokenholder may join the split, no invitation needed.

Already, a tokenholder with nearly twice my tokens has joined Castle Rock. If we complete the split, this person can outvote me on any proposal, forever locking my ether into Castle Rock. This sets him up nicely for an extortion scheme where I have to create a proposal that sends most of the ether to him if I want anything back at all*.

The DAO wiki proposes two solutions to this problem:

The first is to create a large number of decoy splits, and then wait until the last second to complete the split. There’s a single 10-second window between blocks during which I could safely do this.

Or, I could salt the earth and refuse to do anything at all, leaving both our funds locked up forever.

With all due respect, both responses kinda suck. But there might exist a third possibility. Stay tuned…

*As the creator of Castle Rock, I also serve as curator, which means that only I may whitelist proposals for voting. Curators exist to prevent a tyranny of the majority.

See Also:
How to Split the DAO

Why I am Participating in The DAO’s Crowdsale

Screen Shot 2016-05-16 at 12.36.41 PM

Ether is the currency of Ethereum, a distributed computer that runs smart contracts on a public blockchain.

Here is a list of things you can do with ether right now:
1. sell it
2. hold it
3. play betting games
4. buy DAO tokens

For everything else, there’s Mastercard. Or Bitcoin.

This won’t always be the case, but it’s been the case since last summer, when Ethereum launched. People have accumulated a lot of ether with few uses beyond speculation. So! Maybe no surprise that 13% of the total supply of ether has now been invested in The DAO, a Decentralized Autonomous Organization. This represents $117 million at current market rates, and rising!

The DAO’s purpose in life is to disburse crowdsourced funds to projects it deems worthy. CoinDesk does a good job of explaining it here.

More specifically, the organization attempts to achieve a return on investment by backing proposals chosen by token holders. Any token holder may submit a proposal, for example, this one making a smart lock device for the goal of creating a decentralized sharing economy. A Proposal comes attached to a Contractor, who receives payments for building the described Proposal.

The DAO can vote to remove the Contractor at any time and bring in a replacement. This protects DAO investors from things like Kickstarter vaporware. Of course, this doesn’t make The DAO seem like a very attractive place for project founders, but around here we serve the people.

The DAO pays contractors to build products, reaps profits or intangible benefits from the products.
The DAO pays contractors to build products, reaps profits or intangible benefits from the products.

I bought some DAO tokens in the crowdsale, which means I have the ability to submit proposals and vote on future proposals. I have no idea who the other investors are, what their investment objectives might be, or the extent of their understanding of how The DAO works. Come to think of it, this is a terrible way to form an investment partnership.

Fortunately, we share common goals, as defined by The DAO:

The goal of The DAO is to diligently use the ETH it controls to support projects that will:

  • Provide a return on investment or benefit to the DAO and its members.
  • Benefit the decentralized ecosystem as a whole.

Those are two different goals, equal only in their ambiguity. Hm, I’m generally not a fan of mixing profitability and utility. When proposals arise to “benefit the decentralized ecosystem as a whole,” no two parties will see the same utility from a given expenditure.

That’s okay, because token holders can leave at any time and take their ether with them. There’s a process where anyone can propose to “split”, which creates a second DAO with assets proportional to the number of tokens splitting off.

The price of DAO tokens, as denominated in ether. We are on Day 16.
The price of DAO tokens, as denominated in ether. We are on Day 16.

Early entrants to the crowdsale benefit from the fact that DAO token prices monotonically increase throughout the month, ending at 1.5x the starting price. Thus, anyone who purchased DAO tokens prior to yesterday effectively controls an amount of ether that will be greater than what they put in.

It looks a bit pyramid-shaped, but that helps to lower the risk-aversion hurdles for early investors. I suspect that many will split as quickly as they got in. As for my own participation in The DAO’s crowdsale, I don’t know. I have a lot of ether and I don’t know what to do with it. Someone please build something.