ClaimOfferAtomV0Xdr

data class ClaimOfferAtomV0Xdr(val sellerEd25519: Uint256Xdr, val offerId: Int64Xdr, val assetSold: AssetXdr, val amountSold: Int64Xdr, val assetBought: AssetXdr, val amountBought: Int64Xdr)

XDR Source: struct ClaimOfferAtomV0 { // emitted to identify the offer uint256 sellerEd25519; // Account that owns the offer int64 offerID;

// amount and asset taken from the owner
Asset assetSold;
int64 amountSold;

// amount and asset sent to the owner
Asset assetBought;
int64 amountBought;

};

Constructors

Link copied to clipboard
constructor(sellerEd25519: Uint256Xdr, offerId: Int64Xdr, assetSold: AssetXdr, amountSold: Int64Xdr, assetBought: AssetXdr, amountBought: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

amount and asset sent to the owner

Link copied to clipboard

amount and asset taken from the owner

Link copied to clipboard
Link copied to clipboard

emitted to identify the offer Account that owns the offer

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)