SlideShare a Scribd company logo
1 of 49
Download to read offline
TITLE TEXT
THE PROCESS & TOOLKIT OF
Layer 2 Mechanism Design
Brandon Ramirez
RESEARCH LEAD - THE GRAPH
@REZBRANDON
Our Story
Decentralizing the Query Layer for Web3
• 10+ years working in tech
• Software Engineer & Product Manager
• Mostly working on data-intensive
products
• B.S. in Electrical Engineering w/ Robotics
& Control Systems Emphasis.
• Studied Economics in College
• Not a cryptographer!
RESEARCH LEAD
Brandon Ramirez
RYAN GENTRY, MULTICOIN
“The operation related to ZKP is the so-called
‘modular exponentiation,’ which is the heaviest
operation in [Bulletproofs]. In order to improve the
performance, a lot of blinding elements and vectors
could be removed, and saves modular exponentiations
on all these elements and vectors.”
Decision Points
• Native Token vs No Token
• Utility Token vs Work Token vs. Governance Token
• One Token vs. Many
• Inflation vs. No Inflation
• SNARKs vs STARKs vs Bulletproofs
• Reputation vs. Token Voting
• Protocol Upgrade Through Forking vs. On-chain
Governance
• Payment Channels or State Channels
• Smart Contracts vs. Application Specific
Blockchains
• Markets vs Auctions
• 100+ More
Talk Goals
• Grow your anti-library
• Advocate a process
• Share tactics & key considerations
• Umberto Eco, Italian Novelist & Philosopher
Quick Recap
Blockchains & Storage Networks
Scaling Solutions
Decentralized Applications
Services
Web3 Stack
Web3 Stack
Blockchains & Storage Networks
Scaling Solutions
Decentralized Applications
Services
• Inherits Security
• Prioritizes Performance
• Inherits Data Availability
• Inherits Consensus
• Inherits Logical Centralization
• Inherits Randomness
• Inherits “Timing”/Causality
• Layer 1 as Trusted 3rd Party
KEY CONSIDERATIONS
Layer 2 vs Layer 1
The Toolkit
• Economics
• Cryptography
• Blockchain
• Distributed Systems
• Control Systems
• Game Theory
• Public Choice
• Social Choice
• Computer Science
• Applied Mathematics
• Complexity Theory
• System Dynamics
• Finance
• User Experience
• Behavioral Psychology
• Customer Development
• Law
A MULTI-DISCIPLINARY APPROACH
Cryptoeconomics
The Process
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Smart
contracts
Store
Queries
Graph node Graph node
Transactions
GraphQL
API
dApp
Events
Mapping
WASM module
Smart
contracts
Store
Queries
Graph node Graph node
Transactions
GraphQL
API
dApp
Events
Mapping
WASM module
Prior Art
IN SEARCH OF…
Smart
contracts
Queries
Graph node Graph node
Transactions
GraphQL
API
dApp
Events
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Primary Actors
ROLE BEHAVIOR INCENTIVE
SERVICE PROVIDER Provides service XYZ.
SERVICE CONSUMER
Consumes service XYZ. Pays
Service Provider.
Fees,
Inflation rewards, Slashing
Implicit, trying to
accomplish ___
Curator, Fisherman, Oracle, Keepers, Miners, Validators, Arbitrators, etc.
Secondary Actors
Primary Actors
Curator, Fisherman, Oracle, Keepers, Miners, Validators, Arbitrators, etc.
ROLE BEHAVIOR INCENTIVE
SERVICE PROVIDER Provides service XYZ.
SERVICE CONSUMER
Consumes service XYZ. Pays
Service Provider.
Fees,
Inflation rewards, Slashing
Implicit, trying to
accomplish ___
Secondary Actors
Motivation
Ability
B=MAT
Triggers
Triggers
Fail Here
Succeed Here
Action Line
FOGG BEHAVIORAL MODEL
Loop Diagram
DIAGRAMMING Locked ETH in
CDPs
Price of DAIStability Fee
-
+
+
BALANCING
LOOP
DIRECT
CAUSATION
DIRECT
CAUSATION
INVERSE
CAUSATION
Machinations.io
DEMO
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Iterate!
• Determinism
• Standard Units of Price & Goods
• Fault Attribution
• Verifiability
ASIDE
Desiderata
WHO? DID WHAT? WHEN?
WHO? DID WHAT? WHEN?
Cryptographic Signatures Determinstic….
Interfaces
Runtimes
Encodings

Verifiable Computation
Authenticated Data Structures
Block Hashes
Notarization
Nonces
Consensus

WHO? DID WHAT? WHEN?
Cryptographic Signatures Determinstic….
Interfaces
Runtimes
Encodings

Verifiable Computation
Authenticated Data Structures
Block Hashes
Notorization
Nonces
Speaker/Listener Fault
Equivalence
Subjectivity
Block Reorgs



