3#include <eosio/eosio.hpp>
4#include <eosio/crypto.hpp>
6#include "../consts.hpp"
54 uint64_t
by_subnet()
const {
return subnet_label.value; }
57typedef eosio::multi_index<
59 eosio::indexed_by<
"bysubnet"_n, eosio::const_mem_fun<coop, uint64_t, &coop::by_subnet>>>
contract
Definition: eosio.msig_tests.cpp:977
eosio::multi_index< "coops"_n, coop, eosio::indexed_by<"bysubnet"_n, eosio::const_mem_fun< coop, uint64_t, &coop::by_subnet > > > coops_index
Definition: table_apps_coops.hpp:60
Definition: eosio.msig.hpp:34
Запись каталога: кооператив, зарегистрированный в каталоге.
Definition: table_apps_coops.hpp:44
time_point_sec registered_at
Definition: table_apps_coops.hpp:50
name coopname
Definition: table_apps_coops.hpp:45
name subnet_label
Definition: table_apps_coops.hpp:47
checksum256 chain_id
Definition: table_apps_coops.hpp:46
uint64_t primary_key() const
Definition: table_apps_coops.hpp:53
uint64_t by_subnet() const
Definition: table_apps_coops.hpp:54
public_key signing_key
Definition: table_apps_coops.hpp:48
time_point_sec key_rotated_at
Definition: table_apps_coops.hpp:51
bool active
Definition: table_apps_coops.hpp:49