@celo/governance"proposals"ProposalTransactionJSON

Interface: 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 proposals.ts:72


contract

contract: CeloContract

Defined in proposals.ts:70


function

function: string

Defined in proposals.ts:71


Optional params

params? : Record‹string, any›

Defined in proposals.ts:73


value

value: string

Defined in proposals.ts:74