Name of Project: Oya Protocol
Proposers:
Vanessa Conyers vanessa@oya.market
John Shutt john@oya.market
Proposal Summary
Provide a revocable stream of funding to help build the MVP of Oya Protocol, which will provide onchain accounts suitable for normal people, including account recovery and transaction verification by UMA.
What is the Oya Protocol?
We are building onchain crypto accounts for normal people, with optimistic execution in the slow case and instant execution by a “technician,” similar to a relayer, in the normal case. User accounts are governed by natural language rules in a modified and extended version of the Optimistic Governor. This allows features that are critical to normal human beings, including account recovery, account freezing, fraud prevention, automated transactions, and gas abstraction. Our end-to-end application will be as easy to use as a centralized exchange, but with true self-custody and access to onchain applications.
Funding Request
We are requesting 5,000 UMA tokens per week for a period of 26 weeks to fund the initial development of the Oya Protocol. At the end of the 26-week period, this would amount to a total of 130,000 UMA tokens.
EDIT: After a community call, we are also evaluating Llamapay, which may be simpler than the mechanism described below. The final distribution mechanism will be outlined in the future Snapshot poll.
The distribution mechanism would be as follows:
- Two Safe contracts are deployed with oSnap (Optimistic Governor) modules.
- The first Safe (the “Controller Safe”) has a typical oSnap module that gives control to the UMA Snapshot space.
- The second Safe (the “Grant Safe”) has a custom set of non-oSnap Optimistic Governor rules: “The Oya Protocol address 0x66907d1E4c8257545588126d67A1C8d8062Da8E6 may withdraw up to 5,000 UMA tokens from this contract per week. If 0x66907d1E4c8257545588126d67A1C8d8062Da8E6 does not withdraw their full allotment in a given week, they may withdraw the remainder of the allotment at any point in the future. The UMA DAO may withdraw all of the UMA tokens from this Safe at any time.”
- The Grant Safe receives 130,000 UMA tokens from the UMA DAO treasury.
This grant is intended to fully fund the development of a working end-to-end pilot of the Oya Protocol on a live network. This pilot will prove the practicality of the protocol design, allow us to receive real user feedback, and help the team raise funds from investors to hire a larger team and bring the protocol to market.
As the Oya Protocol grows, it will:
- Bring a new generation of crypto users onchain
- Continually buy UMA tokens through open market purchases (see UMA Protocol Value Capture)
- Increase the total value secured by UMA
- Drive improvements to the underlying oracle system
- Inspire other builders to use UMA
- Increase the security of UMA’s oracle through an expanded voter base with strong incentives to keep the system functional and accurate
The amount requested is comparable to the market rate for experienced crypto builders and will provide financial security and peace of mind during the early prototyping period. The grant is structured as a continuous, revocable payment stream rather than a set of milestones for simplicity, both for the grantees and the DAO itself. Risk to the DAO is minimized since the DAO can revoke the payment stream at any time (see Risks and Mitigations). All of our work will be public and the DAO will receive frequent detailed updates on our progress.
Team
We first developed Oya as an ecommerce protocol during the 2020 HackMoney hackathon, where Oya was one of the ten finalists out of 120 submissions. We intended to continue to develop the product, but ran into a major problem: Crypto wallets were impossible for normal people to use safely and easily.
Progress was made over the next three years but many problems still remain. Our best recommendation to friends and family interested in crypto is—still—to just create a Coinbase account and buy ETH. People deserve real onchain accounts with account recovery, fraud prevention, gas abstraction, transaction automation, and other features that they expect.
We have the passion and experience to make that happen.
More about John
- Thirteen years of web development experience, six years of smart contract engineering and protocol design experience
- Original creator of the optimistic governance system underpinning oSnap, which contributes almost half of UMA’s Total Value Secured
- Co-founder of Across protocol, author of the litepaper and key contributor to the v1 protocol design
- Co-author of the YES_OR_NO_QUERY identifier for open-ended natural language queries, which evolved into the ASSERT_TRUTH identifier and UMA’s current approach to optimistic oracle verification
- Former technical lead for BayLeaks, an encrypted messaging system for journalists and their sources, where careful handling of cryptographic keys was critically important
- Years managing the treasury and bureaucratic interface for Noisebridge, a nonprofit anarchist hackerspace in San Francisco that runs on a DAO-like consensus system
More about Vanessa
- Worked with attorneys to create a legal framework giving fully decentralized onchain DAOs meaningful control of offchain assets like real estate
- In bringing the DAO real estate protocol to market, found that wallet usability would need to be solved first for normal people to participate
- Adapted elements of the DAO-owned real estate project to solve problems in onchain crypto accounts, particularly in the role of the “technician” (see High-Level Protocol Description: Technician)
- Practitioner for eighteen years in the field of architecture with passion for user experience and solving social problem with a holistic approach
- Key contributor to a range of complex projects, including high-security SCIFs for federal agencies, high-rise residential buildings, government laboratories, and two LEED Platinum projects: Haas School of Business at UC Berkeley and Lucile Packard Children’s Hospital at Stanford
Master of communicating complex ideas in a way that users can actually understand, including the original Oya hackathon videos and the Across v2 relayer system
High-Level Protocol Description
Click to play the animated walkthrough, or read on
Accounts
Each user has a Safe account with an optimistic governance module defining their rules. The users’ assets live in the Safe. Users define a primary controller address that can trigger transactions. Transactions that follow the users’ rules can be executed immediately by the technician (see below), or executed optimistically after a challenge window. The primary controller can also add or remove rules, but only after a longer challenge window, in case of compromised keys. The optimistic governance module allows technicians to settle up with accounts periodically for transactions they have executed. No transactions go directly to the Safe, they all go through the optimistic governance module. The user can authorize the technician to recover their account in case of lost or compromised keys, with trigger conditions verified by UMA based on public information.
Rules
Users add natural language rules to their Safe from a set of protocol-approved options. The rules are mapped to transaction scripts. Technicians use the scripts to optimistically execute bundles of transactions against the bookkeeper contract, or against user accounts directly. UMA verifiers can use the scripts to verify correctness, and can also dispute the transactions if the output of the script deviates from the stated intent of the natural language rule.
Technician
The technician receives signed transaction instructions privately from the users. The technician optimistically executes most user transactions as a bundle against a bookkeeper contract. If necessary, the technician uses their own funds to back execution of the bundled transactions (e.g., purchase an NFT for 1 ETH, deposit the NFT in the bookkeeper contract and credit it to the user, while debiting the user 1 ETH in the bookkeeper contract). In some cases, the technician may settle transactions with the accounts directly (e.g., deposit 2,100 USDC in a user account to settle a trade, withdraw 1 ETH after the challenge window). The technician also publishes the signed transaction instructions sent by the users to prove the transactions were authorized.
The technician can withdraw funds from user accounts periodically to reimburse themselves for their costs, plus any agreed upon fees, after a challenge window. The technician will only be reimbursed for executing transactions that follow the users’ rules. Due to their role in execution, the technician has many options for revenue, including MEV capture, trading fees, subscription fees, or extra fees for advanced features. The technician is selected by protocol governance and can be fired by tokenholders for not performing their job effectively or not paying back enough of their profit to users.
Oya Protocol Value Capture
The Oya tokenholders will ultimately control two key onchain parameters:
- The addresses of the protocol-approved technician(s).
- The hash of the current frontend code.
This allows tokenholders to control both the decentralized frontend application and the backend technician who assists in executing transactions. Since the technician is able to capture significant value from their position, they will be expected by tokenholders to pay back some of their revenue to the protocol, in addition to continually reinvesting in the protocol code. This control is easy to implement through oSnap. Protocol governance will not be able to upgrade smart contracts, since that would introduce significant risk. Major smart contract upgrades must happen through social consensus and user migration.
UMA Protocol Value Capture
The Oya Protocol relies on the cryptoeconomic security of UMA’s DVM. Like Polymarket—and unlike Across and oSnap—disputes for Oya rely on UMA for an unbiased final ruling. Since we anticipate securing billions of dollars through the Oya Protocol in the near term, we need to boost UMA’s security guarantees.
The mechanism is simple: Oya users will be charged a small recurring security fee that is used to buy UMA tokens on the open market for the Oya Protocol. Oya users can then opt to vote their own share of the UMA tokens—and earn greater rewards—or delegate their vote to a protocol-chosen voter. This will increase UMA’s economic security in two ways:
- Driving up the UMA token price through continual open market purchases.
- Distributing UMA voting power to users who have higher than normal incentives to keep the oracle secure, since the oracle secures their own accounts.
Building Community Governance
Oya will have token-based governance control over the designated technician and certain changes to the canonical frontend and rules—though governance will not have the ability to alter user account balances or upgrade contracts. We aim to foster a symbiotic relationship between UMA and Oya, and include UMA stakers in the early Oya governance system. Hopefully this will closely align the UMA community and our new Oya community as it emerges. Communities are the drivers of value and we want to find ways to pay the community back back, both in our core protocol mechanisms and how governance power and ownership are distributed.
Risks and Mitigations
This Technology Can’t Actually Be Built
The difficult work is already complete. UMA has a robust oracle that can handle natural language rules, catch bad proposals quickly and consistently, and secure hundreds of millions of dollars in value. It is not difficult to see how the Optimistic Governor could be extended to allow the flow required by Oya. This is a natural expansion on John’s original idea of optimistic governance. The bundling logic will be similar to that used by Across. The bookkeeper contract resembles the architecture of Uniswap v4.
This Technology Can Be Built, but Not By Us
John conceived and built the original Optimistic Governor contract, led development of the original oSnap integration with Alex Gaines, contributed key early protocol ideas to Across, and was involved in nearly every integration UMA currently has on the market. (Rated is a notable exception.) He is an expert UMA builder with a track record of success.
Vanessa pioneered a legal structure for DAO ownership of real estate that is far more advanced than anything yet implemented, as validated by legal experts who crafted the Wyoming DAO LLC law and have worked with dozens of DAOs. Additionally, she is a local community leader, heading the neighborhood response to a massive fire as an HOA director and serving as her ward councilwoman’s appointee to the Community Development board. Together with John, she won the first month-long ETH Global hackathon with the original ecommerce version of the Oya Protocol.
The Team Takes the Money and Doesn’t Deliver
This risk is minimal since the UMA DAO can halt grant funding at any time through a simple Snapshot vote. Additionally, John left a great job at Risk Labs and sacrificed significant future token options to pursue this project with no funding guarantees. We are fully committed to building this.
UMA’s Security Can’t Scale to Billions of Dollars
As outlined in UMA Protocol Value Capture, we intend to increase UMA’s cryptoeconomic security by continually buying UMA tokens on the open market and distributing that voting power to our users. If this does not increase the cryptoeconomic security of the DVM quickly enough, we will need to throttle the growth of our own protocol to ensure we are not adding more Total Value Secured than the DVM can safely handle. Ideally, other protocols using UMA will follow our lead. We believe that all UMA ecosystem partners should work together to mutually drive up UMA’s token price and increase the oracle’s cryptoeconomic security.
This is the Wrong Product and No One Wants It
We intend to build the minimum viable product and release it for real user feedback rapidly, and iterate based on what we learn. Although we expect interest from crypto natives, we will prioritize getting feedback from normal people who are not already onchain. If we build something that only existing onchain crypto users can understand, we will have failed.
Regulatory Challenges
We will need to tread carefully in the release of the Oya token to ensure it is fully decentralized from the jump and will not raise securities law issues. We will also need to explore what restrictions, if any, the technician will need to have in place when facilitating transactions. We expect that the initial set of actions available to users will be limited. We also intend to have a fully decentralized frontend approved by the protocol and hosted in multiple locations, which will avoid centralization at the interface layer.
Advance to Snapshot?
- For
- Against