-
Notifications
You must be signed in to change notification settings - Fork 42
/
events.go
36 lines (34 loc) · 1.33 KB
/
events.go
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
package types
// nolint
const (
EventTypeCreateDataSource = "create_data_source"
EventTypeEditDataSource = "edit_data_source"
EventTypeCreateOracleScript = "create_oracle_script"
EventTypeEditOracleScript = "edit_oracle_script"
EventTypeRequest = "request"
EventTypeRawRequest = "raw_request"
EventTypeReport = "report"
EventTypeActivate = "activate"
EventTypeDeactivate = "deactivate"
EventTypeAddReporter = "add_reporter"
EventTypeRemoveReporter = "remove_reporter"
EventTypeResolve = "resolve"
EventTypeSendPacketFail = "send_packet_fail"
AttributeKeyID = "id"
AttributeKeyDataSourceID = "data_source_id"
AttributeKeyOracleScriptID = "oracle_script_id"
AttributeKeyExternalID = "external_id"
AttributeKeyDataSourceHash = "data_source_hash"
AttributeKeyCalldata = "calldata"
AttributeKeyValidator = "validator"
AttributeKeyReporter = "reporter"
AttributeKeyClientID = "client_id"
AttributeKeyAskCount = "ask_count"
AttributeKeyMinCount = "min_count"
AttributeKeyResolveStatus = "resolve_status"
AttributeKeyGasUsed = "gas_used"
AttributeKeyTotalFees = "total_fees"
AttributeKeyFee = "fee"
AttributeKeyResult = "result"
AttributeKeyReason = "reason"
)