From 66ad82f49b76ebd80944cfb482b414cd170ccf37 Mon Sep 17 00:00:00 2001 From: Kirbyrawr Date: Mon, 28 Feb 2022 22:04:33 +0100 Subject: [PATCH] Now muxed ids are ulong instead of long. --- stellar-dotnet-sdk-test/AssetAmountTest.cs | 2 +- stellar-dotnet-sdk-test/OperationTest.cs | 2 ++ stellar-dotnet-sdk-test/ServerTest.cs | 2 -- .../responses/AssetPageDeserializerTest.cs | 1 + stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs | 3 +++ .../responses/TransactionDeserializerTest.cs | 4 ++-- .../responses/operations/AccountMergeOperationResponseTest.cs | 2 +- .../responses/operations/AllowTrustOperationResponseTest.cs | 2 +- .../responses/operations/ChangeTrustOperationResponseTest.cs | 2 +- .../operations/ClaimClaimableBalanceOperationResponseTest.cs | 2 +- .../responses/operations/ClawbackOperationResponseTest.cs | 2 +- .../operations/CreateAccountOperationResponseTest.cs | 2 +- .../EndSponsoringFutureReservesOperationResponseTest.cs | 2 +- .../responses/operations/PaymentOperationResponseTest.cs | 4 ++-- stellar-dotnet-sdk/responses/TransactionResponse.cs | 4 ++-- .../responses/operations/AccountMergeOperationResponse.cs | 4 ++-- .../responses/operations/AllowTrustOperationResponse.cs | 2 +- .../responses/operations/ChangeTrustOperationResponse.cs | 2 +- .../operations/ClaimClaimableBalanceOperationResponse.cs | 2 +- .../responses/operations/ClawbackOperationResponse.cs | 2 +- .../responses/operations/CreateAccountOperationResponse.cs | 2 +- .../EndSponsoringFutureReservesOperationResponse.cs | 2 +- stellar-dotnet-sdk/responses/operations/OperationResponse.cs | 2 +- .../responses/operations/PaymentOperationResponse.cs | 4 ++-- .../operations/SetTrustlineFlagsOperationResponse.cs | 1 - 25 files changed, 31 insertions(+), 28 deletions(-) diff --git a/stellar-dotnet-sdk-test/AssetAmountTest.cs b/stellar-dotnet-sdk-test/AssetAmountTest.cs index f2bf2ce7..29123994 100644 --- a/stellar-dotnet-sdk-test/AssetAmountTest.cs +++ b/stellar-dotnet-sdk-test/AssetAmountTest.cs @@ -16,7 +16,7 @@ public void TestDefaultConstructor() { new AssetAmount(); } - catch (Exception e) + catch (Exception) { Assert.Fail(); } diff --git a/stellar-dotnet-sdk-test/OperationTest.cs b/stellar-dotnet-sdk-test/OperationTest.cs index 263c703f..6f1b5cbb 100644 --- a/stellar-dotnet-sdk-test/OperationTest.cs +++ b/stellar-dotnet-sdk-test/OperationTest.cs @@ -305,6 +305,7 @@ public void TestChangeTrustOperationNoLimit() } [TestMethod] + [Obsolete] public void TestAllowTrustOperation() { // GC5SIC4E3V56VOHJ3OZAX5SJDTWY52JYI2AFK6PUGSXFVRJQYQXXZBZF @@ -334,6 +335,7 @@ public void TestAllowTrustOperation() TestAllowTrustOperationAuthorize(source, trustor, assetCode); } + [Obsolete] private static void TestAllowTrustOperationAuthorize(KeyPair source, KeyPair trustor, string assetCode) { AllowTrustOperation operation = null; diff --git a/stellar-dotnet-sdk-test/ServerTest.cs b/stellar-dotnet-sdk-test/ServerTest.cs index ee75c3dc..0a43fb5d 100644 --- a/stellar-dotnet-sdk-test/ServerTest.cs +++ b/stellar-dotnet-sdk-test/ServerTest.cs @@ -87,8 +87,6 @@ public Transaction BuildTransaction() public FeeBumpTransaction BuildFeeBumpTransaction() { var source = KeyPair.FromSecretSeed("SB7ZMPZB3YMMK5CUWENXVLZWBK4KYX4YU5JBXQNZSK2DP2Q7V3LVTO5V"); - - var accountId = "GAYHAAKPAQLMGIJYMIWPDWCGUCQ5LAWY4Q7Q3IKSP57O7GUPD3NEOSEA"; var innerTx = BuildTransaction(); var feeSource = KeyPair.FromAccountId("GD7HCWFO77E76G6BKJLRHRFRLE6I7BMPJQZQKGNYTT3SPE6BA4DHJAQY"); diff --git a/stellar-dotnet-sdk-test/responses/AssetPageDeserializerTest.cs b/stellar-dotnet-sdk-test/responses/AssetPageDeserializerTest.cs index 2b1615d0..04b91fb5 100644 --- a/stellar-dotnet-sdk-test/responses/AssetPageDeserializerTest.cs +++ b/stellar-dotnet-sdk-test/responses/AssetPageDeserializerTest.cs @@ -30,6 +30,7 @@ public void TestSerializeDeserializeAssetPage() } [TestMethod] + [System.Obsolete] public void TestAssetResponseFlagDefaultsToNotImmutable() { var assetResponseFlags = new AssetResponseFlags(authRequired: true, authRevocable: true); diff --git a/stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs b/stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs index a2a226b6..2b824680 100644 --- a/stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs +++ b/stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs @@ -571,6 +571,7 @@ public void TestSerializeDeserializeTrustlineAuthorizedEffect() AssertTrustlineAuthorizedData(back); } + [Obsolete] private static void AssertTrustlineAuthorizedData(EffectResponse instance) { //There is a JsonConverter called OperationDeserializer that instantiates the type based on the json type_i element... @@ -593,6 +594,7 @@ private static void AssertTrustlineAuthorizedData(EffectResponse instance) Assert.IsNotNull(back); } + [Obsolete] private static void AssertTrustlineAuthorizedToMaintainLiabilitiesEffect(EffectResponse instance) { //There is a JsonConverter called OperationDeserializer that instantiates the type based on the json type_i element... @@ -637,6 +639,7 @@ public void TestSerializeDeserializeTrustlineDeauthorizedEffect() AssertTrustlineDeauthorizedData(back); } + [Obsolete] private static void AssertTrustlineDeauthorizedData(EffectResponse instance) { //There is a JsonConverter called OperationDeserializer that instantiates the type based on the json type_i element... diff --git a/stellar-dotnet-sdk-test/responses/TransactionDeserializerTest.cs b/stellar-dotnet-sdk-test/responses/TransactionDeserializerTest.cs index 0579053f..774d86c0 100644 --- a/stellar-dotnet-sdk-test/responses/TransactionDeserializerTest.cs +++ b/stellar-dotnet-sdk-test/responses/TransactionDeserializerTest.cs @@ -179,11 +179,11 @@ public void TestDeserializeMuxed() Assert.AreEqual("GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2", transaction.SourceAccount); Assert.AreEqual("MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24", transaction.AccountMuxed); - Assert.AreEqual(5123456789, transaction.AccountMuxedID); + Assert.AreEqual(5123456789UL, transaction.AccountMuxedID); Assert.AreEqual("GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2", transaction.FeeAccount); Assert.AreEqual("MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24", transaction.FeeAccountMuxed); - Assert.AreEqual(5123456789, transaction.FeeAccountMuxedID); + Assert.AreEqual(5123456789UL, transaction.FeeAccountMuxedID); } } } diff --git a/stellar-dotnet-sdk-test/responses/operations/AccountMergeOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/AccountMergeOperationResponseTest.cs index aead421e..2941721e 100644 --- a/stellar-dotnet-sdk-test/responses/operations/AccountMergeOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/AccountMergeOperationResponseTest.cs @@ -72,7 +72,7 @@ private static void AssertAccountMergeDataMuxed(OperationResponse instance) Assert.AreEqual(operation.Account, "GD6GKRABNDVYDETEZJQEPS7IBQMERCN44R5RCI4LJNX6BMYQM2KPGGZ2"); Assert.AreEqual(operation.Into, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.IntoMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.IntoMuxedID, "5123456789"); + Assert.AreEqual(operation.IntoMuxedID, 5123456789UL); } } } diff --git a/stellar-dotnet-sdk-test/responses/operations/AllowTrustOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/AllowTrustOperationResponseTest.cs index 2bf883dd..8fbc0a20 100644 --- a/stellar-dotnet-sdk-test/responses/operations/AllowTrustOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/AllowTrustOperationResponseTest.cs @@ -77,7 +77,7 @@ private static void AssertAllowTrustOperationMuxed(OperationResponse instance) Assert.AreEqual(operation.Trustor, "GDZ55LVXECRTW4G36EZPTHI4XIYS5JUC33TUS22UOETVFVOQ77JXWY4F"); Assert.AreEqual(operation.Trustee, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.TrusteeMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.TrusteeMuxedID, 5123456789); + Assert.AreEqual(operation.TrusteeMuxedID, 5123456789UL); Assert.AreEqual(operation.Authorize, true); Assert.AreEqual(operation.Asset, Asset.CreateNonNativeAsset("EUR", "GDIROJW2YHMSFZJJ4R5XWWNUVND5I45YEWS5DSFKXCHMADZ5V374U2LM")); } diff --git a/stellar-dotnet-sdk-test/responses/operations/ChangeTrustOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/ChangeTrustOperationResponseTest.cs index 74749b7d..370c4975 100644 --- a/stellar-dotnet-sdk-test/responses/operations/ChangeTrustOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/ChangeTrustOperationResponseTest.cs @@ -76,7 +76,7 @@ private static void AssertChangeTrustDataMuxed(OperationResponse instance) Assert.AreEqual(operation.Trustee, "GDIROJW2YHMSFZJJ4R5XWWNUVND5I45YEWS5DSFKXCHMADZ5V374U2LM"); Assert.AreEqual(operation.Trustor, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.TrustorMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.TrustorMuxedID, 5123456789); + Assert.AreEqual(operation.TrustorMuxedID, 5123456789UL); Assert.AreEqual(operation.Limit, "922337203685.4775807"); Assert.AreEqual(operation.Asset, Asset.CreateNonNativeAsset("EUR", "GDIROJW2YHMSFZJJ4R5XWWNUVND5I45YEWS5DSFKXCHMADZ5V374U2LM")); } diff --git a/stellar-dotnet-sdk-test/responses/operations/ClaimClaimableBalanceOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/ClaimClaimableBalanceOperationResponseTest.cs index 5425352a..b37b2891 100644 --- a/stellar-dotnet-sdk-test/responses/operations/ClaimClaimableBalanceOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/ClaimClaimableBalanceOperationResponseTest.cs @@ -60,7 +60,7 @@ private static void AssertClaimClaimableBalanceDataMuxed(OperationResponse insta Assert.AreEqual("00000000526674017c3cf392614b3f2f500230affd58c7c364625c350c61058fbeacbdf7", operation.BalanceID); Assert.AreEqual("GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2", operation.Claimant); Assert.AreEqual("MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24", operation.ClaimantMuxed); - Assert.AreEqual(5123456789, operation.ClaimantMuxedID); + Assert.AreEqual(5123456789UL, operation.ClaimantMuxedID); var back = new ClaimClaimableBalanceOperationResponse(operation.BalanceID, operation.Claimant); Assert.IsNotNull(back); diff --git a/stellar-dotnet-sdk-test/responses/operations/ClawbackOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/ClawbackOperationResponseTest.cs index c9201043..684d7b95 100644 --- a/stellar-dotnet-sdk-test/responses/operations/ClawbackOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/ClawbackOperationResponseTest.cs @@ -65,7 +65,7 @@ private static void AssertClawbackDataMuxed(OperationResponse instance) Assert.AreEqual(operation.AssetType, "credit_alphanum4"); Assert.AreEqual(operation.From, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.FromMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.FromMuxedID, 5123456789); + Assert.AreEqual(operation.FromMuxedID, 5123456789UL); Assert.AreEqual(operation.Asset.ToQueryParameterEncodedString(), "EUR:GDIROJW2YHMSFZJJ4R5XWWNUVND5I45YEWS5DSFKXCHMADZ5V374U2LM"); } } diff --git a/stellar-dotnet-sdk-test/responses/operations/CreateAccountOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/CreateAccountOperationResponseTest.cs index 1b980d4e..7fe3de62 100644 --- a/stellar-dotnet-sdk-test/responses/operations/CreateAccountOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/CreateAccountOperationResponseTest.cs @@ -89,7 +89,7 @@ public static void AssertCreateAccountOperationDataMuxed(OperationResponse insta Assert.AreEqual(operation.StartingBalance, "299454.904954"); Assert.AreEqual(operation.Funder, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.FunderMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.FunderMuxedID, 5123456789); + Assert.AreEqual(operation.FunderMuxedID, 5123456789UL); Assert.IsTrue(operation.TransactionSuccessful); Assert.AreEqual(operation.Links.Effects.Href, "/operations/3936840037961729/effects{?cursor,limit,order}"); diff --git a/stellar-dotnet-sdk-test/responses/operations/EndSponsoringFutureReservesOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/EndSponsoringFutureReservesOperationResponseTest.cs index bc7a6b12..aaf897fc 100644 --- a/stellar-dotnet-sdk-test/responses/operations/EndSponsoringFutureReservesOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/EndSponsoringFutureReservesOperationResponseTest.cs @@ -58,7 +58,7 @@ private static void AssertEndSponsoringFutureReservesDataMuxed(OperationResponse Assert.AreEqual(215542933753859, operation.Id); Assert.AreEqual("GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2", operation.BeginSponsor); Assert.AreEqual("MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24", operation.BeginSponsorMuxed); - Assert.AreEqual(5123456789, operation.BeginSponsorMuxedID); + Assert.AreEqual(5123456789UL, operation.BeginSponsorMuxedID); var back = new EndSponsoringFutureReservesOperationResponse(operation.BeginSponsor); Assert.IsNotNull(back); diff --git a/stellar-dotnet-sdk-test/responses/operations/PaymentOperationResponseTest.cs b/stellar-dotnet-sdk-test/responses/operations/PaymentOperationResponseTest.cs index 0f9ce687..a16b3ec6 100644 --- a/stellar-dotnet-sdk-test/responses/operations/PaymentOperationResponseTest.cs +++ b/stellar-dotnet-sdk-test/responses/operations/PaymentOperationResponseTest.cs @@ -115,13 +115,13 @@ public static void AssertPaymentOperationTestDataMuxed(OperationResponse instanc Assert.AreEqual(operation.SourceAccount, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.SourceAccountMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.SourceAccountMuxedID, 5123456789); + Assert.AreEqual(operation.SourceAccountMuxedID, 5123456789UL); Assert.AreEqual(operation.Id, 3940808587743233L); Assert.AreEqual(operation.From, "GCKICEQ2SA3KWH3UMQFJE4BFXCBFHW46BCVJBRCLK76ZY5RO6TY5D7Q2"); Assert.AreEqual(operation.FromMuxed, "MAAAAAABGFQ36FMUQEJBVEBWVMPXIZAKSJYCLOECKPNZ4CFKSDCEWV75TR3C55HR2FJ24"); - Assert.AreEqual(operation.FromMuxedID, 5123456789); + Assert.AreEqual(operation.FromMuxedID, 5123456789UL); Assert.AreEqual(operation.To, "GDWNY2POLGK65VVKIH5KQSH7VWLKRTQ5M6ADLJAYC2UEHEBEARCZJWWI"); Assert.AreEqual(operation.Amount, "100.0"); Assert.AreEqual(operation.Asset, new AssetTypeNative()); diff --git a/stellar-dotnet-sdk/responses/TransactionResponse.cs b/stellar-dotnet-sdk/responses/TransactionResponse.cs index d9f7bf49..76707911 100644 --- a/stellar-dotnet-sdk/responses/TransactionResponse.cs +++ b/stellar-dotnet-sdk/responses/TransactionResponse.cs @@ -27,7 +27,7 @@ public class TransactionResponse : Response, IPagingToken public string AccountMuxed { get; private set; } [JsonProperty(PropertyName = "account_muxed_id")] - public long? AccountMuxedID { get; private set; } + public ulong? AccountMuxedID { get; private set; } [JsonProperty(PropertyName = "fee_account")] public string FeeAccount { get; set; } @@ -36,7 +36,7 @@ public class TransactionResponse : Response, IPagingToken public string FeeAccountMuxed { get; set; } [JsonProperty(PropertyName = "fee_account_muxed_id")] - public long? FeeAccountMuxedID { get; set; } + public ulong? FeeAccountMuxedID { get; set; } [DefaultValue(true)] [JsonProperty(PropertyName = "successful", DefaultValueHandling = DefaultValueHandling.Populate)] diff --git a/stellar-dotnet-sdk/responses/operations/AccountMergeOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/AccountMergeOperationResponse.cs index f3e48cd3..a2d7efca 100644 --- a/stellar-dotnet-sdk/responses/operations/AccountMergeOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/AccountMergeOperationResponse.cs @@ -19,7 +19,7 @@ public class AccountMergeOperationResponse : OperationResponse public string AccountMuxed { get; private set; } [JsonProperty(PropertyName = "account_muxed_id")] - public long? AccountMuxedID { get; private set; } + public ulong? AccountMuxedID { get; private set; } [JsonProperty(PropertyName = "into")] public string Into { get; private set; } @@ -28,7 +28,7 @@ public class AccountMergeOperationResponse : OperationResponse public string IntoMuxed { get; private set; } [JsonProperty(PropertyName = "into_muxed_id")] - public string IntoMuxedID { get; private set; } + public ulong? IntoMuxedID { get; private set; } public AccountMergeOperationResponse() { diff --git a/stellar-dotnet-sdk/responses/operations/AllowTrustOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/AllowTrustOperationResponse.cs index 1f88fd64..a0aa3778 100644 --- a/stellar-dotnet-sdk/responses/operations/AllowTrustOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/AllowTrustOperationResponse.cs @@ -59,7 +59,7 @@ public AllowTrustOperationResponse() /// Trustee account. /// [JsonProperty(PropertyName = "trustee_muxed_id")] - public long? TrusteeMuxedID { get; private set; } + public ulong? TrusteeMuxedID { get; private set; } /// /// Asset type (native / alphanum4 / alphanum12) diff --git a/stellar-dotnet-sdk/responses/operations/ChangeTrustOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/ChangeTrustOperationResponse.cs index 6d344131..64de3fcd 100644 --- a/stellar-dotnet-sdk/responses/operations/ChangeTrustOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/ChangeTrustOperationResponse.cs @@ -49,7 +49,7 @@ public ChangeTrustOperationResponse(string assetCode, string assetIssuer, string public string TrustorMuxed { get; private set; } [JsonProperty(PropertyName = "trustor_muxed_id")] - public long? TrustorMuxedID { get; private set; } + public ulong? TrustorMuxedID { get; private set; } public Asset Asset => Asset.CreateNonNativeAsset(AssetType, AssetIssuer, AssetCode); } diff --git a/stellar-dotnet-sdk/responses/operations/ClaimClaimableBalanceOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/ClaimClaimableBalanceOperationResponse.cs index 089e40b1..a8b939cd 100644 --- a/stellar-dotnet-sdk/responses/operations/ClaimClaimableBalanceOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/ClaimClaimableBalanceOperationResponse.cs @@ -22,7 +22,7 @@ public class ClaimClaimableBalanceOperationResponse : OperationResponse public string ClaimantMuxed { get; private set; } [JsonProperty(PropertyName = "claimant_muxed_id")] - public long? ClaimantMuxedID { get; private set; } + public ulong? ClaimantMuxedID { get; private set; } public ClaimClaimableBalanceOperationResponse() { diff --git a/stellar-dotnet-sdk/responses/operations/ClawbackOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/ClawbackOperationResponse.cs index 6e1cadc6..3fb26010 100644 --- a/stellar-dotnet-sdk/responses/operations/ClawbackOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/ClawbackOperationResponse.cs @@ -72,7 +72,7 @@ public ClawbackOperationResponse() /// Muxed Account ID from which the asset is clawed back /// [JsonProperty(PropertyName = "from_muxed_id")] - public long? FromMuxedID { get; private set; } + public ulong? FromMuxedID { get; private set; } /// /// Asset representation (Using the values of the other fields) diff --git a/stellar-dotnet-sdk/responses/operations/CreateAccountOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/CreateAccountOperationResponse.cs index 8800e82b..74e88012 100644 --- a/stellar-dotnet-sdk/responses/operations/CreateAccountOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/CreateAccountOperationResponse.cs @@ -22,7 +22,7 @@ public class CreateAccountOperationResponse : OperationResponse public string FunderMuxed { get; private set; } [JsonProperty(PropertyName = "funder_muxed_id")] - public long? FunderMuxedID { get; private set; } + public ulong? FunderMuxedID { get; private set; } [JsonProperty(PropertyName = "starting_balance")] public string StartingBalance { get; private set; } diff --git a/stellar-dotnet-sdk/responses/operations/EndSponsoringFutureReservesOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/EndSponsoringFutureReservesOperationResponse.cs index bfa3a567..b3bee1d3 100644 --- a/stellar-dotnet-sdk/responses/operations/EndSponsoringFutureReservesOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/EndSponsoringFutureReservesOperationResponse.cs @@ -19,7 +19,7 @@ public class EndSponsoringFutureReservesOperationResponse : OperationResponse public string BeginSponsorMuxed { get; private set; } [JsonProperty(PropertyName = "begin_sponsor_muxed_id")] - public long? BeginSponsorMuxedID { get; private set; } + public ulong? BeginSponsorMuxedID { get; private set; } public EndSponsoringFutureReservesOperationResponse() { diff --git a/stellar-dotnet-sdk/responses/operations/OperationResponse.cs b/stellar-dotnet-sdk/responses/operations/OperationResponse.cs index fb17e2d2..6dbb4fc6 100644 --- a/stellar-dotnet-sdk/responses/operations/OperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/OperationResponse.cs @@ -28,7 +28,7 @@ public abstract class OperationResponse : Response, IPagingToken public string SourceAccountMuxed { get; private set; } [JsonProperty(PropertyName = "source_account_muxed_id")] - public long? SourceAccountMuxedID { get; private set; } + public ulong? SourceAccountMuxedID { get; private set; } /// /// Paging Token of Paging diff --git a/stellar-dotnet-sdk/responses/operations/PaymentOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/PaymentOperationResponse.cs index d4694b2f..6073524c 100644 --- a/stellar-dotnet-sdk/responses/operations/PaymentOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/PaymentOperationResponse.cs @@ -47,7 +47,7 @@ public class PaymentOperationResponse : OperationResponse public string FromMuxed { get; private set; } [JsonProperty(PropertyName = "from_muxed_id")] - public long? FromMuxedID { get; private set; } + public ulong? FromMuxedID { get; private set; } /// /// @@ -59,7 +59,7 @@ public class PaymentOperationResponse : OperationResponse public string ToMuxed { get; private set; } [JsonProperty(PropertyName = "to_muxed_id")] - public long? ToMuxedID { get; private set; } + public ulong? ToMuxedID { get; private set; } /// /// Account address that receives the payment. diff --git a/stellar-dotnet-sdk/responses/operations/SetTrustlineFlagsOperationResponse.cs b/stellar-dotnet-sdk/responses/operations/SetTrustlineFlagsOperationResponse.cs index 33cb364b..d6b10f99 100644 --- a/stellar-dotnet-sdk/responses/operations/SetTrustlineFlagsOperationResponse.cs +++ b/stellar-dotnet-sdk/responses/operations/SetTrustlineFlagsOperationResponse.cs @@ -57,7 +57,6 @@ public SetTrustlineFlagsOperationResponse() [JsonProperty(PropertyName = "trustor")] public string Trustor { get; private set; } - /// /// Indicates which flags to clear. For details about the flags, please refer to the accounts doc. The bit mask integer adds onto the /// existing flags of the account. This allows for setting specific bits without knowledge of existing flags.