diff --git a/packages/assets-controllers/src/TokensController.ts b/packages/assets-controllers/src/TokensController.ts index 4f76ad08bb..94f1741ba4 100644 --- a/packages/assets-controllers/src/TokensController.ts +++ b/packages/assets-controllers/src/TokensController.ts @@ -5,6 +5,8 @@ import type { BaseConfig, BaseState, RestrictedControllerMessenger, + ControllerGetStateAction, + ControllerStateChangeEvent, } from '@metamask/base-controller'; import { BaseControllerV1 } from '@metamask/base-controller'; import contractsMap from '@metamask/contract-metadata'; @@ -107,6 +109,13 @@ export type TokensState = BaseState & */ const controllerName = 'TokensController'; +export type TokensControllerActions = TokensControllerGetStateAction; + +export type TokensControllerGetStateAction = ControllerGetStateAction< + typeof controllerName, + TokensState +>; + /** * The external actions available to the {@link TokensController}. */