ForgeAbi_SetupSwapTx
public struct ForgeAbi_SetupSwapTx
extension ForgeAbi_SetupSwapTx: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Undocumented
-
The amount of token to swap.
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()
-
The addresses of assets to swap.
Declaration
Swift
public var assets: [String] { get set }
-
The address of the receiver who is the only one allowed to get the token and assets locktime.
Declaration
Swift
public var receiver: String { get set }
-
The sha3 value of the random number.
Declaration
Swift
public var hashlock: Data { get set }
-
The height of the block before which the swap is locked.
Declaration
Swift
public var locktime: UInt32 { get set }
-
forge won’t touch this field. Only forge app shall handle it.
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_SetupSwapTx, rhs: ForgeAbi_SetupSwapTx) -> Bool