diff --git a/src/modules/[chain]/group/index.vue b/src/modules/[chain]/group/index.vue new file mode 100644 index 00000000..e69de29b diff --git a/src/stores/useGroupStore.ts b/src/stores/useGroupStore.ts new file mode 100644 index 00000000..5ffb5b55 --- /dev/null +++ b/src/stores/useGroupStore.ts @@ -0,0 +1,9 @@ +import { defineStore } from 'pinia'; + +export const useStoreName = defineStore('group', { + state: () => { + return {}; + }, + getters: {}, + actions: {}, +}); diff --git a/src/types/group.ts b/src/types/group.ts new file mode 100644 index 00000000..ba3083aa --- /dev/null +++ b/src/types/group.ts @@ -0,0 +1,43 @@ +export interface Group { + admin: string, + created_at: string, + id: string, + metadata: string, + total_weight: string, + version: string +} + +export interface GroupPolicy { +} + +export interface GroupTallyResult { + abstain_count: string, + no_count: string, + no_with_veto_count: string, + yes_count: string +} + +export interface GroupProposal { + executor_result: string, + final_tally_result: GroupTallyResult, + group_policy_address: string, + group_policy_version: string, + group_version: string, + id: string, + messages: any[], + metadata: string, + proposers: string[], + status: string, + submit_time: string, + summary: string, + title: string, + voting_period_end: string +} + +export interface GroupVote { + metadata: string, + option: string, + proposal_id: string, + submit_time: string, + voter: string +} diff --git a/src/types/index.ts b/src/types/index.ts index 017367d4..1878dd3b 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -8,4 +8,5 @@ export * from './gov' export * from './staking' export * from './transaction' export * from './ibc' -export * from './slashing' \ No newline at end of file +export * from './slashing' +export * from './group' \ No newline at end of file