Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
grothem committed Dec 11, 2023
1 parent fda96ff commit 644ea70
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
import { providers } from 'ethers';
import { GovernanceDataHelper as GovernanceDataHelperContract } from '../typechain/GovernanceDataHelper';
import { GovernanceDataHelper__factory } from '../typechain/factories/GovernanceDataHelper__factory';
import { AccessLevel, ProposalV3State } from '../types';

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,
/** created, waiting for a cooldown to initiate the balances snapshot */
Created,
/** balances snapshot set, voting in progress */
Active,
/** voting results submitted, but proposal is under grace period when guardian can cancel it */
Queued,
/** results sent to the execution chain(s) */
Executed,
/** voting was not successful */
Failed,
/** got cancelled by guardian, or because proposition power of creator dropped below allowed minimum */
Cancelled,
Expired,
}

export type ProposalPayload = {
chain: number;
Expand Down
26 changes: 0 additions & 26 deletions packages/contract-helpers/src/governance-v3/types.ts

This file was deleted.

0 comments on commit 644ea70

Please sign in to comment.