·upgrade-stylus-contracts
!

upgrade-stylus-contracts

Arbitrum에서 OpenZeppelin 프록시 패턴을 사용하여 Stylus 스마트 계약을 업그레이드하세요. 사용자가 (1) UUPS 또는 Beacon 프록시를 사용하여 Stylus Rust 계약을 업그레이드할 수 있게 만들고, (2) Stylus 관련 프록시 메커니즘(logic_flag, WASM 재활성화)을 이해하고, (3) UUPSUpgradeable을 액세스 제어와 통합하고, (4) 업그레이드 전반에 걸쳐 저장소 호환성을 보장하거나, (5) Stylus 계약에 대한 업그레이드 경로를 테스트해야 하는 경우에 사용합니다.

44설치·5트렌드·@openzeppelin

설치

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

upgrade-stylus-contracts 설치 방법

명령줄에서 upgrade-stylus-contracts AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: 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 |

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts
카테고리
!보안
인증됨
최초 등록
2026-03-06
업데이트
2026-03-10

Browse more skills from openzeppelin/openzeppelin-skills

빠른 답변

upgrade-stylus-contracts이란?

Arbitrum에서 OpenZeppelin 프록시 패턴을 사용하여 Stylus 스마트 계약을 업그레이드하세요. 사용자가 (1) UUPS 또는 Beacon 프록시를 사용하여 Stylus Rust 계약을 업그레이드할 수 있게 만들고, (2) Stylus 관련 프록시 메커니즘(logic_flag, WASM 재활성화)을 이해하고, (3) UUPSUpgradeable을 액세스 제어와 통합하고, (4) 업그레이드 전반에 걸쳐 저장소 호환성을 보장하거나, (5) Stylus 계약에 대한 업그레이드 경로를 테스트해야 하는 경우에 사용합니다. 출처: openzeppelin/openzeppelin-skills.

upgrade-stylus-contracts 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/openzeppelin/openzeppelin-skills --skill upgrade-stylus-contracts 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

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