Governance#

CreateCfp#

class defichain.transactions.defitx.CreateCfp#

CreateVoc#

class defichain.transactions.defitx.CreateVoc#

Vote#

class defichain.transactions.defitx.Vote(proposalId: str, masternodeId: str, decision: str)#

Builds the defi transaction: Vote

Parameters:
  • proposalId (str) – (required) The proposal txid

  • masternodeId (str) – (required) The masternodeId to vote with

  • decision (str) – (required) The vote decision (yes/no/neutral)