generated/stellar/trust_line_entry.rb in stellar-base-0.0.20 vs generated/stellar/trust_line_entry.rb in stellar-base-0.1.0
- old
+ new
@@ -6,13 +6,13 @@
# === xdr source ============================================================
#
# struct TrustLineEntry
# {
# AccountID accountID; // account this trustline belongs to
-# Currency currency; // currency (with issuer)
-# int64 balance; // how much of this currency the user has.
-# // Currency defines the unit for this;
+# Asset asset; // type of asset (with issuer)
+# int64 balance; // how much of this asset the user has.
+# // Asset defines the unit for this;
#
# int64 limit; // balance cannot be above this
# uint32 flags; // see TrustLineFlags
#
# // reserved for future use
@@ -30,10 +30,10 @@
include XDR::Namespace
autoload :Ext
attribute :account_id, AccountID
- attribute :currency, Currency
+ attribute :asset, Asset
attribute :balance, Int64
attribute :limit, Int64
attribute :flags, Uint32
attribute :ext, Ext
end