Skip to content

Commit

Permalink
Merge pull request #35 from SubstrateGaming/monthly_updates_09_24
Browse files Browse the repository at this point in the history
updated to ajuna 0.7.7
  • Loading branch information
darkfriend77 authored Sep 17, 2024
2 parents 6013199 + a113c5f commit 09e7ce7
Show file tree
Hide file tree
Showing 293 changed files with 10,762 additions and 4,211 deletions.
10,959 changes: 7,053 additions & 3,906 deletions Substrate.Ajuna.NET/.substrate/metadata.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Substrate.Ajuna.NET/.substrate/metadata.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class BaseClient
/// <param name="maxConcurrentCalls"></param>
public BaseClient(string url, int maxConcurrentCalls = 10)
{
_chargeTypeDefault = ChargeTransactionPayment.Default();
_chargeTypeDefault = ChargeAssetTxPayment.Default();

_maxConcurrentCalls = maxConcurrentCalls;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class BaseClient
/// <param name="maxConcurrentCalls"></param>
public BaseClient(string url, int maxConcurrentCalls = 10)
{
_chargeTypeDefault = ChargeTransactionPayment.Default();
_chargeTypeDefault = ChargeAssetTxPayment.Default();

_maxConcurrentCalls = maxConcurrentCalls;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public enum OriginCaller
}

/// <summary>
/// >> 222 - Variant[ajuna_runtime.OriginCaller]
/// >> 230 - Variant[ajuna_runtime.OriginCaller]
/// </summary>
public sealed class EnumOriginCaller : BaseEnumRust<OriginCaller>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,20 @@ public enum RuntimeCall
/// >> AssetRegistry
/// </summary>
AssetRegistry = 91,

/// <summary>
/// >> PoolAssets
/// </summary>
PoolAssets = 92,

/// <summary>
/// >> AssetConversion
/// </summary>
AssetConversion = 93,
}

/// <summary>
/// >> 219 - Variant[ajuna_runtime.RuntimeCall]
/// >> 227 - Variant[ajuna_runtime.RuntimeCall]
/// </summary>
public sealed class EnumRuntimeCall : BaseEnumRust<RuntimeCall>
{
Expand Down Expand Up @@ -201,6 +211,8 @@ public EnumRuntimeCall()
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_democracy.pallet.EnumCall>(RuntimeCall.Democracy);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumCall>(RuntimeCall.Assets);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_registry.pallet.EnumCall>(RuntimeCall.AssetRegistry);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumCall>(RuntimeCall.PoolAssets);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_conversion.pallet.EnumCall>(RuntimeCall.AssetConversion);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,21 @@ public enum RuntimeEvent
/// >> AssetRegistry
/// </summary>
AssetRegistry = 91,

/// <summary>
/// >> PoolAssets
/// </summary>
PoolAssets = 92,

/// <summary>
/// >> AssetConversion
/// </summary>
AssetConversion = 93,

/// <summary>
/// >> AssetConversionTxPayment
/// </summary>
AssetConversionTxPayment = 94,
}

/// <summary>
Expand Down Expand Up @@ -195,6 +210,9 @@ public EnumRuntimeEvent()
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_democracy.pallet.EnumEvent>(RuntimeEvent.Democracy);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumEvent>(RuntimeEvent.Assets);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_registry.pallet.EnumEvent>(RuntimeEvent.AssetRegistry);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumEvent>(RuntimeEvent.PoolAssets);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_conversion.pallet.EnumEvent>(RuntimeEvent.AssetConversion);
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_conversion_tx_payment.pallet.EnumEvent>(RuntimeEvent.AssetConversionTxPayment);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum RuntimeHoldReason
}

/// <summary>
/// >> 401 - Variant[ajuna_runtime.RuntimeHoldReason]
/// >> 412 - Variant[ajuna_runtime.RuntimeHoldReason]
/// </summary>
public sealed class EnumRuntimeHoldReason : BaseEnumRust<RuntimeHoldReason>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.ajuna_runtime


/// <summary>
/// >> 525 - Composite[ajuna_runtime.Runtime]
/// >> 539 - Composite[ajuna_runtime.Runtime]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class Runtime : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.ajuna_runtime


/// <summary>
/// >> 284 - Composite[ajuna_runtime.SessionKeys]
/// >> 292 - Composite[ajuna_runtime.SessionKeys]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class SessionKeys : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum CurrencyId
}

