forked from LaconicNetwork/cosmos-explorer
add group
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export const useStoreName = defineStore('group', {
|
||||
state: () => {
|
||||
return {};
|
||||
},
|
||||
getters: {},
|
||||
actions: {},
|
||||
});
|
||||
@@ -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
|
||||
}
|
||||
+2
-1
@@ -8,4 +8,5 @@ export * from './gov'
|
||||
export * from './staking'
|
||||
export * from './transaction'
|
||||
export * from './ibc'
|
||||
export * from './slashing'
|
||||
export * from './slashing'
|
||||
export * from './group'
|
||||
Reference in New Issue
Block a user