Asynchronous Network Setting



Fisherman Incentives
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Parameter Tuning
• Static (Open Loop)
• Dynamic (Open Loop)
• Dynamic (Closed Loop)
• Governance (Closed Loop)
• Market Mechanisms (Closed Loop)
• AI/ Machine Learning (Closed Loop)
Open Loop
Control
Closed Loop
ControlVS.
Analytical Methods
• Microeconomic Analysis
• Classical Control Theory
• State Space Representations
• Game Theoretic Analysis
• Etc.
Numerical Methods &
Simulation
• (Non) Linear Programming
• Optimal Control Theory
• Mechanism Design Optimization
• Dynamic Systems Modeling
• Agent Based Models
• Network Models
• Etc.
Block Diagrams
DYNAMIC SYSTEMS MODELING
Controller
Target Temp
-
Error
Controller
Output
Furnace
Output
Temp
Temperature
Sensor
Measured
Temp
Simulation
DYNAMIC SYSTEMS MODELING
Maker Example
DYNAMIC SYSTEMS MODELING
Maker DAO
Governance
Target Price
-
Error
Stability
Fee
CDP Creation/
Destruction
USD Price
of DAI
Price Oracles
Reported
Price
Simulation
AGENT MODELING
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Problem-Market Fit
Technical System Design
Qualitative Mechanism Design
Quantitative Mechanism Design
Empirical Evaluation
Evolution
Governing Upgrades
Opportunities
Challenges
Arrow’s Impossibility Theorem
Bribing Attacks
Regulatory Capture
Identity
Collusion
Dugan-Schwartz Theorem
Gibbard-Sattherwaite Theorem

No stable equilibrium in some cooperative games
Conviction Voting
Continuous Organizations
Rough Consensus
Liquid Democracy
Prediction Markets
Q&A
Brandon Ramirez
RESEARCH LEAD - THE GRAPH
@REZBRANDON
The Process and Toolkit of Layer 2 Mechanism Design

More Related Content

Similar to The Process and Toolkit of Layer 2 Mechanism Design

Event Sourcing in less than 20 minutes - With Akka and Java 8
Event Sourcing in less than 20 minutes - With Akka and Java 8Event Sourcing in less than 20 minutes - With Akka and Java 8
Event Sourcing in less than 20 minutes - With Akka and Java 8J On The Beach
 
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...confluent
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appNeil Avery
 
Implementation domain driven design - ch04 architecture
Implementation domain driven design - ch04 architectureImplementation domain driven design - ch04 architecture
Implementation domain driven design - ch04 architectureHarry Yao
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumJonas Bonér
 
MicroServices-Part-1.pdf
MicroServices-Part-1.pdfMicroServices-Part-1.pdf
MicroServices-Part-1.pdfchanhluc2112
 
Digital Transformation | AWS Webinar
Digital Transformation | AWS WebinarDigital Transformation | AWS Webinar
Digital Transformation | AWS WebinarAmazon Web Services
 
RxJava for Resilient Enterprise
RxJava for Resilient EnterpriseRxJava for Resilient Enterprise
RxJava for Resilient EnterpriseAnand Raman
 
Comment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesComment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesElasticsearch
 
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...Amazon Web Services
 
Comment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesComment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesElasticsearch
 
Implementing AutoML Techniques at Salesforce Scale with Matthew Tovbin
Implementing AutoML Techniques at Salesforce Scale with Matthew TovbinImplementing AutoML Techniques at Salesforce Scale with Matthew Tovbin
Implementing AutoML Techniques at Salesforce Scale with Matthew TovbinDatabricks
 
Implementing AutoML Techniques at Salesforce Scale
Implementing AutoML Techniques at Salesforce ScaleImplementing AutoML Techniques at Salesforce Scale
Implementing AutoML Techniques at Salesforce ScaleMatthew Tovbin
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesAraf Karsh Hamid
 
SDN & NFV Orchestration
SDN & NFV OrchestrationSDN & NFV Orchestration
SDN & NFV OrchestrationTanto Suratno
 
Event-Driven Architectures Done Right | Tim Berglund, Confluent
Event-Driven Architectures Done Right | Tim Berglund, ConfluentEvent-Driven Architectures Done Right | Tim Berglund, Confluent
Event-Driven Architectures Done Right | Tim Berglund, ConfluentHostedbyConfluent
 
Meet TransmogrifAI, Open Source AutoML That Powers Einstein Predictions
Meet TransmogrifAI, Open Source AutoML That Powers Einstein PredictionsMeet TransmogrifAI, Open Source AutoML That Powers Einstein Predictions
Meet TransmogrifAI, Open Source AutoML That Powers Einstein PredictionsMatthew Tovbin
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays
 

