Skip to content

[tokens-controller] Expose getState action and stateChange event #4271

Description

@tommasini

With Token Detection Controller and Token Balances Controller, calling "TokensController:getState" action and subscribing "TokensController:stateChange" event, the Tokens Controller needs to be updated to extend Base Controller v2, to start to expose this action and this event and this action.

Where they are currently being used
Token Detection Controller:

this.messagingSystem.call('TokensController:getState');

Token Balances Controller:
this.messagingSystem.subscribe(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingteam-wallet-frameworkDeprecated: Please use `team-core-platform` instead.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions