Skip to content

Add upgrade proxy pattern to creator key contract for safe migrations #999

Description

@Chucks1093

Summary

Implement a proxy upgrade pattern for the creator key contract allowing the platform to deploy logic upgrades while preserving contract state, gated behind a timelock and multi-sig approval.

Scope

  • Proxy contract delegating calls to current logic contract address
  • upgrade_logic(new_address) — queued through timelock and multi-sig
  • get_logic_address() — returns current logic contract address
  • Upgrade emits LogicUpgraded event with old and new address
  • Emergency freeze option to halt proxy during upgrade window

Acceptance Criteria

  • Proxy correctly delegates all calls to logic contract
  • upgrade_logic requires timelock delay and multi-sig approval
  • State preserved correctly across logic upgrade
  • LogicUpgraded event emitted with correct addresses
  • Emergency freeze halts all proxy calls until lifted

ETA

24 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions