classic-ui-dev/modules/account/injectors/walletInjectors.js
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

11 lines
263 B
JavaScript

import { mapGetters, mapState, mapActions } from 'vuex'
export const walletComputed = {
...mapState('metamask', ['ethAccount']),
...mapGetters('metamask', ['netId', 'isLoggedIn'])
}
export const walletActions = {
...mapActions('metamask', ['onLogOut'])
}