Skip to content

Commit

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

export enum AccessLevel {
/** Do not use */
None,
/** listing assets, changes of assets params, updates of the protocol etc */
Short_Executor,
/** payloads controller updates */
Long_Executor,
}

export enum ProposalV3State {
/** proposal does not exist */
Null,
Expand Down Expand Up @@ -32,7 +41,7 @@ export type ProposalPayload = {

export type ProposalV3 = {
state: ProposalV3State;
accessLevel: number;
accessLevel: AccessLevel;
creationTime: number;
votingDuration: number;
votingActivationTime: number;
Expand Down

0 comments on commit d78bb15

Please sign in to comment.