Clarity theorytheory 0/50 · 0%
Traits · hard

40. Trait Versioning

Updating interfaces.

Since traits are immutable, updating a standard (like SIP-010) requires creating a new trait (SIP-010v2) and having contracts implement the new one.

Check your understanding

  1. 1. Can you add a function to an existing trait?