generated/stellar/claim_offer_atom.rb in stellar-base-0.0.20 vs generated/stellar/claim_offer_atom.rb in stellar-base-0.1.0
- old
+ new
@@ -9,25 +9,25 @@
# {
# // emited to identify the offer
# AccountID offerOwner; // Account that owns the offer
# uint64 offerID;
#
-# // amount and currency taken from the owner
-# Currency currencyClaimed;
+# // amount and asset taken from the owner
+# Asset assetClaimed;
# int64 amountClaimed;
#
-# // amount and currencysent to the owner
-# Currency currencySend;
+# // amount and assetsent to the owner
+# Asset assetSend;
# int64 amountSend;
# };
#
# ===========================================================================
module Stellar
class ClaimOfferAtom < XDR::Struct
- attribute :offer_owner, AccountID
- attribute :offer_id, Uint64
- attribute :currency_claimed, Currency
- attribute :amount_claimed, Int64
- attribute :currency_send, Currency
- attribute :amount_send, Int64
+ attribute :offer_owner, AccountID
+ attribute :offer_id, Uint64
+ attribute :asset_claimed, Asset
+ attribute :amount_claimed, Int64
+ attribute :asset_send, Asset
+ attribute :amount_send, Int64
end
end