{
"version": "eosio::abi/1.1",
"types": [
{
"new_type_name": "pay_entry",
"type": "tuple_extended_asset_time_point_sec"
}
],
"structs": [
{
"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"
}
]
},
{
"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$"
}
]
},
{
"name": "cycleupdate",
"base": "",
"fields": []
},
{
"name": "executeprop",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
}
]
},
{
"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"
}
]
},
{
"name": "pair_uint8_uint32",
"base": "",
"fields": [
{
"name": "key",
"type": "uint8"
},
{
"name": "value",
"type": "uint32"
}
]
},
{
"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$"
}
]
},
{
"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?"
}
]
},
{
"name": "updatecycle",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "start_time",
"type": "time_point_sec"
},
{
"name": "budget",
"type": "extended_asset[]"
}
]
},
{
"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?"
}
]
}
],
"actions": [
{
"name": "addcycle",
"type": "addcycle",
"ricardian_contract": ""
},
{
"name": "addvote",
"type": "addvote",
"ricardian_contract": ""
},
{
"name": "createprop",
"type": "createprop",
"ricardian_contract": ""
},
{
"name": "cycleupdate",
"type": "cycleupdate",
"ricardian_contract": ""
},
{
"name": "executeprop",
"type": "executeprop",
"ricardian_contract": ""
},
{
"name": "hgrejectprop",
"type": "hgrejectprop",
"ricardian_contract": ""
},
{
"name": "init",
"type": "init",
"ricardian_contract": ""
},
{
"name": "processcycle",
"type": "processcycle",
"ricardian_contract": ""
},
{
"name": "update",
"type": "update",
"ricardian_contract": ""
},
{
"name": "updatecycle",
"type": "updatecycle",
"ricardian_contract": ""
},
{
"name": "updateprop",
"type": "updateprop",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "config",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "config"
},
{
"name": "cycle",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "cycle"
},
{
"name": "proposal",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "proposal"
},
{
"name": "reservation",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "reservation"
},
{
"name": "vote",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "vote"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}