superfluid-finance / custom-supertokens

12 stars 11 forks source link

[CUSTOM-SUPER-TOKENS] Support Upgradability of Custom Super Token Logic #30

Open hellwolf opened 1 year ago

hellwolf commented 1 year ago

Background: currently none of our custom super token examples show that you can make custom super token logic upgradable. This is the ticket to address that.

Notes

Different techniques:

1) decouple from Superfluid managed super token logic (GoodDollar way). 2) custom routing table: bespoke solutions (chained, "artificial" diamond) vs. diamond pattern. a) see eip-1967

Important factors:

1) etherscan readability: Technique (1) EASY; Technique (2) POSSIBLE 2) tooling support: ?? 3) auditability.

hellwolf commented 11 months ago

One related improvement: https://github.com/superfluid-finance/protocol-monorepo/pull/1700