OperationBallot
public class OperationBallot : Operation
Operation to submit a ballot on an upcoming proposal
-
Enum matching the available ballot options
See moreDeclaration
Swift
public enum Ballot : String, Codable
-
The voting period
Declaration
Swift
public let period: Int
-
The identifier of the proposa;
Declaration
Swift
public let proposal: String
-
The wallet holders vote
Declaration
Swift
public let ballot: Ballot
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public override func encode(to encoder: Encoder) throws
-
Declaration
Swift
public func isEqual(_ op: OperationBallot) -> Bool