/// <summary>
/// >> 330 - Variant[ajuna_runtime.xcm_config.CurrencyId]
/// >> 338 - Variant[ajuna_runtime.xcm_config.CurrencyId]
/// </summary>
public sealed class EnumCurrencyId : BaseEnum<CurrencyId>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 426 - Composite[bounded_collections.bounded_btree_set.BoundedBTreeSet]
/// >> 437 - Composite[bounded_collections.bounded_btree_set.BoundedBTreeSet]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedBTreeSet : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 353 - Composite[bounded_collections.bounded_vec.BoundedVecT10]
/// >> 364 - Composite[bounded_collections.bounded_vec.BoundedVecT10]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT10 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 358 - Composite[bounded_collections.bounded_vec.BoundedVecT11]
/// >> 369 - Composite[bounded_collections.bounded_vec.BoundedVecT11]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT11 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 359 - Composite[bounded_collections.bounded_vec.BoundedVecT12]
/// >> 370 - Composite[bounded_collections.bounded_vec.BoundedVecT12]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT12 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 364 - Composite[bounded_collections.bounded_vec.BoundedVecT13]
/// >> 375 - Composite[bounded_collections.bounded_vec.BoundedVecT13]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT13 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 368 - Composite[bounded_collections.bounded_vec.BoundedVecT14]
/// >> 379 - Composite[bounded_collections.bounded_vec.BoundedVecT14]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT14 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 372 - Composite[bounded_collections.bounded_vec.BoundedVecT15]
/// >> 383 - Composite[bounded_collections.bounded_vec.BoundedVecT15]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT15 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 376 - Composite[bounded_collections.bounded_vec.BoundedVecT16]
/// >> 387 - Composite[bounded_collections.bounded_vec.BoundedVecT16]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT16 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 390 - Composite[bounded_collections.bounded_vec.BoundedVecT17]
/// >> 401 - Composite[bounded_collections.bounded_vec.BoundedVecT17]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT17 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 396 - Composite[bounded_collections.bounded_vec.BoundedVecT18]
/// >> 407 - Composite[bounded_collections.bounded_vec.BoundedVecT18]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT18 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 399 - Composite[bounded_collections.bounded_vec.BoundedVecT19]
/// >> 410 - Composite[bounded_collections.bounded_vec.BoundedVecT19]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT19 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 404 - Composite[bounded_collections.bounded_vec.BoundedVecT20]
/// >> 415 - Composite[bounded_collections.bounded_vec.BoundedVecT20]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT20 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 409 - Composite[bounded_collections.bounded_vec.BoundedVecT21]
/// >> 420 - Composite[bounded_collections.bounded_vec.BoundedVecT21]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT21 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 411 - Composite[bounded_collections.bounded_vec.BoundedVecT22]
/// >> 422 - Composite[bounded_collections.bounded_vec.BoundedVecT22]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT22 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 412 - Composite[bounded_collections.bounded_vec.BoundedVecT23]
/// >> 423 - Composite[bounded_collections.bounded_vec.BoundedVecT23]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT23 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 422 - Composite[bounded_collections.bounded_vec.BoundedVecT24]
/// >> 433 - Composite[bounded_collections.bounded_vec.BoundedVecT24]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT24 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 429 - Composite[bounded_collections.bounded_vec.BoundedVecT25]
/// >> 440 - Composite[bounded_collections.bounded_vec.BoundedVecT25]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT25 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 444 - Composite[bounded_collections.bounded_vec.BoundedVecT26]
/// >> 455 - Composite[bounded_collections.bounded_vec.BoundedVecT26]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT26 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 451 - Composite[bounded_collections.bounded_vec.BoundedVecT27]
/// >> 462 - Composite[bounded_collections.bounded_vec.BoundedVecT27]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT27 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 454 - Composite[bounded_collections.bounded_vec.BoundedVecT28]
/// >> 465 - Composite[bounded_collections.bounded_vec.BoundedVecT28]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT28 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 463 - Composite[bounded_collections.bounded_vec.BoundedVecT29]
/// >> 474 - Composite[bounded_collections.bounded_vec.BoundedVecT29]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT29 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 468 - Composite[bounded_collections.bounded_vec.BoundedVecT30]
/// >> 479 - Composite[bounded_collections.bounded_vec.BoundedVecT30]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT30 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 475 - Composite[bounded_collections.bounded_vec.BoundedVecT31]
/// >> 485 - Composite[bounded_collections.bounded_vec.BoundedVecT31]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT31 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 478 - Composite[bounded_collections.bounded_vec.BoundedVecT32]
/// >> 488 - Composite[bounded_collections.bounded_vec.BoundedVecT32]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT32 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 481 - Composite[bounded_collections.bounded_vec.BoundedVecT33]
/// >> 491 - Composite[bounded_collections.bounded_vec.BoundedVecT33]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT33 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 483 - Composite[bounded_collections.bounded_vec.BoundedVecT34]
/// >> 493 - Composite[bounded_collections.bounded_vec.BoundedVecT34]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT34 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 487 - Composite[bounded_collections.bounded_vec.BoundedVecT35]
/// >> 497 - Composite[bounded_collections.bounded_vec.BoundedVecT35]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT35 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 492 - Composite[bounded_collections.bounded_vec.BoundedVecT36]
/// >> 502 - Composite[bounded_collections.bounded_vec.BoundedVecT36]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT36 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 509 - Composite[bounded_collections.bounded_vec.BoundedVecT37]
/// >> 519 - Composite[bounded_collections.bounded_vec.BoundedVecT37]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT37 : BaseType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun


/// <summary>
/// >> 217 - Composite[bounded_collections.bounded_vec.BoundedVecT5]
/// >> 225 - Composite[bounded_collections.bounded_vec.BoundedVecT5]
/// </summary>
[SubstrateNodeType(TypeDefEnum.Composite)]
public sealed class BoundedVecT5 : BaseType
Expand Down
Loading

0 comments on commit 09e7ce7

Please sign in to comment.