Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 1x 1x 1x 1x 1x 1x 1x | import { GetterTree } from "vuex"; import { RootState } from ".."; import { Web3GetterName } from "./names"; import { Web3State } from "./state"; const getters: GetterTree<Web3State, RootState> = { // get loading status [Web3GetterName.web3Loading](state) { return state.loading; }, // get web3 initialize status [Web3GetterName.web3Initialize](state) { return state.initialized; }, // get loading message [Web3GetterName.web3LoadingMessage](state) { return state.message; }, // get user status [Web3GetterName.web3Status](state) { return state.status; }, [Web3GetterName.web3Network](state) { return state.network; }, [Web3GetterName.web3NetworkName](state) { return state.networkName; } }; export default getters; |