forked from cerc-io/cosmos-explorer
19 lines
441 B
TypeScript
19 lines
441 B
TypeScript
import { defineStore } from "pinia";
|
|
import { useBlockchain } from "./useBlockchain";
|
|
|
|
export const useDistributionStore = defineStore('distributionStore', {
|
|
state: () => {
|
|
return {
|
|
}
|
|
},
|
|
getters: {
|
|
blockchain() {
|
|
return useBlockchain()
|
|
}
|
|
},
|
|
actions: {
|
|
async fetchCommunityPool() {
|
|
return this.blockchain.rpc.getDistributionCommunityPool()
|
|
}
|
|
}
|
|
}) |