boneh-roughgarden-wev
БесплатноБез исполняемых скриптовНе проверенBoneh-Roughgarden WEV Skill
от plurigrid★ 73 звезды на GitHubОб этом скилле
Boneh-Roughgarden WEV Skill
Trit: 0 (ERGODIC) - Mechanism design at equilibrium
Stanford FDCI research bridge connecting Dan Boneh's cryptographic primitives (ZK proofs, BLS signatures, threshold cryptography) with Tim Roughgarden's mechanism design (TFM, MEV mitigation, welfare maximization).
WEV = World Extractable Value: Protocol-aligned value extraction via GF(3) conservation, not adversarial MEV.
Research Foundations
Stanford Future of Digital Currency Initiative (FDCI)
| Research | Authors | Key Insight | WEV Connection |
|---|---|---|---|
| SPEEDEX | Ramseyer, Ruan, Goyal, Duffie, Mazières | Batch DEX eliminating front-running | No ordering → no MEV → pure WEV |
| Groundhog | Ramseyer, Mazières | Commutative transaction semantics | Deterministic concurrency = SPI |
| TFM Post-MEV | Bahrani, Garimidi, Roughgarden | Active block producer model | Searcher-Proposer separation |
| Collusion-Resilience | Chung, Roughgarden, Shi | Collusion-proof mechanisms | GF(3) tripartite structure |
Boneh Primitives
| Primitive | Paper | Application |
|---|---|---|
| BLS Signatures | Boneh-Lynn-Shacham 2001 | Threshold aggregation, DRAND |
| ZK Proofs | Groth16, PLONK contributions | On-chain state verification |
| VRFs | Micali, Rabin, Vadhan + Boneh | Unpredictable determinism |
| Recursive SNARKs | Nova (Kothapalli, Setty, Boneh) | Incremental verification |
Roughgarden Mechanism Design
| Concept | Application | GF(3) Mapping |
|---|---|---|
| Incentive Compatibility | Users report true valuations | Reafference = prediction ≡ observation |
| Welfare Maximization | Total surplus optimization | sum(trits) ≡ 0 ⟹ balanced extraction |
| DSIC + OCA-proofness | No collusion advantage | Tripartite prevents 2-party collusion |
| SAKA Mechanism | ~50% welfare guarantee | Reserve-commit = bulk-boundary |
WEV vs MEV
MEV (Maximal Extractable Value)
MEV = Adversarial extraction by block producers
= front-running + sandwich attacks + reordering
= User harm + market inefficiency
WEV (World Extractable Value)
WEV = Protocol-aligned extraction
= base_value × staleness_mult × scarcity_mult
= Sequencing advantage without user harm
Key Difference: WEV emerges from GF(3)-conserved triads, not transaction reordering.
Mathematical Foundation
From GAY_LITEPAPER:
# WEV extraction function
function extract_wev(agent, world)
base = compute_base_value(agent.colors)
staleness = exp(world.age / STALENESS_CONSTANT)
scarcity = 1 / (1 + world.color_frequency[agent.current_color])
return base * staleness * scarcity
end
# GF(3) conservation ensures no zero-sum extraction
# WEV(A) + WEV(B) + WEV(C) > 0 when sum(trits) ≡ 0 (mod 3)
FDCI Integration
SPEEDEX: Batch DEX Semantics
SPEEDEX eliminates MEV via batch execution with Arrow-Debreu pricing:
Traditional DEX:
tx_1 → tx_2 → tx_3 (ordering matters → MEV)
SPEEDEX:
{tx_1, tx_2, tx_3} → uniform_price (batch → no MEV)
GF(3) Mapping:
struct SPEEDEXTriad
sell_order::Order # trit = -1 (supply)
price_oracle::Oracle # trit = 0 (equilibrium)
buy_order::Order # trit = +1 (demand)
end
# Conservation: supply + equilibrium + demand = 0
# No ordering → no front-running → pure WEV
Groundhog: Commutative Execution
Groundhog's key insight: Commutative semantics = Order independence = SPI.
# From Groundhog paper (arXiv:2404.03201)
#
# Transactions within a block are NOT ordered relative to one another.
# Instead: commutative semantics deterministically resolve concurrent accesses.
struct GroundhogBlock
transactions::Set{Transaction} # Unordered set
reserve_commit::TwoPhaseProtocol
# Commutative resolution
function execute(self)
# All tx execute concurrently
# Conflicts resolved via reserve-commit (not ordering)
parallel_execute(self.transactions)
end
end
# This IS SPI: same transactions, any order → same result
WEV in Groundhog:
- No ordering advantage → No front-running MEV
- Value comes from efficient execution, not sequencing tricks
- 500K+ TPS on 96 cores = pure throughput WEV
TFM Post-MEV: Searcher-Proposer Separation
Roughgarden's SAKA mechanism separates roles:
Traditional:
Proposer = Searcher = Block Producer (can extract MEV)
SAKA:
Searcher: Finds value extraction opportunities
Proposer: Commits to block without seeing content
→ Searchers compete, proposer is "MEV-blind"
GF(3) Tripartite Mapping:
const TRIPARTITE_ROLES = (
MINUS = :Verifier, # Checks validity, slashes violations
ERGODIC = :Coordinator, # SAKA mechanism, price oracle
PLUS = :Searcher, # Finds WEV opportunities
)
struct TripartiteTFM
searchers::Ve
Установить boneh-roughgarden-wev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл boneh-roughgarden-wev?
Boneh-Roughgarden WEV Skill
Как установить скилл boneh-roughgarden-wev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл boneh-roughgarden-wev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic