-
Notifications
You must be signed in to change notification settings - Fork 3
/
events.proto
132 lines (118 loc) · 3 KB
/
events.proto
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
syntax = "proto3";
package api_pb;
option go_package = "github.com/MinterTeam/node-grpc-gateway/gen/go;api_pb";
message JailEvent {
string validator_pub_key = 1;
uint64 jailed_until = 2;
}
message RemoveCandidateEvent {
string candidate_pub_key = 1;
}
message RewardEvent {
enum Role {
Validator = 0;
Delegator = 1;
DAO = 2;
Developers = 3;
}
Role role = 1;
string address = 2;
string amount = 3;
string validator_pub_key = 4;
// coin for which the delegator received the reward
uint64 for_coin = 6;
}
message SlashEvent {
string address = 1;
string amount = 2;
uint64 coin = 3;
string validator_pub_key = 4;
}
message UnbondEvent {
string address = 1;
string amount = 2;
uint64 coin = 3;
string validator_pub_key = 4;
}
message StakeKickEvent {
string address = 1;
string amount = 2;
uint64 coin = 3;
string validator_pub_key = 4;
}
message UpdateNetworkEvent {
string version = 1;
}
message UpdateCommissionsEvent {
uint64 coin = 3;
string payload_byte = 4;
string send = 5;
string buy_bancor = 38;
string sell_bancor = 39;
string sell_all_bancor = 40;
string buy_pool_base = 41;
string buy_pool_delta = 53;
string sell_pool_base = 42;
string sell_pool_delta = 54;
string sell_all_pool_base = 43;
string sell_all_pool_delta = 55;
string create_ticker3 = 7;
string create_ticker4 = 8;
string create_ticker5 = 9;
string create_ticker6 = 10;
string create_ticker7_10 = 11;
string create_coin = 34;
string create_token = 35;
string recreate_coin = 36;
string recreate_token = 37;
string declare_candidacy = 13;
string delegate = 14;
string unbond = 15;
string redeem_check = 16;
string set_candidate_on = 44;
string set_candidate_off = 45;
string create_multisig = 18;
string multisend_base = 51;
string multisend_delta = 52;
string edit_candidate = 20;
string set_halt_block = 21;
string edit_ticker_owner = 22;
string edit_multisig = 23;
string edit_candidate_public_key = 25;
string create_swap_pool = 48;
string add_liquidity = 49;
string remove_liquidity = 50;
string edit_candidate_commission = 28;
string mint_token = 46;
string burn_token = 47;
string vote_commission = 31;
string vote_update = 32;
string failed_tx = 56;
string add_limit_order = 57;
string remove_limit_order = 58;
string move_stake = 59;
string lock_stake = 60;
string lock = 61;
}
message OrderExpiredEvent {
uint64 id = 1;
string address = 2;
uint64 coin = 3;
string amount = 4;
}
message UpdatedBlockRewardEvent {
string value = 1;
string value_locked_stake_rewards = 2;
}
message StakeMoveEvent {
string address = 1;
string amount = 2;
uint64 coin = 3;
string candidate_pub_key = 4;
string to_candidate_pub_key = 5;
}
message UnlockEvent {
string address = 1;
string amount = 2;
uint64 coin = 3;
}