# wrappers/Governance

## Index

### Enumerations

* [ProposalStage](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [VoteValue](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)

### Classes

* [GovernanceWrapper](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)

### Interfaces

* [GovernanceConfig](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [HotfixRecord](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [ParticipationParameters](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [ProposalMetadata](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [ProposalRecord](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [ProposalStageDurations](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [UpvoteRecord](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [VoteRecord](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [Voter](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)
* [Votes](https://josh-8.gitbook.io/celo-docs/developer-guide/summary/external-modules/broken-reference)

### Type aliases

* [HotfixParams](#hotfixparams)
* [Proposal](#proposal)
* [ProposalParams](#proposalparams)
* [ProposalTransaction](#proposaltransaction)

### Functions

* [hotfixToParams](#const-hotfixtoparams)
* [proposalToParams](#const-proposaltoparams)

## Type aliases

### HotfixParams

Ƭ **HotfixParams**: *Parameters‹Governance\["methods"]\["executeHotfix"]›*

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:114*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L114)

### Proposal

Ƭ **Proposal**: [*ProposalTransaction*](#proposaltransaction)*\[]*

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:74*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L74)

### ProposalParams

Ƭ **ProposalParams**: *Parameters‹Governance\["methods"]\["propose"]›*

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:72*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L72)

### ProposalTransaction

Ƭ **ProposalTransaction**: *Pick‹Transaction, "to" | "input" | "value"›*

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:73*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L73)

## Functions

### `Const` hotfixToParams

▸ **hotfixToParams**(`proposal`: [Proposal](#proposal), `salt`: Buffer): [*HotfixParams*](#hotfixparams)

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:115*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L115)

**Parameters:**

| Name       | Type                  |
| ---------- | --------------------- |
| `proposal` | [Proposal](#proposal) |
| `salt`     | Buffer                |

**Returns:** [*HotfixParams*](#hotfixparams)

### `Const` proposalToParams

▸ **proposalToParams**(`proposal`: [Proposal](#proposal), `descriptionURL`: string): [*ProposalParams*](#proposalparams)

*Defined in* [*packages/contractkit/src/wrappers/Governance.ts:76*](https://github.com/celo-org/celo-monorepo/blob/master/packages/contractkit/src/wrappers/Governance.ts#L76)

**Parameters:**

| Name             | Type                  |
| ---------------- | --------------------- |
| `proposal`       | [Proposal](#proposal) |
| `descriptionURL` | string                |

**Returns:** [*ProposalParams*](#proposalparams)
