OZSyncResult
public struct OZSyncResult : Sendable, Equatable, Hashable
Result of synchronising every stored credential against on-chain contract state.
Returned by syncAll() to summarise how many stored
credentials are confirmed deployed (and were therefore removed from local
storage), how many remain pending, and how many failed deployment.
-
Number of credentials confirmed as deployed on-chain (and removed from storage as part of the sync).
Declaration
Swift
public let deployed: Int -
Number of credentials still pending deployment.
Declaration
Swift
public let pending: Int -
Number of credentials whose deployment status is
.failed.Declaration
Swift
public let failed: Int -
Initialises a new
OZSyncResult.Declaration
Swift
public init(deployed: Int, pending: Int, failed: Int)Parameters
deployedCredentials confirmed deployed on-chain (removed from storage).
pendingCredentials still pending deployment.
failedCredentials with
.faileddeployment status.
View on GitHub
Install in Dash