TzKTDelegatorReward
public struct TzKTDelegatorReward : Codable
An object containing info on the reward a delegator should receive from a baker
-
Declaration
Swift
public let cycle: Int
-
Declaration
Swift
public let delegatedBalance: Decimal
-
Declaration
Swift
public let stakedBalance: Decimal
-
Declaration
Swift
public let baker: TzKTAddress
-
Declaration
Swift
public let blockRewardsDelegated: Decimal
-
Declaration
Swift
public let endorsementRewardsDelegated: Decimal
-
Declaration
Swift
public let vdfRevelationRewardsDelegated: Decimal
-
Declaration
Swift
public let nonceRevelationRewardsDelegated: Decimal
-
Declaration
Swift
public let doubleBakingRewards: Decimal
-
Declaration
Swift
public let doubleEndorsingRewards: Decimal
-
Declaration
Swift
public let doublePreendorsingRewards: Decimal
-
Declaration
Swift
public let blockFees: Decimal
-
Declaration
Swift
public let doubleBakingLostUnstaked: Decimal
-
Declaration
Swift
public let doubleBakingLostExternalUnstaked: Decimal
-
Declaration
Swift
public let doubleEndorsingLostUnstaked: Decimal
-
Declaration
Swift
public let doubleEndorsingLostExternalUnstaked: Decimal
-
Declaration
Swift
public let doublePreendorsingLostUnstaked: Decimal
-
Declaration
Swift
public let doublePreendorsingLostExternalUnstaked: Decimal
-
Declaration
Swift
public let nonceRevelationLosses: Decimal
-
Declaration
Swift
public let bakerStakedBalance: Decimal
-
Declaration
Swift
public let externalStakedBalance: Decimal
-
Declaration
Swift
public let bakingPower: Decimal
-
Declaration
Swift
public let bakerDelegatedBalance: Decimal
-
Declaration
Swift
public let externalDelegatedBalance: Decimal
-
Declaration
Swift
public let futureBlocks: Decimal
-
Declaration
Swift
public let futureBlockRewards: Decimal
-
Declaration
Swift
public let futureEndorsementRewards: Decimal
-
Return an estimated either for potential future or actual rewards
Declaration
Swift
public func estimatedReward(withFee fee: Double, limitOfStakingOverBaking: Decimal, edgeOfBakingOverStaking: Decimal, minDelegation: Decimal) -> XTZAmount