Similar to The Process and Toolkit of Layer 2 Mechanism Design (20)

Event Sourcing in less than 20 minutes - With Akka and Java 8
Event Sourcing in less than 20 minutes - With Akka and Java 8Event Sourcing in less than 20 minutes - With Akka and Java 8
Event Sourcing in less than 20 minutes - With Akka and Java 8
 
ABC's of Cloud Computing for Middle Market Enterprises
ABC's of Cloud Computing for Middle Market EnterprisesABC's of Cloud Computing for Middle Market Enterprises
ABC's of Cloud Computing for Middle Market Enterprises
 
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
 
Kakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming appKakfa summit london 2019 - the art of the event-streaming app
Kakfa summit london 2019 - the art of the event-streaming app
 
Implementation domain driven design - ch04 architecture
Implementation domain driven design - ch04 architectureImplementation domain driven design - ch04 architecture
Implementation domain driven design - ch04 architecture
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge Continuum
 
MicroServices-Part-1.pdf
MicroServices-Part-1.pdfMicroServices-Part-1.pdf
MicroServices-Part-1.pdf
 
Digital Transformation | AWS Webinar
Digital Transformation | AWS WebinarDigital Transformation | AWS Webinar
Digital Transformation | AWS Webinar
 
Een andere kijk op Microservices
Een andere kijk op MicroservicesEen andere kijk op Microservices
Een andere kijk op Microservices
 
RxJava for Resilient Enterprise
RxJava for Resilient EnterpriseRxJava for Resilient Enterprise
RxJava for Resilient Enterprise
 
Comment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesComment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitables
 
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
AWS Public Sector Symposium 2014 Canberra | Putting the "Crowd" to work in th...
 
Comment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitablesComment transformer vos données en informations exploitables
Comment transformer vos données en informations exploitables
 
Implementing AutoML Techniques at Salesforce Scale with Matthew Tovbin
Implementing AutoML Techniques at Salesforce Scale with Matthew TovbinImplementing AutoML Techniques at Salesforce Scale with Matthew Tovbin
Implementing AutoML Techniques at Salesforce Scale with Matthew Tovbin
 
Implementing AutoML Techniques at Salesforce Scale
Implementing AutoML Techniques at Salesforce ScaleImplementing AutoML Techniques at Salesforce Scale
Implementing AutoML Techniques at Salesforce Scale
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
 
SDN & NFV Orchestration
SDN & NFV OrchestrationSDN & NFV Orchestration
SDN & NFV Orchestration
 
Event-Driven Architectures Done Right | Tim Berglund, Confluent
Event-Driven Architectures Done Right | Tim Berglund, ConfluentEvent-Driven Architectures Done Right | Tim Berglund, Confluent
Event-Driven Architectures Done Right | Tim Berglund, Confluent
 
Meet TransmogrifAI, Open Source AutoML That Powers Einstein Predictions
Meet TransmogrifAI, Open Source AutoML That Powers Einstein PredictionsMeet TransmogrifAI, Open Source AutoML That Powers Einstein Predictions
Meet TransmogrifAI, Open Source AutoML That Powers Einstein Predictions
 
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlonapidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
apidays LIVE JAKARTA - Event Driven APIs by Phil Scanlon
 

Recently uploaded

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 

Recently uploaded (20)

Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 

