Upgrade Providers
Upgrade Providers lets you remove an existing provider for a user and replace it with a new one. If you've changed functionality for a custom provider for your end users, this is often a useful way to apply that new functionality without disrupting user-flow beyond accepting a new signature from the user.
To upgrade a Provider, call the upgradeProvidersFor
function on the Snowflake smart contract with the arguments defined below. This function updates the Providers by removing old, unwanted provider addresses and adding new ones for an EIN. Resolvers that appropriately permission function calls based on Provider should continue interacting with the user as normal after this function is called for a user.
upgradeProviders function
The upgradeProvider
function should contain:
ARGUMENTS
Parameter | Type | Description |
|
| A current |
|
| Array of new provider |
|
| Array of old provider |
|
| Signed message as required in the format below. |
As this function calls two separate internal functions within Snowflake, two signatures will need to be collected as follows:
and
Last updated