ForgeAbi_ForgeState
public struct ForgeAbi_ForgeState
extension ForgeAbi_ForgeState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Undocumented
-
Undocumented
Declaration
Swift
public var address: String { get set }
-
consensus parameters, in future we shall be able to modify it
Declaration
Swift
public var consensus: ForgeAbi_ConsensusParams { get set }
-
Returns true if
consensus
has been explicitly set.Declaration
Swift
public var hasConsensus: Bool { get }
-
Clears the value of
consensus
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearConsensus()
-
Undocumented
Declaration
Swift
public var tasks: Dictionary<UInt64, ForgeAbi_UpgradeTasks> { get set }
-
Undocumented
Declaration
Swift
public var stakeSummary: Dictionary<UInt32, ForgeAbi_StakeSummary> { get set }
-
string data_version = 6; current data version deprecated
Declaration
Swift
public var version: String { get set }
-
Undocumented
Declaration
Swift
public var token: ForgeAbi_ForgeToken { get set }
-
Returns true if
token
has been explicitly set.Declaration
Swift
public var hasToken: Bool { get }
-
Clears the value of
token
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearToken()
-
Undocumented
Declaration
Swift
public var txConfig: ForgeAbi_TransactionConfig { get set }
-
Returns true if
txConfig
has been explicitly set.Declaration
Swift
public var hasTxConfig: Bool { get }
-
Clears the value of
txConfig
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearTxConfig()
-
StakeConfig stake_config = 10; deprecated PokeConfig poke_config = 11; deprecated
Declaration
Swift
public var protocols: [ForgeAbi_CoreProtocol] { get set }
-
Undocumented
Declaration
Swift
public var gas: Dictionary<String, UInt32> { get set }
-
Undocumented
Declaration
Swift
public var upgradeInfo: ForgeAbi_UpgradeInfo { get set }
-
Returns true if
upgradeInfo
has been explicitly set.Declaration
Swift
public var hasUpgradeInfo: Bool { get }
-
Clears the value of
upgradeInfo
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearUpgradeInfo()
-
Undocumented
Declaration
Swift
public var accountConfig: Dictionary<String, ForgeAbi_AccountConfig> { get set }
-
Undocumented
Declaration
Swift
public var tokenSwapConfig: ForgeAbi_TokenSwapConfig { get set }
-
Returns true if
tokenSwapConfig
has been explicitly set.Declaration
Swift
public var hasTokenSwapConfig: Bool { get }
-
Clears the value of
tokenSwapConfig
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearTokenSwapConfig()
-
forge app can define their own app state
Declaration
Swift
public var data: SwiftProtobuf.Google_Protobuf_Any { get set }
-
Returns true if
data
has been explicitly set.Declaration
Swift
public var hasData: Bool { get }
-
Clears the value of
data
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearData()
-
Undocumented
Declaration
Swift
public var unknownFields: <<error type>>
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public static let protoMessageName: String
-
Undocumented
Declaration
Swift
public static let _protobuf_nameMap: SwiftProtobuf._NameMap
-
Undocumented
Declaration
Swift
public mutating func decodeMessage<D>(decoder: inout D) throws
-
Undocumented
Declaration
Swift
public func traverse<V>(visitor: inout V) throws
-
Undocumented
Declaration
Swift
public static func == (lhs: ForgeAbi_ForgeState, rhs: ForgeAbi_ForgeState) -> Bool