The Process and Toolkit of Layer 2 Mechanism Design

  • 2. THE PROCESS & TOOLKIT OF Layer 2 Mechanism Design Brandon Ramirez RESEARCH LEAD - THE GRAPH @REZBRANDON
  • 4. Decentralizing the Query Layer for Web3
  • 5. • 10+ years working in tech • Software Engineer & Product Manager • Mostly working on data-intensive products • B.S. in Electrical Engineering w/ Robotics & Control Systems Emphasis. • Studied Economics in College • Not a cryptographer! RESEARCH LEAD Brandon Ramirez
  • 6. RYAN GENTRY, MULTICOIN “The operation related to ZKP is the so-called ‘modular exponentiation,’ which is the heaviest operation in [Bulletproofs]. In order to improve the performance, a lot of blinding elements and vectors could be removed, and saves modular exponentiations on all these elements and vectors.”
  • 7. Decision Points • Native Token vs No Token • Utility Token vs Work Token vs. Governance Token • One Token vs. Many • Inflation vs. No Inflation • SNARKs vs STARKs vs Bulletproofs • Reputation vs. Token Voting • Protocol Upgrade Through Forking vs. On-chain Governance • Payment Channels or State Channels • Smart Contracts vs. Application Specific Blockchains • Markets vs Auctions • 100+ More
  • 8. Talk Goals • Grow your anti-library • Advocate a process • Share tactics & key considerations • Umberto Eco, Italian Novelist & Philosopher
  • 10. Blockchains & Storage Networks Scaling Solutions Decentralized Applications Services Web3 Stack
  • 11. Web3 Stack Blockchains & Storage Networks Scaling Solutions Decentralized Applications Services
  • 12. • Inherits Security • Prioritizes Performance • Inherits Data Availability • Inherits Consensus • Inherits Logical Centralization • Inherits Randomness • Inherits “Timing”/Causality • Layer 1 as Trusted 3rd Party KEY CONSIDERATIONS Layer 2 vs Layer 1
  • 14.
  • 15.
  • 16. • Economics • Cryptography • Blockchain • Distributed Systems • Control Systems • Game Theory • Public Choice • Social Choice • Computer Science • Applied Mathematics • Complexity Theory • System Dynamics • Finance • User Experience • Behavioral Psychology • Customer Development • Law A MULTI-DISCIPLINARY APPROACH Cryptoeconomics
  • 18. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 19. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 20. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution Smart contracts Store Queries Graph node Graph node Transactions GraphQL API dApp Events Mapping WASM module
  • 21. Smart contracts Store Queries Graph node Graph node Transactions GraphQL API dApp Events Mapping WASM module
  • 22. Prior Art IN SEARCH OF… Smart contracts Queries Graph node Graph node Transactions GraphQL API dApp Events
  • 23. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 24. Primary Actors ROLE BEHAVIOR INCENTIVE SERVICE PROVIDER Provides service XYZ. SERVICE CONSUMER Consumes service XYZ. Pays Service Provider. Fees, Inflation rewards, Slashing Implicit, trying to accomplish ___ Curator, Fisherman, Oracle, Keepers, Miners, Validators, Arbitrators, etc. Secondary Actors
  • 25. Primary Actors Curator, Fisherman, Oracle, Keepers, Miners, Validators, Arbitrators, etc. ROLE BEHAVIOR INCENTIVE SERVICE PROVIDER Provides service XYZ. SERVICE CONSUMER Consumes service XYZ. Pays Service Provider. Fees, Inflation rewards, Slashing Implicit, trying to accomplish ___ Secondary Actors
  • 26.
  • 28. Loop Diagram DIAGRAMMING Locked ETH in CDPs Price of DAIStability Fee - + + BALANCING LOOP DIRECT CAUSATION DIRECT CAUSATION INVERSE CAUSATION
  • 30. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution Iterate!
  • 31. • Determinism • Standard Units of Price & Goods • Fault Attribution • Verifiability ASIDE Desiderata
  • 32. WHO? DID WHAT? WHEN?
  • 33. WHO? DID WHAT? WHEN? Cryptographic Signatures Determinstic…. Interfaces Runtimes Encodings
 Verifiable Computation Authenticated Data Structures Block Hashes Notarization Nonces Consensus

  • 34. WHO? DID WHAT? WHEN? Cryptographic Signatures Determinstic…. Interfaces Runtimes Encodings
 Verifiable Computation Authenticated Data Structures Block Hashes Notorization Nonces
Speaker/Listener Fault Equivalence Subjectivity Block Reorgs
 
 Asynchronous Network Setting
 
 Fisherman Incentives
  • 35. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 36. Parameter Tuning • Static (Open Loop) • Dynamic (Open Loop) • Dynamic (Closed Loop) • Governance (Closed Loop) • Market Mechanisms (Closed Loop) • AI/ Machine Learning (Closed Loop)
  • 38. Analytical Methods • Microeconomic Analysis • Classical Control Theory • State Space Representations • Game Theoretic Analysis • Etc.
  • 39. Numerical Methods & Simulation • (Non) Linear Programming • Optimal Control Theory • Mechanism Design Optimization • Dynamic Systems Modeling • Agent Based Models • Network Models • Etc.
  • 40. Block Diagrams DYNAMIC SYSTEMS MODELING Controller Target Temp - Error Controller Output Furnace Output Temp Temperature Sensor Measured Temp
  • 42. Maker Example DYNAMIC SYSTEMS MODELING Maker DAO Governance Target Price - Error Stability Fee CDP Creation/ Destruction USD Price of DAI Price Oracles Reported Price
  • 44. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 45. Problem-Market Fit Technical System Design Qualitative Mechanism Design Quantitative Mechanism Design Empirical Evaluation Evolution
  • 46.
  • 47. Governing Upgrades Opportunities Challenges Arrow’s Impossibility Theorem Bribing Attacks Regulatory Capture Identity Collusion Dugan-Schwartz Theorem Gibbard-Sattherwaite Theorem
 No stable equilibrium in some cooperative games Conviction Voting Continuous Organizations Rough Consensus Liquid Democracy Prediction Markets
  • 48. Q&A Brandon Ramirez RESEARCH LEAD - THE GRAPH @REZBRANDON