ProposalTransactionJSON

JSON encoding of a proposal transaction.

Example:

{
"contract": "Election",
"function": "setElectableValidators",
"args": [ "1", "120" ],
"value": "0"
}

Hierarchy

  • ProposalTransactionJSON

Index

Properties

Properties

args

args: any[]

Defined in contractkit/src/governance/proposals.ts:39

contract

contract: CeloContract

Defined in contractkit/src/governance/proposals.ts:37

function

function: string

Defined in contractkit/src/governance/proposals.ts:38

Optional params

params? : Record‹string, any›

Defined in contractkit/src/governance/proposals.ts:40

value

value: string

Defined in contractkit/src/governance/proposals.ts:41