Skip to content

Commit f8db74a

Browse files
authored
Merge pull request #36 from SubstrateGaming/monthly_updates_09_24
updated ajuna to rc
2 parents 09e7ce7 + b0c2901 commit f8db74a

File tree

573 files changed

+24601
-913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

573 files changed

+24601
-913
lines changed

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/EnumOriginCaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public enum OriginCaller
5353
}
5454

5555
/// <summary>
56-
/// >> 230 - Variant[ajuna_runtime.OriginCaller]
56+
/// >> 279 - Variant[ajuna_runtime.OriginCaller]
5757
/// </summary>
5858
public sealed class EnumOriginCaller : BaseEnumRust<OriginCaller>
5959
{

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/EnumRuntimeCall.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ public enum RuntimeCall
151151
/// </summary>
152152
Democracy = 46,
153153

154+
/// <summary>
155+
/// >> AwesomeAvatars
156+
/// </summary>
157+
AwesomeAvatars = 51,
158+
159+
/// <summary>
160+
/// >> Nft
161+
/// </summary>
162+
Nft = 60,
163+
154164
/// <summary>
155165
/// >> Assets
156166
/// </summary>
@@ -173,7 +183,7 @@ public enum RuntimeCall
173183
}
174184

175185
/// <summary>
176-
/// >> 227 - Variant[ajuna_runtime.RuntimeCall]
186+
/// >> 276 - Variant[ajuna_runtime.RuntimeCall]
177187
/// </summary>
178188
public sealed class EnumRuntimeCall : BaseEnumRust<RuntimeCall>
179189
{
@@ -209,6 +219,8 @@ public EnumRuntimeCall()
209219
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_collective.pallet.EnumCall>(RuntimeCall.TechnicalCommittee);
210220
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_membership.pallet.EnumCall>(RuntimeCall.TechnicalCommitteeMembership);
211221
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_democracy.pallet.EnumCall>(RuntimeCall.Democracy);
222+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_ajuna_awesome_avatars.pallet.EnumCall>(RuntimeCall.AwesomeAvatars);
223+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_nfts.pallet.EnumCall>(RuntimeCall.Nft);
212224
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumCall>(RuntimeCall.Assets);
213225
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_registry.pallet.EnumCall>(RuntimeCall.AssetRegistry);
214226
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumCall>(RuntimeCall.PoolAssets);

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/EnumRuntimeEvent.cs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,31 @@ public enum RuntimeEvent
146146
/// </summary>
147147
Democracy = 46,
148148

149+
/// <summary>
150+
/// >> AwesomeAvatars
151+
/// </summary>
152+
AwesomeAvatars = 51,
153+
154+
/// <summary>
155+
/// >> Nft
156+
/// </summary>
157+
Nft = 60,
158+
159+
/// <summary>
160+
/// >> NftTransfer
161+
/// </summary>
162+
NftTransfer = 61,
163+
164+
/// <summary>
165+
/// >> AffiliatesAAA
166+
/// </summary>
167+
AffiliatesAAA = 70,
168+
169+
/// <summary>
170+
/// >> TournamentAAA
171+
/// </summary>
172+
TournamentAAA = 80,
173+
149174
/// <summary>
150175
/// >> Assets
151176
/// </summary>
@@ -208,6 +233,11 @@ public EnumRuntimeEvent()
208233
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_collective.pallet.EnumEvent>(RuntimeEvent.TechnicalCommittee);
209234
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_membership.pallet.EnumEvent>(RuntimeEvent.TechnicalCommitteeMembership);
210235
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_democracy.pallet.EnumEvent>(RuntimeEvent.Democracy);
236+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_ajuna_awesome_avatars.pallet.EnumEvent>(RuntimeEvent.AwesomeAvatars);
237+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_nfts.pallet.EnumEvent>(RuntimeEvent.Nft);
238+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_ajuna_nft_transfer.pallet.EnumEvent>(RuntimeEvent.NftTransfer);
239+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_ajuna_affiliates.pallet.EnumEvent>(RuntimeEvent.AffiliatesAAA);
240+
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_ajuna_tournament.pallet.EnumEvent>(RuntimeEvent.TournamentAAA);
211241
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumEvent>(RuntimeEvent.Assets);
212242
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_asset_registry.pallet.EnumEvent>(RuntimeEvent.AssetRegistry);
213243
AddTypeDecoder<Substrate.Ajuna.NET.NetApiExt.Generated.Model.pallet_assets.pallet.EnumEvent>(RuntimeEvent.PoolAssets);

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/EnumRuntimeHoldReason.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public enum RuntimeHoldReason
2828
}
2929

3030
/// <summary>
31-
/// >> 412 - Variant[ajuna_runtime.RuntimeHoldReason]
31+
/// >> 497 - Variant[ajuna_runtime.RuntimeHoldReason]
3232
/// </summary>
3333
public sealed class EnumRuntimeHoldReason : BaseEnumRust<RuntimeHoldReason>
3434
{

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/Runtime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.ajuna_runtime
1818

1919

2020
/// <summary>
21-
/// >> 539 - Composite[ajuna_runtime.Runtime]
21+
/// >> 679 - Composite[ajuna_runtime.Runtime]
2222
/// </summary>
2323
[SubstrateNodeType(TypeDefEnum.Composite)]
2424
public sealed class Runtime : BaseType

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/SessionKeys.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.ajuna_runtime
1818

1919

2020
/// <summary>
21-
/// >> 292 - Composite[ajuna_runtime.SessionKeys]
21+
/// >> 341 - Composite[ajuna_runtime.SessionKeys]
2222
/// </summary>
2323
[SubstrateNodeType(TypeDefEnum.Composite)]
2424
public sealed class SessionKeys : BaseType

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/ajuna_runtime/xcm_config/EnumCurrencyId.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public enum CurrencyId
2828
}
2929

