Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
grothem committed Dec 8, 2023
1 parent 40a6b88 commit d87da87
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '../typechain/GovernanceDataHelper';
import { GovernanceDataHelper__factory } from '../typechain/factories/GovernanceDataHelper__factory';

export enum ProposalState {
export enum ProposalV3State {
/** proposal does not exist */
Null,
/** created, waiting for a cooldown to initiate the balances snapshot */
Expand All @@ -30,8 +30,8 @@ export type ProposalPayload = {
payloadId: number;
};

export type Proposal = {
state: ProposalState;
export type ProposalV3 = {
state: ProposalV3State;
accessLevel: number;
creationTime: number;
votingDuration: number;
Expand All @@ -50,7 +50,7 @@ export type Proposal = {
export type ProposalData = {
id: string;
votingChainId: number;
proposalData: Proposal;
proposalData: ProposalV3;
};

export interface GovernanceDataHelperInterface {
Expand Down

0 comments on commit d87da87

Please sign in to comment.