·upgrade-stylus-contracts
!

upgrade-stylus-contracts

Aktualisieren Sie Stylus-Smart-Verträge mithilfe von OpenZeppelin-Proxy-Mustern auf Arbitrum. Wird verwendet, wenn Benutzer: (1) Stylus Rust-Verträge mit UUPS- oder Beacon-Proxys aktualisierbar machen müssen, (2) Stylus-spezifische Proxy-Mechaniken verstehen (logic_flag, WASM-Reaktivierung), (3) UUPSUpgradeable mit Zugriffskontrolle integrieren, (4) Speicherkompatibilität über Upgrades hinweg sicherstellen oder (5) Upgrade-Pfade für Stylus-Verträge testen müssen.

44Installationen·5Trend·@openzeppelin

Installation

$npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts

So installieren Sie upgrade-stylus-contracts

Installieren Sie den KI-Skill upgrade-stylus-contracts schnell in Ihrer Entwicklungsumgebung über die Kommandozeile

  1. Terminal öffnen: Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Installationsbefehl ausführen: Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts
  3. Installation überprüfen: Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Quelle: openzeppelin/openzeppelin-skills.

Stylus contracts run on Arbitrum as WebAssembly (WASM) programs alongside the EVM. They share the same state trie, storage model, and account system as Solidity contracts. Because of this, EVM proxy patterns work identically for Stylus — a Solidity proxy can delegate to a Stylus implementation and vice versa.

| Proxy mechanism | Same — delegatecall to implementation contract | delegatecall to implementation contract | | Storage layout | #[storage] fields map to the same EVM slots as equivalent Solidity structs | Sequential slot allocation per Solidity rules | | EIP standards | ERC-1967 storage slots, ERC-1822 proxiable UUID | Same |

| Context detection | logicflag boolean in a unique storage slot (no immutable support) | address(this) stored as immutable | | Initialization | Two-step: constructor sets logicflag, then setversion() via proxy | Constructor + initializer via proxy |

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts
Kategorie
!Sicherheit
Verifiziert
Erstes Auftreten
2026-03-06
Aktualisiert
2026-03-10

Browse more skills from openzeppelin/openzeppelin-skills

Schnelle Antworten

Was ist upgrade-stylus-contracts?

Aktualisieren Sie Stylus-Smart-Verträge mithilfe von OpenZeppelin-Proxy-Mustern auf Arbitrum. Wird verwendet, wenn Benutzer: (1) Stylus Rust-Verträge mit UUPS- oder Beacon-Proxys aktualisierbar machen müssen, (2) Stylus-spezifische Proxy-Mechaniken verstehen (logic_flag, WASM-Reaktivierung), (3) UUPSUpgradeable mit Zugriffskontrolle integrieren, (4) Speicherkompatibilität über Upgrades hinweg sicherstellen oder (5) Upgrade-Pfade für Stylus-Verträge testen müssen. Quelle: openzeppelin/openzeppelin-skills.

Wie installiere ich upgrade-stylus-contracts?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Wo ist das Quell-Repository?

https://github.com/openzeppelin/openzeppelin-skills