COOPENOMICS  v1
Кооперативная Экономика
Структура decision

#include <table_soviet_decisions.hpp>

Открытые члены

uint64_t primary_key () const
 
uint64_t by_secondary () const
 
uint64_t bytype () const
 
uint64_t byapproved () const
 
uint64_t byvalidated () const
 
uint64_t byauthorized () const
 
checksum256 byhash () const
 
void check_for_any_vote_exist (eosio::name member) const
 
std::pair< uint64_t, uint64_t > get_votes_count () const
 

Открытые атрибуты

uint64_t id
 
eosio::name coopname
 
eosio::name username
 
eosio::name type
 
uint64_t batch_id
 
document2 statement
 
std::vector< eosio::name > votes_for
 
std::vector< eosio::name > votes_against
 
bool validated = false
 
bool approved = false
 
bool authorized = false
 
eosio::name authorized_by
 
document2 authorization
 
eosio::time_point_sec created_at
 
eosio::binary_extension< eosio::time_point_sec > expired_at
 
eosio::binary_extension< std::string > meta
 
eosio::binary_extension< name > callback_contract
 
eosio::binary_extension< name > confirm_callback
 
eosio::binary_extension< name > decline_callback
 
eosio::binary_extension< checksum256 > hash
 

Подробное описание

table: decisions

Методы

◆ by_secondary()

uint64_t decision::by_secondary ( ) const
inline

◆ byapproved()

uint64_t decision::byapproved ( ) const
inline

◆ byauthorized()

uint64_t decision::byauthorized ( ) const
inline

◆ byhash()

checksum256 decision::byhash ( ) const
inline

◆ bytype()

uint64_t decision::bytype ( ) const
inline

◆ byvalidated()

uint64_t decision::byvalidated ( ) const
inline

◆ check_for_any_vote_exist()

void decision::check_for_any_vote_exist ( eosio::name  member) const
inline

◆ get_votes_count()

std::pair< uint64_t, uint64_t > decision::get_votes_count ( ) const
inline

◆ primary_key()

uint64_t decision::primary_key ( ) const
inline

Данные класса

◆ approved

bool decision::approved = false

◆ authorization

document2 decision::authorization

◆ authorized

bool decision::authorized = false

◆ authorized_by

eosio::name decision::authorized_by

◆ batch_id

uint64_t decision::batch_id

◆ callback_contract

eosio::binary_extension<name> decision::callback_contract

◆ confirm_callback

eosio::binary_extension<name> decision::confirm_callback

◆ coopname

eosio::name decision::coopname

◆ created_at

eosio::time_point_sec decision::created_at

◆ decline_callback

eosio::binary_extension<name> decision::decline_callback

◆ expired_at

eosio::binary_extension<eosio::time_point_sec> decision::expired_at

◆ hash

eosio::binary_extension<checksum256> decision::hash

◆ id

uint64_t decision::id

◆ meta

eosio::binary_extension<std::string> decision::meta

◆ statement

document2 decision::statement

◆ type

eosio::name decision::type

◆ username

eosio::name decision::username

◆ validated

bool decision::validated = false

◆ votes_against

std::vector<eosio::name> decision::votes_against

◆ votes_for

std::vector<eosio::name> decision::votes_for

Объявления и описания членов структуры находятся в файле: