OperationProposals

public class OperationProposals : Operation
  • The voting period

    Declaration

    Swift

    public let period: Int
  • List of proposal identifiers

    Declaration

    Swift

    public let proposals: [String]
  • Init with wallet, voting period and list of proposal identifiers

    Declaration

    Swift

    public init(wallet: Wallet, period: Int, proposals: [String])
  • 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: OperationProposals) -> Bool