ManageBuyOfferOpXdr

data class ManageBuyOfferOpXdr(val selling: AssetXdr, val buying: AssetXdr, val buyAmount: Int64Xdr, val price: PriceXdr, val offerId: Int64Xdr)

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

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

};

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

price of thing being bought in terms of what you are

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)