ForgeAbi_SetupSwapTx

public struct ForgeAbi_SetupSwapTx

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()