Stellar.XDR.ClaimOfferAtomV0 (Elixir Stellar Base v0.1.3) View Source
Representation of Stellar ClaimOfferAtomV0
type.
ClaimOfferAtomV0 is a ClaimOfferAtom with the AccountID discriminant stripped off, leaving a raw ed25519 public key to identify the source account. This is used for backwards compatibility starting from the protocol 17/18 boundary. If an "old-style" ClaimOfferAtom is parsed with this XDR definition, it will be parsed as a "new-style" ClaimAtom containing a ClaimOfferAtomV0.
Link to this section Summary
Link to this section Types
Specs
t() :: %Stellar.XDR.ClaimOfferAtomV0{ amount_bought: Stellar.XDR.Int64.t(), amount_sold: Stellar.XDR.Int64.t(), asset_bought: Stellar.XDR.Asset.t(), asset_sold: Stellar.XDR.Asset.t(), offer_id: Stellar.XDR.Int64.t(), seller_ed25519: Stellar.XDR.UInt256.t() }
Link to this section Functions
Link to this function
new(seller_ed25519, offer_id, asset_sold, amount_sold, asset_bought, amount_bought)
View SourceSpecs
new( seller_ed25519 :: Stellar.XDR.UInt256.t(), offer_id :: Stellar.XDR.Int64.t(), asset_sold :: Stellar.XDR.Asset.t(), amount_sold :: Stellar.XDR.Int64.t(), asset_bought :: Stellar.XDR.Asset.t(), amount_bought :: Stellar.XDR.Int64.t() ) :: t()