IMigratableModule
Title: IMigratableModule
Interface for modules that support PaymentProcessor migration.
Modules implementing this interface can be re-pointed to a new PaymentProcessor via the current processor's migrateModule() function. The call is guarded by onlyPaymentProcessor so only the current processor can initiate migration.
Functions
setPaymentProcessor
Updates the module's PaymentProcessor address.
Must be guarded by onlyPaymentProcessor modifier in implementations.
function setPaymentProcessor(address _newProcessor) external;
Parameters
| Name | Type | Description |
|---|---|---|
_newProcessor | address | Address of the new PaymentProcessor |