-
Notifications
You must be signed in to change notification settings - Fork 4
/
events.go
executable file
·33 lines (31 loc) · 1.2 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
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"
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"
AttributeKeyResult = "result"
AttributeKeyReason = "reason"
)