ForgeAbi_SwapState
public struct ForgeAbi_SwapState
extension ForgeAbi_SwapState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
TODO: [peiling] We have already defined this state in core protocols repo. The only reason we define this state here again is because the protobuf definition ResponseGetSwapState needs to reference to this SwapState.
-
Undocumented
Declaration
Swift
public var hash: String { get set }
-
Undocumented
Declaration
Swift
public var address: String { get set }
-
Undocumented
Declaration
Swift
public var hashkey: Data { get set }
-
Undocumented
Declaration
Swift
public var sender: String { get set }
-
Undocumented
Declaration
Swift
public var receiver: String { get set }
-
Undocumented
Declaration
Swift
public var value: ForgeAbi_BigUint { get set }
-
Returns true if
value
has been explicitly set.Declaration
Swift
public var hasValue: Bool { get }
-
Clears the value of
value
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearValue()
-
Undocumented
Declaration
Swift
public var assets: [String] { get set }
-
Undocumented
Declaration
Swift
public var locktime: UInt32 { get set }
-
Undocumented
Declaration
Swift
public var hashlock: Data { get set }
-
Undocumented
Declaration
Swift
public var context: ForgeAbi_StateContext { get set }
-
Returns true if
context
has been explicitly set.Declaration
Swift
public var hasContext: Bool { get }
-
Clears the value of
context
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearContext()
-
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_SwapState, rhs: ForgeAbi_SwapState) -> Bool