TzKTBakerConfigRewardStruct
public struct TzKTBakerConfigRewardStruct : Codable
Baker config payout flags
-
Declaration
Swift
public let blocks: Bool
-
Declaration
Swift
public let missedBlocks: Bool
-
Declaration
Swift
public let endorsements: Bool
-
Declaration
Swift
public let missedEndorsements: Bool
-
Declaration
Swift
public let fees: Bool
-
Declaration
Swift
public let missedFees: Bool
-
Declaration
Swift
public let accusationRewards: Bool
-
Declaration
Swift
public let accusationLosses: Bool
-
Declaration
Swift
public let revelationRewards: Bool
-
Declaration
Swift
public let revelationLosses: Bool
-
Convert the 14-bit number in the baker config, to the equivalent set of flags
Declaration
Swift
public static func fromConfigInt(_ config: Int) -> TzKTBakerConfigRewardStruct