ManageSellOfferOpXdr

data class ManageSellOfferOpXdr(val selling: AssetXdr, val buying: AssetXdr, val amount: Int64Xdr, val price: PriceXdr, val offerId: Int64Xdr)

XDR Source: struct ManageSellOfferOp { Asset selling; Asset buying; int64 amount; // amount being sold. if set to 0, delete the offer Price price; // price of thing being sold in terms of what you are buying

// 0=create a new offer, otherwise edit an existing offer
int64 offerID;

};

Constructors

Link copied to clipboard
constructor(selling: AssetXdr, buying: AssetXdr, amount: Int64Xdr, price: PriceXdr, offerId: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

amount being sold. if set to 0, delete the offer

Link copied to clipboard
Link copied to clipboard

0=create a new offer, otherwise edit an existing offer

Link copied to clipboard

price of thing being sold in terms of what you are buying

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)