{
"version": "eosio::abi/1.2",
"types": [],
"structs": [
{
"name": "addoption",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "poll_id",
"type": "uint64"
},
{
"name": "text",
"type": "string"
}
]
},
{
"name": "cancel",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "poll_id",
"type": "uint64"
}
]
},
{
"name": "config",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "mint_nft",
"type": "bool"
}
]
},
{
"name": "create",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "title",
"type": "string"
},
{
"name": "content",
"type": "string"
},
{
"name": "min_turnout",
"type": "uint16"
},
{
"name": "min_percentage",
"type": "uint16"
},
{
"name": "begin",
"type": "time_point_sec"
},
{
"name": "end",
"type": "time_point_sec"
},
{
"name": "mint_nft",
"type": "bool"
},
{
"name": "cover",
"type": "string"
}
]
},
{
"name": "migrate",
"base": "",
"fields": []
},
{
"name": "notifychange",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "amount",
"type": "uint64"
}
]
},
{
"name": "option_item",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "text",
"type": "string"
},
{
"name": "votes",
"type": "uint64"
}
]
},
{
"name": "poll_item",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "title",
"type": "string"
},
{
"name": "content",
"type": "string"
},
{
"name": "cover",
"type": "string"
},
{
"name": "votes",
"type": "uint64"
},
{
"name": "options",
"type": "uint8"
},
{
"name": "status",
"type": "uint8"
},
{
"name": "voters",
"type": "uint64"
},
{
"name": "turnout",
"type": "uint16"
},
{
"name": "min_turnout",
"type": "uint16"
},
{
"name": "result",
"type": "uint64"
},
{
"name": "percentage",
"type": "uint16"
},
{
"name": "min_percentage",
"type": "uint16"
},
{
"name": "mint_nft",
"type": "bool"
},
{
"name": "begin",
"type": "time_point_sec"
},
{
"name": "end",
"type": "time_point_sec"
}
]
},
{
"name": "poll_item_old",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "title",
"type": "string"
},
{
"name": "content",
"type": "string"
},
{
"name": "votes",
"type": "uint64"
},
{
"name": "options",
"type": "uint8"
},
{
"name": "status",
"type": "uint8"
},
{
"name": "voters",
"type": "uint64"
},
{
"name": "turnout",
"type": "uint16"
},
{
"name": "min_turnout",
"type": "uint16"
},
{
"name": "result",
"type": "uint64"
},
{
"name": "percentage",
"type": "uint16"
},
{
"name": "min_percentage",
"type": "uint16"
},
{
"name": "mint_nft",
"type": "bool"
},
{
"name": "begin",
"type": "time_point_sec"
},
{
"name": "end",
"type": "time_point_sec"
}
]
},
{
"name": "pollvote_item",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "option_id",
"type": "uint64"
},
{
"name": "votes",
"type": "uint64"
}
]
},
{
"name": "remove",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
}
]
},
{
"name": "update",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "title",
"type": "string"
},
{
"name": "content",
"type": "string"
},
{
"name": "min_turnout",
"type": "uint16"
},
{
"name": "min_percentage",
"type": "uint16"
},
{
"name": "begin",
"type": "time_point_sec"
},
{
"name": "end",
"type": "time_point_sec"
},
{
"name": "mint_nft",
"type": "bool"
},
{
"name": "cover",
"type": "string"
}
]
},
{
"name": "updateoption",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "poll_id",
"type": "uint64"
},
{
"name": "text",
"type": "string"
}
]
},
{
"name": "updatestatus",
"base": "",
"fields": [
{
"name": "poll_id",
"type": "uint64"
}
]
},
{
"name": "uservote_item",
"base": "",
"fields": [
{
"name": "poll_id",
"type": "uint64"
},
{
"name": "option_id",
"type": "uint64"
},
{
"name": "votes",
"type": "uint64"
}
]
},
{
"name": "vote",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "poll_id",
"type": "uint64"
},
{
"name": "option_id",
"type": "uint64"
}
]
},
{
"name": "voteresult",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "status",
"type": "uint8"
},
{
"name": "voters",
"type": "uint64"
},
{
"name": "turnout",
"type": "uint16"
},
{
"name": "result",
"type": "uint64"
},
{
"name": "percentage",
"type": "uint16"
}
]
}
],
"actions": [
{
"name": "addoption",
"type": "addoption",
"ricardian_contract": ""
},
{
"name": "cancel",
"type": "cancel",
"ricardian_contract": ""
},
{
"name": "create",
"type": "create",
"ricardian_contract": ""
},
{
"name": "migrate",
"type": "migrate",
"ricardian_contract": ""
},
{
"name": "notifychange",
"type": "notifychange",
"ricardian_contract": ""
},
{
"name": "remove",
"type": "remove",
"ricardian_contract": ""
},
{
"name": "update",
"type": "update",
"ricardian_contract": ""
},
{
"name": "updateoption",
"type": "updateoption",
"ricardian_contract": ""
},
{
"name": "updatestatus",
"type": "updatestatus",
"ricardian_contract": ""
},
{
"name": "vote",
"type": "vote",
"ricardian_contract": ""
},
{
"name": "voteresult",
"type": "voteresult",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "config",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "config"
},
{
"name": "options",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "option_item"
},
{
"name": "polls",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "poll_item"
},
{
"name": "polls2",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "poll_item_old"
},
{
"name": "uservotes",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "uservote_item"
},
{
"name": "votes",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pollvote_item"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}