agents/types/disputeflagtype_string.go
// Code generated by "stringer -type=DisputeFlagType -linecomment"; DO NOT EDIT.
package types
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[DisputeFlagNone-0]
_ = x[DisputeFlagPending-1]
_ = x[DisputeFlagSlashed-2]
}
const _DisputeFlagType_name = "DisputeFlagNoneDisputeFlagPendingDisputeFlagSlashed"
var _DisputeFlagType_index = [...]uint8{0, 15, 33, 51}
func (i DisputeFlagType) String() string {
if i >= DisputeFlagType(len(_DisputeFlagType_index)-1) {
return "DisputeFlagType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _DisputeFlagType_name[_DisputeFlagType_index[i]:_DisputeFlagType_index[i+1]]
}