-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotify.hpp
37 lines (29 loc) · 1.1 KB
/
notify.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "directory.hpp"
#ifndef EOSDAC_NOTIFY_H
#define EOSDAC_NOTIFY_H
namespace eosdac {
namespace notify {
using namespace eosio;
namespace types {
struct account_balance_delta {
name account;
asset balance_delta;
};
struct account_weight_delta {
name account;
int64_t weight_delta;
};
struct account_stake_delta {
name account;
asset stake_delta;
};
}
void balanceobsv(vector<types::account_balance_delta> account_balance_deltas, name dac_id);
using balanceobsv_action = action_wrapper< "balanceobsv"_n, &balanceobsv >;
void stakeobsv(vector<types::account_stake_delta> account_stake_deltas, name dac_id);
using stakeobsv_action = action_wrapper< "stakeobsv"_n, &stakeobsv >;
void weightobsv(vector<types::account_weight_delta> account_weight_deltas, name dac_id);
using weightobsv_action = action_wrapper< "weightobsv"_n, &weightobsv >;
}
}
#endif