classic-ui/modules/account/injectors/walletInjectors.js

11 lines
263 B
JavaScript
Raw Normal View History

2022-04-22 06:05:56 +03:00
import { mapGetters, mapState, mapActions } from 'vuex'
export const walletComputed = {
...mapState('metamask', ['ethAccount']),
...mapGetters('metamask', ['netId', 'isLoggedIn'])
}
export const walletActions = {
...mapActions('metamask', ['onLogOut'])
}