As a non-controller with empty state, NftDetectionController
should not inherit from BaseController
#4434
Labels
NftDetectionController
should not inherit from BaseController
#4434
Requirements
BaseControllerV1
orBaseController
.Controller
suffix in its name.ControllerState
,ControllerGetStateAction
,ControllerStateChangeEvent
should not be defined or exported.messenger
as a constructor option.messenger
should be defined with allowlists that enable the class to make all communications with other controller classes that were previously supported.Should not accept any class method callbacks as constructor options. Messenger actions/events should be used to communicate instead.In some cases, methods that implement API interactions should be extracted into a dedicatedservice
class.The text was updated successfully, but these errors were encountered: