enum
BitShares::Blockchain::VoteType
Defined in:
bitshares-crystal/define.crEnum Members
-
Committee =
0_i8
-
Witness =
1_i8
-
Worker =
2_i8
Instance Method Summary
-
#committee?
Returns
true
if this enum value equalsCommittee
-
#witness?
Returns
true
if this enum value equalsWitness
-
#worker?
Returns
true
if this enum value equalsWorker
Instance methods inherited from struct Enum
pack(io)
pack,
to_json(json : JSON::Builder) : Nil
to_json
Constructor methods inherited from struct Enum
from_graphene_json(json : JSON::Any | Nil, args) : self
from_graphene_json,
unpack(io) : self
unpack
Instance methods inherited from module Graphene::Serialize::Pack(Enum)
pack(io : BinaryIO)pack pack, to_graphene_json(graphene_address_prefix = "") : String to_graphene_json