3#include <eosio/eosio.hpp>
6#include "../../consts.hpp"
7#include "../actions.hpp"
9#include "../../domain/document_core.hpp"
13#define CREATEAGENDA_SIGNATURE name coopname, name username, name type, checksum256 hash, name callback_contract, name confirm_callback, name decline_callback, document2 statement, std::string meta
16#define CREATEAPPRV_SIGNATURE name coopname, name username, document2 document, name type, checksum256 approval_hash, name callback_contract, name callback_action_approve, name callback_action_decline, std::string meta
19#define DECLINE_CALLBACK_SIGNATURE name coopname, checksum256 hash, std::string reason
22#define AUTHORIZE_CALLBACK_SIGNATURE name coopname, checksum256 hash, document2 authorization
25#define NEWSUBMITTED_SIGNATURE name coopname, name username, name action, checksum256 package, document2 document
28#define NEWRESOLVED_SIGNATURE name coopname, name username, name action, checksum256 package, document2 document
31#define NEWDECISION_SIGNATURE name coopname, name username, name action, checksum256 package, document2 document
34#define NEWDECLINED_SIGNATURE name coopname, name username, checksum256 package, document2 document
37#define NEWACT_SIGNATURE name coopname, name username, name action, checksum256 package, document2 document
40#define NEWLINK_SIGNATURE name coopname, name username, name action, checksum256 package, document2 document
43#define NEWAGREEMENT_SIGNATURE name coopname, name username, name type, document2 document
46#define NEWPACKAGE_SIGNATURE name coopname, name username, name action, checksum256 package
49#define OPENPROGWALL_SIGNATURE name coopname, name username, name program_type, uint64_t agreement_id
56 username, type, hash, callback_contract, confirm_callback,
57 decline_callback, statement, meta);
62 username,
document, type, approval_hash, callback_contract,
63 callback_action_approve, callback_action_decline, meta);
68 Action::send<newsubmitted_interface>(
_soviet,
"newsubmitted"_n, calling_contract, coopname, username,
action,
71 Action::send<newresolved_interface>(
_soviet,
"newresolved"_n, calling_contract, coopname, username,
action,
static constexpr eosio::name _soviet
Definition: consts.hpp:156
#define OPENPROGWALL_SIGNATURE
Definition: soviet.hpp:49
void(AUTHORIZE_CALLBACK_SIGNATURE) authorize_callback_interface
Definition: soviet.hpp:23
#define NEWSUBMITTED_SIGNATURE
Definition: soviet.hpp:25
void(NEWACT_SIGNATURE) newact_interface
Definition: soviet.hpp:38
#define NEWAGREEMENT_SIGNATURE
Definition: soviet.hpp:43
#define NEWLINK_SIGNATURE
Definition: soviet.hpp:40
void(NEWRESOLVED_SIGNATURE) newresolved_interface
Definition: soviet.hpp:29
void(NEWAGREEMENT_SIGNATURE) newagreement_interface
Definition: soviet.hpp:44
#define NEWDECISION_SIGNATURE
Definition: soviet.hpp:31
void(CREATEAPPRV_SIGNATURE) createapprv_interface
Definition: soviet.hpp:17
void(NEWLINK_SIGNATURE) newlink_interface
Definition: soviet.hpp:41
void(NEWDECISION_SIGNATURE) newdecision_interface
Definition: soviet.hpp:32
void(NEWDECLINED_SIGNATURE) newdeclined_interface
Definition: soviet.hpp:35
#define NEWRESOLVED_SIGNATURE
Definition: soviet.hpp:28
#define DECLINE_CALLBACK_SIGNATURE
Definition: soviet.hpp:19
void(CREATEAGENDA_SIGNATURE) createagenda_interface
Definition: soviet.hpp:14
void(NEWSUBMITTED_SIGNATURE) newsubmitted_interface
Definition: soviet.hpp:26
#define AUTHORIZE_CALLBACK_SIGNATURE
Definition: soviet.hpp:22
#define NEWACT_SIGNATURE
Definition: soviet.hpp:37
void(NEWPACKAGE_SIGNATURE) newpackage_interface
Definition: soviet.hpp:47
void(DECLINE_CALLBACK_SIGNATURE) decline_callback_interface
Definition: soviet.hpp:20
#define NEWDECLINED_SIGNATURE
Definition: soviet.hpp:34
#define CREATEAGENDA_SIGNATURE
Definition: soviet.hpp:13
void(OPENPROGWALL_SIGNATURE) openprogwall_interface
Definition: soviet.hpp:50
#define NEWPACKAGE_SIGNATURE
Definition: soviet.hpp:46
#define CREATEAPPRV_SIGNATURE
Definition: soviet.hpp:16
constexpr eosio::name CREATE_APPROVAL
Definition: names.hpp:85
constexpr eosio::name CREATE_AGENDA
Definition: names.hpp:86
Definition: soviet.hpp:52
void make_complete_document(name calling_contract, name coopname, name username, name action, checksum256 package, document2 document)
Definition: soviet.hpp:66
void create_agenda(name calling_contract, CREATEAGENDA_SIGNATURE)
Definition: soviet.hpp:54
void create_approval(name calling_contract, CREATEAPPRV_SIGNATURE)
Definition: soviet.hpp:60
Definition: eosio.msig.hpp:34
action(permission_level{ _gateway, "active"_n}, _gateway, "adduser"_n, std::make_tuple(coopname, deposit->username, to_spread, to_circulation, eosio::current_time_point(), true)).send()
Definition: document_core.hpp:27
Definition: document_core.hpp:10