
The data structures defined by this contract.
-
{ "name": "addcycle", "base": "", "fields": [ { "name": "start_time", "type": "time_point_sec" }, { "name": "budget", "type": "extended_asset[]" } ] }
-
{ "name": "addvote", "base": "", "fields": [ { "name": "voter", "type": "name" }, { "name": "prop_id", "type": "uint64" }, { "name": "vote_type", "type": "uint8" }, { "name": "comment_hash", "type": "string?" } ] }
-
{ "name": "config", "base": "", "fields": [ { "name": "cycle_duration_sec", "type": "uint32" }, { "name": "cycle_voting_duration_sec", "type": "uint32" }, { "name": "proposal_cost", "type": "extended_asset" }, { "name": "quorum", "type": "uint32" }, { "name": "current_cycle", "type": "uint16" }, { "name": "dao_contract", "type": "name" } ] }
Action parameter in createprop
{ "name": "createprop", "base": "", "fields": [ { "name": "author", "type": "name" }, { "name": "pay", "type": "pay_entry[]" }, { "name": "content_hash", "type": "string" }, { "name": "category", "type": "uint8" }, { "name": "cycle", "type": "uint16" }, { "name": "msig", "type": "name?" } ] }
-
{ "name": "cycle", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "start_time", "type": "time_point_sec" }, { "name": "budget", "type": "extended_asset[]" }, { "name": "quorum", "type": "uint32" }, { "name": "state", "type": "uint8$" }, { "name": "spent", "type": "extended_asset[]$" }, { "name": "total_vote_weight", "type": "uint64$" } ] }
Action parameter in cycleupdate
{ "name": "cycleupdate", "base": "", "fields": [] }
Action parameter in executeprop
{ "name": "executeprop", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }
Action parameter in hgrejectprop
{ "name": "hgrejectprop", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }
-
{ "name": "init", "base": "", "fields": [ { "name": "cycle_duration_sec", "type": "uint32" }, { "name": "cycle_voting_duration_sec", "type": "uint32" }, { "name": "proposal_cost", "type": "extended_asset" }, { "name": "quorum", "type": "uint32" }, { "name": "first_cycle_start_time", "type": "time_point_sec" }, { "name": "dao_contract", "type": "name" } ] }
Struct property of proposal
{ "name": "pair_uint8_uint32", "base": "", "fields": [ { "name": "key", "type": "uint8" }, { "name": "value", "type": "uint32" } ] }
Action parameter in processcycle
{ "name": "processcycle", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "id", "type": "uint64" } ] }
-
{ "name": "proposal", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "author", "type": "name" }, { "name": "content_hash", "type": "string" }, { "name": "pay", "type": "pay_entry[]" }, { "name": "vote_counts", "type": "pair_uint8_uint32[]" }, { "name": "state", "type": "uint8" }, { "name": "cycle", "type": "uint16" }, { "name": "category", "type": "uint8" }, { "name": "proof_hash", "type": "string?" }, { "name": "transaction_hash", "type": "checksum256?" }, { "name": "msig", "type": "name$" } ] }
Table row type of reservation
{ "name": "reservation", "base": "", "fields": [ { "name": "owner", "type": "name" } ] }
-
{ "name": "tuple_extended_asset_time_point_sec", "base": "", "fields": [ { "name": "field_0", "type": "extended_asset" }, { "name": "field_1", "type": "time_point_sec" } ] }
-
{ "name": "update", "base": "", "fields": [ { "name": "cycle_duration_sec", "type": "uint32" }, { "name": "cycle_voting_duration_sec", "type": "uint32" }, { "name": "quorum", "type": "uint32" }, { "name": "proposal_cost", "type": "extended_asset" }, { "name": "current_cycle", "type": "uint16?" } ] }
Action parameter in updatecycle
{ "name": "updatecycle", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "start_time", "type": "time_point_sec" }, { "name": "budget", "type": "extended_asset[]" } ] }
Action parameter in updateprop
{ "name": "updateprop", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "pay", "type": "pay_entry[]" }, { "name": "content_hash", "type": "string" }, { "name": "category", "type": "uint8" }, { "name": "cycle", "type": "uint16" }, { "name": "msig", "type": "name?" } ] }
-
{ "name": "vote", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "voter", "type": "name" }, { "name": "proposal_id", "type": "uint64" }, { "name": "type", "type": "uint8" }, { "name": "weight", "type": "uint32" }, { "name": "delegatee", "type": "name?" }, { "name": "comment_hash", "type": "string?" } ] }