diff --git a/Classes.html b/Classes.html index 96bd650..19f28fe 100644 --- a/Classes.html +++ b/Classes.html @@ -291,13 +291,7 @@ TorusAuthProvider - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  • +
    + + + + cycleForIndex(cycles:index:) + +
    +
    +
    +
    +
    +
    +

    Given a list of cycles, find the object with the matching index

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func cycleForIndex(cycles: [TzKTCycle], index: Int) -> TzKTCycle?
    @@ -2065,7 +2078,7 @@

    Declaration

    diff --git a/Classes/TzKTClient/Constants.html b/Classes/TzKTClient/Constants.html index e6b0358..64e56df 100644 --- a/Classes/TzKTClient/Constants.html +++ b/Classes/TzKTClient/Constants.html @@ -295,13 +295,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - TzKTBakerHealth - -
    -
    -
    -
    -
    -
    -

    The stability of the bakers server

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum TzKTBakerHealth : String, Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerAccuracy - -
    -
    -
    -
    -
    -
    -

    The accuracy of the bakers payments

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum TzKTBakerAccuracy : String, Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerTiming + + + TzKTBakerStatus
    @@ -872,15 +801,15 @@

    Declaration

    -

    The reliability of the bakers payouts

    +

    Whether the baker is actively running or not

    - See more + See more

    Declaration

    Swift

    -
    public enum TzKTBakerTiming : String, Codable
    +
    public enum TzKTBakerStatus : String, Codable
    @@ -1305,7 +1234,7 @@

    Declaration

    diff --git a/Enums/BiometricType.html b/Enums/BiometricType.html index 2f90bc6..741bc27 100644 --- a/Enums/BiometricType.html +++ b/Enums/BiometricType.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - TzKTBaker - -
    -
    -
    -
    -
    -
    -

    Data representing a baker from TzKT or Baking-Bad

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBaker : Codable, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfig - -
    -
    -
    -
    -
    -
    -

    The bakers config file for details on when fees, min delegation etc change

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBakerConfig : Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfigDoubleValue + + + TzKTBakerSettings
    @@ -1239,41 +1168,15 @@

    Declaration

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBakerConfigDoubleValue : Codable
    +

    Object to denote the the setting parameters of the baker. Can be used seperately for both delegation and staking

    -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfigIntValue - -
    -
    -
    -
    -
    -

    Declaration

    Swift

    -
    public struct TzKTBakerConfigIntValue : Codable
    +
    public struct TzKTBakerSettings : Codable
    @@ -1283,9 +1186,9 @@

    Declaration

  • - - - TzKTBakerConfigRewardStruct + + + TzKTBaker
    @@ -1293,15 +1196,15 @@

    Declaration

    -

    Baker config payout flags

    +

    Data representing a baker from TzKT or Baking-Bad

    - See more + See more

    Declaration

    Swift

    -
    public struct TzKTBakerConfigRewardStruct : Codable
    +
    public struct TzKTBaker : Codable, Hashable
    @@ -3303,7 +3206,7 @@

    Declaration

  • diff --git a/Structs/Account.html b/Structs/Account.html index 077d3c9..a2958a4 100644 --- a/Structs/Account.html +++ b/Structs/Account.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - logo + + + status
    @@ -800,7 +785,7 @@

    Declaration

    Declaration

    Swift

    -
    public let logo: String?
    +
    public let status: TzKTBakerStatus
    @@ -836,217 +821,9 @@

    Declaration

  • - - - stakingBalance - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let stakingBalance: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stakingCapacity - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let stakingCapacity: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - maxStakingBalance - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let maxStakingBalance: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - freeSpace - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let freeSpace: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - fee - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let fee: Double
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - minDelegation - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let minDelegation: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutDelay - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutDelay: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutPeriod - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutPeriod: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - openForDelegation + + + delegation
    @@ -1060,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    public let openForDelegation: Bool
    +
    public let delegation: TzKTBakerSettings
    @@ -1070,9 +847,9 @@

    Declaration

  • - - - estimatedRoi + + + staking
    @@ -1086,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    public let estimatedRoi: Decimal
    +
    public let staking: TzKTBakerSettings
    @@ -1096,9 +873,9 @@

    Declaration

  • - - - serviceHealth + + + limitOfStakingOverBaking
    @@ -1112,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    public let serviceHealth: TzKTBakerHealth
    +
    public var limitOfStakingOverBaking: Decimal?
    @@ -1122,9 +899,9 @@

    Declaration

  • - - - serviceType + + + edgeOfBakingOverStaking
    @@ -1138,7 +915,7 @@

    Declaration

    Declaration

    Swift

    -
    public let serviceType: String
    +
    public var edgeOfBakingOverStaking: Decimal?
    @@ -1148,61 +925,9 @@

    Declaration

  • - - - payoutTiming - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutTiming: TzKTBakerTiming
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutAccuracy - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutAccuracy: TzKTBakerAccuracy
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - config + + + logo
    @@ -1216,7 +941,7 @@

    Declaration

    Declaration

    Swift

    -
    public let config: TzKTBakerConfig?
    +
    public var logo: URL? { get }
    @@ -1226,9 +951,9 @@

    Declaration

  • - - - init(address:name:logo:) + + + init(address:name:)
    @@ -1243,7 +968,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(address: String, name: String?, logo: String?)
    +
    public init(address: String, name: String?)
    @@ -1253,9 +978,9 @@

    Declaration

  • - - - init(address:name:logo:balance:stakingBalance:stakingCapacity:maxStakingBalance:freeSpace:fee:minDelegation:payoutDelay:payoutPeriod:openForDelegation:estimatedRoi:serviceHealth:serviceType:payoutTiming:payoutAccuracy:config:) + + + init(address:name:status:balance:delegation:staking:)
    @@ -1269,7 +994,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(address: String, name: String?, logo: String?, balance: Decimal, stakingBalance: Decimal, stakingCapacity: Decimal, maxStakingBalance: Decimal, freeSpace: Decimal, fee: Double, minDelegation: Decimal, payoutDelay: Int, payoutPeriod: Int, openForDelegation: Bool, estimatedRoi: Decimal, serviceHealth: TzKTBakerHealth, serviceType: String, payoutTiming: TzKTBakerTiming, payoutAccuracy: TzKTBakerAccuracy, config: TzKTBakerConfig?)
    +
    public init(address: String, name: String?, status: TzKTBakerStatus, balance: Decimal, delegation: TzKTBakerSettings, staking: TzKTBakerSettings)
    @@ -1304,33 +1029,6 @@

    Declaration

  • -
  • -
    - - - - rewardStruct() - -
    -
    -
    -
    -
    -
    -

    Convert con-chain data into a meaningful, readable object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func rewardStruct() -> TzKTBakerConfigRewardStruct?
    - -
    -
    -
    -
    -
  • @@ -1388,7 +1086,7 @@

    Declaration

    diff --git a/Structs/TzKTBakerConfig.html b/Structs/TzKTBakerConfig.html deleted file mode 100644 index 041fe9d..0000000 --- a/Structs/TzKTBakerConfig.html +++ /dev/null @@ -1,1003 +0,0 @@ - - - - TzKTBakerConfig Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfig

    -
    -
    - -
    public struct TzKTBakerConfig : Codable
    - -
    -
    -

    The bakers config file for details on when fees, min delegation etc change

    - -
    -
    -
    -
      -
    • -
      - - - - address - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let address: String
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fee - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let fee: [TzKTBakerConfigDoubleValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - minDelegation - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let minDelegation: [TzKTBakerConfigDoubleValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - payoutDelay - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let payoutDelay: [TzKTBakerConfigIntValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - rewardStruct - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let rewardStruct: [TzKTBakerConfigIntValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latesetFee() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latesetFee() -> Double
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - feeForCycle(cycle:) - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func feeForCycle(cycle: Int) -> Double
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latestPayoutDelay() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latestPayoutDelay() -> Int
      - -
      -
      -
      -
      -
    • -
    • - -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func payoutDelayForCycle(cycle: Int) -> Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latestRewardStruct() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latestRewardStruct() -> Int?
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/Structs/TzKTBakerConfigDoubleValue.html b/Structs/TzKTBakerConfigDoubleValue.html deleted file mode 100644 index b5560d7..0000000 --- a/Structs/TzKTBakerConfigDoubleValue.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - TzKTBakerConfigDoubleValue Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigDoubleValue

    -
    -
    - -
    public struct TzKTBakerConfigDoubleValue : Codable
    - -
    -
    - -
    -
    -
    -
      -
    • -
      - - - - cycle - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let cycle: Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let value: Double
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/Structs/TzKTBakerConfigIntValue.html b/Structs/TzKTBakerConfigIntValue.html deleted file mode 100644 index 01cb15b..0000000 --- a/Structs/TzKTBakerConfigIntValue.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - TzKTBakerConfigIntValue Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigIntValue

    -
    -
    - -
    public struct TzKTBakerConfigIntValue : Codable
    - -
    -
    - -
    -
    -
    -
      -
    • -
      - - - - cycle - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let cycle: Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let value: Int
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/Structs/TzKTBakerConfigRewardStruct.html b/Structs/TzKTBakerConfigRewardStruct.html deleted file mode 100644 index 846e4d2..0000000 --- a/Structs/TzKTBakerConfigRewardStruct.html +++ /dev/null @@ -1,1030 +0,0 @@ - - - - TzKTBakerConfigRewardStruct Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigRewardStruct

    -
    -
    - -
    public struct TzKTBakerConfigRewardStruct : Codable
    - -
    -
    -

    Baker config payout flags

    - -
    -
    -
    -
      -
    • -
      - - - - blocks - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let blocks: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedBlocks - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedBlocks: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - endorsements - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let endorsements: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedEndorsements - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedEndorsements: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fees - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let fees: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedFees - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedFees: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - accusationRewards - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let accusationRewards: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - accusationLosses - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let accusationLosses: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - revelationRewards - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let revelationRewards: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - revelationLosses - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let revelationLosses: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fromConfigInt(_:) - -
      -
      -
      -
      -
      -
      -

      Convert the 14-bit number in the baker config, to the equivalent set of flags

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static func fromConfigInt(_ config: Int) -> TzKTBakerConfigRewardStruct
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/Enums/TzKTBakerAccuracy.html b/Structs/TzKTBakerSettings.html similarity index 88% rename from Enums/TzKTBakerAccuracy.html rename to Structs/TzKTBakerSettings.html index bac3a5f..9af16aa 100644 --- a/Enums/TzKTBakerAccuracy.html +++ b/Structs/TzKTBakerSettings.html @@ -1,7 +1,7 @@ - TzKTBakerAccuracy Enumeration Reference + TzKTBakerSettings Structure Reference @@ -13,8 +13,8 @@ - - + +

    Docs (100% documented)

    @@ -30,9 +30,9 @@
    @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - balance + + + delegatedBalance
    @@ -774,7 +759,33 @@

    Declaration

    Declaration

    Swift

    -
    public let balance: Decimal
    +
    public let delegatedBalance: Decimal
    + +
    +
    + + +
  • +
  • +
    + + + + stakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let stakedBalance: Decimal
    @@ -810,9 +821,9 @@

    Declaration

  • @@ -826,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    public let stakingBalance: Decimal
    +
    public let blockRewardsDelegated: Decimal
    @@ -836,9 +847,9 @@

    Declaration

  • @@ -852,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    public let blockRewards: Decimal
    +
    public let endorsementRewardsDelegated: Decimal
    @@ -862,9 +873,9 @@

    Declaration

  • @@ -878,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedBlockRewards: Decimal
    +
    public let vdfRevelationRewardsDelegated: Decimal
    @@ -888,9 +899,9 @@

    Declaration

  • @@ -904,7 +915,7 @@

    Declaration

    Declaration

    Swift

    -
    public let endorsementRewards: Decimal
    +
    public let nonceRevelationRewardsDelegated: Decimal
    @@ -914,9 +925,9 @@

    Declaration

  • @@ -930,7 +941,59 @@

    Declaration

    Declaration

    Swift

    -
    public let missedEndorsementRewards: Decimal
    +
    public let doubleBakingRewards: Decimal
    + +
    +
    +
  • +
    +
  • +
  • +
    + + + + doubleEndorsingRewards + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let doubleEndorsingRewards: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + doublePreendorsingRewards + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let doublePreendorsingRewards: Decimal
    @@ -966,9 +1029,243 @@

    Declaration

  • +
    +
    +
    +
    +
    + +
    +
    +

    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
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonceRevelationLosses + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonceRevelationLosses: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bakerStakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bakerStakedBalance: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + externalStakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let externalStakedBalance: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bakingPower
    @@ -982,7 +1279,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedBlockFees: Decimal
    +
    public let bakingPower: Decimal
    @@ -992,9 +1289,9 @@

    Declaration

  • @@ -1008,7 +1305,7 @@

    Declaration

    Declaration

    Swift

    -
    public let extraBlockRewards: Decimal
    +
    public let bakerDelegatedBalance: Decimal
    @@ -1018,9 +1315,9 @@

    Declaration

  • @@ -1034,7 +1331,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedExtraBlockRewards: Decimal
    +
    public let externalDelegatedBalance: Decimal
    @@ -1122,9 +1419,9 @@

    Declaration

  • @@ -1139,7 +1436,7 @@

    Declaration

    Declaration

    Swift

    -
    public func estimatedReward(withFee fee: Double, andRewardStruct: TzKTBakerConfigRewardStruct?) -> XTZAmount
    +
    public func estimatedReward(withFee fee: Double, limitOfStakingOverBaking: Decimal, edgeOfBakingOverStaking: Decimal, minDelegation: Decimal) -> XTZAmount
    @@ -1151,7 +1448,7 @@

    Declaration

  • diff --git a/Structs/TzKTOperation.html b/Structs/TzKTOperation.html index fa11a2e..540c5f3 100644 --- a/Structs/TzKTOperation.html +++ b/Structs/TzKTOperation.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  • +
    + + + + cycleForIndex(cycles:index:) + +
    +
    +
    +
    +
    +
    +

    Given a list of cycles, find the object with the matching index

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public static func cycleForIndex(cycles: [TzKTCycle], index: Int) -> TzKTCycle?
    @@ -2065,7 +2078,7 @@

    Declaration

    diff --git a/docsets/.docset/Contents/Resources/Documents/Classes/TzKTClient/Constants.html b/docsets/.docset/Contents/Resources/Documents/Classes/TzKTClient/Constants.html index e6b0358..64e56df 100644 --- a/docsets/.docset/Contents/Resources/Documents/Classes/TzKTClient/Constants.html +++ b/docsets/.docset/Contents/Resources/Documents/Classes/TzKTClient/Constants.html @@ -295,13 +295,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - TzKTBakerHealth - -
    -
    -
    -
    -
    -
    -

    The stability of the bakers server

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum TzKTBakerHealth : String, Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerAccuracy - -
    -
    -
    -
    -
    -
    -

    The accuracy of the bakers payments

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum TzKTBakerAccuracy : String, Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerTiming + + + TzKTBakerStatus
    @@ -872,15 +801,15 @@

    Declaration

    -

    The reliability of the bakers payouts

    +

    Whether the baker is actively running or not

    - See more + See more

    Declaration

    Swift

    -
    public enum TzKTBakerTiming : String, Codable
    +
    public enum TzKTBakerStatus : String, Codable
    @@ -1305,7 +1234,7 @@

    Declaration

    diff --git a/docsets/.docset/Contents/Resources/Documents/Enums/BiometricType.html b/docsets/.docset/Contents/Resources/Documents/Enums/BiometricType.html index 2f90bc6..741bc27 100644 --- a/docsets/.docset/Contents/Resources/Documents/Enums/BiometricType.html +++ b/docsets/.docset/Contents/Resources/Documents/Enums/BiometricType.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - TzKTBaker - -
    -
    -
    -
    -
    -
    -

    Data representing a baker from TzKT or Baking-Bad

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBaker : Codable, Hashable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfig - -
    -
    -
    -
    -
    -
    -

    The bakers config file for details on when fees, min delegation etc change

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBakerConfig : Codable
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfigDoubleValue + + + TzKTBakerSettings
    @@ -1239,41 +1168,15 @@

    Declaration

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public struct TzKTBakerConfigDoubleValue : Codable
    +

    Object to denote the the setting parameters of the baker. Can be used seperately for both delegation and staking

    -
    -
    -
    -
    -
  • -
  • -
    - - - - TzKTBakerConfigIntValue - -
    -
    -
    -
    -
    -

    Declaration

    Swift

    -
    public struct TzKTBakerConfigIntValue : Codable
    +
    public struct TzKTBakerSettings : Codable
    @@ -1283,9 +1186,9 @@

    Declaration

  • @@ -1293,15 +1196,15 @@

    Declaration

    -

    Baker config payout flags

    +

    Data representing a baker from TzKT or Baking-Bad

    - See more + See more

    Declaration

    Swift

    -
    public struct TzKTBakerConfigRewardStruct : Codable
    +
    public struct TzKTBaker : Codable, Hashable
    @@ -3303,7 +3206,7 @@

    Declaration

  • diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/Account.html b/docsets/.docset/Contents/Resources/Documents/Structs/Account.html index 077d3c9..a2958a4 100644 --- a/docsets/.docset/Contents/Resources/Documents/Structs/Account.html +++ b/docsets/.docset/Contents/Resources/Documents/Structs/Account.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - logo + + + status
    @@ -800,7 +785,7 @@

    Declaration

    Declaration

    Swift

    -
    public let logo: String?
    +
    public let status: TzKTBakerStatus
    @@ -836,217 +821,9 @@

    Declaration

  • - - - stakingBalance - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let stakingBalance: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - stakingCapacity - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let stakingCapacity: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - maxStakingBalance - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let maxStakingBalance: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - freeSpace - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let freeSpace: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - fee - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let fee: Double
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - minDelegation - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let minDelegation: Decimal
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutDelay - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutDelay: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutPeriod - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutPeriod: Int
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - openForDelegation + + + delegation
    @@ -1060,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    public let openForDelegation: Bool
    +
    public let delegation: TzKTBakerSettings
    @@ -1070,9 +847,9 @@

    Declaration

  • - - - estimatedRoi + + + staking
    @@ -1086,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    public let estimatedRoi: Decimal
    +
    public let staking: TzKTBakerSettings
    @@ -1096,9 +873,9 @@

    Declaration

  • - - - serviceHealth + + + limitOfStakingOverBaking
    @@ -1112,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    public let serviceHealth: TzKTBakerHealth
    +
    public var limitOfStakingOverBaking: Decimal?
    @@ -1122,9 +899,9 @@

    Declaration

  • - - - serviceType + + + edgeOfBakingOverStaking
    @@ -1138,7 +915,7 @@

    Declaration

    Declaration

    Swift

    -
    public let serviceType: String
    +
    public var edgeOfBakingOverStaking: Decimal?
    @@ -1148,61 +925,9 @@

    Declaration

  • - - - payoutTiming - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutTiming: TzKTBakerTiming
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - payoutAccuracy - -
    -
    -
    -
    -
    -
    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let payoutAccuracy: TzKTBakerAccuracy
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - config + + + logo
    @@ -1216,7 +941,7 @@

    Declaration

    Declaration

    Swift

    -
    public let config: TzKTBakerConfig?
    +
    public var logo: URL? { get }
    @@ -1226,9 +951,9 @@

    Declaration

  • - - - init(address:name:logo:) + + + init(address:name:)
    @@ -1243,7 +968,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(address: String, name: String?, logo: String?)
    +
    public init(address: String, name: String?)
    @@ -1253,9 +978,9 @@

    Declaration

  • - - - init(address:name:logo:balance:stakingBalance:stakingCapacity:maxStakingBalance:freeSpace:fee:minDelegation:payoutDelay:payoutPeriod:openForDelegation:estimatedRoi:serviceHealth:serviceType:payoutTiming:payoutAccuracy:config:) + + + init(address:name:status:balance:delegation:staking:)
    @@ -1269,7 +994,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(address: String, name: String?, logo: String?, balance: Decimal, stakingBalance: Decimal, stakingCapacity: Decimal, maxStakingBalance: Decimal, freeSpace: Decimal, fee: Double, minDelegation: Decimal, payoutDelay: Int, payoutPeriod: Int, openForDelegation: Bool, estimatedRoi: Decimal, serviceHealth: TzKTBakerHealth, serviceType: String, payoutTiming: TzKTBakerTiming, payoutAccuracy: TzKTBakerAccuracy, config: TzKTBakerConfig?)
    +
    public init(address: String, name: String?, status: TzKTBakerStatus, balance: Decimal, delegation: TzKTBakerSettings, staking: TzKTBakerSettings)
    @@ -1304,33 +1029,6 @@

    Declaration

  • -
  • -
    - - - - rewardStruct() - -
    -
    -
    -
    -
    -
    -

    Convert con-chain data into a meaningful, readable object

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public func rewardStruct() -> TzKTBakerConfigRewardStruct?
    - -
    -
    -
    -
    -
  • @@ -1388,7 +1086,7 @@

    Declaration

    diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfig.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfig.html deleted file mode 100644 index 041fe9d..0000000 --- a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfig.html +++ /dev/null @@ -1,1003 +0,0 @@ - - - - TzKTBakerConfig Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfig

    -
    -
    - -
    public struct TzKTBakerConfig : Codable
    - -
    -
    -

    The bakers config file for details on when fees, min delegation etc change

    - -
    -
    -
    -
      -
    • -
      - - - - address - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let address: String
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fee - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let fee: [TzKTBakerConfigDoubleValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - minDelegation - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let minDelegation: [TzKTBakerConfigDoubleValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - payoutDelay - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let payoutDelay: [TzKTBakerConfigIntValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - rewardStruct - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let rewardStruct: [TzKTBakerConfigIntValue]
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latesetFee() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latesetFee() -> Double
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - feeForCycle(cycle:) - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func feeForCycle(cycle: Int) -> Double
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latestPayoutDelay() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latestPayoutDelay() -> Int
      - -
      -
      -
      -
      -
    • -
    • - -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func payoutDelayForCycle(cycle: Int) -> Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - latestRewardStruct() - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public func latestRewardStruct() -> Int?
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigDoubleValue.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigDoubleValue.html deleted file mode 100644 index b5560d7..0000000 --- a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigDoubleValue.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - TzKTBakerConfigDoubleValue Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigDoubleValue

    -
    -
    - -
    public struct TzKTBakerConfigDoubleValue : Codable
    - -
    -
    - -
    -
    -
    -
      -
    • -
      - - - - cycle - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let cycle: Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let value: Double
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigIntValue.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigIntValue.html deleted file mode 100644 index 01cb15b..0000000 --- a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigIntValue.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - TzKTBakerConfigIntValue Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigIntValue

    -
    -
    - -
    public struct TzKTBakerConfigIntValue : Codable
    - -
    -
    - -
    -
    -
    -
      -
    • -
      - - - - cycle - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let cycle: Int
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - value - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let value: Int
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigRewardStruct.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigRewardStruct.html deleted file mode 100644 index 846e4d2..0000000 --- a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerConfigRewardStruct.html +++ /dev/null @@ -1,1030 +0,0 @@ - - - - TzKTBakerConfigRewardStruct Structure Reference - - - - - - - - - - - - - -
    -
    -

    Docs (100% documented)

    -

    DashInstall in Dash

    -
    -
    - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    TzKTBakerConfigRewardStruct

    -
    -
    - -
    public struct TzKTBakerConfigRewardStruct : Codable
    - -
    -
    -

    Baker config payout flags

    - -
    -
    -
    -
      -
    • -
      - - - - blocks - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let blocks: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedBlocks - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedBlocks: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - endorsements - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let endorsements: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedEndorsements - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedEndorsements: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fees - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let fees: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - missedFees - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let missedFees: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - accusationRewards - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let accusationRewards: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - accusationLosses - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let accusationLosses: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - revelationRewards - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let revelationRewards: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - revelationLosses - -
      -
      -
      -
      -
      -
      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public let revelationLosses: Bool
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - fromConfigInt(_:) - -
      -
      -
      -
      -
      -
      -

      Convert the 14-bit number in the baker config, to the equivalent set of flags

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static func fromConfigInt(_ config: Int) -> TzKTBakerConfigRewardStruct
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docsets/.docset/Contents/Resources/Documents/Enums/TzKTBakerAccuracy.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerSettings.html similarity index 88% rename from docsets/.docset/Contents/Resources/Documents/Enums/TzKTBakerAccuracy.html rename to docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerSettings.html index bac3a5f..9af16aa 100644 --- a/docsets/.docset/Contents/Resources/Documents/Enums/TzKTBakerAccuracy.html +++ b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTBakerSettings.html @@ -1,7 +1,7 @@ - TzKTBakerAccuracy Enumeration Reference + TzKTBakerSettings Structure Reference @@ -13,8 +13,8 @@ - - + +

    Docs (100% documented)

    @@ -30,9 +30,9 @@
    @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • - - - balance + + + delegatedBalance
    @@ -774,7 +759,33 @@

    Declaration

    Declaration

    Swift

    -
    public let balance: Decimal
    +
    public let delegatedBalance: Decimal
    + +
    +
    + + +
  • +
  • +
    + + + + stakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let stakedBalance: Decimal
    @@ -810,9 +821,9 @@

    Declaration

  • @@ -826,7 +837,7 @@

    Declaration

    Declaration

    Swift

    -
    public let stakingBalance: Decimal
    +
    public let blockRewardsDelegated: Decimal
    @@ -836,9 +847,9 @@

    Declaration

  • @@ -852,7 +863,7 @@

    Declaration

    Declaration

    Swift

    -
    public let blockRewards: Decimal
    +
    public let endorsementRewardsDelegated: Decimal
    @@ -862,9 +873,9 @@

    Declaration

  • @@ -878,7 +889,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedBlockRewards: Decimal
    +
    public let vdfRevelationRewardsDelegated: Decimal
    @@ -888,9 +899,9 @@

    Declaration

  • @@ -904,7 +915,7 @@

    Declaration

    Declaration

    Swift

    -
    public let endorsementRewards: Decimal
    +
    public let nonceRevelationRewardsDelegated: Decimal
    @@ -914,9 +925,9 @@

    Declaration

  • @@ -930,7 +941,59 @@

    Declaration

    Declaration

    Swift

    -
    public let missedEndorsementRewards: Decimal
    +
    public let doubleBakingRewards: Decimal
    + +
    +
    +
  • +
    +
  • +
  • +
    + + + + doubleEndorsingRewards + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let doubleEndorsingRewards: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + doublePreendorsingRewards + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let doublePreendorsingRewards: Decimal
    @@ -966,9 +1029,243 @@

    Declaration

  • +
    +
    +
    +
    +
    + +
    +
    +

    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
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + nonceRevelationLosses + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nonceRevelationLosses: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bakerStakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let bakerStakedBalance: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + externalStakedBalance + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let externalStakedBalance: Decimal
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + bakingPower
    @@ -982,7 +1279,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedBlockFees: Decimal
    +
    public let bakingPower: Decimal
    @@ -992,9 +1289,9 @@

    Declaration

  • @@ -1008,7 +1305,7 @@

    Declaration

    Declaration

    Swift

    -
    public let extraBlockRewards: Decimal
    +
    public let bakerDelegatedBalance: Decimal
    @@ -1018,9 +1315,9 @@

    Declaration

  • @@ -1034,7 +1331,7 @@

    Declaration

    Declaration

    Swift

    -
    public let missedExtraBlockRewards: Decimal
    +
    public let externalDelegatedBalance: Decimal
    @@ -1122,9 +1419,9 @@

    Declaration

  • @@ -1139,7 +1436,7 @@

    Declaration

    Declaration

    Swift

    -
    public func estimatedReward(withFee fee: Double, andRewardStruct: TzKTBakerConfigRewardStruct?) -> XTZAmount
    +
    public func estimatedReward(withFee fee: Double, limitOfStakingOverBaking: Decimal, edgeOfBakingOverStaking: Decimal, minDelegation: Decimal) -> XTZAmount
    @@ -1151,7 +1448,7 @@

    Declaration

  • diff --git a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTOperation.html b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTOperation.html index fa11a2e..540c5f3 100644 --- a/docsets/.docset/Contents/Resources/Documents/Structs/TzKTOperation.html +++ b/docsets/.docset/Contents/Resources/Documents/Structs/TzKTOperation.html @@ -293,13 +293,7 @@ TorusAuthProvider
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -