Developer Guide

wrappers/Governance

Index

Enumerations

Classes

Interfaces

Type aliases

Functions

Type aliases

HotfixParams

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

Defined in contractkit/src/wrappers/Governance.ts:107

Proposal

Ƭ Proposal: ProposalTransaction[]

Defined in contractkit/src/wrappers/Governance.ts:67

ProposalParams

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

Defined in contractkit/src/wrappers/Governance.ts:65

ProposalTransaction

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

Defined in contractkit/src/wrappers/Governance.ts:66

Functions

Const hotfixToParams

hotfixToParams(proposal: Proposal, salt: Buffer): HotfixParams

Defined in contractkit/src/wrappers/Governance.ts:108

Parameters:

Name

Type

proposal

Proposal

salt

Buffer

Returns: HotfixParams

Const proposalToParams

proposalToParams(proposal: Proposal, descriptionURL: string): ProposalParams

Defined in contractkit/src/wrappers/Governance.ts:69

Parameters:

Name

Type

proposal

Proposal

descriptionURL

string

Returns: ProposalParams