notional-labs / UltraStableJuno

Decentralized stablecoin on Juno Network.
MIT License
10 stars 6 forks source link

Isolate Role Authorization #24

Closed mccallofthewild closed 2 years ago

mccallofthewild commented 2 years ago

Currently role authorization is redundant and stored locally across every contract:

image

This PR isolates role storage to a single contract and implements a Controller/Provider pattern for easy use and isolated testing.

mccallofthewild commented 2 years ago

Triple checked that all role requirements were migrated accurately. Merging.