3030
/// <summary>
31-
/// >> 338 - Variant[ajuna_runtime.xcm_config.CurrencyId]
31+
/// >> 387 - Variant[ajuna_runtime.xcm_config.CurrencyId]
3232
/// </summary>
3333
public sealed class EnumCurrencyId : BaseEnum<CurrencyId>
3434
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
using Substrate.NetApi.Attributes;
11+
using Substrate.NetApi.Model.Types.Base;
12+
using Substrate.NetApi.Model.Types.Metadata.Base;
13+
using System.Collections.Generic;
14+
15+
16+
namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.bounded_btree_map
17+
{
18+
19+
20+
/// <summary>
21+
/// >> 619 - Composite[bounded_collections.bounded_btree_map.BoundedBTreeMap]
22+
/// </summary>
23+
[SubstrateNodeType(TypeDefEnum.Composite)]
24+
public sealed class BoundedBTreeMap : BaseType
25+
{
26+
27+
/// <summary>
28+
/// >> value
29+
/// </summary>
30+
public Substrate.Ajuna.NET.NetApiExt.Generated.Types.Base.BTreeMapT4 Value { get; set; }
31+
32+
/// <inheritdoc/>
33+
public override string TypeName()
34+
{
35+
return "BoundedBTreeMap";
36+
}
37+
38+
/// <inheritdoc/>
39+
public override byte[] Encode()
40+
{
41+
var result = new List<byte>();
42+
result.AddRange(Value.Encode());
43+
return result.ToArray();
44+
}
45+
46+
/// <inheritdoc/>
47+
public override void Decode(byte[] byteArray, ref int p)
48+
{
49+
var start = p;
50+
Value = new Substrate.Ajuna.NET.NetApiExt.Generated.Types.Base.BTreeMapT4();
51+
Value.Decode(byteArray, ref p);
52+
var bytesLength = p - start;
53+
TypeSize = bytesLength;
54+
Bytes = new byte[bytesLength];
55+
global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength);
56+
}
57+
}
58+
}

Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/bounded_collections/bounded_btree_set/BoundedBTreeSet.cs renamed to Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Generated/Model/bounded_collections/bounded_btree_set/BoundedBTreeSetT1.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.boun
1818

1919

2020
/// <summary>
21-
/// >> 437 - Composite[bounded_collections.bounded_btree_set.BoundedBTreeSet]
21+
/// >> 521 - Composite[bounded_collections.bounded_btree_set.BoundedBTreeSetT1]
2222
/// </summary>
2323
[SubstrateNodeType(TypeDefEnum.Composite)]
24-
public sealed class BoundedBTreeSet : BaseType
24+
public sealed class BoundedBTreeSetT1 : BaseType
2525
{
2626

2727
/// <summary>
@@ -32,7 +32,7 @@ public sealed class BoundedBTreeSet : BaseType
3232
/// <inheritdoc/>
3333
public override string TypeName()
3434
{
35-
return "BoundedBTreeSet";
35+
return "BoundedBTreeSetT1";
3636
}
3737

3838
/// <inheritdoc/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
using Substrate.NetApi.Attributes;
11+
using Substrate.NetApi.Model.Types.Base;
12+
using Substrate.NetApi.Model.Types.Metadata.Base;
13+
using System.Collections.Generic;
14+
15+
16+
namespace Substrate.Ajuna.NET.NetApiExt.Generated.Model.bounded_collections.bounded_btree_set
17+
{
18+
19+
20+
/// <summary>
21+
/// >> 630 - Composite[bounded_collections.bounded_btree_set.BoundedBTreeSetT2]
22+
/// </summary>
23+
[SubstrateNodeType(TypeDefEnum.Composite)]
24+
public sealed class BoundedBTreeSetT2 : BaseType
25+
{
26+
27+
/// <summary>
28+
/// >> value
29+
/// </summary>
30+
public Substrate.Ajuna.NET.NetApiExt.Generated.Types.Base.BTreeSetT3 Value { get; set; }
31+
32+
/// <inheritdoc/>
33+
public override string TypeName()
34+
{
35+
return "BoundedBTreeSetT2";
36+
}
37+
38+
/// <inheritdoc/>
39+
public override byte[] Encode()
40+
{
41+
var result = new List<byte>();
42+
result.AddRange(Value.Encode());
43+
return result.ToArray();
44+
}
45+
46+
/// <inheritdoc/>
47+
public override void Decode(byte[] byteArray, ref int p)
48+
{
49+
var start = p;
50+
Value = new Substrate.Ajuna.NET.NetApiExt.Generated.Types.Base.BTreeSetT3();
51+
Value.Decode(byteArray, ref p);
52+
var bytesLength = p - start;
53+
TypeSize = bytesLength;
54+
Bytes = new byte[bytesLength];
55+
global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength);
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)