COOPENOMICS  v1
Кооперативная Экономика
table_wallet_users.hpp
См. документацию.
1#pragma once
2
3#include <eosio/crypto.hpp>
4#include <eosio/eosio.hpp>
5#include <vector>
6
7#include "../consts.hpp"
8
9namespace WalletTables {
10
11using namespace eosio;
12
22 uint64_t program_id;
23 checksum256 doc_hash;
24 uint16_t version;
25 uint64_t draft_id;
27};
28
37struct [[eosio::table, eosio::contract(WALLET)]] user {
39 std::vector<program_agreement> programs;
40
41 uint64_t primary_key() const { return username.value; }
42};
43
44typedef multi_index<"users"_n, user> users_index;
45
46} // namespace WalletTables
contract
Definition: eosio.msig_tests.cpp:977
Definition: table_wallet_deposits.hpp:9
multi_index<"users"_n, user > users_index
Definition: table_wallet_users.hpp:44
Definition: eosio.msig.hpp:34
eosio::time_point time_point
Definition: blockinfo_tester.hpp:30
Definition: table_wallet_users.hpp:21
uint64_t draft_id
Definition: table_wallet_users.hpp:25
time_point signed_at
Definition: table_wallet_users.hpp:26
uint64_t program_id
Definition: table_wallet_users.hpp:22
uint16_t version
Definition: table_wallet_users.hpp:24
checksum256 doc_hash
Definition: table_wallet_users.hpp:23
Definition: table_wallet_users.hpp:37
name username
Definition: table_wallet_users.hpp:38
std::vector< program_agreement > programs
Definition: table_wallet_users.hpp:39
uint64_t primary_key() const
Definition: table_wallet_users.hpp:41