ForgeAbi_ExchangeTx
public struct ForgeAbi_ExchangeTx
extension ForgeAbi_ExchangeTx: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
we could support these cases (and vise versa):
- sender fungible token <-> receiver one or more assets
- sender fungible token + asset <-> receiver one or more assets
- sender one or more assets <-> receiver one or more assets
-
Undocumented
Declaration
Swift
public var to: String { get set }
-
Undocumented
Declaration
Swift
public var sender: ForgeAbi_ExchangeInfo { get set }
-
Returns true if
sender
has been explicitly set.Declaration
Swift
public var hasSender: Bool { get }
-
Clears the value of
sender
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearSender()
-
Undocumented
Declaration
Swift
public var receiver: ForgeAbi_ExchangeInfo { get set }
-
Returns true if
receiver
has been explicitly set.Declaration
Swift
public var hasReceiver: Bool { get }
-
Clears the value of
receiver
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearReceiver()
-
Undocumented
Declaration
Swift
public var expiredAt: SwiftProtobuf.Google_Protobuf_Timestamp { get set }
-
Returns true if
expiredAt
has been explicitly set.Declaration
Swift
public var hasExpiredAt: Bool { get }
-
Clears the value of
expiredAt
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearExpiredAt()
-
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_ExchangeTx, rhs: ForgeAbi_ExchangeTx) -> Bool